@rededor/cura 2.0.0-alpha.13 → 2.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cura-accordion_22.cjs.entry.js +55 -20
- package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/cura-display.cjs.entry.js +1 -1
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +1 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
- package/dist/cjs/cura-input-date.cjs.entry.js +1 -1
- package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
- package/dist/cjs/cura-modal.cjs.entry.js +1 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/cura-radio.cjs.entry.js +1 -1
- package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
- package/dist/cjs/cura-switch.cjs.entry.js +1 -1
- package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
- package/dist/cjs/cura-toast.cjs.entry.js +1 -1
- package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/cura.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/cura-calendar/cura-calendar.css +13 -1
- package/dist/collection/components/cura-calendar/cura-calendar.js +91 -3
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js +29 -1
- package/dist/collection/components/cura-calendar/cura-calendar.type.js +1 -0
- package/dist/collection/components/cura-card/cura-card.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +1 -1
- package/dist/collection/components/cura-icon/cura-icon.js +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
- package/dist/collection/components/cura-modal/cura-modal.js +1 -1
- package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
- package/dist/collection/components/cura-toast/cura-toast.js +1 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
- package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +1 -1
- package/dist/collection/components/text/cura-display/cura-display.js +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
- package/dist/components/cura-accordion-item.js +1 -1
- package/dist/components/cura-alert.js +1 -1
- package/dist/components/cura-badge-counter.js +1 -1
- package/dist/components/cura-badge-distance.js +1 -1
- package/dist/components/cura-badge-pill.js +1 -1
- package/dist/components/cura-button-outline.js +1 -1
- package/dist/components/cura-button-select.js +1 -1
- package/dist/components/cura-button-transparent.js +1 -1
- package/dist/components/cura-button.js +1 -1
- package/dist/components/cura-calendar.js +1 -1
- package/dist/components/cura-card.js +1 -1
- package/dist/components/cura-checkbox.js +1 -1
- package/dist/components/cura-display.js +1 -1
- package/dist/components/cura-dropdown-search-category.js +1 -1
- package/dist/components/cura-dropdown-search-not-found.js +1 -1
- package/dist/components/cura-dropdown-search-option.js +1 -1
- package/dist/components/cura-dropdown-search.js +1 -1
- package/dist/components/cura-heading.js +1 -1
- package/dist/components/cura-icon.js +1 -1
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-input-date.js +1 -1
- package/dist/components/cura-input-text.js +1 -1
- package/dist/components/cura-label.js +1 -1
- package/dist/components/cura-loader-bar.js +1 -1
- package/dist/components/cura-loader-circle.js +1 -1
- package/dist/components/cura-modal.js +1 -1
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-paragraph.js +1 -1
- package/dist/components/cura-progress-bar.js +1 -1
- package/dist/components/cura-radio.js +1 -1
- package/dist/components/cura-select-option.js +1 -1
- package/dist/components/cura-select.js +1 -1
- package/dist/components/cura-stepper-item.js +1 -1
- package/dist/components/cura-stepper.js +1 -1
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/cura-tabs-button.js +1 -1
- package/dist/components/cura-tabs-group.js +1 -1
- package/dist/components/cura-tabs-transparent.js +1 -1
- package/dist/components/cura-tabs.js +1 -1
- package/dist/components/cura-toast.js +1 -1
- package/dist/components/cura-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-B2RN7oe_.js → p-BBtCzdwH.js} +1 -1
- package/dist/components/{p-fR02COZb.js → p-BFGkepgq.js} +1 -1
- package/dist/components/{p-CCkEqDZb.js → p-BGBnVlL3.js} +1 -1
- package/dist/components/{p-B8xnU6YS.js → p-BJafC0R3.js} +1 -1
- package/dist/components/{p-BYA8glxD.js → p-BOQ-9WHP.js} +1 -1
- package/dist/components/{p-DXlGQp3a.js → p-BXFxWVl3.js} +1 -1
- package/dist/components/{p-D7WNwjv-.js → p-Bac-rr_f.js} +1 -1
- package/dist/components/{p-C7so9xnO.js → p-BmMvoH-m.js} +1 -1
- package/dist/components/p-CalvBU-U.js +1 -0
- package/dist/components/{p-BSdkRryc.js → p-Cm1Vfoc6.js} +1 -1
- package/dist/components/{p-fn4zJrKE.js → p-DI66_jP6.js} +1 -1
- package/dist/components/{p-D6xuYQiO.js → p-DbZtk_CM.js} +1 -1
- package/dist/components/{p-DxJedO3K.js → p-I4AXUk2V.js} +1 -1
- package/dist/components/{p-C05r6CQV.js → p-Oyg5hynZ.js} +1 -1
- package/dist/components/p-nqT7t82E.js +1 -0
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/{p-b14ae206.entry.js → p-04b5c710.entry.js} +1 -1
- package/dist/cura/{p-bf99e8bf.entry.js → p-18a1cadf.entry.js} +1 -1
- package/dist/cura/{p-2e2e2b4d.entry.js → p-1ecb2249.entry.js} +1 -1
- package/dist/cura/{p-b7369d04.entry.js → p-2572a4f9.entry.js} +1 -1
- package/dist/cura/{p-42e72d12.entry.js → p-604f1c1d.entry.js} +1 -1
- package/dist/cura/{p-ddf4d240.entry.js → p-71fffffa.entry.js} +1 -1
- package/dist/cura/{p-c247c93b.entry.js → p-8b29b763.entry.js} +1 -1
- package/dist/cura/{p-9de85de6.entry.js → p-906c8b66.entry.js} +1 -1
- package/dist/cura/{p-7965fe63.entry.js → p-a5c4849c.entry.js} +1 -1
- package/dist/cura/{p-3a3202f0.entry.js → p-a72db13d.entry.js} +1 -1
- package/dist/cura/{p-f911a6c5.entry.js → p-b447fca2.entry.js} +1 -1
- package/dist/cura/p-c287c69e.entry.js +1 -0
- package/dist/cura/{p-c18d7f16.entry.js → p-c987ddde.entry.js} +1 -1
- package/dist/cura/{p-1dc9c478.entry.js → p-f072b011.entry.js} +1 -1
- package/dist/cura/{p-5357f7bd.entry.js → p-f407bd73.entry.js} +1 -1
- package/dist/cura/p-f638eda8.entry.js +1 -0
- package/dist/esm/cura-accordion_22.entry.js +55 -20
- package/dist/esm/cura-checkbox.entry.js +1 -1
- package/dist/esm/cura-display.entry.js +1 -1
- package/dist/esm/cura-dropdown-search-not-found.entry.js +1 -1
- package/dist/esm/cura-icons-view.entry.js +1 -1
- package/dist/esm/cura-input-date.entry.js +1 -1
- package/dist/esm/cura-loader-bar.entry.js +1 -1
- package/dist/esm/cura-modal.entry.js +1 -1
- package/dist/esm/cura-progress-bar_2.entry.js +2 -2
- package/dist/esm/cura-radio.entry.js +1 -1
- package/dist/esm/cura-stepper.entry.js +1 -1
- package/dist/esm/cura-switch.entry.js +1 -1
- package/dist/esm/cura-tabs-button.entry.js +1 -1
- package/dist/esm/cura-tabs-transparent.entry.js +1 -1
- package/dist/esm/cura-toast.entry.js +1 -1
- package/dist/esm/cura-tooltip.entry.js +1 -1
- package/dist/esm/cura.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/cura-calendar/cura-calendar.d.ts +21 -0
- package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +29 -0
- package/dist/types/components/cura-calendar/cura-calendar.type.d.ts +4 -0
- package/dist/types/components.d.ts +22 -0
- package/package.json +2 -2
- package/dist/components/p-Bf21UQXV.js +0 -1
- package/dist/components/p-CG1lz5DR.js +0 -1
- package/dist/cura/p-47fdb124.entry.js +0 -1
- package/dist/cura/p-cbe8c690.entry.js +0 -1
package/dist/cjs/cura.cjs.js
CHANGED
|
@@ -22,7 +22,7 @@ var patchBrowser = () => {
|
|
|
22
22
|
|
|
23
23
|
patchBrowser().then(async (options) => {
|
|
24
24
|
await appGlobals.globalScripts();
|
|
25
|
-
return index.bootstrapLazy(JSON.parse("[[\"cura-accordion_22.cjs\",[[257,\"cura-dropdown-search\",{\"name\":[513],\"size\":[513],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"placeholder\":[513],\"label\":[513],\"icon\":[513],\"maxheight\":[513],\"value\":[1025],\"searchdelay\":[514],\"searchminchars\":[514],\"styles\":[32],\"zoomState\":[32],\"isOnFocus\":[32],\"dropdownItems\":[32],\"setFocus\":[64],\"selectOption\":[64]}],[321,\"cura-button\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}],[257,\"cura-accordion-item\",{\"label\":[513],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"colorMode\":[1,\"color-mode\"],\"level\":[514],\"opened\":[1540],\"styles\":[32]}],[257,\"cura-tabs\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}],[1,\"cura-badge-distance\",{\"distance\":[2],\"label\":[513],\"styles\":[32],\"displayDistance\":[32]},null,{\"distance\":[{\"formatDistance\":0}]}],[257,\"cura-dropdown-search-category\"],[257,\"cura-accordion\",{\"color\":[513],\"colorMode\":[513,\"color-mode\"],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"behavior\":[513],\"level\":[514],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}]}],[1,\"cura-avatar\",{\"size\":[1],\"backgroundColor\":[513,\"background-color\"],\"borderColor\":[513,\"border-color\"],\"borderRadius\":[513,\"border-radius\"],\"border\":[516],\"type\":[513],\"imageSrc\":[1537,\"image-src\"],\"imageSrcDefault\":[513,\"image-src-default\"],\"floating\":[516],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}]}],[257,\"cura-card\",{\"hasPadding\":[1028,\"has-padding\"],\"hasShadow\":[1028,\"has-shadow\"],\"type\":[1025],\"colorMode\":[1025,\"color-mode\"],\"href\":[1537],\"target\":[513],\"styles\":[32]}],[257,\"cura-dropdown-search-option\",{\"value\":[1],\"optionid\":[1],\"selectable\":[516],\"selected\":[516],\"highlighted\":[516]}],[257,\"cura-page-template\",{\"contentwidth\":[513]}],[257,\"cura-tabs-group\",{\"gap\":[514],\"borderBottom\":[1540,\"border-bottom\"],\"colorMode\":[1537,\"color-mode\"],\"styles\":[32]},[[0,\"tabSelect\",\"handleTabSelect\"]]],[1,\"cura-calendar\",{\"isDisabled\":[516,\"is-disabled\"],\"period\":[513],\"width\":[513],\"minWidth\":[513,\"min-width\"],\"maxWidth\":[513,\"max-width\"],\"mode\":[513],\"dateFormat\":[1537,\"date-format\"],\"locale\":[513],\"type\":[513],\"disable\":[16],\"enable\":[16],\"defaultDate\":[1537,\"default-date\"],\"showToday\":[516,\"show-today\"],\"customDates\":[16],\"limitRange\":[514,\"limit-range\"],\"disablePassDates\":[1540,\"disable-pass-dates\"],\"disableFutureDates\":[1540,\"disable-future-dates\"],\"collapsed\":[1540],\"floating\":[1540],\"embedded\":[1540],\"selectLabelColorMode\":[1537,\"select-label-color-mode\"],\"selectedDates\":[32],\"rangeStart\":[32],\"defaultDates\":[32],\"currentDate\":[32],\"selectMonth\":[32],\"selectYear\":[32],\"styles\":[32]},null,{\"defaultDate\":[{\"initializeDefaultDates\":0},{\"handleDefaultDateChange\":0}],\"customDates\":[{\"watchDefaultDatesArray\":0}]}],[321,\"cura-input-text\",{\"mode\":[1537],\"status\":[1537],\"size\":[1537],\"type\":[513],\"inputMode\":[513,\"input-mode\"],\"label\":[513],\"name\":[513],\"placeholder\":[513],\"value\":[1544],\"iconName\":[1537,\"icon-name\"],\"helperText\":[1537,\"helper-text\"],\"disabled\":[516],\"required\":[516],\"maskPreset\":[8,\"mask-preset\"],\"enableSelectionMode\":[1540,\"enable-selection-mode\"],\"maskRegex\":[1537,\"mask-regex\"],\"maskAdvanced\":[1544,\"mask-advanced\"],\"maxlength\":[1538],\"readOnly\":[516,\"read-only\"],\"isLoading\":[1540,\"is-loading\"],\"clearIcon\":[1540,\"clear-icon\"],\"hideErrorIcon\":[4,\"hide-error-icon\"],\"autocomplete\":[513],\"isHovered\":[32],\"isFocused\":[32],\"styles\":[32],\"setFocus\":[64]},null,{\"styles\":[{\"connectedCallback\":0}],\"size\":[{\"getClasses\":0}],\"status\":[{\"renderIcon\":0}],\"mode\":[{\"renderIcon\":0}],\"maskPreset\":[{\"initializeMask\":0}],\"maskRegex\":[{\"initializeMask\":0}],\"maskAdvanced\":[{\"initializeMask\":0}]}],[321,\"cura-select\",{\"label\":[513],\"placeholder\":[513],\"value\":[1537],\"mode\":[513],\"size\":[513],\"iconName\":[1,\"icon-name\"],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"searchBehavior\":[516,\"search-behavior\"],\"caseSensitive\":[516,\"case-sensitive\"],\"maxHeight\":[513,\"max-height\"],\"isHovered\":[32],\"isFocused\":[32],\"isOpen\":[32],\"isPositioned\":[32],\"menuStyle\":[32],\"options\":[32],\"activeIndex\":[32],\"preferredPlacement\":[32],\"textInput\":[32]},null,{\"activeIndex\":[{\"updateOptionHighlights\":0}],\"textInput\":[{\"filterOptions\":0}],\"value\":[{\"handleValueChange\":0}]}],[257,\"cura-select-option\",{\"value\":[513],\"selected\":[516],\"active\":[516],\"size\":[1],\"styles\":[32]},null,{\"size\":[{\"getSize\":0}]}],[321,\"cura-button-transparent\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"hovered\":[32],\"styles\":[32]},null,{\"fontColor\":[{\"getSymbolColor\":0}],\"color\":[{\"getSymbolColor\":0}]}],[257,\"cura-paragraph\",{\"size\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[257,\"cura-heading\",{\"level\":[514],\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[1,\"cura-loader-circle\",{\"size\":[513],\"color\":[513]}],[1,\"cura-icon\",{\"name\":[513],\"color\":[1],\"size\":[8],\"iconset\":[513],\"disabled\":[4]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"colorHandler\":0}],\"disabled\":[{\"colorHandler\":0}]}],[257,\"cura-label\",{\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-input-date.cjs\",[[65,\"cura-input-date\",{\"label\":[513],\"status\":[1537],\"size\":[513],\"name\":[513],\"helperText\":[513,\"helper-text\"],\"enableRangeDates\":[516,\"enable-range-dates\"],\"disableFutureDates\":[516,\"disable-future-dates\"],\"disablePassDates\":[516,\"disable-pass-dates\"],\"iconName\":[513,\"icon-name\"],\"placeholder\":[513],\"calendarType\":[513,\"calendar-type\"],\"styles\":[32],\"isCalendarVisible\":[32],\"dates\":[32],\"value\":[32],\"dateSettings\":[32]},[[8,\"click\",\"handleClick\"]],{\"enableRangeDates\":[{\"updateDateSettings\":0}]}]]],[\"cura-stepper.cjs\",[[1,\"cura-stepper\",{\"activeStepIndex\":[514,\"active-step-index\"],\"errorInCurrentStep\":[516,\"error-in-current-step\"],\"displayHeading\":[516,\"display-heading\"],\"variant\":[513],\"steps\":[1],\"styles\":[32],\"stepList\":[32]}]]],[\"cura-tooltip.cjs\",[[257,\"cura-tooltip\",{\"elementId\":[1,\"element-id\"],\"interactive\":[4],\"delay\":[2],\"maxWidth\":[1,\"max-width\"],\"position\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"isMobile\":[32]},[[9,\"resize\",\"onWindowResize\"],[9,\"scroll\",\"onWindowScroll\"]]]]],[\"cura-modal.cjs\",[[257,\"cura-modal\",{\"open\":[1540],\"background\":[1],\"top\":[2],\"bottom\":[2],\"left\":[2],\"right\":[2],\"mobileCloseLabel\":[513,\"mobile-close-label\"],\"canClose\":[516,\"can-close\"],\"zindex\":[513],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"top\":[{\"setTop\":0}],\"bottom\":[{\"setBottom\":0}],\"left\":[{\"setLeft\":0}],\"right\":[{\"setRight\":0}]}]]],[\"cura-toast.cjs\",[[257,\"cura-toast\",{\"type\":[1],\"position\":[1],\"icon\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"loader\":[516],\"autoCloseDelay\":[514,\"auto-close-delay\"],\"styles\":[32],\"progress\":[32],\"close\":[64]},null,{\"type\":[{\"handleChangeType\":0}],\"position\":[{\"handleChangeType\":0}]}]]],[\"cura-alert.cjs\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline.cjs\",[[321,\"cura-button-outline\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[1],\"fontColor\":[1,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0},{\"getSymbolColor\":0}],\"fontColor\":[{\"getSymbolColor\":0}]}]]],[\"cura-button-select.cjs\",[[257,\"cura-button-select\",{\"selected\":[1540],\"iconName\":[1537,\"icon-name\"],\"size\":[513],\"counter\":[1538],\"disabled\":[516],\"background\":[1],\"color\":[1],\"iconPosition\":[513,\"icon-position\"],\"hovered\":[32],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}]]],[\"cura-checkbox.cjs\",[[321,\"cura-checkbox\",{\"checked\":[1540],\"indeterminate\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"size\":[513],\"background\":[1],\"iconColor\":[1,\"icon-color\"],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}],\"iconColor\":[{\"assignColor\":0}]}]]],[\"cura-icons-view.cjs\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-tabs-button.cjs\",[[257,\"cura-tabs-button\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"counter\":[1538],\"selected\":[1540],\"disabled\":[1540],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-radio.cjs\",[[321,\"cura-radio\",{\"checked\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"background\":[1],\"size\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}]}]]],[\"cura-tabs-transparent.cjs\",[[257,\"cura-tabs-transparent\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-dropdown-search-not-found.cjs\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch.cjs\",[[321,\"cura-switch\",{\"checked\":[1540],\"disabled\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"size\":[513],\"background\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0}]}]]],[\"cura-badge-dot.cjs\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display.cjs\",[[257,\"cura-display\",{\"level\":[514],\"size\":[513],\"spotColor\":[1,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-loader-bar.cjs\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill.cjs\",[[257,\"cura-badge-pill\",{\"type\":[513],\"color\":[1],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"disabled\":[516],\"iconOnly\":[516,\"icon-only\"],\"borderRadius\":[513,\"border-radius\"],\"styles\":[32]},null,{\"color\":[{\"watchColorChange\":0}]}]]],[\"cura-progress-bar_2.cjs\",[[1,\"cura-stepper-item\",{\"displayHeading\":[516,\"display-heading\"],\"heading\":[513],\"label\":[513],\"status\":[513],\"styles\":[32]}],[257,\"cura-progress-bar\",{\"progressColor\":[513,\"progress-color\"],\"progress\":[514],\"size\":[514],\"strokeWidth\":[514,\"stroke-width\"],\"active\":[516]}]]],[\"cura-badge-counter.cjs\",[[1,\"cura-badge-counter\",{\"number\":[514],\"color\":[1],\"disabled\":[4],\"type\":[1],\"styles\":[32]},null,{\"disabled\":[{\"handleColorChange\":0}],\"color\":[{\"handleColorChange\":0}],\"type\":[{\"handleColorChange\":0}]}]]]]"), options);
|
|
25
|
+
return index.bootstrapLazy(JSON.parse("[[\"cura-accordion_22.cjs\",[[257,\"cura-dropdown-search\",{\"name\":[513],\"size\":[513],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"placeholder\":[513],\"label\":[513],\"icon\":[513],\"maxheight\":[513],\"value\":[1025],\"searchdelay\":[514],\"searchminchars\":[514],\"styles\":[32],\"zoomState\":[32],\"isOnFocus\":[32],\"dropdownItems\":[32],\"setFocus\":[64],\"selectOption\":[64]}],[321,\"cura-button\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}],[257,\"cura-accordion-item\",{\"label\":[513],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"colorMode\":[1,\"color-mode\"],\"level\":[514],\"opened\":[1540],\"styles\":[32]}],[257,\"cura-tabs\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}],[1,\"cura-badge-distance\",{\"distance\":[2],\"label\":[513],\"styles\":[32],\"displayDistance\":[32]},null,{\"distance\":[{\"formatDistance\":0}]}],[257,\"cura-dropdown-search-category\"],[257,\"cura-accordion\",{\"color\":[513],\"colorMode\":[513,\"color-mode\"],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"behavior\":[513],\"level\":[514],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}]}],[1,\"cura-avatar\",{\"size\":[1],\"backgroundColor\":[513,\"background-color\"],\"borderColor\":[513,\"border-color\"],\"borderRadius\":[513,\"border-radius\"],\"border\":[516],\"type\":[513],\"imageSrc\":[1537,\"image-src\"],\"imageSrcDefault\":[513,\"image-src-default\"],\"floating\":[516],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}]}],[257,\"cura-card\",{\"hasPadding\":[1028,\"has-padding\"],\"hasShadow\":[1028,\"has-shadow\"],\"type\":[1025],\"colorMode\":[1025,\"color-mode\"],\"href\":[1537],\"target\":[513],\"styles\":[32]}],[257,\"cura-dropdown-search-option\",{\"value\":[1],\"optionid\":[1],\"selectable\":[516],\"selected\":[516],\"highlighted\":[516]}],[257,\"cura-page-template\",{\"contentwidth\":[513]}],[257,\"cura-tabs-group\",{\"gap\":[514],\"borderBottom\":[1540,\"border-bottom\"],\"colorMode\":[1537,\"color-mode\"],\"styles\":[32]},[[0,\"tabSelect\",\"handleTabSelect\"]]],[257,\"cura-calendar\",{\"isDisabled\":[516,\"is-disabled\"],\"isLoading\":[516,\"is-loading\"],\"period\":[513],\"width\":[513],\"minWidth\":[513,\"min-width\"],\"maxWidth\":[513,\"max-width\"],\"mode\":[513],\"dateFormat\":[1537,\"date-format\"],\"locale\":[513],\"type\":[513],\"disable\":[16],\"enable\":[16],\"defaultDate\":[1537,\"default-date\"],\"showToday\":[516,\"show-today\"],\"customDates\":[16],\"limitRange\":[514,\"limit-range\"],\"disablePassDates\":[1540,\"disable-pass-dates\"],\"disableFutureDates\":[1540,\"disable-future-dates\"],\"collapsed\":[1540],\"floating\":[1540],\"embedded\":[1540],\"selectLabelColorMode\":[1537,\"select-label-color-mode\"],\"selectedDates\":[32],\"rangeStart\":[32],\"defaultDates\":[32],\"currentDate\":[32],\"selectMonth\":[32],\"selectYear\":[32],\"styles\":[32]},null,{\"defaultDate\":[{\"initializeDefaultDates\":0},{\"handleDefaultDateChange\":0}],\"customDates\":[{\"watchDefaultDatesArray\":0}],\"currentDate\":[{\"watchDatesInViewChange\":0}],\"collapsed\":[{\"watchCollapse\":0}]}],[321,\"cura-input-text\",{\"mode\":[1537],\"status\":[1537],\"size\":[1537],\"type\":[513],\"inputMode\":[513,\"input-mode\"],\"label\":[513],\"name\":[513],\"placeholder\":[513],\"value\":[1544],\"iconName\":[1537,\"icon-name\"],\"helperText\":[1537,\"helper-text\"],\"disabled\":[516],\"required\":[516],\"maskPreset\":[8,\"mask-preset\"],\"enableSelectionMode\":[1540,\"enable-selection-mode\"],\"maskRegex\":[1537,\"mask-regex\"],\"maskAdvanced\":[1544,\"mask-advanced\"],\"maxlength\":[1538],\"readOnly\":[516,\"read-only\"],\"isLoading\":[1540,\"is-loading\"],\"clearIcon\":[1540,\"clear-icon\"],\"hideErrorIcon\":[4,\"hide-error-icon\"],\"autocomplete\":[513],\"isHovered\":[32],\"isFocused\":[32],\"styles\":[32],\"setFocus\":[64]},null,{\"styles\":[{\"connectedCallback\":0}],\"size\":[{\"getClasses\":0}],\"status\":[{\"renderIcon\":0}],\"mode\":[{\"renderIcon\":0}],\"maskPreset\":[{\"initializeMask\":0}],\"maskRegex\":[{\"initializeMask\":0}],\"maskAdvanced\":[{\"initializeMask\":0}]}],[321,\"cura-select\",{\"label\":[513],\"placeholder\":[513],\"value\":[1537],\"mode\":[513],\"size\":[513],\"iconName\":[1,\"icon-name\"],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"searchBehavior\":[516,\"search-behavior\"],\"caseSensitive\":[516,\"case-sensitive\"],\"maxHeight\":[513,\"max-height\"],\"isHovered\":[32],\"isFocused\":[32],\"isOpen\":[32],\"isPositioned\":[32],\"menuStyle\":[32],\"options\":[32],\"activeIndex\":[32],\"preferredPlacement\":[32],\"textInput\":[32]},null,{\"activeIndex\":[{\"updateOptionHighlights\":0}],\"textInput\":[{\"filterOptions\":0}],\"value\":[{\"handleValueChange\":0}]}],[257,\"cura-select-option\",{\"value\":[513],\"selected\":[516],\"active\":[516],\"size\":[1],\"styles\":[32]},null,{\"size\":[{\"getSize\":0}]}],[321,\"cura-button-transparent\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"hovered\":[32],\"styles\":[32]},null,{\"fontColor\":[{\"getSymbolColor\":0}],\"color\":[{\"getSymbolColor\":0}]}],[257,\"cura-paragraph\",{\"size\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[257,\"cura-heading\",{\"level\":[514],\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[1,\"cura-loader-circle\",{\"size\":[513],\"color\":[513]}],[1,\"cura-icon\",{\"name\":[513],\"color\":[1],\"size\":[8],\"iconset\":[513],\"disabled\":[4]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"colorHandler\":0}],\"disabled\":[{\"colorHandler\":0}]}],[257,\"cura-label\",{\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-input-date.cjs\",[[65,\"cura-input-date\",{\"label\":[513],\"status\":[1537],\"size\":[513],\"name\":[513],\"helperText\":[513,\"helper-text\"],\"enableRangeDates\":[516,\"enable-range-dates\"],\"disableFutureDates\":[516,\"disable-future-dates\"],\"disablePassDates\":[516,\"disable-pass-dates\"],\"iconName\":[513,\"icon-name\"],\"placeholder\":[513],\"calendarType\":[513,\"calendar-type\"],\"styles\":[32],\"isCalendarVisible\":[32],\"dates\":[32],\"value\":[32],\"dateSettings\":[32]},[[8,\"click\",\"handleClick\"]],{\"enableRangeDates\":[{\"updateDateSettings\":0}]}]]],[\"cura-stepper.cjs\",[[1,\"cura-stepper\",{\"activeStepIndex\":[514,\"active-step-index\"],\"errorInCurrentStep\":[516,\"error-in-current-step\"],\"displayHeading\":[516,\"display-heading\"],\"variant\":[513],\"steps\":[1],\"styles\":[32],\"stepList\":[32]}]]],[\"cura-tooltip.cjs\",[[257,\"cura-tooltip\",{\"elementId\":[1,\"element-id\"],\"interactive\":[4],\"delay\":[2],\"maxWidth\":[1,\"max-width\"],\"position\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"isMobile\":[32]},[[9,\"resize\",\"onWindowResize\"],[9,\"scroll\",\"onWindowScroll\"]]]]],[\"cura-modal.cjs\",[[257,\"cura-modal\",{\"open\":[1540],\"background\":[1],\"top\":[2],\"bottom\":[2],\"left\":[2],\"right\":[2],\"mobileCloseLabel\":[513,\"mobile-close-label\"],\"canClose\":[516,\"can-close\"],\"zindex\":[513],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"top\":[{\"setTop\":0}],\"bottom\":[{\"setBottom\":0}],\"left\":[{\"setLeft\":0}],\"right\":[{\"setRight\":0}]}]]],[\"cura-toast.cjs\",[[257,\"cura-toast\",{\"type\":[1],\"position\":[1],\"icon\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"loader\":[516],\"autoCloseDelay\":[514,\"auto-close-delay\"],\"styles\":[32],\"progress\":[32],\"close\":[64]},null,{\"type\":[{\"handleChangeType\":0}],\"position\":[{\"handleChangeType\":0}]}]]],[\"cura-alert.cjs\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline.cjs\",[[321,\"cura-button-outline\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[1],\"fontColor\":[1,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0},{\"getSymbolColor\":0}],\"fontColor\":[{\"getSymbolColor\":0}]}]]],[\"cura-button-select.cjs\",[[257,\"cura-button-select\",{\"selected\":[1540],\"iconName\":[1537,\"icon-name\"],\"size\":[513],\"counter\":[1538],\"disabled\":[516],\"background\":[1],\"color\":[1],\"iconPosition\":[513,\"icon-position\"],\"hovered\":[32],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}]]],[\"cura-checkbox.cjs\",[[321,\"cura-checkbox\",{\"checked\":[1540],\"indeterminate\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"size\":[513],\"background\":[1],\"iconColor\":[1,\"icon-color\"],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}],\"iconColor\":[{\"assignColor\":0}]}]]],[\"cura-icons-view.cjs\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-tabs-button.cjs\",[[257,\"cura-tabs-button\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"counter\":[1538],\"selected\":[1540],\"disabled\":[1540],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-radio.cjs\",[[321,\"cura-radio\",{\"checked\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"background\":[1],\"size\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}]}]]],[\"cura-tabs-transparent.cjs\",[[257,\"cura-tabs-transparent\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-dropdown-search-not-found.cjs\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch.cjs\",[[321,\"cura-switch\",{\"checked\":[1540],\"disabled\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"size\":[513],\"background\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0}]}]]],[\"cura-badge-dot.cjs\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display.cjs\",[[257,\"cura-display\",{\"level\":[514],\"size\":[513],\"spotColor\":[1,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-loader-bar.cjs\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill.cjs\",[[257,\"cura-badge-pill\",{\"type\":[513],\"color\":[1],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"disabled\":[516],\"iconOnly\":[516,\"icon-only\"],\"borderRadius\":[513,\"border-radius\"],\"styles\":[32]},null,{\"color\":[{\"watchColorChange\":0}]}]]],[\"cura-progress-bar_2.cjs\",[[1,\"cura-stepper-item\",{\"displayHeading\":[516,\"display-heading\"],\"heading\":[513],\"label\":[513],\"status\":[513],\"styles\":[32]}],[257,\"cura-progress-bar\",{\"progressColor\":[513,\"progress-color\"],\"progress\":[514],\"size\":[514],\"strokeWidth\":[514,\"stroke-width\"],\"active\":[516]}]]],[\"cura-badge-counter.cjs\",[[1,\"cura-badge-counter\",{\"number\":[514],\"color\":[1],\"disabled\":[4],\"type\":[1],\"styles\":[32]},null,{\"disabled\":[{\"handleColorChange\":0}],\"color\":[{\"handleColorChange\":0}],\"type\":[{\"handleColorChange\":0}]}]]]]"), options);
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
exports.setNonce = index.setNonce;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ require('./static-DHz-FA_O.js');
|
|
|
9
9
|
const defineCustomElements = async (win, options) => {
|
|
10
10
|
if (typeof window === 'undefined') return undefined;
|
|
11
11
|
await appGlobals.globalScripts();
|
|
12
|
-
return index.bootstrapLazy(JSON.parse("[[\"cura-accordion_22.cjs\",[[257,\"cura-dropdown-search\",{\"name\":[513],\"size\":[513],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"placeholder\":[513],\"label\":[513],\"icon\":[513],\"maxheight\":[513],\"value\":[1025],\"searchdelay\":[514],\"searchminchars\":[514],\"styles\":[32],\"zoomState\":[32],\"isOnFocus\":[32],\"dropdownItems\":[32],\"setFocus\":[64],\"selectOption\":[64]}],[321,\"cura-button\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}],[257,\"cura-accordion-item\",{\"label\":[513],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"colorMode\":[1,\"color-mode\"],\"level\":[514],\"opened\":[1540],\"styles\":[32]}],[257,\"cura-tabs\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}],[1,\"cura-badge-distance\",{\"distance\":[2],\"label\":[513],\"styles\":[32],\"displayDistance\":[32]},null,{\"distance\":[{\"formatDistance\":0}]}],[257,\"cura-dropdown-search-category\"],[257,\"cura-accordion\",{\"color\":[513],\"colorMode\":[513,\"color-mode\"],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"behavior\":[513],\"level\":[514],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}]}],[1,\"cura-avatar\",{\"size\":[1],\"backgroundColor\":[513,\"background-color\"],\"borderColor\":[513,\"border-color\"],\"borderRadius\":[513,\"border-radius\"],\"border\":[516],\"type\":[513],\"imageSrc\":[1537,\"image-src\"],\"imageSrcDefault\":[513,\"image-src-default\"],\"floating\":[516],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}]}],[257,\"cura-card\",{\"hasPadding\":[1028,\"has-padding\"],\"hasShadow\":[1028,\"has-shadow\"],\"type\":[1025],\"colorMode\":[1025,\"color-mode\"],\"href\":[1537],\"target\":[513],\"styles\":[32]}],[257,\"cura-dropdown-search-option\",{\"value\":[1],\"optionid\":[1],\"selectable\":[516],\"selected\":[516],\"highlighted\":[516]}],[257,\"cura-page-template\",{\"contentwidth\":[513]}],[257,\"cura-tabs-group\",{\"gap\":[514],\"borderBottom\":[1540,\"border-bottom\"],\"colorMode\":[1537,\"color-mode\"],\"styles\":[32]},[[0,\"tabSelect\",\"handleTabSelect\"]]],[1,\"cura-calendar\",{\"isDisabled\":[516,\"is-disabled\"],\"period\":[513],\"width\":[513],\"minWidth\":[513,\"min-width\"],\"maxWidth\":[513,\"max-width\"],\"mode\":[513],\"dateFormat\":[1537,\"date-format\"],\"locale\":[513],\"type\":[513],\"disable\":[16],\"enable\":[16],\"defaultDate\":[1537,\"default-date\"],\"showToday\":[516,\"show-today\"],\"customDates\":[16],\"limitRange\":[514,\"limit-range\"],\"disablePassDates\":[1540,\"disable-pass-dates\"],\"disableFutureDates\":[1540,\"disable-future-dates\"],\"collapsed\":[1540],\"floating\":[1540],\"embedded\":[1540],\"selectLabelColorMode\":[1537,\"select-label-color-mode\"],\"selectedDates\":[32],\"rangeStart\":[32],\"defaultDates\":[32],\"currentDate\":[32],\"selectMonth\":[32],\"selectYear\":[32],\"styles\":[32]},null,{\"defaultDate\":[{\"initializeDefaultDates\":0},{\"handleDefaultDateChange\":0}],\"customDates\":[{\"watchDefaultDatesArray\":0}]}],[321,\"cura-input-text\",{\"mode\":[1537],\"status\":[1537],\"size\":[1537],\"type\":[513],\"inputMode\":[513,\"input-mode\"],\"label\":[513],\"name\":[513],\"placeholder\":[513],\"value\":[1544],\"iconName\":[1537,\"icon-name\"],\"helperText\":[1537,\"helper-text\"],\"disabled\":[516],\"required\":[516],\"maskPreset\":[8,\"mask-preset\"],\"enableSelectionMode\":[1540,\"enable-selection-mode\"],\"maskRegex\":[1537,\"mask-regex\"],\"maskAdvanced\":[1544,\"mask-advanced\"],\"maxlength\":[1538],\"readOnly\":[516,\"read-only\"],\"isLoading\":[1540,\"is-loading\"],\"clearIcon\":[1540,\"clear-icon\"],\"hideErrorIcon\":[4,\"hide-error-icon\"],\"autocomplete\":[513],\"isHovered\":[32],\"isFocused\":[32],\"styles\":[32],\"setFocus\":[64]},null,{\"styles\":[{\"connectedCallback\":0}],\"size\":[{\"getClasses\":0}],\"status\":[{\"renderIcon\":0}],\"mode\":[{\"renderIcon\":0}],\"maskPreset\":[{\"initializeMask\":0}],\"maskRegex\":[{\"initializeMask\":0}],\"maskAdvanced\":[{\"initializeMask\":0}]}],[321,\"cura-select\",{\"label\":[513],\"placeholder\":[513],\"value\":[1537],\"mode\":[513],\"size\":[513],\"iconName\":[1,\"icon-name\"],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"searchBehavior\":[516,\"search-behavior\"],\"caseSensitive\":[516,\"case-sensitive\"],\"maxHeight\":[513,\"max-height\"],\"isHovered\":[32],\"isFocused\":[32],\"isOpen\":[32],\"isPositioned\":[32],\"menuStyle\":[32],\"options\":[32],\"activeIndex\":[32],\"preferredPlacement\":[32],\"textInput\":[32]},null,{\"activeIndex\":[{\"updateOptionHighlights\":0}],\"textInput\":[{\"filterOptions\":0}],\"value\":[{\"handleValueChange\":0}]}],[257,\"cura-select-option\",{\"value\":[513],\"selected\":[516],\"active\":[516],\"size\":[1],\"styles\":[32]},null,{\"size\":[{\"getSize\":0}]}],[321,\"cura-button-transparent\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"hovered\":[32],\"styles\":[32]},null,{\"fontColor\":[{\"getSymbolColor\":0}],\"color\":[{\"getSymbolColor\":0}]}],[257,\"cura-paragraph\",{\"size\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[257,\"cura-heading\",{\"level\":[514],\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[1,\"cura-loader-circle\",{\"size\":[513],\"color\":[513]}],[1,\"cura-icon\",{\"name\":[513],\"color\":[1],\"size\":[8],\"iconset\":[513],\"disabled\":[4]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"colorHandler\":0}],\"disabled\":[{\"colorHandler\":0}]}],[257,\"cura-label\",{\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-input-date.cjs\",[[65,\"cura-input-date\",{\"label\":[513],\"status\":[1537],\"size\":[513],\"name\":[513],\"helperText\":[513,\"helper-text\"],\"enableRangeDates\":[516,\"enable-range-dates\"],\"disableFutureDates\":[516,\"disable-future-dates\"],\"disablePassDates\":[516,\"disable-pass-dates\"],\"iconName\":[513,\"icon-name\"],\"placeholder\":[513],\"calendarType\":[513,\"calendar-type\"],\"styles\":[32],\"isCalendarVisible\":[32],\"dates\":[32],\"value\":[32],\"dateSettings\":[32]},[[8,\"click\",\"handleClick\"]],{\"enableRangeDates\":[{\"updateDateSettings\":0}]}]]],[\"cura-stepper.cjs\",[[1,\"cura-stepper\",{\"activeStepIndex\":[514,\"active-step-index\"],\"errorInCurrentStep\":[516,\"error-in-current-step\"],\"displayHeading\":[516,\"display-heading\"],\"variant\":[513],\"steps\":[1],\"styles\":[32],\"stepList\":[32]}]]],[\"cura-tooltip.cjs\",[[257,\"cura-tooltip\",{\"elementId\":[1,\"element-id\"],\"interactive\":[4],\"delay\":[2],\"maxWidth\":[1,\"max-width\"],\"position\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"isMobile\":[32]},[[9,\"resize\",\"onWindowResize\"],[9,\"scroll\",\"onWindowScroll\"]]]]],[\"cura-modal.cjs\",[[257,\"cura-modal\",{\"open\":[1540],\"background\":[1],\"top\":[2],\"bottom\":[2],\"left\":[2],\"right\":[2],\"mobileCloseLabel\":[513,\"mobile-close-label\"],\"canClose\":[516,\"can-close\"],\"zindex\":[513],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"top\":[{\"setTop\":0}],\"bottom\":[{\"setBottom\":0}],\"left\":[{\"setLeft\":0}],\"right\":[{\"setRight\":0}]}]]],[\"cura-toast.cjs\",[[257,\"cura-toast\",{\"type\":[1],\"position\":[1],\"icon\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"loader\":[516],\"autoCloseDelay\":[514,\"auto-close-delay\"],\"styles\":[32],\"progress\":[32],\"close\":[64]},null,{\"type\":[{\"handleChangeType\":0}],\"position\":[{\"handleChangeType\":0}]}]]],[\"cura-alert.cjs\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline.cjs\",[[321,\"cura-button-outline\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[1],\"fontColor\":[1,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0},{\"getSymbolColor\":0}],\"fontColor\":[{\"getSymbolColor\":0}]}]]],[\"cura-button-select.cjs\",[[257,\"cura-button-select\",{\"selected\":[1540],\"iconName\":[1537,\"icon-name\"],\"size\":[513],\"counter\":[1538],\"disabled\":[516],\"background\":[1],\"color\":[1],\"iconPosition\":[513,\"icon-position\"],\"hovered\":[32],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}]]],[\"cura-checkbox.cjs\",[[321,\"cura-checkbox\",{\"checked\":[1540],\"indeterminate\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"size\":[513],\"background\":[1],\"iconColor\":[1,\"icon-color\"],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}],\"iconColor\":[{\"assignColor\":0}]}]]],[\"cura-icons-view.cjs\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-tabs-button.cjs\",[[257,\"cura-tabs-button\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"counter\":[1538],\"selected\":[1540],\"disabled\":[1540],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-radio.cjs\",[[321,\"cura-radio\",{\"checked\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"background\":[1],\"size\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}]}]]],[\"cura-tabs-transparent.cjs\",[[257,\"cura-tabs-transparent\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-dropdown-search-not-found.cjs\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch.cjs\",[[321,\"cura-switch\",{\"checked\":[1540],\"disabled\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"size\":[513],\"background\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0}]}]]],[\"cura-badge-dot.cjs\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display.cjs\",[[257,\"cura-display\",{\"level\":[514],\"size\":[513],\"spotColor\":[1,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-loader-bar.cjs\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill.cjs\",[[257,\"cura-badge-pill\",{\"type\":[513],\"color\":[1],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"disabled\":[516],\"iconOnly\":[516,\"icon-only\"],\"borderRadius\":[513,\"border-radius\"],\"styles\":[32]},null,{\"color\":[{\"watchColorChange\":0}]}]]],[\"cura-progress-bar_2.cjs\",[[1,\"cura-stepper-item\",{\"displayHeading\":[516,\"display-heading\"],\"heading\":[513],\"label\":[513],\"status\":[513],\"styles\":[32]}],[257,\"cura-progress-bar\",{\"progressColor\":[513,\"progress-color\"],\"progress\":[514],\"size\":[514],\"strokeWidth\":[514,\"stroke-width\"],\"active\":[516]}]]],[\"cura-badge-counter.cjs\",[[1,\"cura-badge-counter\",{\"number\":[514],\"color\":[1],\"disabled\":[4],\"type\":[1],\"styles\":[32]},null,{\"disabled\":[{\"handleColorChange\":0}],\"color\":[{\"handleColorChange\":0}],\"type\":[{\"handleColorChange\":0}]}]]]]"), options);
|
|
12
|
+
return index.bootstrapLazy(JSON.parse("[[\"cura-accordion_22.cjs\",[[257,\"cura-dropdown-search\",{\"name\":[513],\"size\":[513],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"placeholder\":[513],\"label\":[513],\"icon\":[513],\"maxheight\":[513],\"value\":[1025],\"searchdelay\":[514],\"searchminchars\":[514],\"styles\":[32],\"zoomState\":[32],\"isOnFocus\":[32],\"dropdownItems\":[32],\"setFocus\":[64],\"selectOption\":[64]}],[321,\"cura-button\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}],[257,\"cura-accordion-item\",{\"label\":[513],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"colorMode\":[1,\"color-mode\"],\"level\":[514],\"opened\":[1540],\"styles\":[32]}],[257,\"cura-tabs\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}],[1,\"cura-badge-distance\",{\"distance\":[2],\"label\":[513],\"styles\":[32],\"displayDistance\":[32]},null,{\"distance\":[{\"formatDistance\":0}]}],[257,\"cura-dropdown-search-category\"],[257,\"cura-accordion\",{\"color\":[513],\"colorMode\":[513,\"color-mode\"],\"iconSize\":[514,\"icon-size\"],\"labelIcon\":[513,\"label-icon\"],\"openIcon\":[513,\"open-icon\"],\"closeIcon\":[513,\"close-icon\"],\"iconColor\":[513,\"icon-color\"],\"behavior\":[513],\"level\":[514],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}]}],[1,\"cura-avatar\",{\"size\":[1],\"backgroundColor\":[513,\"background-color\"],\"borderColor\":[513,\"border-color\"],\"borderRadius\":[513,\"border-radius\"],\"border\":[516],\"type\":[513],\"imageSrc\":[1537,\"image-src\"],\"imageSrcDefault\":[513,\"image-src-default\"],\"floating\":[516],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}]}],[257,\"cura-card\",{\"hasPadding\":[1028,\"has-padding\"],\"hasShadow\":[1028,\"has-shadow\"],\"type\":[1025],\"colorMode\":[1025,\"color-mode\"],\"href\":[1537],\"target\":[513],\"styles\":[32]}],[257,\"cura-dropdown-search-option\",{\"value\":[1],\"optionid\":[1],\"selectable\":[516],\"selected\":[516],\"highlighted\":[516]}],[257,\"cura-page-template\",{\"contentwidth\":[513]}],[257,\"cura-tabs-group\",{\"gap\":[514],\"borderBottom\":[1540,\"border-bottom\"],\"colorMode\":[1537,\"color-mode\"],\"styles\":[32]},[[0,\"tabSelect\",\"handleTabSelect\"]]],[257,\"cura-calendar\",{\"isDisabled\":[516,\"is-disabled\"],\"isLoading\":[516,\"is-loading\"],\"period\":[513],\"width\":[513],\"minWidth\":[513,\"min-width\"],\"maxWidth\":[513,\"max-width\"],\"mode\":[513],\"dateFormat\":[1537,\"date-format\"],\"locale\":[513],\"type\":[513],\"disable\":[16],\"enable\":[16],\"defaultDate\":[1537,\"default-date\"],\"showToday\":[516,\"show-today\"],\"customDates\":[16],\"limitRange\":[514,\"limit-range\"],\"disablePassDates\":[1540,\"disable-pass-dates\"],\"disableFutureDates\":[1540,\"disable-future-dates\"],\"collapsed\":[1540],\"floating\":[1540],\"embedded\":[1540],\"selectLabelColorMode\":[1537,\"select-label-color-mode\"],\"selectedDates\":[32],\"rangeStart\":[32],\"defaultDates\":[32],\"currentDate\":[32],\"selectMonth\":[32],\"selectYear\":[32],\"styles\":[32]},null,{\"defaultDate\":[{\"initializeDefaultDates\":0},{\"handleDefaultDateChange\":0}],\"customDates\":[{\"watchDefaultDatesArray\":0}],\"currentDate\":[{\"watchDatesInViewChange\":0}],\"collapsed\":[{\"watchCollapse\":0}]}],[321,\"cura-input-text\",{\"mode\":[1537],\"status\":[1537],\"size\":[1537],\"type\":[513],\"inputMode\":[513,\"input-mode\"],\"label\":[513],\"name\":[513],\"placeholder\":[513],\"value\":[1544],\"iconName\":[1537,\"icon-name\"],\"helperText\":[1537,\"helper-text\"],\"disabled\":[516],\"required\":[516],\"maskPreset\":[8,\"mask-preset\"],\"enableSelectionMode\":[1540,\"enable-selection-mode\"],\"maskRegex\":[1537,\"mask-regex\"],\"maskAdvanced\":[1544,\"mask-advanced\"],\"maxlength\":[1538],\"readOnly\":[516,\"read-only\"],\"isLoading\":[1540,\"is-loading\"],\"clearIcon\":[1540,\"clear-icon\"],\"hideErrorIcon\":[4,\"hide-error-icon\"],\"autocomplete\":[513],\"isHovered\":[32],\"isFocused\":[32],\"styles\":[32],\"setFocus\":[64]},null,{\"styles\":[{\"connectedCallback\":0}],\"size\":[{\"getClasses\":0}],\"status\":[{\"renderIcon\":0}],\"mode\":[{\"renderIcon\":0}],\"maskPreset\":[{\"initializeMask\":0}],\"maskRegex\":[{\"initializeMask\":0}],\"maskAdvanced\":[{\"initializeMask\":0}]}],[321,\"cura-select\",{\"label\":[513],\"placeholder\":[513],\"value\":[1537],\"mode\":[513],\"size\":[513],\"iconName\":[1,\"icon-name\"],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"searchBehavior\":[516,\"search-behavior\"],\"caseSensitive\":[516,\"case-sensitive\"],\"maxHeight\":[513,\"max-height\"],\"isHovered\":[32],\"isFocused\":[32],\"isOpen\":[32],\"isPositioned\":[32],\"menuStyle\":[32],\"options\":[32],\"activeIndex\":[32],\"preferredPlacement\":[32],\"textInput\":[32]},null,{\"activeIndex\":[{\"updateOptionHighlights\":0}],\"textInput\":[{\"filterOptions\":0}],\"value\":[{\"handleValueChange\":0}]}],[257,\"cura-select-option\",{\"value\":[513],\"selected\":[516],\"active\":[516],\"size\":[1],\"styles\":[32]},null,{\"size\":[{\"getSize\":0}]}],[321,\"cura-button-transparent\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[513],\"fontColor\":[513,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"hovered\":[32],\"styles\":[32]},null,{\"fontColor\":[{\"getSymbolColor\":0}],\"color\":[{\"getSymbolColor\":0}]}],[257,\"cura-paragraph\",{\"size\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[257,\"cura-heading\",{\"level\":[514],\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[513],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]}],[1,\"cura-loader-circle\",{\"size\":[513],\"color\":[513]}],[1,\"cura-icon\",{\"name\":[513],\"color\":[1],\"size\":[8],\"iconset\":[513],\"disabled\":[4]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"colorHandler\":0}],\"disabled\":[{\"colorHandler\":0}]}],[257,\"cura-label\",{\"size\":[513],\"weight\":[513],\"spotColor\":[513,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"textOverflow\":[513,\"text-overflow\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-input-date.cjs\",[[65,\"cura-input-date\",{\"label\":[513],\"status\":[1537],\"size\":[513],\"name\":[513],\"helperText\":[513,\"helper-text\"],\"enableRangeDates\":[516,\"enable-range-dates\"],\"disableFutureDates\":[516,\"disable-future-dates\"],\"disablePassDates\":[516,\"disable-pass-dates\"],\"iconName\":[513,\"icon-name\"],\"placeholder\":[513],\"calendarType\":[513,\"calendar-type\"],\"styles\":[32],\"isCalendarVisible\":[32],\"dates\":[32],\"value\":[32],\"dateSettings\":[32]},[[8,\"click\",\"handleClick\"]],{\"enableRangeDates\":[{\"updateDateSettings\":0}]}]]],[\"cura-stepper.cjs\",[[1,\"cura-stepper\",{\"activeStepIndex\":[514,\"active-step-index\"],\"errorInCurrentStep\":[516,\"error-in-current-step\"],\"displayHeading\":[516,\"display-heading\"],\"variant\":[513],\"steps\":[1],\"styles\":[32],\"stepList\":[32]}]]],[\"cura-tooltip.cjs\",[[257,\"cura-tooltip\",{\"elementId\":[1,\"element-id\"],\"interactive\":[4],\"delay\":[2],\"maxWidth\":[1,\"max-width\"],\"position\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"isMobile\":[32]},[[9,\"resize\",\"onWindowResize\"],[9,\"scroll\",\"onWindowScroll\"]]]]],[\"cura-modal.cjs\",[[257,\"cura-modal\",{\"open\":[1540],\"background\":[1],\"top\":[2],\"bottom\":[2],\"left\":[2],\"right\":[2],\"mobileCloseLabel\":[513,\"mobile-close-label\"],\"canClose\":[516,\"can-close\"],\"zindex\":[513],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"top\":[{\"setTop\":0}],\"bottom\":[{\"setBottom\":0}],\"left\":[{\"setLeft\":0}],\"right\":[{\"setRight\":0}]}]]],[\"cura-toast.cjs\",[[257,\"cura-toast\",{\"type\":[1],\"position\":[1],\"icon\":[513],\"label\":[513],\"closeButton\":[516,\"close-button\"],\"loader\":[516],\"autoCloseDelay\":[514,\"auto-close-delay\"],\"styles\":[32],\"progress\":[32],\"close\":[64]},null,{\"type\":[{\"handleChangeType\":0}],\"position\":[{\"handleChangeType\":0}]}]]],[\"cura-alert.cjs\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline.cjs\",[[321,\"cura-button-outline\",{\"type\":[513],\"size\":[513],\"disabled\":[516],\"isLoading\":[516,\"is-loading\"],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconOnly\":[516,\"icon-only\"],\"href\":[513],\"target\":[513],\"color\":[1],\"background\":[1],\"fontColor\":[1,\"font-color\"],\"textAlign\":[513,\"text-align\"],\"justify\":[516],\"styles\":[32],\"hovered\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0},{\"getSymbolColor\":0}],\"fontColor\":[{\"getSymbolColor\":0}]}]]],[\"cura-button-select.cjs\",[[257,\"cura-button-select\",{\"selected\":[1540],\"iconName\":[1537,\"icon-name\"],\"size\":[513],\"counter\":[1538],\"disabled\":[516],\"background\":[1],\"color\":[1],\"iconPosition\":[513,\"icon-position\"],\"hovered\":[32],\"styles\":[32]},null,{\"background\":[{\"setColors\":0}],\"color\":[{\"setColors\":0}]}]]],[\"cura-checkbox.cjs\",[[321,\"cura-checkbox\",{\"checked\":[1540],\"indeterminate\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"size\":[513],\"background\":[1],\"iconColor\":[1,\"icon-color\"],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}],\"iconColor\":[{\"assignColor\":0}]}]]],[\"cura-icons-view.cjs\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-tabs-button.cjs\",[[257,\"cura-tabs-button\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"counter\":[1538],\"selected\":[1540],\"disabled\":[1540],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-radio.cjs\",[[321,\"cura-radio\",{\"checked\":[1540],\"status\":[1537],\"disabled\":[516],\"required\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"value\":[513],\"name\":[513],\"background\":[1],\"size\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0},{\"assignColor\":0}]}]]],[\"cura-tabs-transparent.cjs\",[[257,\"cura-tabs-transparent\",{\"name\":[513],\"iconName\":[513,\"icon-name\"],\"selected\":[1540],\"disabled\":[1540],\"borderBottom\":[1540,\"border-bottom\"],\"size\":[513],\"colorMode\":[1537,\"color-mode\"],\"hovered\":[32],\"styles\":[32]},null,{\"colorMode\":[{\"setColors\":0}]}]]],[\"cura-dropdown-search-not-found.cjs\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch.cjs\",[[321,\"cura-switch\",{\"checked\":[1540],\"disabled\":[516],\"label\":[513],\"ontabindex\":[514],\"position\":[513],\"size\":[513],\"background\":[1],\"color\":[1],\"overflowLabel\":[513,\"overflow-label\"],\"overflowHelper\":[513,\"overflow-helper\"],\"styles\":[32]},null,{\"size\":[{\"sizeHandler\":0}],\"color\":[{\"setColors\":0}],\"background\":[{\"setColors\":0}]}]]],[\"cura-badge-dot.cjs\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display.cjs\",[[257,\"cura-display\",{\"level\":[514],\"size\":[513],\"spotColor\":[1,\"spot-color\"],\"color\":[1],\"marginBlock\":[513,\"margin-block\"],\"lineHeight\":[513,\"line-height\"],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"spotColor\":[{\"handleChangeColor\":0}]}]]],[\"cura-loader-bar.cjs\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill.cjs\",[[257,\"cura-badge-pill\",{\"type\":[513],\"color\":[1],\"iconName\":[513,\"icon-name\"],\"iconset\":[513],\"disabled\":[516],\"iconOnly\":[516,\"icon-only\"],\"borderRadius\":[513,\"border-radius\"],\"styles\":[32]},null,{\"color\":[{\"watchColorChange\":0}]}]]],[\"cura-progress-bar_2.cjs\",[[1,\"cura-stepper-item\",{\"displayHeading\":[516,\"display-heading\"],\"heading\":[513],\"label\":[513],\"status\":[513],\"styles\":[32]}],[257,\"cura-progress-bar\",{\"progressColor\":[513,\"progress-color\"],\"progress\":[514],\"size\":[514],\"strokeWidth\":[514,\"stroke-width\"],\"active\":[516]}]]],[\"cura-badge-counter.cjs\",[[1,\"cura-badge-counter\",{\"number\":[514],\"color\":[1],\"disabled\":[4],\"type\":[1],\"styles\":[32]},null,{\"disabled\":[{\"handleColorChange\":0}],\"color\":[{\"handleColorChange\":0}],\"type\":[{\"handleColorChange\":0}]}]]]]"), options);
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
exports.setNonce = index.setNonce;
|
|
@@ -43,8 +43,9 @@
|
|
|
43
43
|
max-width: var(--max-width);
|
|
44
44
|
border-radius: 4px;
|
|
45
45
|
overflow: hidden;
|
|
46
|
-
background:
|
|
46
|
+
background: var(--color-neutral-purewhite);
|
|
47
47
|
font-family: var(--font-family);
|
|
48
|
+
position: relative;
|
|
48
49
|
}
|
|
49
50
|
:host .calendar.embedded {
|
|
50
51
|
border: 2px solid var(--neutral-light);
|
|
@@ -266,4 +267,15 @@
|
|
|
266
267
|
:host .--disabled .valid {
|
|
267
268
|
color: var(--neutral-dark);
|
|
268
269
|
font-weight: initial;
|
|
270
|
+
}
|
|
271
|
+
:host .loading-container {
|
|
272
|
+
align-items: center;
|
|
273
|
+
background-color: var(--color-neutral-purewhite);
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: column;
|
|
276
|
+
gap: 12px;
|
|
277
|
+
height: 100%;
|
|
278
|
+
justify-content: center;
|
|
279
|
+
position: absolute;
|
|
280
|
+
width: calc(100% - 12px);
|
|
269
281
|
}
|
|
@@ -4,6 +4,7 @@ import enAU from "date-fns/locale/en-AU";
|
|
|
4
4
|
import ptBR from "date-fns/locale/pt-BR";
|
|
5
5
|
export class CuraCalendar {
|
|
6
6
|
constructor() {
|
|
7
|
+
this.isMounted = false;
|
|
7
8
|
/**
|
|
8
9
|
* Disable component
|
|
9
10
|
*
|
|
@@ -11,6 +12,13 @@ export class CuraCalendar {
|
|
|
11
12
|
* @default false
|
|
12
13
|
*/
|
|
13
14
|
this.isDisabled = false;
|
|
15
|
+
/**
|
|
16
|
+
* Loading state
|
|
17
|
+
*
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
this.isLoading = false;
|
|
14
22
|
/**
|
|
15
23
|
* An array of specific dates to be highlighted or processed.
|
|
16
24
|
*
|
|
@@ -367,7 +375,7 @@ export class CuraCalendar {
|
|
|
367
375
|
* @returns {Date[]} An array of individual dates.
|
|
368
376
|
*/
|
|
369
377
|
expandDateRanges(dates) {
|
|
370
|
-
if (!dates)
|
|
378
|
+
if (!dates || !Array.isArray(dates))
|
|
371
379
|
return [];
|
|
372
380
|
return dates.flatMap(date => {
|
|
373
381
|
if (typeof date === 'string')
|
|
@@ -610,7 +618,15 @@ export class CuraCalendar {
|
|
|
610
618
|
'--width': this.width,
|
|
611
619
|
'--min-width': this.minWidth,
|
|
612
620
|
'--max-width': this.maxWidth,
|
|
621
|
+
'--color-neutral-purewhite': window.CuraAPI.theme.colors.getColor(`neutral-purewhite`)
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
sendEventChangeDateInView(isCollapsed) {
|
|
625
|
+
const eventData = {
|
|
626
|
+
datesInView: isCollapsed ? this.fetchDaysOfWeek() : this.fetchDaysOfMonth(),
|
|
627
|
+
monthDays: this.fetchDaysOfMonth()
|
|
613
628
|
};
|
|
629
|
+
this.changeDateInView.emit(eventData);
|
|
614
630
|
}
|
|
615
631
|
watchDefaultDatesArray() {
|
|
616
632
|
this.selectedDates = this.customDates;
|
|
@@ -628,11 +644,23 @@ export class CuraCalendar {
|
|
|
628
644
|
}
|
|
629
645
|
this.defaultDates = this.expandDateRanges(newValue);
|
|
630
646
|
}
|
|
647
|
+
watchDatesInViewChange() {
|
|
648
|
+
if (!this.isMounted) {
|
|
649
|
+
return;
|
|
650
|
+
}
|
|
651
|
+
this.sendEventChangeDateInView(Boolean(this.collapsed));
|
|
652
|
+
}
|
|
653
|
+
watchCollapse(isCollapsed) {
|
|
654
|
+
this.sendEventChangeDateInView(isCollapsed);
|
|
655
|
+
}
|
|
656
|
+
componentDidLoad() {
|
|
657
|
+
this.isMounted = true;
|
|
658
|
+
}
|
|
631
659
|
render() {
|
|
632
660
|
const { months } = this.fetchMonthNames();
|
|
633
|
-
return (h(Host, { key: '
|
|
661
|
+
return (h(Host, { key: '9667bc4f47b6581724dcc658ce322b375622906a', style: this.getHostCSSProperties() }, h("div", { key: '231bc0e3890949e6696338e386a3db4e9744c5b6', class: `calendar ${this.floating ? 'floating' : ''} ${this.embedded ? 'embedded' : ''} ${this.getDisabledClassModifier()}`, style: this.styles }, h("header", { key: '88357e185b812e45d4632aa20759cf078e51af19', class: "header" }, h("div", { key: '93cf9ecfbce8772e64cdad26090119257f47b77b', class: `month-year ${this.type === 'dropdown' && 'dropdown'}` }, h("cura-icon", { key: 'c188f28ca53ffb79ad9d13b1ef7b19ab6d26b10d', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "left", disabled: this.isDisabled, color: this.determinePrevButtonColor(), onClick: this.handlePrevMonth }), this.type === 'dropdown' ? (h("div", { class: "select" }, h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-month", mode: "transparent", value: months[getMonth(this.currentDate)], onSelected: e => this.onMonthDropdownChange(e) }, months.map((month, index) => (h("cura-select-option", { size: "xsmall", key: index, value: month }, month)))), h("cura-select", { disabled: this.isDisabled, size: "small", class: "drop-year", mode: "transparent", value: getYear(this.currentDate).toString(), onSelected: e => this.onYearDropdownChange(e) }, this.fetchYearList().map((year, index) => (h("cura-select-option", { key: index, value: year.toString() }, year.toString())))))) : (h("cura-label", { color: !this.isDisabled ? 'neutral-black' : 'neutral-dark', size: "small" }, months[getMonth(this.currentDate)].slice(0, 3), ", ", getYear(this.currentDate))), h("cura-icon", { key: 'c890a280637b8c50d2b8cb8ac1ab9a685d742cc3', class: `icon ${this.type === 'dropdown' && 'dropdown'}`, name: "right", disabled: this.isDisabled, color: "primary-base", onClick: this.handleNextMonth }))), h("span", { key: 'fac87075df8335c9ad1464a5dc6caebfbd79cf38', class: "days-of-week" }, this.fetchWeekDays().map(this.renderItemWeekDays)), h("div", { key: 'e3d08f781cb7765f2c74e88ebd040d8dd28e7e9f', class: "dates" }, !this.collapsed
|
|
634
662
|
? this.fetchDaysOfMonth().map((day, index) => (h("div", { key: index, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))
|
|
635
|
-
: this.fetchDaysOfWeek().map((day, index) => (h("div", { key: index, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))), this.collapsed !== null ? (this.collapsed ? (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { disabled: this.isDisabled, onClick: () => this.showNotColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "plusCircle" }, "Veja mais datas"))) : (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { onClick: () => this.showColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "minusCircle" }, "Veja menos datas")))) : null)));
|
|
663
|
+
: this.fetchDaysOfWeek().map((day, index) => (h("div", { key: index, class: this.getClasses(day), onClick: () => this.onDateClick(day) }, day ? format(day, 'd') : '')))), this.collapsed !== null ? (this.collapsed ? (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { disabled: this.isDisabled, onClick: () => this.showNotColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "plusCircle" }, "Veja mais datas"))) : (h("div", { class: "collapsed-container" }, h("cura-button-transparent", { onClick: () => this.showColapsedCalendar(), size: "small", color: "primary", fontColor: "dark", iconName: "minusCircle" }, "Veja menos datas")))) : null, this.isLoading && (h("div", { key: '91af6d390271d126ad380f26a2018e5e06c0f762', class: "loading-container" }, h("cura-loader-circle", { key: '032105471ed76a221fbbc50eac62d52250328d57', color: "primary", size: "large" }), h("slot", { key: '2cb6ce4b2cffc2d4ec704f4ba8fb746d59c1b0a0', name: "loadingMessage" }))))));
|
|
636
664
|
}
|
|
637
665
|
static get is() { return "cura-calendar"; }
|
|
638
666
|
static get encapsulation() { return "shadow"; }
|
|
@@ -674,6 +702,32 @@ export class CuraCalendar {
|
|
|
674
702
|
"attribute": "is-disabled",
|
|
675
703
|
"defaultValue": "false"
|
|
676
704
|
},
|
|
705
|
+
"isLoading": {
|
|
706
|
+
"type": "boolean",
|
|
707
|
+
"mutable": false,
|
|
708
|
+
"complexType": {
|
|
709
|
+
"original": "boolean",
|
|
710
|
+
"resolved": "boolean",
|
|
711
|
+
"references": {}
|
|
712
|
+
},
|
|
713
|
+
"required": false,
|
|
714
|
+
"optional": false,
|
|
715
|
+
"docs": {
|
|
716
|
+
"tags": [{
|
|
717
|
+
"name": "type",
|
|
718
|
+
"text": "{boolean}"
|
|
719
|
+
}, {
|
|
720
|
+
"name": "default",
|
|
721
|
+
"text": "false"
|
|
722
|
+
}],
|
|
723
|
+
"text": "Loading state"
|
|
724
|
+
},
|
|
725
|
+
"getter": false,
|
|
726
|
+
"setter": false,
|
|
727
|
+
"reflect": true,
|
|
728
|
+
"attribute": "is-loading",
|
|
729
|
+
"defaultValue": "false"
|
|
730
|
+
},
|
|
677
731
|
"period": {
|
|
678
732
|
"type": "string",
|
|
679
733
|
"mutable": false,
|
|
@@ -1199,6 +1253,34 @@ export class CuraCalendar {
|
|
|
1199
1253
|
}
|
|
1200
1254
|
}
|
|
1201
1255
|
}
|
|
1256
|
+
}, {
|
|
1257
|
+
"method": "changeDateInView",
|
|
1258
|
+
"name": "changeDateInView",
|
|
1259
|
+
"bubbles": true,
|
|
1260
|
+
"cancelable": true,
|
|
1261
|
+
"composed": true,
|
|
1262
|
+
"docs": {
|
|
1263
|
+
"tags": [{
|
|
1264
|
+
"name": "event",
|
|
1265
|
+
"text": undefined
|
|
1266
|
+
}, {
|
|
1267
|
+
"name": "type",
|
|
1268
|
+
"text": "{EventEmitter<ChangeDateInViewEvent>}"
|
|
1269
|
+
}],
|
|
1270
|
+
"text": "Event emitted when dates displayed changes"
|
|
1271
|
+
},
|
|
1272
|
+
"complexType": {
|
|
1273
|
+
"original": "ChangeDateInViewEvent",
|
|
1274
|
+
"resolved": "ChangeDateInViewEvent",
|
|
1275
|
+
"references": {
|
|
1276
|
+
"ChangeDateInViewEvent": {
|
|
1277
|
+
"location": "import",
|
|
1278
|
+
"path": "./cura-calendar.type",
|
|
1279
|
+
"id": "src/components/cura-calendar/cura-calendar.type.ts::ChangeDateInViewEvent",
|
|
1280
|
+
"referenceLocation": "ChangeDateInViewEvent"
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1202
1284
|
}];
|
|
1203
1285
|
}
|
|
1204
1286
|
static get watchers() {
|
|
@@ -1211,6 +1293,12 @@ export class CuraCalendar {
|
|
|
1211
1293
|
}, {
|
|
1212
1294
|
"propName": "defaultDate",
|
|
1213
1295
|
"methodName": "handleDefaultDateChange"
|
|
1296
|
+
}, {
|
|
1297
|
+
"propName": "currentDate",
|
|
1298
|
+
"methodName": "watchDatesInViewChange"
|
|
1299
|
+
}, {
|
|
1300
|
+
"propName": "collapsed",
|
|
1301
|
+
"methodName": "watchCollapse"
|
|
1214
1302
|
}];
|
|
1215
1303
|
}
|
|
1216
1304
|
}
|
|
@@ -2,6 +2,7 @@ const renderCuraCalendar = (args) => {
|
|
|
2
2
|
return `
|
|
3
3
|
<cura-calendar
|
|
4
4
|
${args.isDisabled && `is-disabled="${args.isDisabled}"`}
|
|
5
|
+
${args.isLoading && `is-loading="${args.isLoading}"`}
|
|
5
6
|
${args.period && `period="${args.period}"`}
|
|
6
7
|
${args.width && `width="${args.width}"`}
|
|
7
8
|
${args.maxWidth && `max-width="${args.maxWidth}"`}
|
|
@@ -21,7 +22,9 @@ const renderCuraCalendar = (args) => {
|
|
|
21
22
|
${args.embedded && `embedded="${args.embedded}"`}
|
|
22
23
|
${args.limitRange !== null ? `limit-range="${args.limitRange}"` : ''}
|
|
23
24
|
${args.selectLabelColorMode && `select-label-color-mode="${args.selectLabelColorMode}"`}
|
|
24
|
-
|
|
25
|
+
>
|
|
26
|
+
<span slot="loadingMessage">${args.loadingMessage}</span>
|
|
27
|
+
</cura-calendar>
|
|
25
28
|
`;
|
|
26
29
|
};
|
|
27
30
|
export default {
|
|
@@ -42,6 +45,14 @@ export default {
|
|
|
42
45
|
defaultValue: { summary: false },
|
|
43
46
|
},
|
|
44
47
|
},
|
|
48
|
+
isLoading: {
|
|
49
|
+
control: 'boolean',
|
|
50
|
+
description: 'Define o estado carregando do componente ',
|
|
51
|
+
table: {
|
|
52
|
+
category: 'Properties',
|
|
53
|
+
defaultValue: { summary: false },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
45
56
|
period: {
|
|
46
57
|
control: 'array',
|
|
47
58
|
description: 'Define os períodos disponíveis para o calendário. Quando não informado, considera todas as datas como habilitadas',
|
|
@@ -198,11 +209,27 @@ export default {
|
|
|
198
209
|
defaultValue: { summary: 'light' },
|
|
199
210
|
},
|
|
200
211
|
},
|
|
212
|
+
loadingMessage: {
|
|
213
|
+
control: 'text',
|
|
214
|
+
description: 'Mensagem para o estado de carregando',
|
|
215
|
+
table: {
|
|
216
|
+
category: 'Slots',
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
changeDateInView: {
|
|
220
|
+
control: 'none',
|
|
221
|
+
description: 'Evento disparado quando as datas exibidas alteram: `{datesInView: Date[], monthDays: Date[]}`',
|
|
222
|
+
table: {
|
|
223
|
+
category: 'Events',
|
|
224
|
+
defaultValue: { summary: null },
|
|
225
|
+
}
|
|
226
|
+
}
|
|
201
227
|
},
|
|
202
228
|
};
|
|
203
229
|
export const Calendar = {
|
|
204
230
|
args: {
|
|
205
231
|
isDisabled: false,
|
|
232
|
+
isLoading: false,
|
|
206
233
|
period: [
|
|
207
234
|
'2024-08-01',
|
|
208
235
|
'2024-08-30',
|
|
@@ -238,5 +265,6 @@ export const Calendar = {
|
|
|
238
265
|
floating: true,
|
|
239
266
|
embedded: true,
|
|
240
267
|
selectLabelColorMode: 'light',
|
|
268
|
+
loadingMessage: 'Carregando...'
|
|
241
269
|
},
|
|
242
270
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -63,7 +63,7 @@ export class CuraCard {
|
|
|
63
63
|
return classes;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '73f399ec63b8a0933a22c4a6d605dbb4bc8bf2c3', role: this.href ? 'link' : 'div' }, this.href ? (h("a", { class: this.getClasses(), target: this.target, style: this.styles, href: this.href }, h("slot", null))) : (h("div", { class: this.getClasses(), style: this.styles }, h("slot", null)))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "cura-card"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class CuraDropdownSearchCategory {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'd80c4ebc3e7edee04eb7e3b405cc11ea1cb65111' }, h("div", { key: 'af087ac20e0e2075acb87b64573734e16bdd7b62', class: "component-container", style: this.styles }, h("cura-heading", { key: 'f48f5ca2cd5fdb7b2862ae20e51b3963461db945', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, h("slot", { key: '13030d0abe5ac052fa3c3a7e04694ecfd7a3ab23' })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "cura-dropdown-search-category"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class CuraDropdownSearchNotFound {
|
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '6b57806eb3a2c3be73c76876bfce0062e36a97fa' }, h("div", { key: '5a294ef5d53177d439816d881a8d5c90b60b621e', class: "component-container", onClick: this.handleClick }, h("cura-heading", { key: 'ff92297c1261d69ef9fa8c2b9cdbfee6365b08f2', size: "xsmall", weight: "bold", color: "error-dark" }, h("slot", { key: 'b84f981ba0cff218b5bf0c94a014c83daaa184ac' })))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "cura-dropdown-search-not-found"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,7 +52,7 @@ export class CuraDropdownSearchOption {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'e01c513f3c2cf8ad1b4b118f2b59d5228a052112' }, h("div", { key: 'b59ae795fc8905929ed91fc2e18e465b0d1632f0', class: this.getClasses(), style: this.styles }, h("div", { key: 'f3d163ac57e5c6cbc15f4b7d822273afa1279816', class: "selectable-container", onClick: () => this.handleSelect() }, h("slot", { key: 'ed9427e3251354825ee9652f653f9597ccf79383', name: 'image' }), h("div", { key: 'a78dcf1bfd71e42542b9f7bdb7fb43e3acc628ba', class: "content" }, h("slot", { key: '7ad2f91f434cf69b5f45674e887d29fe4188cd9e' }))), h("div", { key: '7f9cac5875885a80505b7455de49c090aca7848c', class: "actions-container", onClick: () => this.handleActionsClick() }, h("slot", { key: '12496150bea58f08dc7c5a868d866f67903e545c', name: 'actions' })))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "cura-dropdown-search-option"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -331,7 +331,7 @@ export class CuraDropdownSearch {
|
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
333
|
render() {
|
|
334
|
-
return (h(Host, { key: '
|
|
334
|
+
return (h(Host, { key: '4eebe0e03eb20a9c056158e9bb7dafad6c5d7e36', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, h("div", { key: 'c74a9785e747c23f853beabce244d9d79be963f6', class: this.getClasses(), style: this.styles }, h("div", { key: '8e0e1b8ad5929f7a65d970da37af8da526ea1ec6', class: "component-controls" }, this.isMobile && this.zoomState ? (h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', h("cura-input-text", { key: 'd6b1e0284f7f8bbd0293ca8c7e11de7e4d390729', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, h("slot", { key: '3626dc325181c193081af56996804453c9dee9f5', name: "helperText" }))), h("div", { key: 'c0b979983b567e35a15e756d24cecf0a0102e2bc', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, h("slot", { key: '56fc0ae14345c88eaf214a12f6ebf545fc040aea', onSlotchange: () => this.handleSlotChange() })))));
|
|
335
335
|
}
|
|
336
336
|
static get is() { return "cura-dropdown-search"; }
|
|
337
337
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,7 +26,7 @@ export class CuraIcon {
|
|
|
26
26
|
this.host.style.setProperty(prop, value);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'b383f07f146a8f4760317a8bfc42a16c06f8d323', role: "img" }, h("svg", { key: 'd1d3e98cd7afbf729989463a123030b95ea84221', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { key: 'bb6c8175923161b9d603a969bc1a7ca651e19256', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "cura-icon"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class CuraIconsView {
|
|
|
14
14
|
this.sizes.unshift(this.sizes.pop());
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'f25d10b3f380cc58fd5b4e77b437e09ba0787df4' }, h("div", { key: '5162f1c8aff585a60f37ef9af8451dae8b310394', class: "iconDetail" }, h("cura-heading", { key: '2e95f88bf98bcb3b5ea8b2ce6b015ef5d3c984e5', size: "small", "margin-block": "0 24px" }, "Icon: ", h("b", { key: '102d867291ca3af92c370f044a7140571b15c737' }, this.selected)), h("div", { key: 'e2fd0833644705ea8b406508be51c6d2d5683d24', class: "iconSizes" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size }), h("span", null, size)))), h("div", { key: 'fa842318750f3cdb5e5d7f7333c9221aaf66b585', class: "iconSizes invert" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size, color: "neutral-white" }), h("span", null, size))))), h("div", { key: 'a25fd5649fe3bda93f80208e634790da44dde89b', class: "icons" }, iconsetdefaulticons.map(icon => h("div", { class: { icon: true, selected: icon === this.selected }, onClick: () => this.setSelected(icon) }, h("cura-icon", { name: icon, size: "32", color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }), h("cura-label", { size: "xsmall", weight: icon === this.selected ? 'bold' : 'regular', color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }, icon))))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "cura-icons-view"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,7 +99,7 @@ export class CuraModal {
|
|
|
99
99
|
window.addEventListener('keydown', this.handleCloseOnEsc);
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'add6ff0d9e7596282547b9632a10d6b36ce2dd77', role: "dialog", "aria-modal": "true", style: { '--zIndex': this.zindex } }, h("div", { key: '0ea813bd986b4cb0e87f31511d600bc88f922d66', class: this.open ? 'modal container open' : 'modal container', style: this.styles }, h("div", { key: '90ace6e14ed40371839a784d82c4370cff9c8bc2', class: this.open ? 'modal backdrop open' : 'modal backdrop', onClick: this.canClose ? this.handleClose : undefined }), h("div", { key: '1593d59bed08050004b638379194f331518e93ad', class: "wrapper" }, this.canClose && (h("div", { key: '348678020334e6f60794e9a22c9aa570deb32411', class: "close desktop" }, h("cura-button-transparent", { key: 'bcaed0130dfe074cf23a244a71138243362c6706', iconName: "close", color: "error", size: "small", onClick: this.handleClose, iconOnly: true }))), h("slot", { key: 'e34ea51fa11116b235911b7303b7d2f2a70dabd7' }), this.canClose && (h("div", { key: 'a262c02432b56a149773e601f14dadc05d09e64f', class: "close mobile", onClick: this.handleClose }, h("cura-button-transparent", { key: 'c72a85bc5a3c121829bfe6e509523811ca36e317', color: "error", iconName: "close", size: "small" }, this.mobileCloseLabel)))))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "cura-modal"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class CuraPageTemplate {
|
|
|
14
14
|
return classes;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '65ceac57166149f686508dd56d865092406afe4d' }, h("div", { key: 'c78f1ef93fd52b43285fa3b39d203db258c1bf31', style: this.styles, class: "grid-template" }, h("div", { key: 'cfb99058f718560bf2679e13266bf6e1447cfb1e', id: "sub-header" }, h("slot", { key: 'ddd2aaeb147cad4e92e16dda69f757d9aa261e2c', name: 'sub-header' })), h("div", { key: 'c3d87f2c1d68d08e2c46730d731e03a17e0c355d', id: "header" }, h("slot", { key: 'a681e8d1c9c379be1c18278811d7e99455ad0a8b', name: 'header' })), h("div", { key: 'aee6e5920384ecdbf0c8adb358a431e304f612de', id: "pre-content" }, h("slot", { key: '4e554925885a9f8200fe8cb7b35e438e6a7dd1e8', name: 'pre-content' })), h("div", { key: '30f1f9aeb3a58fb390716dec7f5855fdcc1cc82d', id: "content-container", class: this.getClasses() }, h("div", { key: '259ab99ca0ec43a86536c3c188429a555eebbd45', id: "sidebar-left" }, h("slot", { key: 'ff359698c0b452776e558234b46745dd40746edc', name: 'sidebar-left' })), h("div", { key: '14338cdc57d8ee6cfb5ca15fd5ed8fe276d83bea', id: "content" }, h("slot", { key: 'ea4f4a5423bf061880d580e86f015907ee5929ea', name: "content" }), h("slot", { key: 'ddf40946d828b0de102e9fc21ee99201dc36342b' })), h("div", { key: 'c207b0c2280033f71c2b7803b1ae9ec017ab2b5c', id: "sidebar-right" }, h("slot", { key: 'fd15c1b0ce197f7de9e72827dca3c1d4736b4219', name: 'sidebar-right' }))), h("div", { key: 'fd02b69336b4d6920975bf1a8b4a7c8a957e65d6', id: "post-body" }, h("slot", { key: '205b2283d6fff54f3e3be4ed9b2b64b05c985601', name: 'post-body' })), h("div", { key: '4602dc880efe376c9a951237c43ebcb6723499db', id: "footer" }, h("slot", { key: 'ed9314b5192194cea91dab7fc6efdbfb198016fc', name: 'footer' })), h("div", { key: '53b5bd4b187a0ae6657bccfb8626a5d335bdeb73', id: "sub-footer" }, h("slot", { key: '8b086fb200223ff0bf5acd2266da3ae47cc30269', name: 'sub-footer' })))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "cura-page-template"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|