q2-tecton-elements 1.60.6 → 1.60.7
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/bundle-report.json +426 -426
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-pagination.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +8 -8
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +3 -3
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-grid/q2-grid.js +31 -31
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +43 -43
- package/dist/collection/components/q2-input/q2-input.js +2 -2
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +6 -6
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +3 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.js +1 -1
- package/dist/components/q2-grid.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +1 -1
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-context.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +2 -2
- package/dist/esm/q2-pagination.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-context.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-currency.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-data-table.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-detail.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-item.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-message.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-modal.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-pagination.entry.js +27 -27
- package/dist/q2-tecton-elements/q2-pill.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-radio.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-textarea.entry.js +2 -2
- package/package.json +65 -66
- /package/dist/types/{builds/q2e/development/tecton/tecton → Users/kvanhouten/Documents/Work/tecton_extra}/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +0 -0
|
@@ -108,7 +108,7 @@ const Q2Legend = class {
|
|
|
108
108
|
// #endregion
|
|
109
109
|
// #region Render Methods
|
|
110
110
|
render() {
|
|
111
|
-
return (h("click-elsewhere", { key: '
|
|
111
|
+
return (h("click-elsewhere", { key: 'b955f605c385783d6957979ed48a54be4e85e354', onChange: () => this.onClickElsewhere(this) }, h("ul", { key: 'd6a97f3953f777dce363bbca502a95e0925437b5' }, this.dataWithClasses.map(item => (h("li", { class: "item" }, h("button", { "test-id": "item", "aria-label": `${item.name} ${this.formatValue(item.value)}`, class: item.classes, onClick: event => this.onClick(event, item), onMouseEnter: event => this.onMouseEnter(event, item), onMouseLeave: event => this.onMouseLeave(event, item) }, h("span", { "test-id": "itemColor", class: "item-color-indicator", style: { backgroundColor: item.color }, "aria-hidden": "true" }), h("span", { "test-id": "itemName", class: "item-name" }, item.name), h("span", { id: `item-${item.id}`, "test-id": "itemValue", class: "item-value" }, this.formatValue(item.value)))))))));
|
|
112
112
|
}
|
|
113
113
|
static get watchers() { return {
|
|
114
114
|
"hoveredItemId": ["watchHoveredItemId"],
|
|
@@ -124,7 +124,7 @@ const Q2List = class {
|
|
|
124
124
|
// #endregion
|
|
125
125
|
// #region Render Methods
|
|
126
126
|
render() {
|
|
127
|
-
return (h("div", { key: '
|
|
127
|
+
return (h("div", { key: '87de0bf3b9b86df335cd05f811fff108d512fdad', class: this.listClasses, ref: el => (this.listElement = el) }, (this.hasFilterSlot || this.hasLabelContent) && (h("div", { key: '08333b2adb11d1b5367f164da7dde1003da06e4e', class: this.headerClasses }, h("div", { key: '77dbdc5fb278d64ddd0f3d81631dee81a516eafa', class: "label" }, this.label), this.hasFilterSlot && h("slot", { key: '39e940169c5d5dfd942234add697f6e81dbd5dd4', name: "filter" }))), h("div", { key: '71fbdfb3752feab05b73022670768837e92fef3e', role: "list" }, h("slot", { key: 'f0d574242dda38a3bcf7cdebeb20e5bf32001e1c' }))));
|
|
128
128
|
}
|
|
129
129
|
get hostElement() { return getElement(this); }
|
|
130
130
|
};
|
|
@@ -65,7 +65,7 @@ const Q2Message = class {
|
|
|
65
65
|
const addDivForAriaLive = !isFirefox && this.presentToggle;
|
|
66
66
|
const { description } = this;
|
|
67
67
|
const messageLabel = loc(`tecton.element.message.type.${this.type ? this.type : 'info'}`);
|
|
68
|
-
return (h("div", { key: '
|
|
68
|
+
return (h("div", { key: '1c9d5fc617703a5193b0907d6808b73bcbda76ca', tabindex: "-1", class: "message", role: description ? undefined : 'alert', "aria-live": description ? undefined : 'assertive', "aria-atomic": description ? undefined : 'true', "aria-relevant": description && addAriaHiddenForAriaLive ? undefined : 'all', "test-id": "messageContainer" }, this.appearance === 'standard' ? this.messageIcon(this.type) : '', addDivForAriaLive && h("div", { key: '1fb3a9261694ed8c99c4b4324aeff0b15f63b7cb', class: "sr" }), h("div", { key: '5e9989ebba7512b492002ab0abc951f2d6b7fcc8', class: "sr message-label" }, messageLabel), h("div", { key: '37de20f2c426afbed3c15048643a60f42321cfa3', class: "message-content", "aria-hidden": addAriaHiddenForAriaLive ? 'true' : undefined }, h("slot", { key: 'bddc8bb5641c773c8c47f94bbfe8cdb0562e2a49' }))));
|
|
69
69
|
}
|
|
70
70
|
get hostElement() { return getElement(this); }
|
|
71
71
|
};
|
|
@@ -154,7 +154,7 @@ const Q2Modal = class {
|
|
|
154
154
|
render() {
|
|
155
155
|
const interiorClasses = `interior`;
|
|
156
156
|
const renderStatus = `${this.renderStatus || ''}`;
|
|
157
|
-
return (h("dialog", { key: '
|
|
157
|
+
return (h("dialog", { key: '2e7528de8d51dcefc86ed5ba61f675d4b4d858a9', ref: el => (this.dialogElement = el), class: renderStatus, onClick: this.onClick }, h("div", { key: '8e71dd9391e5c1f6648dc3c85a8ed9d5cc722031', class: interiorClasses }, this.title && (h("header", { key: '7c088eac4d1841ce7b93d04e130af3c01f032068' }, this.title && h("h2", { key: 'd75587d75195c5326db3c43596ee78e2be151ea9', class: "title" }, this.title), !!this.closable && (h("q2-btn", { key: 'ec9244917226d5ea2142f5af33ddc56c9d6f8222', class: "btn-close", "test-id": "btnClose", onClick: this.onCancel, label: "tecton.element.modal.close", "hide-label": true }, h("q2-icon", { key: '986ab66605853ae24d8e32207c92d1fbfa53e3b6', type: "close" }))))), h("div", { key: '168a8c0af6b67af175ee2d0dae33220c80208453', class: "content", ref: el => (this.contentElement = el) }, this.icon && (h("div", { key: 'adb289ba75e436832ba9415e6a09794201b4ba93', class: "icon" }, h("q2-icon", { key: 'b98f0dfba93d3aeeac333af274ab7aff922ead76', type: this.icon, style: this.iconStyle() }))), this.imageSrc && (h("div", { key: 'eecd1754be42b01ba6ea5f824306c5bfe10a628d', class: "image" }, h("img", { key: '30a6cd052e8668b243f1f0247794bae7cdfbd470', src: this.imageSrc }))), hasSlotContent(this.hostElement, 'content') && h("slot", { key: '1b490d7e61745df8d85605c7f7514393cea84218', name: "content" }), this.description && h("p", { key: '1e224e11506e3e335784fc252aa0b7841085cc87', class: "description" }, this.description), this.customMarkup && (h("p", { key: '9ff09f3c77856fcd1058b5cf0bb17a6debe6d628', class: "customMarkup", innerHTML: sanitizeHTMLString(this.customMarkup) }))), h("footer", { key: '83f26a7a8a70bcc9d9d70f856a0d4fe7996bdc30' }, h("q2-action-group", { key: '0188baa2fe3f396f55c092dbefafc8bafc0d9b30', "full-width": true }, h("slot", { key: 'bc6753152422b6430a0d2429f9e3533d3c13bcea', name: "action" }))))));
|
|
158
158
|
}
|
|
159
159
|
get hostElement() { return getElement(this); }
|
|
160
160
|
};
|
|
@@ -140,10 +140,10 @@ const Q2MonthPicker = class {
|
|
|
140
140
|
// #endregion
|
|
141
141
|
// #region Render Methods
|
|
142
142
|
render() {
|
|
143
|
-
return (h("div", { key: '
|
|
143
|
+
return (h("div", { key: 'd1411f2fec0a5a3850fd303c0592c2fff35a5c2f', class: "month-container", onKeyDown: this.onMonthKeydown }, h("div", { key: 'dd6e7ee312f1cd4fb02c1986116c94b407e0f61c', class: "navigation" }, h("q2-btn", { key: '4ad4a01dbad8d1457616b360f01e2555f47c405d', class: "year-btn", onClick: () => this.viewChange.emit({
|
|
144
144
|
view: 'year',
|
|
145
145
|
selectedYear: this.year,
|
|
146
|
-
}) }, h("span", { key: '
|
|
146
|
+
}) }, h("span", { key: '9e6bb654c8c75cb01dd362bc3c1b0bfb29955568', class: "year" }, this.year), h("q2-icon", { key: 'a2428ea1bcd1ac5a7d4e4c40a1b788563b117e39', class: "year-icon off", type: "chevron-down" })), h("div", { key: '1fd96721875a5d4284e1bec736dcac59ef8b2311', class: "month-controller" }, h("div", { key: 'aa876ee236a208388855c5c3e2c8a05a4bce20e0', class: "cal-year-prev-next" }, h("q2-btn", { key: '9ef5d6c22dece5e6f83c63ea9300eba237ef9e2b', label: loc('tecton.element.calendar.previousYear'), "hide-label": true, class: "cal-nav-btn prev-year", "test-id": "previousYearButton", onClick: () => this.selectYear(this.year - 1) }, h("q2-icon", { key: '1eca7a063bbd2a9e2b23c9444b1129d20f158fdd', type: "arrow-left" })), h("q2-btn", { key: '22e3101d0a2a3eb7f6ef14d0a2f31a2db18e88ad', label: loc('tecton.element.calendar.nextYear'), "hide-label": true, class: "cal-nav-btn next-year", "test-id": "nextYearButton", onClick: () => this.selectYear(this.year + 1) }, h("q2-icon", { key: 'c1e6b6ea61292180a97622b304c8835499f8cd8c', type: "arrow-right" }))))), h("div", { key: '3b306470ae8fd1274d7eeb168c554f03ae6c7c92', class: "month-list", onClick: this.onMonthSelection }, this.months.map((month, index) => (h("div", { class: "month" }, h("span", { role: "button", class: "month-button", "data-index": index, "aria-label": month.label, tabindex: index === this.focusedIndex ? 0 : -1 }, month.abbr))))), this.today && (h("div", { key: 'fe81d85485cc15906f001200d6fd8b69d948e67f', class: "today-label" }, loc('tecton.element.calendar.today'), ": ", this.today))));
|
|
147
147
|
}
|
|
148
148
|
get hostElement() { return getElement(this); }
|
|
149
149
|
};
|
|
@@ -52,7 +52,7 @@ const Q2Optgroup = class {
|
|
|
52
52
|
// #endregion
|
|
53
53
|
// #region Render Methods
|
|
54
54
|
render() {
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: '36e4d596e9efbcfea07c9aef8cce8ac376228bfb', class: "q2-optgroup-container", hidden: this.hidden, "aria-labelledby": this.headerId, role: "group" }, h("div", { key: '23547157b8c58f87e656a3dbc533fd22315b549e', class: "q2-optgroup-header", id: this.headerId }, (this.label && loc(this.label)) || ''), h("div", { key: 'd53db927fdd872f2de3b61d46c2221b6925c760a', class: "q2-optgroup-options" }, h("slot", { key: 'b563fb8bd14f685bc24a3cde439b5ff7245cf82b' }))));
|
|
56
56
|
}
|
|
57
57
|
get hostElement() { return getElement(this); }
|
|
58
58
|
static get watchers() { return {
|
|
@@ -568,7 +568,7 @@ const Q2OptionList = class {
|
|
|
568
568
|
// #endregion
|
|
569
569
|
// #region Render Methods
|
|
570
570
|
render() {
|
|
571
|
-
return (h(Host, { key: '
|
|
571
|
+
return (h(Host, { key: '5edc081d3fb53aef29de115f7424724e4512e4ff' }, h("div", { key: 'c3f9531ff069af3b9783746c4aa8d834c8b0d8fa', class: "content", ref: el => (this.contentElement = el), onFocusout: this.focusoutHandler }, h("div", { key: 'c7abcf68ba932da462af3552af52c7f3d292e97b', class: "options", "aria-label": loc('tecton.element.optionList.label', [this.label]), "aria-multiselectable": `${!!this.multiple}`, role: this.type || 'listbox', onKeyDown: this.internalKeydownHandler, onClick: this.clickHandler }, h("slot", { key: '2358f47cfb29e30814168e448561d891b9edaa7d' })))));
|
|
572
572
|
}
|
|
573
573
|
get hostElement() { return getElement(this); }
|
|
574
574
|
static get watchers() { return {
|
|
@@ -883,7 +883,7 @@ const Q2Popover = class {
|
|
|
883
883
|
containerClasses.push('block');
|
|
884
884
|
if (this.mode === 'legacy')
|
|
885
885
|
containerClasses.push('legacy');
|
|
886
|
-
return (h("div", { key: '
|
|
886
|
+
return (h("div", { key: '0a97b5c01bc1a8023d153328ae37941bc32b16d5', ref: el => (this.containerElement = el), class: containerClasses.join(' '), "test-id": "outerContainer", tabIndex: -1, popover: "manual" }, h("div", { key: 'e854b9e048b02db7d7b38221b993a27e8b1eefd1', ref: el => (this.contentElement = el), class: "content" }, h("slot", { key: 'ecaff5bb03495671264a57fedd789cac2491310a' }))));
|
|
887
887
|
}
|
|
888
888
|
get hostElement() { return getElement(this); }
|
|
889
889
|
static get watchers() { return {
|
|
@@ -252,7 +252,7 @@ const Q2Pagination = class {
|
|
|
252
252
|
total,
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
|
-
return (h("nav", { key: '
|
|
255
|
+
return (h("nav", { key: 'ea7bad99b6988da7344f48977589372a9eecafca', class: "container", ref: el => (this.containerElement = el), "aria-label": loc('tecton.element.pagination.title') }, h("div", { key: 'e5e5d5909ecc04623dab3f2a5cf1efbeb04485e9', class: "description", "test-id": "description" }, pagesOnly
|
|
256
256
|
? loc('tecton.element.pagination.pages', {
|
|
257
257
|
current: page,
|
|
258
258
|
total: totalPages,
|
|
@@ -261,10 +261,10 @@ const Q2Pagination = class {
|
|
|
261
261
|
range: currentRange,
|
|
262
262
|
recordType: recordType.toLowerCase(),
|
|
263
263
|
total: total.toLocaleString(),
|
|
264
|
-
})), h("div", { key: '
|
|
264
|
+
})), h("div", { key: 'dd85b925e3f7628e2f06a3f3bf0eb8638c477159', class: "btn-group" }, h("q2-btn", { key: 'a819cf505e48f7b707c464b51bc34ba5be997132', ref: el => (this.firstPageBtn = el), label: loc('tecton.element.pagination.goToFirstPage'), disabled: onFirstPage, hidden: isFullViewHidden, onClick: () => this.handlePageChange(1), "test-id": "firstPageBtn", "hide-label": true }, h("q2-icon", { key: '130e7630a35b9f973bf5e7ed4f1131e23f430bab', type: "chevron-double-left" })), h("q2-btn", { key: '3cb44d78ec6a77848a0b23eb031f620a6b2cd1e0', ref: el => (this.prevPageBtn = el), label: prevButtonLabel, disabled: onFirstPage, onClick: () => this.handlePageChange(page - 1), "test-id": "prevPageBtn", "hide-label": true }, h("q2-icon", { key: 'fba3e6d775727cfa529d6c5fde3d8da8143debd8', type: "chevron-left" }))), h("div", { key: '6588afe6625fa4130bdfb0907709e63431bd82ad', class: "controls", hidden: isFullViewHidden, "test-id": "controls" }, h("span", { key: 'c6ec518ddf327913fba61e5cd6c1a4412bdcb18a', "aria-hidden": "true" }, loc('tecton.element.pagination.page')), h("div", { key: '6de3983131e9b369953492e64a4c8f32a7fb4969', class: "input-wrapper", onClick: () => this.inputField.dispatchEvent(new FocusEvent('focus')) }, h("q2-input", { key: '459b82d5dde1939f2b5d94e8f38bd9ae79f45074', ref: el => (this.inputField = el), type: "number", value: `${page}`, min: 1, max: this.totalPages, hideLabel: true, optional: true, label: `${loc('tecton.element.pagination.page')} (${loc('tecton.element.pagination.ofPages', [totalPages.toLocaleString()])})`, onChange: event => {
|
|
265
265
|
event.stopPropagation();
|
|
266
266
|
this.handlePageChange(event.detail.value);
|
|
267
|
-
}, "test-id": "pageInput", current: "page" })), h("span", { key: '
|
|
267
|
+
}, "test-id": "pageInput", current: "page" })), h("span", { key: '24f5880eef4dccb874f1edd77e13a806397cb969', "aria-hidden": "true" }, loc('tecton.element.pagination.ofPages', [totalPages.toLocaleString()]))), h("div", { key: '8a91a5373047d7c119971b965c95cc9139a592d7', class: "btn-group" }, h("q2-btn", { key: '1cca2fa3329cc7ee11443b9e7e2927ea2262f1d5', ref: el => (this.nextPageBtn = el), label: nextButtonLabel, disabled: onLastPage, onClick: () => this.handlePageChange(page + 1), "test-id": "nextPageBtn", "hide-label": true }, h("q2-icon", { key: '7fc0c6696c5ab34149d6d4aafb1b453f819a3b9e', type: "chevron-right" })), h("q2-btn", { key: '8e2e1a682adc037d35cd50e2b153e3d6219500e3', ref: el => (this.lastPageBtn = el), label: "tecton.element.pagination.goToLastPage", disabled: onLastPage, hidden: isFullViewHidden, onClick: () => this.handlePageChange(totalPages), "test-id": "lastPageBtn", "hide-label": true }, h("q2-icon", { key: 'f9e9479e4b3bdf4d877b480530c56372773bce50', type: "chevron-double-right" }))), h("div", { key: 'a00a1cdd52e943b0c5c4af10fe93acc8d77baead', class: "per-page", hidden: isFullViewHidden || !((_a = this.perPageIncrements) === null || _a === void 0 ? void 0 : _a.length) }, showPerPageSelect && this.renderPerPage())));
|
|
268
268
|
}
|
|
269
269
|
get hostElement() { return getElement(this); }
|
|
270
270
|
static get watchers() { return {
|
|
@@ -345,7 +345,7 @@ const Q2Pill = class {
|
|
|
345
345
|
wrapperClassNames.push('has-icon');
|
|
346
346
|
if (optionCount)
|
|
347
347
|
wrapperClassNames.push('has-options');
|
|
348
|
-
return (h("click-elsewhere", { key: '
|
|
348
|
+
return (h("click-elsewhere", { key: '49716b798b86d2a6ea041b09c52c39d653a65163', onChange: this.onClickElsewhere }, h("div", { key: '5df75e6f56ae4a0710a906bdda0fb0e05d45a7d9', class: wrapperClassNames.join(' ') }, h("div", { key: '5a39f357cafd2c5d8d12ed0816aecc6a59298632', class: "btn-height-wrapper", ref: el => (this.primaryBtnWrapper = el), onClick: this.handleWrapperClick, tabIndex: -1 }, h("button", { key: 'e76ca25b5383df7fa3c140f0eec42c489f53a535', class: "btn-primary", "test-id": "btn-control", type: "button", role: (optionCount && 'combobox') || undefined, ref: el => (this.primaryBtn = el), onClick: this.handleClick, onKeyDown: this.handleKeydown, onFocusout: this.handleFocusOut, disabled: this.disabled, "aria-roledescription": !optionCount && 'filter', "aria-controls": (optionCount && 'option-list') || undefined, "aria-expanded": (optionCount && `${!!open}`) || undefined, "aria-label": this.buttonContent, "aria-describedby": (optionCount && 'option-description') || undefined }, this.truncatedButtonContent, !optionCount && active && h("span", { key: 'dc493d5ffabca907fbe55a16a8c792fb1539492e', class: "sr" }, "(", loc('tecton.element.pill.active'), ")"))), this.renderIcon(), !!optionCount && this.renderHiddenElement()), this.optionCount > 0 && (h("q2-popover", { key: 'f5ba187f46e4dfc347ae2e929f921127400b0470', ref: el => (this.popoverElement = el), controlElement: this.primaryBtn, open: this.open, "max-height": this.popoverMaxHeight, minHeight: this.popoverMinHeight, direction: this.popoverDirection, align: this.popoverAlignment, onFocusout: this.handleFocusOut }, h("div", { key: 'b2437baa057304268660f5bb56d20cc7e3fb7765', class: "popover-content" }, h("div", { key: 'a1178ecdb320bff59ef3144f55686d68dd8bc4b7', ref: el => (this.popoverTopContainer = el), class: "popover-top-container", tabindex: "-1", hidden: !this.hasPopoverTop, onKeyDown: this.handleKeydown }, h("slot", { key: 'b67fb6db5f10e8e8bbac27e249c18d0188ae759e', name: "popover-top" })), h("q2-option-list", { key: '07294504e7f3e34828e9aad05ca769d18b7fe486', type: "listbox", ref: el => (this.optionList = el), id: "option-list", onChange: this.handleChange, multiple: this.multiple, selectedOptions: this.selectedOptions, onReady: () => this.updateSelectedOptionElements(), label: loc('tecton.element.optionList.label', [this.optionListLabel]) }, h("slot", { key: 'b6936d42d7b4b2be41ee6e2da4943ba9e8dd392d' })), h("div", { key: 'd886525c6abf10afcfcc79766e4df94eda0512ad', ref: el => (this.popoverBottomContainer = el), class: "popover-bottom-container", tabindex: "-1", hidden: !this.hasPopoverBottom, onKeyDown: this.handleKeydown }, h("slot", { key: 'ac54a12ee998500515cf9c5e8f5ebf7a53208a2d', name: "popover-bottom" })))))));
|
|
349
349
|
}
|
|
350
350
|
get hostElement() { return getElement(this); }
|
|
351
351
|
static get watchers() { return {
|
|
@@ -176,7 +176,7 @@ const Q2RadioGroup = class {
|
|
|
176
176
|
const showLabel = this.label || this.optional || this.readonly;
|
|
177
177
|
const { hasError } = this;
|
|
178
178
|
const showLabelRow = (showLabel && !this.hideLabel) || hasError;
|
|
179
|
-
return (h(Fragment, { key: '
|
|
179
|
+
return (h(Fragment, { key: 'f9e4250ae43ae2b9eb582ee89c9b3a66bf57d5d2' }, showLabelRow && (h("div", { key: 'e7600eeadc378959773298ffc70bfd8fe20e62fd', class: "label-row" }, showLabel && !this.hideLabel && h("div", { key: 'fbe77caf2d6063906efe375a1a42bed13e1f10bd', class: "group-legend" }, renderLabel(this)), hasError && (h("q2-icon", { key: '51de2a73997d9ae356101c8882f21ab626890942', type: "error", "test-id": "iconError" })))), h("fieldset", { key: '3443ef8667cfe67a1c77b1b6e39f5ed402a7ad26', onChange: this.onInnerRadioChange, "aria-invalid": hasError ? `${hasError}` : undefined }, showLabel && h("legend", { key: 'f9ee17d85b8844abae32893b4b26c078a83c28ff', class: "sr-only" }, renderLabel(this)), this.inputDom())));
|
|
180
180
|
}
|
|
181
181
|
get hostElement() { return getElement(this); }
|
|
182
182
|
static get watchers() { return {
|
|
@@ -89,7 +89,7 @@ const Q2Radio = class {
|
|
|
89
89
|
// #endregion
|
|
90
90
|
// #region Render Methods
|
|
91
91
|
render() {
|
|
92
|
-
return (h("div", { key: '
|
|
92
|
+
return (h("div", { key: 'bda7ad94d8e65a80a94fe61c2a836c8938695814', class: this.groupTileLayout ? 'radio-tile' : 'radio-container' }, h("input", { key: '750515cb37838ad039306b720404d426f540e80e', ref: el => (this.inputField = el), class: "sr", id: this._id, type: "radio", name: this.name, value: this.value, disabled: this.disabled || this.groupDisabled, checked: this.checked, "aria-label": this.label && this.hideLabel ? loc(this.label) : undefined, onChange: this.inputChange, "test-id": "q2RadioInnerRadioBox" }), h("label", { key: '8ff2ad7e7ae18518010895fcbefc0f98c66aefc1', htmlFor: this._id, class: this.hideLabel ? 'label-hidden' : undefined, "test-id": "radioButton" }, !this.groupTileLayout && (h("svg", { key: '39eb5243dcc3d1392bc8e76cbe3927f682ae5c79', viewBox: "0 0 18 18" }, h("circle", { key: '24e67f62da41c6c8352f1d98670abb870f10d814', stroke: "none", fill: "none", cx: "9", cy: "9", r: "8" }), h("circle", { key: '790aa586c67498067b2096c83e857dc00fa219dd', stroke: "none", fill: "none", cx: "9", cy: "9", r: "4" }))), !this.hideLabel && (h("div", { key: 'c1c7222b2dd10eb4dd8b19ef81f1de6220817eba', class: "label-content" }, (this.label && loc(this.label)) || '', h("slot", { key: '038b1487dd1b16fcb09c05990b517ca9e096439f' }))))));
|
|
93
93
|
}
|
|
94
94
|
get hostElement() { return getElement(this); }
|
|
95
95
|
static get watchers() { return {
|
|
@@ -152,7 +152,7 @@ const Q2RelativeTime = class {
|
|
|
152
152
|
// #region Render Methods
|
|
153
153
|
render() {
|
|
154
154
|
const { shouldShow, displayedMessage } = this;
|
|
155
|
-
return h(Fragment, { key: '
|
|
155
|
+
return h(Fragment, { key: '0d285a64c9e37d285b2c292518f6d86c5b2a3580' }, shouldShow ? h("time", { dateTime: displayedMessage }, displayedMessage) : null);
|
|
156
156
|
}
|
|
157
157
|
get hostElement() { return getElement(this); }
|
|
158
158
|
static get watchers() { return {
|
|
@@ -184,9 +184,9 @@ const Q2Section = class {
|
|
|
184
184
|
wrapperClasses.push('is-transitioning');
|
|
185
185
|
}
|
|
186
186
|
const showDefaultHeader = !this.hasYieldedHeader && !!this.label;
|
|
187
|
-
return (h("section", { key: '
|
|
187
|
+
return (h("section", { key: 'ea8c2d47f9b916aa54768068a0ed077afcd74577', class: "wrapper" }, h("header", { key: '4236bf182d6c179bfe199dc506eaa9cf465e2765', class: hasHeader ? 'has-header' : '' }, h("div", { key: 'e0e2276b92499a38f49b69c09e0af8d6034a2c29', class: "header-content", id: this.titleId, onClick: this.collapsible && this.onHeaderClick }, showDefaultHeader && h("h2", { key: 'c7e6f404f984cd4752fa422e5a5dced7dd54707e', class: "title" }, loc(this.label)), h("div", { key: '97f50f4e116b680ab1e265e1cb0f9cc6a1ec091c', ref: el => (this.headerSlotWrapper = el), class: "header-slot-wrapper" }, h("slot", { key: 'db3a62b4aa97aa9dd770287abaf3ddb4ca26806e', ref: (el) => (this.headerSlot = el), name: "q2-section-header" }))), this.collapsible && !this.noCollapseIcon && (h("q2-btn", { key: '981bff7d4d4de8ef6f18a729e6f28a5e52da54ac', label: loc(this.label || 'tecton.element.section.defaultToggleLabel'), ariaExpanded: `${!!this.expanded}`, ariaControls: this.contentId, "test-id": "toggleButton", "hide-label": true, onClick: this.onHeaderClick }, h("q2-icon", { key: '2e6f3916e177517058b7ef4f61040ed264069be2', type: "chevron-up" })))), h("div", { key: '4760950774a60fce7ba07187b7ab8be357a3821f', class: wrapperClasses.join(' '), id: this.contentId, "aria-labelledby": this.titleId, role: "region", onTransitionEnd: this.onTransitionEnd, style: this.collapsible && {
|
|
188
188
|
height: this.contentHeight,
|
|
189
|
-
} }, h("div", { key: '
|
|
189
|
+
} }, h("div", { key: 'e66a1a7861328cf3fd1470bbbd03b613eed0e1a8', ref: el => (this.contentContainer = el), class: "content", tabindex: "-1" }, h("slot", { key: '07276e9c52b71cdd80d43fd9f1b2e94a8d8e63f2', ref: (el) => (this.contentSlot = el) })))));
|
|
190
190
|
}
|
|
191
191
|
get hostElement() { return getElement(this); }
|
|
192
192
|
static get watchers() { return {
|
|
@@ -762,7 +762,7 @@ const Q2Select = class {
|
|
|
762
762
|
]), checked: showSelected, "test-id": "selectedOptionsButton", onClick: this.showSelectedOptions, onKeyDown: this.visibilityToggleKeyDown }), h("label", { htmlFor: "selected" }, loc('tecton.element.select.multiHeader.selected', [selectedOptionsCount]))))));
|
|
763
763
|
}
|
|
764
764
|
render() {
|
|
765
|
-
return (h("click-elsewhere", { key: '
|
|
765
|
+
return (h("click-elsewhere", { key: 'a188f728f9dc0e448e97a5c06fd1308b8cb37564', class: this.wrapperClasses, onChange: this.clickedElsewhere }, this.renderSelectField()));
|
|
766
766
|
}
|
|
767
767
|
get hostElement() { return getElement(this); }
|
|
768
768
|
static get watchers() { return {
|
|
@@ -68,7 +68,7 @@ const Q2StepperPane = class {
|
|
|
68
68
|
// #region Render Methods
|
|
69
69
|
render() {
|
|
70
70
|
const { label, isActive } = this;
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '63c1e854a072a7bf23a70a8b61ae9421fe60b709', role: "listitem" }, h(Fragment, { key: '1e15b77c4a166240c2b165e7ab2159de7a9a691e' }, h("div", { key: '892d76f13b9fd4c81bbc4179255df6994366904e', "aria-label": label && loc(label), tabindex: "0", hidden: !isActive && !(this.isChildActive && this.showWithChildren) }, h("slot", { key: '3b680f51efcdb202be9133a37843ba0606fb8b0c' })), h("div", { key: '06028ee07f115d64d8bfac6a1641893968acb30d', hidden: true }, h("slot", { key: 'ad6ff6d5a13e59696acd283518533a5eafe4914d', name: "label", onSlotchange: () => this.contentChange.emit() }), h("slot", { key: '7aa19916bff9ad61f1a7717c83ae040aa416f6dc', name: "description", onSlotchange: () => this.contentChange.emit() })), h("slot", { key: 'fba6e7d73fe80420a529c18b65091508c83979aa', name: "children" }))));
|
|
72
72
|
}
|
|
73
73
|
get hostElement() { return getElement(this); }
|
|
74
74
|
static get watchers() { return {
|
|
@@ -270,7 +270,7 @@ const Q2Stepper = class {
|
|
|
270
270
|
const containerClasses = ['step-container'];
|
|
271
271
|
if (scrollEnabled)
|
|
272
272
|
containerClasses.push('has-scroll');
|
|
273
|
-
return (h(Fragment, { key: '
|
|
273
|
+
return (h(Fragment, { key: 'e7782b5f660a545fde730c764d690a572456a324' }, h("div", { key: 'fce729b2b91152477fa615843ec22d55f1d00752', class: containerClasses.join(' ') }, scrollEnabled && (h(Fragment, { key: 'e999742615c80d98ffeb6cda26bc5d3a8540ff88' }, h("div", { key: 'd2e88091d9fcdf632abd219eb4538f04db634af5', class: "gradient-left", hidden: !showScrollLeft }), h("div", { key: '9919c8bef04476c1aecb93647434b5b63e5cef61', class: "gradient-right", hidden: !showScrollRight }), h("q2-btn", { key: 'a26caa1abde69915db6c107675a1b6f8174d1bb3', class: "btn-left", hideLabel: true, hidden: !this.showScrollLeft, label: loc('tecton.element.stepper.scrollLeft'), onClick: () => this.onScrollBtnClick('left') }, h("q2-icon", { key: 'c0e4dcbe2ee599f74ac4633b772d607b6d9cd9cf', type: "chevron-left" })), h("q2-btn", { key: 'cfa4c53013792d3360602227317de4cb42b6afc0', class: "btn-right", hideLabel: true, hidden: !this.showScrollRight, label: loc('tecton.element.stepper.scrollRight'), onClick: () => this.onScrollBtnClick('right') }, h("q2-icon", { key: 'e892c9075ddc98a571d914a62869477752eff31a', type: "chevron-right" })))), h("ul", { key: 'b6a36cdaf89dd79e0e1aa3e5d7a6f1656aa082f5', onScroll: this.checkScrollState, ref: el => (this.listElement = el), role: "tablist" }, stepCount > 0 && [...Array(stepCount).keys()].map(stepIndex => this.renderStepBtn(stepIndex)))), h("div", { key: 'e47d7585250b909a1bef67e87ecc5fe6ab0d0c2b', role: "list" }, h("slot", { key: '4540a6506f3e2a66d08c940729048092366e4efa', onSlotchange: () => this.onSlotChange() }))));
|
|
274
274
|
}
|
|
275
275
|
get hostElement() { return getElement(this); }
|
|
276
276
|
static get watchers() { return {
|
|
@@ -276,7 +276,7 @@ const Q2Textarea = class {
|
|
|
276
276
|
]))));
|
|
277
277
|
}
|
|
278
278
|
render() {
|
|
279
|
-
return (h("div", { key: '
|
|
279
|
+
return (h("div", { key: '0426555a5f2ca919ddafdf81b4f6261bd6c6e348', class: this.wrapperClasses }, renderLabel(this), h("div", { key: 'f0a77219767ca53e2aeb6c6a4ff7610becc835da', class: "content-container", ref: el => (this.contentContainer = el) }, this.renderInput(), this.maxlength ? this.renderMaxLength() : '', renderMessages(this))));
|
|
280
280
|
}
|
|
281
281
|
get hostElement() { return getElement(this); }
|
|
282
282
|
static get watchers() { return {
|
|
@@ -149,16 +149,16 @@ const s = class {
|
|
|
149
149
|
if (e) r.push(`has-${e}`);
|
|
150
150
|
r.push(o);
|
|
151
151
|
return i("q2-resize-observer", {
|
|
152
|
-
key: "
|
|
152
|
+
key: "76c9d28a498cd3d340ceb29474bc2eff7c3b4783",
|
|
153
153
|
onTctResize: this.handleResize,
|
|
154
154
|
disabled: t
|
|
155
155
|
}, i("div", {
|
|
156
|
-
key: "
|
|
156
|
+
key: "8cce1786925b4a3136565c018dcb0e3974ca383f",
|
|
157
157
|
ref: t => this.container = t,
|
|
158
158
|
class: r.join(" "),
|
|
159
159
|
role: "group"
|
|
160
160
|
}, i("slot", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "83762e1ebb1989c747f012bf4ba20343321e9fa2"
|
|
162
162
|
})));
|
|
163
163
|
}
|
|
164
164
|
get hostElement() {
|
|
@@ -253,7 +253,7 @@ const c = class {
|
|
|
253
253
|
// #region Render Methods
|
|
254
254
|
render() {
|
|
255
255
|
return i("slot", {
|
|
256
|
-
key: "
|
|
256
|
+
key: "342fd137e730fd168477e9cb11d34261e619846c",
|
|
257
257
|
onSlotchange: this.handleSlotChange
|
|
258
258
|
});
|
|
259
259
|
}
|
|
@@ -227,32 +227,32 @@ const l = class {
|
|
|
227
227
|
const r = (e === null || e === void 0 ? void 0 : e.appearance) || "slot";
|
|
228
228
|
const n = `interior is-${r}`;
|
|
229
229
|
return i("dialog", {
|
|
230
|
-
key: "
|
|
230
|
+
key: "2ecbe176d8ff88565ad30c1f6b2cfb6ee48ccab5",
|
|
231
231
|
ref: t => this.dialogElement = t,
|
|
232
232
|
class: a,
|
|
233
233
|
onClick: this.onClick
|
|
234
234
|
}, i("div", {
|
|
235
|
-
key: "
|
|
235
|
+
key: "f46366664b6252d250b9e5c594131e297a228ab1",
|
|
236
236
|
class: n
|
|
237
237
|
}, o && i("header", {
|
|
238
|
-
key: "
|
|
238
|
+
key: "3936e7b9889e5ca74bf22371276e74d081d17ecb"
|
|
239
239
|
}, i("div", {
|
|
240
|
-
key: "
|
|
240
|
+
key: "60a353941259f9558ae1bdb80b8fd3456ab8f064",
|
|
241
241
|
class: "title"
|
|
242
242
|
}, (e === null || e === void 0 ? void 0 : e.title) || this.title), !this.hideClose && i("q2-btn", {
|
|
243
|
-
key: "
|
|
243
|
+
key: "efcebd2cea02327074e3b111802a12807a884917",
|
|
244
244
|
class: "btn-close",
|
|
245
245
|
"test-id": "btnClose",
|
|
246
246
|
onClick: this.onCancel,
|
|
247
247
|
label: "tecton.element.actionSheet.close",
|
|
248
248
|
"hide-label": true
|
|
249
249
|
}, i("q2-icon", {
|
|
250
|
-
key: "
|
|
250
|
+
key: "009ef6e777ca61db3af26fc6d652db71e0e28730",
|
|
251
251
|
type: "close"
|
|
252
252
|
}))), ((t = this.data) === null || t === void 0 ? void 0 : t.description) && i("p", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "2fb5edafd6b4b0e6ab2971279b76182313222674"
|
|
254
254
|
}, e.description), s && i(s, {
|
|
255
|
-
key: "
|
|
255
|
+
key: "2d776a658e15d84d0f93fdffa93ab7721994ff08",
|
|
256
256
|
data: this.data
|
|
257
257
|
})));
|
|
258
258
|
}
|
|
@@ -51,9 +51,9 @@ const e = class {
|
|
|
51
51
|
const e = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
52
52
|
const c = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
53
53
|
return t("div", {
|
|
54
|
-
key: "
|
|
54
|
+
key: "da810fb05f158baa2d47ad8bcc68c13218614186"
|
|
55
55
|
}, r && t("img", {
|
|
56
|
-
key: "
|
|
56
|
+
key: "5ed6d0899fae3381d33fae1bd982b0aae3433bab",
|
|
57
57
|
class: i ? "avatar-img" : "avatar-img-default",
|
|
58
58
|
"test-id": "userImage",
|
|
59
59
|
src: this.src,
|
|
@@ -61,7 +61,7 @@ const e = class {
|
|
|
61
61
|
onLoad: this.onLoad,
|
|
62
62
|
alt: this.name || ""
|
|
63
63
|
}), e && t("svg", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "ecf897cf6eb262fe23e982a8e5864e52f6e68330",
|
|
65
65
|
viewBox: "0 0 100 100",
|
|
66
66
|
preserveAspectRatio: "xMidYMid meet",
|
|
67
67
|
"test-id": "userInitials",
|
|
@@ -69,18 +69,18 @@ const e = class {
|
|
|
69
69
|
"aria-label": this.name,
|
|
70
70
|
"aria-hidden": !this.name && "true"
|
|
71
71
|
}, t("text", {
|
|
72
|
-
key: "
|
|
72
|
+
key: "48f7e431bdc78a6bb7ee67c71e2bb72f669885c6",
|
|
73
73
|
x: "50",
|
|
74
74
|
y: "50",
|
|
75
75
|
"dominant-baseline": "central",
|
|
76
76
|
"text-anchor": "middle",
|
|
77
77
|
"aria-hidden": "true"
|
|
78
78
|
}, a)), c && t("div", {
|
|
79
|
-
key: "
|
|
79
|
+
key: "814920a23e17c634711f991551995b75af65d04e",
|
|
80
80
|
"test-id": "fallbackIcon",
|
|
81
81
|
class: "fallback"
|
|
82
82
|
}, t("q2-icon", {
|
|
83
|
-
key: "
|
|
83
|
+
key: "c97c248dd3995dd5225400aade938ddb5e9f833f",
|
|
84
84
|
type: this.icon
|
|
85
85
|
})));
|
|
86
86
|
}
|
|
@@ -4978,15 +4978,15 @@ const No = class {
|
|
|
4978
4978
|
render() {
|
|
4979
4979
|
const {ariaControls: t, ariaExpanded: o} = this.ariaAttributes;
|
|
4980
4980
|
return r(n, {
|
|
4981
|
-
key: "
|
|
4981
|
+
key: "e172a649409b18ca0ad0c08322936e92d9f2e071",
|
|
4982
4982
|
role: this._role,
|
|
4983
4983
|
"aria-controls": t,
|
|
4984
4984
|
"aria-expanded": o
|
|
4985
4985
|
}, r("div", {
|
|
4986
|
-
key: "
|
|
4986
|
+
key: "5415038bee7d4aee6e349fcdd189942df2ce4ab3",
|
|
4987
4987
|
class: this.wrapperClasses
|
|
4988
4988
|
}, r("div", {
|
|
4989
|
-
key: "
|
|
4989
|
+
key: "a3a6e31c3cbf5ae66e5bb7ea78fd79b6bf0d51f1",
|
|
4990
4990
|
class: "label-wrapper"
|
|
4991
4991
|
}, g(this), this.renderCountDOM()), this.renderInputContainerDOM(), k(this)));
|
|
4992
4992
|
}
|
|
@@ -1282,11 +1282,11 @@ const y = class {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
render() {
|
|
1284
1284
|
return a("click-elsewhere", {
|
|
1285
|
-
key: "
|
|
1285
|
+
key: "9c3199802935c7cd99eb1f14f212d4d56724347e",
|
|
1286
1286
|
class: this.open ? "dropdown-open" : undefined,
|
|
1287
1287
|
onChange: this.onClickElsewhere
|
|
1288
1288
|
}, this.renderInputField(), a("q2-popover", {
|
|
1289
|
-
key: "
|
|
1289
|
+
key: "c8b3c478e084290726c851e0e4a8b534c84b3c99",
|
|
1290
1290
|
ref: t => this.popoverElement = t,
|
|
1291
1291
|
id: "calendar-popover",
|
|
1292
1292
|
controlElement: this.innerInputContainer,
|
|
@@ -92,7 +92,7 @@ const i = class {
|
|
|
92
92
|
render() {
|
|
93
93
|
const {label: e} = this;
|
|
94
94
|
return t(r, {
|
|
95
|
-
key: "
|
|
95
|
+
key: "f06dd6853a5214226844b7f1e533d860c98105e2",
|
|
96
96
|
class: this.generatePaneClass(this.currentPaneIndex),
|
|
97
97
|
tabIndex: this.isActivePane ? 0 : -1,
|
|
98
98
|
role: "group",
|
|
@@ -101,10 +101,10 @@ const i = class {
|
|
|
101
101
|
"aria-label": e ? n(e) : n("tecton.element.carousel.itemDescription", [ (this.currentPaneIndex + 1).toString(), (this.siblingCount || 0).toString() ]),
|
|
102
102
|
onClick: this.paneClicked
|
|
103
103
|
}, t("article", {
|
|
104
|
-
key: "
|
|
104
|
+
key: "f4cd85514f537b3e7eeab4814b3dc2d1406bf08c",
|
|
105
105
|
class: "q2-carousel-pane-main-content"
|
|
106
106
|
}, t("slot", {
|
|
107
|
-
key: "
|
|
107
|
+
key: "0e27b5c2eba9a271166b1d3c3a87ef09dea5f275"
|
|
108
108
|
})));
|
|
109
109
|
}
|
|
110
110
|
get hostElement() {
|
|
@@ -4574,7 +4574,7 @@ const z = 500;
|
|
|
4574
4574
|
let g = [ "q2-carousel-pagination-navigation-wrapper" ];
|
|
4575
4575
|
if (l) g = [ ...g, "evenly-space" ];
|
|
4576
4576
|
return i(s, {
|
|
4577
|
-
key: "
|
|
4577
|
+
key: "e9f1d1417f40ab0e87fd7ce07ece84eb5ee89d6d",
|
|
4578
4578
|
id: `q2-carousel-${this.guid}`,
|
|
4579
4579
|
class: "q2-carousel-instance"
|
|
4580
4580
|
}, c ? this.renderInsufficientPanesDisplay() : i(n, null, e > 1 && i("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, c as s, h as
|
|
1
|
+
import { r as t, c as s, h as i, g as e } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
3
|
import { o as a, l as o } from "./index-xCuy-dFb.js";
|
|
4
4
|
|
|
@@ -17,13 +17,13 @@ function install(t) {
|
|
|
17
17
|
reset: function(t) {
|
|
18
18
|
var s = t.getData();
|
|
19
19
|
// Visual coding for legend
|
|
20
|
-
var
|
|
21
|
-
if (
|
|
20
|
+
var i = t.getModel("lineStyle").getLineStyle();
|
|
21
|
+
if (i && !i.stroke) {
|
|
22
22
|
// Fill in visual should be palette color if
|
|
23
23
|
// has color callback
|
|
24
|
-
|
|
24
|
+
i.stroke = s.getVisual("style").fill;
|
|
25
25
|
}
|
|
26
|
-
s.setVisual("legendLineStyle",
|
|
26
|
+
s.setVisual("legendLineStyle", i);
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
// Down sample after filter
|
|
@@ -35,8 +35,8 @@ const x = "*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline
|
|
|
35
35
|
p([ u, install, b, y, g, m ]);
|
|
36
36
|
|
|
37
37
|
const v = class {
|
|
38
|
-
constructor(
|
|
39
|
-
t(this,
|
|
38
|
+
constructor(i) {
|
|
39
|
+
t(this, i);
|
|
40
40
|
this.change = s(this, "change", 7);
|
|
41
41
|
/** An array of objects that contain the data to be displayed. */ this.data = [];
|
|
42
42
|
/** Controls visibility of labels on the name axis. */ this.hideNameAxisLabels = false;
|
|
@@ -117,8 +117,8 @@ const v = class {
|
|
|
117
117
|
}
|
|
118
118
|
getColor(t) {
|
|
119
119
|
const s = d("var(--t-primary)", this.chartContainerStyles, this.hostElementStyles);
|
|
120
|
-
const
|
|
121
|
-
if (
|
|
120
|
+
const i = d(t, this.chartContainerStyles, this.hostElementStyles);
|
|
121
|
+
if (i) return i;
|
|
122
122
|
if (c(t)) return t;
|
|
123
123
|
return s;
|
|
124
124
|
}
|
|
@@ -128,20 +128,20 @@ const v = class {
|
|
|
128
128
|
setupChartEvents(t) {
|
|
129
129
|
t.on("finished", (() => {
|
|
130
130
|
var s;
|
|
131
|
-
const
|
|
132
|
-
if ((s =
|
|
133
|
-
|
|
131
|
+
const i = t.getDom().querySelector("canvas");
|
|
132
|
+
if ((s = i === null || i === void 0 ? void 0 : i.hasAttribute("aria-hidden")) !== null && s !== void 0 ? s : false) return;
|
|
133
|
+
i.setAttribute("aria-hidden", "true");
|
|
134
134
|
}));
|
|
135
135
|
}
|
|
136
136
|
updateChart(t) {
|
|
137
137
|
var s;
|
|
138
|
-
const
|
|
139
|
-
const
|
|
138
|
+
const i = ((s = this.formatModifier) === null || s === void 0 ? void 0 : s.includes("dec")) ? this.formatModifier.replace("dec", "") : 0;
|
|
139
|
+
const e = {
|
|
140
140
|
type: "value",
|
|
141
141
|
axisLabel: {
|
|
142
142
|
formatter: t => f(t, {
|
|
143
143
|
type: this.format,
|
|
144
|
-
decimals:
|
|
144
|
+
decimals: i
|
|
145
145
|
}),
|
|
146
146
|
rotate: this.offsetDataValues ? 45 : 0,
|
|
147
147
|
margin: this.offsetDataValues ? 15 : 8,
|
|
@@ -207,7 +207,7 @@ const v = class {
|
|
|
207
207
|
containLabel: true
|
|
208
208
|
}, this.gridPadding),
|
|
209
209
|
xAxis: a,
|
|
210
|
-
yAxis:
|
|
210
|
+
yAxis: e,
|
|
211
211
|
series: [ {
|
|
212
212
|
data: this.data.map((t => t.value || 0)),
|
|
213
213
|
id: "area",
|
|
@@ -228,7 +228,7 @@ const v = class {
|
|
|
228
228
|
position: "right",
|
|
229
229
|
formatter: t => f(t.value, {
|
|
230
230
|
type: this.format,
|
|
231
|
-
decimals:
|
|
231
|
+
decimals: i
|
|
232
232
|
})
|
|
233
233
|
}
|
|
234
234
|
} ]
|
|
@@ -237,11 +237,11 @@ const v = class {
|
|
|
237
237
|
// #endregion
|
|
238
238
|
// #region Render Methods
|
|
239
239
|
render() {
|
|
240
|
-
return
|
|
241
|
-
key: "
|
|
240
|
+
return i("div", {
|
|
241
|
+
key: "1e77a549de8a2b635585d9226448aa1b5241db7a",
|
|
242
242
|
class: "container"
|
|
243
|
-
},
|
|
244
|
-
key: "
|
|
243
|
+
}, i("div", {
|
|
244
|
+
key: "144239a1e7675918019dc602dc3039df0bd30f58",
|
|
245
245
|
ref: t => this.chartContainer = t,
|
|
246
246
|
class: "chart-container",
|
|
247
247
|
role: "img",
|
|
@@ -249,7 +249,7 @@ const v = class {
|
|
|
249
249
|
}));
|
|
250
250
|
}
|
|
251
251
|
get hostElement() {
|
|
252
|
-
return
|
|
252
|
+
return e(this);
|
|
253
253
|
}
|
|
254
254
|
static get watchers() {
|
|
255
255
|
return {
|
|
@@ -184,10 +184,10 @@ const U = class {
|
|
|
184
184
|
// #region Render Methods
|
|
185
185
|
render() {
|
|
186
186
|
return s("div", {
|
|
187
|
-
key: "
|
|
187
|
+
key: "5ab44a90db3d7842e1ba6d027946baa46a6cd8e0",
|
|
188
188
|
class: "container"
|
|
189
189
|
}, s("div", {
|
|
190
|
-
key: "
|
|
190
|
+
key: "cc578124c901f2c9d6749c517b95194642b42096",
|
|
191
191
|
ref: t => this.chartContainer = t,
|
|
192
192
|
class: "chart-container",
|
|
193
193
|
role: "img",
|