@rededor/cura 2.0.0-alpha.14 → 2.0.0-alpha.17

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.
Files changed (141) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/assets/icons/iconset-default-tmp.svg +78 -2
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/cura-accordion_22.cjs.entry.js +39 -83
  5. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  6. package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
  7. package/dist/cjs/cura-input-textarea.cjs.entry.js +236 -0
  8. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  11. package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
  13. package/dist/cjs/cura.cjs.js +1 -1
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/utils-DMHZ2n4p.js +47 -0
  16. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  17. package/dist/collection/assets/icons/iconset-default-tmp.svg +78 -2
  18. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  19. package/dist/collection/assets-raw/icons/default/airCond.svg +3 -0
  20. package/dist/collection/assets-raw/icons/default/backspaceDelete.svg +3 -0
  21. package/dist/collection/assets-raw/icons/default/bathroom.svg +3 -0
  22. package/dist/collection/assets-raw/icons/default/bed.svg +3 -0
  23. package/dist/collection/assets-raw/icons/default/blinds.svg +3 -0
  24. package/dist/collection/assets-raw/icons/default/clean.svg +3 -0
  25. package/dist/collection/assets-raw/icons/default/docs.svg +4 -0
  26. package/dist/collection/assets-raw/icons/default/door.svg +3 -0
  27. package/dist/collection/assets-raw/icons/default/keyboardArrows.svg +3 -0
  28. package/dist/collection/assets-raw/icons/default/keyboardNum.svg +10 -0
  29. package/dist/collection/assets-raw/icons/default/lampSmart.svg +3 -0
  30. package/dist/collection/assets-raw/icons/default/mobileRotate2.svg +1 -1
  31. package/dist/collection/assets-raw/icons/default/nutrition.svg +3 -0
  32. package/dist/collection/assets-raw/icons/default/pause.svg +3 -0
  33. package/dist/collection/assets-raw/icons/default/sink.svg +3 -0
  34. package/dist/collection/assets-raw/icons/default/stop.svg +1 -1
  35. package/dist/collection/assets-raw/icons/default/tv.svg +3 -0
  36. package/dist/collection/assets-raw/icons/default/userChecklist.svg +3 -0
  37. package/dist/collection/assets-raw/icons/default/window.svg +3 -0
  38. package/dist/collection/collection-manifest.json +1 -0
  39. package/dist/collection/components/cura-calendar/cura-calendar.js +20 -27
  40. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.css +174 -0
  41. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.js +613 -0
  42. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.stories.js +222 -0
  43. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  44. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  45. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  46. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  47. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  48. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  49. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  50. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +1 -1
  51. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
  52. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
  53. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +1 -1
  54. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  55. package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
  56. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  57. package/dist/components/cura-accordion-item.js +1 -1
  58. package/dist/components/cura-alert.js +1 -1
  59. package/dist/components/cura-badge-counter.js +1 -1
  60. package/dist/components/cura-badge-distance.js +1 -1
  61. package/dist/components/cura-badge-pill.js +1 -1
  62. package/dist/components/cura-button-outline.js +1 -1
  63. package/dist/components/cura-button-select.js +1 -1
  64. package/dist/components/cura-button-transparent.js +1 -1
  65. package/dist/components/cura-button.js +1 -1
  66. package/dist/components/cura-calendar.js +1 -1
  67. package/dist/components/cura-checkbox.js +1 -1
  68. package/dist/components/cura-display.js +1 -1
  69. package/dist/components/cura-dropdown-search-category.js +1 -1
  70. package/dist/components/cura-dropdown-search-not-found.js +1 -1
  71. package/dist/components/cura-dropdown-search.js +1 -1
  72. package/dist/components/cura-heading.js +1 -1
  73. package/dist/components/cura-icons-view.js +1 -1
  74. package/dist/components/cura-input-date.js +1 -1
  75. package/dist/components/cura-input-text.js +1 -1
  76. package/dist/components/cura-input-textarea.d.ts +11 -0
  77. package/dist/components/cura-input-textarea.js +1 -0
  78. package/dist/components/cura-label.js +1 -1
  79. package/dist/components/cura-loader-bar.js +1 -1
  80. package/dist/components/cura-loader-circle.js +1 -1
  81. package/dist/components/cura-modal.js +1 -1
  82. package/dist/components/cura-paragraph.js +1 -1
  83. package/dist/components/cura-radio.js +1 -1
  84. package/dist/components/cura-select-option.js +1 -1
  85. package/dist/components/cura-select.js +1 -1
  86. package/dist/components/cura-stepper-item.js +1 -1
  87. package/dist/components/cura-stepper.js +1 -1
  88. package/dist/components/cura-switch.js +1 -1
  89. package/dist/components/cura-tabs-button.js +1 -1
  90. package/dist/components/cura-tabs-group.js +1 -1
  91. package/dist/components/cura-tabs-transparent.js +1 -1
  92. package/dist/components/cura-tabs.js +1 -1
  93. package/dist/components/cura-toast.js +1 -1
  94. package/dist/components/cura-tooltip.js +1 -1
  95. package/dist/components/index.js +1 -1
  96. package/dist/components/p-B2TDH4aP.js +1 -0
  97. package/dist/components/{p-Oyg5hynZ.js → p-BHVSbubb.js} +1 -1
  98. package/dist/components/{p-BBtCzdwH.js → p-BKDpza6x.js} +1 -1
  99. package/dist/components/{p-BOQ-9WHP.js → p-BuETJyzc.js} +1 -1
  100. package/dist/components/{p-BGBnVlL3.js → p-CksTHXxZ.js} +1 -1
  101. package/dist/components/{p-I4AXUk2V.js → p-D4hCuriT.js} +1 -1
  102. package/dist/components/p-DQP7jRHp.js +1 -0
  103. package/dist/components/p-DgK8dEko.js +1 -0
  104. package/dist/components/{p-BXFxWVl3.js → p-DgQJ968V.js} +1 -1
  105. package/dist/components/{p-BFGkepgq.js → p-Dmalf4Oj.js} +1 -1
  106. package/dist/components/{p-DbZtk_CM.js → p-KovUKiTX.js} +1 -1
  107. package/dist/components/{p-Bac-rr_f.js → p-PiUhcFob.js} +1 -1
  108. package/dist/components/{p-BmMvoH-m.js → p-TnCIk87O.js} +1 -1
  109. package/dist/components/{p-Cm1Vfoc6.js → p-i55vIhdM.js} +1 -1
  110. package/dist/cura/cura.esm.js +1 -1
  111. package/dist/cura/{p-71fffffa.entry.js → p-1c48aaa7.entry.js} +1 -1
  112. package/dist/cura/{p-2572a4f9.entry.js → p-4178e3e6.entry.js} +1 -1
  113. package/dist/cura/p-5b26a166.entry.js +1 -0
  114. package/dist/cura/p-CUmwazb8.js +1 -0
  115. package/dist/cura/p-a305e17a.entry.js +1 -0
  116. package/dist/cura/{p-8b29b763.entry.js → p-b157025d.entry.js} +1 -1
  117. package/dist/cura/{p-1ecb2249.entry.js → p-bd649bed.entry.js} +1 -1
  118. package/dist/cura/p-cc5d2e34.entry.js +1 -0
  119. package/dist/cura/{p-04b5c710.entry.js → p-d43fb791.entry.js} +1 -1
  120. package/dist/cura/{p-a5c4849c.entry.js → p-d64ef37d.entry.js} +1 -1
  121. package/dist/esm/cura-accordion_22.entry.js +32 -76
  122. package/dist/esm/cura-display.entry.js +1 -1
  123. package/dist/esm/cura-icons-view.entry.js +1 -1
  124. package/dist/esm/cura-input-textarea.entry.js +234 -0
  125. package/dist/esm/cura-loader-bar.entry.js +1 -1
  126. package/dist/esm/cura-radio.entry.js +1 -1
  127. package/dist/esm/cura-switch.entry.js +1 -1
  128. package/dist/esm/cura-tabs-button.entry.js +1 -1
  129. package/dist/esm/cura-tabs-transparent.entry.js +1 -1
  130. package/dist/esm/cura.js +1 -1
  131. package/dist/esm/loader.js +1 -1
  132. package/dist/esm/utils-BZCR971L.js +41 -0
  133. package/dist/types/components/cura-calendar/cura-calendar.d.ts +3 -6
  134. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.d.ts +116 -0
  135. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.stories.d.ts +188 -0
  136. package/dist/types/components.d.ts +210 -0
  137. package/package.json +4 -2
  138. package/dist/components/p-BJafC0R3.js +0 -1
  139. package/dist/components/p-nqT7t82E.js +0 -1
  140. package/dist/cura/p-c287c69e.entry.js +0 -1
  141. package/dist/cura/p-c987ddde.entry.js +0 -1
@@ -0,0 +1,234 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-Ce1Pxw3V.js';
2
+ import { c as checkMobile, b as checkIOS, f as fakeInputIOSHack } from './utils-BZCR971L.js';
3
+ import './theme-legacy-default-BTIDzOyO.js';
4
+ import './static-DfJS7YqS.js';
5
+
6
+ const curaInputTextareaCss = () => `:host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-textarea-group{width:100%;font-family:var(--font-family);text-align:left !important}.cura-textarea-group .helper-max-wrapper{display:flex;justify-content:space-between;align-items:center}.cura-textarea-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-textarea-group .max-length{display:flex}.cura-textarea-group cura-label{margin-bottom:8px}.cura-textarea-group .cura-textarea-field{width:100%;height:64px;display:flex;flex-direction:row;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-textarea-group .cura-textarea-field textarea{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:16px 16px 0px 8px;min-height:64px;resize:vertical}.cura-textarea-group .cura-textarea-field textarea:not(.resizable){resize:none}.cura-textarea-group .cura-textarea-field textarea::placeholder{color:var(--neutral-dark)}.cura-textarea-group .cura-textarea-field .feedback-icon{padding-left:16px;padding-top:16px}.cura-textarea-group .cura-textarea-field cura-loader-circle{margin:0px 12px}.cura-textarea-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly) .cura-textarea-field{border-color:var(--neutral-dark)}.cura-textarea-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly) .cura-textarea-field textarea{color:var(--neutral-dark)}.cura-textarea-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly) .cura-textarea-field textarea::placeholder{color:var(--neutral-dark)}.cura-textarea-group:focus-within .cura-textarea-field{border:2px solid var(--info-base) !important;background-color:var(--neutral-purewhite);outline:none}.cura-textarea-group:focus-within .cura-textarea-field textarea{color:var(--neutral-black) !important}.cura-textarea-group.success .cura-textarea-field{border:2px solid var(--success-dark) !important;background-color:var(--success-lighter) !important}.cura-textarea-group.success .cura-textarea-field textarea{color:var(--success-darker) !important}.cura-textarea-group.success .cura-textarea-field textarea::placeholder{color:var(--success-darker) !important}.cura-textarea-group.error .cura-textarea-field{border:2px solid var(--error-dark) !important;background-color:var(--error-lighter) !important}.cura-textarea-group.error .cura-textarea-field textarea{color:var(--error-darker) !important}.cura-textarea-group.error .cura-textarea-field textarea::placeholder{color:var(--error-darker) !important}.cura-textarea-group.isLoading{cursor:wait}.cura-textarea-group.isLoading .cura-textarea-field{background-color:var(--neutral-white) !important;border:2px solid var(--primary-base) !important}.cura-textarea-group.isLoading .cura-textarea-field textarea{cursor:wait;color:var(--primary-base) !important}.cura-textarea-group.isLoading .cura-textarea-field textarea::placeholder{color:var(--primary-base) !important}.cura-textarea-group.disabled .cura-textarea-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-textarea-group.disabled .cura-textarea-field textarea{color:var(--neutral-medium)}.cura-textarea-group.disabled .cura-textarea-field textarea::placeholder{color:var(--neutral-medium)}.cura-textarea-group.readOnly[read-only] .cura-textarea-field{cursor:default}.cura-textarea-group.readOnly[read-only] .cura-textarea-field textarea{cursor:default}.cura-textarea-group.small .cura-textarea-field{height:64px}.cura-textarea-group.small .cura-textarea-field textarea{font-size:12px;line-height:13px;letter-spacing:0.72px;min-height:64px}.cura-textarea-group.small .helper-text{font-weight:var(--font-weight-regular)}.cura-textarea-group.medium .cura-textarea-field{height:64px}.cura-textarea-group.medium .cura-textarea-field textarea{font-size:14px;line-height:16px;letter-spacing:0.56px;min-height:64px}.cura-textarea-group.medium .helper-text{font-weight:var(--font-weight-regular)}.cura-textarea-group.large .cura-textarea-field{height:64px}.cura-textarea-group.large .cura-textarea-field textarea{font-size:16px;min-height:64px}.cura-textarea-group.large .helper-text{font-weight:var(--font-weight-bold)}`;
7
+
8
+ const CuraInputTextArea = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.valueChange = createEvent(this, "valueChange");
12
+ this.inputClear = createEvent(this, "inputClear");
13
+ if (hostRef.$hostElement$["s-ei"]) {
14
+ this.internals = hostRef.$hostElement$["s-ei"];
15
+ }
16
+ else {
17
+ this.internals = hostRef.$hostElement$.attachInternals();
18
+ hostRef.$hostElement$["s-ei"] = this.internals;
19
+ }
20
+ /**
21
+ * Indicates input status (default: 'default')
22
+ */
23
+ this.status = 'default';
24
+ /**
25
+ * Size of the textarea: 'small', 'medium', or 'large' (default: 'medium')
26
+ */
27
+ this.size = 'medium';
28
+ /**
29
+ * Label text for the textarea
30
+ */
31
+ this.label = '';
32
+ /**
33
+ * Name for the textarea
34
+ */
35
+ this.name = '';
36
+ /**
37
+ * Placeholder text
38
+ */
39
+ this.placeholder = null;
40
+ /**
41
+ * Initial value of the textarea
42
+ */
43
+ this.value = '';
44
+ /**
45
+ * Cura icon name to display
46
+ */
47
+ this.iconName = '';
48
+ /**
49
+ * Whether the textarea is disabled (default: false)
50
+ */
51
+ this.disabled = false;
52
+ /**
53
+ * Whether the textarea is required (default: false)
54
+ */
55
+ this.required = false;
56
+ /**
57
+ * Whether the textarea is read-only (default: false)
58
+ */
59
+ this.readOnly = false;
60
+ /**
61
+ * Whether the textarea is resizable (default: true)
62
+ */
63
+ this.resizable = true;
64
+ /**
65
+ * Whether the textarea is in loading state (default: false)
66
+ */
67
+ this.isLoading = false;
68
+ this.isHovered = false;
69
+ this.isFocused = false;
70
+ this.currentValue = '';
71
+ this.fieldStyles = { height: 'auto' };
72
+ /**
73
+ * Removes the alertCircle icon when necessary (as used in CuraDropdownSearch)
74
+ */
75
+ this.hideErrorIcon = false;
76
+ /**
77
+ * Whether the textarea should have autocomplete
78
+ */
79
+ this.autocomplete = 'on';
80
+ this.styles = {};
81
+ }
82
+ async setFocus() {
83
+ const timeoutMs = checkMobile() && checkIOS() ? 1000 : 200;
84
+ let fakeInput = fakeInputIOSHack(this.host);
85
+ setTimeout(() => {
86
+ this.inputRef.focus();
87
+ if (fakeInput)
88
+ fakeInput.remove();
89
+ }, timeoutMs);
90
+ }
91
+ formStateRestoreCallback(state) {
92
+ this.currentValue = state.value;
93
+ this.internals.setFormValue(this.currentValue);
94
+ }
95
+ formAssociatedCallback(form) {
96
+ form.ariaLabel = this.label;
97
+ }
98
+ formResetCallback() {
99
+ this.handleClearInput();
100
+ this.internals.setValidity({});
101
+ this.internals.setFormValue('');
102
+ }
103
+ formDisabledCallback(disabled) {
104
+ this.disabled = disabled;
105
+ }
106
+ connectedCallback() {
107
+ this.styles['--primary-base'] = window.CuraAPI.theme.colors.getColor(`primary-base`);
108
+ this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);
109
+ this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
110
+ this.styles['--neutral-black'] = window.CuraAPI.theme.colors.getColor(`neutral-black`);
111
+ this.styles['--neutral-medium'] = window.CuraAPI.theme.colors.getColor(`neutral-medium`);
112
+ this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
113
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
114
+ this.styles['--success-dark'] = window.CuraAPI.theme.colors.getColor(`success-dark`);
115
+ this.styles['--success-darker'] = window.CuraAPI.theme.colors.getColor(`success-darker`);
116
+ this.styles['--success-lighter'] = window.CuraAPI.theme.colors.getColor(`success-lighter`);
117
+ this.styles['--error-lighter'] = window.CuraAPI.theme.colors.getColor(`error-lighter`);
118
+ this.styles['--error-dark'] = window.CuraAPI.theme.colors.getColor(`error-dark`);
119
+ this.styles['--error-darker'] = window.CuraAPI.theme.colors.getColor(`error-darker`);
120
+ this.styles['--error-base'] = window.CuraAPI.theme.colors.getColor(`error-base`);
121
+ this.styles['--info-base'] = window.CuraAPI.theme.colors.getColor(`info-base`);
122
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
123
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
124
+ this.styles['--font-color'] = window.CuraAPI.theme.fonts.getColor();
125
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
126
+ this.breakpoints = window.CuraAPI.theme.breakpoints.get();
127
+ this.styles['--font-weight-medium'] = this.weights.medium;
128
+ this.styles['--font-weight-bold'] = this.weights.bold;
129
+ this.styles['--font-weight-regular'] = this.weights.regular;
130
+ }
131
+ componentWillLoad() {
132
+ this.currentValue = this.value;
133
+ }
134
+ getClasses() {
135
+ return {
136
+ [this.size.toLowerCase()]: true,
137
+ disabled: !!this.disabled,
138
+ isLoading: !!this.isLoading,
139
+ isFocused: this.isFocused && !this.disabled && !this.readOnly && !this.isLoading,
140
+ isHovered: this.isHovered,
141
+ [this.status]: true,
142
+ resizable: !!this.resizable,
143
+ };
144
+ }
145
+ getLabelColor() {
146
+ if (!!this.disabled) {
147
+ return 'neutral-medium';
148
+ }
149
+ else if (((this.isFocused || this.isHovered || this.status === 'success' || this.status === 'error') && !this.readOnly) || this.isHovered) {
150
+ return 'neutral-black';
151
+ }
152
+ else {
153
+ return 'neutral-dark';
154
+ }
155
+ }
156
+ renderIcon() {
157
+ if (this.iconName === '' && this.status === 'default') {
158
+ return;
159
+ }
160
+ if (this.status === 'error' && this.hideErrorIcon) {
161
+ return;
162
+ }
163
+ const baseIconSize = this.size === 'large' ? 20 : 16;
164
+ const iconMap = {
165
+ loading: { name: this.iconName, color: 'primary-base' },
166
+ success: { name: 'checkCircle', color: 'success-dark' },
167
+ error: { name: 'alertCircle', color: 'error-dark' },
168
+ default: { name: this.iconName, color: 'neutral-dark' },
169
+ disabled: { name: this.iconName, color: 'neutral-medium' },
170
+ };
171
+ const iconConfig = iconMap[this.isLoading ? 'loading' : this.disabled ? 'disabled' : this.status || 'default'];
172
+ return (h("div", { class: "feedback-icon", style: this.styles }, h("cura-icon", { name: iconConfig.name, iconset: "default", size: baseIconSize, color: iconConfig.color })));
173
+ }
174
+ renderHelperText() {
175
+ const isError = this.status === 'error';
176
+ const isSuccess = this.status === 'success';
177
+ const isDefault = this.status === 'default';
178
+ const helperTextSize = this.size === 'large' ? 'small' : 'xsmall';
179
+ const colorText = (() => {
180
+ if (this.disabled)
181
+ return 'neutral-medium';
182
+ if (this.isLoading)
183
+ return 'primary-base';
184
+ if (this.isFocused || this.isHovered)
185
+ return 'neutral-black';
186
+ return 'neutral-dark';
187
+ })();
188
+ return (h("div", { style: this.styles, class: "helper-text", part: "cura-input-text-helper" }, isDefault && (h("cura-label", { size: helperTextSize, color: colorText }, h("slot", null))), isError && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "error-dark" }, h("slot", null))), isSuccess && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "success-dark" }, h("slot", null)))));
189
+ }
190
+ renderMaxLength() {
191
+ var _a;
192
+ if (!this.maxlength)
193
+ return null;
194
+ return (h("div", { class: "max-length" }, h("cura-label", { size: "xsmall", weight: 'bold', color: "neutral-dark" }, `${((_a = this.currentValue) === null || _a === void 0 ? void 0 : _a.toString().length) || 0}`), h("cura-label", { size: "xsmall", weight: 'bold', color: "neutral-darker" }, `/${this.maxlength}`)));
195
+ }
196
+ handleMouseEnter() {
197
+ this.isHovered = true;
198
+ }
199
+ handleMouseLeave() {
200
+ this.isHovered = false;
201
+ }
202
+ handleClearInput() {
203
+ this.currentValue = '';
204
+ this.inputRef.value = '';
205
+ this.valueChange.emit(this.currentValue);
206
+ this.inputClear.emit(this.currentValue);
207
+ this.setFocus();
208
+ }
209
+ handleInputFocus() {
210
+ this.isFocused = true;
211
+ }
212
+ handleInputBlur() {
213
+ setTimeout(() => {
214
+ this.isFocused = false;
215
+ }, 150);
216
+ }
217
+ handleInputChange(event) {
218
+ const inputValue = event.target.value;
219
+ this.valueChange.emit(inputValue);
220
+ this.handleTextInputChange(inputValue);
221
+ this.internals.setFormValue(this.currentValue);
222
+ }
223
+ handleTextInputChange(inputValue) {
224
+ this.currentValue = inputValue;
225
+ }
226
+ render() {
227
+ return (h(Host, { key: '05f1a1a3b51e4bb1bc54cab3c8d5b6062a95d32a', role: "textbox", "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, h("div", { key: '47eb10b6f3c3e697ae1558fd53d4d9cb9a2b6065', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-textarea-group': true }, this.getClasses()) }, h("div", { key: 'c090b7b2eb353dbe929810c4835f49860bfe9c80', class: "input-wrapper" }, this.label && (h("cura-label", { key: 'a957db2fb6e2779d3c33f7504124cff353e41c2c', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && h("span", { key: '1928a3597976bd5b1f4076c49dae803a69139cb5', class: "required" }, "* "))), h("div", { key: '58c1cab70c203e9ca106ddec09d606943814b65c', class: "cura-textarea-field", part: "cura-textarea-field", style: this.fieldStyles }, this.renderIcon(), h("textarea", { key: 'd6a59a727dfc5a8655ea496111dd46718101b0be', name: this.name ? this.name : '', onBlur: this.handleInputBlur.bind(this), onFocus: this.handleInputFocus.bind(this), onInput: event => this.handleInputChange(event), class: this.getClasses(), style: this.styles, placeholder: this.placeholder, disabled: this.disabled || this.isLoading, required: this.required, readonly: this.readOnly, maxlength: this.maxlength, value: this.currentValue !== undefined && this.currentValue !== null ? this.currentValue : '', autocomplete: this.autocomplete }), this.isLoading && h("cura-loader-circle", { key: '0476538f94ba6ffc0dc89b4bd125c048f420d415', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), h("div", { key: '84b14a2904cfa97adc766bd65cbbf48cb390d6c6', class: "helper-max-wrapper" }, this.renderHelperText(), " ", this.renderMaxLength())))));
228
+ }
229
+ static get formAssociated() { return true; }
230
+ get host() { return getElement(this); }
231
+ };
232
+ CuraInputTextArea.style = curaInputTextareaCss();
233
+
234
+ export { CuraInputTextArea as cura_input_textarea };
@@ -21,7 +21,7 @@ const CuraLoaderBar = class {
21
21
  this.setProgress();
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: 'dd27615093a7ab333175afb1e48bbe5455d7406b', role: "progressbar", "aria-valuenow": this.progress, "aria-valuemin": 0, "aria-valuemax": 100 }, h("div", { key: 'c3c76b76826c558769d43e441d9e0c573fb7eb7b', id: "progress-bar", class: "progress-bar", style: this.styles }, h("span", { key: '0e8e361bdf63e558fa34cca67c3446b1147c2643', class: "progress-bar-fill" }))));
24
+ return (h(Host, { key: '1cad7226bfde87284c61f4786c3bccf66f967d40', role: "progressbar", "aria-valuenow": this.progress, "aria-valuemin": 0, "aria-valuemax": 100 }, h("div", { key: '59320656c2a679ff5600ef803fa215f1ed5d218d', id: "progress-bar", class: "progress-bar", style: this.styles }, h("span", { key: '6d66523c36dfaece1e9d7a3d60c8fbf7dbef5efa', class: "progress-bar-fill" }))));
25
25
  }
26
26
  setColor() {
27
27
  this.styles = Object.assign(Object.assign({}, this.styles), { '--neutral-base': window.CuraAPI.theme.colors.getColor(`neutral-base`, 0.2), '--color-base': window.CuraAPI.theme.colors.getColor(this.color) });
@@ -188,7 +188,7 @@ const CuraRadio = class {
188
188
  return statusColors[this.status][type];
189
189
  }
190
190
  render() {
191
- return (h(Host, { key: '3b4001cf9d095153254069f9865d865f8570c74f', role: "radio", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, h("div", { key: '2a60ebf8f84ab618580b924bf1a2ce9acf70ed81', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: 'b1bf673d26f9651696fe5e705f4978eda14e25f6', class: "info" }, h("div", { key: '3f0cb6742da331c137c62b647a713781b57d25b2', class: "label-wrapper" }, h("cura-label", { key: 'a4bcd0b9b9265db0c7c13a47924ba6b253b01f25', textOverflow: this.overflowLabel, class: `label${this.overflowLabel === 'single' ? ' textoverflow-single' : ''}`, size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && (h("cura-paragraph", { key: '821198baf60494203af757451e892a79afde3e2b', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), h("cura-label", { key: '8859c2fd4e77342b1884283977b109c714fc32e6', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: '313feac58eee6ee2d2b3656d0fb971be7fc43481' }))), h("input", { key: 'f9bd494bbe59443d7bacf31dafb2f516591ad596', type: "radio", class: `radio ${this.size.toLocaleLowerCase()}`, name: this.name, value: this.value, required: this.required, tabIndex: this.ontabindex, disabled: this.disabled, checked: this.checked }))));
191
+ return (h(Host, { key: '7db2e7898ed5509b27a22a5ef06d580b6bfe58bc', role: "radio", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, h("div", { key: 'a48dbced2eb1be2ff162282b40b767ed90d35470', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: 'd332710c196dff35ab6cbcdd780d7bf89ad101ac', class: "info" }, h("div", { key: '651604209885f847e02af4a11fbd4cd9f42719e2', class: "label-wrapper" }, h("cura-label", { key: '13db1f1fe2dfb79cedce79ddb0cc2af9b04db77f', textOverflow: this.overflowLabel, class: `label${this.overflowLabel === 'single' ? ' textoverflow-single' : ''}`, size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && (h("cura-paragraph", { key: '9cd6e5aaaa8007c766730b26b667a4e1f14a9324', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), h("cura-label", { key: '8e4c761b331bea1d1247d5827ead8e42f04ac2c0', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: 'bc8c9b14e175dae86a94e21e110afcf74e8faf49' }))), h("input", { key: '26a944b0af74465d83a9bd05c181924b9cfb1c38', type: "radio", class: `radio ${this.size.toLocaleLowerCase()}`, name: this.name, value: this.value, required: this.required, tabIndex: this.ontabindex, disabled: this.disabled, checked: this.checked }))));
192
192
  }
193
193
  static get formAssociated() { return true; }
194
194
  get host() { return getElement(this); }
@@ -151,7 +151,7 @@ const CuraSwitch = class {
151
151
  return classes;
152
152
  }
153
153
  render() {
154
- return (h(Host, { key: '73c935718e0bd39d49581d81de82f3d8dfbecf39', role: "switch", "aria-checked": this.checked, "aria-disabled": this.disabled }, h("div", { key: 'f2d813e2c863fd869c1ea48f20155a30f7e9b5bd', class: this.getClasses(), style: this.styles, onClick: this.toggleSwitch }, h("div", { key: 'de3b927a6ff4f599c527a370b954872990ef3632', class: "info" }, h("cura-label", { key: '71729b9f502baf0de6dba5b0d9592c28a420f41d', textOverflow: this.overflowLabel, style: { textAlign: this.position === 'right' ? 'right' : 'left' }, class: "label", weight: "bold", size: this.size === 'large' ? 'medium' : 'xsmall', lineHeight: "125%", color: this.assignColor('neutral-white', 'neutral-black') }, this.label), h("cura-label", { key: '54cc521cadd2d09cae1c5356858f20c5a18d3cf8', textOverflow: this.overflowHelper, style: { textAlign: this.position === 'right' ? 'right' : 'left' }, color: this.assignColor('primary-lighter', 'neutral-dark'), size: "xsmall", class: "message" }, h("slot", { key: '57d9dbd78f8e5b30677ecca1c6ba83946b459d28' }))), h("div", { key: '03d28fd476865d02010fcf7cd5820f9e50b09015', class: "control" }, h("div", { key: '5fc59727c27271cba5f63651373e1e99deb4f5b7', class: `track ${this.size.toLowerCase()}` }, h("div", { key: 'cae9983998d99333e85e0da6a66c24d79f79e591', class: `thumb ${this.size.toLowerCase()}`, tabIndex: this.ontabindex }))))));
154
+ return (h(Host, { key: '55eb7eb4da5cc3eaa376c3a188f1f4580b4d3be8', role: "switch", "aria-checked": this.checked, "aria-disabled": this.disabled }, h("div", { key: '2c2e8f59747f6b12e6e9b528007e9e585fc2bb6e', class: this.getClasses(), style: this.styles, onClick: this.toggleSwitch }, h("div", { key: '6e3ba0c77facb521f15cc7cdf75adb0ec7a64985', class: "info" }, h("cura-label", { key: '6ecc8ca37c3e4078b35f063f935ffa802ed11c0a', textOverflow: this.overflowLabel, style: { textAlign: this.position === 'right' ? 'right' : 'left' }, class: "label", weight: "bold", size: this.size === 'large' ? 'medium' : 'xsmall', lineHeight: "125%", color: this.assignColor('neutral-white', 'neutral-black') }, this.label), h("cura-label", { key: 'eea722ec56d3293259d938089972a71b2b0806df', textOverflow: this.overflowHelper, style: { textAlign: this.position === 'right' ? 'right' : 'left' }, color: this.assignColor('primary-lighter', 'neutral-dark'), size: "xsmall", class: "message" }, h("slot", { key: 'ce171b19a68fa581279cef2e8b4d6818b84e59c9' }))), h("div", { key: '73088b5709884f1d338680a4148f5b4dce33d09c', class: "control" }, h("div", { key: 'e61c81796ef55a901423fa8b050a22c856c7fc26', class: `track ${this.size.toLowerCase()}` }, h("div", { key: 'd8b302df2b06fc043dc0629a87e2fde46616b406', class: `thumb ${this.size.toLowerCase()}`, tabIndex: this.ontabindex }))))));
155
155
  }
156
156
  static get formAssociated() { return true; }
157
157
  static get watchers() { return {
@@ -87,7 +87,7 @@ const CuraTabs = class {
87
87
  render() {
88
88
  const labelSize = labelSizes[this.size] || labelSizes['default'];
89
89
  const labelColor = this.computeContentColor();
90
- return (h(Host, { key: 'e1b96aaf534d4a6c65f875413a0ad28b524c7d97', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, h("button", { key: 'dd6436cf0820f4038dfda6f5a45bcdf828d342bd', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), h("cura-label", { key: '8bebb4e66694fbcedcd218cba0f13de2253ae587', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, h("slot", { key: 'b6fab707b8b4cab36131bfec148746e9459302e8' })), this.counter > 0 && this.getCounter())));
90
+ return (h(Host, { key: '8c6b0887fb2077909547c732cecb8655842d4a93', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, h("button", { key: 'f91ddf1d31dbebb6e097e48838b64b6787a88148', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), h("cura-label", { key: '0ca8313f7b54bc0d238c1b56abb75c940789471f', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, h("slot", { key: '964538375a7c4560a996cc8c069753f07120ba9e' })), this.counter > 0 && this.getCounter())));
91
91
  }
92
92
  static get watchers() { return {
93
93
  "colorMode": [{
@@ -86,7 +86,7 @@ const CuraTabsTransparent = class {
86
86
  render() {
87
87
  const labelSize = labelSizes[this.size] || labelSizes['default'];
88
88
  const labelColor = this.computeContentColor();
89
- return (h(Host, { key: '09e06aa0e52ca852fa5e4409429f50242fa5c6a9', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, h("button", { key: 'a4c5f800f22b23e24b89366766660c02abfd7091', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), h("cura-label", { key: '73de8c0f84a1128a92fd840c4b6d9b3415071a99', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, h("slot", { key: '2514d0f1bd9752635fcc2d453c8994d09ef7f5d1' })))));
89
+ return (h(Host, { key: '3a165e58646df4462994a4368ef6d58a843bdc5c', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, h("button", { key: '50bfeaf2ec27682b6168f0c173b140bee1249229', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), h("cura-label", { key: '5f2c83984da3d83ec0e6719eff67e901195366fa', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, h("slot", { key: '317de55115567fed9ece59b8c4da507e20f9c57e' })))));
90
90
  }
91
91
  static get watchers() { return {
92
92
  "colorMode": [{
package/dist/esm/cura.js CHANGED
@@ -20,5 +20,5 @@ var patchBrowser = () => {
20
20
 
21
21
  patchBrowser().then(async (options) => {
22
22
  await globalScripts();
23
- return bootstrapLazy(JSON.parse("[[\"cura-accordion_22\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline\",[[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\",[[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\",[[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\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-tabs-button\",[[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\",[[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\",[[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\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch\",[[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\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display\",[[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\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill\",[[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\",[[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\",[[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);
23
+ return bootstrapLazy(JSON.parse("[[\"cura-accordion_22\",[[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}],\"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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline\",[[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\",[[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\",[[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\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-input-textarea\",[[321,\"cura-input-textarea\",{\"status\":[513],\"size\":[513],\"label\":[513],\"name\":[513],\"placeholder\":[513],\"value\":[520],\"iconName\":[513,\"icon-name\"],\"helperText\":[513,\"helper-text\"],\"disabled\":[1540],\"required\":[516],\"maxlength\":[514],\"readOnly\":[516,\"read-only\"],\"resizable\":[516],\"isLoading\":[516,\"is-loading\"],\"hideErrorIcon\":[4,\"hide-error-icon\"],\"autocomplete\":[513],\"isHovered\":[32],\"isFocused\":[32],\"currentValue\":[32],\"fieldStyles\":[32],\"setFocus\":[64]}]]],[\"cura-tabs-button\",[[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\",[[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\",[[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\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch\",[[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\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display\",[[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\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill\",[[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\",[[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\",[[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);
24
24
  });
@@ -8,7 +8,7 @@ import './static-DfJS7YqS.js';
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await globalScripts();
11
- return bootstrapLazy(JSON.parse("[[\"cura-accordion_22\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline\",[[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\",[[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\",[[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\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-tabs-button\",[[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\",[[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\",[[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\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch\",[[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\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display\",[[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\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill\",[[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\",[[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\",[[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);
11
+ return bootstrapLazy(JSON.parse("[[\"cura-accordion_22\",[[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}],\"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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[257,\"cura-alert\",{\"type\":[1],\"floating\":[516],\"label\":[513],\"closeable\":[516],\"icon\":[513],\"styles\":[32]},null,{\"type\":[{\"setColors\":0}]}]]],[\"cura-button-outline\",[[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\",[[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\",[[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\",[[1,\"cura-icons-view\",{\"selected\":[32]}]]],[\"cura-input-textarea\",[[321,\"cura-input-textarea\",{\"status\":[513],\"size\":[513],\"label\":[513],\"name\":[513],\"placeholder\":[513],\"value\":[520],\"iconName\":[513,\"icon-name\"],\"helperText\":[513,\"helper-text\"],\"disabled\":[1540],\"required\":[516],\"maxlength\":[514],\"readOnly\":[516,\"read-only\"],\"resizable\":[516],\"isLoading\":[516,\"is-loading\"],\"hideErrorIcon\":[4,\"hide-error-icon\"],\"autocomplete\":[513],\"isHovered\":[32],\"isFocused\":[32],\"currentValue\":[32],\"fieldStyles\":[32],\"setFocus\":[64]}]]],[\"cura-tabs-button\",[[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\",[[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\",[[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\",[[257,\"cura-dropdown-search-not-found\"]]],[\"cura-switch\",[[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\",[[1,\"cura-badge-dot\",{\"color\":[1],\"disabled\":[516],\"type\":[513],\"styles\":[32]}]]],[\"cura-display\",[[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\",[[1,\"cura-loader-bar\",{\"color\":[1],\"progress\":[2],\"styles\":[32]},null,{\"color\":[{\"handleChangeColor\":0}],\"progress\":[{\"handleProgress\":0}]}]]],[\"cura-badge-pill\",[[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\",[[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\",[[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
12
  };
13
13
 
14
14
  export { defineCustomElements };
@@ -0,0 +1,41 @@
1
+ import { S as Static } from './static-DfJS7YqS.js';
2
+
3
+ function checkMobile() {
4
+ return (window === null || window === void 0 ? void 0 : window.innerWidth) < Static.breakpoints.medium.min;
5
+ }
6
+ function checkIOS() {
7
+ return [
8
+ 'iPad Simulator',
9
+ 'iPhone Simulator',
10
+ 'iPod Simulator',
11
+ 'iPad',
12
+ 'iPhone',
13
+ 'iPod'
14
+ ].includes(navigator.userAgent)
15
+ // iPad on iOS 13 detection
16
+ || (navigator.userAgent.includes("Mac") && "ontouchend" in document);
17
+ }
18
+ function fakeInputIOSHack(targetElement) {
19
+ if (!checkMobile() || !checkIOS())
20
+ return null;
21
+ const fakeInput = document.createElement('input');
22
+ fakeInput.setAttribute('type', 'text');
23
+ fakeInput.style.position = 'absolute';
24
+ fakeInput.style.opacity = '0';
25
+ fakeInput.style.height = '0';
26
+ fakeInput.style.fontSize = '16px'; // disable auto zoom
27
+ targetElement.prepend(fakeInput);
28
+ // focus so that subsequent async focus will work
29
+ fakeInput.focus();
30
+ return fakeInput;
31
+ }
32
+ function addBodyScrollLockClass() {
33
+ document.body.classList.add("cura-body-scroll-lock");
34
+ }
35
+ function removeBodyScrollLockClass() {
36
+ if (document.body.classList.contains("cura-body-scroll-lock")) {
37
+ document.body.classList.remove("cura-body-scroll-lock");
38
+ }
39
+ }
40
+
41
+ export { addBodyScrollLockClass as a, checkIOS as b, checkMobile as c, fakeInputIOSHack as f, removeBodyScrollLockClass as r };
@@ -1,7 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { ChangeDateInViewEvent } from './cura-calendar.type';
3
3
  export declare class CuraCalendar {
4
- private isMounted;
5
4
  /**
6
5
  * Disable component
7
6
  *
@@ -332,9 +331,9 @@ export declare class CuraCalendar {
332
331
  */
333
332
  showNotColapsedCalendar(): void;
334
333
  showColapsedCalendar(): Date[];
335
- fetchDaysOfWeek(): Date[];
334
+ fetchDaysOfWeek(currentDate?: Date): Date[];
336
335
  updateCurrentWeek(direction: 'prev' | 'next'): void;
337
- fetchDaysOfMonth(): Date[];
336
+ fetchDaysOfMonth(currentDate?: Date): Date[];
338
337
  /**
339
338
  * Get the names of all months in the current year.
340
339
  *
@@ -391,11 +390,9 @@ export declare class CuraCalendar {
391
390
  '--max-width': string;
392
391
  '--color-neutral-purewhite': string;
393
392
  };
394
- sendEventChangeDateInView(isCollapsed: boolean): void;
393
+ sendEventChangeDateInView(isCollapsed: boolean, currentDate: Date): void;
395
394
  watchDefaultDatesArray(): void;
396
395
  handleDefaultDateChange(newValue: string[]): void;
397
- watchDatesInViewChange(): void;
398
396
  watchCollapse(isCollapsed: boolean): void;
399
- componentDidLoad(): void;
400
397
  render(): any;
401
398
  }