Feat(SQL, UI): Button Icons page, Command Button Links page created with get and set functionality.
This commit is contained in:
64
static/dist/css/dog_button_icons.bundle.css
vendored
Normal file
64
static/dist/css/dog_button_icons.bundle.css
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
|
||||
.img-product {
|
||||
max-width: 20vh;
|
||||
max-height: 20vh;
|
||||
border-radius: 3vh;
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.img-thumbnail {
|
||||
max-width: 10vh;
|
||||
max-height: 10vh;
|
||||
border-radius: 3vh;
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.buttonAddToBasket {
|
||||
background-color: var(--colour-page-background);
|
||||
border-color: var(--colour-primary);
|
||||
}
|
||||
|
||||
#buttonCheckout, .buttonBuyNow {
|
||||
background-color: var(--colour-page-background);
|
||||
/* color: var(--c_purple_dark); */
|
||||
border-color: var(--colour-primary);
|
||||
}
|
||||
|
||||
.button-increment, .button-decrement {
|
||||
border: 2px solid darkgrey;
|
||||
background-color: lightgray;
|
||||
margin: 1vh 1vh;
|
||||
width: 2.5vh;
|
||||
height: 2.5vh;
|
||||
border-radius: 1.25vh;
|
||||
font-size: 2vh;
|
||||
}
|
||||
|
||||
.container-input > input {
|
||||
padding: 0vh 1vh;
|
||||
border-radius: 0.5vh;
|
||||
max-width: 7vh;
|
||||
}
|
||||
|
||||
#basket {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Right column */
|
||||
.rightcolumn {
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
/* Main Table */
|
||||
|
||||
|
||||
|
||||
|
||||
#tableMain tbody > div {
|
||||
width: 49vh;
|
||||
}
|
||||
|
||||
|
||||
/*# sourceMappingURL=dog_button_icons.bundle.css.map*/
|
||||
1
static/dist/css/dog_button_icons.bundle.css.map
vendored
Normal file
1
static/dist/css/dog_button_icons.bundle.css.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"css/dog_button_icons.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;;ACnDf;IACI,WAAW;AACf","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/button_icons.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n\n#tableMain tbody > div {\n width: 49vh;\n}\n"],"names":[],"sourceRoot":""}
|
||||
101
static/dist/css/dog_command_button_links.bundle.css
vendored
Normal file
101
static/dist/css/dog_command_button_links.bundle.css
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
|
||||
.img-product {
|
||||
max-width: 20vh;
|
||||
max-height: 20vh;
|
||||
border-radius: 3vh;
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.img-thumbnail {
|
||||
max-width: 10vh;
|
||||
max-height: 10vh;
|
||||
border-radius: 3vh;
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.buttonAddToBasket {
|
||||
background-color: var(--colour-page-background);
|
||||
border-color: var(--colour-primary);
|
||||
}
|
||||
|
||||
#buttonCheckout, .buttonBuyNow {
|
||||
background-color: var(--colour-page-background);
|
||||
/* color: var(--c_purple_dark); */
|
||||
border-color: var(--colour-primary);
|
||||
}
|
||||
|
||||
.button-increment, .button-decrement {
|
||||
border: 2px solid darkgrey;
|
||||
background-color: lightgray;
|
||||
margin: 1vh 1vh;
|
||||
width: 2.5vh;
|
||||
height: 2.5vh;
|
||||
border-radius: 1.25vh;
|
||||
font-size: 2vh;
|
||||
}
|
||||
|
||||
.container-input > input {
|
||||
padding: 0vh 1vh;
|
||||
border-radius: 0.5vh;
|
||||
max-width: 7vh;
|
||||
}
|
||||
|
||||
#basket {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Right column */
|
||||
.rightcolumn {
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
/* Main Table */
|
||||
|
||||
|
||||
|
||||
/*
|
||||
#formFilters .container-input.filter.active_only {
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
#tableMain tbody > div {
|
||||
width: 113vh;
|
||||
}
|
||||
|
||||
/*
|
||||
#tableMain tbody tr td table thead tr th.id_variation_type,
|
||||
#tableMain tbody tr td table tbody tr td.id_variation_type,
|
||||
#tableMain tbody tr td table thead tr th.id_variation,
|
||||
#tableMain tbody tr td table tbody tr td.id_variation {
|
||||
width: 47.5%;
|
||||
}
|
||||
*/
|
||||
#tableMain tbody tr td table thead tr th.button_shape,
|
||||
#tableMain tbody tr td table tbody tr td.button_shape,
|
||||
#tableMain tbody tr td table thead tr th.colour,
|
||||
#tableMain tbody tr td table tbody tr td.colour,
|
||||
#tableMain tbody tr td table thead tr th.button_icon,
|
||||
#tableMain tbody tr td table tbody tr td.button_icon {
|
||||
width: 12vh;
|
||||
max-width: 12vh;
|
||||
}
|
||||
|
||||
/*
|
||||
select.id_variation, select.id_variation_type {
|
||||
max-width: 40% !important;
|
||||
}
|
||||
*/
|
||||
|
||||
@media screen and (max-width: 850px) {
|
||||
#formFilters input,
|
||||
#formFilters select {
|
||||
width: 12vh;
|
||||
min-width: 12vh;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*# sourceMappingURL=dog_command_button_links.bundle.css.map*/
|
||||
1
static/dist/css/dog_command_button_links.bundle.css.map
vendored
Normal file
1
static/dist/css/dog_command_button_links.bundle.css.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"css/dog_command_button_links.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;;;CAGC;;;AAGD;IACI,YAAY;AAChB;;AAEA;;;;;;;CAOC;AACD;;;;;;IAMI,WAAW;IACX,eAAe;AACnB;;AAEA;;;;CAIC;;AAED;IACI;;QAEI,WAAW;QACX,eAAe;IACnB;AACJ","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/command_button_links.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n/*\n#formFilters .container-input.filter.active_only {\n}\n*/\n\n\n#tableMain tbody > div {\n width: 113vh;\n}\n\n/*\n#tableMain tbody tr td table thead tr th.id_variation_type,\n#tableMain tbody tr td table tbody tr td.id_variation_type,\n#tableMain tbody tr td table thead tr th.id_variation, \n#tableMain tbody tr td table tbody tr td.id_variation {\n width: 47.5%;\n}\n*/\n#tableMain tbody tr td table thead tr th.button_shape, \n#tableMain tbody tr td table tbody tr td.button_shape,\n#tableMain tbody tr td table thead tr th.colour, \n#tableMain tbody tr td table tbody tr td.colour,\n#tableMain tbody tr td table thead tr th.button_icon, \n#tableMain tbody tr td table tbody tr td.button_icon {\n width: 12vh;\n max-width: 12vh;\n}\n\n/*\nselect.id_variation, select.id_variation_type {\n max-width: 40% !important;\n}\n*/\n\n@media screen and (max-width: 850px) {\n #formFilters input,\n #formFilters select {\n width: 12vh;\n min-width: 12vh;\n }\n}\n"],"names":[],"sourceRoot":""}
|
||||
@@ -60,26 +60,15 @@
|
||||
min-width: 20vh;
|
||||
}
|
||||
|
||||
#tableMain tbody > div {
|
||||
width: 58vh;
|
||||
}
|
||||
#tableMain thead tr th,
|
||||
#tableMain tbody tr td {
|
||||
height: 3vh;
|
||||
}
|
||||
#tableMain tbody tr td.name .name {
|
||||
border: 1px solid var(--colour-accent);
|
||||
/*
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
justify-items: center;
|
||||
justify-self: center;
|
||||
padding-top: auto;
|
||||
padding-bottom: auto;
|
||||
display: flex;
|
||||
resize: none;
|
||||
box-sizing: border-box;
|
||||
*/
|
||||
}
|
||||
/*
|
||||
#tableMain thead tr th.code,
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"css/dog_command_categories.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;IACI,WAAW;IACX,eAAe;AACnB;;AAEA;;IAEI,WAAW;AACf;AACA;IACI,sCAAsC;IACtC;;;;;;;;;;;;;KAaC;AACL;AACA;;;CAGC;AACD;;IAEI,WAAW;IACX,eAAe;AACnB;;AAEA;IACI;;QAEI,WAAW;QACX,eAAe;IACnB;IACA;;QAEI,UAAU;QACV,cAAc;IAClB;AACJ,C","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/command_categories.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n#formFilters #search {\n width: 20vh;\n min-width: 20vh;\n}\n\n#tableMain thead tr th,\n#tableMain tbody tr td {\n height: 3vh;\n}\n#tableMain tbody tr td.name .name {\n border: 1px solid var(--colour-accent);\n /*\n align-content: center;\n align-items: center;\n align-self: center;\n text-align: center;\n justify-content: center;\n justify-items: center;\n justify-self: center;\n padding-top: auto;\n padding-bottom: auto;\n display: flex;\n resize: none;\n box-sizing: border-box;\n */\n}\n/*\n#tableMain thead tr th.code,\n#tableMain tbody tr td.code,\n*/\n#tableMain thead tr th.name ,\n#tableMain tbody tr td.name {\n width: 50vh;\n min-width: 50vh;\n}\n\n@media screen and (max-width: 800px) {\n #tableMain thead tr th.name ,\n #tableMain tbody tr td.name {\n width: 63vw;\n min-width: 63vw;\n }\n #tableMain thead tr th.active ,\n #tableMain tbody tr td.active {\n width: 3vw;\n min-width: 3vw;\n }\n}"],"names":[],"sourceRoot":""}
|
||||
{"version":3,"file":"css/dog_command_categories.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;IACI,WAAW;IACX,eAAe;AACnB;;AAEA;IACI,WAAW;AACf;AACA;;IAEI,WAAW;AACf;AACA;IACI,sCAAsC;AAC1C;AACA;;;CAGC;AACD;;IAEI,WAAW;IACX,eAAe;AACnB;;AAEA;IACI;;QAEI,WAAW;QACX,eAAe;IACnB;IACA;;QAEI,UAAU;QACV,cAAc;IAClB;AACJ,C","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/command_categories.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n#formFilters #search {\n width: 20vh;\n min-width: 20vh;\n}\n\n#tableMain tbody > div {\n width: 58vh;\n}\n#tableMain thead tr th,\n#tableMain tbody tr td {\n height: 3vh;\n}\n#tableMain tbody tr td.name .name {\n border: 1px solid var(--colour-accent);\n}\n/*\n#tableMain thead tr th.code,\n#tableMain tbody tr td.code,\n*/\n#tableMain thead tr th.name ,\n#tableMain tbody tr td.name {\n width: 50vh;\n min-width: 50vh;\n}\n\n@media screen and (max-width: 800px) {\n #tableMain thead tr th.name ,\n #tableMain tbody tr td.name {\n width: 63vw;\n min-width: 63vw;\n }\n #tableMain thead tr th.active ,\n #tableMain tbody tr td.active {\n width: 3vw;\n min-width: 3vw;\n }\n}"],"names":[],"sourceRoot":""}
|
||||
4
static/dist/css/dog_commands.bundle.css
vendored
4
static/dist/css/dog_commands.bundle.css
vendored
@@ -60,6 +60,10 @@
|
||||
max-width: fit-content;
|
||||
}
|
||||
*/
|
||||
|
||||
#tableMain tbody > div {
|
||||
width: 99vh;
|
||||
}
|
||||
#tableMain thead tr th.can-have-button,
|
||||
#tableMain tbody tr td.can-have-button {
|
||||
width: 6vh;
|
||||
|
||||
2
static/dist/css/dog_commands.bundle.css.map
vendored
2
static/dist/css/dog_commands.bundle.css.map
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"css/dog_commands.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;;;;CAIC;AACD;;IAEI,UAAU;IACV,cAAc;AAClB;;AAEA;;;;;;;;CAQC,C","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/commands.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n/*\n#formFilters .container {\n max-width: fit-content;\n}\n*/\n#tableMain thead tr th.can-have-button, \n#tableMain tbody tr td.can-have-button {\n width: 6vh;\n min-width: 6vh;\n}\n\n/*\n@media screen and (max-width: 600px) {\n #formFilters input,\n #formFilters select {\n width: 12vh;\n min-width: 12vh;\n }\n}\n*/"],"names":[],"sourceRoot":""}
|
||||
{"version":3,"file":"css/dog_commands.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;;;;CAIC;;AAED;IACI,WAAW;AACf;AACA;;IAEI,UAAU;IACV,cAAc;AAClB;;AAEA;;;;;;;;CAQC,C","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/commands.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n/*\n#formFilters .container {\n max-width: fit-content;\n}\n*/\n\n#tableMain tbody > div {\n width: 99vh;\n}\n#tableMain thead tr th.can-have-button, \n#tableMain tbody tr td.can-have-button {\n width: 6vh;\n min-width: 6vh;\n}\n\n/*\n@media screen and (max-width: 600px) {\n #formFilters input,\n #formFilters select {\n width: 12vh;\n min-width: 12vh;\n }\n}\n*/"],"names":[],"sourceRoot":""}
|
||||
27
static/dist/css/dog_dog_command_links.bundle.css
vendored
27
static/dist/css/dog_dog_command_links.bundle.css
vendored
@@ -60,32 +60,13 @@
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
#tableMain tbody > div {
|
||||
width: 113vh;
|
||||
}
|
||||
#tableMain {
|
||||
max-width: 90vw;
|
||||
}
|
||||
/*
|
||||
#tableMain thead tr th.category, #tableMain tbody tr td.category {
|
||||
width: 8vh;
|
||||
min-width: 8vh;
|
||||
}
|
||||
#tableMain thead tr th.product, #tableMain tbody tr td.product {
|
||||
width: 10vh;
|
||||
min-width: 10vh;
|
||||
}
|
||||
#tableMain thead tr th.product_variations.is_collapsed, #tableMain tbody tr td.product_variations.is_collapsed {
|
||||
width: 10vh;
|
||||
min-width: 10vh;
|
||||
display: table-cell !important;
|
||||
}
|
||||
#tableMain thead tr th.product_variations, #tableMain tbody tr td.product_variations {
|
||||
width: 24vh;
|
||||
min-width: 24vh;
|
||||
}
|
||||
#tableMain thead tr th.active, #tableMain tbody tr td.active {
|
||||
width: 6vh;
|
||||
min-width: 6vh;
|
||||
}
|
||||
*/
|
||||
|
||||
td > input,
|
||||
td > select,
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"css/dog_dog_command_links.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;;;CAGC;;AAED;IACI,eAAe;AACnB;AACA;;;;;;;;;;;;;;;;;;;;;;CAsBC;;AAED;;;;;;IAMI,uCAAuC;IACvC,oBAAoB;AACxB;;AAEA;;;;IAII,YAAY;AAChB;;AAEA;;;;CAIC;;AAED;IACI;;QAEI,WAAW;QACX,eAAe;IACnB;AACJ","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/dog_command_links.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n/*\n#formFilters .container-input.filter.active_only {\n}\n*/\n\n#tableMain {\n max-width: 90vw;\n}\n/*\n#tableMain thead tr th.category, #tableMain tbody tr td.category {\n width: 8vh;\n min-width: 8vh;\n}\n#tableMain thead tr th.product, #tableMain tbody tr td.product {\n width: 10vh;\n min-width: 10vh;\n}\n#tableMain thead tr th.product_variations.is_collapsed, #tableMain tbody tr td.product_variations.is_collapsed {\n width: 10vh;\n min-width: 10vh;\n display: table-cell !important;\n}\n#tableMain thead tr th.product_variations, #tableMain tbody tr td.product_variations {\n width: 24vh;\n min-width: 24vh;\n}\n#tableMain thead tr th.active, #tableMain tbody tr td.active {\n width: 6vh;\n min-width: 6vh;\n}\n*/\n\ntd > input,\ntd > select,\ntd > textarea,\n.container-input > input,\n.container-input > select,\n.container-input > textarea {\n border: 2px solid var(--colour-primary);\n border-radius: 0.5vh;\n}\n\n#tableMain tbody tr td table thead tr th.id_variation_type,\n#tableMain tbody tr td table tbody tr td.id_variation_type,\n#tableMain tbody tr td table thead tr th.id_variation, \n#tableMain tbody tr td table tbody tr td.id_variation {\n width: 47.5%;\n}\n\n/*\nselect.id_variation, select.id_variation_type {\n max-width: 40% !important;\n}\n*/\n\n@media screen and (max-width: 850px) {\n #formFilters input,\n #formFilters select {\n width: 12vh;\n min-width: 12vh;\n }\n}\n"],"names":[],"sourceRoot":""}
|
||||
{"version":3,"file":"css/dog_dog_command_links.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;ACpDf;;;CAGC;;;AAGD;IACI,YAAY;AAChB;AACA;IACI,eAAe;AACnB;;AAEA;;;;;;IAMI,uCAAuC;IACvC,oBAAoB;AACxB;;AAEA;;;;IAII,YAAY;AAChB;;AAEA;;;;CAIC;;AAED;IACI;;QAEI,WAAW;QACX,eAAe;IACnB;AACJ","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/dog_command_links.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n/*\n#formFilters .container-input.filter.active_only {\n}\n*/\n\n\n#tableMain tbody > div {\n width: 113vh;\n}\n#tableMain {\n max-width: 90vw;\n}\n\ntd > input,\ntd > select,\ntd > textarea,\n.container-input > input,\n.container-input > select,\n.container-input > textarea {\n border: 2px solid var(--colour-primary);\n border-radius: 0.5vh;\n}\n\n#tableMain tbody tr td table thead tr th.id_variation_type,\n#tableMain tbody tr td table tbody tr td.id_variation_type,\n#tableMain tbody tr td table thead tr th.id_variation, \n#tableMain tbody tr td table tbody tr td.id_variation {\n width: 47.5%;\n}\n\n/*\nselect.id_variation, select.id_variation_type {\n max-width: 40% !important;\n}\n*/\n\n@media screen and (max-width: 850px) {\n #formFilters input,\n #formFilters select {\n width: 12vh;\n min-width: 12vh;\n }\n}\n"],"names":[],"sourceRoot":""}
|
||||
64
static/dist/css/dog_locations.bundle.css
vendored
Normal file
64
static/dist/css/dog_locations.bundle.css
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
|
||||
.img-product {
|
||||
max-width: 20vh;
|
||||
max-height: 20vh;
|
||||
border-radius: 3vh;
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.img-thumbnail {
|
||||
max-width: 10vh;
|
||||
max-height: 10vh;
|
||||
border-radius: 3vh;
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.buttonAddToBasket {
|
||||
background-color: var(--colour-page-background);
|
||||
border-color: var(--colour-primary);
|
||||
}
|
||||
|
||||
#buttonCheckout, .buttonBuyNow {
|
||||
background-color: var(--colour-page-background);
|
||||
/* color: var(--c_purple_dark); */
|
||||
border-color: var(--colour-primary);
|
||||
}
|
||||
|
||||
.button-increment, .button-decrement {
|
||||
border: 2px solid darkgrey;
|
||||
background-color: lightgray;
|
||||
margin: 1vh 1vh;
|
||||
width: 2.5vh;
|
||||
height: 2.5vh;
|
||||
border-radius: 1.25vh;
|
||||
font-size: 2vh;
|
||||
}
|
||||
|
||||
.container-input > input {
|
||||
padding: 0vh 1vh;
|
||||
border-radius: 0.5vh;
|
||||
max-width: 7vh;
|
||||
}
|
||||
|
||||
#basket {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Right column */
|
||||
.rightcolumn {
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
/* Main Table */
|
||||
|
||||
|
||||
|
||||
|
||||
#tableMain tbody > div {
|
||||
width: 49vh;
|
||||
}
|
||||
|
||||
|
||||
/*# sourceMappingURL=dog_locations.bundle.css.map*/
|
||||
1
static/dist/css/dog_locations.bundle.css.map
vendored
Normal file
1
static/dist/css/dog_locations.bundle.css.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"css/dog_locations.bundle.css","mappings":";AACA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;AACtB;;AAEA;IACI,+CAA+C;IAC/C,mCAAmC;AACvC;;AAEA;IACI,+CAA+C;IAC/C,iCAAiC;IACjC,mCAAmC;AACvC;;AAEA;IACI,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,aAAa;IACb,qBAAqB;IACrB,cAAc;AAClB;;AAEA;IACI,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;AAClB;;AAEA;IACI,eAAe;AACnB;;;;AAIA,iBAAiB;AACjB;IACI,sBAAsB;AAC1B;;AAEA,eAAe;;;;;ACnDf;IACI,WAAW;AACf","sources":["webpack://app/./static/css/sections/dog.css","webpack://app/./static/css/pages/dog/locations.css"],"sourcesContent":["\n.img-product {\n max-width: 20vh;\n max-height: 20vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.img-thumbnail {\n max-width: 10vh;\n max-height: 10vh;\n border-radius: 3vh;\n justify-self: left;\n}\n\n.buttonAddToBasket {\n background-color: var(--colour-page-background);\n border-color: var(--colour-primary);\n}\n\n#buttonCheckout, .buttonBuyNow {\n background-color: var(--colour-page-background);\n /* color: var(--c_purple_dark); */\n border-color: var(--colour-primary);\n}\n\n.button-increment, .button-decrement {\n border: 2px solid darkgrey;\n background-color: lightgray;\n margin: 1vh 1vh;\n width: 2.5vh;\n height: 2.5vh;\n border-radius: 1.25vh;\n font-size: 2vh;\n}\n\n.container-input > input {\n padding: 0vh 1vh;\n border-radius: 0.5vh;\n max-width: 7vh;\n}\n\n#basket {\n max-width: 100%;\n}\n\n\n\n/* Right column */\n.rightcolumn {\n min-width: fit-content;\n}\n\n/* Main Table */\n\n","\n\n#tableMain tbody > div {\n width: 49vh;\n}\n"],"names":[],"sourceRoot":""}
|
||||
17
static/dist/js/dog_button_icons.bundle.js
vendored
Normal file
17
static/dist/js/dog_button_icons.bundle.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/******/ (() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
||||
(() => {
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
})();
|
||||
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
||||
(() => {
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
})();
|
||||
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=dog_button_icons.bundle.js.map
|
||||
1
static/dist/js/dog_button_icons.bundle.js.map
vendored
Normal file
1
static/dist/js/dog_button_icons.bundle.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"js/dog_button_icons.bundle.js","mappings":";;;;AAAA;;;;;;ACAA","sources":["webpack://app/./static/css/sections/dog.css?a9d0","webpack://app/./static/css/pages/dog/button_icons.css?deab"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""}
|
||||
17
static/dist/js/dog_command_button_links.bundle.js
vendored
Normal file
17
static/dist/js/dog_command_button_links.bundle.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/******/ (() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
||||
(() => {
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
})();
|
||||
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
||||
(() => {
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
})();
|
||||
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=dog_command_button_links.bundle.js.map
|
||||
1
static/dist/js/dog_command_button_links.bundle.js.map
vendored
Normal file
1
static/dist/js/dog_command_button_links.bundle.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"js/dog_command_button_links.bundle.js","mappings":";;;;AAAA;;;;;;ACAA","sources":["webpack://app/./static/css/sections/dog.css?a9d0","webpack://app/./static/css/pages/dog/command_button_links.css?edce"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""}
|
||||
17
static/dist/js/dog_locations.bundle.js
vendored
Normal file
17
static/dist/js/dog_locations.bundle.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/******/ (() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
||||
(() => {
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
})();
|
||||
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
||||
(() => {
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
})();
|
||||
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=dog_locations.bundle.js.map
|
||||
1
static/dist/js/dog_locations.bundle.js.map
vendored
Normal file
1
static/dist/js/dog_locations.bundle.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"js/dog_locations.bundle.js","mappings":";;;;AAAA;;;;;;ACAA","sources":["webpack://app/./static/css/sections/dog.css?a9d0","webpack://app/./static/css/pages/dog/locations.css?6c9a"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""}
|
||||
561
static/dist/js/main.bundle.js
vendored
561
static/dist/js/main.bundle.js
vendored
@@ -751,6 +751,87 @@ var API = /*#__PURE__*/function () {
|
||||
return _saveDogCommandLinks.apply(this, arguments);
|
||||
}
|
||||
return saveDogCommandLinks;
|
||||
}() // Locations
|
||||
}, {
|
||||
key: "saveLocations",
|
||||
value: function () {
|
||||
var _saveLocations = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(locations, formFilters, comment) {
|
||||
var dataRequest;
|
||||
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
||||
while (1) switch (_context6.prev = _context6.next) {
|
||||
case 0:
|
||||
dataRequest = {};
|
||||
dataRequest[flagFormFilters] = DOM.convertForm2JSON(formFilters);
|
||||
dataRequest[flagLocation] = locations;
|
||||
dataRequest[flagComment] = comment;
|
||||
_context6.next = 6;
|
||||
return API.request(hashSaveDogLocation, 'POST', dataRequest);
|
||||
case 6:
|
||||
return _context6.abrupt("return", _context6.sent);
|
||||
case 7:
|
||||
case "end":
|
||||
return _context6.stop();
|
||||
}
|
||||
}, _callee6);
|
||||
}));
|
||||
function saveLocations(_x11, _x12, _x13) {
|
||||
return _saveLocations.apply(this, arguments);
|
||||
}
|
||||
return saveLocations;
|
||||
}() // Button Icons
|
||||
}, {
|
||||
key: "saveButtonIcons",
|
||||
value: function () {
|
||||
var _saveButtonIcons = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(buttonIcons, formFilters, comment) {
|
||||
var dataRequest;
|
||||
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
||||
while (1) switch (_context7.prev = _context7.next) {
|
||||
case 0:
|
||||
dataRequest = {};
|
||||
dataRequest[flagFormFilters] = DOM.convertForm2JSON(formFilters);
|
||||
dataRequest[flagButtonIcon] = buttonIcons;
|
||||
dataRequest[flagComment] = comment;
|
||||
_context7.next = 6;
|
||||
return API.request(hashSaveDogButtonIcon, 'POST', dataRequest);
|
||||
case 6:
|
||||
return _context7.abrupt("return", _context7.sent);
|
||||
case 7:
|
||||
case "end":
|
||||
return _context7.stop();
|
||||
}
|
||||
}, _callee7);
|
||||
}));
|
||||
function saveButtonIcons(_x14, _x15, _x16) {
|
||||
return _saveButtonIcons.apply(this, arguments);
|
||||
}
|
||||
return saveButtonIcons;
|
||||
}() // Command Button Links
|
||||
}, {
|
||||
key: "saveCommandButtonLinks",
|
||||
value: function () {
|
||||
var _saveCommandButtonLinks = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(links, formFilters, comment) {
|
||||
var dataRequest;
|
||||
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
||||
while (1) switch (_context8.prev = _context8.next) {
|
||||
case 0:
|
||||
dataRequest = {};
|
||||
dataRequest[flagFormFilters] = DOM.convertForm2JSON(formFilters);
|
||||
dataRequest[flagCommandButtonLink] = links;
|
||||
dataRequest[flagComment] = comment;
|
||||
_context8.next = 6;
|
||||
return API.request(hashSaveDogCommandButtonLink, 'POST', dataRequest);
|
||||
case 6:
|
||||
return _context8.abrupt("return", _context8.sent);
|
||||
case 7:
|
||||
case "end":
|
||||
return _context8.stop();
|
||||
}
|
||||
}, _callee8);
|
||||
}));
|
||||
function saveCommandButtonLinks(_x17, _x18, _x19) {
|
||||
return _saveCommandButtonLinks.apply(this, arguments);
|
||||
}
|
||||
return saveCommandButtonLinks;
|
||||
}()
|
||||
}]);
|
||||
}();
|
||||
@@ -927,6 +1008,9 @@ var BasePage = /*#__PURE__*/function () {
|
||||
this.hookupButtonsNavDogCommands();
|
||||
this.hookupButtonsNavDogDogCommandLinks();
|
||||
this.hookupButtonsNavDogDogs();
|
||||
this.hookupButtonsNavDogLocations();
|
||||
this.hookupButtonsNavDogButtonIcons();
|
||||
this.hookupButtonsNavDogCommandButtonLinks();
|
||||
}
|
||||
}, {
|
||||
key: "hookupButtonsNavHome",
|
||||
@@ -1000,6 +1084,21 @@ var BasePage = /*#__PURE__*/function () {
|
||||
value: function hookupButtonsNavDogDogs() {
|
||||
this.hookupButtonsNav('.' + flagNavDogDogs, hashPageDogDogs);
|
||||
}
|
||||
}, {
|
||||
key: "hookupButtonsNavDogLocations",
|
||||
value: function hookupButtonsNavDogLocations() {
|
||||
this.hookupButtonsNav('.' + flagNavDogLocations, hashPageDogLocations);
|
||||
}
|
||||
}, {
|
||||
key: "hookupButtonsNavDogButtonIcons",
|
||||
value: function hookupButtonsNavDogButtonIcons() {
|
||||
this.hookupButtonsNav('.' + flagNavDogButtonIcons, hashPageDogButtonIcons);
|
||||
}
|
||||
}, {
|
||||
key: "hookupButtonsNavDogCommandButtonLinks",
|
||||
value: function hookupButtonsNavDogCommandButtonLinks() {
|
||||
this.hookupButtonsNav('.' + flagNavDogCommandButtonLinks, hashPageDogCommandButtonLinks);
|
||||
}
|
||||
}, {
|
||||
key: "hookupLogos",
|
||||
value: function hookupLogos() {
|
||||
@@ -2024,7 +2123,7 @@ var TableBasePage = /*#__PURE__*/function (_BasePage) {
|
||||
var changeHandler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function (event, element) {
|
||||
_this21.handleChangeNestedElementCellTable(event, element);
|
||||
};
|
||||
this.hookupEventHandler("change", ddlSelector, function (event, element) {
|
||||
this.hookupChangeHandlerTableCells(ddlSelector, function (event, element) {
|
||||
changeHandler(event, element);
|
||||
});
|
||||
}
|
||||
@@ -2474,12 +2573,8 @@ var PageDogCommandCategories = /*#__PURE__*/function (_TableBasePage) {
|
||||
var inputCode = row.querySelector('td.' + flagCode + ' .' + flagCode);
|
||||
var inputName = row.querySelector('td.' + flagName + ' .' + flagName);
|
||||
var buttonActive = row.querySelector('td.' + flagActive + ' .' + flagActive);
|
||||
|
||||
/*
|
||||
console.log("inputName");
|
||||
console.log(inputName);
|
||||
*/
|
||||
|
||||
console.log("inputCode");
|
||||
console.log(inputCode);
|
||||
var jsonRow = {};
|
||||
jsonRow[attrIdCommandCategory] = row.getAttribute(attrIdCommandCategory);
|
||||
jsonRow[flagCode] = DOM.getElementAttributeValueCurrent(inputCode);
|
||||
@@ -2761,6 +2856,431 @@ var PageDogDogCommandLinks = /*#__PURE__*/function (_TableBasePage) {
|
||||
dog_command_links_defineProperty(PageDogDogCommandLinks, "hash", hashPageDogDogCommandLinks);
|
||||
dog_command_links_defineProperty(PageDogDogCommandLinks, "attrIdRowObject", attrIdDogCommandLink);
|
||||
|
||||
;// ./static/js/pages/dog/locations.js
|
||||
function locations_typeof(o) { "@babel/helpers - typeof"; return locations_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, locations_typeof(o); }
|
||||
function locations_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
||||
function locations_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, locations_toPropertyKey(o.key), o); } }
|
||||
function locations_createClass(e, r, t) { return r && locations_defineProperties(e.prototype, r), t && locations_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
||||
function locations_callSuper(t, o, e) { return o = locations_getPrototypeOf(o), locations_possibleConstructorReturn(t, locations_isNativeReflectConstruct() ? Reflect.construct(o, e || [], locations_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
||||
function locations_possibleConstructorReturn(t, e) { if (e && ("object" == locations_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return locations_assertThisInitialized(t); }
|
||||
function locations_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
||||
function locations_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (locations_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
||||
function locations_superPropGet(t, o, e, r) { var p = locations_get(locations_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
||||
function locations_get() { return locations_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = locations_superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, locations_get.apply(null, arguments); }
|
||||
function locations_superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = locations_getPrototypeOf(t));); return t; }
|
||||
function locations_getPrototypeOf(t) { return locations_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, locations_getPrototypeOf(t); }
|
||||
function locations_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && locations_setPrototypeOf(t, e); }
|
||||
function locations_setPrototypeOf(t, e) { return locations_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, locations_setPrototypeOf(t, e); }
|
||||
function locations_defineProperty(e, r, t) { return (r = locations_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
||||
function locations_toPropertyKey(t) { var i = locations_toPrimitive(t, "string"); return "symbol" == locations_typeof(i) ? i : i + ""; }
|
||||
function locations_toPrimitive(t, r) { if ("object" != locations_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != locations_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var PageDogLocations = /*#__PURE__*/function (_TableBasePage) {
|
||||
function PageDogLocations(router) {
|
||||
var _this;
|
||||
locations_classCallCheck(this, PageDogLocations);
|
||||
_this = locations_callSuper(this, PageDogLocations, [router]);
|
||||
locations_defineProperty(_this, "callSaveTableContent", API.saveLocations);
|
||||
_this.dogMixin = new DogTableMixinPage(_this);
|
||||
return _this;
|
||||
}
|
||||
locations_inherits(PageDogLocations, _TableBasePage);
|
||||
return locations_createClass(PageDogLocations, [{
|
||||
key: "initialize",
|
||||
value: function initialize() {
|
||||
this.sharedInitialize();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilters",
|
||||
value: function hookupFilters() {
|
||||
this.sharedHookupFilters();
|
||||
this.hookupFilterActive();
|
||||
}
|
||||
}, {
|
||||
key: "loadRowTable",
|
||||
value: function loadRowTable(rowJson) {
|
||||
if (rowJson == null) return;
|
||||
if (_verbose) {
|
||||
utils_Utils.consoleLogIfNotProductionEnvironment("applying data row: ", rowJson);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "getJsonRow",
|
||||
value: function getJsonRow(row) {
|
||||
if (row == null) return;
|
||||
var inputName = row.querySelector('td.' + flagName + ' .' + flagName);
|
||||
var buttonActive = row.querySelector('td.' + flagActive + ' .' + flagActive);
|
||||
var jsonRow = {};
|
||||
jsonRow[attrIdLocation] = row.getAttribute(attrIdLocation);
|
||||
jsonRow[flagLocationParent] = this.getIdLocationParentRow(row);
|
||||
jsonRow[flagName] = DOM.getElementAttributeValueCurrent(inputName);
|
||||
jsonRow[flagActive] = buttonActive.classList.contains(flagDelete);
|
||||
console.log("jsonRow");
|
||||
console.log(jsonRow);
|
||||
return jsonRow;
|
||||
}
|
||||
}, {
|
||||
key: "getIdLocationParentRow",
|
||||
value: function getIdLocationParentRow(row) {
|
||||
var elementLocationParent = row.querySelector('td.' + flagLocationParent + ' .' + flagLocationParent);
|
||||
return DOM.getElementAttributeValueCurrent(elementLocationParent);
|
||||
}
|
||||
}, {
|
||||
key: "initialiseRowNew",
|
||||
value: function initialiseRowNew(tbody, row) {}
|
||||
}, {
|
||||
key: "postInitialiseRowNewCallback",
|
||||
value: function postInitialiseRowNewCallback(tbody) {
|
||||
var newRows = tbody.querySelectorAll('tr.' + flagRowNew);
|
||||
var newestRow = newRows[0];
|
||||
var clickableElementsSelector = ['td.' + flagLocationParent + ' div.' + flagLocationParent].join('');
|
||||
newestRow.querySelectorAll(clickableElementsSelector).forEach(function (clickableElement) {
|
||||
clickableElement.click();
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "hookupTableMain",
|
||||
value: function hookupTableMain() {
|
||||
locations_superPropGet(PageDogLocations, "hookupTableMain", this, 3)([]);
|
||||
this.hookupFieldsLocationParent();
|
||||
this.hookupFieldsNameTable();
|
||||
this.hookupFieldsActive();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsLocationParent",
|
||||
value: function hookupFieldsLocationParent() {
|
||||
var _this2 = this;
|
||||
/*
|
||||
this.hookupTableCellDdlPreviews(
|
||||
flagLocationParent
|
||||
, Utils.getListFromDict(locations).filter(location =>
|
||||
(
|
||||
location[attrIdLocation] == idLocationRow
|
||||
|| idLocationRow < 1
|
||||
)
|
||||
) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
, null // cellSelector
|
||||
, (cellSelector) => { this.hookupLocationParentDdls(cellSelector); }
|
||||
,
|
||||
);
|
||||
fieldFlag
|
||||
, optionList
|
||||
, cellSelector = null
|
||||
, ddlHookup = (ddlSelector) => { this.hookupTableCellDdls(ddlSelector); }
|
||||
, changeHandler = (event, element) => { this.handleChangeNestedElementCellTable(event, element); }
|
||||
) {
|
||||
*/
|
||||
var cellSelector = idTableMain + ' > tbody > tr > td.' + flagLocationParent;
|
||||
this.hookupEventHandler("click", cellSelector + ' div.' + flagLocationParent, function (event, div) {
|
||||
var row = DOM.getRowFromElement(div);
|
||||
var idLocationRow = Number(row.getAttribute(attrIdLocation));
|
||||
utils_Utils.consoleLogIfNotProductionEnvironment({
|
||||
idLocationRow: idLocationRow
|
||||
});
|
||||
_this2.handleClickTableCellDdlPreview(event, div, flagLocationParent, utils_Utils.getListFromDict(locations).filter(function (location) {
|
||||
return location[attrIdLocation] != idLocationRow || idLocationRow < 1;
|
||||
}) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
, cellSelector, function (ddlSelector) {
|
||||
_this2.hookupTableCellDdls(ddlSelector, function (event, element) {
|
||||
_this2.handleChangeNestedElementCellTable(event, element);
|
||||
});
|
||||
});
|
||||
});
|
||||
this.hookupTableCellDdls(cellSelector + ' select.' + flagLocationParent, function (event, element) {
|
||||
_this2.handleChangeNestedElementCellTable(event, element);
|
||||
});
|
||||
}
|
||||
/*
|
||||
hookupLocationParentDdls(ddlSelector) {
|
||||
this.hookupChangeHandlerTableCells(ddlSelector, (event, element) => { this.handleChangeNestedElementCellTable(event, element); });
|
||||
}
|
||||
*/
|
||||
}, {
|
||||
key: "leave",
|
||||
value: function leave() {
|
||||
locations_superPropGet(PageDogLocations, "leave", this, 3)([]);
|
||||
}
|
||||
}]);
|
||||
}(TableBasePage);
|
||||
locations_defineProperty(PageDogLocations, "hash", hashPageDogLocations);
|
||||
locations_defineProperty(PageDogLocations, "attrIdRowObject", attrIdLocation);
|
||||
|
||||
;// ./static/js/pages/dog/button_icons.js
|
||||
function button_icons_typeof(o) { "@babel/helpers - typeof"; return button_icons_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, button_icons_typeof(o); }
|
||||
function button_icons_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
||||
function button_icons_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, button_icons_toPropertyKey(o.key), o); } }
|
||||
function button_icons_createClass(e, r, t) { return r && button_icons_defineProperties(e.prototype, r), t && button_icons_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
||||
function button_icons_callSuper(t, o, e) { return o = button_icons_getPrototypeOf(o), button_icons_possibleConstructorReturn(t, button_icons_isNativeReflectConstruct() ? Reflect.construct(o, e || [], button_icons_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
||||
function button_icons_possibleConstructorReturn(t, e) { if (e && ("object" == button_icons_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return button_icons_assertThisInitialized(t); }
|
||||
function button_icons_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
||||
function button_icons_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (button_icons_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
||||
function button_icons_superPropGet(t, o, e, r) { var p = button_icons_get(button_icons_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
||||
function button_icons_get() { return button_icons_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = button_icons_superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, button_icons_get.apply(null, arguments); }
|
||||
function button_icons_superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = button_icons_getPrototypeOf(t));); return t; }
|
||||
function button_icons_getPrototypeOf(t) { return button_icons_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, button_icons_getPrototypeOf(t); }
|
||||
function button_icons_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && button_icons_setPrototypeOf(t, e); }
|
||||
function button_icons_setPrototypeOf(t, e) { return button_icons_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, button_icons_setPrototypeOf(t, e); }
|
||||
function button_icons_defineProperty(e, r, t) { return (r = button_icons_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
||||
function button_icons_toPropertyKey(t) { var i = button_icons_toPrimitive(t, "string"); return "symbol" == button_icons_typeof(i) ? i : i + ""; }
|
||||
function button_icons_toPrimitive(t, r) { if ("object" != button_icons_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != button_icons_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var PageDogButtonIcons = /*#__PURE__*/function (_TableBasePage) {
|
||||
function PageDogButtonIcons(router) {
|
||||
var _this;
|
||||
button_icons_classCallCheck(this, PageDogButtonIcons);
|
||||
_this = button_icons_callSuper(this, PageDogButtonIcons, [router]);
|
||||
button_icons_defineProperty(_this, "callSaveTableContent", API.saveButtonIcons);
|
||||
_this.dogMixin = new DogTableMixinPage(_this);
|
||||
return _this;
|
||||
}
|
||||
button_icons_inherits(PageDogButtonIcons, _TableBasePage);
|
||||
return button_icons_createClass(PageDogButtonIcons, [{
|
||||
key: "initialize",
|
||||
value: function initialize() {
|
||||
this.sharedInitialize();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilters",
|
||||
value: function hookupFilters() {
|
||||
this.sharedHookupFilters();
|
||||
this.hookupFilterActive();
|
||||
}
|
||||
}, {
|
||||
key: "loadRowTable",
|
||||
value: function loadRowTable(rowJson) {
|
||||
if (rowJson == null) return;
|
||||
if (_verbose) {
|
||||
utils_Utils.consoleLogIfNotProductionEnvironment("applying data row: ", rowJson);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "getJsonRow",
|
||||
value: function getJsonRow(row) {
|
||||
if (row == null) return;
|
||||
var inputName = row.querySelector('td.' + flagName + ' .' + flagName);
|
||||
var buttonActive = row.querySelector('td.' + flagActive + ' .' + flagActive);
|
||||
var jsonRow = {};
|
||||
jsonRow[attrIdButtonIcon] = row.getAttribute(attrIdButtonIcon);
|
||||
jsonRow[flagImage] = this.getIdImageRow(row);
|
||||
jsonRow[flagName] = DOM.getElementAttributeValueCurrent(inputName);
|
||||
jsonRow[flagActive] = buttonActive.classList.contains(flagDelete);
|
||||
console.log("jsonRow");
|
||||
console.log(jsonRow);
|
||||
return jsonRow;
|
||||
}
|
||||
}, {
|
||||
key: "getIdImageRow",
|
||||
value: function getIdImageRow(row) {
|
||||
var elementImage = row.querySelector('td.' + flagImage + ' .' + flagImage);
|
||||
return DOM.getElementAttributeValueCurrent(elementImage);
|
||||
}
|
||||
}, {
|
||||
key: "initialiseRowNew",
|
||||
value: function initialiseRowNew(tbody, row) {}
|
||||
}, {
|
||||
key: "postInitialiseRowNewCallback",
|
||||
value: function postInitialiseRowNewCallback(tbody) {
|
||||
var newRows = tbody.querySelectorAll('tr.' + flagRowNew);
|
||||
var newestRow = newRows[0];
|
||||
var clickableElementsSelector = ['td.' + flagImage + ' div.' + flagImage].join('');
|
||||
newestRow.querySelectorAll(clickableElementsSelector).forEach(function (clickableElement) {
|
||||
clickableElement.click();
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "hookupTableMain",
|
||||
value: function hookupTableMain() {
|
||||
button_icons_superPropGet(PageDogButtonIcons, "hookupTableMain", this, 3)([]);
|
||||
this.hookupFieldsImage();
|
||||
this.hookupFieldsNameTable();
|
||||
this.hookupFieldsActive();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsImage",
|
||||
value: function hookupFieldsImage() {
|
||||
this.hookupTableCellDdlPreviews(flagImage, utils_Utils.getListFromDict(buttonicons) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
);
|
||||
}
|
||||
}, {
|
||||
key: "leave",
|
||||
value: function leave() {
|
||||
button_icons_superPropGet(PageDogButtonIcons, "leave", this, 3)([]);
|
||||
}
|
||||
}]);
|
||||
}(TableBasePage);
|
||||
button_icons_defineProperty(PageDogButtonIcons, "hash", hashPageDogButtonIcons);
|
||||
button_icons_defineProperty(PageDogButtonIcons, "attrIdRowObject", attrIdButtonIcon);
|
||||
|
||||
;// ./static/js/pages/dog/command_button_links.js
|
||||
function command_button_links_typeof(o) { "@babel/helpers - typeof"; return command_button_links_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, command_button_links_typeof(o); }
|
||||
function command_button_links_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
||||
function command_button_links_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, command_button_links_toPropertyKey(o.key), o); } }
|
||||
function command_button_links_createClass(e, r, t) { return r && command_button_links_defineProperties(e.prototype, r), t && command_button_links_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
||||
function command_button_links_callSuper(t, o, e) { return o = command_button_links_getPrototypeOf(o), command_button_links_possibleConstructorReturn(t, command_button_links_isNativeReflectConstruct() ? Reflect.construct(o, e || [], command_button_links_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
||||
function command_button_links_possibleConstructorReturn(t, e) { if (e && ("object" == command_button_links_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return command_button_links_assertThisInitialized(t); }
|
||||
function command_button_links_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
||||
function command_button_links_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (command_button_links_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
||||
function command_button_links_superPropGet(t, o, e, r) { var p = command_button_links_get(command_button_links_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
||||
function command_button_links_get() { return command_button_links_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = command_button_links_superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, command_button_links_get.apply(null, arguments); }
|
||||
function command_button_links_superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = command_button_links_getPrototypeOf(t));); return t; }
|
||||
function command_button_links_getPrototypeOf(t) { return command_button_links_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, command_button_links_getPrototypeOf(t); }
|
||||
function command_button_links_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && command_button_links_setPrototypeOf(t, e); }
|
||||
function command_button_links_setPrototypeOf(t, e) { return command_button_links_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, command_button_links_setPrototypeOf(t, e); }
|
||||
function command_button_links_defineProperty(e, r, t) { return (r = command_button_links_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
||||
function command_button_links_toPropertyKey(t) { var i = command_button_links_toPrimitive(t, "string"); return "symbol" == command_button_links_typeof(i) ? i : i + ""; }
|
||||
function command_button_links_toPrimitive(t, r) { if ("object" != command_button_links_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != command_button_links_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var PageDogCommandButtonLinks = /*#__PURE__*/function (_TableBasePage) {
|
||||
function PageDogCommandButtonLinks(router) {
|
||||
var _this;
|
||||
command_button_links_classCallCheck(this, PageDogCommandButtonLinks);
|
||||
_this = command_button_links_callSuper(this, PageDogCommandButtonLinks, [router]);
|
||||
command_button_links_defineProperty(_this, "callSaveTableContent", API.saveCommandButtonLinks);
|
||||
_this.dogMixin = new DogTableMixinPage(_this);
|
||||
return _this;
|
||||
}
|
||||
command_button_links_inherits(PageDogCommandButtonLinks, _TableBasePage);
|
||||
return command_button_links_createClass(PageDogCommandButtonLinks, [{
|
||||
key: "initialize",
|
||||
value: function initialize() {
|
||||
this.sharedInitialize();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilters",
|
||||
value: function hookupFilters() {
|
||||
this.sharedHookupFilters();
|
||||
this.hookupFilterCommandCategory();
|
||||
this.hookupFilterCommand();
|
||||
this.hookupFilterButtonShape();
|
||||
this.hookupFilterColour();
|
||||
this.hookupFilterButtonIcon();
|
||||
this.hookupFilterLocation();
|
||||
this.hookupFilterActive();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilterButtonShape",
|
||||
value: function hookupFilterButtonShape() {
|
||||
this.hookupFilter(attrIdButtonShape);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilterColour",
|
||||
value: function hookupFilterColour() {
|
||||
this.hookupFilter(attrIdColour);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilterButtonIcon",
|
||||
value: function hookupFilterButtonIcon() {
|
||||
this.hookupFilter(attrIdButtonIcon);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFilterLocation",
|
||||
value: function hookupFilterLocation() {
|
||||
this.hookupFilter(attrIdLocation);
|
||||
}
|
||||
}, {
|
||||
key: "loadRowTable",
|
||||
value: function loadRowTable(rowJson) {
|
||||
if (rowJson == null) return;
|
||||
if (_verbose) {
|
||||
utils_Utils.consoleLogIfNotProductionEnvironment("applying data row: ", rowJson);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "getJsonRow",
|
||||
value: function getJsonRow(row) {
|
||||
if (row == null) return;
|
||||
var inputHandSignalDescription = row.querySelector('td.' + flagHandSignalDescription + ' textarea');
|
||||
var inputNotes = row.querySelector('td.' + flagNotes + ' textarea');
|
||||
var buttonActive = row.querySelector('td.' + flagActive + ' .' + flagActive);
|
||||
var jsonRow = {};
|
||||
jsonRow[attrIdCommandButtonLink] = row.getAttribute(attrIdCommandButtonLink);
|
||||
jsonRow[attrIdDog] = this.getIdDogRow(row);
|
||||
jsonRow[attrIdCommand] = this.getIdCommandRow(row);
|
||||
jsonRow[flagHandSignalDescription] = DOM.getElementAttributeValueCurrent(inputHandSignalDescription);
|
||||
jsonRow[flagNotes] = DOM.getElementAttributeValueCurrent(inputNotes);
|
||||
jsonRow[flagActive] = buttonActive.classList.contains(flagDelete);
|
||||
return jsonRow;
|
||||
}
|
||||
}, {
|
||||
key: "initialiseRowNew",
|
||||
value: function initialiseRowNew(tbody, row) {}
|
||||
}, {
|
||||
key: "postInitialiseRowNewCallback",
|
||||
value: function postInitialiseRowNewCallback(tbody) {
|
||||
var newRows = tbody.querySelectorAll('tr.' + flagRowNew);
|
||||
var newestRow = newRows[newRows.length - 1];
|
||||
var clickableElementsSelector = ['td.' + flagDog + ' div.' + flagDog, ',td.' + flagCommandCategory + ' div.' + flagCommandCategory, ',td.' + flagCommand + ' div.' + flagCommand].join('');
|
||||
newestRow.querySelectorAll(clickableElementsSelector).forEach(function (clickableElement) {
|
||||
clickableElement.click();
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "hookupTableMain",
|
||||
value: function hookupTableMain() {
|
||||
command_button_links_superPropGet(PageDogCommandButtonLinks, "hookupTableMain", this, 3)([]);
|
||||
this.hookupFieldsCommandCategory();
|
||||
this.hookupFieldsCommand();
|
||||
this.hookupFieldsButtonShape();
|
||||
this.hookupFieldsColour();
|
||||
this.hookupFieldsButtonIcon();
|
||||
this.hookupFieldsLocation();
|
||||
this.hookupFieldsActive();
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsButtonShape",
|
||||
value: function hookupFieldsButtonShape() {
|
||||
this.hookupTableCellDdlPreviews(flagButtonShape, utils_Utils.getListFromDict(filterButtonShapes) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsColour",
|
||||
value: function hookupFieldsColour() {
|
||||
this.hookupTableCellDdlPreviews(flagColour, utils_Utils.getListFromDict(filterColours) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsButtonIcon",
|
||||
value: function hookupFieldsButtonIcon() {
|
||||
this.hookupTableCellDdlPreviews(flagButtonIcon, utils_Utils.getListFromDict(filterButtonIcons) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
);
|
||||
}
|
||||
}, {
|
||||
key: "hookupFieldsLocation",
|
||||
value: function hookupFieldsLocation() {
|
||||
this.hookupTableCellDdlPreviews(flagLocation, utils_Utils.getListFromDict(filterLocations) // .sort((a, b) => a[flagName].localeCompare(b[flagName]))
|
||||
);
|
||||
}
|
||||
}, {
|
||||
key: "leave",
|
||||
value: function leave() {
|
||||
command_button_links_superPropGet(PageDogCommandButtonLinks, "leave", this, 3)([]);
|
||||
}
|
||||
}]);
|
||||
}(TableBasePage);
|
||||
command_button_links_defineProperty(PageDogCommandButtonLinks, "hash", hashPageDogCommandButtonLinks);
|
||||
command_button_links_defineProperty(PageDogCommandButtonLinks, "attrIdRowObject", attrIdCommandButtonLink);
|
||||
|
||||
;// ./static/js/pages/legal/accessibility_report.js
|
||||
function accessibility_report_typeof(o) { "@babel/helpers - typeof"; return accessibility_report_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, accessibility_report_typeof(o); }
|
||||
function accessibility_report_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
||||
@@ -2972,6 +3492,9 @@ function router_toPrimitive(t, r) { if ("object" != router_typeof(t) || !t) retu
|
||||
|
||||
|
||||
// import PageDogDogs from './pages/dog/dogs.js';
|
||||
|
||||
|
||||
|
||||
// Legal
|
||||
|
||||
|
||||
@@ -3015,6 +3538,18 @@ var Router = /*#__PURE__*/function () {
|
||||
module: PageDogDogCommandLinks
|
||||
};
|
||||
// this.pages[hashPageDogDogs] = { name: 'PageDogDogs', module: PageDogDogs };
|
||||
this.pages[hashPageDogLocations] = {
|
||||
name: 'PageDogLocations',
|
||||
module: PageDogLocations
|
||||
};
|
||||
this.pages[hashPageDogButtonIcons] = {
|
||||
name: 'PageDogButtonIcons',
|
||||
module: PageDogButtonIcons
|
||||
};
|
||||
this.pages[hashPageDogCommandButtonLinks] = {
|
||||
name: 'PageDogCommandButtonLinks',
|
||||
module: PageDogCommandButtonLinks
|
||||
};
|
||||
// Legal
|
||||
this.pages[hashPageAccessibilityStatement] = {
|
||||
name: 'PageAccessibilityStatement',
|
||||
@@ -3061,6 +3596,18 @@ var Router = /*#__PURE__*/function () {
|
||||
return _this.navigateToHash(hashPageDogDogCommandLinks, isPopState);
|
||||
};
|
||||
// this.routes[hashPageDogDogs] = (isPopState = false) => this.navigateToHash(hashPageDogDogs, isPopState);
|
||||
this.routes[hashPageDogLocations] = function () {
|
||||
var isPopState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
||||
return _this.navigateToHash(hashPageDogLocations, isPopState);
|
||||
};
|
||||
this.routes[hashPageDogButtonIcons] = function () {
|
||||
var isPopState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
||||
return _this.navigateToHash(hashPageDogButtonIcons, isPopState);
|
||||
};
|
||||
this.routes[hashPageDogCommandButtonLinks] = function () {
|
||||
var isPopState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
||||
return _this.navigateToHash(hashPageDogCommandButtonLinks, isPopState);
|
||||
};
|
||||
// Legal
|
||||
this.routes[hashPageAccessibilityStatement] = function () {
|
||||
var isPopState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
||||
|
||||
2
static/dist/js/main.bundle.js.map
vendored
2
static/dist/js/main.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user