wcs-core 2.7.0 → 2.8.0

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 (84) hide show
  1. package/CHANGELOG.md +50 -9
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{popper-6a290c40.js → popper-5777994b.js} +1 -0
  4. package/dist/cjs/wcs-dropdown.cjs.entry.js +1 -1
  5. package/dist/cjs/wcs-error_2.cjs.entry.js +1 -1
  6. package/dist/cjs/wcs-galactic-menu.cjs.entry.js +1 -1
  7. package/dist/cjs/wcs-mat-icon.cjs.entry.js +1 -1
  8. package/dist/cjs/wcs-modal.cjs.entry.js +2 -2
  9. package/dist/cjs/wcs-radio-group.cjs.entry.js +3 -3
  10. package/dist/cjs/wcs-radio.cjs.entry.js +1 -1
  11. package/dist/cjs/wcs-tooltip.cjs.entry.js +1605 -99
  12. package/dist/cjs/wcs.cjs.js +1 -1
  13. package/dist/collection/components/badge/badge-interface.js +1 -0
  14. package/dist/collection/components/badge/badge.js +14 -4
  15. package/dist/collection/components/card/card-interface.js +1 -0
  16. package/dist/collection/components/card/card.js +7 -2
  17. package/dist/collection/components/editable-field/editable-field.js +7 -2
  18. package/dist/collection/components/form-field/form-field.css +0 -1
  19. package/dist/collection/components/form-field/form-field.js +0 -17
  20. package/dist/collection/components/horizontal-stepper/horizontal-stepper.js +7 -2
  21. package/dist/collection/components/mat-icon/mat-icon.css +1 -1
  22. package/dist/collection/components/mat-icon/mat-icon.js +7 -2
  23. package/dist/collection/components/modal/modal.css +8 -5
  24. package/dist/collection/components/modal/modal.js +5 -5
  25. package/dist/collection/components/nav-item/nav-item.js +1 -1
  26. package/dist/collection/components/progress-bar/progress-bar.js +4 -4
  27. package/dist/collection/components/radio/radio.component.js +8 -3
  28. package/dist/collection/components/radio/radio.css +37 -26
  29. package/dist/collection/components/radio-group/radio-group.css +4 -0
  30. package/dist/collection/components/radio-group/radio-group.js +3 -3
  31. package/dist/collection/components/spinner/spinner-interface.js +1 -0
  32. package/dist/collection/components/spinner/spinner.js +8 -3
  33. package/dist/collection/components/tab/tab.js +1 -1
  34. package/dist/collection/components/tabs/tabs.js +1 -1
  35. package/dist/collection/components/tooltip/tooltip.css +3 -0
  36. package/dist/collection/components/tooltip/tooltip.js +308 -90
  37. package/dist/esm/loader.js +1 -1
  38. package/dist/esm/{popper-e5fdfb6a.js → popper-5f42e560.js} +1 -1
  39. package/dist/esm/wcs-dropdown.entry.js +1 -1
  40. package/dist/esm/wcs-error_2.entry.js +1 -1
  41. package/dist/esm/wcs-galactic-menu.entry.js +1 -1
  42. package/dist/esm/wcs-mat-icon.entry.js +1 -1
  43. package/dist/esm/wcs-modal.entry.js +2 -2
  44. package/dist/esm/wcs-radio-group.entry.js +3 -3
  45. package/dist/esm/wcs-radio.entry.js +1 -1
  46. package/dist/esm/wcs-tooltip.entry.js +1605 -99
  47. package/dist/esm/wcs.js +1 -1
  48. package/dist/types/components/badge/badge-interface.d.ts +2 -0
  49. package/dist/types/components/badge/badge.d.ts +3 -2
  50. package/dist/types/components/card/card-interface.d.ts +1 -0
  51. package/dist/types/components/card/card.d.ts +2 -1
  52. package/dist/types/components/editable-field/editable-field-interface.d.ts +1 -0
  53. package/dist/types/components/editable-field/editable-field.d.ts +2 -2
  54. package/dist/types/components/form-field/form-field.d.ts +0 -4
  55. package/dist/types/components/horizontal-stepper/horizontal-stepper-interface.d.ts +1 -0
  56. package/dist/types/components/horizontal-stepper/horizontal-stepper.d.ts +2 -2
  57. package/dist/types/components/mat-icon/mat-icon-interface.d.ts +1 -0
  58. package/dist/types/components/mat-icon/mat-icon.d.ts +2 -2
  59. package/dist/types/components/modal/modal.d.ts +1 -1
  60. package/dist/types/components/radio/radio.component.d.ts +2 -1
  61. package/dist/types/components/radio-group/radio-group-interface.d.ts +1 -1
  62. package/dist/types/components/spinner/spinner-interface.d.ts +1 -0
  63. package/dist/types/components/spinner/spinner.d.ts +2 -1
  64. package/dist/types/components/tooltip/tooltip.d.ts +70 -6
  65. package/dist/types/components.d.ts +97 -38
  66. package/dist/types/interfaces.d.ts +21 -0
  67. package/dist/wcs/{p-d7dec082.entry.js → p-08a7e84d.entry.js} +1 -1
  68. package/dist/wcs/p-0a103e06.entry.js +1 -0
  69. package/dist/wcs/p-1e16709a.entry.js +1 -0
  70. package/dist/wcs/{p-64523291.entry.js → p-22813c8e.entry.js} +1 -1
  71. package/dist/wcs/{p-fbaf299d.entry.js → p-4e9e226d.entry.js} +1 -1
  72. package/dist/wcs/p-6b8d2bc7.entry.js +1 -0
  73. package/dist/wcs/{p-e65d1c27.entry.js → p-b5ffbea8.entry.js} +1 -1
  74. package/dist/wcs/p-d3c9a644.js +1 -0
  75. package/dist/wcs/p-ecbe5165.entry.js +6 -0
  76. package/dist/wcs/wcs.css +1 -1
  77. package/dist/wcs/wcs.esm.js +1 -1
  78. package/package.json +4 -2
  79. package/dist/types/interface.d.ts +0 -3
  80. package/dist/wcs/p-15008e35.entry.js +0 -1
  81. package/dist/wcs/p-17c6db7f.entry.js +0 -1
  82. package/dist/wcs/p-b5138986.js +0 -1
  83. package/dist/wcs/p-ea3e93e9.entry.js +0 -1
  84. package/dist/wcs/p-ed6e8541.entry.js +0 -1
@@ -1,111 +1,133 @@
1
- import { Component, h, Host, Prop, Element } from '@stencil/core';
2
- import { getOverlay } from '../../utils/overlay';
1
+ import { Component, h, Host, Prop, Element, Watch, Method } from '@stencil/core';
2
+ // We use the Tippy.js library for the tooltip. At first by using directly the styles of tippy because
3
+ // the design system does not specify any spec for the tooltips.
4
+ //
5
+ // In a second time, if a need of customization is felt, it will be possible to use the lib in a
6
+ // "Headless" mode where the rendering of the tooltip will be entirely in our charge, without
7
+ // modifications in the API : https://atomiks.github.io/tippyjs/v6/headless-tippy/
8
+ import tippy from 'tippy.js';
9
+ /**
10
+ * Tooltips are used to provide additional information for features available on the website. These can improve the user
11
+ * experience or simply show additional information. Tooltips appear when the user rolls over or clicks on them
12
+ * (for longer content).
13
+ *
14
+ * Note that this component is based on the Tippy.js library : https://atomiks.github.io/tippyjs/
15
+ */
3
16
  export class Tooltip {
4
17
  constructor() {
5
18
  /**
6
19
  * Where the tooltip is going to show relative to the element it's describing.
7
20
  */
8
21
  this.position = 'bottom';
22
+ /**
23
+ * Determines if the tooltip has interactive content inside of it, so that it can be hovered over and clicked inside
24
+ * without hiding.
25
+ */
26
+ this.interactive = false;
27
+ /**
28
+ * Specifies the maximum width of the tooltip. Useful to prevent it from being too horizontally wide to read.
29
+ *
30
+ * If the viewport's width is smaller than maxWidth, core CSS ensures the tippy remains smaller than the screen.
31
+ */
32
+ this.maxWidth = 350;
33
+ /**
34
+ * Delay in ms once a trigger event is fired before the tooltip shows or hides.
35
+ *
36
+ * You can provide an array with two values to define a different duration for show and hide.
37
+ *
38
+ * `[showDelay, hideDelay]`
39
+ *
40
+ * Use null to use default value.
41
+ */
42
+ this.delay = 0;
43
+ /**
44
+ * Duration in ms of the transition animation.
45
+ */
46
+ this.duration = [300, 250];
47
+ /**
48
+ * Determines the events that cause the tooltip to show. Multiple event names are separated by spaces.
49
+ *
50
+ * See: https://atomiks.github.io/tippyjs/v6/all-props/#trigger
51
+ */
52
+ this.trigger = 'mouseenter focus';
53
+ /**
54
+ * Allows you to change the theme used by tippy.
55
+ *
56
+ * The WCS theme is used by default and uses the WCS CSS variables.
57
+ *
58
+ * You can create a theme by following this documentation and choosing a custom name :
59
+ * https://atomiks.github.io/tippyjs/v6/themes/
60
+ */
61
+ this.theme = 'wcs';
9
62
  }
10
63
  componentWillLoad() {
11
- const target = document.getElementById(this.for);
12
- if (target === null) {
13
- throw new Error(`Cannot find element with corresponding id: ${this.for}`);
14
- }
15
- this.target = target;
16
- this.listen('mouseenter', 'show');
17
- this.listen('focus', 'show');
18
- this.listen('mouseleave', 'hide');
19
- this.listen('blur', 'hide');
20
- this.listen('tap', 'hide');
64
+ this.tippyInstance = tippy(document.getElementById(this.for), {
65
+ theme: this.theme,
66
+ allowHTML: true,
67
+ content: this.el.innerHTML,
68
+ maxWidth: this.maxWidth,
69
+ placement: this.position,
70
+ delay: this.delay,
71
+ duration: this.duration,
72
+ interactive: this.interactive,
73
+ trigger: this.trigger
74
+ });
21
75
  }
22
- listen(eventName, className) {
23
- this.target.addEventListener(eventName, () => {
24
- if (className === 'hide') {
25
- this.content.classList.replace('show', 'hide');
26
- }
27
- else {
28
- this.content.classList.replace('hide', 'show');
29
- }
30
- this.updatePosition();
76
+ updateProps() {
77
+ this.tippyInstance.setProps({
78
+ interactive: this.interactive,
79
+ placement: this.position,
80
+ maxWidth: this.maxWidth,
81
+ theme: this.theme,
82
+ delay: this.delay,
83
+ duration: this.duration,
84
+ trigger: this.trigger
31
85
  });
32
86
  }
33
- componentDidRender() {
34
- const overlay = getOverlay();
35
- this.content = this.el.shadowRoot.querySelector('.wcs-tooltip-content');
36
- const nodes = this.el.shadowRoot.querySelector('slot')
37
- ? this.el.shadowRoot.querySelector('slot').assignedNodes()
38
- : this.content.querySelectorAll('*');
39
- nodes.forEach(n => this.content.appendChild(n.cloneNode(true)));
40
- this.content.remove();
41
- overlay.appendChild(this.content);
42
- this.updatePosition();
87
+ updateTippyContent() {
88
+ this.tippyInstance.setProps({
89
+ content: this.el.innerHTML
90
+ });
43
91
  }
44
- updatePosition() {
45
- // Function taken and adapted from https://github.com/PolymerElements/paper-tooltip/blob/master/paper-tooltip.js
46
- // Thanks ! :-)
47
- if (!this.target || !this.content.offsetParent) {
48
- return;
49
- }
50
- const parentRect = this.content.offsetParent.getBoundingClientRect();
51
- const targetRect = this.target.getBoundingClientRect();
52
- const thisRect = this.content.getBoundingClientRect();
53
- const borderWidth = 6;
54
- const horizontalCenterOffset = (targetRect.width - thisRect.width) / 2;
55
- const verticalCenterOffset = (targetRect.height - thisRect.height) / 2;
56
- const targetLeft = targetRect.left - parentRect.left;
57
- const targetTop = targetRect.top - parentRect.top;
58
- let tooltipLeft;
59
- let tooltipTop;
60
- switch (this.position) {
61
- case 'top':
62
- tooltipLeft = targetLeft + horizontalCenterOffset;
63
- tooltipTop = targetTop - thisRect.height - borderWidth;
64
- break;
65
- case 'bottom':
66
- tooltipLeft = targetLeft + horizontalCenterOffset;
67
- tooltipTop = targetTop + targetRect.height + borderWidth;
68
- break;
69
- case 'left':
70
- tooltipLeft = targetLeft - thisRect.width - borderWidth;
71
- tooltipTop = targetTop + verticalCenterOffset;
72
- break;
73
- case 'right':
74
- tooltipLeft = targetLeft + targetRect.width + borderWidth;
75
- tooltipTop = targetTop + verticalCenterOffset;
76
- break;
77
- }
78
- // Clip to the left/right side.
79
- if (parentRect.left + tooltipLeft + thisRect.width > window.innerWidth) {
80
- this.content.style.right = '0px';
81
- this.content.style.left = 'auto';
82
- }
83
- else {
84
- this.content.style.left = Math.max(0, tooltipLeft) + 'px';
85
- this.content.style.right = 'auto';
86
- }
87
- // Clip the top/bottom side.
88
- if (parentRect.top + tooltipTop + thisRect.height > window.innerHeight) {
89
- this.content.style.bottom = (parentRect.height - targetTop) + 'px';
90
- this.content.style.top = 'auto';
91
- }
92
- else {
93
- this.content.style.top = Math.max(-parentRect.top, tooltipTop) + 'px';
94
- this.content.style.bottom = 'auto';
95
- }
92
+ /**
93
+ * Programmatically hide the tooltip
94
+ */
95
+ async hide() {
96
+ this.tippyInstance.hide();
97
+ }
98
+ /**
99
+ * Programmatically show the tooltip
100
+ */
101
+ async show() {
102
+ this.tippyInstance.show();
103
+ }
104
+ /**
105
+ * Temporarily prevent the tooltip from showing or hiding
106
+ */
107
+ async disable() {
108
+ this.tippyInstance.disable();
109
+ }
110
+ /**
111
+ * Re-enable a disabled tooltip
112
+ */
113
+ async enable() {
114
+ this.tippyInstance.enable();
96
115
  }
97
116
  disconnectedCallback() {
98
- // TODO: this gets called only at the component creation in ff < 63
99
- // const overlay = getOverlay();
100
- // overlay.removeChild(this.content);
117
+ this.tippyInstance.destroy();
101
118
  }
102
119
  render() {
103
120
  return (h(Host, null,
104
- h("div", { class: "wcs-tooltip-content hide" },
105
- h("slot", null))));
121
+ h("slot", { onSlotchange: _ => this.updateTippyContent() })));
106
122
  }
107
123
  static get is() { return "wcs-tooltip"; }
108
124
  static get encapsulation() { return "shadow"; }
125
+ static get originalStyleUrls() { return {
126
+ "$": ["tooltip.scss"]
127
+ }; }
128
+ static get styleUrls() { return {
129
+ "$": ["tooltip.css"]
130
+ }; }
109
131
  static get properties() { return {
110
132
  "for": {
111
133
  "type": "string",
@@ -122,10 +144,10 @@ export class Tooltip {
122
144
  "name": "example",
123
145
  "text": "```html\n<span id=\"tooltiped\">Some content</span>\n<wcs-tooltip for=\"tooltiped\">A tooltip!</wcs-tooltip>\n```"
124
146
  }],
125
- "text": "The **id** of the element the tooltip's going to describe."
147
+ "text": "The **id** of the element the tooltip's going to describe.\n\nThis property cannot be modified after initialization."
126
148
  },
127
149
  "attribute": "for",
128
- "reflect": true
150
+ "reflect": false
129
151
  },
130
152
  "position": {
131
153
  "type": "string",
@@ -149,7 +171,203 @@ export class Tooltip {
149
171
  "attribute": "position",
150
172
  "reflect": true,
151
173
  "defaultValue": "'bottom'"
174
+ },
175
+ "interactive": {
176
+ "type": "boolean",
177
+ "mutable": false,
178
+ "complexType": {
179
+ "original": "boolean",
180
+ "resolved": "boolean",
181
+ "references": {}
182
+ },
183
+ "required": false,
184
+ "optional": false,
185
+ "docs": {
186
+ "tags": [],
187
+ "text": "Determines if the tooltip has interactive content inside of it, so that it can be hovered over and clicked inside\nwithout hiding."
188
+ },
189
+ "attribute": "interactive",
190
+ "reflect": false,
191
+ "defaultValue": "false"
192
+ },
193
+ "maxWidth": {
194
+ "type": "any",
195
+ "mutable": false,
196
+ "complexType": {
197
+ "original": "string | number",
198
+ "resolved": "number | string",
199
+ "references": {}
200
+ },
201
+ "required": false,
202
+ "optional": false,
203
+ "docs": {
204
+ "tags": [],
205
+ "text": "Specifies the maximum width of the tooltip. Useful to prevent it from being too horizontally wide to read.\n\nIf the viewport's width is smaller than maxWidth, core CSS ensures the tippy remains smaller than the screen."
206
+ },
207
+ "attribute": "max-width",
208
+ "reflect": false,
209
+ "defaultValue": "350"
210
+ },
211
+ "delay": {
212
+ "type": "number",
213
+ "mutable": false,
214
+ "complexType": {
215
+ "original": "number | [number, number]",
216
+ "resolved": "[number, number] | number",
217
+ "references": {}
218
+ },
219
+ "required": false,
220
+ "optional": false,
221
+ "docs": {
222
+ "tags": [],
223
+ "text": "Delay in ms once a trigger event is fired before the tooltip shows or hides.\n\nYou can provide an array with two values to define a different duration for show and hide.\n\n`[showDelay, hideDelay]`\n\nUse null to use default value."
224
+ },
225
+ "attribute": "delay",
226
+ "reflect": false,
227
+ "defaultValue": "0"
228
+ },
229
+ "duration": {
230
+ "type": "number",
231
+ "mutable": false,
232
+ "complexType": {
233
+ "original": "number | [number, number]",
234
+ "resolved": "[number, number] | number",
235
+ "references": {}
236
+ },
237
+ "required": false,
238
+ "optional": false,
239
+ "docs": {
240
+ "tags": [],
241
+ "text": "Duration in ms of the transition animation."
242
+ },
243
+ "attribute": "duration",
244
+ "reflect": false,
245
+ "defaultValue": "[300, 250]"
246
+ },
247
+ "trigger": {
248
+ "type": "string",
249
+ "mutable": false,
250
+ "complexType": {
251
+ "original": "string",
252
+ "resolved": "string",
253
+ "references": {}
254
+ },
255
+ "required": false,
256
+ "optional": false,
257
+ "docs": {
258
+ "tags": [],
259
+ "text": "Determines the events that cause the tooltip to show. Multiple event names are separated by spaces.\n\nSee: https://atomiks.github.io/tippyjs/v6/all-props/#trigger"
260
+ },
261
+ "attribute": "trigger",
262
+ "reflect": false,
263
+ "defaultValue": "'mouseenter focus'"
264
+ },
265
+ "theme": {
266
+ "type": "string",
267
+ "mutable": false,
268
+ "complexType": {
269
+ "original": "string",
270
+ "resolved": "string",
271
+ "references": {}
272
+ },
273
+ "required": false,
274
+ "optional": false,
275
+ "docs": {
276
+ "tags": [],
277
+ "text": "Allows you to change the theme used by tippy.\n\nThe WCS theme is used by default and uses the WCS CSS variables.\n\nYou can create a theme by following this documentation and choosing a custom name :\nhttps://atomiks.github.io/tippyjs/v6/themes/"
278
+ },
279
+ "attribute": "theme",
280
+ "reflect": false,
281
+ "defaultValue": "'wcs'"
282
+ }
283
+ }; }
284
+ static get methods() { return {
285
+ "hide": {
286
+ "complexType": {
287
+ "signature": "() => Promise<void>",
288
+ "parameters": [],
289
+ "references": {
290
+ "Promise": {
291
+ "location": "global"
292
+ }
293
+ },
294
+ "return": "Promise<void>"
295
+ },
296
+ "docs": {
297
+ "text": "Programmatically hide the tooltip",
298
+ "tags": []
299
+ }
300
+ },
301
+ "show": {
302
+ "complexType": {
303
+ "signature": "() => Promise<void>",
304
+ "parameters": [],
305
+ "references": {
306
+ "Promise": {
307
+ "location": "global"
308
+ }
309
+ },
310
+ "return": "Promise<void>"
311
+ },
312
+ "docs": {
313
+ "text": "Programmatically show the tooltip",
314
+ "tags": []
315
+ }
316
+ },
317
+ "disable": {
318
+ "complexType": {
319
+ "signature": "() => Promise<void>",
320
+ "parameters": [],
321
+ "references": {
322
+ "Promise": {
323
+ "location": "global"
324
+ }
325
+ },
326
+ "return": "Promise<void>"
327
+ },
328
+ "docs": {
329
+ "text": "Temporarily prevent the tooltip from showing or hiding",
330
+ "tags": []
331
+ }
332
+ },
333
+ "enable": {
334
+ "complexType": {
335
+ "signature": "() => Promise<void>",
336
+ "parameters": [],
337
+ "references": {
338
+ "Promise": {
339
+ "location": "global"
340
+ }
341
+ },
342
+ "return": "Promise<void>"
343
+ },
344
+ "docs": {
345
+ "text": "Re-enable a disabled tooltip",
346
+ "tags": []
347
+ }
152
348
  }
153
349
  }; }
154
350
  static get elementRef() { return "el"; }
351
+ static get watchers() { return [{
352
+ "propName": "interactive",
353
+ "methodName": "updateProps"
354
+ }, {
355
+ "propName": "position",
356
+ "methodName": "updateProps"
357
+ }, {
358
+ "propName": "maxWidth",
359
+ "methodName": "updateProps"
360
+ }, {
361
+ "propName": "theme",
362
+ "methodName": "updateProps"
363
+ }, {
364
+ "propName": "delay",
365
+ "methodName": "updateProps"
366
+ }, {
367
+ "propName": "duration",
368
+ "methodName": "updateProps"
369
+ }, {
370
+ "propName": "trigger",
371
+ "methodName": "updateProps"
372
+ }]; }
155
373
  }
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["wcs-editable-field",[[1,"wcs-editable-field",{"type":[1],"label":[1],"readonly":[4],"value":[1032],"validateFn":[16],"formatFn":[16],"errorMsg":[1,"error-msg"],"currentState":[32],"isError":[32]},[[8,"click","onWindowClickEvent"]]]]],["wcs-grid",[[1,"wcs-grid",{"serverMode":[4,"server-mode"],"data":[16],"loading":[4],"selectionConfig":[1,"selection-config"],"selectedItems":[8,"selected-items"],"wcsGridPaginationId":[1,"wcs-grid-pagination-id"],"rowIdPath":[1,"row-id-path"],"columns":[32],"paginationEl":[32],"rows":[32]},[[0,"wcsHiddenChange","onHiddenColumnChange"],[0,"wcsSortChange","sortChangeEventHandler"],[0,"wcsGridPaginationChange","paginationChangeEventHandler"],[8,"wcsGridPaginationChange","paginationChangeEventHandlerOutside"]]]]],["wcs-grid-pagination",[[1,"wcs-grid-pagination",{"availablePageSizes":[16],"currentPage":[2,"current-page"],"pageSize":[2,"page-size"],"itemsCount":[2,"items-count"],"pageCount":[2,"page-count"]}]]],["wcs-horizontal-stepper",[[1,"wcs-horizontal-stepper",{"currentStep":[1026,"current-step"],"steps":[16],"mode":[1],"checkOnComplete":[4,"check-on-complete"],"buttonMode":[32],"internalCurrentStep":[32],"previous":[64],"next":[64]}]]],["wcs-dropdown",[[1,"wcs-dropdown",{"noArrow":[4,"no-arrow"],"mode":[1],"shape":[1],"disabled":[4],"placement":[1],"expanded":[32]},[[8,"click","onWindowClickEvent"],[0,"wcsDropdownItemClick","dropdownItemClick"]]]]],["wcs-galactic-menu",[[1,"wcs-galactic-menu",{"text":[1],"showPopoverMenu":[32]},[[8,"click","onWindowClickEvent"]]]]],["wcs-input",[[1,"wcs-input",{"fireFocusEvents":[4,"fire-focus-events"],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"prefixLabel":[1,"prefix-label"],"suffixLabel":[1,"suffix-label"],"disabled":[4],"enterkeyhint":[1],"icon":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"state":[513],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["wcs-modal",[[4,"wcs-modal",{"backdrop":[516],"show":[1540],"showCloseButton":[516,"show-close-button"]},[[4,"keydown","onKeyDown"]]]]],["wcs-textarea",[[1,"wcs-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"icon":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"state":[513],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"fitContent":[64],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["wcs-action-bar",[[1,"wcs-action-bar",{"gutter":[4],"hasTabs":[32]}]]],["wcs-app",[[1,"wcs-app"]]],["wcs-badge",[[1,"wcs-badge",{"shape":[1],"color":[1]}]]],["wcs-card",[[1,"wcs-card",{"mode":[1537]}]]],["wcs-card-body",[[1,"wcs-card-body"]]],["wcs-com-nav",[[1,"wcs-com-nav",{"appName":[1,"app-name"]}]]],["wcs-com-nav-category",[[1,"wcs-com-nav-category",{"label":[1],"categoryOpen":[32],"close":[64],"open":[64]},[[8,"click","onWindowClickEvent"],[8,"wcsCategoryOpened","onSubmenuOpened"]]]]],["wcs-com-nav-submenu",[[1,"wcs-com-nav-submenu",{"label":[1],"panelTitle":[1,"panel-title"],"panelDescription":[1,"panel-description"],"menuOpen":[32],"close":[64],"open":[64]},[[8,"click","onWindowClickEvent"],[8,"wcsSubmenuOpened","onSubmenuOpened"],[0,"wcsCategoryItemClicked","wcsCategoryItemClickedHandler"]]]]],["wcs-divider",[[1,"wcs-divider"]]],["wcs-dropdown-divider",[[1,"wcs-dropdown-divider"]]],["wcs-dropdown-header",[[1,"wcs-dropdown-header"]]],["wcs-dropdown-item",[[4,"wcs-dropdown-item",null,[[1,"mousedown","onMouseDown"]]]]],["wcs-field",[[1,"wcs-field"]]],["wcs-field-content",[[1,"wcs-field-content"]]],["wcs-field-label",[[1,"wcs-field-label"]]],["wcs-footer",[[1,"wcs-footer"]]],["wcs-galactic",[[1,"wcs-galactic",{"text":[1],"show":[32]}]]],["wcs-grid-column",[[1,"wcs-grid-column",{"path":[1],"name":[1],"sort":[4],"sortFn":[16],"formatter":[16],"sortOrder":[1025,"sort-order"],"width":[1],"customCells":[4,"custom-cells"],"hidden":[4]}]]],["wcs-grid-custom-cell",[[1,"wcs-grid-custom-cell",{"columnId":[1,"column-id"],"rowId":[8,"row-id"]}]]],["wcs-header",[[1,"wcs-header"]]],["wcs-hint",[[1,"wcs-hint",{"small":[1540]}]]],["wcs-icon",[[0,"wcs-icon",{"icon":[1],"size":[1]}]]],["wcs-label",[[1,"wcs-label",{"required":[516]}]]],["wcs-list-item",[[1,"wcs-list-item",{"activated":[1028]}]]],["wcs-list-item-properties",[[1,"wcs-list-item-properties"]]],["wcs-list-item-property",[[1,"wcs-list-item-property"]]],["wcs-nav",[[1,"wcs-nav"]]],["wcs-nav-item",[[4,"wcs-nav-item",{"text":[513],"href":[1537]}]]],["wcs-progress-radial",[[1,"wcs-progress-radial",{"size":[2],"showLabel":[4,"show-label"],"value":[2]}]]],["wcs-radio-group",[[1,"wcs-radio-group",{"value":[8],"name":[520],"mode":[513]},[[0,"wcsRadioClick","selectedOptionChanged"]]]]],["wcs-switch",[[1,"wcs-switch",{"name":[1],"checked":[516],"labelAlignment":[513,"label-alignment"],"disabled":[4]}]]],["wcs-tab",[[1,"wcs-tab",{"header":[1537],"itemKey":[8,"item-key"]}]]],["wcs-tabs",[[1,"wcs-tabs",{"align":[1537],"selectedIndex":[2,"selected-index"],"selectedKey":[8,"selected-key"],"headersOnly":[4,"headers-only"],"gutter":[4],"headers":[32],"currentActiveTabIndex":[32]},[[0,"tabLoaded","onTabLoaded"]]]]],["wcs-tooltip",[[1,"wcs-tooltip",{"for":[513],"position":[513]}]]],["wcs-progress-bar",[[1,"wcs-progress-bar",{"small":[1028],"showLabel":[1028,"show-label"],"value":[1026]}]]],["wcs-radio",[[1,"wcs-radio",{"mode":[513],"value":[1544],"label":[1537],"checked":[1540],"disabled":[1028]}]]],["wcs-select_2",[[4,"wcs-select-option",{"disabled":[1540],"selected":[1540],"value":[8],"chipColor":[1,"chip-color"],"chipBackgroundColor":[1,"chip-background-color"],"multiple":[1540]},[[1,"mousedown","onMouseDown"]]],[1,"wcs-select",{"value":[1032],"placeholder":[1537],"disabled":[1028],"multiple":[516],"chips":[516],"name":[1],"compareWith":[16],"expanded":[32],"hasLoaded":[32],"displayText":[32],"focused":[32],"overlayDirection":[32],"open":[64],"close":[64]},[[1,"mousedown","onMouseDown"],[8,"click","onWindowClickEvent"],[0,"wcsSelectOptionClick","selectedOptionChanged"]]]]],["wcs-error_2",[[1,"wcs-error"],[1,"wcs-form-field",{"isError":[1540,"is-error"],"icon":[8],"hasPrefix":[32],"hasSuffix":[32],"spiedElement":[32]}]]],["wcs-spinner",[[1,"wcs-spinner",{"mode":[1537]}]]],["wcs-button",[[1,"wcs-button",{"type":[1025],"href":[1],"disabled":[516],"ripple":[4],"shape":[513],"mode":[513]},[[0,"click","onClick"]]]]],["wcs-checkbox",[[1,"wcs-checkbox",{"name":[1],"indeterminate":[1540],"checked":[1540],"labelAlignment":[1537,"label-alignment"],"disabled":[4]}]]],["wcs-mat-icon",[[1,"wcs-mat-icon",{"icon":[1],"size":[1],"family":[1],"familyFile":[32],"familyClass":[32]}]]]], options);
13
+ return bootstrapLazy([["wcs-editable-field",[[1,"wcs-editable-field",{"type":[1],"label":[1],"readonly":[4],"value":[1032],"validateFn":[16],"formatFn":[16],"errorMsg":[1,"error-msg"],"currentState":[32],"isError":[32]},[[8,"click","onWindowClickEvent"]]]]],["wcs-grid",[[1,"wcs-grid",{"serverMode":[4,"server-mode"],"data":[16],"loading":[4],"selectionConfig":[1,"selection-config"],"selectedItems":[8,"selected-items"],"wcsGridPaginationId":[1,"wcs-grid-pagination-id"],"rowIdPath":[1,"row-id-path"],"columns":[32],"paginationEl":[32],"rows":[32]},[[0,"wcsHiddenChange","onHiddenColumnChange"],[0,"wcsSortChange","sortChangeEventHandler"],[0,"wcsGridPaginationChange","paginationChangeEventHandler"],[8,"wcsGridPaginationChange","paginationChangeEventHandlerOutside"]]]]],["wcs-grid-pagination",[[1,"wcs-grid-pagination",{"availablePageSizes":[16],"currentPage":[2,"current-page"],"pageSize":[2,"page-size"],"itemsCount":[2,"items-count"],"pageCount":[2,"page-count"]}]]],["wcs-horizontal-stepper",[[1,"wcs-horizontal-stepper",{"currentStep":[1026,"current-step"],"steps":[16],"mode":[1],"checkOnComplete":[4,"check-on-complete"],"buttonMode":[32],"internalCurrentStep":[32],"previous":[64],"next":[64]}]]],["wcs-dropdown",[[1,"wcs-dropdown",{"noArrow":[4,"no-arrow"],"mode":[1],"shape":[1],"disabled":[4],"placement":[1],"expanded":[32]},[[8,"click","onWindowClickEvent"],[0,"wcsDropdownItemClick","dropdownItemClick"]]]]],["wcs-galactic-menu",[[1,"wcs-galactic-menu",{"text":[1],"showPopoverMenu":[32]},[[8,"click","onWindowClickEvent"]]]]],["wcs-input",[[1,"wcs-input",{"fireFocusEvents":[4,"fire-focus-events"],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"prefixLabel":[1,"prefix-label"],"suffixLabel":[1,"suffix-label"],"disabled":[4],"enterkeyhint":[1],"icon":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"state":[513],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["wcs-modal",[[4,"wcs-modal",{"withoutBackdrop":[516,"without-backdrop"],"show":[516],"showCloseButton":[516,"show-close-button"]},[[4,"keydown","onKeyDown"]]]]],["wcs-textarea",[[1,"wcs-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"icon":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"state":[513],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"fitContent":[64],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["wcs-action-bar",[[1,"wcs-action-bar",{"gutter":[4],"hasTabs":[32]}]]],["wcs-app",[[1,"wcs-app"]]],["wcs-badge",[[1,"wcs-badge",{"shape":[1],"color":[1]}]]],["wcs-card",[[1,"wcs-card",{"mode":[1537]}]]],["wcs-card-body",[[1,"wcs-card-body"]]],["wcs-com-nav",[[1,"wcs-com-nav",{"appName":[1,"app-name"]}]]],["wcs-com-nav-category",[[1,"wcs-com-nav-category",{"label":[1],"categoryOpen":[32],"close":[64],"open":[64]},[[8,"click","onWindowClickEvent"],[8,"wcsCategoryOpened","onSubmenuOpened"]]]]],["wcs-com-nav-submenu",[[1,"wcs-com-nav-submenu",{"label":[1],"panelTitle":[1,"panel-title"],"panelDescription":[1,"panel-description"],"menuOpen":[32],"close":[64],"open":[64]},[[8,"click","onWindowClickEvent"],[8,"wcsSubmenuOpened","onSubmenuOpened"],[0,"wcsCategoryItemClicked","wcsCategoryItemClickedHandler"]]]]],["wcs-divider",[[1,"wcs-divider"]]],["wcs-dropdown-divider",[[1,"wcs-dropdown-divider"]]],["wcs-dropdown-header",[[1,"wcs-dropdown-header"]]],["wcs-dropdown-item",[[4,"wcs-dropdown-item",null,[[1,"mousedown","onMouseDown"]]]]],["wcs-field",[[1,"wcs-field"]]],["wcs-field-content",[[1,"wcs-field-content"]]],["wcs-field-label",[[1,"wcs-field-label"]]],["wcs-footer",[[1,"wcs-footer"]]],["wcs-galactic",[[1,"wcs-galactic",{"text":[1],"show":[32]}]]],["wcs-grid-column",[[1,"wcs-grid-column",{"path":[1],"name":[1],"sort":[4],"sortFn":[16],"formatter":[16],"sortOrder":[1025,"sort-order"],"width":[1],"customCells":[4,"custom-cells"],"hidden":[4]}]]],["wcs-grid-custom-cell",[[1,"wcs-grid-custom-cell",{"columnId":[1,"column-id"],"rowId":[8,"row-id"]}]]],["wcs-header",[[1,"wcs-header"]]],["wcs-hint",[[1,"wcs-hint",{"small":[1540]}]]],["wcs-icon",[[0,"wcs-icon",{"icon":[1],"size":[1]}]]],["wcs-label",[[1,"wcs-label",{"required":[516]}]]],["wcs-list-item",[[1,"wcs-list-item",{"activated":[1028]}]]],["wcs-list-item-properties",[[1,"wcs-list-item-properties"]]],["wcs-list-item-property",[[1,"wcs-list-item-property"]]],["wcs-nav",[[1,"wcs-nav"]]],["wcs-nav-item",[[4,"wcs-nav-item",{"text":[513],"href":[513]}]]],["wcs-progress-radial",[[1,"wcs-progress-radial",{"size":[2],"showLabel":[4,"show-label"],"value":[2]}]]],["wcs-radio-group",[[1,"wcs-radio-group",{"value":[8],"name":[520],"mode":[513]},[[0,"wcsRadioClick","selectedOptionChanged"]]]]],["wcs-switch",[[1,"wcs-switch",{"name":[1],"checked":[516],"labelAlignment":[513,"label-alignment"],"disabled":[4]}]]],["wcs-tab",[[1,"wcs-tab",{"header":[513],"itemKey":[8,"item-key"]}]]],["wcs-tabs",[[1,"wcs-tabs",{"align":[513],"selectedIndex":[2,"selected-index"],"selectedKey":[8,"selected-key"],"headersOnly":[4,"headers-only"],"gutter":[4],"headers":[32],"currentActiveTabIndex":[32]},[[0,"tabLoaded","onTabLoaded"]]]]],["wcs-tooltip",[[1,"wcs-tooltip",{"for":[1],"position":[513],"interactive":[4],"maxWidth":[8,"max-width"],"delay":[2],"duration":[2],"trigger":[1],"theme":[1],"hide":[64],"show":[64],"disable":[64],"enable":[64]}]]],["wcs-progress-bar",[[1,"wcs-progress-bar",{"small":[4],"showLabel":[4,"show-label"],"value":[2]}]]],["wcs-radio",[[1,"wcs-radio",{"mode":[513],"value":[1544],"label":[1537],"checked":[1540],"disabled":[1028]}]]],["wcs-select_2",[[4,"wcs-select-option",{"disabled":[1540],"selected":[1540],"value":[8],"chipColor":[1,"chip-color"],"chipBackgroundColor":[1,"chip-background-color"],"multiple":[1540]},[[1,"mousedown","onMouseDown"]]],[1,"wcs-select",{"value":[1032],"placeholder":[1537],"disabled":[1028],"multiple":[516],"chips":[516],"name":[1],"compareWith":[16],"expanded":[32],"hasLoaded":[32],"displayText":[32],"focused":[32],"overlayDirection":[32],"open":[64],"close":[64]},[[1,"mousedown","onMouseDown"],[8,"click","onWindowClickEvent"],[0,"wcsSelectOptionClick","selectedOptionChanged"]]]]],["wcs-error_2",[[1,"wcs-error"],[1,"wcs-form-field",{"isError":[1540,"is-error"],"hasPrefix":[32],"hasSuffix":[32],"spiedElement":[32]}]]],["wcs-spinner",[[1,"wcs-spinner",{"mode":[513]}]]],["wcs-button",[[1,"wcs-button",{"type":[1025],"href":[1],"disabled":[516],"ripple":[4],"shape":[513],"mode":[513]},[[0,"click","onClick"]]]]],["wcs-checkbox",[[1,"wcs-checkbox",{"name":[1],"indeterminate":[1540],"checked":[1540],"labelAlignment":[1537,"label-alignment"],"disabled":[4]}]]],["wcs-mat-icon",[[1,"wcs-mat-icon",{"icon":[1],"size":[1],"family":[1],"familyFile":[32],"familyClass":[32]}]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1726,4 +1726,4 @@ var createPopper = /*#__PURE__*/popperGenerator({
1726
1726
  defaultModifiers: defaultModifiers
1727
1727
  }); // eslint-disable-next-line import/no-unused-modules
1728
1728
 
1729
- export { createPopper as c };
1729
+ export { applyStyles$1 as a, createPopper as c };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-b982604a.js';
2
2
  import { S as SelectArrow } from './select-arrow-73ac4016.js';
3
3
  import { c as clickTargetIsElementOrChildren } from './helpers-e2993152.js';
4
- import { c as createPopper } from './popper-e5fdfb6a.js';
4
+ import { c as createPopper } from './popper-5f42e560.js';
5
5
 
6
6
  const dropdownCss = ":host{display:flex}wcs-button{--wcs-button-padding:8px 10px 8px 16px !important}:host([no-arrow]) wcs-button{--wcs-button-padding:8px 16px 8px 16px !important}:host([shape=small]) wcs-button{--wcs-button-padding:2px 10px 2px 16px !important}:host([shape=small][no-arrow]) wcs-button{--wcs-button-padding:2px 16px 2px 16px !important}.wcs-button-content-wrapper{display:flex}.popover{display:none;border:1px solid #d7d7d7;border-radius:var(--wcs-border-radius);background-color:var(--wcs-white);z-index:9999}.show{display:block}.container{border-radius:inherit;overflow:hidden;padding:calc(var(--wcs-padding) / 2) 0;background-color:var(--wcs-white)}#arrow,#arrow::before{position:absolute;width:8px;height:8px;background:inherit;border:solid 1px #d7d7d7}#arrow{visibility:hidden;z-index:-1}#arrow::before{visibility:visible;content:\"\";transform:rotate(45deg)}.popover[data-popper-placement^=top]>#arrow{bottom:-5px}.popover[data-popper-placement^=bottom]>#arrow{top:-6px}.popover[data-popper-placement^=left]>#arrow{right:-4px}.popover[data-popper-placement^=right]>#arrow{left:-6px}";
7
7
 
@@ -12,7 +12,7 @@ let Label = class {
12
12
  };
13
13
  Label.style = errorCss;
14
14
 
15
- const formFieldCss = ":host{--wcs-form-field-icon-color:var(--wcs-text-medium);--wcs-form-field-border-radius-left:var(--wcs-border-radius);--wcs-form-field-border-radius-right:var(--wcs-border-radius);display:flex;flex-direction:column}.input-container{display:flex}::slotted(wcs-radio-group){margin-left:var(--wcs-base-margin)}::slotted(wcs-radio-group[mode=option]){margin-left:0}::slotted(wcs-select:not([slot=prefix])){width:100%}::slotted(label){font-weight:500;margin-bottom:8px}:host(.has-prefix){--wcs-input-border-radius-left:0}:host(.has-suffix){--wcs-input-border-radius-right:0}::slotted([slot=prefix]){--wcs-select-border-radius:var(--wcs-border-radius) 0 0 var(--wcs-border-radius);--wcs-select-background-color:var(--wcs-gray-light);--wcs-select-value-color:var(--wcs-white);--wcs-select-placeholder-color:var(--wcs-white);--wcs-select-border-color:var(--wcs-gray-light)}::slotted([slot=suffix]){--wcs-button-border-radius:0 var(--wcs-border-radius) var(--wcs-border-radius) 0}";
15
+ const formFieldCss = ":host{--wcs-form-field-border-radius-left:var(--wcs-border-radius);--wcs-form-field-border-radius-right:var(--wcs-border-radius);display:flex;flex-direction:column}.input-container{display:flex}::slotted(wcs-radio-group){margin-left:var(--wcs-base-margin)}::slotted(wcs-radio-group[mode=option]){margin-left:0}::slotted(wcs-select:not([slot=prefix])){width:100%}::slotted(label){font-weight:500;margin-bottom:8px}:host(.has-prefix){--wcs-input-border-radius-left:0}:host(.has-suffix){--wcs-input-border-radius-right:0}::slotted([slot=prefix]){--wcs-select-border-radius:var(--wcs-border-radius) 0 0 var(--wcs-border-radius);--wcs-select-background-color:var(--wcs-gray-light);--wcs-select-value-color:var(--wcs-white);--wcs-select-placeholder-color:var(--wcs-white);--wcs-select-border-color:var(--wcs-gray-light)}::slotted([slot=suffix]){--wcs-button-border-radius:0 var(--wcs-border-radius) var(--wcs-border-radius) 0}";
16
16
 
17
17
  let FormField = class {
18
18
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-b982604a.js';
2
2
  import { a as clickInsideElement } from './helpers-e2993152.js';
3
- import { c as createPopper } from './popper-e5fdfb6a.js';
3
+ import { c as createPopper } from './popper-5f42e560.js';
4
4
 
5
5
  const galacticMenuCss = "#menu{background-color:var(--wcs-gray);color:white;display:none;padding:var(--wcs-padding)}#menu[data-show]{display:block;z-index:9999}#menu[data-popper-placement^=top]>#arrow{bottom:-4px}#menu[data-popper-placement^=bottom]>#arrow{top:-4px}#menu[data-popper-placement^=left]>#arrow{right:-4px}#menu[data-popper-placement^=right]>#arrow{left:-4px}:host{display:flex;align-items:center;height:32px;padding-left:var(--wcs-padding);background-color:var(--wcs-gray-light)}#toggle-menu-icon{cursor:pointer;padding:0 var(--wcs-padding);user-select:none}#arrow,#arrow::before{position:absolute;width:8px;height:8px;background:inherit}#arrow{visibility:hidden}#arrow::before{visibility:visible;content:\"\";transform:rotate(45deg)}";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-b982604a.js';
2
2
 
3
- const matIconCss = ":host{display:flex}:host .size-s{font-size:18px}:host .size-m{font-size:24px}:host .size-l{font-size:36px}:host .size-xl{font-size:48px}";
3
+ const matIconCss = ":host{display:inline-block}:host .size-s{font-size:18px}:host .size-m{font-size:24px}:host .size-l{font-size:36px}:host .size-xl{font-size:48px}";
4
4
 
5
5
  let MatIcon = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-b982604a.js';
2
2
 
3
- const modalCss = "wcs-modal{--saas-fix-modal:rgba(var(--wcs-black), 0.5);z-index:999;position:fixed;top:0;bottom:0;left:0;right:0;display:none}wcs-modal[show]{display:block;width:100%;height:100%;opacity:1;display:block}wcs-modal[backdrop] .wcs-modal-backdrop{display:block;position:fixed;top:0;left:0;bottom:0;right:0;opacity:0.4;background-color:var(--wcs-black)}.wcs-modal-backdrop{display:none}.wcs-modal-container{position:fixed;top:50%;left:50%;min-width:400px;max-width:480px;transform:translate(-50%, -50%);pointer-events:auto;background-color:#fff;background-clip:padding-box;border:0 solid rgba(0, 0, 0, 0.2);border-radius:0.4375rem;outline:0;z-index:20000;display:block;padding:1.375rem 1.875rem 1.875rem 1.875rem}.wcs-modal-header{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.wcs-modal-header h5{font-size:24px;font-weight:400;margin:0}.wcs-modal-content{font-weight:400;font-size:16px}.wcs-modal-actions{margin-top:20px;float:right}";
3
+ const modalCss = "wcs-modal{--saas-fix-modal:rgba(var(--wcs-black), 0.5);z-index:999;position:fixed;top:0;bottom:0;left:0;right:0;display:none}wcs-modal[show]{display:block;width:100%;height:100%;opacity:1;display:block}wcs-modal[without-backdrop] .wcs-modal-backdrop{display:none}wcs-modal[without-backdrop] .wcs-modal-container{border:solid 1px var(--wcs-text-light)}.wcs-modal-backdrop{display:block;position:fixed;top:0;left:0;bottom:0;right:0;opacity:0.4;background-color:var(--wcs-black)}.wcs-modal-container{position:fixed;top:50%;left:50%;min-width:400px;max-width:480px;transform:translate(-50%, -50%);pointer-events:auto;background-color:#fff;background-clip:padding-box;border:0 solid rgba(0, 0, 0, 0.2);border-radius:0.4375rem;outline:0;z-index:20000;display:block;padding:1.375rem 1.875rem 1.875rem 1.875rem}.wcs-modal-header{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.wcs-modal-header h5{font-size:24px;font-weight:400;margin:0}.wcs-modal-content{font-weight:400;font-size:16px}.wcs-modal-actions{margin-top:20px;float:right}";
4
4
 
5
5
  let Modal = class {
6
6
  constructor(hostRef) {
@@ -9,7 +9,7 @@ let Modal = class {
9
9
  /**
10
10
  * Specifies whether the component should display a backdrop on the entire page
11
11
  */
12
- this.backdrop = true;
12
+ this.withoutBackdrop = false;
13
13
  /**
14
14
  * Displays the modal
15
15
  */
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b982604a.js';
2
2
 
3
- const radioGroupCss = ":host{display:flex}:host([mode=radio]){flex-direction:column}:host([mode=radio]) ::slotted([slot=option]:first-child){margin-top:0}:host([mode=radio]) ::slotted([slot=option]:last-child){margin-bottom:0}:host([mode=radio]) ::slotted([slot=options]){margin-top:calc(var(--wcs-base-margin) / 2);margin-bottom:calc(var(--wcs-base-margin) / 2)}:host([mode=option]){display:inline-flex;flex-direction:row;padding:calc(var(--wcs-base-margin) / 2);background-color:#4d4f53;border-radius:0.6875rem}";
3
+ const radioGroupCss = ":host{display:flex}:host([mode=radio]){flex-direction:column}:host([mode=radio]) ::slotted([slot=option]:first-child){margin-top:0}:host([mode=radio]) ::slotted([slot=option]:last-child){margin-bottom:0}:host([mode=radio]) ::slotted([slot=options]){margin-top:calc(var(--wcs-base-margin) / 2);margin-bottom:calc(var(--wcs-base-margin) / 2)}:host([mode=option]){display:inline-flex;flex-direction:row;padding:calc(var(--wcs-base-margin) / 2);background-color:#4d4f53;border-radius:0.6875rem}:host([mode=horizontal]){justify-content:space-between}";
4
4
 
5
5
  let RadioGroup = class {
6
6
  constructor(hostRef) {
@@ -15,9 +15,9 @@ let RadioGroup = class {
15
15
  if (this.value) {
16
16
  this.updateOptionsState(this.value, true);
17
17
  }
18
- if (this.mode === 'option') {
18
+ if (this.mode === 'option' || this.mode === 'horizontal') {
19
19
  for (const option of this.options) {
20
- option.mode = 'option';
20
+ option.mode = this.mode;
21
21
  }
22
22
  }
23
23
  }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b982604a.js';
2
2
 
3
- const radioCss = ":host([mode=radio]) input{display:none}:host([mode=radio]) label{padding:0.125rem 0 0;margin-bottom:0;color:var(--wcs-text-medium);background-color:transparent;border:none;font-weight:500 !important;transition:0.175s ease-in-out}:host([mode=radio]) label:before{transition:0.175s ease-in-out;border-radius:50%;margin-right:var(--wcs-base-margin);border:2px solid var(--wcs-text-disabled);position:relative;display:inline-block;top:3px;width:1.125rem;height:1.125rem;pointer-events:none;content:\"\";background-color:var(--wcs-white);box-sizing:border-box}:host([mode=radio]) label:after{transition:0.175s ease-in-out;position:relative;width:1.125rem;height:1.125rem;content:\"\";background:no-repeat 50%/50% 50%}:host([mode=radio][disabled]) label{color:var(--wcs-text-disabled)}:host([mode=radio]:not([disabled])) label{cursor:pointer}:host([mode=radio][checked]) label{color:var(--wcs-primary)}:host([mode=radio][checked]) label:before{border-color:var(--wcs-primary);background-color:var(--wcs-primary)}:host([mode=radio]:hover):not([disabled]) label{color:var(--wcs-primary)}:host([mode=radio]:hover):not([disabled]) label:before{border-color:var(--wcs-primary)}:host([mode=option]){padding:var(--wcs-base-margin) calc(var(--wcs-base-margin) / 2);font-weight:500 !important}:host([mode=option]) input{position:absolute;z-index:-1;opacity:0;box-sizing:border-box;padding:0}:host([mode=option]) label{padding:0.375rem 1.25rem 0.3125rem;margin-bottom:0;color:var(--wcs-white);white-space:nowrap;border-radius:0.4375rem}:host([mode=option][checked]) label{font-weight:500 !important;color:var(--wcs-primary);background-color:var(--wcs-white)}:host([mode=option][disabled]) label{color:var(--wcs-text-disabled)}:host([mode=option]:not([disabled])) label{cursor:pointer}";
3
+ const radioCss = ":host([mode=radio]) input,:host([mode=horizontal]) input{display:none}:host([mode=radio]) label,:host([mode=horizontal]) label{margin-bottom:0;color:var(--wcs-text-medium);background-color:transparent;font-weight:500 !important}:host([mode=radio]) label:before,:host([mode=horizontal]) label:before{border-radius:50%;border:2px solid var(--wcs-text-disabled);position:relative;width:1.125rem;height:1.125rem;pointer-events:none;content:\"\";background-color:var(--wcs-white)}:host([mode=radio]) label:after,:host([mode=horizontal]) label:after{transition:0.175s ease-in-out;position:relative;width:1.125rem;height:1.125rem;content:\"\";background:no-repeat 50%/50% 50%}:host([disabled]) label{color:var(--wcs-text-disabled)}:host(:not([disabled])) label{cursor:pointer}:host([mode=radio][checked]) label,:host([mode=horizontal][checked]) label{color:var(--wcs-primary)}:host([mode=radio][checked]) label:before,:host([mode=horizontal][checked]) label:before{border-color:var(--wcs-primary);background-color:var(--wcs-primary)}:host([mode=radio]:hover):not([disabled]) label,:host([mode=horizontal]:hover):not([disabled]) label{color:var(--wcs-primary)}:host([mode=radio]:hover):not([disabled]) label:before,:host([mode=horizontal]:hover):not([disabled]) label:before{border-color:var(--wcs-primary)}:host([mode=radio]) label{padding:0.125rem 0 0;border:none;transition:0.175s ease-in-out}:host([mode=radio]) label:before{transition:0.175s ease-in-out;margin-right:var(--wcs-base-margin);display:inline-block;top:3px;box-sizing:border-box}:host([mode=horizontal]) label:before{transition:background-color 0.175s ease-in-out;margin:auto auto var(--wcs-base-margin);display:block}:host([mode=option]){padding:var(--wcs-base-margin) calc(var(--wcs-base-margin) / 2);font-weight:500 !important}:host([mode=option]) input{position:absolute;z-index:-1;opacity:0;box-sizing:border-box;padding:0}:host([mode=option]) label{padding:0.375rem 1.25rem 0.3125rem;margin-bottom:0;color:var(--wcs-white);white-space:nowrap;border-radius:0.4375rem}:host([mode=option][checked]) label{font-weight:500 !important;color:var(--wcs-primary);background-color:var(--wcs-white)}";
4
4
 
5
5
  let Radio = class {
6
6
  constructor(hostRef) {