wcs-core 2.10.0 → 2.11.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 (61) hide show
  1. package/CHANGELOG.md +32 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/wcs-accordion-content.cjs.entry.js +19 -0
  4. package/dist/cjs/wcs-accordion-header.cjs.entry.js +16 -0
  5. package/dist/cjs/wcs-accordion-panel.cjs.entry.js +31 -0
  6. package/dist/cjs/wcs-accordion.cjs.entry.js +36 -0
  7. package/dist/cjs/wcs-button.cjs.entry.js +1 -1
  8. package/dist/cjs/wcs-dropdown.cjs.entry.js +3 -1
  9. package/dist/cjs/wcs-horizontal-stepper.cjs.entry.js +13 -10
  10. package/dist/cjs/wcs-mat-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/wcs-modal.cjs.entry.js +6 -2
  12. package/dist/cjs/wcs-tooltip.cjs.entry.js +10 -3
  13. package/dist/cjs/wcs.cjs.js +1 -1
  14. package/dist/collection/collection-manifest.json +4 -0
  15. package/dist/collection/components/accordion/accordion.js +38 -0
  16. package/dist/collection/components/accordion-content/accordion-content.css +4 -0
  17. package/dist/collection/components/accordion-content/accordion-content.js +15 -0
  18. package/dist/collection/components/accordion-header/accordion-header.js +9 -0
  19. package/dist/collection/components/accordion-panel/accordion-panel.css +35 -0
  20. package/dist/collection/components/accordion-panel/accordion-panel.js +89 -0
  21. package/dist/collection/components/button/button.css +12 -4
  22. package/dist/collection/components/dropdown/dropdown.js +3 -1
  23. package/dist/collection/components/horizontal-stepper/horizontal-stepper.js +14 -11
  24. package/dist/collection/components/mat-icon/mat-icon.css +3 -1
  25. package/dist/collection/components/modal/modal.css +16 -29
  26. package/dist/collection/components/modal/modal.js +25 -4
  27. package/dist/collection/components/tooltip/tooltip.js +28 -2
  28. package/dist/esm/loader.js +1 -1
  29. package/dist/esm/wcs-accordion-content.entry.js +15 -0
  30. package/dist/esm/wcs-accordion-header.entry.js +12 -0
  31. package/dist/esm/wcs-accordion-panel.entry.js +27 -0
  32. package/dist/esm/wcs-accordion.entry.js +32 -0
  33. package/dist/esm/wcs-button.entry.js +1 -1
  34. package/dist/esm/wcs-dropdown.entry.js +3 -1
  35. package/dist/esm/wcs-horizontal-stepper.entry.js +13 -10
  36. package/dist/esm/wcs-mat-icon.entry.js +1 -1
  37. package/dist/esm/wcs-modal.entry.js +6 -2
  38. package/dist/esm/wcs-tooltip.entry.js +10 -3
  39. package/dist/esm/wcs.js +1 -1
  40. package/dist/types/components/accordion/accordion.d.ts +12 -0
  41. package/dist/types/components/accordion-content/accordion-content.d.ts +3 -0
  42. package/dist/types/components/accordion-header/accordion-header.d.ts +3 -0
  43. package/dist/types/components/accordion-panel/accordion-panel.d.ts +8 -0
  44. package/dist/types/components/modal/modal.d.ts +4 -0
  45. package/dist/types/components/tooltip/tooltip.d.ts +12 -0
  46. package/dist/types/components.d.ts +72 -0
  47. package/dist/wcs/p-0c397250.entry.js +1 -0
  48. package/dist/wcs/p-2507b398.entry.js +1 -0
  49. package/dist/wcs/{p-ecbe5165.entry.js → p-3d1924c8.entry.js} +1 -1
  50. package/dist/wcs/{p-22813c8e.entry.js → p-66e74651.entry.js} +1 -1
  51. package/dist/wcs/p-706d195a.entry.js +1 -0
  52. package/dist/wcs/p-c295cfca.entry.js +1 -0
  53. package/dist/wcs/p-cf77e1d9.entry.js +1 -0
  54. package/dist/wcs/p-d45c7c63.entry.js +1 -0
  55. package/dist/wcs/p-df5baf36.entry.js +1 -0
  56. package/dist/wcs/{p-ff6d0dfd.entry.js → p-f00ef24c.entry.js} +1 -1
  57. package/dist/wcs/wcs.esm.js +1 -1
  58. package/package.json +1 -2
  59. package/dist/wcs/p-7c26f650.entry.js +0 -1
  60. package/dist/wcs/p-94a31f64.entry.js +0 -1
  61. package/dist/wcs/p-b5ffbea8.entry.js +0 -1
@@ -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[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%;box-sizing:border-box;max-width:100%;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-container[data-size=s]{width:288px}.wcs-modal-container[data-size=m]{width:480px}.wcs-modal-container[data-size=l]{width:864px}.wcs-modal-container[data-size=xl]{width:1200px}.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{z-index:999;position:fixed;top:0;bottom:0;left:0;right:0;display:none;background:rgba(0, 0, 0, 0.4)}wcs-modal[show]{display:flex;height:100vh;width:100vw;align-items:center;justify-content:center}wcs-modal[without-backdrop]{background-color:unset}wcs-modal[without-backdrop] .wcs-modal-container{border:solid 1px var(--wcs-text-light)}.wcs-modal-container{max-height:var(--wcs-modal-max-height, 80%);background-color:#fff;display:grid;grid-template-columns:100%;grid-template-rows:auto 1fr auto;box-sizing:border-box;pointer-events:auto;background-clip:padding-box;border:0 solid rgba(0, 0, 0, 0.2);border-radius:0.4375rem;z-index:20000;padding:1.375rem 1.875rem 1.875rem 1.875rem}.wcs-modal-container[data-size=s]{width:288px}.wcs-modal-container[data-size=m]{width:480px}.wcs-modal-container[data-size=l]{width:864px}.wcs-modal-container[data-size=xl]{width:1200px}.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;overflow-y:auto}.wcs-modal-actions{margin-top:20px;display:flex;justify-content:flex-end}";
4
4
 
5
5
  let Modal = class {
6
6
  constructor(hostRef) {
@@ -24,9 +24,13 @@ let Modal = class {
24
24
  * size best suited for the content and screen size displaying the modal. Remember to test responsiveness.
25
25
  */
26
26
  this.size = 'm';
27
+ /**
28
+ * Specifies whether the component should hide the actions slot or not
29
+ */
30
+ this.hideActions = false;
27
31
  }
28
32
  render() {
29
- return (h(Host, null, h("div", { class: "wcs-modal-backdrop" }), h("div", { class: "wcs-modal-container", "data-size": this.size }, h("div", { class: "wcs-modal-header" }, h("h5", null, h("slot", { name: "header" })), this.showCloseButton && (h("wcs-button", { shape: "round", mode: "clear", class: "wcs-dark", onClick: ($event) => this.onCloseButtonClick($event) }, h("i", { class: "material-icons" }, "close")))), h("div", { class: "wcs-modal-content" }, h("slot", null)), h("div", { class: "wcs-modal-actions" }, h("slot", { name: "actions" })))));
33
+ return (h(Host, null, h("div", { class: "wcs-modal-container", "data-size": this.size }, h("div", { class: "wcs-modal-header" }, h("h5", null, h("slot", { name: "header" })), this.showCloseButton && (h("wcs-button", { shape: "round", mode: "clear", class: "wcs-dark", onClick: ($event) => this.onCloseButtonClick($event) }, h("wcs-mat-icon", { icon: "close" })))), h("div", { class: "wcs-modal-content" }, h("slot", null)), !this.hideActions && (h("div", { class: "wcs-modal-actions" }, h("slot", { name: "actions" }))))));
30
34
  }
31
35
  onKeyDown(event) {
32
36
  if (this.showCloseButton && event.key === 'Escape') {
@@ -1560,7 +1560,7 @@ let Tooltip = class {
1560
1560
  this.tippyInstance = tippy(document.getElementById(this.for), {
1561
1561
  theme: this.theme,
1562
1562
  allowHTML: true,
1563
- content: this.el.innerHTML,
1563
+ content: this.getTooltipContentFromPropAndSlot(),
1564
1564
  maxWidth: this.maxWidth,
1565
1565
  placement: this.position,
1566
1566
  delay: this.delay,
@@ -1569,6 +1569,12 @@ let Tooltip = class {
1569
1569
  trigger: this.trigger
1570
1570
  });
1571
1571
  }
1572
+ getTooltipContentFromPropAndSlot() {
1573
+ if (this.content) {
1574
+ return this.content + this.el.innerHTML;
1575
+ }
1576
+ return this.el.innerHTML;
1577
+ }
1572
1578
  updateProps() {
1573
1579
  this.tippyInstance.setProps({
1574
1580
  interactive: this.interactive,
@@ -1582,7 +1588,7 @@ let Tooltip = class {
1582
1588
  }
1583
1589
  updateTippyContent() {
1584
1590
  this.tippyInstance.setProps({
1585
- content: this.el.innerHTML
1591
+ content: this.getTooltipContentFromPropAndSlot()
1586
1592
  });
1587
1593
  }
1588
1594
  /**
@@ -1623,7 +1629,8 @@ let Tooltip = class {
1623
1629
  "theme": ["updateProps"],
1624
1630
  "delay": ["updateProps"],
1625
1631
  "duration": ["updateProps"],
1626
- "trigger": ["updateProps"]
1632
+ "trigger": ["updateProps"],
1633
+ "content": ["updateTippyContent"]
1627
1634
  }; }
1628
1635
  };
1629
1636
  Tooltip.style = tooltipCss;
package/dist/esm/wcs.js CHANGED
@@ -13,5 +13,5 @@ const patchBrowser = () => {
13
13
  };
14
14
 
15
15
  patchBrowser().then(options => {
16
- 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"],"size":[1]},[[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);
16
+ 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-modal",[[4,"wcs-modal",{"withoutBackdrop":[516,"without-backdrop"],"show":[516],"showCloseButton":[516,"show-close-button"],"size":[1],"hideActions":[516,"hide-actions"]},[[4,"keydown","onKeyDown"]]]]],["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-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-accordion",[[1,"wcs-accordion",null,[[0,"wcsOpenChange","wcsOpenChangeHandler"]]]]],["wcs-accordion-content",[[1,"wcs-accordion-content"]]],["wcs-accordion-header",[[1,"wcs-accordion-header"]]],["wcs-accordion-panel",[[1,"wcs-accordion-panel",{"open":[1540],"close":[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],"content":[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);
17
17
  });
@@ -0,0 +1,12 @@
1
+ export declare class Accordion {
2
+ private el;
3
+ private accordionPanels;
4
+ componentWillLoad(): Promise<void> | void;
5
+ wcsOpenChangeHandler(event: CustomEvent<boolean>): void;
6
+ render(): any;
7
+ private getAllAccordionPanelsFromHostElement;
8
+ /**
9
+ * Close all accordion panels except the one that match the eventTarget reference
10
+ */
11
+ private closeAllAccordionsExcept;
12
+ }
@@ -0,0 +1,3 @@
1
+ export declare class AccordionContent {
2
+ render(): any;
3
+ }
@@ -0,0 +1,3 @@
1
+ export declare class AccordionHeader {
2
+ render(): any;
3
+ }
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class AccordionPanel {
3
+ open: boolean;
4
+ wcsOpenChange: EventEmitter<boolean>;
5
+ openChange(newValue: boolean): void;
6
+ close(): Promise<void>;
7
+ render(): any;
8
+ }
@@ -23,6 +23,10 @@ export declare class Modal {
23
23
  * size best suited for the content and screen size displaying the modal. Remember to test responsiveness.
24
24
  */
25
25
  size: ModalSize;
26
+ /**
27
+ * Specifies whether the component should hide the actions slot or not
28
+ */
29
+ hideActions: boolean;
26
30
  render(): any;
27
31
  private onKeyDown;
28
32
  private onCloseButtonClick;
@@ -65,9 +65,21 @@ export declare class Tooltip implements ComponentInterface {
65
65
  * https://atomiks.github.io/tippyjs/v6/themes/
66
66
  */
67
67
  theme: string;
68
+ /**
69
+ * You can use this property instead of the slot API to affect content in the tooltip.
70
+ *
71
+ * This makes it easier to manage the update if the tooltip contains elements that are not mutated when their
72
+ * content changes. Indeed, if the slot is used, the tooltip is updated only if the structure of the slotted DOM
73
+ * changes (the DOM must be mutated).
74
+ *
75
+ * The two APIs are not mutually exclusive, if both are filled in (the prop + the slot) the rendering will first
76
+ * display the content of this property and then the slotted elements.
77
+ */
78
+ content: string;
68
79
  private el;
69
80
  tippyInstance: Instance<Props>;
70
81
  componentWillLoad(): Promise<void> | void;
82
+ private getTooltipContentFromPropAndSlot;
71
83
  private updateProps;
72
84
  private updateTippyContent;
73
85
  /**
@@ -27,6 +27,16 @@ import { WcsTabChangeEvent, WcsTabsAlignment } from "./components/tabs/tabs-inte
27
27
  import { TextareaChangeEventDetail } from "./components/textarea/textarea-interface";
28
28
  import { WcsTooltipPosition } from "./components/tooltip/tooltip-interface";
29
29
  export namespace Components {
30
+ interface WcsAccordion {
31
+ }
32
+ interface WcsAccordionContent {
33
+ }
34
+ interface WcsAccordionHeader {
35
+ }
36
+ interface WcsAccordionPanel {
37
+ "close": () => Promise<void>;
38
+ "open": boolean;
39
+ }
30
40
  interface WcsActionBar {
31
41
  /**
32
42
  * Determines if the action bar should have a border at the bottom. You should not use this property if a gutter is already present on tabs
@@ -460,6 +470,10 @@ export namespace Components {
460
470
  "size": MaterialIconSize;
461
471
  }
462
472
  interface WcsModal {
473
+ /**
474
+ * Specifies whether the component should hide the actions slot or not
475
+ */
476
+ "hideActions": boolean;
463
477
  /**
464
478
  * Displays the modal
465
479
  */
@@ -745,6 +759,10 @@ export namespace Components {
745
759
  "wrap"?: 'hard' | 'soft' | 'off';
746
760
  }
747
761
  interface WcsTooltip {
762
+ /**
763
+ * You can use this property instead of the slot API to affect content in the tooltip. This makes it easier to manage the update if the tooltip contains elements that are not mutated when their content changes. Indeed, if the slot is used, the tooltip is updated only if the structure of the slotted DOM changes (the DOM must be mutated). The two APIs are not mutually exclusive, if both are filled in (the prop + the slot) the rendering will first display the content of this property and then the slotted elements.
764
+ */
765
+ "content": string;
748
766
  /**
749
767
  * Delay in ms once a trigger event is fired before the tooltip shows or hides. You can provide an array with two values to define a different duration for show and hide. `[showDelay, hideDelay]` Use null to use default value.
750
768
  */
@@ -797,6 +815,30 @@ export namespace Components {
797
815
  }
798
816
  }
799
817
  declare global {
818
+ interface HTMLWcsAccordionElement extends Components.WcsAccordion, HTMLStencilElement {
819
+ }
820
+ var HTMLWcsAccordionElement: {
821
+ prototype: HTMLWcsAccordionElement;
822
+ new (): HTMLWcsAccordionElement;
823
+ };
824
+ interface HTMLWcsAccordionContentElement extends Components.WcsAccordionContent, HTMLStencilElement {
825
+ }
826
+ var HTMLWcsAccordionContentElement: {
827
+ prototype: HTMLWcsAccordionContentElement;
828
+ new (): HTMLWcsAccordionContentElement;
829
+ };
830
+ interface HTMLWcsAccordionHeaderElement extends Components.WcsAccordionHeader, HTMLStencilElement {
831
+ }
832
+ var HTMLWcsAccordionHeaderElement: {
833
+ prototype: HTMLWcsAccordionHeaderElement;
834
+ new (): HTMLWcsAccordionHeaderElement;
835
+ };
836
+ interface HTMLWcsAccordionPanelElement extends Components.WcsAccordionPanel, HTMLStencilElement {
837
+ }
838
+ var HTMLWcsAccordionPanelElement: {
839
+ prototype: HTMLWcsAccordionPanelElement;
840
+ new (): HTMLWcsAccordionPanelElement;
841
+ };
800
842
  interface HTMLWcsActionBarElement extends Components.WcsActionBar, HTMLStencilElement {
801
843
  }
802
844
  var HTMLWcsActionBarElement: {
@@ -1116,6 +1158,10 @@ declare global {
1116
1158
  new (): HTMLWcsTooltipElement;
1117
1159
  };
1118
1160
  interface HTMLElementTagNameMap {
1161
+ "wcs-accordion": HTMLWcsAccordionElement;
1162
+ "wcs-accordion-content": HTMLWcsAccordionContentElement;
1163
+ "wcs-accordion-header": HTMLWcsAccordionHeaderElement;
1164
+ "wcs-accordion-panel": HTMLWcsAccordionPanelElement;
1119
1165
  "wcs-action-bar": HTMLWcsActionBarElement;
1120
1166
  "wcs-app": HTMLWcsAppElement;
1121
1167
  "wcs-badge": HTMLWcsBadgeElement;
@@ -1172,6 +1218,16 @@ declare global {
1172
1218
  }
1173
1219
  }
1174
1220
  declare namespace LocalJSX {
1221
+ interface WcsAccordion {
1222
+ }
1223
+ interface WcsAccordionContent {
1224
+ }
1225
+ interface WcsAccordionHeader {
1226
+ }
1227
+ interface WcsAccordionPanel {
1228
+ "onWcsOpenChange"?: (event: CustomEvent<boolean>) => void;
1229
+ "open"?: boolean;
1230
+ }
1175
1231
  interface WcsActionBar {
1176
1232
  /**
1177
1233
  * Determines if the action bar should have a border at the bottom. You should not use this property if a gutter is already present on tabs
@@ -1614,6 +1670,10 @@ declare namespace LocalJSX {
1614
1670
  "size"?: MaterialIconSize;
1615
1671
  }
1616
1672
  interface WcsModal {
1673
+ /**
1674
+ * Specifies whether the component should hide the actions slot or not
1675
+ */
1676
+ "hideActions"?: boolean;
1617
1677
  /**
1618
1678
  * Triggered when the user leaves the dialog with the closing button.
1619
1679
  */
@@ -1918,6 +1978,10 @@ declare namespace LocalJSX {
1918
1978
  "wrap"?: 'hard' | 'soft' | 'off';
1919
1979
  }
1920
1980
  interface WcsTooltip {
1981
+ /**
1982
+ * You can use this property instead of the slot API to affect content in the tooltip. This makes it easier to manage the update if the tooltip contains elements that are not mutated when their content changes. Indeed, if the slot is used, the tooltip is updated only if the structure of the slotted DOM changes (the DOM must be mutated). The two APIs are not mutually exclusive, if both are filled in (the prop + the slot) the rendering will first display the content of this property and then the slotted elements.
1983
+ */
1984
+ "content"?: string;
1921
1985
  /**
1922
1986
  * Delay in ms once a trigger event is fired before the tooltip shows or hides. You can provide an array with two values to define a different duration for show and hide. `[showDelay, hideDelay]` Use null to use default value.
1923
1987
  */
@@ -1953,6 +2017,10 @@ declare namespace LocalJSX {
1953
2017
  "trigger"?: string;
1954
2018
  }
1955
2019
  interface IntrinsicElements {
2020
+ "wcs-accordion": WcsAccordion;
2021
+ "wcs-accordion-content": WcsAccordionContent;
2022
+ "wcs-accordion-header": WcsAccordionHeader;
2023
+ "wcs-accordion-panel": WcsAccordionPanel;
1956
2024
  "wcs-action-bar": WcsActionBar;
1957
2025
  "wcs-app": WcsApp;
1958
2026
  "wcs-badge": WcsBadge;
@@ -2012,6 +2080,10 @@ export { LocalJSX as JSX };
2012
2080
  declare module "@stencil/core" {
2013
2081
  export namespace JSX {
2014
2082
  interface IntrinsicElements {
2083
+ "wcs-accordion": LocalJSX.WcsAccordion & JSXBase.HTMLAttributes<HTMLWcsAccordionElement>;
2084
+ "wcs-accordion-content": LocalJSX.WcsAccordionContent & JSXBase.HTMLAttributes<HTMLWcsAccordionContentElement>;
2085
+ "wcs-accordion-header": LocalJSX.WcsAccordionHeader & JSXBase.HTMLAttributes<HTMLWcsAccordionHeaderElement>;
2086
+ "wcs-accordion-panel": LocalJSX.WcsAccordionPanel & JSXBase.HTMLAttributes<HTMLWcsAccordionPanelElement>;
2015
2087
  "wcs-action-bar": LocalJSX.WcsActionBar & JSXBase.HTMLAttributes<HTMLWcsActionBarElement>;
2016
2088
  "wcs-app": LocalJSX.WcsApp & JSXBase.HTMLAttributes<HTMLWcsAppElement>;
2017
2089
  "wcs-badge": LocalJSX.WcsBadge & JSXBase.HTMLAttributes<HTMLWcsBadgeElement>;
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as s,g as i}from"./p-f46e6c3c.js";import{S as r}from"./p-7219c04b.js";import{c as e}from"./p-cf4d7a83.js";import{c as p}from"./p-d3c9a644.js";let a=class{constructor(o){t(this,o),this.noArrow=!1,this.mode="stroked",this.shape="normal",this.disabled=!1,this.placement="bottom-end",this.expanded=!1}placementChange(){this.popper.setOptions(Object.assign(Object.assign({},this.popper.state.options),{placement:this.placement})).then((()=>this.popper.update()))}componentDidLoad(){const t=this.el.shadowRoot.querySelector("wcs-button"),o=t.shadowRoot.querySelector("button");this.buttonTextColor=window.getComputedStyle(o).color;const s=this.el.shadowRoot.querySelector(".popover");this.popper=p(t,s,{placement:this.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]}),this.noArrow||(this.el.shadowRoot.querySelector(".arrow").style.fill=this.buttonTextColor),this.fixForFirefoxBelow63()}fixForFirefoxBelow63(){const t=this.el.querySelectorAll("wcs-dropdown-item"),o=this.el.querySelector(".container");t.length>0&&o&&t.forEach((t=>{this.el.removeChild(t),o.appendChild(t)}))}onButtonClick(t){this.expanded=!this.expanded}onWindowClickEvent(t){const o=e(t,this.el);this.expanded&&!o&&(this.expanded=!1)}dropdownItemClick(t){this.expanded=!1}componentDidRender(){this.popper&&this.popper.update(),this.noArrow||(this.el.shadowRoot.querySelector(".arrow").style.fill=this.buttonTextColor)}render(){return o(s,null,o("wcs-button",{mode:this.mode,shape:this.shape,disabled:this.disabled,onClick:t=>this.onButtonClick(t)},o("div",{class:"wcs-button-content-wrapper"},o("slot",{name:"placeholder"}),this.noArrow?null:o(r,{up:this.expanded}))),o("div",{class:(this.expanded?"show ":"")+"popover"},o("div",{id:"arrow","data-popper-arrow":!0}),o("div",{class:"container"},o("slot",{name:"item"}))))}get el(){return i(this)}static get watchers(){return{placement:["placementChange"]}}};a.style=':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}';export{a as wcs_dropdown}
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as s,H as a}from"./p-f46e6c3c.js";let e=class{constructor(s){t(this,s),this.wcsDialogClosed=o(this,"wcsDialogClosed",7),this.withoutBackdrop=!1,this.show=!1,this.showCloseButton=!1,this.size="m",this.hideActions=!1}render(){return s(a,null,s("div",{class:"wcs-modal-container","data-size":this.size},s("div",{class:"wcs-modal-header"},s("h5",null,s("slot",{name:"header"})),this.showCloseButton&&s("wcs-button",{shape:"round",mode:"clear",class:"wcs-dark",onClick:t=>this.onCloseButtonClick(t)},s("wcs-mat-icon",{icon:"close"}))),s("div",{class:"wcs-modal-content"},s("slot",null)),!this.hideActions&&s("div",{class:"wcs-modal-actions"},s("slot",{name:"actions"}))))}onKeyDown(t){this.showCloseButton&&"Escape"===t.key&&this.close()}onCloseButtonClick(t){this.close()}close(){this.show=!1,this.wcsDialogClosed.emit()}};e.style="wcs-modal{z-index:999;position:fixed;top:0;bottom:0;left:0;right:0;display:none;background:rgba(0, 0, 0, 0.4)}wcs-modal[show]{display:flex;height:100vh;width:100vw;align-items:center;justify-content:center}wcs-modal[without-backdrop]{background-color:unset}wcs-modal[without-backdrop] .wcs-modal-container{border:solid 1px var(--wcs-text-light)}.wcs-modal-container{max-height:var(--wcs-modal-max-height, 80%);background-color:#fff;display:grid;grid-template-columns:100%;grid-template-rows:auto 1fr auto;box-sizing:border-box;pointer-events:auto;background-clip:padding-box;border:0 solid rgba(0, 0, 0, 0.2);border-radius:0.4375rem;z-index:20000;padding:1.375rem 1.875rem 1.875rem 1.875rem}.wcs-modal-container[data-size=s]{width:288px}.wcs-modal-container[data-size=m]{width:480px}.wcs-modal-container[data-size=l]{width:864px}.wcs-modal-container[data-size=xl]{width:1200px}.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;overflow-y:auto}.wcs-modal-actions{margin-top:20px;display:flex;justify-content:flex-end}";export{e as wcs_modal}
@@ -3,4 +3,4 @@ import{r as n,h as t,H as e,g as o}from"./p-f46e6c3c.js";import{a as i,c as r}fr
3
3
  * tippy.js v6.3.7
4
4
  * (c) 2017-2021 atomiks
5
5
  * MIT License
6
- */var u={passive:!0,capture:!0},a=function(){return document.body};function c(n,t,e){if(Array.isArray(n)){var o=n[t];return null==o?Array.isArray(e)?e[t]:e:o}return n}function f(n,t){var e={}.toString.call(n);return 0===e.indexOf("[object")&&e.indexOf(t+"]")>-1}function s(n,t){return"function"==typeof n?n.apply(void 0,t):n}function d(n,t){return 0===t?n:function(o){clearTimeout(e),e=setTimeout((function(){n(o)}),t)};var e}function p(n){return[].concat(n)}function l(n,t){-1===n.indexOf(t)&&n.push(t)}function v(n){return[].slice.call(n)}function m(n){return Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{})}function h(){return document.createElement("div")}function b(n){return["Element","Fragment"].some((function(t){return f(n,t)}))}function y(n,t){n.forEach((function(n){n&&(n.style.transitionDuration=t+"ms")}))}function g(n,t){n.forEach((function(n){n&&n.setAttribute("data-state",t)}))}function w(n,t,e){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){n[o](t,e)}))}function O(n,t){for(var e=t;e;){var o;if(n.contains(e))return!0;e=null==e.getRootNode||null==(o=e.getRootNode())?void 0:o.host}return!1}var j={isTouch:!1},T=0;function x(){j.isTouch||(j.isTouch=!0,window.performance&&document.addEventListener("mousemove",k))}function k(){var n=performance.now();n-T<20&&(j.isTouch=!1,document.removeEventListener("mousemove",k)),T=n}function C(){var n,t=document.activeElement;(n=t)&&n._tippy&&n._tippy.reference===n&&t.blur&&!t._tippy.state.isVisible&&t.blur()}var A=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),P=Object.assign({appendTo:a,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),S=Object.keys(P);function U(n){var t=(n.plugins||[]).reduce((function(t,e){var o,i=e.name;return i&&(t[i]=void 0!==n[i]?n[i]:null!=(o=P[i])?o:e.defaultValue),t}),{});return Object.assign({},n,t)}function H(n,t){var e=Object.assign({},t,{content:s(t.content,[n])},t.ignoreAttributes?{}:function(n,t){return(t?Object.keys(U(Object.assign({},P,{plugins:t}))):S).reduce((function(t,e){var o=(n.getAttribute("data-tippy-"+e)||"").trim();if(!o)return t;if("content"===e)t[e]=o;else try{t[e]=JSON.parse(o)}catch(n){t[e]=o}return t}),{})}(n,t.plugins));return e.aria=Object.assign({},P.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function W(n,t){n.innerHTML=t}function B(n){var t=h();return!0===n?t.className="tippy-arrow":(t.className="tippy-svg-arrow",b(n)?t.appendChild(n):W(t,n)),t}function E(n,t){b(t.content)?(W(n,""),n.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?W(n,t.content):n.textContent=t.content)}function F(n){var t=n.firstElementChild,e=v(t.children);return{box:t,content:e.find((function(n){return n.classList.contains("tippy-content")})),arrow:e.find((function(n){return n.classList.contains("tippy-arrow")||n.classList.contains("tippy-svg-arrow")})),backdrop:e.find((function(n){return n.classList.contains("tippy-backdrop")}))}}function M(n){var t=h(),e=h();e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var o=h();function i(e,o){var i=F(t),r=i.box,u=i.content,a=i.arrow;o.theme?r.setAttribute("data-theme",o.theme):r.removeAttribute("data-theme"),"string"==typeof o.animation?r.setAttribute("data-animation",o.animation):r.removeAttribute("data-animation"),o.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?r.setAttribute("role",o.role):r.removeAttribute("role"),e.content===o.content&&e.allowHTML===o.allowHTML||E(u,n.props),o.arrow?a?e.arrow!==o.arrow&&(r.removeChild(a),r.appendChild(B(o.arrow))):r.appendChild(B(o.arrow)):a&&r.removeChild(a)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),E(o,n.props),t.appendChild(e),e.appendChild(o),i(n.props,n.props),{popper:t,onUpdate:i}}M.$$tippy=!0;var D=1,L=[],R=[];function q(n,t){var e,o,i,b,T,x,k,C,S=H(n,Object.assign({},P,U(m(t)))),W=!1,B=!1,E=!1,M=!1,q=[],I=d(gn,S.interactiveDebounce),N=D++,$=(C=S.plugins).filter((function(n,t){return C.indexOf(n)===t})),z={id:N,reference:n,popper:h(),popperInstance:null,props:S,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:$,clearDelayTimeouts:function(){clearTimeout(e),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){if(!z.state.isDestroyed){rn("onBeforeUpdate",[z,t]),bn();var e=z.props,o=H(n,Object.assign({},e,m(t),{ignoreAttributes:!0}));z.props=o,hn(),e.interactiveDebounce!==o.interactiveDebounce&&(cn(),I=d(gn,o.interactiveDebounce)),e.triggerTarget&&!o.triggerTarget?p(e.triggerTarget).forEach((function(n){n.removeAttribute("aria-expanded")})):o.triggerTarget&&n.removeAttribute("aria-expanded"),an(),on(),_&&_(e,o),z.popperInstance&&(Tn(),kn().forEach((function(n){requestAnimationFrame(n._tippy.popperInstance.forceUpdate)}))),rn("onAfterUpdate",[z,t])}},setContent:function(n){z.setProps({content:n})},show:function(){var n=z.state.isVisible,t=z.state.isDestroyed,e=!z.state.isEnabled,o=j.isTouch&&!z.props.touch,i=c(z.props.duration,0,P.duration);if(!(n||t||e||o||Z().hasAttribute("disabled")||(rn("onShow",[z],!1),!1===z.props.onShow(z)))){if(z.state.isVisible=!0,Y()&&(V.style.visibility="visible"),on(),pn(),z.state.isMounted||(V.style.transition="none"),Y()){var r=tn();y([r.box,r.content],0)}var u,f,d;x=function(){var n;if(z.state.isVisible&&!M){if(M=!0,V.style.transition=z.props.moveTransition,Y()&&z.props.animation){var t=tn(),e=t.box,o=t.content;y([e,o],i),g([e,o],"visible")}un(),an(),l(R,z),null==(n=z.popperInstance)||n.forceUpdate(),rn("onMount",[z]),z.props.animation&&Y()&&function(n){vn(n,(function(){z.state.isShown=!0,rn("onShown",[z])}))}(i)}},f=z.props.appendTo,d=Z(),(u=z.props.interactive&&f===a||"parent"===f?d.parentNode:s(f,[d])).contains(V)||u.appendChild(V),z.state.isMounted=!0,Tn()}},hide:function(){var n=!z.state.isVisible,t=z.state.isDestroyed,e=!z.state.isEnabled,o=c(z.props.duration,1,P.duration);if(!(n||t||e)&&(rn("onHide",[z],!1),!1!==z.props.onHide(z))){if(z.state.isVisible=!1,z.state.isShown=!1,M=!1,W=!1,Y()&&(V.style.visibility="hidden"),cn(),ln(),on(!0),Y()){var i=tn(),r=i.box,u=i.content;z.props.animation&&(y([r,u],o),g([r,u],"hidden"))}un(),an(),z.props.animation?Y()&&function(n,t){vn(n,(function(){!z.state.isVisible&&V.parentNode&&V.parentNode.contains(V)&&t()}))}(o,z.unmount):z.unmount()}},hideWithInteractivity:function(n){nn().addEventListener("mousemove",I),l(L,I),I(n)},enable:function(){z.state.isEnabled=!0},disable:function(){z.hide(),z.state.isEnabled=!1},unmount:function(){z.state.isVisible&&z.hide(),z.state.isMounted&&(xn(),kn().forEach((function(n){n._tippy.unmount()})),V.parentNode&&V.parentNode.removeChild(V),R=R.filter((function(n){return n!==z})),z.state.isMounted=!1,rn("onHidden",[z]))},destroy:function(){z.state.isDestroyed||(z.clearDelayTimeouts(),z.unmount(),bn(),delete n._tippy,z.state.isDestroyed=!0,rn("onDestroy",[z]))}};if(!S.render)return z;var J=S.render(z),V=J.popper,_=J.onUpdate;V.setAttribute("data-tippy-root",""),V.id="tippy-"+z.id,z.popper=V,n._tippy=z,V._tippy=z;var G=$.map((function(n){return n.fn(z)})),K=n.hasAttribute("aria-expanded");return hn(),an(),on(),rn("onCreate",[z]),S.showOnCreate&&Cn(),V.addEventListener("mouseenter",(function(){z.props.interactive&&z.state.isVisible&&z.clearDelayTimeouts()})),V.addEventListener("mouseleave",(function(){z.props.interactive&&z.props.trigger.indexOf("mouseenter")>=0&&nn().addEventListener("mousemove",I)})),z;function Q(){var n=z.props.touch;return Array.isArray(n)?n:[n,0]}function X(){return"hold"===Q()[0]}function Y(){var n;return!(null==(n=z.props.render)||!n.$$tippy)}function Z(){return k||n}function nn(){var n,t,e=Z().parentNode;return e&&null!=(t=p(e)[0])&&null!=(n=t.ownerDocument)&&n.body?t.ownerDocument:document}function tn(){return F(V)}function en(n){return z.state.isMounted&&!z.state.isVisible||j.isTouch||b&&"focus"===b.type?0:c(z.props.delay,n?0:1,P.delay)}function on(n){void 0===n&&(n=!1),V.style.pointerEvents=z.props.interactive&&!n?"":"none",V.style.zIndex=""+z.props.zIndex}function rn(n,t,e){var o;void 0===e&&(e=!0),G.forEach((function(e){e[n]&&e[n].apply(e,t)})),e&&(o=z.props)[n].apply(o,t)}function un(){var t=z.props.aria;if(t.content){var e="aria-"+t.content,o=V.id;p(z.props.triggerTarget||n).forEach((function(n){var t=n.getAttribute(e);if(z.state.isVisible)n.setAttribute(e,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?n.setAttribute(e,i):n.removeAttribute(e)}}))}}function an(){!K&&z.props.aria.expanded&&p(z.props.triggerTarget||n).forEach((function(n){z.props.interactive?n.setAttribute("aria-expanded",z.state.isVisible&&n===Z()?"true":"false"):n.removeAttribute("aria-expanded")}))}function cn(){nn().removeEventListener("mousemove",I),L=L.filter((function(n){return n!==I}))}function fn(t){if(!j.isTouch||!E&&"mousedown"!==t.type){var e=t.composedPath&&t.composedPath()[0]||t.target;if(!z.props.interactive||!O(V,e)){if(p(z.props.triggerTarget||n).some((function(n){return O(n,e)}))){if(j.isTouch)return;if(z.state.isVisible&&z.props.trigger.indexOf("click")>=0)return}else rn("onClickOutside",[z,t]);!0===z.props.hideOnClick&&(z.clearDelayTimeouts(),z.hide(),B=!0,setTimeout((function(){B=!1})),z.state.isMounted||ln())}}}function sn(){E=!0}function dn(){E=!1}function pn(){var n=nn();n.addEventListener("mousedown",fn,!0),n.addEventListener("touchend",fn,u),n.addEventListener("touchstart",dn,u),n.addEventListener("touchmove",sn,u)}function ln(){var n=nn();n.removeEventListener("mousedown",fn,!0),n.removeEventListener("touchend",fn,u),n.removeEventListener("touchstart",dn,u),n.removeEventListener("touchmove",sn,u)}function vn(n,t){var e=tn().box;function o(n){n.target===e&&(w(e,"remove",o),t())}if(0===n)return t();w(e,"remove",T),w(e,"add",o),T=o}function mn(t,e,o){void 0===o&&(o=!1),p(z.props.triggerTarget||n).forEach((function(n){n.addEventListener(t,e,o),q.push({node:n,eventType:t,handler:e,options:o})}))}function hn(){var n;X()&&(mn("touchstart",yn,{passive:!0}),mn("touchend",wn,{passive:!0})),(n=z.props.trigger,n.split(/\s+/).filter(Boolean)).forEach((function(n){if("manual"!==n)switch(mn(n,yn),n){case"mouseenter":mn("mouseleave",wn);break;case"focus":mn(A?"focusout":"blur",On);break;case"focusin":mn("focusout",On)}}))}function bn(){q.forEach((function(n){n.node.removeEventListener(n.eventType,n.handler,n.options)})),q=[]}function yn(n){var t,e=!1;if(z.state.isEnabled&&!jn(n)&&!B){var o="focus"===(null==(t=b)?void 0:t.type);b=n,k=n.currentTarget,an(),!z.state.isVisible&&f(n,"MouseEvent")&&L.forEach((function(t){return t(n)})),"click"===n.type&&(z.props.trigger.indexOf("mouseenter")<0||W)&&!1!==z.props.hideOnClick&&z.state.isVisible?e=!0:Cn(n),"click"===n.type&&(W=!e),e&&!o&&An(n)}}function gn(n){var t=n.target,e=Z().contains(t)||V.contains(t);"mousemove"===n.type&&e||function(n,t){var e=t.clientX,o=t.clientY;return n.every((function(n){var t=n.popperRect,i=n.popperState,r=n.props.interactiveBorder,u=i.placement.split("-")[0],a=i.modifiersData.offset;return!a||t.top-o+("bottom"===u?a.top.y:0)>r||o-t.bottom-("top"===u?a.bottom.y:0)>r||t.left-e+("right"===u?a.left.x:0)>r||e-t.right-("left"===u?a.right.x:0)>r}))}(kn().concat(V).map((function(n){var t,e=null==(t=n._tippy.popperInstance)?void 0:t.state;return e?{popperRect:n.getBoundingClientRect(),popperState:e,props:S}:null})).filter(Boolean),n)&&(cn(),An(n))}function wn(n){jn(n)||z.props.trigger.indexOf("click")>=0&&W||(z.props.interactive?z.hideWithInteractivity(n):An(n))}function On(n){z.props.trigger.indexOf("focusin")<0&&n.target!==Z()||z.props.interactive&&n.relatedTarget&&V.contains(n.relatedTarget)||An(n)}function jn(n){return!!j.isTouch&&X()!==n.type.indexOf("touch")>=0}function Tn(){xn();var t=z.props,e=t.popperOptions,o=t.placement,i=t.offset,u=t.getReferenceClientRect,a=t.moveTransition,c=Y()?F(V).arrow:null,f=u?{getBoundingClientRect:u,contextElement:u.contextElement||Z()}:n,s=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(n){var t=n.state;if(Y()){var e=tn().box;["placement","reference-hidden","escaped"].forEach((function(n){"placement"===n?e.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+n]?e.setAttribute("data-"+n,""):e.removeAttribute("data-"+n)})),t.attributes.popper={}}}}];Y()&&c&&s.push({name:"arrow",options:{element:c,padding:3}}),s.push.apply(s,(null==e?void 0:e.modifiers)||[]),z.popperInstance=r(f,V,Object.assign({},e,{placement:o,onFirstUpdate:x,modifiers:s}))}function xn(){z.popperInstance&&(z.popperInstance.destroy(),z.popperInstance=null)}function kn(){return v(V.querySelectorAll("[data-tippy-root]"))}function Cn(n){z.clearDelayTimeouts(),n&&rn("onTrigger",[z,n]),pn();var t=en(!0),o=Q(),i=o[1];j.isTouch&&"hold"===o[0]&&i&&(t=i),t?e=setTimeout((function(){z.show()}),t):z.show()}function An(n){if(z.clearDelayTimeouts(),rn("onUntrigger",[z,n]),z.state.isVisible){if(!(z.props.trigger.indexOf("mouseenter")>=0&&z.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(n.type)>=0&&W)){var t=en(!1);t?o=setTimeout((function(){z.state.isVisible&&z.hide()}),t):i=requestAnimationFrame((function(){z.hide()}))}}else ln()}}function I(n,t){void 0===t&&(t={});var e=P.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",x,u),window.addEventListener("blur",C);var o,i=Object.assign({},t,{plugins:e}),r=(o=n,b(o)?[o]:function(n){return f(n,"NodeList")}(o)?v(o):Array.isArray(o)?o:v(document.querySelectorAll(o))).reduce((function(n,t){var e=t&&q(t,i);return e&&n.push(e),n}),[]);return b(n)?r[0]:r}I.defaultProps=P,I.setDefaultProps=function(n){Object.keys(n).forEach((function(t){P[t]=n[t]}))},I.currentInput=j,Object.assign({},i,{effect:function(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow)}}),I.setDefaultProps({render:M});let N=class{constructor(t){n(this,t),this.position="bottom",this.interactive=!1,this.maxWidth=350,this.delay=0,this.duration=[300,250],this.trigger="mouseenter focus",this.theme="wcs"}componentWillLoad(){this.tippyInstance=I(document.getElementById(this.for),{theme:this.theme,allowHTML:!0,content:this.el.innerHTML,maxWidth:this.maxWidth,placement:this.position,delay:this.delay,duration:this.duration,interactive:this.interactive,trigger:this.trigger})}updateProps(){this.tippyInstance.setProps({interactive:this.interactive,placement:this.position,maxWidth:this.maxWidth,theme:this.theme,delay:this.delay,duration:this.duration,trigger:this.trigger})}updateTippyContent(){this.tippyInstance.setProps({content:this.el.innerHTML})}async hide(){this.tippyInstance.hide()}async show(){this.tippyInstance.show()}async disable(){this.tippyInstance.disable()}async enable(){this.tippyInstance.enable()}disconnectedCallback(){this.tippyInstance.destroy()}render(){return t(e,null,t("slot",{onSlotchange:()=>this.updateTippyContent()}))}get el(){return o(this)}static get watchers(){return{interactive:["updateProps"],position:["updateProps"],maxWidth:["updateProps"],theme:["updateProps"],delay:["updateProps"],duration:["updateProps"],trigger:["updateProps"]}}};N.style=":host{display:none}";export{N as wcs_tooltip}
6
+ */var u={passive:!0,capture:!0},a=function(){return document.body};function c(n,t,e){if(Array.isArray(n)){var o=n[t];return null==o?Array.isArray(e)?e[t]:e:o}return n}function f(n,t){var e={}.toString.call(n);return 0===e.indexOf("[object")&&e.indexOf(t+"]")>-1}function s(n,t){return"function"==typeof n?n.apply(void 0,t):n}function d(n,t){return 0===t?n:function(o){clearTimeout(e),e=setTimeout((function(){n(o)}),t)};var e}function p(n){return[].concat(n)}function l(n,t){-1===n.indexOf(t)&&n.push(t)}function v(n){return[].slice.call(n)}function m(n){return Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{})}function h(){return document.createElement("div")}function b(n){return["Element","Fragment"].some((function(t){return f(n,t)}))}function y(n,t){n.forEach((function(n){n&&(n.style.transitionDuration=t+"ms")}))}function g(n,t){n.forEach((function(n){n&&n.setAttribute("data-state",t)}))}function w(n,t,e){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){n[o](t,e)}))}function O(n,t){for(var e=t;e;){var o;if(n.contains(e))return!0;e=null==e.getRootNode||null==(o=e.getRootNode())?void 0:o.host}return!1}var T={isTouch:!1},j=0;function x(){T.isTouch||(T.isTouch=!0,window.performance&&document.addEventListener("mousemove",k))}function k(){var n=performance.now();n-j<20&&(T.isTouch=!1,document.removeEventListener("mousemove",k)),j=n}function C(){var n,t=document.activeElement;(n=t)&&n._tippy&&n._tippy.reference===n&&t.blur&&!t._tippy.state.isVisible&&t.blur()}var A=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),P=Object.assign({appendTo:a,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),S=Object.keys(P);function U(n){var t=(n.plugins||[]).reduce((function(t,e){var o,i=e.name;return i&&(t[i]=void 0!==n[i]?n[i]:null!=(o=P[i])?o:e.defaultValue),t}),{});return Object.assign({},n,t)}function F(n,t){var e=Object.assign({},t,{content:s(t.content,[n])},t.ignoreAttributes?{}:function(n,t){return(t?Object.keys(U(Object.assign({},P,{plugins:t}))):S).reduce((function(t,e){var o=(n.getAttribute("data-tippy-"+e)||"").trim();if(!o)return t;if("content"===e)t[e]=o;else try{t[e]=JSON.parse(o)}catch(n){t[e]=o}return t}),{})}(n,t.plugins));return e.aria=Object.assign({},P.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function H(n,t){n.innerHTML=t}function W(n){var t=h();return!0===n?t.className="tippy-arrow":(t.className="tippy-svg-arrow",b(n)?t.appendChild(n):H(t,n)),t}function B(n,t){b(t.content)?(H(n,""),n.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?H(n,t.content):n.textContent=t.content)}function E(n){var t=n.firstElementChild,e=v(t.children);return{box:t,content:e.find((function(n){return n.classList.contains("tippy-content")})),arrow:e.find((function(n){return n.classList.contains("tippy-arrow")||n.classList.contains("tippy-svg-arrow")})),backdrop:e.find((function(n){return n.classList.contains("tippy-backdrop")}))}}function M(n){var t=h(),e=h();e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var o=h();function i(e,o){var i=E(t),r=i.box,u=i.content,a=i.arrow;o.theme?r.setAttribute("data-theme",o.theme):r.removeAttribute("data-theme"),"string"==typeof o.animation?r.setAttribute("data-animation",o.animation):r.removeAttribute("data-animation"),o.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?r.setAttribute("role",o.role):r.removeAttribute("role"),e.content===o.content&&e.allowHTML===o.allowHTML||B(u,n.props),o.arrow?a?e.arrow!==o.arrow&&(r.removeChild(a),r.appendChild(W(o.arrow))):r.appendChild(W(o.arrow)):a&&r.removeChild(a)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),B(o,n.props),t.appendChild(e),e.appendChild(o),i(n.props,n.props),{popper:t,onUpdate:i}}M.$$tippy=!0;var D=1,L=[],R=[];function q(n,t){var e,o,i,b,j,x,k,C,S=F(n,Object.assign({},P,U(m(t)))),H=!1,W=!1,B=!1,M=!1,q=[],I=d(gn,S.interactiveDebounce),N=D++,$=(C=S.plugins).filter((function(n,t){return C.indexOf(n)===t})),z={id:N,reference:n,popper:h(),popperInstance:null,props:S,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:$,clearDelayTimeouts:function(){clearTimeout(e),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){if(!z.state.isDestroyed){rn("onBeforeUpdate",[z,t]),bn();var e=z.props,o=F(n,Object.assign({},e,m(t),{ignoreAttributes:!0}));z.props=o,hn(),e.interactiveDebounce!==o.interactiveDebounce&&(cn(),I=d(gn,o.interactiveDebounce)),e.triggerTarget&&!o.triggerTarget?p(e.triggerTarget).forEach((function(n){n.removeAttribute("aria-expanded")})):o.triggerTarget&&n.removeAttribute("aria-expanded"),an(),on(),_&&_(e,o),z.popperInstance&&(jn(),kn().forEach((function(n){requestAnimationFrame(n._tippy.popperInstance.forceUpdate)}))),rn("onAfterUpdate",[z,t])}},setContent:function(n){z.setProps({content:n})},show:function(){var n=z.state.isVisible,t=z.state.isDestroyed,e=!z.state.isEnabled,o=T.isTouch&&!z.props.touch,i=c(z.props.duration,0,P.duration);if(!(n||t||e||o||Z().hasAttribute("disabled")||(rn("onShow",[z],!1),!1===z.props.onShow(z)))){if(z.state.isVisible=!0,Y()&&(V.style.visibility="visible"),on(),pn(),z.state.isMounted||(V.style.transition="none"),Y()){var r=tn();y([r.box,r.content],0)}var u,f,d;x=function(){var n;if(z.state.isVisible&&!M){if(M=!0,V.style.transition=z.props.moveTransition,Y()&&z.props.animation){var t=tn(),e=t.box,o=t.content;y([e,o],i),g([e,o],"visible")}un(),an(),l(R,z),null==(n=z.popperInstance)||n.forceUpdate(),rn("onMount",[z]),z.props.animation&&Y()&&function(n){vn(n,(function(){z.state.isShown=!0,rn("onShown",[z])}))}(i)}},f=z.props.appendTo,d=Z(),(u=z.props.interactive&&f===a||"parent"===f?d.parentNode:s(f,[d])).contains(V)||u.appendChild(V),z.state.isMounted=!0,jn()}},hide:function(){var n=!z.state.isVisible,t=z.state.isDestroyed,e=!z.state.isEnabled,o=c(z.props.duration,1,P.duration);if(!(n||t||e)&&(rn("onHide",[z],!1),!1!==z.props.onHide(z))){if(z.state.isVisible=!1,z.state.isShown=!1,M=!1,H=!1,Y()&&(V.style.visibility="hidden"),cn(),ln(),on(!0),Y()){var i=tn(),r=i.box,u=i.content;z.props.animation&&(y([r,u],o),g([r,u],"hidden"))}un(),an(),z.props.animation?Y()&&function(n,t){vn(n,(function(){!z.state.isVisible&&V.parentNode&&V.parentNode.contains(V)&&t()}))}(o,z.unmount):z.unmount()}},hideWithInteractivity:function(n){nn().addEventListener("mousemove",I),l(L,I),I(n)},enable:function(){z.state.isEnabled=!0},disable:function(){z.hide(),z.state.isEnabled=!1},unmount:function(){z.state.isVisible&&z.hide(),z.state.isMounted&&(xn(),kn().forEach((function(n){n._tippy.unmount()})),V.parentNode&&V.parentNode.removeChild(V),R=R.filter((function(n){return n!==z})),z.state.isMounted=!1,rn("onHidden",[z]))},destroy:function(){z.state.isDestroyed||(z.clearDelayTimeouts(),z.unmount(),bn(),delete n._tippy,z.state.isDestroyed=!0,rn("onDestroy",[z]))}};if(!S.render)return z;var J=S.render(z),V=J.popper,_=J.onUpdate;V.setAttribute("data-tippy-root",""),V.id="tippy-"+z.id,z.popper=V,n._tippy=z,V._tippy=z;var G=$.map((function(n){return n.fn(z)})),K=n.hasAttribute("aria-expanded");return hn(),an(),on(),rn("onCreate",[z]),S.showOnCreate&&Cn(),V.addEventListener("mouseenter",(function(){z.props.interactive&&z.state.isVisible&&z.clearDelayTimeouts()})),V.addEventListener("mouseleave",(function(){z.props.interactive&&z.props.trigger.indexOf("mouseenter")>=0&&nn().addEventListener("mousemove",I)})),z;function Q(){var n=z.props.touch;return Array.isArray(n)?n:[n,0]}function X(){return"hold"===Q()[0]}function Y(){var n;return!(null==(n=z.props.render)||!n.$$tippy)}function Z(){return k||n}function nn(){var n,t,e=Z().parentNode;return e&&null!=(t=p(e)[0])&&null!=(n=t.ownerDocument)&&n.body?t.ownerDocument:document}function tn(){return E(V)}function en(n){return z.state.isMounted&&!z.state.isVisible||T.isTouch||b&&"focus"===b.type?0:c(z.props.delay,n?0:1,P.delay)}function on(n){void 0===n&&(n=!1),V.style.pointerEvents=z.props.interactive&&!n?"":"none",V.style.zIndex=""+z.props.zIndex}function rn(n,t,e){var o;void 0===e&&(e=!0),G.forEach((function(e){e[n]&&e[n].apply(e,t)})),e&&(o=z.props)[n].apply(o,t)}function un(){var t=z.props.aria;if(t.content){var e="aria-"+t.content,o=V.id;p(z.props.triggerTarget||n).forEach((function(n){var t=n.getAttribute(e);if(z.state.isVisible)n.setAttribute(e,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?n.setAttribute(e,i):n.removeAttribute(e)}}))}}function an(){!K&&z.props.aria.expanded&&p(z.props.triggerTarget||n).forEach((function(n){z.props.interactive?n.setAttribute("aria-expanded",z.state.isVisible&&n===Z()?"true":"false"):n.removeAttribute("aria-expanded")}))}function cn(){nn().removeEventListener("mousemove",I),L=L.filter((function(n){return n!==I}))}function fn(t){if(!T.isTouch||!B&&"mousedown"!==t.type){var e=t.composedPath&&t.composedPath()[0]||t.target;if(!z.props.interactive||!O(V,e)){if(p(z.props.triggerTarget||n).some((function(n){return O(n,e)}))){if(T.isTouch)return;if(z.state.isVisible&&z.props.trigger.indexOf("click")>=0)return}else rn("onClickOutside",[z,t]);!0===z.props.hideOnClick&&(z.clearDelayTimeouts(),z.hide(),W=!0,setTimeout((function(){W=!1})),z.state.isMounted||ln())}}}function sn(){B=!0}function dn(){B=!1}function pn(){var n=nn();n.addEventListener("mousedown",fn,!0),n.addEventListener("touchend",fn,u),n.addEventListener("touchstart",dn,u),n.addEventListener("touchmove",sn,u)}function ln(){var n=nn();n.removeEventListener("mousedown",fn,!0),n.removeEventListener("touchend",fn,u),n.removeEventListener("touchstart",dn,u),n.removeEventListener("touchmove",sn,u)}function vn(n,t){var e=tn().box;function o(n){n.target===e&&(w(e,"remove",o),t())}if(0===n)return t();w(e,"remove",j),w(e,"add",o),j=o}function mn(t,e,o){void 0===o&&(o=!1),p(z.props.triggerTarget||n).forEach((function(n){n.addEventListener(t,e,o),q.push({node:n,eventType:t,handler:e,options:o})}))}function hn(){var n;X()&&(mn("touchstart",yn,{passive:!0}),mn("touchend",wn,{passive:!0})),(n=z.props.trigger,n.split(/\s+/).filter(Boolean)).forEach((function(n){if("manual"!==n)switch(mn(n,yn),n){case"mouseenter":mn("mouseleave",wn);break;case"focus":mn(A?"focusout":"blur",On);break;case"focusin":mn("focusout",On)}}))}function bn(){q.forEach((function(n){n.node.removeEventListener(n.eventType,n.handler,n.options)})),q=[]}function yn(n){var t,e=!1;if(z.state.isEnabled&&!Tn(n)&&!W){var o="focus"===(null==(t=b)?void 0:t.type);b=n,k=n.currentTarget,an(),!z.state.isVisible&&f(n,"MouseEvent")&&L.forEach((function(t){return t(n)})),"click"===n.type&&(z.props.trigger.indexOf("mouseenter")<0||H)&&!1!==z.props.hideOnClick&&z.state.isVisible?e=!0:Cn(n),"click"===n.type&&(H=!e),e&&!o&&An(n)}}function gn(n){var t=n.target,e=Z().contains(t)||V.contains(t);"mousemove"===n.type&&e||function(n,t){var e=t.clientX,o=t.clientY;return n.every((function(n){var t=n.popperRect,i=n.popperState,r=n.props.interactiveBorder,u=i.placement.split("-")[0],a=i.modifiersData.offset;return!a||t.top-o+("bottom"===u?a.top.y:0)>r||o-t.bottom-("top"===u?a.bottom.y:0)>r||t.left-e+("right"===u?a.left.x:0)>r||e-t.right-("left"===u?a.right.x:0)>r}))}(kn().concat(V).map((function(n){var t,e=null==(t=n._tippy.popperInstance)?void 0:t.state;return e?{popperRect:n.getBoundingClientRect(),popperState:e,props:S}:null})).filter(Boolean),n)&&(cn(),An(n))}function wn(n){Tn(n)||z.props.trigger.indexOf("click")>=0&&H||(z.props.interactive?z.hideWithInteractivity(n):An(n))}function On(n){z.props.trigger.indexOf("focusin")<0&&n.target!==Z()||z.props.interactive&&n.relatedTarget&&V.contains(n.relatedTarget)||An(n)}function Tn(n){return!!T.isTouch&&X()!==n.type.indexOf("touch")>=0}function jn(){xn();var t=z.props,e=t.popperOptions,o=t.placement,i=t.offset,u=t.getReferenceClientRect,a=t.moveTransition,c=Y()?E(V).arrow:null,f=u?{getBoundingClientRect:u,contextElement:u.contextElement||Z()}:n,s=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(n){var t=n.state;if(Y()){var e=tn().box;["placement","reference-hidden","escaped"].forEach((function(n){"placement"===n?e.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+n]?e.setAttribute("data-"+n,""):e.removeAttribute("data-"+n)})),t.attributes.popper={}}}}];Y()&&c&&s.push({name:"arrow",options:{element:c,padding:3}}),s.push.apply(s,(null==e?void 0:e.modifiers)||[]),z.popperInstance=r(f,V,Object.assign({},e,{placement:o,onFirstUpdate:x,modifiers:s}))}function xn(){z.popperInstance&&(z.popperInstance.destroy(),z.popperInstance=null)}function kn(){return v(V.querySelectorAll("[data-tippy-root]"))}function Cn(n){z.clearDelayTimeouts(),n&&rn("onTrigger",[z,n]),pn();var t=en(!0),o=Q(),i=o[1];T.isTouch&&"hold"===o[0]&&i&&(t=i),t?e=setTimeout((function(){z.show()}),t):z.show()}function An(n){if(z.clearDelayTimeouts(),rn("onUntrigger",[z,n]),z.state.isVisible){if(!(z.props.trigger.indexOf("mouseenter")>=0&&z.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(n.type)>=0&&H)){var t=en(!1);t?o=setTimeout((function(){z.state.isVisible&&z.hide()}),t):i=requestAnimationFrame((function(){z.hide()}))}}else ln()}}function I(n,t){void 0===t&&(t={});var e=P.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",x,u),window.addEventListener("blur",C);var o,i=Object.assign({},t,{plugins:e}),r=(o=n,b(o)?[o]:function(n){return f(n,"NodeList")}(o)?v(o):Array.isArray(o)?o:v(document.querySelectorAll(o))).reduce((function(n,t){var e=t&&q(t,i);return e&&n.push(e),n}),[]);return b(n)?r[0]:r}I.defaultProps=P,I.setDefaultProps=function(n){Object.keys(n).forEach((function(t){P[t]=n[t]}))},I.currentInput=T,Object.assign({},i,{effect:function(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow)}}),I.setDefaultProps({render:M});let N=class{constructor(t){n(this,t),this.position="bottom",this.interactive=!1,this.maxWidth=350,this.delay=0,this.duration=[300,250],this.trigger="mouseenter focus",this.theme="wcs"}componentWillLoad(){this.tippyInstance=I(document.getElementById(this.for),{theme:this.theme,allowHTML:!0,content:this.getTooltipContentFromPropAndSlot(),maxWidth:this.maxWidth,placement:this.position,delay:this.delay,duration:this.duration,interactive:this.interactive,trigger:this.trigger})}getTooltipContentFromPropAndSlot(){return this.content?this.content+this.el.innerHTML:this.el.innerHTML}updateProps(){this.tippyInstance.setProps({interactive:this.interactive,placement:this.position,maxWidth:this.maxWidth,theme:this.theme,delay:this.delay,duration:this.duration,trigger:this.trigger})}updateTippyContent(){this.tippyInstance.setProps({content:this.getTooltipContentFromPropAndSlot()})}async hide(){this.tippyInstance.hide()}async show(){this.tippyInstance.show()}async disable(){this.tippyInstance.disable()}async enable(){this.tippyInstance.enable()}disconnectedCallback(){this.tippyInstance.destroy()}render(){return t(e,null,t("slot",{onSlotchange:()=>this.updateTippyContent()}))}get el(){return o(this)}static get watchers(){return{interactive:["updateProps"],position:["updateProps"],maxWidth:["updateProps"],theme:["updateProps"],delay:["updateProps"],duration:["updateProps"],trigger:["updateProps"],content:["updateTippyContent"]}}};N.style=":host{display:none}";export{N as wcs_tooltip}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e}from"./p-f46e6c3c.js";let i=class{constructor(s){t(this,s),this.size="m",this.family="filled"}componentWillLoad(){this.onFamilyChange()}componentDidLoad(){this.appendMaterialStylesheet()}appendMaterialStylesheet(){let t=document.querySelector(`link[href="${this.familyFile}"]`);t||(t=document.createElement("link"),t.setAttribute("rel","stylesheet"),t.setAttribute("href",this.familyFile),document.head.appendChild(t))}onFamilyChange(){switch(this.familyFile="https://fonts.googleapis.com/icon?family=",this.family){case"filled":this.familyFile+="Material+Icons",this.familyClass="material-icons";break;case"outlined":this.familyFile+="Material+Icons+Outlined",this.familyClass="material-icons-outlined";break;case"twotone":this.familyFile+="Material+Icons+Two+Tone",this.familyClass="material-icons-two-tone";break;case"rounded":this.familyFile+="Material+Icons+Round",this.familyClass="material-icons-round";break;case"sharp":this.familyFile+="Material+Icons+Sharp",this.familyClass="material-icons-sharp"}this.appendMaterialStylesheet()}render(){return s(e,null,s("link",{rel:"stylesheet",type:"text/css",href:this.familyFile}),s("i",{class:this.familyClass+" size-"+this.size},this.icon))}static get watchers(){return{family:["onFamilyChange"]}}};i.style=":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}";export{i as wcs_mat_icon}
1
+ import{r as t,h as s,H as e}from"./p-f46e6c3c.js";let i=class{constructor(s){t(this,s),this.size="m",this.family="filled"}componentWillLoad(){this.onFamilyChange()}componentDidLoad(){this.appendMaterialStylesheet()}appendMaterialStylesheet(){let t=document.querySelector(`link[href="${this.familyFile}"]`);t||(t=document.createElement("link"),t.setAttribute("rel","stylesheet"),t.setAttribute("href",this.familyFile),document.head.appendChild(t))}onFamilyChange(){switch(this.familyFile="https://fonts.googleapis.com/icon?family=",this.family){case"filled":this.familyFile+="Material+Icons",this.familyClass="material-icons";break;case"outlined":this.familyFile+="Material+Icons+Outlined",this.familyClass="material-icons-outlined";break;case"twotone":this.familyFile+="Material+Icons+Two+Tone",this.familyClass="material-icons-two-tone";break;case"rounded":this.familyFile+="Material+Icons+Round",this.familyClass="material-icons-round";break;case"sharp":this.familyFile+="Material+Icons+Sharp",this.familyClass="material-icons-sharp"}this.appendMaterialStylesheet()}render(){return s(e,null,s("link",{rel:"stylesheet",type:"text/css",href:this.familyFile}),s("i",{class:this.familyClass+" size-"+this.size},this.icon))}static get watchers(){return{family:["onFamilyChange"]}}};i.style=":host{display:flex;flex-direction:column;justify-content:center}:host .size-s{font-size:18px}:host .size-m{font-size:24px}:host .size-l{font-size:36px}:host .size-xl{font-size:48px}";export{i as wcs_mat_icon}
@@ -0,0 +1 @@
1
+ import{r,h as s,H as e}from"./p-f46e6c3c.js";let o=class{constructor(s){r(this,s)}render(){return s(e,{slot:"header"},s("slot",null))}};export{o as wcs_accordion_header}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,H as n}from"./p-f46e6c3c.js";import{S as o}from"./p-7219c04b.js";let a=class{constructor(s){e(this,s),this.wcsOpenChange=t(this,"wcsOpenChange",7),this.open=!1}openChange(e){this.wcsOpenChange.emit(e)}async close(){this.open=!1}render(){return s(n,null,s("div",{class:"header",onClick:()=>this.open=!this.open},s("slot",{name:"header"}),s("div",{class:"header-action"},s("span",null,this.open?"Fermez":"Ouvrez"),s(o,{up:this.open}))),s("div",{class:"content"},s("slot",{name:"content"})))}static get watchers(){return{open:["openChange"]}}};a.style=":host{display:flex;flex-direction:column;cursor:pointer;margin-bottom:16px}:host .header{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-radius:7px;font-weight:500;font-size:16px;color:var(--wcs-primary);background-color:var(--wcs-light)}:host .header-action{display:flex;align-items:center;user-select:none}:host .header-action .arrow{fill:var(--wcs-primary)}:host .content{display:none}:host([open]){margin-bottom:0}:host([open]) .content{display:block}";export{a as wcs_accordion_panel}
@@ -0,0 +1 @@
1
+ import{r as s,h as c,H as r}from"./p-f46e6c3c.js";let t=class{constructor(c){s(this,c)}render(){return c(r,{slot:"content"},c("slot",null))}};t.style=":host{margin:calc(3 * var(--wcs-base-margin));display:block}";export{t as wcs_accordion_content}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as r,g as e}from"./p-f46e6c3c.js";let l=class{constructor(t){s(this,t),this.accordionPanels=[]}componentWillLoad(){this.accordionPanels=this.getAllAccordionPanelsFromHostElement()}wcsOpenChangeHandler(s){s.detail&&this.closeAllAccordionsExcept(s.target)}render(){return t(r,null,t("slot",null))}getAllAccordionPanelsFromHostElement(){return Array.from(this.el.children).filter((s=>"WCS-ACCORDION-PANEL"===s.tagName))}closeAllAccordionsExcept(s){this.accordionPanels.filter((t=>t!==s)).forEach((s=>s.close()))}get el(){return e(this)}};export{l as wcs_accordion}
@@ -0,0 +1 @@
1
+ import{h as t,r as s,c as i,H as e,g as a}from"./p-f46e6c3c.js";const r=({step:s,checkOnComplete:i,complete:e,passed:a,active:r,first:o,disable:l,onClick:c})=>t("div",{class:"graphic-step","data-first":o},o?null:t("wcs-progress-bar",{value:a?100:0}),t("wcs-button",{style:{backgroundColor:"white"},shape:"round",onClick:()=>c(s),mode:!r&&!e||s.disable?"stroked":"plain",disabled:l},n(s.button,i,e,r))),n=(s,i,e,a)=>{if(i&&e&&!a)return t("wcs-mat-icon",{size:"m",icon:"done",family:"outlined"});switch(s.kind){case"Icon":return t("wcs-mat-icon",{size:"m",icon:s.iconName,family:s.family?s.family:"outlined"});case"Text":return s.text}};let o=class{constructor(t){s(this,t),this.wcsHorizontalStepClick=i(this,"wcsHorizontalStepClick",7),this.currentStep=0,this.mode="nonLinear",this.buttonMode="stroked"}componentWillLoad(){if(this.internalCurrentStep=this.currentStep,this.steps.length<1)throw new Error("You must add at least one step")}onCurrentStepChange(t,s){if(void 0!==this.internalCurrentStep){const i=Math.abs(s-t);if(this.el.style.setProperty("--wcs-progress-bar-animation-duration",375/i+"ms"),t!==s)for(let e=0;e<i;e++)setTimeout((()=>{this.internalCurrentStep-=s-t>0?1:-1,e===i-1&&this.el.style.removeProperty("--wcs-progress-bar-animation-duration")}),e*(375/i))}}async previous(){this.navigateToIndex(this.internalCurrentStep-1,"backward")}async next(){this.navigateToIndex(this.internalCurrentStep+1,"forward")}navigateToIndex(t,s){var i,e;t>=0&&t<=this.steps.length-1&&((null===(i=this.steps[t])||void 0===i?void 0:i.complete)||(null===(e=this.steps[t])||void 0===e?void 0:e.disable)?this.navigateToIndex(t+("forward"===s?1:-1),s):this.currentStep=t)}render(){return t(e,null,t("div",{class:"steps"},this.steps.map(((s,i)=>t(r,{step:s,passed:i<=this.internalCurrentStep,checkOnComplete:this.checkOnComplete,complete:this.isComplete(s,i),active:i===this.internalCurrentStep,first:0===i,disable:this.isDisable(s,i),onClick:t=>this.wcsHorizontalStepClick.emit({step:t,index:i})})))),this.renderLabels())}isComplete(t,s){return s<=this.internalCurrentStep||t.complete}renderLabels(){return this.steps.map((t=>t.text)).every((t=>!t))?null:t("div",{class:"label-container"},this.steps.map(((s,i)=>t("div",{"data-first":0===i,"data-current":i===this.internalCurrentStep&&!s.disable,"data-disable":this.isDisable(s,i),"data-last":i===this.steps.length-1},t("span",null,s.text)))))}isDisable(t,s){return t.disable||"linear"===this.mode&&!this.isNextPossibleStep(s)&&this.internalCurrentStep<s}isNextPossibleStep(t){var s;return 0===t||((null===(s=this.steps[t-1])||void 0===s?void 0:s.disable)||this.previousStepIsCompleteAndNotActive(t)?this.isNextPossibleStep(t-1):this.internalCurrentStep===t-1)}previousStepIsCompleteAndNotActive(t){var s;return(null===(s=this.steps[t-1])||void 0===s?void 0:s.complete)&&t-1!==this.internalCurrentStep}get el(){return a(this)}static get watchers(){return{currentStep:["onCurrentStepChange"]}}};o.style=":host{display:block}:host .steps{display:flex;flex-direction:row;flex:1}:host .graphic-step{display:flex;flex-direction:row;flex:1;align-items:center}:host .graphic-step[data-first]{flex:0}:host wcs-progress-bar{--wcs-internal-progress-bar-border-radius:0;flex:1;margin:0 -1px}:host .label-container{justify-content:space-between;display:flex;flex-direction:row;margin-top:var(--wcs-base-margin)}:host .label-container>*{width:100%;text-align:center;flex:1;color:var(--wcs-text-medium);font-weight:500}:host .label-container>*[data-disable]{color:var(--wcs-text-light)}:host .label-container>*[data-current]{color:var(--wcs-primary)}:host .label-container>div[data-first]{margin-left:20px;text-align:left;flex:0.5}:host .label-container>div[data-first]>span{margin-left:-20px}:host .label-container>div[data-last]{margin-right:20px;text-align:right;flex:0.5}:host .label-container>div[data-last]>span{margin-right:-20px}";export{o as wcs_horizontal_stepper}
@@ -1 +1 @@
1
- import{r as e,h as r,g as t}from"./p-f46e6c3c.js";import{h as i}from"./p-cf4d7a83.js";import{M as a}from"./p-16dfbae8.js";let o=class{constructor(r){e(this,r),this.type="button",this.disabled=!1,this.ripple=!0,this.shape="normal",this.mode="plain"}onClick(e){if(this.disabled&&e.stopImmediatePropagation(),"button"!==this.type&&i(this.el)){const r=this.el.closest("form");if(r){e.preventDefault();const t=window.document.createElement("button");t.type=this.type,t.style.display="none",r.appendChild(t),t.click(),t.remove()}}}componentDidLoad(){this.mdcRipple=new a(this.el.shadowRoot.querySelector(".wcs-inner-button"))}enabledRippleEffect(){this.mdcRipple.disabled=!1}disabledRippleEffect(){this.mdcRipple.disabled=!0}onRippleChange(){this.ripple?this.enabledRippleEffect():this.disabledRippleEffect()}render(){return r(void 0!==this.href?"a":"button",Object.assign({},void 0!==this.href?{href:this.href,role:"button"}:{type:this.type},{class:"wcs-inner-button"},!0===this.disabled?{disabled:!0}:null),r("slot",null))}get el(){return t(this)}static get watchers(){return{ripple:["onRippleChange"]}}};o.style='@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:host{display:inline-block;--wcs-button-padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);--wcs-button-color:var(--wcs-contrast, var(--wcs-white, white));--wcs-button-background-color:var(--wcs-base, var(--wcs-primary, #0088CE));--wcs-button-ripple-color:var(--wcs-contrast, var(--wcs-white, white));--wcs-button-border-radius:var(--wcs-border-radius);--wcs-button-border-color:var(--wcs-base)}:host([mode=clear]){--wcs-button-border-color:transparent}:host([mode=clear]) .wcs-inner-button{box-shadow:none}:host([mode=clear]),:host([mode=stroked]){--wcs-button-color:var(--wcs-base);--wcs-button-background-color:transparent}:host([mode=clear]) .wcs-inner-button::before,:host([mode=clear]) .wcs-inner-button::after,:host([mode=stroked]) .wcs-inner-button::before,:host([mode=stroked]) .wcs-inner-button::after{--wcs-button-ripple-color:var(--wcs-base)}:host([shape=small]){--wcs-button-padding:2px 16px}:host([shape=round]){--wcs-button-padding:0;--wcs-button-border-radius:50%}:host([shape=round]) .wcs-inner-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}:host([shape=square]){--wcs-button-padding:0}:host([shape=square]) .wcs-inner-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}:host([shape=normal]){--wcs-button-padding:calc(var(--wcs-padding) / 2 + 1px) calc(var(--wcs-padding))}:host([mode=stroked]) .wcs-inner-button{box-shadow:inset 0 0 0 1px var(--wcs-button-border-color)}:host([disabled]){--wcs-button-color:var(--wcs-text-disabled);--wcs-button-background-color:var(--wcs-light)}:host([disabled]) .wcs-inner-button{--wcs-button-border-color:var(--wcs-light);opacity:1;cursor:default;pointer-events:none}:host([disabled]):host([mode=clear]),:host([disabled]):host([disabled]){--wcs-button-background-color:transparent}.wcs-inner-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;display:flex;align-content:center;font-family:var(--wcs-font-sans-serif);background-color:var(--wcs-button-background-color);color:var(--wcs-button-color);padding:var(--wcs-button-padding);border-radius:var(--wcs-button-border-radius);border:none;overflow:hidden;outline:0;text-transform:none;margin:0;cursor:pointer;font-weight:500;text-align:center;white-space:nowrap;vertical-align:middle;user-select:none;font-size:1rem;line-height:1.5;transition:color 175ms ease-in-out, background-color 175ms ease-in-out, box-shadow 175ms cubic-bezier(0.4, 0, 0.2, 1)}.wcs-inner-button::before,.wcs-inner-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.wcs-inner-button::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.wcs-inner-button::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.wcs-inner-button.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.wcs-inner-button.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.wcs-inner-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.wcs-inner-button.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.wcs-inner-button.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.wcs-inner-button::before,.wcs-inner-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.wcs-inner-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.wcs-inner-button:hover::before,.wcs-inner-button.mdc-ripple-surface--hover::before{opacity:0.1;opacity:var(--mdc-ripple-hover-opacity, 0.1)}.wcs-inner-button.mdc-ripple-upgraded--background-focused::before,.wcs-inner-button:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.wcs-inner-button:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.wcs-inner-button:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.3;opacity:var(--mdc-ripple-press-opacity, 0.3)}.wcs-inner-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.3)}.wcs-inner-button::before,.wcs-inner-button::after{background-color:white;background-color:var(--mdc-ripple-color, white)}.wcs-inner-button::before,.wcs-inner-button::after{background-color:var(--wcs-button-ripple-color)}.wcs-inner-button:focus{box-shadow:0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2)}.wcs-inner-button:hover{box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2)}a{text-decoration:none}button::-moz-focus-inner,a::-moz-focus-inner{border:0}';export{o as wcs_button}
1
+ import{r as e,h as r,g as t}from"./p-f46e6c3c.js";import{h as i}from"./p-cf4d7a83.js";import{M as o}from"./p-16dfbae8.js";let a=class{constructor(r){e(this,r),this.type="button",this.disabled=!1,this.ripple=!0,this.shape="normal",this.mode="plain"}onClick(e){if(this.disabled&&e.stopImmediatePropagation(),"button"!==this.type&&i(this.el)){const r=this.el.closest("form");if(r){e.preventDefault();const t=window.document.createElement("button");t.type=this.type,t.style.display="none",r.appendChild(t),t.click(),t.remove()}}}componentDidLoad(){this.mdcRipple=new o(this.el.shadowRoot.querySelector(".wcs-inner-button"))}enabledRippleEffect(){this.mdcRipple.disabled=!1}disabledRippleEffect(){this.mdcRipple.disabled=!0}onRippleChange(){this.ripple?this.enabledRippleEffect():this.disabledRippleEffect()}render(){return r(void 0!==this.href?"a":"button",Object.assign({},void 0!==this.href?{href:this.href,role:"button"}:{type:this.type},{class:"wcs-inner-button"},!0===this.disabled?{disabled:!0}:null),r("slot",null))}get el(){return t(this)}static get watchers(){return{ripple:["onRippleChange"]}}};a.style='@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:host{display:inline-block;--wcs-button-padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);--wcs-button-color:var(--wcs-contrast, var(--wcs-white, white));--wcs-button-background-color:var(--wcs-base, var(--wcs-primary, #0088CE));--wcs-button-ripple-color:var(--wcs-contrast, var(--wcs-white, white));--wcs-button-border-radius:var(--wcs-border-radius);--wcs-button-border-color:var(--wcs-base)}:host([mode=clear]){--wcs-button-border-color:transparent}:host([mode=clear]) .wcs-inner-button{box-shadow:none}:host([mode=clear]),:host([mode=stroked]){--wcs-button-color:var(--wcs-base);--wcs-button-background-color:transparent}:host([mode=clear]) .wcs-inner-button::before,:host([mode=clear]) .wcs-inner-button::after,:host([mode=stroked]) .wcs-inner-button::before,:host([mode=stroked]) .wcs-inner-button::after{--wcs-button-ripple-color:var(--wcs-base)}:host([shape=small]){--wcs-button-padding:2px 16px}:host([shape=small]) .wcs-inner-button{min-width:var(--wcs-button-min-width, unset);min-height:var(--wcs-button-min-height, unset)}:host([shape=round]){--wcs-button-padding:0;--wcs-button-border-radius:50%}:host([shape=round]) .wcs-inner-button{display:inline-flex;align-items:center;justify-content:center;min-width:var(--wcs-button-min-width, 42px);min-height:var(--wcs-button-min-height, 42px)}:host([shape=square]){--wcs-button-padding:0}:host([shape=square]) .wcs-inner-button{display:inline-flex;align-items:center;justify-content:center;min-width:var(--wcs-button-min-width, 42px);min-height:var(--wcs-button-min-height, 42px)}:host([shape=normal]){--wcs-button-padding:calc(var(--wcs-padding) / 2 + 1px) calc(var(--wcs-padding))}:host([shape=normal]) .wcs-inner-button{min-width:var(--wcs-button-min-width, unset);min-height:var(--wcs-button-min-height, unset)}:host([mode=stroked]) .wcs-inner-button{box-shadow:inset 0 0 0 1px var(--wcs-button-border-color)}:host([disabled]){--wcs-button-color:var(--wcs-text-disabled);--wcs-button-background-color:var(--wcs-light)}:host([disabled]) .wcs-inner-button{--wcs-button-border-color:var(--wcs-light);opacity:1;cursor:default;pointer-events:none}:host([disabled]):host([mode=clear]),:host([disabled]):host([disabled]){--wcs-button-background-color:transparent}.wcs-inner-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;display:flex;align-content:center;font-family:var(--wcs-font-sans-serif);background-color:var(--wcs-button-background-color);color:var(--wcs-button-color);padding:var(--wcs-button-padding);border-radius:var(--wcs-button-border-radius);border:none;overflow:hidden;outline:0;text-transform:none;margin:0;cursor:pointer;font-weight:500;text-align:center;white-space:nowrap;vertical-align:middle;user-select:none;font-size:1rem;line-height:1.5;transition:color 175ms ease-in-out, background-color 175ms ease-in-out, box-shadow 175ms cubic-bezier(0.4, 0, 0.2, 1)}.wcs-inner-button::before,.wcs-inner-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.wcs-inner-button::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.wcs-inner-button::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.wcs-inner-button.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.wcs-inner-button.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.wcs-inner-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.wcs-inner-button.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.wcs-inner-button.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.wcs-inner-button::before,.wcs-inner-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.wcs-inner-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.wcs-inner-button:hover::before,.wcs-inner-button.mdc-ripple-surface--hover::before{opacity:0.1;opacity:var(--mdc-ripple-hover-opacity, 0.1)}.wcs-inner-button.mdc-ripple-upgraded--background-focused::before,.wcs-inner-button:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.wcs-inner-button:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.wcs-inner-button:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.3;opacity:var(--mdc-ripple-press-opacity, 0.3)}.wcs-inner-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.3)}.wcs-inner-button::before,.wcs-inner-button::after{background-color:white;background-color:var(--mdc-ripple-color, white)}.wcs-inner-button::before,.wcs-inner-button::after{background-color:var(--wcs-button-ripple-color)}.wcs-inner-button:focus{box-shadow:0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2)}.wcs-inner-button:hover{box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2)}a{text-decoration:none}button::-moz-focus-inner,a::-moz-focus-inner{border:0}';export{a as wcs_button}
@@ -1 +1 @@
1
- import{p as e,b as c}from"./p-f46e6c3c.js";(()=>{const c=import.meta.url,o={};return""!==c&&(o.resourcesUrl=new URL(".",c).href),e(o)})().then((e=>c([["p-fb1577b5",[[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"]]]]],["p-a92d369e",[[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"]]]]],["p-214236db",[[1,"wcs-grid-pagination",{availablePageSizes:[16],currentPage:[2,"current-page"],pageSize:[2,"page-size"],itemsCount:[2,"items-count"],pageCount:[2,"page-count"]}]]],["p-94a31f64",[[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]}]]],["p-b5ffbea8",[[1,"wcs-dropdown",{noArrow:[4,"no-arrow"],mode:[1],shape:[1],disabled:[4],placement:[1],expanded:[32]},[[8,"click","onWindowClickEvent"],[0,"wcsDropdownItemClick","dropdownItemClick"]]]]],["p-4e9e226d",[[1,"wcs-galactic-menu",{text:[1],showPopoverMenu:[32]},[[8,"click","onWindowClickEvent"]]]]],["p-a978c1e3",[[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]}]]],["p-7c26f650",[[4,"wcs-modal",{withoutBackdrop:[516,"without-backdrop"],show:[516],showCloseButton:[516,"show-close-button"],size:[1]},[[4,"keydown","onKeyDown"]]]]],["p-384068f7",[[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]}]]],["p-474d6601",[[1,"wcs-action-bar",{gutter:[4],hasTabs:[32]}]]],["p-b7184d59",[[1,"wcs-app"]]],["p-9ba52bc4",[[1,"wcs-badge",{shape:[1],color:[1]}]]],["p-f9944bde",[[1,"wcs-card",{mode:[1537]}]]],["p-e0163de8",[[1,"wcs-card-body"]]],["p-db68379f",[[1,"wcs-com-nav",{appName:[1,"app-name"]}]]],["p-1f5aed36",[[1,"wcs-com-nav-category",{label:[1],categoryOpen:[32],close:[64],open:[64]},[[8,"click","onWindowClickEvent"],[8,"wcsCategoryOpened","onSubmenuOpened"]]]]],["p-8864a491",[[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"]]]]],["p-fa173947",[[1,"wcs-divider"]]],["p-bbf1ef42",[[1,"wcs-dropdown-divider"]]],["p-41037455",[[1,"wcs-dropdown-header"]]],["p-1dce7e63",[[4,"wcs-dropdown-item",null,[[1,"mousedown","onMouseDown"]]]]],["p-60b51967",[[1,"wcs-field"]]],["p-26b5c0a3",[[1,"wcs-field-content"]]],["p-dc817204",[[1,"wcs-field-label"]]],["p-e9ce507c",[[1,"wcs-footer"]]],["p-e4236d32",[[1,"wcs-galactic",{text:[1],show:[32]}]]],["p-f430a227",[[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]}]]],["p-688fea65",[[1,"wcs-grid-custom-cell",{columnId:[1,"column-id"],rowId:[8,"row-id"]}]]],["p-dbbc3f58",[[1,"wcs-header"]]],["p-979dfd78",[[1,"wcs-hint",{small:[1540]}]]],["p-65c5ccc5",[[0,"wcs-icon",{icon:[1],size:[1]}]]],["p-600a9cc0",[[1,"wcs-label",{required:[516]}]]],["p-2e6265dc",[[1,"wcs-list-item",{activated:[1028]}]]],["p-a1ee1551",[[1,"wcs-list-item-properties"]]],["p-716d5921",[[1,"wcs-list-item-property"]]],["p-febe9ccc",[[1,"wcs-nav"]]],["p-e43358e4",[[4,"wcs-nav-item",{text:[513],href:[513]}]]],["p-55fdc284",[[1,"wcs-progress-radial",{size:[2],showLabel:[4,"show-label"],value:[2]}]]],["p-f96bb0bf",[[1,"wcs-radio-group",{value:[8],name:[520],mode:[513]},[[0,"wcsRadioClick","selectedOptionChanged"]]]]],["p-7206e492",[[1,"wcs-switch",{name:[1],checked:[516],labelAlignment:[513,"label-alignment"],disabled:[4]}]]],["p-5b35b232",[[1,"wcs-tab",{header:[513],itemKey:[8,"item-key"]}]]],["p-03b2e238",[[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"]]]]],["p-ecbe5165",[[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]}]]],["p-8137f075",[[1,"wcs-progress-bar",{small:[4],showLabel:[4,"show-label"],value:[2]}]]],["p-9619f77a",[[1,"wcs-radio",{mode:[513],value:[1544],label:[1537],checked:[1540],disabled:[1028]}]]],["p-c7d6d3e1",[[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"]]]]],["p-bcf381a2",[[1,"wcs-error"],[1,"wcs-form-field",{isError:[1540,"is-error"],hasPrefix:[32],hasSuffix:[32],spiedElement:[32]}]]],["p-91a2de07",[[1,"wcs-spinner",{mode:[513]}]]],["p-ff6d0dfd",[[1,"wcs-button",{type:[1025],href:[1],disabled:[516],ripple:[4],shape:[513],mode:[513]},[[0,"click","onClick"]]]]],["p-8c8740e3",[[1,"wcs-checkbox",{name:[1],indeterminate:[1540],checked:[1540],labelAlignment:[1537,"label-alignment"],disabled:[4]}]]],["p-22813c8e",[[1,"wcs-mat-icon",{icon:[1],size:[1],family:[1],familyFile:[32],familyClass:[32]}]]]],e)));
1
+ import{p as e,b as c}from"./p-f46e6c3c.js";(()=>{const c=import.meta.url,o={};return""!==c&&(o.resourcesUrl=new URL(".",c).href),e(o)})().then((e=>c([["p-fb1577b5",[[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"]]]]],["p-a92d369e",[[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"]]]]],["p-214236db",[[1,"wcs-grid-pagination",{availablePageSizes:[16],currentPage:[2,"current-page"],pageSize:[2,"page-size"],itemsCount:[2,"items-count"],pageCount:[2,"page-count"]}]]],["p-df5baf36",[[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]}]]],["p-2507b398",[[4,"wcs-modal",{withoutBackdrop:[516,"without-backdrop"],show:[516],showCloseButton:[516,"show-close-button"],size:[1],hideActions:[516,"hide-actions"]},[[4,"keydown","onKeyDown"]]]]],["p-0c397250",[[1,"wcs-dropdown",{noArrow:[4,"no-arrow"],mode:[1],shape:[1],disabled:[4],placement:[1],expanded:[32]},[[8,"click","onWindowClickEvent"],[0,"wcsDropdownItemClick","dropdownItemClick"]]]]],["p-4e9e226d",[[1,"wcs-galactic-menu",{text:[1],showPopoverMenu:[32]},[[8,"click","onWindowClickEvent"]]]]],["p-a978c1e3",[[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]}]]],["p-384068f7",[[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]}]]],["p-d45c7c63",[[1,"wcs-accordion",null,[[0,"wcsOpenChange","wcsOpenChangeHandler"]]]]],["p-cf77e1d9",[[1,"wcs-accordion-content"]]],["p-706d195a",[[1,"wcs-accordion-header"]]],["p-c295cfca",[[1,"wcs-accordion-panel",{open:[1540],close:[64]}]]],["p-474d6601",[[1,"wcs-action-bar",{gutter:[4],hasTabs:[32]}]]],["p-b7184d59",[[1,"wcs-app"]]],["p-9ba52bc4",[[1,"wcs-badge",{shape:[1],color:[1]}]]],["p-f9944bde",[[1,"wcs-card",{mode:[1537]}]]],["p-e0163de8",[[1,"wcs-card-body"]]],["p-db68379f",[[1,"wcs-com-nav",{appName:[1,"app-name"]}]]],["p-1f5aed36",[[1,"wcs-com-nav-category",{label:[1],categoryOpen:[32],close:[64],open:[64]},[[8,"click","onWindowClickEvent"],[8,"wcsCategoryOpened","onSubmenuOpened"]]]]],["p-8864a491",[[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"]]]]],["p-fa173947",[[1,"wcs-divider"]]],["p-bbf1ef42",[[1,"wcs-dropdown-divider"]]],["p-41037455",[[1,"wcs-dropdown-header"]]],["p-1dce7e63",[[4,"wcs-dropdown-item",null,[[1,"mousedown","onMouseDown"]]]]],["p-60b51967",[[1,"wcs-field"]]],["p-26b5c0a3",[[1,"wcs-field-content"]]],["p-dc817204",[[1,"wcs-field-label"]]],["p-e9ce507c",[[1,"wcs-footer"]]],["p-e4236d32",[[1,"wcs-galactic",{text:[1],show:[32]}]]],["p-f430a227",[[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]}]]],["p-688fea65",[[1,"wcs-grid-custom-cell",{columnId:[1,"column-id"],rowId:[8,"row-id"]}]]],["p-dbbc3f58",[[1,"wcs-header"]]],["p-979dfd78",[[1,"wcs-hint",{small:[1540]}]]],["p-65c5ccc5",[[0,"wcs-icon",{icon:[1],size:[1]}]]],["p-600a9cc0",[[1,"wcs-label",{required:[516]}]]],["p-2e6265dc",[[1,"wcs-list-item",{activated:[1028]}]]],["p-a1ee1551",[[1,"wcs-list-item-properties"]]],["p-716d5921",[[1,"wcs-list-item-property"]]],["p-febe9ccc",[[1,"wcs-nav"]]],["p-e43358e4",[[4,"wcs-nav-item",{text:[513],href:[513]}]]],["p-55fdc284",[[1,"wcs-progress-radial",{size:[2],showLabel:[4,"show-label"],value:[2]}]]],["p-f96bb0bf",[[1,"wcs-radio-group",{value:[8],name:[520],mode:[513]},[[0,"wcsRadioClick","selectedOptionChanged"]]]]],["p-7206e492",[[1,"wcs-switch",{name:[1],checked:[516],labelAlignment:[513,"label-alignment"],disabled:[4]}]]],["p-5b35b232",[[1,"wcs-tab",{header:[513],itemKey:[8,"item-key"]}]]],["p-03b2e238",[[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"]]]]],["p-3d1924c8",[[1,"wcs-tooltip",{for:[1],position:[513],interactive:[4],maxWidth:[8,"max-width"],delay:[2],duration:[2],trigger:[1],theme:[1],content:[1],hide:[64],show:[64],disable:[64],enable:[64]}]]],["p-8137f075",[[1,"wcs-progress-bar",{small:[4],showLabel:[4,"show-label"],value:[2]}]]],["p-9619f77a",[[1,"wcs-radio",{mode:[513],value:[1544],label:[1537],checked:[1540],disabled:[1028]}]]],["p-c7d6d3e1",[[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"]]]]],["p-bcf381a2",[[1,"wcs-error"],[1,"wcs-form-field",{isError:[1540,"is-error"],hasPrefix:[32],hasSuffix:[32],spiedElement:[32]}]]],["p-91a2de07",[[1,"wcs-spinner",{mode:[513]}]]],["p-f00ef24c",[[1,"wcs-button",{type:[1025],href:[1],disabled:[516],ripple:[4],shape:[513],mode:[513]},[[0,"click","onClick"]]]]],["p-8c8740e3",[[1,"wcs-checkbox",{name:[1],indeterminate:[1540],checked:[1540],labelAlignment:[1537,"label-alignment"],disabled:[4]}]]],["p-66e74651",[[1,"wcs-mat-icon",{icon:[1],size:[1],family:[1],familyFile:[32],familyClass:[32]}]]]],e)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wcs-core",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Web components SNCF",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -27,7 +27,6 @@
27
27
  "build-storybook": "build-storybook -s ./dist/wcs,./src/assets/fonts"
28
28
  },
29
29
  "devDependencies": {
30
- "@angular/cli": "^10.1.1",
31
30
  "@babel/core": "^7.16.0",
32
31
  "@material/ripple": "13.0.0",
33
32
  "@stencil/angular-output-target": "^0.4.0",
@@ -1 +0,0 @@
1
- import{r as o,c as s,h as a,H as t}from"./p-f46e6c3c.js";let i=class{constructor(a){o(this,a),this.wcsDialogClosed=s(this,"wcsDialogClosed",7),this.withoutBackdrop=!1,this.show=!1,this.showCloseButton=!1,this.size="m"}render(){return a(t,null,a("div",{class:"wcs-modal-backdrop"}),a("div",{class:"wcs-modal-container","data-size":this.size},a("div",{class:"wcs-modal-header"},a("h5",null,a("slot",{name:"header"})),this.showCloseButton&&a("wcs-button",{shape:"round",mode:"clear",class:"wcs-dark",onClick:o=>this.onCloseButtonClick(o)},a("i",{class:"material-icons"},"close"))),a("div",{class:"wcs-modal-content"},a("slot",null)),a("div",{class:"wcs-modal-actions"},a("slot",{name:"actions"}))))}onKeyDown(o){this.showCloseButton&&"Escape"===o.key&&this.close()}onCloseButtonClick(o){this.close()}close(){this.show=!1,this.wcsDialogClosed.emit()}};i.style="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%;box-sizing:border-box;max-width:100%;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-container[data-size=s]{width:288px}.wcs-modal-container[data-size=m]{width:480px}.wcs-modal-container[data-size=l]{width:864px}.wcs-modal-container[data-size=xl]{width:1200px}.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}";export{i as wcs_modal}