q2-tecton-elements 1.69.1 → 1.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +2246 -355
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +2 -2
- package/dist/cjs/{index-D2LFCsNP.js → index-SpDCZABA.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-badge_2.cjs.entry.js +11 -4
- package/dist/cjs/q2-btn_2.cjs.entry.js +6 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +5 -3
- package/dist/cjs/q2-card-image.cjs.entry.js +8 -6
- package/dist/cjs/q2-card.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +4 -3
- 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 +6 -3
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +12 -4
- package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +20 -2
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +3 -3
- package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
- 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-search.cjs.entry.js +101 -12
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +36 -6
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +24 -18
- package/dist/cjs/q2-stepper.cjs.entry.js +5 -4
- package/dist/cjs/q2-surface.cjs.entry.js +95 -0
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +1 -1
- package/dist/collection/components/q2-btn/q2-btn.css +32 -17
- package/dist/collection/components/q2-btn/q2-btn.js +6 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +24 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +4 -0
- package/dist/collection/components/q2-card/q2-card.css +2 -2
- package/dist/collection/components/q2-card-image/q2-card-image.css +3 -0
- package/dist/collection/components/q2-card-image/q2-card-image.js +25 -23
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +4 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +4 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +2 -1
- package/dist/collection/components/q2-currency/q2-currency.css +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -2
- package/dist/collection/components/q2-detail/q2-detail.css +12 -12
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +2 -2
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +11 -3
- package/dist/collection/components/q2-input/q2-input.css +11 -1
- package/dist/collection/components/q2-input/q2-input.js +29 -2
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +8 -0
- package/dist/collection/components/q2-item/q2-item.css +10 -5
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +132 -0
- package/dist/collection/components/q2-legend/q2-legend.css +2 -2
- package/dist/collection/components/q2-list/q2-list.css +1 -1
- package/dist/collection/components/q2-loc/q2-loc.js +42 -1
- package/dist/collection/components/q2-message/q2-message.css +4 -0
- package/dist/collection/components/q2-meter/q2-meter.css +3 -3
- package/dist/collection/components/q2-modal/q2-modal.css +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +2 -2
- package/dist/collection/components/q2-otp/q2-otp.css +33 -0
- package/dist/collection/components/q2-otp/test/q2-otp-test.vr.js +83 -0
- package/dist/collection/components/q2-popover/q2-popover.css +2 -1
- package/dist/collection/components/q2-radio/q2-radio.css +2 -0
- package/dist/collection/components/q2-search/q2-search.css +30 -0
- package/dist/collection/components/q2-search/q2-search.js +99 -10
- package/dist/collection/components/q2-search/test/q2-search-test.vr.js +145 -0
- package/dist/collection/components/q2-section/q2-section.css +1 -1
- package/dist/collection/components/q2-select/q2-select.css +4 -2
- package/dist/collection/components/q2-select/q2-select.js +54 -4
- package/dist/collection/components/q2-select/test/q2-select-test.vr.js +5 -0
- package/dist/collection/components/q2-stepper/q2-stepper.css +2 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js +3 -2
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +2 -2
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +22 -16
- package/dist/collection/components/q2-surface/q2-surface.css +348 -0
- package/dist/collection/components/q2-surface/q2-surface.js +381 -0
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +108 -0
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-toast/q2-toast.js +3 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/index.js +2 -2
- package/dist/components/index.js +12 -10
- package/dist/components/index2.js +3 -3
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-btn2.js +5 -1
- package/dist/components/q2-calendar.js +294 -290
- package/dist/components/q2-card-image.js +9 -6
- package/dist/components/q2-card.js +14 -14
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox2.js +12 -12
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +4 -4
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +8 -8
- package/dist/components/q2-editable-field.js +15 -5
- package/dist/components/q2-input2.js +46 -26
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +51 -51
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-loc.js +23 -8
- package/dist/components/q2-meter.js +10 -10
- package/dist/components/q2-modal.js +54 -54
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-search.js +106 -51
- package/dist/components/q2-section.js +1 -1
- package/dist/components/q2-select2.js +25 -9
- package/dist/components/q2-stepper-vertical.js +72 -63
- package/dist/components/q2-stepper.js +73 -71
- package/dist/components/q2-surface.d.ts +11 -0
- package/dist/components/q2-surface.js +109 -0
- package/dist/components/q2-tab-container.js +12 -12
- package/dist/components/q2-tab-pane.js +6 -6
- package/dist/components/q2-tag2.js +5 -5
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/click-elsewhere_3.entry.js +2 -2
- package/dist/esm/{index-Bx4m6N0g.js → index-Cps4jSQM.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +2 -2
- package/dist/esm/q2-badge_2.entry.js +11 -4
- package/dist/esm/q2-btn_2.entry.js +6 -2
- package/dist/esm/q2-calendar.entry.js +5 -3
- package/dist/esm/q2-card-image.entry.js +8 -6
- package/dist/esm/q2-card.entry.js +2 -2
- package/dist/esm/q2-carousel-pane.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +4 -3
- 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 +6 -3
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -3
- package/dist/esm/q2-editable-field.entry.js +12 -4
- package/dist/esm/q2-file-picker.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +2 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +20 -2
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +3 -3
- package/dist/esm/q2-month-picker.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +1 -1
- 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-search.entry.js +101 -12
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +36 -6
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper-vertical.entry.js +24 -18
- package/dist/esm/q2-stepper.entry.js +5 -4
- package/dist/esm/q2-surface.entry.js +93 -0
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +2 -2
- package/dist/q2-tecton-elements/{index-Bx4m6N0g.js → index-Cps4jSQM.js} +3 -3
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +51 -32
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +6 -2
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +65 -62
- package/dist/q2-tecton-elements/q2-card.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +54 -54
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +50 -50
- package/dist/q2-tecton-elements/q2-detail.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +15 -8
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-legend.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-link_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loc.entry.js +20 -6
- package/dist/q2-tecton-elements/q2-message.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-meter.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-modal.entry.js +55 -55
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-otp.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pill.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-search.entry.js +108 -53
- package/dist/q2-tecton-elements/q2-section.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-select.entry.js +25 -10
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +75 -66
- package/dist/q2-tecton-elements/q2-stepper.entry.js +47 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +89 -0
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-toast.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +8 -8
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +2 -0
- package/dist/types/components/q2-card-image/q2-card-image.d.ts +5 -5
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +1 -0
- package/dist/types/components/q2-input/q2-input.d.ts +3 -0
- package/dist/types/components/q2-item/test/q2-item-test.vr.d.ts +1 -0
- package/dist/types/components/q2-loc/q2-loc.d.ts +6 -0
- package/dist/types/components/q2-modal/q2-modal.d.ts +1 -1
- package/dist/types/components/q2-otp/test/q2-otp-test.vr.d.ts +1 -0
- package/dist/types/components/q2-search/q2-search.d.ts +7 -0
- package/dist/types/components/q2-search/test/q2-search-test.vr.d.ts +1 -0
- package/dist/types/components/q2-select/q2-select.d.ts +4 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +2 -1
- package/dist/types/components/q2-surface/q2-surface.d.ts +54 -0
- package/dist/types/components/q2-surface/test/q2-surface-test.vr.d.ts +1 -0
- package/dist/types/components/q2-toast/q2-toast.d.ts +3 -1
- package/dist/types/components.d.ts +259 -13
- package/dist/types/utils/index.d.ts +3 -1
- package/package.json +4 -3
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { proxyCustomElement as r, HTMLElement as a, createEvent as e, h as o, Host as t, transformTag as c } from "@stencil/core/internal/client";
|
|
2
|
+
|
|
3
|
+
const s = r(class extends a {
|
|
4
|
+
constructor(r) {
|
|
5
|
+
super(), !1 !== r && this.__registerHost(), this.__attachShadow(), this.tctClick = e(this, "tctClick", 7),
|
|
6
|
+
// #region Own Properties
|
|
7
|
+
this._cancelAnimation = null,
|
|
8
|
+
/** Applies a gradient fade across the background.
|
|
9
|
+
*
|
|
10
|
+
* @info Direction and colors are customizable via CSS custom properties. */
|
|
11
|
+
this.backgroundGradient = !1,
|
|
12
|
+
/**
|
|
13
|
+
* Renders the border as a gradient using the color set by the `border` prop. Takes precedence over a solid `border` when both are set.
|
|
14
|
+
*
|
|
15
|
+
* @info Requires `border` to be set to produce a colored gradient. Without `border`, falls back to the default border color.
|
|
16
|
+
*/
|
|
17
|
+
this.borderGradient = !1,
|
|
18
|
+
/** Makes the surface interactive, responding to clicks.
|
|
19
|
+
*
|
|
20
|
+
* @info Emits `tctClick` when clicked. */
|
|
21
|
+
this.clickable = !1,
|
|
22
|
+
/** Gives the component a drop shadow.
|
|
23
|
+
*
|
|
24
|
+
* @info 0 means no shadow; higher values appear more elevated. */
|
|
25
|
+
this.elevation = 0,
|
|
26
|
+
/** Adds internal padding applied uniformly on all sides.
|
|
27
|
+
*
|
|
28
|
+
* @info Individual axes can be overridden with `inset-x` and `inset-y`. */
|
|
29
|
+
this.inset = "none",
|
|
30
|
+
/** Adds corner rounding on a scale from 0 (sharp) to 5 (most rounded). */
|
|
31
|
+
this.radius = 0;
|
|
32
|
+
}
|
|
33
|
+
// #endregion
|
|
34
|
+
// #region Component Lifecycle Events
|
|
35
|
+
disconnectedCallback() {
|
|
36
|
+
var r;
|
|
37
|
+
null === (r = this._cancelAnimation) || void 0 === r || r.call(this);
|
|
38
|
+
}
|
|
39
|
+
// #endregion
|
|
40
|
+
// #region Listeners
|
|
41
|
+
onClick() {
|
|
42
|
+
this.clickable && this.tctClick.emit();
|
|
43
|
+
}
|
|
44
|
+
onKeydown(r) {
|
|
45
|
+
this.clickable && ("Enter" !== r.key && " " !== r.key || (r.preventDefault(), this.tctClick.emit()));
|
|
46
|
+
}
|
|
47
|
+
// #endregion
|
|
48
|
+
// #region Public Methods API
|
|
49
|
+
/**
|
|
50
|
+
* Triggers a named animation on the surface. If an animation is already running, cancels it before starting the new one.
|
|
51
|
+
* @param animation The animation to play. Defaults to `'pulse'`.
|
|
52
|
+
* @returns A Promise that resolves when the animation finishes or is cancelled.
|
|
53
|
+
*/
|
|
54
|
+
async animate(r = "pulse") {
|
|
55
|
+
var a;
|
|
56
|
+
return null === (a = this._cancelAnimation) || void 0 === a || a.call(this), new Promise((a => {
|
|
57
|
+
const e = "q2-surface-animate-" + r, onEnd = () => {
|
|
58
|
+
this.hostElement.classList.remove(e), this._cancelAnimation = null, a();
|
|
59
|
+
};
|
|
60
|
+
this._cancelAnimation = () => {
|
|
61
|
+
this.hostElement.classList.remove(e), this.hostElement.removeEventListener("animationend", onEnd),
|
|
62
|
+
this._cancelAnimation = null, a();
|
|
63
|
+
}, this.hostElement.classList.add(e), this.hostElement.addEventListener("animationend", onEnd, {
|
|
64
|
+
once: !0
|
|
65
|
+
});
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
// #endregion
|
|
69
|
+
// #region Render Methods
|
|
70
|
+
render() {
|
|
71
|
+
return o(t, {
|
|
72
|
+
key: "235f94ccfb0eb7167079e8e25ee78d652999f8e8"
|
|
73
|
+
}, o("div", {
|
|
74
|
+
key: "b01d6e71bb4b8f1f583c63910d4b1eca757572dd",
|
|
75
|
+
class: "container",
|
|
76
|
+
role: this.clickable ? "button" : void 0,
|
|
77
|
+
tabIndex: this.clickable ? 0 : void 0
|
|
78
|
+
}, o("slot", {
|
|
79
|
+
key: "591dc9fcb51d6f238a6186f047661020be9ea800"
|
|
80
|
+
})));
|
|
81
|
+
}
|
|
82
|
+
get hostElement() {
|
|
83
|
+
return this;
|
|
84
|
+
}
|
|
85
|
+
static get style() {
|
|
86
|
+
return ':host{--comp-surface-bg:transparent;--comp-surface-hover-background:var(--tct-surface-hover-background, var(--t-base-hover, #f2f2f2));--comp-surface-border-color:var(--tct-surface-border-color, var(--t-gray-12, #d9d9d9));--comp-surface-animation-duration:var(--tct-surface-animation-duration, 1s);--comp-surface-gradient-direction:var(--tct-surface-background-gradient-direction, to right bottom);--comp-surface-radius:0px}*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none}::-moz-focus-inner{border:none}:host{display:block;transition:box-shadow var(--tct-surface-tween, var(--app-tween-1, 0.2s ease)), border-radius var(--tct-surface-tween, var(--app-tween-1, 0.2s ease)), background var(--tct-surface-tween, var(--app-tween-1, 0.2s ease)), padding var(--tct-surface-tween, var(--app-tween-1, 0.2s ease))}.container{display:block;background:transparent;border-radius:var(--comp-surface-radius);transition:background var(--tct-surface-tween, var(--app-tween-1, 0.2s ease)), border-radius var(--tct-surface-tween, var(--app-tween-1, 0.2s ease)), box-shadow var(--tct-surface-tween, var(--app-tween-1, 0.2s ease))}:host([elevation="1"]){box-shadow:var(--tct-surface-elevation-1-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)))}:host([elevation="2"]){box-shadow:var(--tct-surface-elevation-2-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14)))}:host([elevation="3"]){box-shadow:var(--tct-surface-elevation-3-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 8px 16px rgba(0, 0, 0, 0.14)))}:host([elevation="4"]){box-shadow:var(--tct-surface-elevation-4-box-shadow, var(--app-shadow-4, 0px 0px 8px rgba(0, 0, 0, 0.12), 0px 14px 28px rgba(0, 0, 0, 0.14)))}:host([elevation="5"]){box-shadow:var(--tct-surface-elevation-5-box-shadow, var(--app-shadow-5, 0px 0px 8px rgba(0, 0, 0, 0.12), 0px 32px 64px rgba(0, 0, 0, 0.14)))}:host([radius="1"]){--comp-surface-radius:var(--tct-surface-border-radius-1, var(--app-border-radius-1, 4px));border-radius:var(--comp-surface-radius)}:host([radius="2"]){--comp-surface-radius:var(--tct-surface-border-radius-2, var(--app-border-radius-2, 8px));border-radius:var(--comp-surface-radius)}:host([radius="3"]){--comp-surface-radius:var(--tct-surface-border-radius-3, var(--app-border-radius-3, 12px));border-radius:var(--comp-surface-radius)}:host([radius="4"]){--comp-surface-radius:var(--tct-surface-border-radius-4, var(--app-border-radius-4, 16px));border-radius:var(--comp-surface-radius)}:host([radius="5"]){--comp-surface-radius:var(--tct-surface-border-radius-5, var(--app-border-radius-5, 24px));border-radius:var(--comp-surface-radius)}:host([background=default]){--comp-surface-bg:var(--tct-surface-background-default, var(--t-base, #ffffff));--comp-surface-hover-background:var(--tct-surface-hover-background, var(--t-base-hover, #f2f2f2))}:host([background=primary]){--comp-surface-bg:var(--tct-surface-background-primary, var(--t-primary, #6a4a9e));--comp-surface-hover-background:var(--tct-surface-primary-hover-background, var(--t-primary-l2, #7d5ab8));color:var(--tct-surface-primary-font-color, var(--t-primary-text, #ffffff))}:host([background=secondary]){--comp-surface-bg:var(--tct-surface-background-secondary, var(--t-secondary, #b3c2cc));--comp-surface-hover-background:var(--tct-surface-secondary-hover-background, var(--t-secondary-l2, #c2cfd8));color:var(--tct-surface-secondary-font-color, var(--t-secondary-text, #1a1a1a))}:host([background=tertiary]){--comp-surface-bg:var(--tct-surface-background-tertiary, var(--t-tertiary, #e8f5fc));--comp-surface-hover-background:var(--tct-surface-tertiary-hover-background, var(--t-tertiary-l2, #edf7fd));color:var(--tct-surface-tertiary-font-color, var(--t-tertiary-text, #1a1a1a))}:host([background]) .container{background:var(--comp-surface-bg)}:host([background-gradient]) .container{background:linear-gradient(in oklch var(--comp-surface-gradient-direction), color-mix(in oklab, var(--comp-surface-bg), white 40%), var(--comp-surface-bg))}:host([border]) .container{border:1px solid var(--comp-surface-border-color)}:host([border=primary]) .container{border-color:var(--tct-surface-primary-border-color, var(--t-primary, #6a4a9e))}:host([border=secondary]) .container{border-color:var(--tct-surface-secondary-border-color, var(--t-secondary, #b3c2cc))}:host([border=tertiary]) .container{border-color:var(--tct-surface-tertiary-border-color, var(--t-tertiary, #e8f5fc))}:host([border-gradient]){padding:2px}:host([border-gradient]) .container{border-radius:calc(var(--comp-surface-radius) - 2px)}:host([border-gradient])[border] .container{border:none}:host([border-gradient]:not([background])){--comp-surface-bg:var(--tct-surface-background-default, var(--t-base, #ffffff))}:host([border-gradient]:not([background])) .container{background:var(--comp-surface-bg)}:host([border-gradient]:not([border])),:host([border-gradient][border=default]){background:linear-gradient(in oklch var(--tct-surface-border-gradient-direction, var(--tct-surface-background-gradient-direction, to right bottom)), color-mix(in oklab, var(--tct-surface-border-color, var(--t-gray-12, #d9d9d9)), white 40%), var(--tct-surface-border-color, var(--t-gray-12, #d9d9d9)))}:host([border-gradient][border=primary]){background:linear-gradient(in oklch var(--tct-surface-border-gradient-direction, var(--tct-surface-background-gradient-direction, to right bottom)), color-mix(in oklab, var(--tct-surface-primary-border-color, var(--t-primary, #6a4a9e)), white 40%), var(--tct-surface-primary-border-color, var(--t-primary, #6a4a9e)))}:host([border-gradient][border=secondary]){background:linear-gradient(in oklch var(--tct-surface-border-gradient-direction, var(--tct-surface-background-gradient-direction, to right bottom)), color-mix(in oklab, var(--tct-surface-secondary-border-color, var(--t-secondary, #b3c2cc)), white 40%), var(--tct-surface-secondary-border-color, var(--t-secondary, #b3c2cc)))}:host([border-gradient][border=tertiary]){background:linear-gradient(in oklch var(--tct-surface-border-gradient-direction, var(--tct-surface-background-gradient-direction, to right bottom)), color-mix(in oklab, var(--tct-surface-tertiary-border-color, var(--t-tertiary, #e8f5fc)), white 40%), var(--tct-surface-tertiary-border-color, var(--t-tertiary, #e8f5fc)))}:host([inset=compact]) .container{padding:var(--tct-surface-inset-compact, var(--app-scale-1x, 5px))}:host([inset=normal]) .container{padding:var(--tct-surface-inset-normal, var(--app-scale-3x, 15px))}:host([inset=comfortable]) .container{padding:var(--tct-surface-inset-comfortable, var(--app-scale-5x, 25px))}:host([inset-x=none]) .container{padding-inline:0}:host([inset-x=compact]) .container{padding-inline:var(--tct-surface-inset-compact, var(--app-scale-1x, 5px))}:host([inset-x=normal]) .container{padding-inline:var(--tct-surface-inset-normal, var(--app-scale-3x, 15px))}:host([inset-x=comfortable]) .container{padding-inline:var(--tct-surface-inset-comfortable, var(--app-scale-5x, 25px))}:host([inset-y=none]) .container{padding-block:0}:host([inset-y=compact]) .container{padding-block:var(--tct-surface-inset-compact, var(--app-scale-1x, 5px))}:host([inset-y=normal]) .container{padding-block:var(--tct-surface-inset-normal, var(--app-scale-3x, 15px))}:host([inset-y=comfortable]) .container{padding-block:var(--tct-surface-inset-comfortable, var(--app-scale-5x, 25px))}:host([clickable]){cursor:pointer}:host([clickable]):hover .container{background:var(--comp-surface-hover-background)}:host([clickable])[elevation="0"]:hover .container,:host([clickable]):not([elevation]):hover .container{box-shadow:var(--tct-surface-elevation-hover-0-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)))}:host([clickable])[elevation="1"]:hover .container{box-shadow:var(--tct-surface-elevation-hover-1-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14)))}:host([clickable])[elevation="2"]:hover .container{box-shadow:var(--tct-surface-elevation-hover-2-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 8px 16px rgba(0, 0, 0, 0.14)))}:host([clickable])[elevation="3"]:hover .container{box-shadow:var(--tct-surface-elevation-hover-3-box-shadow, var(--app-shadow-4, 0px 0px 8px rgba(0, 0, 0, 0.12), 0px 14px 28px rgba(0, 0, 0, 0.14)))}:host([clickable])[elevation="4"]:hover .container{box-shadow:var(--tct-surface-elevation-hover-4-box-shadow, var(--app-shadow-5, 0px 0px 8px rgba(0, 0, 0, 0.12), 0px 32px 64px rgba(0, 0, 0, 0.14)))}:host([clickable])[elevation="5"]:hover .container{box-shadow:var(--tct-surface-elevation-hover-5-box-shadow, var(--app-shadow-5, 0px 0px 8px rgba(0, 0, 0, 0.12), 0px 32px 64px rgba(0, 0, 0, 0.14)))}:host([clickable]) .container:focus-visible{outline:none;box-shadow:var(--tct-surface-focus-visible-box-shadow, var(--const-double-focus-ring, 0 0 0 2px var(--t-base), 0 0 0 4px var(--const-focus-color), 0 0 0 6px var(--t-base)))}@keyframes q2-surface-bounce{from,20%,53%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transform:translate3d(0, 0, 0)}40%,43%{animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);transform:translate3d(0, -30px, 0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);transform:translate3d(0, -15px, 0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transform:translate3d(0, 0, 0) scaleY(0.95)}90%{transform:translate3d(0, -4px, 0) scaleY(1.02)}}@keyframes q2-surface-flash{from,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes q2-surface-pulse{from{transform:scale3d(1, 1, 1)}50%{transform:scale3d(1.05, 1.05, 1.05)}to{transform:scale3d(1, 1, 1)}}@keyframes q2-surface-tada{from{transform:scale3d(1, 1, 1)}10%,20%{transform:scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -1deg)}30%,50%,70%,90%{transform:scale3d(1.05, 1.05, 1.05) rotate3d(0, 0, 1, 1deg)}40%,60%,80%{transform:scale3d(1.05, 1.05, 1.05) rotate3d(0, 0, 1, -1deg)}to{transform:scale3d(1, 1, 1)}}:host(.q2-surface-animate-bounce){animation:q2-surface-bounce var(--comp-surface-animation-duration) both;transform-origin:center bottom}:host(.q2-surface-animate-flash){animation:q2-surface-flash var(--comp-surface-animation-duration) both}:host(.q2-surface-animate-pulse){animation:q2-surface-pulse var(--comp-surface-animation-duration) both}:host(.q2-surface-animate-tada){animation:q2-surface-tada var(--comp-surface-animation-duration) both}';
|
|
87
|
+
}
|
|
88
|
+
}, [ 257, "q2-surface", {
|
|
89
|
+
background: [ 513 ],
|
|
90
|
+
backgroundGradient: [ 516, "background-gradient" ],
|
|
91
|
+
border: [ 513 ],
|
|
92
|
+
borderGradient: [ 516, "border-gradient" ],
|
|
93
|
+
clickable: [ 516 ],
|
|
94
|
+
elevation: [ 514 ],
|
|
95
|
+
inset: [ 513 ],
|
|
96
|
+
insetX: [ 513, "inset-x" ],
|
|
97
|
+
insetY: [ 513, "inset-y" ],
|
|
98
|
+
radius: [ 514 ],
|
|
99
|
+
animate: [ 64 ]
|
|
100
|
+
}, [ [ 0, "click", "onClick" ], [ 0, "keydown", "onKeydown" ] ] ]);
|
|
101
|
+
|
|
102
|
+
const n = s, defineCustomElement = function() {
|
|
103
|
+
if ("undefined" == typeof customElements) return;
|
|
104
|
+
[ "q2-surface" ].forEach((r => {
|
|
105
|
+
if ("q2-surface" === r) customElements.get(c(r)) || customElements.define(c(r), s);
|
|
106
|
+
}));
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export { n as Q2Surface, defineCustomElement }
|
|
@@ -235,49 +235,49 @@ const f = t(class extends a {
|
|
|
235
235
|
}
|
|
236
236
|
render() {
|
|
237
237
|
return i(r, {
|
|
238
|
-
key: "
|
|
238
|
+
key: "cfaf872008ad8687316955a725e7475d326b5ec2"
|
|
239
239
|
}, i("div", {
|
|
240
|
-
key: "
|
|
240
|
+
key: "8a61a84ecd4d1869fe53829ca908e99ec80b11be",
|
|
241
241
|
class: "tab-container"
|
|
242
242
|
}, this.scrollEnabled && i(r, {
|
|
243
|
-
key: "
|
|
243
|
+
key: "a77950455f6f6f9138d1174fa4db38bcde498cb5"
|
|
244
244
|
}, i("div", {
|
|
245
|
-
key: "
|
|
245
|
+
key: "b195f6a34a9ed2ecbdf1bacd2d51a76f0861574e",
|
|
246
246
|
class: "gradient-left",
|
|
247
247
|
hidden: !this.showScrollLeft
|
|
248
248
|
}), i("div", {
|
|
249
|
-
key: "
|
|
249
|
+
key: "f625095c68ad1bedd07d34149d28c27f12b2954d",
|
|
250
250
|
class: "gradient-right",
|
|
251
251
|
hidden: !this.showScrollRight
|
|
252
252
|
}), i("q2-btn", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "96c26c6447708d2fcf102e53e984f9a71bc2d9b1",
|
|
254
254
|
class: "btn-left",
|
|
255
255
|
hidden: !this.showScrollLeft,
|
|
256
256
|
onTctClick: () => this.onScrollBtnClick("left")
|
|
257
257
|
}, i("q2-icon", {
|
|
258
|
-
key: "
|
|
258
|
+
key: "feec85bd6bbbfeb99c520b6118c90190130d8dca",
|
|
259
259
|
type: "chevron-left",
|
|
260
260
|
label: "scroll left"
|
|
261
261
|
})), i("q2-btn", {
|
|
262
|
-
key: "
|
|
262
|
+
key: "8dc406d9e144e0d025e14d8a2e30f6010febafd6",
|
|
263
263
|
class: "btn-right",
|
|
264
264
|
hidden: !this.showScrollRight,
|
|
265
265
|
onTctClick: () => this.onScrollBtnClick("right")
|
|
266
266
|
}, i("q2-icon", {
|
|
267
|
-
key: "
|
|
267
|
+
key: "3a35b2d74d9f62f3934b667b2ceacf0e31ffb6f4",
|
|
268
268
|
type: "chevron-right",
|
|
269
269
|
label: "scroll right"
|
|
270
270
|
}))), i("ul", {
|
|
271
|
-
key: "
|
|
271
|
+
key: "8ba591207287d3aa2d20e70ec72c03a755879ab0",
|
|
272
272
|
onScroll: this.checkScrollState,
|
|
273
273
|
ref: t => this.listElement = t,
|
|
274
274
|
class: this.noPrint ? "no-print" : null,
|
|
275
275
|
role: "tablist"
|
|
276
276
|
}, this.tabs.map(((t, a) => this.renderTab(t, a))))), i("div", {
|
|
277
|
-
key: "
|
|
277
|
+
key: "83ab595967887ca3d2a584f85519f23e101d02ff",
|
|
278
278
|
class: "tab-content"
|
|
279
279
|
}, i("slot", {
|
|
280
|
-
key: "
|
|
280
|
+
key: "6458a9e54b310f85129497478757111501fcb06f",
|
|
281
281
|
onSlotchange: () => this.onSlotChange()
|
|
282
282
|
})));
|
|
283
283
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement as e, HTMLElement as t, createEvent as n, h as
|
|
1
|
+
import { proxyCustomElement as e, HTMLElement as t, createEvent as n, h as i, transformTag as a } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
3
|
import { b as o } from "./component.js";
|
|
4
4
|
|
|
@@ -19,16 +19,16 @@ const s = e(class extends t {
|
|
|
19
19
|
// #endregion
|
|
20
20
|
// #region Render Methods
|
|
21
21
|
render() {
|
|
22
|
-
return
|
|
23
|
-
key: "
|
|
22
|
+
return i("div", {
|
|
23
|
+
key: "19abb08e46c23ce0be03d7d07a1bbe4c22e99786",
|
|
24
24
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
25
25
|
class: "tab-pane" + (this.selected ? "" : " hidden"),
|
|
26
26
|
role: "tabpanel",
|
|
27
27
|
tabindex: "-1",
|
|
28
28
|
"aria-hidden": "" + !this.selected,
|
|
29
29
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
30
|
-
},
|
|
31
|
-
key: "
|
|
30
|
+
}, i("slot", {
|
|
31
|
+
key: "42a7a3ac8fe64661ba2027c0c967fcfe3b4d20e7"
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
34
|
get hostElement() {
|
|
@@ -82,7 +82,7 @@ const s = e(class extends t {
|
|
|
82
82
|
const r = s, defineCustomElement = function() {
|
|
83
83
|
if ("undefined" == typeof customElements) return;
|
|
84
84
|
[ "q2-tab-pane" ].forEach((e => {
|
|
85
|
-
if ("q2-tab-pane" === e) customElements.get(
|
|
85
|
+
if ("q2-tab-pane" === e) customElements.get(a(e)) || customElements.define(a(e), s);
|
|
86
86
|
}));
|
|
87
87
|
};
|
|
88
88
|
|
|
@@ -151,9 +151,9 @@ const f = t(class extends o {
|
|
|
151
151
|
this.optionCount && o.push("has-options");
|
|
152
152
|
const e = this.optionCount > 0;
|
|
153
153
|
return i(r, {
|
|
154
|
-
key: "
|
|
154
|
+
key: "8bf6d92e2f691ae8efeb0b1f24b460d193c069f1"
|
|
155
155
|
}, i("click-elsewhere", {
|
|
156
|
-
key: "
|
|
156
|
+
key: "9c6d2c96a64528a7831f5f1f019e81f5092b1347",
|
|
157
157
|
onChange: this.onClickElsewhere
|
|
158
158
|
}, e ? i(a, null, i("button", {
|
|
159
159
|
class: "tag-wrapper",
|
|
@@ -180,7 +180,7 @@ const f = t(class extends o {
|
|
|
180
180
|
}, i("slot", {
|
|
181
181
|
name: "decorator"
|
|
182
182
|
}), p(this.label))), e && i("q2-popover", {
|
|
183
|
-
key: "
|
|
183
|
+
key: "2df0c2c782ec0908fe95f4c824fa4230beeb2e6d",
|
|
184
184
|
ref: t => this.popoverElement = t,
|
|
185
185
|
controlElement: this.dropdownBtn,
|
|
186
186
|
open: this.open,
|
|
@@ -189,7 +189,7 @@ const f = t(class extends o {
|
|
|
189
189
|
direction: this.popoverDirection,
|
|
190
190
|
align: this.popoverAlignment
|
|
191
191
|
}, i("q2-option-list", {
|
|
192
|
-
key: "
|
|
192
|
+
key: "8423b3877e1750ee12f5162b7fd2eb43a9552002",
|
|
193
193
|
id: "option-list",
|
|
194
194
|
ref: t => this.optionList = t,
|
|
195
195
|
onChange: this.handleChange,
|
|
@@ -198,7 +198,7 @@ const f = t(class extends o {
|
|
|
198
198
|
label: p("tecton.element.optionList.label", [ this.optionListLabel ]),
|
|
199
199
|
"no-select": !0
|
|
200
200
|
}, i("slot", {
|
|
201
|
-
key: "
|
|
201
|
+
key: "66ba933485bb28a9d140018c7ce6ce02e31ea668"
|
|
202
202
|
})))));
|
|
203
203
|
}
|
|
204
204
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as n, transformTag as s } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a = e(class extends t {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
super(), !1 !== e && this.__registerHost(), this.__attachShadow(), this.badge = i(this, "badge", 7),
|
|
6
6
|
this.onIFrameLoad = e => {
|
|
@@ -41,7 +41,7 @@ const o = e(class extends t {
|
|
|
41
41
|
// #region Render Methods
|
|
42
42
|
render() {
|
|
43
43
|
return n("div", {
|
|
44
|
-
key: "
|
|
44
|
+
key: "6fd41d78c9d8a6e1abf28713f52d92ac214ad8ab",
|
|
45
45
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
46
46
|
class: "tab-pane" + (this.selected ? "" : " hidden"),
|
|
47
47
|
role: "tabpanel",
|
|
@@ -49,12 +49,12 @@ const o = e(class extends t {
|
|
|
49
49
|
"aria-hidden": "" + !this.selected,
|
|
50
50
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
51
51
|
}, this.selected && void 0 !== this.provided && !this.provided && n("div", {
|
|
52
|
-
key: "
|
|
52
|
+
key: "b5302bdd5ae8e749e84e4e12505d843c0ba0950a"
|
|
53
53
|
}, n("slot", {
|
|
54
|
-
key: "
|
|
54
|
+
key: "4b935505187b21260398c28ea876ecd64d9ed172",
|
|
55
55
|
name: "loading-wrapper"
|
|
56
56
|
}), n("iframe", {
|
|
57
|
-
key: "
|
|
57
|
+
key: "c18b96c8849a6a69abec9ced6d27a6860113b8c7",
|
|
58
58
|
hidden: !0,
|
|
59
59
|
name: this.moduleId,
|
|
60
60
|
scrolling: "no",
|
|
@@ -77,11 +77,11 @@ const o = e(class extends t {
|
|
|
77
77
|
value: e.value,
|
|
78
78
|
name: e.key
|
|
79
79
|
})))) : ""), n("div", {
|
|
80
|
-
key: "
|
|
80
|
+
key: "1016d617dc6cf49aa8e4bf52010e3cf246191875",
|
|
81
81
|
class: "slot-wrapper",
|
|
82
82
|
hidden: this.selected && void 0 !== this.provided && !this.provided
|
|
83
83
|
}, n("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "466d820db179e1b6e350722eff9ec9190be6c869"
|
|
85
85
|
})));
|
|
86
86
|
}
|
|
87
87
|
get hostElement() {
|
|
@@ -145,11 +145,11 @@ const o = e(class extends t {
|
|
|
145
145
|
} ]
|
|
146
146
|
} ]);
|
|
147
147
|
|
|
148
|
-
const
|
|
148
|
+
const o = a, defineCustomElement = function() {
|
|
149
149
|
if ("undefined" == typeof customElements) return;
|
|
150
150
|
[ "tecton-tab-pane" ].forEach((e => {
|
|
151
|
-
if ("tecton-tab-pane" === e) customElements.get(s(e)) || customElements.define(s(e),
|
|
151
|
+
if ("tecton-tab-pane" === e) customElements.get(s(e)) || customElements.define(s(e), a);
|
|
152
152
|
}));
|
|
153
153
|
};
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { o as TectonTabPane, defineCustomElement }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-Cqkz7Bnm.js';
|
|
2
2
|
import { m as mirrorEmit } from './mirror-emit-DUjY_ucm.js';
|
|
3
3
|
import { b as hasValidAncestor } from './component-DaQM9u3s.js';
|
|
4
|
-
import { l as loc, n as nextPaint, o as overrideFocus, i as isEventFromElement, w as waitForNextPaint, v as isVisible, q as handleDeprecationWarning, x as isInFixedPositionContext, y as isInScrollableContainer, g as isMobile } from './index-
|
|
4
|
+
import { l as loc, n as nextPaint, o as overrideFocus, i as isEventFromElement, w as waitForNextPaint, v as isVisible, q as handleDeprecationWarning, x as isInFixedPositionContext, y as isInScrollableContainer, g as isMobile } from './index-Cps4jSQM.js';
|
|
5
5
|
|
|
6
6
|
const ClickElsewhere = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -693,7 +693,7 @@ const Q2OptionList = class {
|
|
|
693
693
|
};
|
|
694
694
|
Q2OptionList.style = q2OptionListCss();
|
|
695
695
|
|
|
696
|
-
const q2PopoverCss = () => `*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color,
|
|
696
|
+
const q2PopoverCss = () => `*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}@media (prefers-reduced-motion: reduce){:popover-open.animating-open,:popover-open.animating-close,.show.animating-open,.show.animating-close{animation:none}}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:unset;bottom:var(--comp-pop-bottom)}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}`;
|
|
697
697
|
|
|
698
698
|
const Q2Popover = class {
|
|
699
699
|
constructor(hostRef) {
|
|
@@ -99,14 +99,14 @@ function isVisible(element) {
|
|
|
99
99
|
function waitForNextPaint() {
|
|
100
100
|
return new Promise(resolve => nextPaint(resolve));
|
|
101
101
|
}
|
|
102
|
-
function loc(key, subs) {
|
|
102
|
+
function loc(key, subs, options) {
|
|
103
103
|
var _a, _b, _c;
|
|
104
104
|
if (!key)
|
|
105
105
|
return '';
|
|
106
106
|
if (((_a = window.Tecton) === null || _a === void 0 ? void 0 : _a.noStrings) === true) {
|
|
107
107
|
return key;
|
|
108
108
|
}
|
|
109
|
-
return (_c = (_b = window === null || window === void 0 ? void 0 : window.TectonElements) === null || _b === void 0 ? void 0 : _b.loc(key, subs)) !== null && _c !== void 0 ? _c : key;
|
|
109
|
+
return (_c = (_b = window === null || window === void 0 ? void 0 : window.TectonElements) === null || _b === void 0 ? void 0 : _b.loc(key, subs, options)) !== null && _c !== void 0 ? _c : key;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* Returns browser name, version, platform, and context (browser vs app WebView).
|