@db-ux/wc-core-components 4.9.1 → 4.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 +11 -1
- package/README.md +114 -25
- package/bundle/db-accordion-item.d.ts +11 -0
- package/bundle/db-accordion-item.js +1 -0
- package/bundle/db-accordion.d.ts +11 -0
- package/bundle/db-accordion.js +1 -0
- package/bundle/db-badge.d.ts +11 -0
- package/bundle/db-badge.js +1 -0
- package/bundle/db-brand.d.ts +11 -0
- package/bundle/db-brand.js +1 -0
- package/bundle/db-button.d.ts +11 -0
- package/bundle/db-button.js +1 -0
- package/bundle/db-card.d.ts +11 -0
- package/bundle/db-card.js +1 -0
- package/bundle/db-checkbox.d.ts +11 -0
- package/bundle/db-checkbox.js +1 -0
- package/bundle/db-custom-button.d.ts +11 -0
- package/bundle/db-custom-button.js +1 -0
- package/bundle/db-custom-select-dropdown.d.ts +11 -0
- package/bundle/db-custom-select-dropdown.js +1 -0
- package/bundle/db-custom-select-form-field.d.ts +11 -0
- package/bundle/db-custom-select-form-field.js +1 -0
- package/bundle/db-custom-select-list-item.d.ts +11 -0
- package/bundle/db-custom-select-list-item.js +1 -0
- package/bundle/db-custom-select-list.d.ts +11 -0
- package/bundle/db-custom-select-list.js +1 -0
- package/bundle/db-custom-select.d.ts +11 -0
- package/bundle/db-custom-select.js +1 -0
- package/bundle/db-divider.d.ts +11 -0
- package/bundle/db-divider.js +1 -0
- package/bundle/db-drawer.d.ts +11 -0
- package/bundle/db-drawer.js +1 -0
- package/bundle/db-header.d.ts +11 -0
- package/bundle/db-header.js +1 -0
- package/bundle/db-icon.d.ts +11 -0
- package/bundle/db-icon.js +1 -0
- package/bundle/db-infotext.d.ts +11 -0
- package/bundle/db-infotext.js +1 -0
- package/bundle/db-input.d.ts +11 -0
- package/bundle/db-input.js +1 -0
- package/bundle/db-link.d.ts +11 -0
- package/bundle/db-link.js +1 -0
- package/bundle/db-navigation-item.d.ts +11 -0
- package/bundle/db-navigation-item.js +1 -0
- package/bundle/db-navigation.d.ts +11 -0
- package/bundle/db-navigation.js +1 -0
- package/bundle/db-notification.d.ts +11 -0
- package/bundle/db-notification.js +1 -0
- package/bundle/db-page.d.ts +11 -0
- package/bundle/db-page.js +1 -0
- package/bundle/db-popover.d.ts +11 -0
- package/bundle/db-popover.js +1 -0
- package/bundle/db-radio.d.ts +11 -0
- package/bundle/db-radio.js +1 -0
- package/bundle/db-section.d.ts +11 -0
- package/bundle/db-section.js +1 -0
- package/bundle/db-select.d.ts +11 -0
- package/bundle/db-select.js +1 -0
- package/bundle/db-stack.d.ts +11 -0
- package/bundle/db-stack.js +1 -0
- package/bundle/db-switch.d.ts +11 -0
- package/bundle/db-switch.js +1 -0
- package/bundle/db-tab-item.d.ts +11 -0
- package/bundle/db-tab-item.js +1 -0
- package/bundle/db-tab-list.d.ts +11 -0
- package/bundle/db-tab-list.js +1 -0
- package/bundle/db-tab-panel.d.ts +11 -0
- package/bundle/db-tab-panel.js +1 -0
- package/bundle/db-tabs.d.ts +11 -0
- package/bundle/db-tabs.js +1 -0
- package/bundle/db-tag.d.ts +11 -0
- package/bundle/db-tag.js +1 -0
- package/bundle/db-textarea.d.ts +11 -0
- package/bundle/db-textarea.js +1 -0
- package/bundle/db-tooltip.d.ts +11 -0
- package/bundle/db-tooltip.js +1 -0
- package/bundle/index.d.ts +47 -0
- package/bundle/index.js +1 -0
- package/bundle/p-4TaCoruo.js +1 -0
- package/bundle/p-4nwUOzw7.js +1 -0
- package/bundle/p-BJJFATCC.js +1 -0
- package/bundle/p-BdL-nI5y.js +1 -0
- package/bundle/p-BuBrj57D.js +1 -0
- package/bundle/p-CCbaTFJ9.js +1 -0
- package/bundle/p-CEiQBevg.js +1 -0
- package/bundle/p-CV8l9qaA.js +1 -0
- package/bundle/p-CmqAwQNR.js +1 -0
- package/bundle/p-D4Ym01qf.js +1 -0
- package/bundle/p-DE_eDJiD.js +1 -0
- package/bundle/p-DOPXnIzL.js +1 -0
- package/bundle/p-DS39nEhJ.js +1 -0
- package/bundle/p-DVYa1bHg.js +1 -0
- package/bundle/p-DwwxAylo.js +1 -0
- package/bundle/p-QNp8H1KD.js +1 -0
- package/bundle/p-_2t1bnPD.js +1 -0
- package/bundle/p-bzxfqhtq.js +1 -0
- package/bundle/p-e18AQLns.js +1 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +26 -4
- package/dist/cjs/db-accordion.cjs.entry.js +10 -3
- package/dist/cjs/db-badge.cjs.entry.js +10 -3
- package/dist/cjs/db-brand.cjs.entry.js +10 -3
- package/dist/cjs/db-button.cjs.entry.js +10 -3
- package/dist/cjs/db-card.cjs.entry.js +10 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-button.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +45 -10
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +13 -6
- package/dist/cjs/db-divider.cjs.entry.js +9 -2
- package/dist/cjs/db-drawer.cjs.entry.js +14 -7
- package/dist/cjs/db-header.cjs.entry.js +10 -3
- package/dist/cjs/db-icon.cjs.entry.js +10 -3
- package/dist/cjs/db-infotext.cjs.entry.js +10 -3
- package/dist/cjs/db-link.cjs.entry.js +10 -3
- package/dist/cjs/db-navigation-item.cjs.entry.js +11 -3
- package/dist/cjs/db-navigation.cjs.entry.js +10 -3
- package/dist/cjs/db-notification.cjs.entry.js +10 -3
- package/dist/cjs/db-page.cjs.entry.js +10 -3
- package/dist/cjs/db-popover.cjs.entry.js +10 -3
- package/dist/cjs/db-radio.cjs.entry.js +10 -3
- package/dist/cjs/db-section.cjs.entry.js +10 -3
- package/dist/cjs/db-select.cjs.entry.js +10 -3
- package/dist/cjs/db-stack.cjs.entry.js +10 -3
- package/dist/cjs/db-switch.cjs.entry.js +10 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +28 -7
- package/dist/cjs/db-tabs.cjs.entry.js +10 -3
- package/dist/cjs/db-textarea.cjs.entry.js +10 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +10 -3
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-BoC-BWt4.js → index-DLuhzJ0p.js} +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +9 -2
- package/dist/collection/components/accordion-item/accordion-item.js +53 -5
- package/dist/collection/components/badge/badge.js +9 -2
- package/dist/collection/components/brand/brand.js +9 -2
- package/dist/collection/components/button/button.js +10 -3
- package/dist/collection/components/card/card.js +10 -3
- package/dist/collection/components/checkbox/checkbox.js +10 -3
- package/dist/collection/components/custom-button/custom-button.js +9 -2
- package/dist/collection/components/custom-select/custom-select.js +13 -6
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +9 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +9 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +9 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +9 -2
- package/dist/collection/components/divider/divider.js +8 -1
- package/dist/collection/components/drawer/drawer.js +15 -8
- package/dist/collection/components/header/header.js +20 -13
- package/dist/collection/components/icon/icon.js +9 -2
- package/dist/collection/components/infotext/infotext.js +9 -2
- package/dist/collection/components/input/input.js +10 -3
- package/dist/collection/components/link/link.js +9 -2
- package/dist/collection/components/navigation/navigation.js +9 -2
- package/dist/collection/components/navigation-item/navigation-item.js +37 -3
- package/dist/collection/components/notification/notification.js +10 -3
- package/dist/collection/components/page/page.js +9 -2
- package/dist/collection/components/popover/popover.js +9 -2
- package/dist/collection/components/radio/radio.js +10 -3
- package/dist/collection/components/section/section.js +9 -2
- package/dist/collection/components/select/select.js +10 -3
- package/dist/collection/components/stack/stack.js +9 -2
- package/dist/collection/components/switch/switch.js +10 -3
- package/dist/collection/components/tab-item/tab-item.js +10 -3
- package/dist/collection/components/tab-list/tab-list.js +9 -2
- package/dist/collection/components/tab-panel/tab-panel.js +9 -2
- package/dist/collection/components/tabs/tabs.js +10 -3
- package/dist/collection/components/tag/tag.js +10 -3
- package/dist/collection/components/textarea/textarea.js +10 -3
- package/dist/collection/components/tooltip/tooltip.js +9 -2
- package/dist/custom-elements.json +2276 -36
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-0ae85978.entry.js +1 -0
- package/dist/db-ux/p-13afb969.entry.js +1 -0
- package/dist/db-ux/p-174d2486.entry.js +1 -0
- package/dist/db-ux/p-28c257d5.entry.js +1 -0
- package/dist/db-ux/p-293510ca.entry.js +1 -0
- package/dist/db-ux/p-331ad11c.entry.js +1 -0
- package/dist/db-ux/p-339a6ca0.entry.js +1 -0
- package/dist/db-ux/p-34e21986.entry.js +1 -0
- package/dist/db-ux/p-368d25ab.entry.js +1 -0
- package/dist/db-ux/p-4580938f.entry.js +1 -0
- package/dist/db-ux/p-47910fdc.entry.js +1 -0
- package/dist/db-ux/p-5d2e2a8d.entry.js +1 -0
- package/dist/db-ux/p-691ae341.entry.js +1 -0
- package/dist/db-ux/p-7c58337d.entry.js +1 -0
- package/dist/db-ux/p-7f4d00df.entry.js +1 -0
- package/dist/db-ux/p-9712c9c9.entry.js +1 -0
- package/dist/db-ux/p-9b907b56.entry.js +1 -0
- package/dist/db-ux/p-9c3ff50e.entry.js +1 -0
- package/dist/db-ux/p-Cr2cgn5B.js +2 -0
- package/dist/db-ux/p-a56886ea.entry.js +1 -0
- package/dist/db-ux/p-a617da42.entry.js +1 -0
- package/dist/db-ux/p-aad0c4ef.entry.js +1 -0
- package/dist/db-ux/p-ae3183f0.entry.js +1 -0
- package/dist/db-ux/p-ae457f95.entry.js +1 -0
- package/dist/db-ux/p-b1e7ba0f.entry.js +1 -0
- package/dist/db-ux/p-cac5b161.entry.js +1 -0
- package/dist/db-ux/p-dcf02351.entry.js +1 -0
- package/dist/db-ux/p-e46dc907.entry.js +1 -0
- package/dist/db-ux/p-f27c6655.entry.js +1 -0
- package/dist/db-ux/p-f583f756.entry.js +1 -0
- package/dist/db-ux/p-f65e1db8.entry.js +1 -0
- package/dist/db-ux/p-fe5d3eb6.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +27 -5
- package/dist/esm/db-accordion.entry.js +10 -3
- package/dist/esm/db-badge.entry.js +10 -3
- package/dist/esm/db-brand.entry.js +10 -3
- package/dist/esm/db-button.entry.js +10 -3
- package/dist/esm/db-card.entry.js +10 -3
- package/dist/esm/db-checkbox.entry.js +10 -3
- package/dist/esm/db-custom-button.entry.js +10 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +45 -10
- package/dist/esm/db-custom-select-form-field.entry.js +10 -3
- package/dist/esm/db-custom-select.entry.js +13 -6
- package/dist/esm/db-divider.entry.js +9 -2
- package/dist/esm/db-drawer.entry.js +15 -8
- package/dist/esm/db-header.entry.js +10 -3
- package/dist/esm/db-icon.entry.js +10 -3
- package/dist/esm/db-infotext.entry.js +10 -3
- package/dist/esm/db-link.entry.js +10 -3
- package/dist/esm/db-navigation-item.entry.js +11 -3
- package/dist/esm/db-navigation.entry.js +10 -3
- package/dist/esm/db-notification.entry.js +10 -3
- package/dist/esm/db-page.entry.js +10 -3
- package/dist/esm/db-popover.entry.js +10 -3
- package/dist/esm/db-radio.entry.js +10 -3
- package/dist/esm/db-section.entry.js +10 -3
- package/dist/esm/db-select.entry.js +10 -3
- package/dist/esm/db-stack.entry.js +10 -3
- package/dist/esm/db-switch.entry.js +10 -3
- package/dist/esm/db-tab-item_3.entry.js +28 -7
- package/dist/esm/db-tabs.entry.js +10 -3
- package/dist/esm/db-textarea.entry.js +10 -3
- package/dist/esm/db-tooltip.entry.js +10 -3
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-K4o-AcjZ.js → index-Cr2cgn5B.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +1 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
- package/dist/types/components/accordion-item/model.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/brand/brand.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/custom-button/custom-button.d.ts +1 -0
- package/dist/types/components/custom-select/custom-select.d.ts +1 -0
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +1 -0
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +3 -2
- package/dist/types/components/icon/icon.d.ts +1 -0
- package/dist/types/components/infotext/infotext.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/link/link.d.ts +1 -0
- package/dist/types/components/navigation/navigation.d.ts +1 -0
- package/dist/types/components/navigation-item/model.d.ts +4 -0
- package/dist/types/components/navigation-item/navigation-item.d.ts +2 -0
- package/dist/types/components/notification/notification.d.ts +1 -0
- package/dist/types/components/page/page.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/radio/radio.d.ts +1 -0
- package/dist/types/components/section/section.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/stack/stack.d.ts +1 -0
- package/dist/types/components/switch/switch.d.ts +1 -0
- package/dist/types/components/tab-item/tab-item.d.ts +1 -0
- package/dist/types/components/tab-list/tab-list.d.ts +1 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +1 -0
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +7 -1
- package/dist/types/shared/figma.d.ts +12 -6
- package/dist/vscode.html-custom-data.json +16 -6
- package/dist/web-types.json +1032 -248
- package/package.json +15 -9
- package/dist/db-ux/p-1b5d76a8.entry.js +0 -1
- package/dist/db-ux/p-296f989b.entry.js +0 -1
- package/dist/db-ux/p-3ae13ff1.entry.js +0 -1
- package/dist/db-ux/p-43f94079.entry.js +0 -1
- package/dist/db-ux/p-54508bad.entry.js +0 -1
- package/dist/db-ux/p-55e8b0b4.entry.js +0 -1
- package/dist/db-ux/p-69a59559.entry.js +0 -1
- package/dist/db-ux/p-6e7126c6.entry.js +0 -1
- package/dist/db-ux/p-7bed4611.entry.js +0 -1
- package/dist/db-ux/p-8ce816c0.entry.js +0 -1
- package/dist/db-ux/p-8e080864.entry.js +0 -1
- package/dist/db-ux/p-K4o-AcjZ.js +0 -2
- package/dist/db-ux/p-a0eccc08.entry.js +0 -1
- package/dist/db-ux/p-a7c6ec23.entry.js +0 -1
- package/dist/db-ux/p-a82c9875.entry.js +0 -1
- package/dist/db-ux/p-ae445d5d.entry.js +0 -1
- package/dist/db-ux/p-b33abf8d.entry.js +0 -1
- package/dist/db-ux/p-b8ab2bd4.entry.js +0 -1
- package/dist/db-ux/p-bb7c59d2.entry.js +0 -1
- package/dist/db-ux/p-bc510135.entry.js +0 -1
- package/dist/db-ux/p-c85d4be6.entry.js +0 -1
- package/dist/db-ux/p-d206ac6f.entry.js +0 -1
- package/dist/db-ux/p-e22b3725.entry.js +0 -1
- package/dist/db-ux/p-e432c81f.entry.js +0 -1
- package/dist/db-ux/p-e64606e2.entry.js +0 -1
- package/dist/db-ux/p-e8ee154f.entry.js +0 -1
- package/dist/db-ux/p-efb9d9bc.entry.js +0 -1
- package/dist/db-ux/p-f35229a1.entry.js +0 -1
- package/dist/db-ux/p-f582c886.entry.js +0 -1
- package/dist/db-ux/p-f6be9a48.entry.js +0 -1
- package/dist/db-ux/p-fb39506f.entry.js +0 -1
- package/dist/db-ux/p-fb9500ba.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
|
|
3
3
|
import { addCheckedResetEventListener, } from "../../utils/form-components";
|
|
4
|
-
import { h
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
|
|
@@ -190,6 +190,12 @@ export class DBCheckbox {
|
|
|
190
190
|
this.watch5Fn();
|
|
191
191
|
}
|
|
192
192
|
componentDidLoad() {
|
|
193
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
194
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
195
|
+
if (connectedElement) {
|
|
196
|
+
connectedElement.remove();
|
|
197
|
+
}
|
|
198
|
+
}
|
|
193
199
|
this.enableAttributePassing(this._ref, "db-checkbox");
|
|
194
200
|
this.initialized = true;
|
|
195
201
|
this.resetIds();
|
|
@@ -207,9 +213,9 @@ export class DBCheckbox {
|
|
|
207
213
|
}
|
|
208
214
|
render() {
|
|
209
215
|
var _a;
|
|
210
|
-
return (h("div", { key: '
|
|
216
|
+
return (h("div", { key: 'b4aa2acb183c25424a4c670c699410d7f8e67ad1', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '549e995c2d8c8105d086ad957d0141d802aa3e55', htmlFor: this._id }, h("input", { key: 'e2454be60370d672b523d9fd2efb422a7072d763', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
211
217
|
this._ref = el;
|
|
212
|
-
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, h("slot", { key: '
|
|
218
|
+
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, h("slot", { key: 'ce083db15ea772a5dd3fdf5e6a7c815029922b13' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'bde204976a10d8d7f54300c7b465a23e9492bcf3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '7a8fe737edfae78c380f572b2cf5cec88fbd8edf', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
213
219
|
}
|
|
214
220
|
static get is() { return "db-checkbox"; }
|
|
215
221
|
static get properties() {
|
|
@@ -795,6 +801,7 @@ export class DBCheckbox {
|
|
|
795
801
|
}
|
|
796
802
|
}];
|
|
797
803
|
}
|
|
804
|
+
static get elementRef() { return "rootElement"; }
|
|
798
805
|
static get watchers() {
|
|
799
806
|
return [{
|
|
800
807
|
"propName": "id",
|
|
@@ -42,13 +42,19 @@ export class DBCustomButton {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
+
if (connectedElement) {
|
|
48
|
+
connectedElement.remove();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
this.enableAttributePassing(this._ref, "db-custom-button");
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
var _a, _b, _c, _d;
|
|
49
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'ea6221c001dbf13b6e1d49cbf6b87b195c24a5d0', class: cls("db-custom-button", this.className), ref: (el) => {
|
|
50
56
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText) }, h("slot", { key: '
|
|
57
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText) }, h("slot", { key: '19220453bcb2323b8c540d60a1d12b85e0c07f4d' })));
|
|
52
58
|
}
|
|
53
59
|
static get is() { return "db-custom-button"; }
|
|
54
60
|
static get properties() {
|
|
@@ -391,4 +397,5 @@ export class DBCustomButton {
|
|
|
391
397
|
}
|
|
392
398
|
};
|
|
393
399
|
}
|
|
400
|
+
static get elementRef() { return "rootElement"; }
|
|
394
401
|
}
|
|
@@ -4,7 +4,7 @@ import { DocumentClickListener } from "../../utils/document-click-listener";
|
|
|
4
4
|
import { DocumentScrollListener } from "../../utils/document-scroll-listener";
|
|
5
5
|
import { handleFixedDropdown } from "../../utils/floating-components";
|
|
6
6
|
import { addResetEventListener, } from "../../utils/form-components";
|
|
7
|
-
import { h, Fragment
|
|
7
|
+
import { h, Fragment } from "@stencil/core";
|
|
8
8
|
/**
|
|
9
9
|
* @slot children - This is a default/unnamed slot
|
|
10
10
|
|
|
@@ -751,6 +751,12 @@ export class DBCustomSelect {
|
|
|
751
751
|
this.watch18Fn();
|
|
752
752
|
}
|
|
753
753
|
componentDidLoad() {
|
|
754
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
755
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
756
|
+
if (connectedElement) {
|
|
757
|
+
connectedElement.remove();
|
|
758
|
+
}
|
|
759
|
+
}
|
|
754
760
|
this.enableAttributePassing(this._ref, "db-custom-select");
|
|
755
761
|
this.resetIds();
|
|
756
762
|
this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
|
|
@@ -790,19 +796,19 @@ export class DBCustomSelect {
|
|
|
790
796
|
}
|
|
791
797
|
render() {
|
|
792
798
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
793
|
-
return (h("div", { key: '
|
|
799
|
+
return (h("div", { key: '09c22c7eef838650142ba6cf5a9f7a5c04e45d53', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
|
|
794
800
|
this._ref = el;
|
|
795
801
|
}, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
|
|
796
802
|
this.selectedType === "tag" &&
|
|
797
803
|
this.multiple
|
|
798
804
|
? "above"
|
|
799
|
-
: this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '
|
|
805
|
+
: this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '377317d94a5689926923ee92eb0399a6e0085177', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '016dc1cebfeb8e92a08286e445d2da2989e630d7', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
|
|
800
806
|
this.selectRef = el;
|
|
801
807
|
}, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
|
|
802
808
|
? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
|
|
803
|
-
: null)), h("details", { key: '
|
|
809
|
+
: null)), h("details", { key: 'eb36c96b7c443289a1464a4d25a7f189c852b7ab', ref: (el) => {
|
|
804
810
|
this.detailsRef = el;
|
|
805
|
-
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '
|
|
811
|
+
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '2ce1371b5683aa1162167a7e9dd9950e075920cf' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
|
|
806
812
|
this.searchInputRef = el;
|
|
807
813
|
}, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
|
|
808
814
|
? this._infoTextId
|
|
@@ -812,7 +818,7 @@ export class DBCustomSelect {
|
|
|
812
818
|
this.selectAllRef = el;
|
|
813
819
|
}, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
|
|
814
820
|
? this.getOptionLabel(option)
|
|
815
|
-
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '
|
|
821
|
+
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: 'ab092f47ad6734f696000a852fc8e3a825a6d054', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'c134d746d6e06109551880446ff27e791fc482b1', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'b5b1291d952eaea52a176a3b8c9d9ea7a0b57e34', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
816
822
|
}
|
|
817
823
|
static get is() { return "db-custom-select"; }
|
|
818
824
|
static get properties() {
|
|
@@ -2181,6 +2187,7 @@ export class DBCustomSelect {
|
|
|
2181
2187
|
}
|
|
2182
2188
|
}];
|
|
2183
2189
|
}
|
|
2190
|
+
static get elementRef() { return "rootElement"; }
|
|
2184
2191
|
static get watchers() {
|
|
2185
2192
|
return [{
|
|
2186
2193
|
"propName": "id",
|
|
@@ -45,13 +45,19 @@ export class DBCustomSelectDropdown {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
componentDidLoad() {
|
|
48
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
49
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
50
|
+
if (connectedElement) {
|
|
51
|
+
connectedElement.remove();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
48
54
|
this.enableAttributePassing(this._ref, "db-custom-select-dropdown");
|
|
49
55
|
}
|
|
50
56
|
render() {
|
|
51
57
|
var _a, _b;
|
|
52
|
-
return (h("article", { key: '
|
|
58
|
+
return (h("article", { key: 'a2f23f8c268d6b06b03e58ca3abc998b7f741301', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
|
|
53
59
|
this._ref = el;
|
|
54
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '
|
|
60
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: 'f2fd945d779fefe9d1b379d95d11c5ae60689818' })));
|
|
55
61
|
}
|
|
56
62
|
static get is() { return "db-custom-select-dropdown"; }
|
|
57
63
|
static get properties() {
|
|
@@ -161,4 +167,5 @@ export class DBCustomSelectDropdown {
|
|
|
161
167
|
}
|
|
162
168
|
};
|
|
163
169
|
}
|
|
170
|
+
static get elementRef() { return "rootElement"; }
|
|
164
171
|
}
|
|
@@ -42,13 +42,19 @@ export class DBCustomSelectFormField {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
+
if (connectedElement) {
|
|
48
|
+
connectedElement.remove();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
this.enableAttributePassing(this._ref, "db-custom-select-form-field");
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
var _a, _b;
|
|
49
|
-
return (h("summary", { key: '
|
|
55
|
+
return (h("summary", { key: 'e438005a75d6d93c62b6e04bce4f99cee7f73619', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
|
|
50
56
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '
|
|
57
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '1dc82e35d01ac41cde18cb033d657ec7f53886b8' })));
|
|
52
58
|
}
|
|
53
59
|
static get is() { return "db-custom-select-form-field"; }
|
|
54
60
|
static get properties() {
|
|
@@ -131,4 +137,5 @@ export class DBCustomSelectFormField {
|
|
|
131
137
|
}
|
|
132
138
|
};
|
|
133
139
|
}
|
|
140
|
+
static get elementRef() { return "rootElement"; }
|
|
134
141
|
}
|
|
@@ -42,13 +42,19 @@ export class DBCustomSelectList {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
+
if (connectedElement) {
|
|
48
|
+
connectedElement.remove();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
this.enableAttributePassing(this._ref, "db-custom-select-list");
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
var _a, _b;
|
|
49
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'f62ebf87384969fa7c299ed23062d15ac4d08e9d', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
|
|
50
56
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '
|
|
57
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'a6071f83a292171bc101a797adb98dc976a18e34' }, h("slot", { key: '6a18c02b91c91890a0d4b73e2b718c046b278f29' }))));
|
|
52
58
|
}
|
|
53
59
|
static get is() { return "db-custom-select-list"; }
|
|
54
60
|
static get properties() {
|
|
@@ -183,4 +189,5 @@ export class DBCustomSelectList {
|
|
|
183
189
|
}
|
|
184
190
|
};
|
|
185
191
|
}
|
|
192
|
+
static get elementRef() { return "rootElement"; }
|
|
186
193
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cls, getBoolean, getBooleanAsString } from "../../utils";
|
|
2
|
-
import { h
|
|
2
|
+
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
5
5
|
|
|
@@ -63,12 +63,18 @@ export class DBCustomSelectListItem {
|
|
|
63
63
|
this.watch0Fn();
|
|
64
64
|
}
|
|
65
65
|
componentDidLoad() {
|
|
66
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
67
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
68
|
+
if (connectedElement) {
|
|
69
|
+
connectedElement.remove();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
66
72
|
this.enableAttributePassing(this._ref, "db-custom-select-list-item");
|
|
67
73
|
this.watch0Fn();
|
|
68
74
|
}
|
|
69
75
|
render() {
|
|
70
76
|
var _a, _b;
|
|
71
|
-
return (h("li", { key: '
|
|
77
|
+
return (h("li", { key: '67c52a98bf21203bd6f5f14617ec32d2e81f29e4', class: cls("db-custom-select-list-item", this.className, {
|
|
72
78
|
"db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
|
|
73
79
|
"db-radio": this.type !== "checkbox" && !this.isGroupTitle,
|
|
74
80
|
}), ref: (el) => {
|
|
@@ -465,6 +471,7 @@ export class DBCustomSelectListItem {
|
|
|
465
471
|
}
|
|
466
472
|
}];
|
|
467
473
|
}
|
|
474
|
+
static get elementRef() { return "rootElement"; }
|
|
468
475
|
static get watchers() {
|
|
469
476
|
return [{
|
|
470
477
|
"propName": "isGroupTitle",
|
|
@@ -42,11 +42,17 @@ export class DBDivider {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
+
if (connectedElement) {
|
|
48
|
+
connectedElement.remove();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
this.enableAttributePassing(this._ref, "db-divider");
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
var _a, _b;
|
|
49
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'fff7e6137a97f6cc76eed42c2a5225348d0f78a0', class: cls("db-divider", this.className), ref: (el) => {
|
|
50
56
|
this._ref = el;
|
|
51
57
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
|
|
52
58
|
}
|
|
@@ -235,4 +241,5 @@ export class DBDivider {
|
|
|
235
241
|
}
|
|
236
242
|
};
|
|
237
243
|
}
|
|
244
|
+
static get elementRef() { return "rootElement"; }
|
|
238
245
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
|
|
2
|
-
import { cls, delay, getBooleanAsString, isKeyboardEvent } from "../../utils";
|
|
3
|
-
import { h
|
|
2
|
+
import { cls, delay, getBoolean, getBooleanAsString, isKeyboardEvent, } from "../../utils";
|
|
3
|
+
import { h } from "@stencil/core";
|
|
4
4
|
/**
|
|
5
5
|
* @slot children - This is a default/unnamed slot
|
|
6
6
|
* @slot drawerHeader - TODO: Add description for slotDrawerHeader
|
|
@@ -39,8 +39,8 @@ export class DBDrawer {
|
|
|
39
39
|
}
|
|
40
40
|
handleDialogOpen() {
|
|
41
41
|
if (this._ref) {
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
42
|
+
const dialogOpen = getBoolean(this.open, "open");
|
|
43
|
+
if (dialogOpen && !this._ref.open) {
|
|
44
44
|
if (this.dialogContainerRef) {
|
|
45
45
|
this.dialogContainerRef.removeAttribute("data-transition");
|
|
46
46
|
}
|
|
@@ -59,7 +59,7 @@ export class DBDrawer {
|
|
|
59
59
|
}
|
|
60
60
|
}, 1);
|
|
61
61
|
}
|
|
62
|
-
if (!
|
|
62
|
+
if (!dialogOpen && this._ref.open) {
|
|
63
63
|
if (this.dialogContainerRef) {
|
|
64
64
|
this.dialogContainerRef.dataset["transition"] =
|
|
65
65
|
"close";
|
|
@@ -126,6 +126,12 @@ export class DBDrawer {
|
|
|
126
126
|
this.watch1Fn();
|
|
127
127
|
}
|
|
128
128
|
componentDidLoad() {
|
|
129
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
130
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
131
|
+
if (connectedElement) {
|
|
132
|
+
connectedElement.remove();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
129
135
|
this.enableAttributePassing(this._ref, "db-drawer");
|
|
130
136
|
this.handleDialogOpen();
|
|
131
137
|
this.initialized = true;
|
|
@@ -134,11 +140,11 @@ export class DBDrawer {
|
|
|
134
140
|
}
|
|
135
141
|
render() {
|
|
136
142
|
var _a, _b, _c;
|
|
137
|
-
return (h("dialog", { key: '
|
|
143
|
+
return (h("dialog", { key: 'a09369527805c993297bc3d27cf1f03c5e06f232', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
|
|
138
144
|
this._ref = el;
|
|
139
|
-
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '
|
|
145
|
+
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: 'cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac', class: cls("db-drawer-container", this.className), ref: (el) => {
|
|
140
146
|
this.dialogContainerRef = el;
|
|
141
|
-
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '
|
|
147
|
+
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '20a175ba0707e3cc207e1e57dd925b8234b86877', class: "db-drawer-header" }, h("div", { key: 'd317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa', class: "db-drawer-header-text" }, h("slot", { key: '1456a65346ebd9d52dafe48022cc0b343216cc09', name: "drawerHeader" })), h("db-button", { key: '6741766807bb56a24ed7bb385240093a3a1e5f7f', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'dea536d8bd27dccdb7edd476defc68beed65254f', class: "db-drawer-content" }, h("slot", { key: 'bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b' })))));
|
|
142
148
|
}
|
|
143
149
|
static get is() { return "db-drawer"; }
|
|
144
150
|
static get properties() {
|
|
@@ -504,6 +510,7 @@ export class DBDrawer {
|
|
|
504
510
|
}
|
|
505
511
|
}];
|
|
506
512
|
}
|
|
513
|
+
static get elementRef() { return "rootElement"; }
|
|
507
514
|
static get watchers() {
|
|
508
515
|
return [{
|
|
509
516
|
"propName": "open",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DEFAULT_BURGER_MENU } from "../../shared/constants";
|
|
2
2
|
import { addAttributeToChildren, cls, getBoolean } from "../../utils";
|
|
3
3
|
import { isEventTargetNavigationItem } from "../../utils/navigation";
|
|
4
|
-
import { h
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
* @slot metaNavigation - TODO: Add description for slotMetaNavigation
|
|
8
|
-
* @slot secondaryAction - TODO: Add description for slotSecondaryAction
|
|
9
8
|
* @slot brand - TODO: Add description for slotBrand
|
|
10
9
|
* @slot primaryAction - TODO: Add description for slotPrimaryAction
|
|
10
|
+
* @slot secondaryAction - TODO: Add description for slotSecondaryAction
|
|
11
11
|
*/
|
|
12
12
|
export class DBHeader {
|
|
13
13
|
constructor() {
|
|
@@ -79,15 +79,21 @@ export class DBHeader {
|
|
|
79
79
|
this.watch0Fn();
|
|
80
80
|
}
|
|
81
81
|
componentDidLoad() {
|
|
82
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
83
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
84
|
+
if (connectedElement) {
|
|
85
|
+
connectedElement.remove();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
82
88
|
this.enableAttributePassing(this._ref, "db-header");
|
|
83
89
|
this.initialized = true;
|
|
84
90
|
this.watch0Fn();
|
|
85
91
|
}
|
|
86
92
|
render() {
|
|
87
93
|
var _a, _b, _c;
|
|
88
|
-
return (h("header", { key: '
|
|
94
|
+
return (h("header", { key: 'e7aec08f10ae9d575b3f845be29ee19505df9216', class: cls("db-header", this.className), ref: (el) => {
|
|
89
95
|
this._ref = el;
|
|
90
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("
|
|
96
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("div", { key: 'bdd8c85393260628938c33bfa1e8573d55a6d730', class: "db-header-meta-navigation" }, h("slot", { key: '42854d3f106c63bbc300458bdcd1cee48a7209be', name: "metaNavigation" })), h("div", { key: '7ef93a1cb414b44657aaed9d7e4779690ca09cf5', class: "db-header-navigation-bar" }, h("div", { key: '1e59f2987b83fe87cd22ae6bc95ac855c061869d', class: "db-header-brand-container" }, h("slot", { key: 'a610bb49cd670896fa1b980ffcdcbd40c2918b4e', name: "brand" })), h("div", { key: '1b94bf4ad2ae622875b7192812f9940e2a87c1e3', class: "db-header-navigation-container" }, h("div", { key: 'f57aac0c4268bf285de0c07bab40a736f0ca42a4', class: "db-header-navigation" }, h("slot", { key: '45d426690fb2dcb6da32f6f646f6b1a932670cd2' })), h("div", { key: 'e60bbd749efc91d9a00a54e3cbc6680e60f6e598', class: "db-header-primary-action" }, h("slot", { key: 'a41128047bc8063c45c14ff3ec58d83b7edd8361', name: "primaryAction" }))), h("div", { key: '82e9141ac1ad7f3a33c9bf0c15ccf969ccd5983f', class: "db-header-action-container" }, h("div", { key: '3f3a5c503ecd11a0aff43623921bb185c59c1802', class: "db-header-burger-menu-container" }, h("db-button", { key: '6547cf5982c0739960b9aa4363ddb71f1423a55b', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: 'd2c691eb6980e0eeffa512ade5074400bd7973b8', class: "db-header-secondary-action" }, h("slot", { key: '6cc84b46d137ac21aa90c3f84a873febc6fa0dba', name: "secondaryAction" })))), h("db-drawer", { key: '0dc5a353f9365bd76df967cdb3fee20be89c9525', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '3a28d35593fe006aa6269077466bd91f33d5f2e4', class: "db-header-drawer-navigation" }, h("div", { key: 'c42fff25d31fe234d841542b108805b0aa85e05c', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0de07dfbb68d8b6fcec8cf11e6398566fcd45ae2' })), h("div", { key: '062baf6f3e503751017a3715142e1622c27423bf', class: "db-header-meta-navigation" }, h("slot", { key: '2e703195477c67270e9bfee04335321c52b9de4f', name: "metaNavigation" }))), h("div", { key: '028079c3fae38bc282d8b064e4515ab1c27aa45e', class: "db-header-secondary-action" }, h("slot", { key: '879378953f36c55b5489a157a81e62f188ab5fca', name: "secondaryAction" })))));
|
|
91
97
|
}
|
|
92
98
|
static get is() { return "db-header"; }
|
|
93
99
|
static get properties() {
|
|
@@ -246,11 +252,11 @@ export class DBHeader {
|
|
|
246
252
|
"reflect": false,
|
|
247
253
|
"attribute": "width"
|
|
248
254
|
},
|
|
249
|
-
"
|
|
255
|
+
"burgerMenuLabel": {
|
|
250
256
|
"type": "string",
|
|
251
257
|
"mutable": false,
|
|
252
258
|
"complexType": {
|
|
253
|
-
"original": "DBHeaderProps[\"
|
|
259
|
+
"original": "DBHeaderProps[\"burgerMenuLabel\"]",
|
|
254
260
|
"resolved": "string",
|
|
255
261
|
"references": {
|
|
256
262
|
"DBHeaderProps": {
|
|
@@ -270,13 +276,13 @@ export class DBHeader {
|
|
|
270
276
|
"getter": false,
|
|
271
277
|
"setter": false,
|
|
272
278
|
"reflect": false,
|
|
273
|
-
"attribute": "
|
|
279
|
+
"attribute": "burger-menu-label"
|
|
274
280
|
},
|
|
275
|
-
"
|
|
281
|
+
"closeButtonId": {
|
|
276
282
|
"type": "string",
|
|
277
283
|
"mutable": false,
|
|
278
284
|
"complexType": {
|
|
279
|
-
"original": "DBHeaderProps[\"
|
|
285
|
+
"original": "DBHeaderProps[\"closeButtonId\"]",
|
|
280
286
|
"resolved": "string",
|
|
281
287
|
"references": {
|
|
282
288
|
"DBHeaderProps": {
|
|
@@ -296,13 +302,13 @@ export class DBHeader {
|
|
|
296
302
|
"getter": false,
|
|
297
303
|
"setter": false,
|
|
298
304
|
"reflect": false,
|
|
299
|
-
"attribute": "close-button-
|
|
305
|
+
"attribute": "close-button-id"
|
|
300
306
|
},
|
|
301
|
-
"
|
|
307
|
+
"closeButtonText": {
|
|
302
308
|
"type": "string",
|
|
303
309
|
"mutable": false,
|
|
304
310
|
"complexType": {
|
|
305
|
-
"original": "DBHeaderProps[\"
|
|
311
|
+
"original": "DBHeaderProps[\"closeButtonText\"]",
|
|
306
312
|
"resolved": "string",
|
|
307
313
|
"references": {
|
|
308
314
|
"DBHeaderProps": {
|
|
@@ -322,7 +328,7 @@ export class DBHeader {
|
|
|
322
328
|
"getter": false,
|
|
323
329
|
"setter": false,
|
|
324
330
|
"reflect": false,
|
|
325
|
-
"attribute": "
|
|
331
|
+
"attribute": "close-button-text"
|
|
326
332
|
}
|
|
327
333
|
};
|
|
328
334
|
}
|
|
@@ -350,6 +356,7 @@ export class DBHeader {
|
|
|
350
356
|
}
|
|
351
357
|
}];
|
|
352
358
|
}
|
|
359
|
+
static get elementRef() { return "rootElement"; }
|
|
353
360
|
static get watchers() {
|
|
354
361
|
return [{
|
|
355
362
|
"propName": "initialized",
|
|
@@ -42,13 +42,19 @@ export class DBIcon {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
+
if (connectedElement) {
|
|
48
|
+
connectedElement.remove();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
this.enableAttributePassing(this._ref, "db-icon");
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
var _a, _b;
|
|
49
|
-
return (h("span", { key: '
|
|
55
|
+
return (h("span", { key: '004fb7b91cd27bc452f4777dfd68183bd4bfeaab', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
|
|
50
56
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: '
|
|
57
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: 'e9b5fbdefc6cf80abff634c60966ad719985e2be' })));
|
|
52
58
|
}
|
|
53
59
|
static get is() { return "db-icon"; }
|
|
54
60
|
static get properties() {
|
|
@@ -235,4 +241,5 @@ export class DBIcon {
|
|
|
235
241
|
}
|
|
236
242
|
};
|
|
237
243
|
}
|
|
244
|
+
static get elementRef() { return "rootElement"; }
|
|
238
245
|
}
|
|
@@ -42,13 +42,19 @@ export class DBInfotext {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
+
if (connectedElement) {
|
|
48
|
+
connectedElement.remove();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
this.enableAttributePassing(this._ref, "db-infotext");
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
var _a, _b, _c;
|
|
49
|
-
return (h("span", { key: '
|
|
55
|
+
return (h("span", { key: '8336d336c2ea90300646a83257cab6f34dfe862a', class: cls("db-infotext", this.className), ref: (el) => {
|
|
50
56
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: '
|
|
57
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: '1dd519913408aa16cce587ddaee31d3c3bae05b6' })));
|
|
52
58
|
}
|
|
53
59
|
static get is() { return "db-infotext"; }
|
|
54
60
|
static get properties() {
|
|
@@ -287,4 +293,5 @@ export class DBInfotext {
|
|
|
287
293
|
}
|
|
288
294
|
};
|
|
289
295
|
}
|
|
296
|
+
static get elementRef() { return "rootElement"; }
|
|
290
297
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
2
|
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getStep, hasVoiceOver, isArrayOfStrings, isIOSSafari, stringPropVisible, uuid, } from "../../utils";
|
|
3
3
|
import { addValueResetEventListener, } from "../../utils/form-components";
|
|
4
|
-
import { h
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
7
7
|
|
|
@@ -196,6 +196,12 @@ export class DBInput {
|
|
|
196
196
|
this.watch4Fn();
|
|
197
197
|
}
|
|
198
198
|
componentDidLoad() {
|
|
199
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
200
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
201
|
+
if (connectedElement) {
|
|
202
|
+
connectedElement.remove();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
199
205
|
this.enableAttributePassing(this._ref, "db-input");
|
|
200
206
|
this.resetIds();
|
|
201
207
|
this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
|
|
@@ -211,7 +217,7 @@ export class DBInput {
|
|
|
211
217
|
}
|
|
212
218
|
render() {
|
|
213
219
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
214
|
-
return (h("div", { key: '
|
|
220
|
+
return (h("div", { key: '09f1dff4d884168cb140705b0f310519e60e3aa2', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: '17c5e2ddca81cd88f5fbc5d0b5024fb833aff026', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: 'ed0381ce65f0a89035804412d736adf3b6e0aea1', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
215
221
|
this._ref = el;
|
|
216
222
|
}, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step: getStep(this.step), value: (_f = (_e = this.value) !== null && _e !== void 0 ? _e : this._value) !== null && _f !== void 0 ? _f : "", maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), max: getInputValue(this.max, this.type), min: getInputValue(this.min, this.type), readOnly: getBoolean(this.readOnly, "readOnly") ||
|
|
217
223
|
getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_g = this.ariaDescribedBy) !== null && _g !== void 0 ? _g : this._descByIds, role: [
|
|
@@ -223,7 +229,7 @@ export class DBInput {
|
|
|
223
229
|
"color",
|
|
224
230
|
].includes((_h = this.type) !== null && _h !== void 0 ? _h : "") && isIOSSafari()
|
|
225
231
|
? "textbox"
|
|
226
|
-
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '
|
|
232
|
+
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: 'e7c51c3d97314fd153f606a346244dac365171e5' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'f92de27dbfd942534f83a83d181b533fc0b4a6e2', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: 'af168dd9e11d853f76db0edee198a744d36a228d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
227
233
|
}
|
|
228
234
|
static get is() { return "db-input"; }
|
|
229
235
|
static get properties() {
|
|
@@ -1603,6 +1609,7 @@ export class DBInput {
|
|
|
1603
1609
|
}
|
|
1604
1610
|
}];
|
|
1605
1611
|
}
|
|
1612
|
+
static get elementRef() { return "rootElement"; }
|
|
1606
1613
|
static get watchers() {
|
|
1607
1614
|
return [{
|
|
1608
1615
|
"propName": "id",
|