@sula-tech/webcomponents 0.20.1 → 0.22.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/dist/cjs/index.cjs.js +7 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{sula-avatar_31.cjs.entry.js → sula-avatar_32.cjs.entry.js} +453 -84
- package/dist/cjs/sula-avatar_32.cjs.entry.js.map +1 -0
- package/dist/cjs/{sula-menu.model-BDxbWyPG.js → sula-calendar.model-BI5cNrUo.js} +8 -2
- package/dist/cjs/sula-calendar.model-BI5cNrUo.js.map +1 -0
- package/dist/cjs/sula-toast-stack.cjs.entry.js +4 -4
- package/dist/cjs/sula-toast.cjs.entry.js +2 -2
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sula-calendar/model/sula-calendar.model.js +6 -0
- package/dist/collection/components/sula-calendar/model/sula-calendar.model.js.map +1 -0
- package/dist/collection/components/sula-calendar/sula-calendar.css +1 -0
- package/dist/collection/components/sula-calendar/sula-calendar.js +792 -0
- package/dist/collection/components/sula-calendar/sula-calendar.js.map +1 -0
- package/dist/collection/components/sula-calendar/sula-calendar.stories.js +309 -0
- package/dist/collection/components/sula-calendar/sula-calendar.stories.js.map +1 -0
- package/dist/collection/components/sula-checkbox/sula-checkbox.js +3 -3
- package/dist/collection/components/sula-chip/model/sula-chip.model.js +5 -0
- package/dist/collection/components/sula-chip/model/sula-chip.model.js.map +1 -1
- package/dist/collection/components/sula-chip/sula-chip.css +1 -1
- package/dist/collection/components/sula-chip/sula-chip.js +40 -5
- package/dist/collection/components/sula-chip/sula-chip.js.map +1 -1
- package/dist/collection/components/sula-chip/sula-chip.stories.js +14 -1
- package/dist/collection/components/sula-chip/sula-chip.stories.js.map +1 -1
- package/dist/collection/components/sula-dropdown/sula-dropdown.js +3 -3
- package/dist/collection/components/sula-icon/sula-icon.css +1 -1
- package/dist/collection/components/sula-icon/sula-icon.js +1 -1
- package/dist/collection/components/sula-icon-picker/sula-icon-picker.js +2 -2
- package/dist/collection/components/sula-loader/sula-loader.js +1 -1
- package/dist/collection/components/sula-menu/sula-menu.js +8 -8
- package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.css +1 -1
- package/dist/collection/components/sula-menu-select-list/sula-menu-select-list.js +1 -1
- package/dist/collection/components/sula-progress-bar/sula-progress-bar.js +2 -2
- package/dist/collection/components/sula-radio-button/sula-radio-button.js +2 -2
- package/dist/collection/components/sula-search-bar/sula-search-bar.js +2 -2
- package/dist/collection/components/sula-segmented-control/sula-segmented-control.js +1 -1
- package/dist/collection/components/sula-switch/sula-switch.js +4 -4
- package/dist/collection/components/sula-table/sula-table.js +3 -3
- package/dist/collection/components/sula-table-body/sula-table-body.js +1 -1
- package/dist/collection/components/sula-table-cell/sula-table-cell.js +2 -2
- package/dist/collection/components/sula-table-head-cell/sula-table-head-cell.js +2 -2
- package/dist/collection/components/sula-table-header/sula-table-header.js +1 -1
- package/dist/collection/components/sula-table-row/sula-table-row.js +1 -1
- package/dist/collection/components/sula-tag/sula-tag.js +3 -3
- package/dist/collection/components/sula-textarea/sula-textarea.js +6 -6
- package/dist/collection/components/sula-textfield/sula-textfield.css +1 -1
- package/dist/collection/components/sula-textfield/sula-textfield.js +27 -3
- package/dist/collection/components/sula-textfield/sula-textfield.js.map +1 -1
- package/dist/collection/components/sula-textfield/sula-textfield.stories.js +9 -0
- package/dist/collection/components/sula-textfield/sula-textfield.stories.js.map +1 -1
- package/dist/collection/components/sula-tiles/sula-tiles.js +1 -1
- package/dist/collection/components/sula-timeline-list/sula-timeline-list.js +1 -1
- package/dist/collection/components/sula-toast/sula-toast.js +2 -2
- package/dist/collection/components/sula-toast-stack/sula-toast-stack.js +4 -4
- package/dist/collection/components/sula-toggle/sula-toggle.js +1 -1
- package/dist/collection/components/sula-tooltip/sula-tooltip.js +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-b7t6bSNa.js → p-CXm0qTFO.js} +4 -4
- package/dist/components/{p-b7t6bSNa.js.map → p-CXm0qTFO.js.map} +1 -1
- package/dist/components/p-Cp_4qTxj.js +10 -0
- package/dist/components/p-Cp_4qTxj.js.map +1 -0
- package/dist/components/{p-DmQoJS86.js → p-D5G0T47I.js} +5 -5
- package/dist/components/{p-DmQoJS86.js.map → p-D5G0T47I.js.map} +1 -1
- package/dist/components/p-DGAtNvje.js +555 -0
- package/dist/components/p-DGAtNvje.js.map +1 -0
- package/dist/components/{p-CJ2i2jVV.js → p-DwyYG9oc.js} +5 -5
- package/dist/components/{p-CJ2i2jVV.js.map → p-DwyYG9oc.js.map} +1 -1
- package/dist/components/{p-DmCNhtp_.js → p-MPkJUrNl.js} +3 -3
- package/dist/components/{p-DmCNhtp_.js.map → p-MPkJUrNl.js.map} +1 -1
- package/dist/components/{p-DGfvh6dZ.js → p-fAOl4EhI.js} +5 -5
- package/dist/components/{p-DGfvh6dZ.js.map → p-fAOl4EhI.js.map} +1 -1
- package/dist/components/{p-DqRqPukj.js → p-jplrktAF.js} +4 -4
- package/dist/components/{p-DqRqPukj.js.map → p-jplrktAF.js.map} +1 -1
- package/dist/components/{p-D0ZAC0yK.js → p-t7f_qmad.js} +7 -7
- package/dist/components/{p-D0ZAC0yK.js.map → p-t7f_qmad.js.map} +1 -1
- package/dist/components/sula-avatar.js +1 -1
- package/dist/components/sula-badge.js +1 -1
- package/dist/components/sula-breadcrumb.js +1 -1
- package/dist/components/sula-button.js +1 -1
- package/dist/components/sula-calendar.d.ts +11 -0
- package/dist/components/sula-calendar.js +411 -0
- package/dist/components/sula-calendar.js.map +1 -0
- package/dist/components/sula-checkbox.js +4 -4
- package/dist/components/sula-chip.js +22 -7
- package/dist/components/sula-chip.js.map +1 -1
- package/dist/components/sula-dropdown.js +1 -1
- package/dist/components/sula-icon-picker.js +6 -6
- package/dist/components/sula-icon.js +1 -1
- package/dist/components/sula-loader.js +1 -1
- package/dist/components/sula-menu-select-list.js +1 -1
- package/dist/components/sula-menu.js +9 -9
- package/dist/components/sula-modal.js +3 -3
- package/dist/components/sula-progress-bar.js +3 -3
- package/dist/components/sula-radio-button.js +2 -2
- package/dist/components/sula-search-bar.js +1 -1
- package/dist/components/sula-segmented-control.js +2 -2
- package/dist/components/sula-switch.js +4 -4
- package/dist/components/sula-table-body.js +1 -1
- package/dist/components/sula-table-cell.js +2 -2
- package/dist/components/sula-table-head-cell.js +2 -2
- package/dist/components/sula-table-header.js +1 -1
- package/dist/components/sula-table-row.js +1 -1
- package/dist/components/sula-table.js +3 -3
- package/dist/components/sula-tag.js +4 -4
- package/dist/components/sula-textarea.js +6 -6
- package/dist/components/sula-textfield.js +1 -545
- package/dist/components/sula-textfield.js.map +1 -1
- package/dist/components/sula-tiles.js +2 -2
- package/dist/components/sula-timeline-list.js +2 -2
- package/dist/components/sula-toast-stack.js +6 -6
- package/dist/components/sula-toast.js +1 -1
- package/dist/components/sula-toggle.js +2 -2
- package/dist/components/sula-tooltip.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{sula-avatar_31.entry.js → sula-avatar_32.entry.js} +447 -79
- package/dist/esm/sula-avatar_32.entry.js.map +1 -0
- package/dist/esm/{sula-menu.model-Cs9RR1ZV.js → sula-calendar.model-BbsLJDfp.js} +9 -3
- package/dist/esm/sula-calendar.model-BbsLJDfp.js.map +1 -0
- package/dist/esm/sula-toast-stack.entry.js +4 -4
- package/dist/esm/sula-toast.entry.js +2 -2
- package/dist/esm/webcomponents.js +1 -1
- package/dist/types/components/sula-calendar/model/sula-calendar.model.d.ts +28 -0
- package/dist/types/components/sula-calendar/sula-calendar.d.ts +134 -0
- package/dist/types/components/sula-calendar/sula-calendar.stories.d.ts +169 -0
- package/dist/types/components/sula-chip/model/sula-chip.model.d.ts +4 -0
- package/dist/types/components/sula-chip/sula-chip.d.ts +5 -1
- package/dist/types/components/sula-chip/sula-chip.stories.d.ts +12 -1
- package/dist/types/components/sula-textfield/sula-textfield.d.ts +4 -0
- package/dist/types/components/sula-textfield/sula-textfield.stories.d.ts +8 -0
- package/dist/types/components.d.ts +221 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/{p-f4ef50ea.entry.js → p-22b10b91.entry.js} +840 -355
- package/dist/webcomponents/p-22b10b91.entry.js.map +1 -0
- package/dist/webcomponents/{p-Cs9RR1ZV.js → p-BbsLJDfp.js} +11 -4
- package/dist/webcomponents/p-BbsLJDfp.js.map +1 -0
- package/dist/webcomponents/{p-170854a5.entry.js → p-c552c435.entry.js} +16 -16
- package/dist/webcomponents/{p-c58125e1.entry.js → p-df271629.entry.js} +6 -6
- package/dist/webcomponents/webcomponents.esm.js +48 -23
- package/package.json +1 -1
- package/dist/cjs/sula-avatar_31.cjs.entry.js.map +0 -1
- package/dist/cjs/sula-menu.model-BDxbWyPG.js.map +0 -1
- package/dist/esm/sula-avatar_31.entry.js.map +0 -1
- package/dist/esm/sula-menu.model-Cs9RR1ZV.js.map +0 -1
- package/dist/webcomponents/p-Cs9RR1ZV.js.map +0 -1
- package/dist/webcomponents/p-f4ef50ea.entry.js.map +0 -1
- /package/dist/webcomponents/{p-170854a5.entry.js.map → p-c552c435.entry.js.map} +0 -0
- /package/dist/webcomponents/{p-c58125e1.entry.js.map → p-df271629.entry.js.map} +0 -0
|
@@ -10,7 +10,13 @@ var SulaMenuLabelOverflow;
|
|
|
10
10
|
SulaMenuLabelOverflow["Wrap"] = "wrap";
|
|
11
11
|
})(SulaMenuLabelOverflow || (SulaMenuLabelOverflow = {}));
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
var SulaCalendarStatus;
|
|
14
|
+
(function (SulaCalendarStatus) {
|
|
15
|
+
SulaCalendarStatus["Default"] = "default";
|
|
16
|
+
SulaCalendarStatus["Error"] = "error";
|
|
17
|
+
})(SulaCalendarStatus || (SulaCalendarStatus = {}));
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
export { SulaMenuDensity as S, SulaMenuLabelOverflow as a, SulaCalendarStatus as b };
|
|
20
|
+
//# sourceMappingURL=sula-calendar.model-BbsLJDfp.js.map
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=sula-calendar.model-BbsLJDfp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sula-calendar.model-BbsLJDfp.js","sources":["src/components/sula-menu/model/sula-menu.model.ts","src/components/sula-calendar/model/sula-calendar.model.ts"],"sourcesContent":["export enum SulaMenuDensity {\n Compact = 'compact',\n Default = 'default',\n Comfortable = 'comfortable',\n}\n\nexport enum SulaMenuLabelOverflow {\n Truncate = 'truncate',\n Wrap = 'wrap',\n}\n\nexport interface SulaMenuMainItem extends SulaMenuItem {\n children?: SulaMenuSubItem[];\n}\n\nexport interface SulaMenuSubItem extends SulaMenuItem {\n children?: SulaMenuItem[];\n}\n\nexport interface SulaMenuItem {\n id: string;\n label: string;\n icon: string;\n hidden?: boolean;\n open?: boolean;\n route?: string;\n expanded?: boolean;\n selected?: boolean;\n disabled?: boolean;\n}\n\nexport type SelectedMenuItem = {\n id: string;\n parentItemId?: string;\n parentChildId?: string;\n};\n","export enum SulaCalendarStatus {\n Default = 'default',\n Error = 'error',\n}\n\nexport interface SulaCalendarDay {\n date: Date;\n day: number;\n isCurrentMonth: boolean;\n isSelected: boolean;\n isRangeStart: boolean;\n isRangeEnd: boolean;\n isInRange: boolean;\n isRangePreview: boolean;\n isToday: boolean;\n isDisabled: boolean;\n}\n\nexport interface SulaCalendarRange {\n start: string;\n end: string;\n}\n\nexport interface SulaCalendarWeekday {\n short: string;\n long: string;\n}\n\nexport interface SulaCalendarMonthChange {\n month: number;\n year: number;\n}\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,eAAe,EAAA;AACzB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAC7B,CAAC,EAJW,eAAe,KAAf,eAAe,GAI1B,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,qBAAqB,EAAA;AAC/B,IAAA,qBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,qBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,GAGhC,EAAA,CAAA,CAAA;;ICTW;AAAZ,CAAA,UAAY,kBAAkB,EAAA;AAC5B,IAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,kBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACjB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,GAG7B,EAAA,CAAA,CAAA;;;;"}
|
|
@@ -270,7 +270,7 @@ const SulaToastStack = class {
|
|
|
270
270
|
render() {
|
|
271
271
|
const expanded = this.expanded;
|
|
272
272
|
const visibleItems = this.visibleItems;
|
|
273
|
-
return (h(Host, { key: '
|
|
273
|
+
return (h(Host, { key: 'f80b3b3f370e40ba87a261825af7ee9f55fe99dc' }, h("section", { key: 'd5a233e0b204060a1bde1bb09eac204a5c8f5ca7', ref: el => (this.region = el), role: "region", "aria-label": "Notifica\u00E7\u00F5es", tabIndex: 0, class: "toast-region w-full rounded-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-feedback-informational focus-visible:outline-offset-2", onMouseEnter: () => {
|
|
274
274
|
if (!this.noHover)
|
|
275
275
|
this.hovering = true;
|
|
276
276
|
}, onMouseLeave: () => (this.hovering = false), onPointerDown: () => {
|
|
@@ -279,7 +279,7 @@ const SulaToastStack = class {
|
|
|
279
279
|
}, onKeyDown: () => {
|
|
280
280
|
this.keyboardInteraction = true;
|
|
281
281
|
this.stopRetainingPointerExpansion();
|
|
282
|
-
}, onFocusin: () => (this.focused = true), onFocusout: this.handleFocusOut }, h("div", { key: '
|
|
282
|
+
}, onFocusin: () => (this.focused = true), onFocusout: this.handleFocusOut }, h("div", { key: 'e409f3009f2c19839304f06b05b0409d9cc6a819', ref: el => (this.list = el), class: { 'toast-list relative flex flex-col gap-12': true, 'toast-list--collapsed': !expanded }, style: {
|
|
283
283
|
'--toast-layer-offset': `${Math.max(0, visibleItems.length - 1) * LAYER_OFFSET}px`,
|
|
284
284
|
} }, visibleItems.map((item, index) => {
|
|
285
285
|
var _a, _b, _c, _d;
|
|
@@ -293,9 +293,9 @@ const SulaToastStack = class {
|
|
|
293
293
|
'--toast-depth': String(depth),
|
|
294
294
|
'--toast-width': `${100 - Math.min(depth, MAX_VISIBLE_LAYERS - 1) * LAYER_WIDTH_STEP}%`,
|
|
295
295
|
} }, h("sula-toast", { toastTitle: item.title, message: (_a = item.message) !== null && _a !== void 0 ? _a : '', type: item.type, icon: item.icon, actionText: (_b = item.actionText) !== null && _b !== void 0 ? _b : '', closable: (_c = item.closable) !== null && _c !== void 0 ? _c : true, duration: item.duration, closeLabel: (_d = item.closeLabel) !== null && _d !== void 0 ? _d : 'Fechar notificação', paused: covered || this.hovering || this.focused || this.retainingPointerExpansion, announcement: "off", animated: depth === 0, onToastDismissRequested: event => this.dismiss(event, item.id), onToastAction: event => this.action(event, item.id) })));
|
|
296
|
-
}))), h("div", { key: '
|
|
296
|
+
}))), h("div", { key: '2b2eadddfde8a784d9c2f1c7f431d82619eb57dc', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "false", "aria-relevant": "additions text" }, this.announcements
|
|
297
297
|
.filter(record => record.priority === 'polite')
|
|
298
|
-
.map(record => (h("p", { key: record.version }, record.text)))), h("div", { key: '
|
|
298
|
+
.map(record => (h("p", { key: record.version }, record.text)))), h("div", { key: '0207426e568669405be5a1d99c47338d72607bdf', class: "sr-only", role: "alert", "aria-live": "assertive", "aria-atomic": "false", "aria-relevant": "additions text" }, this.announcements
|
|
299
299
|
.filter(record => record.priority === 'assertive')
|
|
300
300
|
.map(record => (h("p", { key: record.version }, record.text))))));
|
|
301
301
|
}
|
|
@@ -170,10 +170,10 @@ const SulaToast = class {
|
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
172
|
const intent = this.intent;
|
|
173
|
-
return (h(Host, { key: '
|
|
173
|
+
return (h(Host, { key: 'be9ec64bd756310cbc5a41d218ff47c53f04de54', onMouseEnter: () => this.setHover(true), onMouseLeave: () => this.setHover(false), onFocusin: () => {
|
|
174
174
|
this.focused = true;
|
|
175
175
|
this.updateTimeout();
|
|
176
|
-
}, onFocusout: this.handleFocusOut }, h("div", { key: '
|
|
176
|
+
}, onFocusout: this.handleFocusOut }, h("div", { key: '712abcedfd6615db3de20ac66acd872f34db2737', part: "container", class: `toast-surface relative isolate box-border flex items-center w-full p-16 gap-12 rounded-sm border bg-opacity-toast ${intent.border} ${this.animated ? 'toast-surface--animated' : ''}`, style: { '--toast-border-color': intent.borderColor } }, this.icon && (h("div", { key: '656903d50bf672c3058c1ff1aa564a8f25ec4a71', part: "icon", "aria-hidden": "true", class: `flex shrink-0 items-center justify-center w-44 h-44 rounded-xxl ${intent.background}` }, h("sula-icon", { key: '649ec85c3ffe3c1d8ba49301df36dafcef68df19', icon: this.icon, customClass: `text-2xl ${intent.color}`, class: "flex leading-none" }))), h("div", { key: '7c0259e7e101e37f740fc44f56ed6b8aba89ebce', part: "content", class: `flex min-w-0 flex-1 flex-col gap-8 ${this.closable ? 'pr-48' : ''}` }, h("div", { key: 'a8d4be58976ba60577b72fb18cf5adde5302e4a9', class: "flex flex-col gap-4" }, this.toastTitle && (h("p", { key: 'a68c9bef629be007bf7e8e2fe9e171103f0da293', class: "toast-copy toast-title text-label-medium-bold text-text-primary", title: this.toastTitle }, this.toastTitle)), this.message && (h("p", { key: 'fd3df25e0dbb73a322e55f5464699c6b36dc558c', class: "toast-copy toast-message text-label-medium-regular text-text-secondary", title: this.message }, this.message))), this.actionText && (h("button", { key: 'a64c83ed689f099928ed8e89ddfbd1a29f9d7d37', type: "button", class: `toast-copy toast-action self-start text-left text-label-medium-bold text-text-link underline rounded ${FOCUS_RING_CLASSES}`, title: this.actionText, onClick: () => this.toastAction.emit() }, this.actionText))), this.closable && (h("button", { key: 'ec4cb316444689bc05aa176f86b51c1b6d5e88af', part: "close-button", type: "button", "aria-label": this.closeLabel, class: `absolute top-16 right-16 flex items-center justify-center w-24 h-24 rounded ${intent.color} ${FOCUS_RING_CLASSES}`, onClick: () => this.toastDismissRequested.emit({ reason: 'close' }) }, h("sula-icon", { key: '9be25e6384c6a154a359a15ab2ec0d732befe282', "aria-hidden": "true", icon: "ph ph-x", customClass: "text-2xl", class: "flex leading-none" }))), h("svg", { key: '8996d6309d39d79e5db7671fcbd8c1b6cbfeda5c', class: "toast-border", "aria-hidden": "true", focusable: "false" }, h("rect", { key: '141c0776c32283daef59b261b04e4059beee3aca', class: "toast-border__path", pathLength: "1" }))), h("div", { key: '318987642827371f72b5754827c8019a6a1b968a', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcement === 'polite' ? this.announcedText : ''), h("div", { key: '6c1e12a9c15f11afb7f517d911441a868978c2ba', class: "sr-only", role: "alert", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement === 'assertive' ? this.announcedText : '')));
|
|
177
177
|
}
|
|
178
178
|
get hostElement() { return getElement(this); }
|
|
179
179
|
static get watchers() { return {
|
|
@@ -16,7 +16,7 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["sula-
|
|
19
|
+
return bootstrapLazy([["sula-avatar_32",[[1,"sula-icon-picker",{"label":[1025],"required":[1028],"disabled":[1028],"error":[1025],"value":[1025],"showSearch":[4,"show-search"],"searchPlaceholder":[1,"search-placeholder"],"icons":[1040],"maxVisibleIcons":[2,"max-visible-icons"],"menuMaxHeight":[2,"menu-max-height"],"selectedIcon":[32],"searchTerm":[32]},null,{"value":["handleValueChange"],"icons":["handleIconsChange"]}],[1,"sula-modal",{"opened":[1028],"blockBodyScroll":[1028,"block-body-scroll"],"closeOnClickOutside":[1028,"close-on-click-outside"],"type":[1],"headerIcon":[1,"header-icon"],"modalTitle":[1,"modal-title"],"promoImage":[1,"promo-image"],"subTitle":[1,"sub-title"],"primaryButtonText":[1,"primary-button-text"],"secondaryButtonText":[1,"secondary-button-text"],"slotOverflow":[1,"slot-overflow"],"isAnimating":[32],"shouldRender":[32]},null,{"opened":["handleOpenedChange"]}],[1,"sula-calendar",{"label":[1],"value":[1025],"placeholder":[1],"disabled":[4],"helpText":[1,"help-text"],"status":[1],"locale":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"range":[4],"allowTyping":[4,"allow-typing"],"inline":[4],"compact":[4],"firstDayOfWeek":[2,"first-day-of-week"],"closeOnSelect":[4,"close-on-select"],"showCalendar":[32],"openUpward":[32],"viewMonth":[32],"viewYear":[32],"hoverDate":[32]},[[4,"click","handleDocumentClick"],[4,"keydown","handleDocumentKeydown"]],{"value":["handleValueChange"]}],[1,"sula-chip",{"text":[1025],"appearance":[1025],"disabled":[1028],"items":[1040],"itemsPlacement":[1025,"items-placement"],"selected":[1028],"isFocused":[32],"showItems":[32]},[[4,"click","handleDocumentClick"]]],[1,"sula-avatar",{"size":[1],"imageUrl":[1,"image-url"],"text":[1],"icon":[1]}],[1,"sula-badge",{"status":[1025],"size":[1025],"type":[1025],"text":[1025],"icon":[1025],"hasSlotContent":[32]}],[1,"sula-breadcrumb",{"items":[1040]}],[1,"sula-checkbox",{"type":[1025],"label":[1025],"subTitle":[1025,"sub-title"],"disabled":[1028],"checked":[1028],"isFocus":[32]}],[1,"sula-menu",{"menuTitle":[1,"menu-title"],"image":[1],"width":[1],"density":[1],"labelOverflow":[1,"label-overflow"],"items":[1040],"collapsed":[32],"previewExpanded":[32],"selectedItem":[32]},null,{"items":["syncSelectedItemFromItems"]}],[1,"sula-progress-bar",{"appearance":[1025],"state":[1025],"topLabel":[1025,"top-label"],"bottomLabel":[1025,"bottom-label"],"progress":[1026],"showProgress":[1028,"show-progress"]},null,{"progress":["validateProgress"]}],[1,"sula-segmented-control",{"items":[1040],"type":[1025],"size":[1025],"color":[1025]}],[1,"sula-tag",{"label":[1025],"icon":[1025],"iconStatus":[1025,"icon-status"],"size":[1025],"appearance":[1025],"fontWeight":[1025,"font-weight"]}],[1,"sula-tiles",{"type":[1],"size":[1],"ellipsis":[4],"icon":[1],"text":[1],"subText":[1,"sub-text"],"disabled":[4]}],[1,"sula-timeline-list",{"sulaTimelineList":[1040,"sula-timeline-list"]}],[1,"sula-toggle",{"selected":[1028],"buttonDisabled":[1028,"button-disabled"],"icon":[1]}],[1,"sula-tooltip",{"text":[1],"position":[1],"icon":[1],"iconClass":[1,"icon-class"],"focused":[4],"trigger":[1],"appendToBody":[4,"append-to-body"],"isVisible":[32]},null,{"text":["handleTextChange"]}],[1,"sula-radio-button",{"checked":[1028],"label":[1025],"disabled":[1028],"radioIsFocus":[32]}],[1,"sula-switch",{"type":[1025],"active":[1028],"disabled":[1028],"label":[1025],"subTitle":[1025,"sub-title"],"responsive":[4],"isFocus":[32]}],[4,"sula-table",{"density":[1],"equalWidth":[4,"equal-width"],"fullWidth":[4,"full-width"]}],[4,"sula-table-body"],[4,"sula-table-cell"],[4,"sula-table-head-cell"],[4,"sula-table-header"],[4,"sula-table-row"],[1,"sula-textarea",{"value":[1025],"status":[1025],"label":[1],"placeholder":[1],"disabled":[1028],"helpText":[1,"help-text"],"maxLength":[2,"max-length"],"rows":[2],"isActive":[32],"textValue":[32],"textareaIsFocused":[32],"labelPadding":[32]},[[4,"click","handleClick"]],{"value":["watchValueHandler"]}],[1,"sula-button",{"text":[1025],"icon":[1025],"leftIcon":[1025,"left-icon"],"rightIcon":[1025,"right-icon"],"appearance":[1025],"type":[1025],"size":[1025],"status":[1025],"loading":[1028],"buttonDisabled":[1028,"button-disabled"],"fullWidth":[1028,"full-width"]}],[1,"sula-dropdown",{"label":[1025],"disabled":[1028],"hasError":[1540,"has-error"],"items":[1040],"value":[1040],"searchable":[516],"menuMaxHeight":[2,"menu-max-height"],"contentMaxHeight":[2,"content-max-height"],"customContent":[516,"custom-content"],"closeOnSelect":[4,"close-on-select"],"showContent":[1540,"show-content"],"selectedItem":[32],"isFocused":[32],"searchTerm":[32],"filteredItems":[32],"openUpward":[32]},[[4,"click","handleDocumentClick"],[9,"resize","handleWindowResize"]],{"value":["handleValueChange"],"showContent":["handleShowContentChange"]}],[1,"sula-search-bar",{"value":[1025],"searchBarStyle":[1025,"search-bar-style"],"placeholder":[1025],"leftIcon":[1025,"left-icon"],"rightIcon":[1025,"right-icon"],"isFocused":[32],"textValue":[32]}],[1,"sula-textfield",{"value":[1025],"type":[1],"status":[1025],"label":[1],"placeholder":[1],"disabled":[1028],"readOnly":[4,"read-only"],"helpText":[1,"help-text"],"maxLength":[2,"max-length"],"icon":[1],"maskPattern":[1,"mask-pattern"],"maskPatternSwitchMaxLength":[2,"mask-pattern-switch-max-length"],"inputIsOpen":[32],"textValue":[32],"showPassword":[32],"inputIsFocused":[32]},[[4,"click","handleClick"]],{"value":["watchValueHandler"],"maskPattern":["watchMaskPatternHandler"],"maskPatternSwitchMaxLength":["watchMaskPatternSwitchMaxLengthHandler"]}],[1,"sula-loader",{"size":[1],"animationInstance":[32]}],[1,"sula-menu-select-list",{"items":[1040],"fullWidth":[4,"full-width"],"maxHeight":[2,"max-height"],"selectedValue":[16,"selected-value"]}],[0,"sula-icon",{"icon":[1],"customClass":[1,"custom-class"]}]]],["sula-toast",[[1,"sula-toast",{"toastTitle":[1,"toast-title"],"message":[1],"type":[1],"icon":[1],"actionText":[1,"action-text"],"closable":[4],"duration":[2],"paused":[4],"animated":[4],"announcement":[1],"closeLabel":[1,"close-label"],"announcedText":[32]},[[4,"visibilitychange","updateTimeout"]],{"toastTitle":["handleContentChange"],"message":["handleContentChange"],"actionText":["handleContentChange"],"duration":["handleContentChange"],"announcement":["updateAnnouncement"],"paused":["updateTimeout"]}]]],["sula-toast-stack",[[1,"sula-toast-stack",{"items":[16],"hovering":[32],"focused":[32],"noHover":[32],"retainingPointerExpansion":[32],"announcements":[32]},null,{"items":["handleItemsChange"]}]]]], options);
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=webcomponents.js.map
|
|
22
22
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum SulaCalendarStatus {
|
|
2
|
+
Default = "default",
|
|
3
|
+
Error = "error"
|
|
4
|
+
}
|
|
5
|
+
export interface SulaCalendarDay {
|
|
6
|
+
date: Date;
|
|
7
|
+
day: number;
|
|
8
|
+
isCurrentMonth: boolean;
|
|
9
|
+
isSelected: boolean;
|
|
10
|
+
isRangeStart: boolean;
|
|
11
|
+
isRangeEnd: boolean;
|
|
12
|
+
isInRange: boolean;
|
|
13
|
+
isRangePreview: boolean;
|
|
14
|
+
isToday: boolean;
|
|
15
|
+
isDisabled: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface SulaCalendarRange {
|
|
18
|
+
start: string;
|
|
19
|
+
end: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SulaCalendarWeekday {
|
|
22
|
+
short: string;
|
|
23
|
+
long: string;
|
|
24
|
+
}
|
|
25
|
+
export interface SulaCalendarMonthChange {
|
|
26
|
+
month: number;
|
|
27
|
+
year: number;
|
|
28
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { SulaTextfieldStatus } from '../sula-textfield/model/sula-textfield.model';
|
|
3
|
+
import { SulaCalendarDay, SulaCalendarMonthChange, SulaCalendarRange, SulaCalendarStatus, SulaCalendarWeekday } from './model/sula-calendar.model';
|
|
4
|
+
export declare class SulaCalendar {
|
|
5
|
+
/**
|
|
6
|
+
* The calendar field label
|
|
7
|
+
*/
|
|
8
|
+
label: string;
|
|
9
|
+
/**
|
|
10
|
+
* Selected date in the `DD/MM/YYYY` format. In range mode the format is `DD/MM/YYYY - DD/MM/YYYY`
|
|
11
|
+
*/
|
|
12
|
+
value: string;
|
|
13
|
+
/**
|
|
14
|
+
* The calendar field placeholder
|
|
15
|
+
*/
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The calendar is disabled
|
|
19
|
+
*/
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The help text displayed below the field
|
|
23
|
+
*/
|
|
24
|
+
helpText?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The calendar field status
|
|
27
|
+
*/
|
|
28
|
+
status: SulaCalendarStatus;
|
|
29
|
+
/**
|
|
30
|
+
* Locale used to format month and weekday names
|
|
31
|
+
*/
|
|
32
|
+
locale: string;
|
|
33
|
+
/**
|
|
34
|
+
* Earliest selectable date in the `DD/MM/YYYY` format
|
|
35
|
+
*/
|
|
36
|
+
minDate?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Latest selectable date in the `DD/MM/YYYY` format
|
|
39
|
+
*/
|
|
40
|
+
maxDate?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Enables selecting a date range (start and end dates) instead of a single date
|
|
43
|
+
*/
|
|
44
|
+
range: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Allows typing the date directly in the field. When false, the date can only be picked in the calendar
|
|
47
|
+
*/
|
|
48
|
+
allowTyping: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Renders only the calendar panel, without the input field
|
|
51
|
+
*/
|
|
52
|
+
inline: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Renders a smaller chip-like trigger showing only the selected date (`DD/MM/YY`), instead of the input field
|
|
55
|
+
*/
|
|
56
|
+
compact: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* First day of the week, where 0 is Sunday and 6 is Saturday
|
|
59
|
+
*/
|
|
60
|
+
firstDayOfWeek: number;
|
|
61
|
+
/**
|
|
62
|
+
* Closes the calendar panel after a date is selected
|
|
63
|
+
*/
|
|
64
|
+
closeOnSelect: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Event emitted when a date is selected, with the date in the `DD/MM/YYYY` format
|
|
67
|
+
*/
|
|
68
|
+
dateSelected: EventEmitter<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Event emitted in range mode when both the start and end dates are selected, either by picking or by typing. In range mode `valueChanged` is not emitted
|
|
71
|
+
*/
|
|
72
|
+
rangeSelected: EventEmitter<SulaCalendarRange>;
|
|
73
|
+
/**
|
|
74
|
+
* Event emitted when the value changes, either by typing or by selecting a date. Not emitted in range mode, use `rangeSelected` instead
|
|
75
|
+
*/
|
|
76
|
+
valueChanged: EventEmitter<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Event emitted when the displayed month changes
|
|
79
|
+
*/
|
|
80
|
+
monthChanged: EventEmitter<SulaCalendarMonthChange>;
|
|
81
|
+
/**
|
|
82
|
+
* Event emitted when the calendar panel is opened
|
|
83
|
+
*/
|
|
84
|
+
calendarOpened: EventEmitter<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Event emitted when the calendar panel is closed
|
|
87
|
+
*/
|
|
88
|
+
calendarClosed: EventEmitter<void>;
|
|
89
|
+
showCalendar: boolean;
|
|
90
|
+
openUpward: boolean;
|
|
91
|
+
viewMonth: number;
|
|
92
|
+
viewYear: number;
|
|
93
|
+
hoverDate: Date | null;
|
|
94
|
+
node?: HTMLElement;
|
|
95
|
+
panelNode?: HTMLElement;
|
|
96
|
+
handleValueChange(): void;
|
|
97
|
+
handleDocumentClick(event: Event): void;
|
|
98
|
+
handleDocumentKeydown(event: KeyboardEvent): void;
|
|
99
|
+
componentWillLoad(): void;
|
|
100
|
+
componentDidRender(): void;
|
|
101
|
+
get selectedDate(): Date | null;
|
|
102
|
+
private getRange;
|
|
103
|
+
private syncViewWithValue;
|
|
104
|
+
private parseDate;
|
|
105
|
+
private formatDate;
|
|
106
|
+
private capitalize;
|
|
107
|
+
private isSameDay;
|
|
108
|
+
private isOutOfRange;
|
|
109
|
+
private get weekStart();
|
|
110
|
+
private createFormatter;
|
|
111
|
+
getMonthLabel(): string;
|
|
112
|
+
getWeekdays(): SulaCalendarWeekday[];
|
|
113
|
+
getWeeks(): SulaCalendarDay[][];
|
|
114
|
+
calculatePanelPosition(): void;
|
|
115
|
+
open(): void;
|
|
116
|
+
close(): void;
|
|
117
|
+
handleFieldClick: () => void;
|
|
118
|
+
getCompactLabel(): string;
|
|
119
|
+
handleCompactClick: (event: MouseEvent) => void;
|
|
120
|
+
handleFieldKeydown: (event: KeyboardEvent) => void;
|
|
121
|
+
handleInputChanged: (event: CustomEvent<string>) => void;
|
|
122
|
+
handlePreviousMonth: (event: MouseEvent) => void;
|
|
123
|
+
handleNextMonth: (event: MouseEvent) => void;
|
|
124
|
+
changeMonth(step: number): void;
|
|
125
|
+
handleSelectDay: (event: MouseEvent, day: SulaCalendarDay) => void;
|
|
126
|
+
selectRangeDay(date: Date): void;
|
|
127
|
+
handleDayHover(day: SulaCalendarDay): void;
|
|
128
|
+
handleGridLeave: () => void;
|
|
129
|
+
getTextfieldStatus(): SulaTextfieldStatus;
|
|
130
|
+
renderHeader(): any;
|
|
131
|
+
renderDay(day: SulaCalendarDay): any;
|
|
132
|
+
renderPanel(): any;
|
|
133
|
+
render(): any;
|
|
134
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
argTypes: {
|
|
5
|
+
label: {
|
|
6
|
+
control: string;
|
|
7
|
+
defaultValue: string;
|
|
8
|
+
description: string;
|
|
9
|
+
type: {
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
value: {
|
|
14
|
+
control: string;
|
|
15
|
+
defaultValue: string;
|
|
16
|
+
description: string;
|
|
17
|
+
type: {
|
|
18
|
+
required: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
placeholder: {
|
|
22
|
+
control: string;
|
|
23
|
+
defaultValue: string;
|
|
24
|
+
description: string;
|
|
25
|
+
type: {
|
|
26
|
+
required: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
control: string;
|
|
31
|
+
defaultValue: boolean;
|
|
32
|
+
description: string;
|
|
33
|
+
type: {
|
|
34
|
+
required: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
helpText: {
|
|
38
|
+
control: string;
|
|
39
|
+
defaultValue: string;
|
|
40
|
+
description: string;
|
|
41
|
+
type: {
|
|
42
|
+
required: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
status: {
|
|
46
|
+
control: string;
|
|
47
|
+
options: string[];
|
|
48
|
+
defaultValue: string;
|
|
49
|
+
description: string;
|
|
50
|
+
type: {
|
|
51
|
+
required: boolean;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
locale: {
|
|
55
|
+
control: string;
|
|
56
|
+
defaultValue: string;
|
|
57
|
+
description: string;
|
|
58
|
+
type: {
|
|
59
|
+
required: boolean;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
minDate: {
|
|
63
|
+
control: string;
|
|
64
|
+
description: string;
|
|
65
|
+
type: {
|
|
66
|
+
required: boolean;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
maxDate: {
|
|
70
|
+
control: string;
|
|
71
|
+
description: string;
|
|
72
|
+
type: {
|
|
73
|
+
required: boolean;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
range: {
|
|
77
|
+
control: string;
|
|
78
|
+
defaultValue: boolean;
|
|
79
|
+
description: string;
|
|
80
|
+
type: {
|
|
81
|
+
required: boolean;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
allowTyping: {
|
|
85
|
+
control: string;
|
|
86
|
+
defaultValue: boolean;
|
|
87
|
+
description: string;
|
|
88
|
+
type: {
|
|
89
|
+
required: boolean;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
inline: {
|
|
93
|
+
control: string;
|
|
94
|
+
defaultValue: boolean;
|
|
95
|
+
description: string;
|
|
96
|
+
type: {
|
|
97
|
+
required: boolean;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
compact: {
|
|
101
|
+
control: string;
|
|
102
|
+
defaultValue: boolean;
|
|
103
|
+
description: string;
|
|
104
|
+
type: {
|
|
105
|
+
required: boolean;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
firstDayOfWeek: {
|
|
109
|
+
control: string;
|
|
110
|
+
defaultValue: number;
|
|
111
|
+
description: string;
|
|
112
|
+
type: {
|
|
113
|
+
required: boolean;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
closeOnSelect: {
|
|
117
|
+
control: string;
|
|
118
|
+
defaultValue: boolean;
|
|
119
|
+
description: string;
|
|
120
|
+
type: {
|
|
121
|
+
required: boolean;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
dateSelected: {
|
|
125
|
+
action: string;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
rangeSelected: {
|
|
129
|
+
action: string;
|
|
130
|
+
description: string;
|
|
131
|
+
};
|
|
132
|
+
valueChanged: {
|
|
133
|
+
action: string;
|
|
134
|
+
description: string;
|
|
135
|
+
};
|
|
136
|
+
monthChanged: {
|
|
137
|
+
action: string;
|
|
138
|
+
description: string;
|
|
139
|
+
};
|
|
140
|
+
calendarOpened: {
|
|
141
|
+
action: string;
|
|
142
|
+
description: string;
|
|
143
|
+
};
|
|
144
|
+
calendarClosed: {
|
|
145
|
+
action: string;
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
parameters: {
|
|
150
|
+
docs: {
|
|
151
|
+
description: {
|
|
152
|
+
component: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
export default _default;
|
|
158
|
+
export declare const Default: any;
|
|
159
|
+
export declare const WithSelectedValue: any;
|
|
160
|
+
export declare const Inline: any;
|
|
161
|
+
export declare const WithDateRange: any;
|
|
162
|
+
export declare const WithHelpText: any;
|
|
163
|
+
export declare const Range: any;
|
|
164
|
+
export declare const RangeInline: any;
|
|
165
|
+
export declare const Compact: any;
|
|
166
|
+
export declare const CompactSingleDate: any;
|
|
167
|
+
export declare const WithoutTyping: any;
|
|
168
|
+
export declare const WithError: any;
|
|
169
|
+
export declare const Disabled: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { SulaMenuListItem } from '../sula-menu-select-list/model/sula-menu-select-list.model';
|
|
3
|
-
import { SulaChipAppearance } from './model/sula-chip.model';
|
|
3
|
+
import { SulaChipAppearance, SulaChipItemsPlacement } from './model/sula-chip.model';
|
|
4
4
|
import { SulaMenuSelectListCustomEvent } from '../../components';
|
|
5
5
|
export declare class SulaChip {
|
|
6
6
|
/**
|
|
@@ -19,6 +19,10 @@ export declare class SulaChip {
|
|
|
19
19
|
* Items for list
|
|
20
20
|
*/
|
|
21
21
|
items: SulaMenuListItem[];
|
|
22
|
+
/**
|
|
23
|
+
* Where the items list opens relative to the chip
|
|
24
|
+
*/
|
|
25
|
+
itemsPlacement: SulaChipItemsPlacement;
|
|
22
26
|
/**
|
|
23
27
|
* Chip is selected
|
|
24
28
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SulaChipAppearance } from './model/sula-chip.model';
|
|
1
|
+
import { SulaChipAppearance, SulaChipItemsPlacement } from './model/sula-chip.model';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
tags: string[];
|
|
@@ -46,6 +46,17 @@ declare const _default: {
|
|
|
46
46
|
required: boolean;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
+
itemsPlacement: {
|
|
50
|
+
control: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
options: SulaChipItemsPlacement[];
|
|
54
|
+
defaultValue: SulaChipItemsPlacement;
|
|
55
|
+
description: string;
|
|
56
|
+
type: {
|
|
57
|
+
required: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
49
60
|
itemClicked: {
|
|
50
61
|
action: string;
|
|
51
62
|
description: string;
|
|
@@ -73,6 +73,14 @@ declare const _default: {
|
|
|
73
73
|
required: boolean;
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
|
+
readOnly: {
|
|
77
|
+
control: string;
|
|
78
|
+
defaultValue: boolean;
|
|
79
|
+
description: string;
|
|
80
|
+
type: {
|
|
81
|
+
required: boolean;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
76
84
|
helpText: {
|
|
77
85
|
control: string;
|
|
78
86
|
defaultValue: string;
|