wcs-core 2.6.0 → 2.10.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.
- package/CHANGELOG.md +115 -7
- package/README.md +18 -0
- package/dist/cjs/{helpers-d9aaa8c4.js → helpers-6abce594.js} +5 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/popper-5777994b.js +1732 -0
- package/dist/cjs/wcs-button.cjs.entry.js +1 -1
- package/dist/cjs/wcs-checkbox.cjs.entry.js +6 -2
- package/dist/cjs/wcs-dropdown-divider.cjs.entry.js +19 -0
- package/dist/cjs/wcs-dropdown-header.cjs.entry.js +19 -0
- package/dist/cjs/wcs-dropdown.cjs.entry.js +43 -10
- package/dist/cjs/wcs-error_2.cjs.entry.js +7 -10
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js +3 -1730
- package/dist/cjs/wcs-grid-column.cjs.entry.js +6 -2
- package/dist/cjs/wcs-grid.cjs.entry.js +28 -5
- package/dist/cjs/wcs-input.cjs.entry.js +3 -3
- package/dist/cjs/wcs-mat-icon.cjs.entry.js +1 -1
- package/dist/cjs/wcs-modal.cjs.entry.js +8 -3
- package/dist/cjs/wcs-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/wcs-radio.cjs.entry.js +2 -2
- package/dist/cjs/wcs-select_2.cjs.entry.js +1 -1
- package/dist/cjs/wcs-switch.cjs.entry.js +10 -2
- package/dist/cjs/wcs-textarea.cjs.entry.js +2 -2
- package/dist/cjs/wcs-tooltip.cjs.entry.js +1605 -99
- package/dist/cjs/wcs.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/badge/badge-interface.js +1 -0
- package/dist/collection/components/badge/badge.js +14 -4
- package/dist/collection/components/card/card-interface.js +1 -0
- package/dist/collection/components/card/card.js +7 -2
- package/dist/collection/components/checkbox/checkbox.css +18 -7
- package/dist/collection/components/checkbox/checkbox.js +24 -2
- package/dist/collection/components/dropdown/dropdown-interface.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +46 -38
- package/dist/collection/components/dropdown/dropdown.js +90 -29
- package/dist/collection/components/dropdown-divider/dropdown-divider.css +7 -0
- package/dist/collection/components/dropdown-divider/dropdown-divider.js +14 -0
- package/dist/collection/components/dropdown-header/dropdown-header.css +8 -0
- package/dist/collection/components/dropdown-header/dropdown-header.js +15 -0
- package/dist/collection/components/editable-field/editable-field.js +7 -2
- package/dist/collection/components/form-field/form-field.css +1 -2
- package/dist/collection/components/form-field/form-field.js +6 -26
- package/dist/collection/components/grid/grid.js +28 -5
- package/dist/collection/components/grid-column/grid-column.js +9 -3
- package/dist/collection/components/horizontal-stepper/horizontal-stepper.js +7 -2
- package/dist/collection/components/input/input.css +48 -0
- package/dist/collection/components/input/input.js +38 -2
- package/dist/collection/components/mat-icon/mat-icon.css +1 -1
- package/dist/collection/components/mat-icon/mat-icon.js +7 -2
- package/dist/collection/components/modal/modal-interface.js +1 -0
- package/dist/collection/components/modal/modal.css +26 -7
- package/dist/collection/components/modal/modal.js +35 -7
- package/dist/collection/components/nav-item/nav-item.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +4 -4
- package/dist/collection/components/radio/radio.component.js +9 -4
- package/dist/collection/components/radio/radio.css +44 -19
- package/dist/collection/components/radio-group/radio-group.css +5 -1
- package/dist/collection/components/radio-group/radio-group.js +10 -5
- package/dist/collection/components/spinner/spinner-interface.js +1 -0
- package/dist/collection/components/spinner/spinner.js +8 -3
- package/dist/collection/components/switch/switch.css +53 -16
- package/dist/collection/components/switch/switch.js +55 -6
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/textarea/textarea.css +4 -0
- package/dist/collection/components/tooltip/tooltip.css +3 -0
- package/dist/collection/components/tooltip/tooltip.js +308 -90
- package/dist/collection/utils/helpers.js +4 -0
- package/dist/esm/{helpers-50436c51.js → helpers-e2993152.js} +5 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/popper-5f42e560.js +1729 -0
- package/dist/esm/wcs-button.entry.js +1 -1
- package/dist/esm/wcs-checkbox.entry.js +6 -2
- package/dist/esm/wcs-dropdown-divider.entry.js +15 -0
- package/dist/esm/wcs-dropdown-header.entry.js +15 -0
- package/dist/esm/wcs-dropdown.entry.js +43 -10
- package/dist/esm/wcs-error_2.entry.js +7 -10
- package/dist/esm/wcs-galactic-menu.entry.js +2 -1729
- package/dist/esm/wcs-grid-column.entry.js +6 -2
- package/dist/esm/wcs-grid.entry.js +28 -5
- package/dist/esm/wcs-input.entry.js +3 -3
- package/dist/esm/wcs-mat-icon.entry.js +1 -1
- package/dist/esm/wcs-modal.entry.js +8 -3
- package/dist/esm/wcs-radio-group.entry.js +3 -3
- package/dist/esm/wcs-radio.entry.js +2 -2
- package/dist/esm/wcs-select_2.entry.js +1 -1
- package/dist/esm/wcs-switch.entry.js +10 -2
- package/dist/esm/wcs-textarea.entry.js +2 -2
- package/dist/esm/wcs-tooltip.entry.js +1605 -99
- package/dist/esm/wcs.js +2 -2
- package/dist/types/components/badge/badge-interface.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +3 -2
- package/dist/types/components/card/card-interface.d.ts +1 -0
- package/dist/types/components/card/card.d.ts +2 -1
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/dropdown/dropdown-interface.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +13 -16
- package/dist/types/components/dropdown-divider/dropdown-divider.d.ts +3 -0
- package/dist/types/components/dropdown-header/dropdown-header.d.ts +3 -0
- package/dist/types/components/editable-field/editable-field-interface.d.ts +1 -0
- package/dist/types/components/editable-field/editable-field.d.ts +2 -2
- package/dist/types/components/form-field/form-field.d.ts +0 -4
- package/dist/types/components/grid/grid.d.ts +11 -0
- package/dist/types/components/grid-column/grid-column.d.ts +2 -1
- package/dist/types/components/horizontal-stepper/horizontal-stepper-interface.d.ts +1 -0
- package/dist/types/components/horizontal-stepper/horizontal-stepper.d.ts +2 -2
- package/dist/types/components/input/input.d.ts +8 -0
- package/dist/types/components/mat-icon/mat-icon-interface.d.ts +1 -0
- package/dist/types/components/mat-icon/mat-icon.d.ts +2 -2
- package/dist/types/components/modal/modal-interface.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +7 -1
- package/dist/types/components/radio/radio.component.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group-interface.d.ts +1 -0
- package/dist/types/components/radio-group/radio-group.d.ts +2 -2
- package/dist/types/components/spinner/spinner-interface.d.ts +1 -0
- package/dist/types/components/spinner/spinner.d.ts +2 -1
- package/dist/types/components/switch/switch-interface.d.ts +1 -0
- package/dist/types/components/switch/switch.d.ts +10 -2
- package/dist/types/components/tooltip/tooltip.d.ts +70 -6
- package/dist/types/components.d.ts +210 -41
- package/dist/types/interfaces.d.ts +22 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/wcs/{p-64523291.entry.js → p-22813c8e.entry.js} +1 -1
- package/dist/wcs/{p-356a8e3b.entry.js → p-384068f7.entry.js} +1 -1
- package/dist/wcs/p-41037455.entry.js +1 -0
- package/dist/wcs/p-4e9e226d.entry.js +1 -0
- package/dist/wcs/p-7206e492.entry.js +1 -0
- package/dist/wcs/p-7c26f650.entry.js +1 -0
- package/dist/wcs/p-8c8740e3.entry.js +1 -0
- package/dist/wcs/p-9619f77a.entry.js +1 -0
- package/dist/wcs/p-a92d369e.entry.js +1 -0
- package/dist/wcs/p-a978c1e3.entry.js +1 -0
- package/dist/wcs/p-b5ffbea8.entry.js +1 -0
- package/dist/wcs/p-bbf1ef42.entry.js +1 -0
- package/dist/wcs/p-bcf381a2.entry.js +1 -0
- package/dist/wcs/{p-3d10b02a.entry.js → p-c7d6d3e1.entry.js} +1 -1
- package/dist/wcs/p-cf4d7a83.js +1 -0
- package/dist/wcs/p-d3c9a644.js +1 -0
- package/dist/wcs/p-ecbe5165.entry.js +6 -0
- package/dist/wcs/p-f430a227.entry.js +1 -0
- package/dist/wcs/p-f96bb0bf.entry.js +1 -0
- package/dist/wcs/{p-4338f140.entry.js → p-ff6d0dfd.entry.js} +1 -1
- package/dist/wcs/wcs.css +1 -1
- package/dist/wcs/wcs.esm.js +1 -1
- package/package.json +5 -4
- package/dist/types/interface.d.ts +0 -3
- package/dist/wcs/p-0fbe574e.entry.js +0 -1
- package/dist/wcs/p-15008e35.entry.js +0 -1
- package/dist/wcs/p-17c6db7f.entry.js +0 -1
- package/dist/wcs/p-62f7ab6d.entry.js +0 -1
- package/dist/wcs/p-83f1ad32.js +0 -1
- package/dist/wcs/p-8f0f9868.entry.js +0 -1
- package/dist/wcs/p-a5a1b27c.entry.js +0 -1
- package/dist/wcs/p-af1a5e52.entry.js +0 -1
- package/dist/wcs/p-bef44630.entry.js +0 -1
- package/dist/wcs/p-d59b4495.entry.js +0 -1
- package/dist/wcs/p-dd300dea.entry.js +0 -1
- package/dist/wcs/p-e486647c.entry.js +0 -1
- package/dist/wcs/p-ed6e8541.entry.js +0 -1
package/dist/esm/wcs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-b982604a.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -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",{"mode":[1],"shape":[1],"disabled":[4],"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],"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",{"
|
|
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);
|
|
17
17
|
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import { BadgeColor, BadgeShape } from './badge-interface';
|
|
2
3
|
export declare class Badge implements ComponentInterface {
|
|
3
4
|
/**
|
|
4
5
|
* Define the shape of the badge
|
|
5
6
|
*/
|
|
6
|
-
shape:
|
|
7
|
+
shape: BadgeShape;
|
|
7
8
|
/**
|
|
8
9
|
* Allows you to change the color of the badge to make it less bright (based on the color chosen by the CSS class).
|
|
9
10
|
*/
|
|
10
|
-
color:
|
|
11
|
+
color: BadgeColor;
|
|
11
12
|
render(): any;
|
|
12
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type CardMode = 'flat' | 'raised';
|
|
@@ -16,6 +16,10 @@ export declare class Checkbox implements ComponentInterface {
|
|
|
16
16
|
* Specifie the alignment of the checkbox with the label content
|
|
17
17
|
*/
|
|
18
18
|
labelAlignment: CheckboxLabelAlignment;
|
|
19
|
+
/**
|
|
20
|
+
* Specify wether the checkbox is disabled or not.
|
|
21
|
+
*/
|
|
22
|
+
disabled: boolean;
|
|
19
23
|
/**
|
|
20
24
|
* Emitted when the checked property has changed.
|
|
21
25
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type WcsDropdownPlacement = 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
@@ -1,30 +1,27 @@
|
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
2
|
import { WcsButtonMode, WcsButtonShape } from '../button/button-interface';
|
|
3
|
-
|
|
4
|
-
* Dropdown component.
|
|
5
|
-
*
|
|
6
|
-
* @example ```hmtl
|
|
7
|
-
* <wcs-dropdown>
|
|
8
|
-
* <div slot="placeholder"></div>
|
|
9
|
-
* <div slot="items">
|
|
10
|
-
* <wcs-dropdown-header></wcs-dropdown-header>
|
|
11
|
-
* <wcs-divider></wcs-divider>
|
|
12
|
-
* <wcs-dropdown-item></wcs-dropdown-item>
|
|
13
|
-
* </div>
|
|
14
|
-
* </wcs-dropdown>
|
|
15
|
-
* ```
|
|
16
|
-
* @todo Complete keyboard navigation.
|
|
17
|
-
*/
|
|
3
|
+
import { WcsDropdownPlacement } from './dropdown-interface';
|
|
18
4
|
export declare class Dropdown implements ComponentInterface {
|
|
19
5
|
el: HTMLWcsDropdownElement;
|
|
6
|
+
/** Hides the arrow in the button */
|
|
7
|
+
noArrow: boolean;
|
|
8
|
+
/** Dropdown's button mode */
|
|
20
9
|
mode: WcsButtonMode;
|
|
10
|
+
/** Dropdown's button shape */
|
|
21
11
|
shape: WcsButtonShape;
|
|
12
|
+
/** Specifies whether the dropdown button is clickable or not */
|
|
22
13
|
disabled: boolean;
|
|
14
|
+
/** placement of the dropdown's popover */
|
|
15
|
+
placement: WcsDropdownPlacement;
|
|
23
16
|
expanded: boolean;
|
|
17
|
+
private popper;
|
|
18
|
+
private buttonTextColor;
|
|
19
|
+
protected placementChange(): void;
|
|
24
20
|
componentDidLoad(): void;
|
|
25
21
|
private fixForFirefoxBelow63;
|
|
26
22
|
private onButtonClick;
|
|
27
23
|
onWindowClickEvent(event: MouseEvent): void;
|
|
28
|
-
dropdownItemClick(_: CustomEvent<
|
|
24
|
+
dropdownItemClick(_: CustomEvent<void>): void;
|
|
25
|
+
componentDidRender(): void;
|
|
29
26
|
render(): any;
|
|
30
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { EditableComponentUpdateEvent, FormatFn, ValidateFn } from './editable-field-interface';
|
|
2
|
+
import { EditableComponentUpdateEvent, EditableFieldType, FormatFn, ValidateFn } from './editable-field-interface';
|
|
3
3
|
declare enum EditableComponentState {
|
|
4
4
|
DISPLAY = 0,
|
|
5
5
|
EDIT = 1,
|
|
@@ -11,7 +11,7 @@ export declare class EditableField implements ComponentInterface {
|
|
|
11
11
|
/**
|
|
12
12
|
* Specifies which component is used for editing
|
|
13
13
|
*/
|
|
14
|
-
type:
|
|
14
|
+
type: EditableFieldType;
|
|
15
15
|
/**
|
|
16
16
|
* Label of the field
|
|
17
17
|
*/
|
|
@@ -9,10 +9,6 @@ export declare class FormField implements ComponentInterface {
|
|
|
9
9
|
* Specifies whether the form field is in an error state. Displays the field border in red and the message contained in the wcs-error component
|
|
10
10
|
*/
|
|
11
11
|
isError: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Name of the material icon to add to the field
|
|
14
|
-
*/
|
|
15
|
-
icon: any;
|
|
16
12
|
hasPrefix: boolean;
|
|
17
13
|
hasSuffix: boolean;
|
|
18
14
|
spiedElement: Element;
|
|
@@ -46,9 +46,20 @@ export declare class Grid implements ComponentInterface, ComponentDidLoad {
|
|
|
46
46
|
private wcsGridRowToWcsGridRowData;
|
|
47
47
|
private updateGridRows;
|
|
48
48
|
componentDidLoad(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Handle existing column's filters (defined before the grid is instantiated)
|
|
51
|
+
* @private
|
|
52
|
+
*/
|
|
53
|
+
private applyInitialSortConfig;
|
|
49
54
|
private getGridColumnsFromTemplate;
|
|
50
55
|
private getGridPaginationsFromTemplate;
|
|
51
56
|
sortChangeEventHandler(event: CustomEvent<WcsGridColumnSortChangeEventDetails>): void;
|
|
57
|
+
/**
|
|
58
|
+
* Sorts the grid rows according to the given column's configuration
|
|
59
|
+
* @param colmun Column from which to extract the sorting configuration
|
|
60
|
+
* @private
|
|
61
|
+
*/
|
|
62
|
+
private sortBy;
|
|
52
63
|
/**
|
|
53
64
|
* Update the page's number of all rows
|
|
54
65
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { WcsCellFormatter, WcsGridColumnSortChangeEventDetails, WcsSortFn, WcsSortOrder } from '../grid/grid-interface';
|
|
3
3
|
export declare class GridColumn implements ComponentInterface {
|
|
4
4
|
el: HTMLWcsGridColumnElement;
|
|
5
5
|
path: string;
|
|
@@ -17,6 +17,7 @@ export declare class GridColumn implements ComponentInterface {
|
|
|
17
17
|
wcsSortChange: EventEmitter<WcsGridColumnSortChangeEventDetails>;
|
|
18
18
|
wcsHiddenChange: EventEmitter<boolean>;
|
|
19
19
|
parseMyObjectProp(newValue: boolean): void;
|
|
20
|
+
sortOrderChange(_: WcsSortOrder): void;
|
|
20
21
|
emitSortConfig(): void;
|
|
21
22
|
render(): any;
|
|
22
23
|
private onSortClick;
|
|
@@ -12,6 +12,7 @@ export interface HorizontalStepConfig {
|
|
|
12
12
|
/** Step button configuration */
|
|
13
13
|
button: StepButton;
|
|
14
14
|
}
|
|
15
|
+
export declare type HorizontalStepperMode = 'linear' | 'nonLinear';
|
|
15
16
|
export declare type StepButton = StepIconButton | StepTextButton;
|
|
16
17
|
export interface StepIconButton {
|
|
17
18
|
kind: 'Icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { WcsButtonMode } from '../button/button-interface';
|
|
3
|
-
import { HorizontalStepClickEvent, HorizontalStepConfig } from './horizontal-stepper-interface';
|
|
3
|
+
import { HorizontalStepClickEvent, HorizontalStepConfig, HorizontalStepperMode } from './horizontal-stepper-interface';
|
|
4
4
|
export declare class HorizontalStepper implements ComponentInterface {
|
|
5
5
|
el: HTMLWcsHorizontalStepperElement;
|
|
6
6
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class HorizontalStepper implements ComponentInterface {
|
|
|
15
15
|
* Specifies if the stepper is in linear mode (the user can only click on the next step)
|
|
16
16
|
* or non-linear (the user can click on any step)
|
|
17
17
|
*/
|
|
18
|
-
mode:
|
|
18
|
+
mode: HorizontalStepperMode;
|
|
19
19
|
/**
|
|
20
20
|
* Specifies whether a check should be displayed when a step is passed.
|
|
21
21
|
*/
|
|
@@ -52,6 +52,14 @@ export declare class Input implements ComponentInterface {
|
|
|
52
52
|
* Set the amount of time, in milliseconds, to wait to trigger the `wcsChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
|
|
53
53
|
*/
|
|
54
54
|
debounce: number;
|
|
55
|
+
/**
|
|
56
|
+
* Prefix displayed before the text field contents. This is not included in the value.
|
|
57
|
+
*/
|
|
58
|
+
prefixLabel: string;
|
|
59
|
+
/**
|
|
60
|
+
* Suffix displayed after the text field contents. This is not included in the value.
|
|
61
|
+
*/
|
|
62
|
+
suffixLabel: string;
|
|
55
63
|
protected debounceChanged(): void;
|
|
56
64
|
/**
|
|
57
65
|
* If `true`, the user cannot interact with the input.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
-
import { MaterialIconFamily } from './mat-icon-interface';
|
|
2
|
+
import { MaterialIconFamily, MaterialIconSize } from './mat-icon-interface';
|
|
3
3
|
export declare class MatIcon implements ComponentInterface {
|
|
4
4
|
/**
|
|
5
5
|
* Use the icon name from Material Icons
|
|
@@ -8,7 +8,7 @@ export declare class MatIcon implements ComponentInterface {
|
|
|
8
8
|
/**
|
|
9
9
|
* Size of the icon
|
|
10
10
|
*/
|
|
11
|
-
size:
|
|
11
|
+
size: MaterialIconSize;
|
|
12
12
|
/**
|
|
13
13
|
* Family of the icon
|
|
14
14
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ModalSize = 's' | 'm' | 'l' | 'xl';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ModalSize } from './modal-interface';
|
|
2
3
|
export declare class Modal {
|
|
3
4
|
/**
|
|
4
5
|
* Specifies whether the component should display a backdrop on the entire page
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
+
withoutBackdrop: boolean;
|
|
7
8
|
/**
|
|
8
9
|
* Displays the modal
|
|
9
10
|
*/
|
|
@@ -17,6 +18,11 @@ export declare class Modal {
|
|
|
17
18
|
* if false, it won't close the modal when the escape key is pressed.
|
|
18
19
|
*/
|
|
19
20
|
showCloseButton: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* There are multiple sizes for modals. The default size is medium (m), however other sizes are available. Select the
|
|
23
|
+
* size best suited for the content and screen size displaying the modal. Remember to test responsiveness.
|
|
24
|
+
*/
|
|
25
|
+
size: ModalSize;
|
|
20
26
|
render(): any;
|
|
21
27
|
private onKeyDown;
|
|
22
28
|
private onCloseButtonClick;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { RadioChosedEvent } from './radio-interface';
|
|
3
|
+
import { RadioGroupMode } from '../radio-group/radio-group-interface';
|
|
3
4
|
export declare class Radio implements ComponentInterface {
|
|
4
5
|
private inputId;
|
|
5
6
|
private inputEl;
|
|
6
7
|
el: HTMLWcsRadioElement;
|
|
7
|
-
mode:
|
|
8
|
+
mode: RadioGroupMode;
|
|
8
9
|
value: any | any[] | undefined | null;
|
|
9
10
|
label: string;
|
|
10
11
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { RadioGroupChangeEventDetail } from './radio-group-interface';
|
|
2
|
+
import { RadioGroupChangeEventDetail, RadioGroupMode } from './radio-group-interface';
|
|
3
3
|
import { RadioChosedEvent } from '../radio/radio-interface';
|
|
4
4
|
export declare class RadioGroup implements ComponentInterface {
|
|
5
5
|
value: any | any[] | undefined | null;
|
|
6
6
|
name: any;
|
|
7
|
-
mode:
|
|
7
|
+
mode: RadioGroupMode;
|
|
8
8
|
el: HTMLWcsRadioGroupElement;
|
|
9
9
|
/** Emitted when the value has changed. */
|
|
10
10
|
wcsChange: EventEmitter<RadioGroupChangeEventDetail>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type WcsSpinnerMode = 'border' | 'growing';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
import { WcsSpinnerMode } from './spinner-interface';
|
|
2
3
|
export declare class Spinner implements ComponentInterface {
|
|
3
4
|
/**
|
|
4
5
|
* Indicates the spinner display mode.
|
|
5
6
|
* Accepted values: `border` or `growing`
|
|
6
7
|
*/
|
|
7
|
-
mode:
|
|
8
|
+
mode: WcsSpinnerMode;
|
|
8
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SwitchChangeEventDetail } from './switch-interface';
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { SwitchChangeEventDetail, SwitchLabelAlignment } from './switch-interface';
|
|
3
3
|
export declare class Switch implements ComponentInterface {
|
|
4
4
|
private switchId;
|
|
5
5
|
el: HTMLElement;
|
|
@@ -12,6 +12,14 @@ export declare class Switch implements ComponentInterface {
|
|
|
12
12
|
* Emitted when the checked property has changed.
|
|
13
13
|
*/
|
|
14
14
|
wcsChange: EventEmitter<SwitchChangeEventDetail>;
|
|
15
|
+
/**
|
|
16
|
+
* Specifie the alignment of the switch with the label content
|
|
17
|
+
*/
|
|
18
|
+
labelAlignment: SwitchLabelAlignment;
|
|
19
|
+
/**
|
|
20
|
+
* Specify wether the switch is disabled or not.
|
|
21
|
+
*/
|
|
22
|
+
disabled: boolean;
|
|
15
23
|
toggleChange(_event: Event): void;
|
|
16
24
|
render(): any;
|
|
17
25
|
}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
2
|
import { WcsTooltipPosition } from './tooltip-interface';
|
|
3
|
+
import { Instance, Props } from 'tippy.js';
|
|
4
|
+
/**
|
|
5
|
+
* Tooltips are used to provide additional information for features available on the website. These can improve the user
|
|
6
|
+
* experience or simply show additional information. Tooltips appear when the user rolls over or clicks on them
|
|
7
|
+
* (for longer content).
|
|
8
|
+
*
|
|
9
|
+
* Note that this component is based on the Tippy.js library : https://atomiks.github.io/tippyjs/
|
|
10
|
+
*/
|
|
3
11
|
export declare class Tooltip implements ComponentInterface {
|
|
4
12
|
/**
|
|
5
13
|
* The **id** of the element the tooltip's going to describe.
|
|
6
14
|
*
|
|
15
|
+
* This property cannot be modified after initialization.
|
|
16
|
+
*
|
|
7
17
|
* @example
|
|
8
18
|
* ```html
|
|
9
19
|
* <span id="tooltiped">Some content</span>
|
|
@@ -15,13 +25,67 @@ export declare class Tooltip implements ComponentInterface {
|
|
|
15
25
|
* Where the tooltip is going to show relative to the element it's describing.
|
|
16
26
|
*/
|
|
17
27
|
position: WcsTooltipPosition;
|
|
28
|
+
/**
|
|
29
|
+
* Determines if the tooltip has interactive content inside of it, so that it can be hovered over and clicked inside
|
|
30
|
+
* without hiding.
|
|
31
|
+
*/
|
|
32
|
+
interactive: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the maximum width of the tooltip. Useful to prevent it from being too horizontally wide to read.
|
|
35
|
+
*
|
|
36
|
+
* If the viewport's width is smaller than maxWidth, core CSS ensures the tippy remains smaller than the screen.
|
|
37
|
+
*/
|
|
38
|
+
maxWidth: string | number;
|
|
39
|
+
/**
|
|
40
|
+
* Delay in ms once a trigger event is fired before the tooltip shows or hides.
|
|
41
|
+
*
|
|
42
|
+
* You can provide an array with two values to define a different duration for show and hide.
|
|
43
|
+
*
|
|
44
|
+
* `[showDelay, hideDelay]`
|
|
45
|
+
*
|
|
46
|
+
* Use null to use default value.
|
|
47
|
+
*/
|
|
48
|
+
delay: number | [number, number];
|
|
49
|
+
/**
|
|
50
|
+
* Duration in ms of the transition animation.
|
|
51
|
+
*/
|
|
52
|
+
duration: number | [number, number];
|
|
53
|
+
/**
|
|
54
|
+
* Determines the events that cause the tooltip to show. Multiple event names are separated by spaces.
|
|
55
|
+
*
|
|
56
|
+
* See: https://atomiks.github.io/tippyjs/v6/all-props/#trigger
|
|
57
|
+
*/
|
|
58
|
+
trigger: string;
|
|
59
|
+
/**
|
|
60
|
+
* Allows you to change the theme used by tippy.
|
|
61
|
+
*
|
|
62
|
+
* The WCS theme is used by default and uses the WCS CSS variables.
|
|
63
|
+
*
|
|
64
|
+
* You can create a theme by following this documentation and choosing a custom name :
|
|
65
|
+
* https://atomiks.github.io/tippyjs/v6/themes/
|
|
66
|
+
*/
|
|
67
|
+
theme: string;
|
|
18
68
|
private el;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
69
|
+
tippyInstance: Instance<Props>;
|
|
70
|
+
componentWillLoad(): Promise<void> | void;
|
|
71
|
+
private updateProps;
|
|
72
|
+
private updateTippyContent;
|
|
73
|
+
/**
|
|
74
|
+
* Programmatically hide the tooltip
|
|
75
|
+
*/
|
|
76
|
+
hide(): Promise<void>;
|
|
77
|
+
/**
|
|
78
|
+
* Programmatically show the tooltip
|
|
79
|
+
*/
|
|
80
|
+
show(): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Temporarily prevent the tooltip from showing or hiding
|
|
83
|
+
*/
|
|
84
|
+
disable(): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Re-enable a disabled tooltip
|
|
87
|
+
*/
|
|
88
|
+
enable(): Promise<void>;
|
|
25
89
|
disconnectedCallback(): void;
|
|
26
90
|
render(): any;
|
|
27
91
|
}
|