@esri/calcite-components 1.0.0-next.362 → 1.0.0-next.366
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/calcite/calcite.esm.js +1 -1
- package/dist/calcite/p-0282fd8b.system.entry.js +5 -0
- package/dist/calcite/p-050ff462.entry.js +5 -0
- package/dist/calcite/p-05b03971.system.entry.js +5 -0
- package/dist/calcite/p-08847812.entry.js +5 -0
- package/dist/calcite/p-1bcce6c9.entry.js +5 -0
- package/dist/calcite/p-1ef9235e.system.entry.js +5 -0
- package/dist/calcite/p-25ed6059.entry.js +5 -0
- package/dist/calcite/p-26fd946c.entry.js +5 -0
- package/dist/calcite/{p-0b0ce9b2.system.entry.js → p-3280f0ac.system.entry.js} +1 -1
- package/dist/calcite/p-409d0a3f.entry.js +5 -0
- package/dist/calcite/p-40cbbd20.entry.js +5 -0
- package/dist/calcite/p-4347fde9.system.entry.js +5 -0
- package/dist/calcite/p-43cd4b9b.entry.js +5 -0
- package/dist/calcite/p-55e2658e.entry.js +5 -0
- package/dist/calcite/p-5682a918.entry.js +5 -0
- package/dist/calcite/p-597b782e.system.entry.js +5 -0
- package/dist/calcite/p-60e4f404.entry.js +5 -0
- package/dist/calcite/p-660c8077.js +5 -0
- package/dist/calcite/p-7279ccf9.entry.js +5 -0
- package/dist/calcite/p-7ed5b78e.system.entry.js +5 -0
- package/dist/calcite/p-832d7f68.system.entry.js +5 -0
- package/dist/calcite/p-888a152c.system.entry.js +5 -0
- package/dist/calcite/p-946c3bed.system.entry.js +5 -0
- package/dist/calcite/p-94717214.entry.js +5 -0
- package/dist/calcite/p-953259af.entry.js +5 -0
- package/dist/calcite/p-99d32fc3.system.js +1 -1
- package/dist/calcite/p-9b723fdd.system.entry.js +5 -0
- package/dist/calcite/p-9bfe6679.system.entry.js +5 -0
- package/dist/calcite/p-9f349c92.entry.js +5 -0
- package/dist/calcite/p-9fe77a88.system.entry.js +5 -0
- package/dist/calcite/p-a52288cd.system.entry.js +5 -0
- package/dist/calcite/p-a71d17b4.entry.js +5 -0
- package/dist/calcite/p-aea7c650.system.entry.js +5 -0
- package/dist/calcite/p-af7ed41f.system.entry.js +5 -0
- package/dist/calcite/p-b14e0be5.system.entry.js +5 -0
- package/dist/calcite/p-b53b28e3.system.js +5 -0
- package/dist/calcite/p-b88d7391.entry.js +5 -0
- package/dist/calcite/p-ba000c59.entry.js +5 -0
- package/dist/calcite/p-ba915998.entry.js +5 -0
- package/dist/calcite/p-cf2be87e.entry.js +5 -0
- package/dist/calcite/p-dd4457cd.entry.js +5 -0
- package/dist/calcite/p-eff2fb8c.system.entry.js +5 -0
- package/dist/calcite/p-f4614b28.system.entry.js +5 -0
- package/dist/calcite/{p-8b145872.system.entry.js → p-f94619be.system.entry.js} +1 -1
- package/dist/calcite/p-fd57beb5.system.entry.js +5 -0
- package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -24
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -0
- package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +8 -0
- package/dist/cjs/calcite-alert.cjs.entry.js +15 -9
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -11
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input.cjs.entry.js +3 -0
- package/dist/cjs/calcite-list_3.cjs.entry.js +13 -0
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -0
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -12
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +23 -0
- package/dist/cjs/calcite-shell_3.cjs.entry.js +35 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +13 -0
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -1
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -0
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -0
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/conditionalSlot-e874fbb0.js +43 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +3 -0
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +7 -0
- package/dist/collection/components/calcite-alert/calcite-alert.js +15 -9
- package/dist/collection/components/calcite-block/calcite-block.js +13 -1
- package/dist/collection/components/calcite-chip/calcite-chip.js +13 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +42 -13
- package/dist/collection/components/calcite-combobox/resources.js +3 -0
- package/dist/collection/components/calcite-graph/calcite-graph.css +3 -5
- package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
- package/dist/collection/components/calcite-input/calcite-input.js +3 -0
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
- package/dist/collection/components/calcite-modal/calcite-modal.js +5 -2
- package/dist/collection/components/calcite-notice/calcite-notice.js +7 -0
- package/dist/collection/components/calcite-panel/calcite-panel.js +19 -14
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +12 -0
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +12 -0
- package/dist/collection/components/calcite-shell/calcite-shell.js +14 -2
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +13 -1
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +9 -4
- package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
- package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
- package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +5 -0
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
- package/dist/collection/utils/conditionalSlot.js +22 -11
- package/dist/components/calcite-action-bar.js +2 -23
- package/dist/components/calcite-action-group2.js +12 -0
- package/dist/components/calcite-action-menu2.js +3 -0
- package/dist/components/calcite-action-pad.js +7 -0
- package/dist/components/calcite-alert.js +15 -9
- package/dist/components/calcite-block.js +13 -1
- package/dist/components/calcite-chip2.js +13 -1
- package/dist/components/calcite-combobox.js +21 -12
- package/dist/components/calcite-graph2.js +14 -9
- package/dist/components/calcite-inline-editable.js +5 -5
- package/dist/components/calcite-input2.js +3 -0
- package/dist/components/calcite-list-item.js +12 -0
- package/dist/components/calcite-modal.js +5 -2
- package/dist/components/calcite-notice.js +7 -0
- package/dist/components/calcite-panel.js +17 -12
- package/dist/components/calcite-pick-list-group.js +12 -0
- package/dist/components/calcite-pick-list-item2.js +12 -0
- package/dist/components/calcite-shell-center-row.js +13 -1
- package/dist/components/calcite-shell-panel.js +9 -4
- package/dist/components/calcite-shell.js +14 -2
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-tile2.js +12 -0
- package/dist/components/calcite-tip.js +13 -1
- package/dist/components/calcite-tree-item.js +5 -0
- package/dist/components/calcite-value-list-item.js +12 -0
- package/dist/components/conditionalSlot.js +40 -0
- package/dist/components/utils2.js +4 -1
- package/dist/custom-elements/index.js +306 -121
- package/dist/esm/calcite-action-bar.entry.js +2 -23
- package/dist/esm/calcite-action-group.entry.js +13 -0
- package/dist/esm/calcite-action-menu.entry.js +3 -0
- package/dist/esm/calcite-action-pad.entry.js +8 -0
- package/dist/esm/calcite-alert.entry.js +15 -9
- package/dist/esm/calcite-block_2.entry.js +14 -1
- package/dist/esm/calcite-chip.entry.js +14 -1
- package/dist/esm/calcite-combobox_3.entry.js +22 -11
- package/dist/esm/calcite-graph_2.entry.js +16 -9
- package/dist/esm/calcite-inline-editable.entry.js +5 -5
- package/dist/esm/calcite-input.entry.js +3 -0
- package/dist/esm/calcite-list_3.entry.js +13 -0
- package/dist/esm/calcite-modal.entry.js +5 -2
- package/dist/esm/calcite-notice.entry.js +8 -0
- package/dist/esm/calcite-panel.entry.js +18 -12
- package/dist/esm/calcite-pick-list_3.entry.js +23 -0
- package/dist/esm/calcite-shell_3.entry.js +35 -7
- package/dist/esm/calcite-tile.entry.js +13 -0
- package/dist/esm/calcite-tip_3.entry.js +13 -1
- package/dist/esm/calcite-tree_2.entry.js +6 -0
- package/dist/esm/calcite-value-list_2.entry.js +12 -0
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/conditionalSlot-0c4ea23a.js +40 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/conditionalSlot-0c4ea23a.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/extras/docs-json.json +43 -36
- package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +4 -1
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +2 -1
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +4 -1
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +4 -1
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +4 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
- package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -1
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +4 -1
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +5 -6
- package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +4 -1
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +4 -1
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +4 -1
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +4 -1
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +3 -1
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +4 -1
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +4 -1
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +4 -1
- package/dist/types/components.d.ts +18 -16
- package/dist/types/preact.d.ts +3 -3
- package/hydrate/index.js +305 -121
- package/package.json +11 -11
- package/dist/calcite/p-0af820bf.entry.js +0 -5
- package/dist/calcite/p-0cf878ed.system.entry.js +0 -5
- package/dist/calcite/p-1a5dae4a.entry.js +0 -5
- package/dist/calcite/p-1b3a66ec.system.entry.js +0 -5
- package/dist/calcite/p-1d7a9909.system.entry.js +0 -5
- package/dist/calcite/p-253efee4.entry.js +0 -5
- package/dist/calcite/p-2618de8a.entry.js +0 -5
- package/dist/calcite/p-273cd5ab.entry.js +0 -5
- package/dist/calcite/p-28adfebc.entry.js +0 -5
- package/dist/calcite/p-2a8938c7.system.entry.js +0 -5
- package/dist/calcite/p-2c954eaa.system.entry.js +0 -5
- package/dist/calcite/p-325fcd0d.entry.js +0 -5
- package/dist/calcite/p-37bddb73.system.entry.js +0 -5
- package/dist/calcite/p-3ab992ff.system.entry.js +0 -5
- package/dist/calcite/p-3b73b785.system.entry.js +0 -5
- package/dist/calcite/p-3b8f5ab8.system.entry.js +0 -5
- package/dist/calcite/p-4659df78.entry.js +0 -5
- package/dist/calcite/p-54e271c9.system.entry.js +0 -5
- package/dist/calcite/p-5df1936f.entry.js +0 -5
- package/dist/calcite/p-698167ac.entry.js +0 -5
- package/dist/calcite/p-7d355abe.system.entry.js +0 -5
- package/dist/calcite/p-85fb7bc0.entry.js +0 -5
- package/dist/calcite/p-8d36bc7c.entry.js +0 -5
- package/dist/calcite/p-8eafaf3f.entry.js +0 -5
- package/dist/calcite/p-9d81d229.entry.js +0 -5
- package/dist/calcite/p-a0043c61.entry.js +0 -5
- package/dist/calcite/p-a1f65f6e.entry.js +0 -5
- package/dist/calcite/p-a4dec1f6.system.entry.js +0 -5
- package/dist/calcite/p-a9c50960.system.entry.js +0 -5
- package/dist/calcite/p-aaed1677.entry.js +0 -5
- package/dist/calcite/p-ac778725.system.entry.js +0 -5
- package/dist/calcite/p-ac8cf248.entry.js +0 -5
- package/dist/calcite/p-b4d3f1c1.entry.js +0 -5
- package/dist/calcite/p-c0ed9eff.entry.js +0 -5
- package/dist/calcite/p-cb9cd28c.system.entry.js +0 -5
- package/dist/calcite/p-d578e568.system.entry.js +0 -5
- package/dist/calcite/p-e2ebc089.system.entry.js +0 -5
- package/dist/calcite/p-e564004a.system.entry.js +0 -5
- package/dist/calcite/p-f6fc151d.system.entry.js +0 -5
- package/dist/calcite/p-f73124d0.entry.js +0 -5
|
@@ -152,7 +152,7 @@ const CSS_UTILITY = {
|
|
|
152
152
|
lightTheme,
|
|
153
153
|
rtl: "calcite--rtl"
|
|
154
154
|
};
|
|
155
|
-
const TEXT$
|
|
155
|
+
const TEXT$r = {
|
|
156
156
|
loading: "Loading"
|
|
157
157
|
};
|
|
158
158
|
|
|
@@ -463,7 +463,7 @@ const CSS$P = {
|
|
|
463
463
|
textContainer: "text-container",
|
|
464
464
|
textContainerVisible: "text-container--visible"
|
|
465
465
|
};
|
|
466
|
-
const TEXT$
|
|
466
|
+
const TEXT$q = {
|
|
467
467
|
loading: "Loading"
|
|
468
468
|
};
|
|
469
469
|
|
|
@@ -516,7 +516,7 @@ let CalciteAction$1 = class extends HTMLElement$1 {
|
|
|
516
516
|
/** string to override English loading text
|
|
517
517
|
* @default "Loading"
|
|
518
518
|
*/
|
|
519
|
-
this.intlLoading = TEXT$
|
|
519
|
+
this.intlLoading = TEXT$q.loading;
|
|
520
520
|
/**
|
|
521
521
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
522
522
|
*/
|
|
@@ -620,7 +620,7 @@ const SLOTS$o = {
|
|
|
620
620
|
menuActions: "menu-actions",
|
|
621
621
|
menuTooltip: "menu-tooltip"
|
|
622
622
|
};
|
|
623
|
-
const TEXT$
|
|
623
|
+
const TEXT$p = {
|
|
624
624
|
more: "More"
|
|
625
625
|
};
|
|
626
626
|
const ICONS$e = {
|
|
@@ -711,7 +711,7 @@ const SLOTS$n = {
|
|
|
711
711
|
bottomActions: "bottom-actions",
|
|
712
712
|
expandTooltip: "expand-tooltip"
|
|
713
713
|
};
|
|
714
|
-
const TEXT$
|
|
714
|
+
const TEXT$o = {
|
|
715
715
|
expand: "Expand",
|
|
716
716
|
collapse: "Collapse"
|
|
717
717
|
};
|
|
@@ -1979,26 +1979,36 @@ function throttle$1(func, wait, options) {
|
|
|
1979
1979
|
});
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
const
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
}
|
|
1986
|
-
const eventType = "slotchange";
|
|
1982
|
+
const observed = new Set();
|
|
1983
|
+
let mutationObserver;
|
|
1984
|
+
const observerOptions = { childList: true };
|
|
1987
1985
|
/**
|
|
1988
1986
|
* Helper to set up a conditional slot component on connectedCallback.
|
|
1989
1987
|
*/
|
|
1990
1988
|
function connectConditionalSlotComponent(component) {
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1989
|
+
if (!mutationObserver) {
|
|
1990
|
+
mutationObserver = createObserver("mutation", processMutations);
|
|
1991
|
+
}
|
|
1992
|
+
mutationObserver.observe(component.el, observerOptions);
|
|
1994
1993
|
}
|
|
1995
1994
|
/**
|
|
1996
1995
|
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
1997
1996
|
*/
|
|
1998
1997
|
function disconnectConditionalSlotComponent(component) {
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
1998
|
+
observed.delete(component.el);
|
|
1999
|
+
// we explicitly process queued mutations and disconnect and reconnect
|
|
2000
|
+
// the observer until MutationObserver gets an `unobserve` method
|
|
2001
|
+
// see https://github.com/whatwg/dom/issues/126
|
|
2002
|
+
processMutations(mutationObserver.takeRecords());
|
|
2003
|
+
mutationObserver.disconnect();
|
|
2004
|
+
for (const [element] of observed.entries()) {
|
|
2005
|
+
mutationObserver.observe(element, observerOptions);
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
function processMutations(mutations) {
|
|
2009
|
+
mutations.forEach(({ target }) => {
|
|
2010
|
+
forceUpdate(target);
|
|
2011
|
+
});
|
|
2002
2012
|
}
|
|
2003
2013
|
|
|
2004
2014
|
const calciteActionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";
|
|
@@ -2162,8 +2172,8 @@ let CalciteActionBar$1 = class extends HTMLElement$1 {
|
|
|
2162
2172
|
renderBottomActionGroup() {
|
|
2163
2173
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
2164
2174
|
const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
|
|
2165
|
-
const expandLabel = intlExpand || TEXT$
|
|
2166
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
2175
|
+
const expandLabel = intlExpand || TEXT$o.expand;
|
|
2176
|
+
const collapseLabel = intlCollapse || TEXT$o.collapse;
|
|
2167
2177
|
const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2168
2178
|
return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$n.bottomActions }), h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
2169
2179
|
}
|
|
@@ -2217,6 +2227,17 @@ let CalciteActionGroup$1 = class extends HTMLElement$1 {
|
|
|
2217
2227
|
}
|
|
2218
2228
|
// --------------------------------------------------------------------------
|
|
2219
2229
|
//
|
|
2230
|
+
// Lifecycle
|
|
2231
|
+
//
|
|
2232
|
+
// --------------------------------------------------------------------------
|
|
2233
|
+
connectedCallback() {
|
|
2234
|
+
connectConditionalSlotComponent(this);
|
|
2235
|
+
}
|
|
2236
|
+
disconnectedCallback() {
|
|
2237
|
+
disconnectConditionalSlotComponent(this);
|
|
2238
|
+
}
|
|
2239
|
+
// --------------------------------------------------------------------------
|
|
2240
|
+
//
|
|
2220
2241
|
// Component Methods
|
|
2221
2242
|
//
|
|
2222
2243
|
// --------------------------------------------------------------------------
|
|
@@ -2228,7 +2249,7 @@ let CalciteActionGroup$1 = class extends HTMLElement$1 {
|
|
|
2228
2249
|
renderMenu() {
|
|
2229
2250
|
const { el, expanded, intlMore, menuOpen, scale } = this;
|
|
2230
2251
|
const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
|
|
2231
|
-
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$
|
|
2252
|
+
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$p.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$p.more, textEnabled: expanded }), h("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
|
|
2232
2253
|
}
|
|
2233
2254
|
render() {
|
|
2234
2255
|
return (h(Fragment, null, h("slot", null), this.renderMenu()));
|
|
@@ -2456,11 +2477,13 @@ let CalciteActionMenu$1 = class extends HTMLElement$1 {
|
|
|
2456
2477
|
var _a;
|
|
2457
2478
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
2458
2479
|
this.getActions();
|
|
2480
|
+
connectConditionalSlotComponent(this);
|
|
2459
2481
|
}
|
|
2460
2482
|
disconnectedCallback() {
|
|
2461
2483
|
var _a;
|
|
2462
2484
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
2463
2485
|
this.disconnectMenuButtonEl();
|
|
2486
|
+
disconnectConditionalSlotComponent(this);
|
|
2464
2487
|
}
|
|
2465
2488
|
expandedHandler() {
|
|
2466
2489
|
this.open = false;
|
|
@@ -2527,7 +2550,7 @@ const CSS$M = {
|
|
|
2527
2550
|
actionGroupBottom: "action-group--bottom",
|
|
2528
2551
|
container: "container"
|
|
2529
2552
|
};
|
|
2530
|
-
const TEXT$
|
|
2553
|
+
const TEXT$n = {
|
|
2531
2554
|
expand: "Expand",
|
|
2532
2555
|
collapse: "Collapse"
|
|
2533
2556
|
};
|
|
@@ -2598,6 +2621,12 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
|
|
|
2598
2621
|
// Lifecycle
|
|
2599
2622
|
//
|
|
2600
2623
|
// --------------------------------------------------------------------------
|
|
2624
|
+
connectedCallback() {
|
|
2625
|
+
connectConditionalSlotComponent(this);
|
|
2626
|
+
}
|
|
2627
|
+
disconnectedCallback() {
|
|
2628
|
+
disconnectConditionalSlotComponent(this);
|
|
2629
|
+
}
|
|
2601
2630
|
componentWillLoad() {
|
|
2602
2631
|
const { el, expandDisabled, expanded } = this;
|
|
2603
2632
|
if (!expandDisabled) {
|
|
@@ -2625,8 +2654,8 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
|
|
|
2625
2654
|
renderBottomActionGroup() {
|
|
2626
2655
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
2627
2656
|
const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
|
|
2628
|
-
const expandLabel = intlExpand || TEXT$
|
|
2629
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
2657
|
+
const expandLabel = intlExpand || TEXT$n.expand;
|
|
2658
|
+
const collapseLabel = intlCollapse || TEXT$n.collapse;
|
|
2630
2659
|
const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2631
2660
|
return expandToggleNode ? (h("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
|
|
2632
2661
|
}
|
|
@@ -2641,7 +2670,7 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
|
|
|
2641
2670
|
static get style() { return calciteActionPadCss; }
|
|
2642
2671
|
};
|
|
2643
2672
|
|
|
2644
|
-
const TEXT$
|
|
2673
|
+
const TEXT$m = {
|
|
2645
2674
|
intlClose: "Close"
|
|
2646
2675
|
};
|
|
2647
2676
|
const DURATIONS = {
|
|
@@ -2690,7 +2719,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2690
2719
|
/** string to override English close text
|
|
2691
2720
|
* @default "Close"
|
|
2692
2721
|
*/
|
|
2693
|
-
this.intlClose = TEXT$
|
|
2722
|
+
this.intlClose = TEXT$m.intlClose;
|
|
2694
2723
|
/** specify the placement of the alert */
|
|
2695
2724
|
this.placement = "bottom";
|
|
2696
2725
|
/** specify the scale of the alert, defaults to m */
|
|
@@ -2708,6 +2737,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2708
2737
|
this.queued = false;
|
|
2709
2738
|
this.autoDismissTimeoutId = null;
|
|
2710
2739
|
this.trackTimer = Date.now();
|
|
2740
|
+
this.activeTransitionProp = "opacity";
|
|
2711
2741
|
/** close and emit the closed alert and the queue */
|
|
2712
2742
|
this.closeAlert = () => {
|
|
2713
2743
|
this.autoDismissTimeoutId = null;
|
|
@@ -2716,10 +2746,19 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2716
2746
|
this.queue = this.queue.filter((e) => e !== this.el);
|
|
2717
2747
|
this.determineActiveAlert();
|
|
2718
2748
|
this.calciteAlertSync.emit({ queue: this.queue });
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2749
|
+
};
|
|
2750
|
+
this.transitionEnd = (event) => {
|
|
2751
|
+
if (event.propertyName === this.activeTransitionProp) {
|
|
2752
|
+
this.active
|
|
2753
|
+
? this.calciteAlertOpen.emit({
|
|
2754
|
+
el: this.el,
|
|
2755
|
+
queue: this.queue
|
|
2756
|
+
})
|
|
2757
|
+
: this.calciteAlertClose.emit({
|
|
2758
|
+
el: this.el,
|
|
2759
|
+
queue: this.queue
|
|
2760
|
+
});
|
|
2761
|
+
}
|
|
2723
2762
|
};
|
|
2724
2763
|
}
|
|
2725
2764
|
watchActive() {
|
|
@@ -2770,7 +2809,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2770
2809
|
container: true,
|
|
2771
2810
|
queued,
|
|
2772
2811
|
[placement]: true
|
|
2773
|
-
} }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
2812
|
+
}, onTransitionEnd: this.transitionEnd }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
2774
2813
|
}
|
|
2775
2814
|
// when an alert is opened or closed, update queue and determine active alert
|
|
2776
2815
|
alertSync(event) {
|
|
@@ -2829,10 +2868,6 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2829
2868
|
openAlert() {
|
|
2830
2869
|
window.clearTimeout(this.queueTimeout);
|
|
2831
2870
|
this.queueTimeout = window.setTimeout(() => (this.queued = false), 300);
|
|
2832
|
-
this.calciteAlertOpen.emit({
|
|
2833
|
-
el: this.el,
|
|
2834
|
-
queue: this.queue
|
|
2835
|
-
});
|
|
2836
2871
|
}
|
|
2837
2872
|
get el() { return this; }
|
|
2838
2873
|
static get watchers() { return {
|
|
@@ -3103,7 +3138,7 @@ const CSS$L = {
|
|
|
3103
3138
|
invalid: "invalid",
|
|
3104
3139
|
loading: "loading"
|
|
3105
3140
|
};
|
|
3106
|
-
const TEXT$
|
|
3141
|
+
const TEXT$l = {
|
|
3107
3142
|
collapse: "Collapse",
|
|
3108
3143
|
expand: "Expand",
|
|
3109
3144
|
loading: "Loading",
|
|
@@ -3160,11 +3195,11 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
|
|
|
3160
3195
|
/** string to override English loading text
|
|
3161
3196
|
* @default "Loading"
|
|
3162
3197
|
*/
|
|
3163
|
-
this.intlLoading = TEXT$
|
|
3198
|
+
this.intlLoading = TEXT$l.loading;
|
|
3164
3199
|
/** Text string used for the actions menu
|
|
3165
3200
|
* @default "Options"
|
|
3166
3201
|
*/
|
|
3167
|
-
this.intlOptions = TEXT$
|
|
3202
|
+
this.intlOptions = TEXT$l.options;
|
|
3168
3203
|
/**
|
|
3169
3204
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
3170
3205
|
*/
|
|
@@ -3185,6 +3220,17 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
|
|
|
3185
3220
|
}
|
|
3186
3221
|
// --------------------------------------------------------------------------
|
|
3187
3222
|
//
|
|
3223
|
+
// Lifecycle
|
|
3224
|
+
//
|
|
3225
|
+
// --------------------------------------------------------------------------
|
|
3226
|
+
connectedCallback() {
|
|
3227
|
+
connectConditionalSlotComponent(this);
|
|
3228
|
+
}
|
|
3229
|
+
disconnectedCallback() {
|
|
3230
|
+
disconnectConditionalSlotComponent(this);
|
|
3231
|
+
}
|
|
3232
|
+
// --------------------------------------------------------------------------
|
|
3233
|
+
//
|
|
3188
3234
|
// Render Methods
|
|
3189
3235
|
//
|
|
3190
3236
|
// --------------------------------------------------------------------------
|
|
@@ -3198,7 +3244,7 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
|
|
|
3198
3244
|
const showingLoadingStatus = this.loading && !this.open;
|
|
3199
3245
|
const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
|
|
3200
3246
|
const hasIcon = getSlotted(el, SLOTS$k.icon) || statusIcon;
|
|
3201
|
-
const iconEl = !statusIcon ? (h("slot", { name: SLOTS$k.icon })) : (h("calcite-icon", { class: {
|
|
3247
|
+
const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$k.icon })) : (h("calcite-icon", { class: {
|
|
3202
3248
|
[CSS$L.statusIcon]: true,
|
|
3203
3249
|
[CSS$L.valid]: status == "valid",
|
|
3204
3250
|
[CSS$L.invalid]: status == "invalid",
|
|
@@ -3212,12 +3258,12 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
|
|
|
3212
3258
|
}
|
|
3213
3259
|
render() {
|
|
3214
3260
|
const { collapsible, disabled, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
3215
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
3261
|
+
const toggleLabel = open ? intlCollapse || TEXT$l.collapse : intlExpand || TEXT$l.expand;
|
|
3216
3262
|
const headerContent = (h("header", { class: CSS$L.header }, this.renderIcon(), this.renderTitle()));
|
|
3217
3263
|
const hasControl = !!getSlotted(el, SLOTS$k.control);
|
|
3218
3264
|
const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
|
|
3219
3265
|
const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
|
|
3220
|
-
const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$L.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$L.controlContainer }, h("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$
|
|
3266
|
+
const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$L.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$L.controlContainer }, h("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$l.options }, h("slot", { name: SLOTS$k.headerMenuActions }))) : null));
|
|
3221
3267
|
return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-busy": loading.toString(), class: {
|
|
3222
3268
|
[CSS$L.article]: true
|
|
3223
3269
|
} }, headerNode, h("div", { class: CSS$L.content, hidden: !open }, this.renderScrim()))));
|
|
@@ -3238,7 +3284,7 @@ const CSS$K = {
|
|
|
3238
3284
|
statusIcon: "status-icon",
|
|
3239
3285
|
valid: "valid"
|
|
3240
3286
|
};
|
|
3241
|
-
const TEXT$
|
|
3287
|
+
const TEXT$k = {
|
|
3242
3288
|
collapse: "Collapse",
|
|
3243
3289
|
expand: "Expand"
|
|
3244
3290
|
};
|
|
@@ -3309,7 +3355,7 @@ let CalciteBlockSection$1 = class extends HTMLElement$1 {
|
|
|
3309
3355
|
: dir === "rtl"
|
|
3310
3356
|
? ICONS$b.menuClosedLeft
|
|
3311
3357
|
: ICONS$b.menuClosedRight;
|
|
3312
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
3358
|
+
const toggleLabel = open ? intlCollapse || TEXT$k.collapse : intlExpand || TEXT$k.expand;
|
|
3313
3359
|
const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-label": toggleLabel, class: {
|
|
3314
3360
|
[CSS$K.toggle]: true,
|
|
3315
3361
|
[CSS$K.toggleSwitch]: true
|
|
@@ -3363,7 +3409,7 @@ const CSS$J = {
|
|
|
3363
3409
|
iconStartEmpty: "icon-start-empty",
|
|
3364
3410
|
iconEndEmpty: "icon-end-empty"
|
|
3365
3411
|
};
|
|
3366
|
-
const TEXT$
|
|
3412
|
+
const TEXT$j = {
|
|
3367
3413
|
loading: "Loading"
|
|
3368
3414
|
};
|
|
3369
3415
|
|
|
@@ -3469,7 +3515,7 @@ let CalciteButton$1 = class extends HTMLElement$1 {
|
|
|
3469
3515
|
/** string to override English loading text
|
|
3470
3516
|
* @default "Loading"
|
|
3471
3517
|
*/
|
|
3472
|
-
this.intlLoading = TEXT$
|
|
3518
|
+
this.intlLoading = TEXT$j.loading;
|
|
3473
3519
|
/** optionally add a calcite-loader component to the button, disabling interaction. */
|
|
3474
3520
|
this.loading = false;
|
|
3475
3521
|
/** optionally add a round style to the button */
|
|
@@ -3607,7 +3653,7 @@ const SLOTS$j = {
|
|
|
3607
3653
|
footerLeading: "footer-leading",
|
|
3608
3654
|
footerTrailing: "footer-trailing"
|
|
3609
3655
|
};
|
|
3610
|
-
const TEXT$
|
|
3656
|
+
const TEXT$i = {
|
|
3611
3657
|
select: "Select",
|
|
3612
3658
|
deselect: "Deselect",
|
|
3613
3659
|
loading: "Loading"
|
|
@@ -3635,15 +3681,15 @@ let CalciteCard$1 = class extends HTMLElement$1 {
|
|
|
3635
3681
|
/** string to override English loading text
|
|
3636
3682
|
* @default "Loading"
|
|
3637
3683
|
*/
|
|
3638
|
-
this.intlLoading = TEXT$
|
|
3684
|
+
this.intlLoading = TEXT$i.loading;
|
|
3639
3685
|
/** string to override English select text for checkbox when selectable is true
|
|
3640
3686
|
* @default "Select"
|
|
3641
3687
|
*/
|
|
3642
|
-
this.intlSelect = TEXT$
|
|
3688
|
+
this.intlSelect = TEXT$i.select;
|
|
3643
3689
|
/** string to override English deselect text for checkbox when selectable is true
|
|
3644
3690
|
* @default "Deselect"
|
|
3645
3691
|
*/
|
|
3646
|
-
this.intlDeselect = TEXT$
|
|
3692
|
+
this.intlDeselect = TEXT$i.deselect;
|
|
3647
3693
|
//--------------------------------------------------------------------------
|
|
3648
3694
|
//
|
|
3649
3695
|
// Private State/Props
|
|
@@ -3994,7 +4040,7 @@ const CSS$H = {
|
|
|
3994
4040
|
chipImageContainer: "chip-image-container",
|
|
3995
4041
|
calciteChipIcon: "calcite-chip--icon"
|
|
3996
4042
|
};
|
|
3997
|
-
const TEXT$
|
|
4043
|
+
const TEXT$h = {
|
|
3998
4044
|
close: "Close"
|
|
3999
4045
|
};
|
|
4000
4046
|
const SLOTS$i = {
|
|
@@ -4026,7 +4072,7 @@ let CalciteChip$1 = class extends HTMLElement$1 {
|
|
|
4026
4072
|
/** Aria label for the "x" button
|
|
4027
4073
|
* @default "Close"
|
|
4028
4074
|
*/
|
|
4029
|
-
this.dismissLabel = TEXT$
|
|
4075
|
+
this.dismissLabel = TEXT$h.close;
|
|
4030
4076
|
/** flip the icon in rtl */
|
|
4031
4077
|
this.iconFlipRtl = false;
|
|
4032
4078
|
/** specify the scale of the chip, defaults to m */
|
|
@@ -4042,6 +4088,17 @@ let CalciteChip$1 = class extends HTMLElement$1 {
|
|
|
4042
4088
|
};
|
|
4043
4089
|
this.guid = guid();
|
|
4044
4090
|
}
|
|
4091
|
+
// --------------------------------------------------------------------------
|
|
4092
|
+
//
|
|
4093
|
+
// Lifecycle
|
|
4094
|
+
//
|
|
4095
|
+
// --------------------------------------------------------------------------
|
|
4096
|
+
connectedCallback() {
|
|
4097
|
+
connectConditionalSlotComponent(this);
|
|
4098
|
+
}
|
|
4099
|
+
disconnectedCallback() {
|
|
4100
|
+
disconnectConditionalSlotComponent(this);
|
|
4101
|
+
}
|
|
4045
4102
|
//--------------------------------------------------------------------------
|
|
4046
4103
|
//
|
|
4047
4104
|
// Public Methods
|
|
@@ -4060,7 +4117,7 @@ let CalciteChip$1 = class extends HTMLElement$1 {
|
|
|
4060
4117
|
renderChipImage() {
|
|
4061
4118
|
const { el } = this;
|
|
4062
4119
|
const hasChipImage = getSlotted(el, SLOTS$i.image);
|
|
4063
|
-
return hasChipImage ? (h("div", { class: CSS$H.chipImageContainer }, h("slot", { name: SLOTS$i.image }))) : null;
|
|
4120
|
+
return hasChipImage ? (h("div", { class: CSS$H.chipImageContainer, key: "image" }, h("slot", { name: SLOTS$i.image }))) : null;
|
|
4064
4121
|
}
|
|
4065
4122
|
render() {
|
|
4066
4123
|
const iconEl = (h("calcite-icon", { class: CSS$H.calciteChipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
@@ -6228,7 +6285,7 @@ const HSV_LIMITS = {
|
|
|
6228
6285
|
s: 100,
|
|
6229
6286
|
v: 100
|
|
6230
6287
|
};
|
|
6231
|
-
const TEXT$
|
|
6288
|
+
const TEXT$g = {
|
|
6232
6289
|
b: "B",
|
|
6233
6290
|
blue: "Blue",
|
|
6234
6291
|
deleteColor: "Delete color",
|
|
@@ -6351,80 +6408,80 @@ let CalciteColorPicker$1 = class extends HTMLElement$1 {
|
|
|
6351
6408
|
/** Label used for the blue channel
|
|
6352
6409
|
* @default "B"
|
|
6353
6410
|
*/
|
|
6354
|
-
this.intlB = TEXT$
|
|
6411
|
+
this.intlB = TEXT$g.b;
|
|
6355
6412
|
/** Label used for the blue channel description
|
|
6356
6413
|
* @default "Blue"
|
|
6357
6414
|
*/
|
|
6358
|
-
this.intlBlue = TEXT$
|
|
6415
|
+
this.intlBlue = TEXT$g.blue;
|
|
6359
6416
|
/** Label used for the delete color button.
|
|
6360
6417
|
* @default "Delete color"
|
|
6361
6418
|
*/
|
|
6362
|
-
this.intlDeleteColor = TEXT$
|
|
6419
|
+
this.intlDeleteColor = TEXT$g.deleteColor;
|
|
6363
6420
|
/** Label used for the green channel
|
|
6364
6421
|
* @default "G"
|
|
6365
6422
|
*/
|
|
6366
|
-
this.intlG = TEXT$
|
|
6423
|
+
this.intlG = TEXT$g.g;
|
|
6367
6424
|
/** Label used for the green channel description
|
|
6368
6425
|
* @default "Green"
|
|
6369
6426
|
*/
|
|
6370
|
-
this.intlGreen = TEXT$
|
|
6427
|
+
this.intlGreen = TEXT$g.green;
|
|
6371
6428
|
/** Label used for the hue channel
|
|
6372
6429
|
* @default "H"
|
|
6373
6430
|
*/
|
|
6374
|
-
this.intlH = TEXT$
|
|
6431
|
+
this.intlH = TEXT$g.h;
|
|
6375
6432
|
/** Label used for the HSV mode
|
|
6376
6433
|
* @default "HSV"
|
|
6377
6434
|
*/
|
|
6378
|
-
this.intlHsv = TEXT$
|
|
6435
|
+
this.intlHsv = TEXT$g.hsv;
|
|
6379
6436
|
/** Label used for the hex input
|
|
6380
6437
|
* @default "Hex"
|
|
6381
6438
|
*/
|
|
6382
|
-
this.intlHex = TEXT$
|
|
6439
|
+
this.intlHex = TEXT$g.hex;
|
|
6383
6440
|
/** Label used for the hue channel description
|
|
6384
6441
|
* @default "Hue"
|
|
6385
6442
|
*/
|
|
6386
|
-
this.intlHue = TEXT$
|
|
6443
|
+
this.intlHue = TEXT$g.hue;
|
|
6387
6444
|
/**
|
|
6388
6445
|
* Label used for the hex input when there is no color selected.
|
|
6389
6446
|
* @default "No color"
|
|
6390
6447
|
*/
|
|
6391
|
-
this.intlNoColor = TEXT$
|
|
6448
|
+
this.intlNoColor = TEXT$g.noColor;
|
|
6392
6449
|
/** Label used for the red channel
|
|
6393
6450
|
* @default "R"
|
|
6394
6451
|
*/
|
|
6395
|
-
this.intlR = TEXT$
|
|
6452
|
+
this.intlR = TEXT$g.r;
|
|
6396
6453
|
/** Label used for the red channel description
|
|
6397
6454
|
* @default "Red"
|
|
6398
6455
|
*/
|
|
6399
|
-
this.intlRed = TEXT$
|
|
6456
|
+
this.intlRed = TEXT$g.red;
|
|
6400
6457
|
/** Label used for the RGB mode
|
|
6401
6458
|
* @default "RGB"
|
|
6402
6459
|
*/
|
|
6403
|
-
this.intlRgb = TEXT$
|
|
6460
|
+
this.intlRgb = TEXT$g.rgb;
|
|
6404
6461
|
/** Label used for the saturation channel
|
|
6405
6462
|
* @default "S"
|
|
6406
6463
|
*/
|
|
6407
|
-
this.intlS = TEXT$
|
|
6464
|
+
this.intlS = TEXT$g.s;
|
|
6408
6465
|
/** Label used for the saturation channel description
|
|
6409
6466
|
* @default "Saturation"
|
|
6410
6467
|
*/
|
|
6411
|
-
this.intlSaturation = TEXT$
|
|
6468
|
+
this.intlSaturation = TEXT$g.saturation;
|
|
6412
6469
|
/** Label used for the save color button.
|
|
6413
6470
|
* @default "Save color"
|
|
6414
6471
|
*/
|
|
6415
|
-
this.intlSaveColor = TEXT$
|
|
6472
|
+
this.intlSaveColor = TEXT$g.saveColor;
|
|
6416
6473
|
/** Label used for the saved colors section
|
|
6417
6474
|
* @default "Saved"
|
|
6418
6475
|
*/
|
|
6419
|
-
this.intlSaved = TEXT$
|
|
6476
|
+
this.intlSaved = TEXT$g.saved;
|
|
6420
6477
|
/** Label used for the value channel
|
|
6421
6478
|
* @default "V"
|
|
6422
6479
|
*/
|
|
6423
|
-
this.intlV = TEXT$
|
|
6480
|
+
this.intlV = TEXT$g.v;
|
|
6424
6481
|
/** Label used for the
|
|
6425
6482
|
* @default "Value"
|
|
6426
6483
|
*/
|
|
6427
|
-
this.intlValue = TEXT$
|
|
6484
|
+
this.intlValue = TEXT$g.value;
|
|
6428
6485
|
/**
|
|
6429
6486
|
* The scale of the color picker.
|
|
6430
6487
|
*/
|
|
@@ -7100,12 +7157,12 @@ let CalciteColorPickerHexInput$1 = class extends HTMLElement$1 {
|
|
|
7100
7157
|
* Label used for the hex input.
|
|
7101
7158
|
* @default "Hex"
|
|
7102
7159
|
*/
|
|
7103
|
-
this.intlHex = TEXT$
|
|
7160
|
+
this.intlHex = TEXT$g.hex;
|
|
7104
7161
|
/**
|
|
7105
7162
|
* Label used for the hex input when there is no color selected.
|
|
7106
7163
|
* @default "No color"
|
|
7107
7164
|
*/
|
|
7108
|
-
this.intlNoColor = TEXT$
|
|
7165
|
+
this.intlNoColor = TEXT$g.noColor;
|
|
7109
7166
|
/**
|
|
7110
7167
|
* The component's scale.
|
|
7111
7168
|
*/
|
|
@@ -9180,6 +9237,9 @@ const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
|
9180
9237
|
const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
9181
9238
|
const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;
|
|
9182
9239
|
const ComboboxDefaultPlacement = "bottom-leading";
|
|
9240
|
+
const TEXT$f = {
|
|
9241
|
+
removeTag: "Remove tag"
|
|
9242
|
+
};
|
|
9183
9243
|
|
|
9184
9244
|
function getAncestors(element) {
|
|
9185
9245
|
var _a, _b;
|
|
@@ -9209,6 +9269,11 @@ function getDepth(element) {
|
|
|
9209
9269
|
const calciteComboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-of-type{-webkit-margin-end:0;margin-inline-end:0}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
9210
9270
|
|
|
9211
9271
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
9272
|
+
const itemUidPrefix = "combobox-item-";
|
|
9273
|
+
const chipUidPrefix = "combobox-chip-";
|
|
9274
|
+
const labelUidPrefix = "combobox-label-";
|
|
9275
|
+
const listboxUidPrefix = "combobox-listbox-";
|
|
9276
|
+
const inputUidPrefix = "combobox-input-";
|
|
9212
9277
|
let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
9213
9278
|
constructor() {
|
|
9214
9279
|
super();
|
|
@@ -9249,6 +9314,10 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9249
9314
|
this.scale = "m";
|
|
9250
9315
|
/** The value(s) of the selectedItem(s) */
|
|
9251
9316
|
this.value = null;
|
|
9317
|
+
/** string to override the English "Remove tag" text for when an item is selected.
|
|
9318
|
+
* @default "Remove tag"
|
|
9319
|
+
*/
|
|
9320
|
+
this.intlRemoveTag = TEXT$f.removeTag;
|
|
9252
9321
|
//--------------------------------------------------------------------------
|
|
9253
9322
|
//
|
|
9254
9323
|
// Private State/Props
|
|
@@ -9758,7 +9827,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9758
9827
|
const item = document.createElement(ComboboxItem);
|
|
9759
9828
|
item.value = value;
|
|
9760
9829
|
item.textLabel = value;
|
|
9761
|
-
item.guid = guid()
|
|
9830
|
+
item.guid = `${chipUidPrefix}${guid()}`;
|
|
9762
9831
|
item.selected = true;
|
|
9763
9832
|
this.el.appendChild(item);
|
|
9764
9833
|
this.resetText();
|
|
@@ -9808,7 +9877,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9808
9877
|
focusChip() {
|
|
9809
9878
|
var _a;
|
|
9810
9879
|
const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
|
|
9811
|
-
const chip = this.referenceEl.querySelector(
|
|
9880
|
+
const chip = this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`);
|
|
9812
9881
|
chip === null || chip === void 0 ? void 0 : chip.setFocus();
|
|
9813
9882
|
}
|
|
9814
9883
|
shiftActiveItemIndex(delta) {
|
|
@@ -9854,7 +9923,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9854
9923
|
//
|
|
9855
9924
|
//--------------------------------------------------------------------------
|
|
9856
9925
|
renderChips() {
|
|
9857
|
-
const { activeChipIndex, scale, selectionMode } = this;
|
|
9926
|
+
const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;
|
|
9858
9927
|
return this.selectedItems.map((item, i) => {
|
|
9859
9928
|
const chipClasses = {
|
|
9860
9929
|
chip: true,
|
|
@@ -9863,11 +9932,11 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9863
9932
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
9864
9933
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
9865
9934
|
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
|
9866
|
-
return (h("calcite-chip", {
|
|
9935
|
+
return (h("calcite-chip", { class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: `${chipUidPrefix}${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
|
|
9867
9936
|
});
|
|
9868
9937
|
}
|
|
9869
9938
|
renderInput() {
|
|
9870
|
-
const { active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
|
|
9939
|
+
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
|
|
9871
9940
|
const single = selectionMode === "single";
|
|
9872
9941
|
const selectedItem = selectedItems[0];
|
|
9873
9942
|
const showLabel = !active && single && !!selectedItem;
|
|
@@ -9877,16 +9946,16 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9877
9946
|
} }, showLabel && (h("span", { class: {
|
|
9878
9947
|
label: true,
|
|
9879
9948
|
"label--spaced": needsIcon
|
|
9880
|
-
}, key: "label", onFocus: this.comboboxFocusHandler, tabindex: "0" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": guid
|
|
9949
|
+
}, key: "label", onFocus: this.comboboxFocusHandler, tabindex: "0" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
9881
9950
|
input: true,
|
|
9882
9951
|
"input--single": true,
|
|
9883
9952
|
"input--transparent": this.activeChipIndex > -1,
|
|
9884
9953
|
"input--hidden": showLabel,
|
|
9885
9954
|
"input--icon": single && needsIcon
|
|
9886
|
-
}, disabled: disabled, id: `${guid}
|
|
9955
|
+
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
|
|
9887
9956
|
}
|
|
9888
9957
|
renderListBoxOptions() {
|
|
9889
|
-
return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: item.guid
|
|
9958
|
+
return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: `${itemUidPrefix}${item.guid}`, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
9890
9959
|
}
|
|
9891
9960
|
renderPopperContainer() {
|
|
9892
9961
|
const { active, maxScrollerHeight, setMenuEl, setListContainerEl, hideList, open } = this;
|
|
@@ -9912,12 +9981,11 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9912
9981
|
render() {
|
|
9913
9982
|
const { guid, open, label } = this;
|
|
9914
9983
|
const single = this.selectionMode === "single";
|
|
9915
|
-
|
|
9916
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": open.toString(), "aria-haspopup": "listbox", "aria-labelledby": labelId, "aria-owns": guid, class: {
|
|
9984
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": open.toString(), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
9917
9985
|
wrapper: true,
|
|
9918
9986
|
"wrapper--single": single || !this.selectedItems.length,
|
|
9919
9987
|
"wrapper--active": open
|
|
9920
|
-
}, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${guid}
|
|
9988
|
+
}, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
9921
9989
|
}
|
|
9922
9990
|
get el() { return this; }
|
|
9923
9991
|
static get watchers() { return {
|
|
@@ -12332,7 +12400,7 @@ function area({ data, min, max, t }) {
|
|
|
12332
12400
|
return `${commands} ${end} L ${maxX},${minY} Z`;
|
|
12333
12401
|
}
|
|
12334
12402
|
|
|
12335
|
-
const calciteGraphCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;
|
|
12403
|
+
const calciteGraphCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
|
|
12336
12404
|
|
|
12337
12405
|
let CalciteGraph$1 = class extends HTMLElement$1 {
|
|
12338
12406
|
constructor() {
|
|
@@ -12349,25 +12417,31 @@ let CalciteGraph$1 = class extends HTMLElement$1 {
|
|
|
12349
12417
|
* These data points should be sorted by x-axis value
|
|
12350
12418
|
*/
|
|
12351
12419
|
this.data = [];
|
|
12352
|
-
/** Width of graph in pixels*/
|
|
12353
|
-
this.width = 300;
|
|
12354
|
-
/** Width of graph in pixels*/
|
|
12355
|
-
this.height = 100;
|
|
12356
12420
|
//--------------------------------------------------------------------------
|
|
12357
12421
|
//
|
|
12358
12422
|
// Private State/Props
|
|
12359
12423
|
//
|
|
12360
12424
|
//--------------------------------------------------------------------------
|
|
12361
12425
|
this.graphId = `calcite-graph-${guid()}`;
|
|
12426
|
+
this.resizeObserver = createObserver("resize", () => forceUpdate(this));
|
|
12362
12427
|
}
|
|
12363
12428
|
//--------------------------------------------------------------------------
|
|
12364
12429
|
//
|
|
12365
12430
|
// Lifecycle
|
|
12366
12431
|
//
|
|
12367
12432
|
//--------------------------------------------------------------------------
|
|
12433
|
+
connectedCallback() {
|
|
12434
|
+
var _a;
|
|
12435
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);
|
|
12436
|
+
}
|
|
12437
|
+
disconnectedCallback() {
|
|
12438
|
+
var _a;
|
|
12439
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
12440
|
+
}
|
|
12368
12441
|
render() {
|
|
12369
|
-
const { data, colorStops,
|
|
12442
|
+
const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;
|
|
12370
12443
|
const id = this.graphId;
|
|
12444
|
+
const { clientHeight: height, clientWidth: width } = el;
|
|
12371
12445
|
// if we have no data, return empty svg
|
|
12372
12446
|
if (!data || data.length === 0) {
|
|
12373
12447
|
return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
|
|
@@ -12674,8 +12748,8 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
|
|
|
12674
12748
|
super();
|
|
12675
12749
|
this.__registerHost();
|
|
12676
12750
|
this.__attachShadow();
|
|
12677
|
-
this.
|
|
12678
|
-
this.
|
|
12751
|
+
this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 7);
|
|
12752
|
+
this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 7);
|
|
12679
12753
|
this.calciteInlineEditableEnableEditingChange = createEvent(this, "calciteInlineEditableEnableEditingChange", 7);
|
|
12680
12754
|
//--------------------------------------------------------------------------
|
|
12681
12755
|
//
|
|
@@ -12702,9 +12776,9 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
|
|
|
12702
12776
|
* @default "Save"
|
|
12703
12777
|
*/
|
|
12704
12778
|
this.intlConfirmChanges = TEXT$c.intlConfirmChanges;
|
|
12705
|
-
this.transitionEnd = (
|
|
12779
|
+
this.transitionEnd = () => {
|
|
12706
12780
|
if (!this.editingEnabled && !!this.shouldEmitCancel) {
|
|
12707
|
-
this.
|
|
12781
|
+
this.calciteInlineEditableEditCancel.emit();
|
|
12708
12782
|
}
|
|
12709
12783
|
};
|
|
12710
12784
|
this.enableEditing = () => {
|
|
@@ -12756,7 +12830,7 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
|
|
|
12756
12830
|
this.confirmChangesHandler = async (e) => {
|
|
12757
12831
|
e.preventDefault();
|
|
12758
12832
|
e.stopPropagation();
|
|
12759
|
-
this.
|
|
12833
|
+
this.calciteInlineEditableEditConfirm.emit();
|
|
12760
12834
|
try {
|
|
12761
12835
|
if (this.afterConfirm) {
|
|
12762
12836
|
this.loading = true;
|
|
@@ -12913,7 +12987,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
|
|
|
12913
12987
|
* string to override English loading text
|
|
12914
12988
|
* @default "Loading"
|
|
12915
12989
|
*/
|
|
12916
|
-
this.intlLoading = TEXT$
|
|
12990
|
+
this.intlLoading = TEXT$r.loading;
|
|
12917
12991
|
/** flip the icon in rtl */
|
|
12918
12992
|
this.iconFlipRtl = false;
|
|
12919
12993
|
/** specify if the input is in loading state */
|
|
@@ -13088,6 +13162,9 @@ let CalciteInput$1 = class extends HTMLElement$1 {
|
|
|
13088
13162
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
13089
13163
|
const valueNudgeDelayInMs = 100;
|
|
13090
13164
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
13165
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
13166
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
13167
|
+
}
|
|
13091
13168
|
let firstValueNudge = true;
|
|
13092
13169
|
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
13093
13170
|
if (firstValueNudge) {
|
|
@@ -14400,6 +14477,17 @@ let CalciteListItem$1 = class extends HTMLElement$1 {
|
|
|
14400
14477
|
}
|
|
14401
14478
|
// --------------------------------------------------------------------------
|
|
14402
14479
|
//
|
|
14480
|
+
// Lifecycle
|
|
14481
|
+
//
|
|
14482
|
+
// --------------------------------------------------------------------------
|
|
14483
|
+
connectedCallback() {
|
|
14484
|
+
connectConditionalSlotComponent(this);
|
|
14485
|
+
}
|
|
14486
|
+
disconnectedCallback() {
|
|
14487
|
+
disconnectConditionalSlotComponent(this);
|
|
14488
|
+
}
|
|
14489
|
+
// --------------------------------------------------------------------------
|
|
14490
|
+
//
|
|
14403
14491
|
// Public Methods
|
|
14404
14492
|
//
|
|
14405
14493
|
// --------------------------------------------------------------------------
|
|
@@ -14789,11 +14877,13 @@ let CalciteModal$1 = class extends HTMLElement$1 {
|
|
|
14789
14877
|
var _a;
|
|
14790
14878
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
14791
14879
|
this.updateFooterVisibility();
|
|
14880
|
+
connectConditionalSlotComponent(this);
|
|
14792
14881
|
}
|
|
14793
14882
|
disconnectedCallback() {
|
|
14794
14883
|
var _a;
|
|
14795
14884
|
this.removeOverflowHiddenClass();
|
|
14796
14885
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
14886
|
+
disconnectConditionalSlotComponent(this);
|
|
14797
14887
|
}
|
|
14798
14888
|
render() {
|
|
14799
14889
|
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: "modal", onTransitionEnd: this.transitionEnd }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS$n.header }, this.renderCloseButton(), h("header", { class: CSS$n.title }, h("slot", { name: CSS$n.header }))), h("div", { class: {
|
|
@@ -14803,10 +14893,10 @@ let CalciteModal$1 = class extends HTMLElement$1 {
|
|
|
14803
14893
|
}, ref: (el) => (this.modalContent = el) }, h("slot", { name: SLOTS$e.content })), this.renderFooter(), h("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
14804
14894
|
}
|
|
14805
14895
|
renderFooter() {
|
|
14806
|
-
return this.hasFooter ? (h("div", { class: CSS$n.footer }, h("span", { class: CSS$n.back }, h("slot", { name: SLOTS$e.back })), h("span", { class: CSS$n.secondary }, h("slot", { name: SLOTS$e.secondary })), h("span", { class: CSS$n.primary }, h("slot", { name: SLOTS$e.primary })))) : null;
|
|
14896
|
+
return this.hasFooter ? (h("div", { class: CSS$n.footer, key: "footer" }, h("span", { class: CSS$n.back }, h("slot", { name: SLOTS$e.back })), h("span", { class: CSS$n.secondary }, h("slot", { name: SLOTS$e.secondary })), h("span", { class: CSS$n.primary }, h("slot", { name: SLOTS$e.primary })))) : null;
|
|
14807
14897
|
}
|
|
14808
14898
|
renderCloseButton() {
|
|
14809
|
-
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$n.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
14899
|
+
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$n.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
14810
14900
|
}
|
|
14811
14901
|
renderStyle() {
|
|
14812
14902
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
@@ -14971,6 +15061,12 @@ let CalciteNotice$1 = class extends HTMLElement$1 {
|
|
|
14971
15061
|
// Lifecycle
|
|
14972
15062
|
//
|
|
14973
15063
|
//--------------------------------------------------------------------------
|
|
15064
|
+
connectedCallback() {
|
|
15065
|
+
connectConditionalSlotComponent(this);
|
|
15066
|
+
}
|
|
15067
|
+
disconnectedCallback() {
|
|
15068
|
+
disconnectConditionalSlotComponent(this);
|
|
15069
|
+
}
|
|
14974
15070
|
componentWillLoad() {
|
|
14975
15071
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
14976
15072
|
}
|
|
@@ -15409,6 +15505,17 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
|
|
|
15409
15505
|
}
|
|
15410
15506
|
// --------------------------------------------------------------------------
|
|
15411
15507
|
//
|
|
15508
|
+
// Lifecycle
|
|
15509
|
+
//
|
|
15510
|
+
// --------------------------------------------------------------------------
|
|
15511
|
+
connectedCallback() {
|
|
15512
|
+
connectConditionalSlotComponent(this);
|
|
15513
|
+
}
|
|
15514
|
+
disconnectedCallback() {
|
|
15515
|
+
disconnectConditionalSlotComponent(this);
|
|
15516
|
+
}
|
|
15517
|
+
// --------------------------------------------------------------------------
|
|
15518
|
+
//
|
|
15412
15519
|
// Methods
|
|
15413
15520
|
//
|
|
15414
15521
|
// --------------------------------------------------------------------------
|
|
@@ -15448,7 +15555,7 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
|
|
|
15448
15555
|
* Allows user to override the entire header-content node.
|
|
15449
15556
|
*/
|
|
15450
15557
|
renderHeaderSlottedContent() {
|
|
15451
|
-
return (h("div", { class: CSS$k.headerContent, key: "header-content" }, h("slot", { name: SLOTS$c.headerContent })));
|
|
15558
|
+
return (h("div", { class: CSS$k.headerContent, key: "slotted-header-content" }, h("slot", { name: SLOTS$c.headerContent })));
|
|
15452
15559
|
}
|
|
15453
15560
|
renderHeaderStartActions() {
|
|
15454
15561
|
const { el } = this;
|
|
@@ -15466,7 +15573,7 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
|
|
|
15466
15573
|
renderMenu() {
|
|
15467
15574
|
const { el, intlOptions, menuOpen } = this;
|
|
15468
15575
|
const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
|
|
15469
|
-
return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
15576
|
+
return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
15470
15577
|
}
|
|
15471
15578
|
renderHeaderNode() {
|
|
15472
15579
|
const { el, showBackButton } = this;
|
|
@@ -15484,18 +15591,11 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
|
|
|
15484
15591
|
headerMenuNode ||
|
|
15485
15592
|
showBackButton ? (h("header", { class: CSS$k.header }, backButtonNode, actionsNodeStart, headerContentNode, actionsNodeEnd, headerMenuNode)) : null;
|
|
15486
15593
|
}
|
|
15487
|
-
|
|
15488
|
-
* Allows user to override the entire footer node.
|
|
15489
|
-
*/
|
|
15490
|
-
renderFooterSlottedContent() {
|
|
15594
|
+
renderFooterNode() {
|
|
15491
15595
|
const { el } = this;
|
|
15492
15596
|
const hasFooterSlottedContent = getSlotted(el, SLOTS$c.footer);
|
|
15493
|
-
return hasFooterSlottedContent ? (h("footer", { class: CSS$k.footer }, h("slot", { name: SLOTS$c.footer }))) : null;
|
|
15494
|
-
}
|
|
15495
|
-
renderFooterActions() {
|
|
15496
|
-
const { el } = this;
|
|
15497
15597
|
const hasFooterActions = getSlotted(el, SLOTS$c.footerActions);
|
|
15498
|
-
return hasFooterActions ? (h("footer", { class: CSS$k.footer }, h("slot", { name: SLOTS$c.footerActions }))) : null;
|
|
15598
|
+
return hasFooterSlottedContent || hasFooterActions ? (h("footer", { class: CSS$k.footer, key: "footer" }, hasFooterSlottedContent ? h("slot", { key: "footer-slot", name: SLOTS$c.footer }) : null, hasFooterActions ? h("slot", { key: "footer-actions-slot", name: SLOTS$c.footerActions }) : null)) : null;
|
|
15499
15599
|
}
|
|
15500
15600
|
renderContent() {
|
|
15501
15601
|
const { el } = this;
|
|
@@ -15507,7 +15607,7 @@ let CalcitePanel$1 = class extends HTMLElement$1 {
|
|
|
15507
15607
|
}
|
|
15508
15608
|
render() {
|
|
15509
15609
|
const { dismissed, disabled, dismissible, loading, panelKeyDownHandler } = this;
|
|
15510
|
-
const panelNode = (h("article", { "aria-busy": loading.toString(), class: CSS$k.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.
|
|
15610
|
+
const panelNode = (h("article", { "aria-busy": loading.toString(), class: CSS$k.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
15511
15611
|
return (h(Fragment, null, loading || disabled ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
15512
15612
|
}
|
|
15513
15613
|
get el() { return this; }
|
|
@@ -15959,6 +16059,17 @@ let CalcitePickListGroup$1 = class extends HTMLElement$1 {
|
|
|
15959
16059
|
}
|
|
15960
16060
|
// --------------------------------------------------------------------------
|
|
15961
16061
|
//
|
|
16062
|
+
// Lifecycle
|
|
16063
|
+
//
|
|
16064
|
+
// --------------------------------------------------------------------------
|
|
16065
|
+
connectedCallback() {
|
|
16066
|
+
connectConditionalSlotComponent(this);
|
|
16067
|
+
}
|
|
16068
|
+
disconnectedCallback() {
|
|
16069
|
+
disconnectConditionalSlotComponent(this);
|
|
16070
|
+
}
|
|
16071
|
+
// --------------------------------------------------------------------------
|
|
16072
|
+
//
|
|
15962
16073
|
// Render Methods
|
|
15963
16074
|
//
|
|
15964
16075
|
// --------------------------------------------------------------------------
|
|
@@ -16096,6 +16207,17 @@ let CalcitePickListItem$1 = class extends HTMLElement$1 {
|
|
|
16096
16207
|
}
|
|
16097
16208
|
// --------------------------------------------------------------------------
|
|
16098
16209
|
//
|
|
16210
|
+
// Lifecycle
|
|
16211
|
+
//
|
|
16212
|
+
// --------------------------------------------------------------------------
|
|
16213
|
+
connectedCallback() {
|
|
16214
|
+
connectConditionalSlotComponent(this);
|
|
16215
|
+
}
|
|
16216
|
+
disconnectedCallback() {
|
|
16217
|
+
disconnectConditionalSlotComponent(this);
|
|
16218
|
+
}
|
|
16219
|
+
// --------------------------------------------------------------------------
|
|
16220
|
+
//
|
|
16099
16221
|
// Public Methods
|
|
16100
16222
|
//
|
|
16101
16223
|
// --------------------------------------------------------------------------
|
|
@@ -17528,12 +17650,23 @@ let CalciteShell$1 = class extends HTMLElement$1 {
|
|
|
17528
17650
|
}
|
|
17529
17651
|
// --------------------------------------------------------------------------
|
|
17530
17652
|
//
|
|
17653
|
+
// Lifecycle
|
|
17654
|
+
//
|
|
17655
|
+
// --------------------------------------------------------------------------
|
|
17656
|
+
connectedCallback() {
|
|
17657
|
+
connectConditionalSlotComponent(this);
|
|
17658
|
+
}
|
|
17659
|
+
disconnectedCallback() {
|
|
17660
|
+
disconnectConditionalSlotComponent(this);
|
|
17661
|
+
}
|
|
17662
|
+
// --------------------------------------------------------------------------
|
|
17663
|
+
//
|
|
17531
17664
|
// Render Methods
|
|
17532
17665
|
//
|
|
17533
17666
|
// --------------------------------------------------------------------------
|
|
17534
17667
|
renderHeader() {
|
|
17535
17668
|
const hasHeader = !!getSlotted(this.el, SLOTS$7.header);
|
|
17536
|
-
return hasHeader ? h("slot", { name: SLOTS$7.header }) : null;
|
|
17669
|
+
return hasHeader ? h("slot", { key: "header", name: SLOTS$7.header }) : null;
|
|
17537
17670
|
}
|
|
17538
17671
|
renderContent() {
|
|
17539
17672
|
const content = !!this.contentBehind
|
|
@@ -17551,7 +17684,7 @@ let CalciteShell$1 = class extends HTMLElement$1 {
|
|
|
17551
17684
|
}
|
|
17552
17685
|
renderFooter() {
|
|
17553
17686
|
const hasFooter = !!getSlotted(this.el, SLOTS$7.footer);
|
|
17554
|
-
return hasFooter ? (h("div", { class: CSS$b.footer }, h("slot", { name: SLOTS$7.footer }))) : null;
|
|
17687
|
+
return hasFooter ? (h("div", { class: CSS$b.footer, key: "footer" }, h("slot", { name: SLOTS$7.footer }))) : null;
|
|
17555
17688
|
}
|
|
17556
17689
|
renderMain() {
|
|
17557
17690
|
const primaryPanel = getSlotted(this.el, SLOTS$7.primaryPanel);
|
|
@@ -17603,6 +17736,17 @@ let CalciteShellCenterRow$1 = class extends HTMLElement$1 {
|
|
|
17603
17736
|
}
|
|
17604
17737
|
// --------------------------------------------------------------------------
|
|
17605
17738
|
//
|
|
17739
|
+
// Lifecycle
|
|
17740
|
+
//
|
|
17741
|
+
// --------------------------------------------------------------------------
|
|
17742
|
+
connectedCallback() {
|
|
17743
|
+
connectConditionalSlotComponent(this);
|
|
17744
|
+
}
|
|
17745
|
+
disconnectedCallback() {
|
|
17746
|
+
disconnectConditionalSlotComponent(this);
|
|
17747
|
+
}
|
|
17748
|
+
// --------------------------------------------------------------------------
|
|
17749
|
+
//
|
|
17606
17750
|
// Render Methods
|
|
17607
17751
|
//
|
|
17608
17752
|
// --------------------------------------------------------------------------
|
|
@@ -17610,7 +17754,7 @@ let CalciteShellCenterRow$1 = class extends HTMLElement$1 {
|
|
|
17610
17754
|
const { el } = this;
|
|
17611
17755
|
const contentNode = (h("div", { class: CSS$a.content }, h("slot", null)));
|
|
17612
17756
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
17613
|
-
const actionBarNode = actionBar ? (h("div", { class: CSS$a.actionBarContainer }, h("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
17757
|
+
const actionBarNode = actionBar ? (h("div", { class: CSS$a.actionBarContainer, key: "action-bar" }, h("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
17614
17758
|
const children = [actionBarNode, contentNode];
|
|
17615
17759
|
if ((actionBar === null || actionBar === void 0 ? void 0 : actionBar.position) === "end") {
|
|
17616
17760
|
children.reverse();
|
|
@@ -17784,7 +17928,11 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17784
17928
|
// Lifecycle
|
|
17785
17929
|
//
|
|
17786
17930
|
//--------------------------------------------------------------------------
|
|
17931
|
+
connectedCallback() {
|
|
17932
|
+
connectConditionalSlotComponent(this);
|
|
17933
|
+
}
|
|
17787
17934
|
disconnectedCallback() {
|
|
17935
|
+
disconnectConditionalSlotComponent(this);
|
|
17788
17936
|
this.disconnectSeparator();
|
|
17789
17937
|
}
|
|
17790
17938
|
componentDidLoad() {
|
|
@@ -17798,14 +17946,14 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17798
17946
|
renderHeader() {
|
|
17799
17947
|
const { el } = this;
|
|
17800
17948
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
17801
|
-
return hasHeader ? (h("div", { class: CSS$9.contentHeader }, h("slot", { name: SLOTS$5.header }))) : null;
|
|
17949
|
+
return hasHeader ? (h("div", { class: CSS$9.contentHeader, key: "header" }, h("slot", { name: SLOTS$5.header }))) : null;
|
|
17802
17950
|
}
|
|
17803
17951
|
render() {
|
|
17804
17952
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
|
17805
17953
|
const allowResizing = !detached && resizable;
|
|
17806
|
-
const contentNode = (h("div", { class: { [CSS$9.content]: true, [CSS$9.contentDetached]: detached }, hidden: collapsed, ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS$9.contentBody }, h("slot", null))));
|
|
17807
|
-
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$9.separator, onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
17808
|
-
const actionBarNode = h("slot", { name: SLOTS$5.actionBar });
|
|
17954
|
+
const contentNode = (h("div", { class: { [CSS$9.content]: true, [CSS$9.contentDetached]: detached }, hidden: collapsed, key: "content", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS$9.contentBody }, h("slot", null))));
|
|
17955
|
+
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$9.separator, key: "separator", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
17956
|
+
const actionBarNode = h("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
17809
17957
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
17810
17958
|
if (position === "end") {
|
|
17811
17959
|
mainNodes.reverse();
|
|
@@ -17852,7 +18000,7 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17852
18000
|
static get style() { return calciteShellPanelCss; }
|
|
17853
18001
|
};
|
|
17854
18002
|
|
|
17855
|
-
const calciteSliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
18003
|
+
const calciteSliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
17856
18004
|
|
|
17857
18005
|
let CalciteSlider$1 = class extends HTMLElement$1 {
|
|
17858
18006
|
constructor() {
|
|
@@ -18109,7 +18257,7 @@ let CalciteSlider$1 = class extends HTMLElement$1 {
|
|
|
18109
18257
|
histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this })))));
|
|
18110
18258
|
}
|
|
18111
18259
|
renderGraph() {
|
|
18112
|
-
return this.histogram ? (h("
|
|
18260
|
+
return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min })) : null;
|
|
18113
18261
|
}
|
|
18114
18262
|
renderTickLabel(tick) {
|
|
18115
18263
|
const isMinTickLabel = tick === this.min;
|
|
@@ -22917,6 +23065,17 @@ let CalciteTile$1 = class extends HTMLElement$1 {
|
|
|
22917
23065
|
}
|
|
22918
23066
|
// --------------------------------------------------------------------------
|
|
22919
23067
|
//
|
|
23068
|
+
// Lifecycle
|
|
23069
|
+
//
|
|
23070
|
+
// --------------------------------------------------------------------------
|
|
23071
|
+
connectedCallback() {
|
|
23072
|
+
connectConditionalSlotComponent(this);
|
|
23073
|
+
}
|
|
23074
|
+
disconnectedCallback() {
|
|
23075
|
+
disconnectConditionalSlotComponent(this);
|
|
23076
|
+
}
|
|
23077
|
+
// --------------------------------------------------------------------------
|
|
23078
|
+
//
|
|
22920
23079
|
// Render Methods
|
|
22921
23080
|
//
|
|
22922
23081
|
// --------------------------------------------------------------------------
|
|
@@ -23855,6 +24014,17 @@ let CalciteTip$1 = class extends HTMLElement$1 {
|
|
|
23855
24014
|
}
|
|
23856
24015
|
// --------------------------------------------------------------------------
|
|
23857
24016
|
//
|
|
24017
|
+
// Lifecycle
|
|
24018
|
+
//
|
|
24019
|
+
// --------------------------------------------------------------------------
|
|
24020
|
+
connectedCallback() {
|
|
24021
|
+
connectConditionalSlotComponent(this);
|
|
24022
|
+
}
|
|
24023
|
+
disconnectedCallback() {
|
|
24024
|
+
disconnectConditionalSlotComponent(this);
|
|
24025
|
+
}
|
|
24026
|
+
// --------------------------------------------------------------------------
|
|
24027
|
+
//
|
|
23858
24028
|
// Render Methods
|
|
23859
24029
|
//
|
|
23860
24030
|
// --------------------------------------------------------------------------
|
|
@@ -23873,7 +24043,7 @@ let CalciteTip$1 = class extends HTMLElement$1 {
|
|
|
23873
24043
|
}
|
|
23874
24044
|
renderImageFrame() {
|
|
23875
24045
|
const { el } = this;
|
|
23876
|
-
return getSlotted(el, SLOTS$2.thumbnail) ? (h("div", { class: CSS$3.imageFrame }, h("slot", { name: SLOTS$2.thumbnail }))) : null;
|
|
24046
|
+
return getSlotted(el, SLOTS$2.thumbnail) ? (h("div", { class: CSS$3.imageFrame, key: "thumbnail" }, h("slot", { name: SLOTS$2.thumbnail }))) : null;
|
|
23877
24047
|
}
|
|
23878
24048
|
renderInfoNode() {
|
|
23879
24049
|
return (h("div", { class: CSS$3.info }, h("slot", null)));
|
|
@@ -24687,6 +24857,10 @@ let CalciteTreeItem$1 = class extends HTMLElement$1 {
|
|
|
24687
24857
|
const { expanded } = this.parentTreeItem;
|
|
24688
24858
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
24689
24859
|
}
|
|
24860
|
+
connectConditionalSlotComponent(this);
|
|
24861
|
+
}
|
|
24862
|
+
disconnectedCallback() {
|
|
24863
|
+
disconnectConditionalSlotComponent(this);
|
|
24690
24864
|
}
|
|
24691
24865
|
componentWillRender() {
|
|
24692
24866
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
@@ -25127,6 +25301,17 @@ let CalciteValueListItem$1 = class extends HTMLElement$1 {
|
|
|
25127
25301
|
}
|
|
25128
25302
|
// --------------------------------------------------------------------------
|
|
25129
25303
|
//
|
|
25304
|
+
// Lifecycle
|
|
25305
|
+
//
|
|
25306
|
+
// --------------------------------------------------------------------------
|
|
25307
|
+
connectedCallback() {
|
|
25308
|
+
connectConditionalSlotComponent(this);
|
|
25309
|
+
}
|
|
25310
|
+
disconnectedCallback() {
|
|
25311
|
+
disconnectConditionalSlotComponent(this);
|
|
25312
|
+
}
|
|
25313
|
+
// --------------------------------------------------------------------------
|
|
25314
|
+
//
|
|
25130
25315
|
// Public Methods
|
|
25131
25316
|
//
|
|
25132
25317
|
// --------------------------------------------------------------------------
|
|
@@ -25195,7 +25380,7 @@ const CalciteChip = /*@__PURE__*/proxyCustomElement(CalciteChip$1, [1,"calcite-c
|
|
|
25195
25380
|
const CalciteColorPicker = /*@__PURE__*/proxyCustomElement(CalciteColorPicker$1, [1,"calcite-color-picker",{"allowEmpty":[4,"allow-empty"],"appearance":[513],"color":[1040],"format":[1],"hideHex":[4,"hide-hex"],"hideChannels":[4,"hide-channels"],"hideSaved":[4,"hide-saved"],"intlB":[1,"intl-b"],"intlBlue":[1,"intl-blue"],"intlDeleteColor":[1,"intl-delete-color"],"intlG":[1,"intl-g"],"intlGreen":[1,"intl-green"],"intlH":[1,"intl-h"],"intlHsv":[1,"intl-hsv"],"intlHex":[1,"intl-hex"],"intlHue":[1,"intl-hue"],"intlNoColor":[1,"intl-no-color"],"intlR":[1,"intl-r"],"intlRed":[1,"intl-red"],"intlRgb":[1,"intl-rgb"],"intlS":[1,"intl-s"],"intlSaturation":[1,"intl-saturation"],"intlSaveColor":[1,"intl-save-color"],"intlSaved":[1,"intl-saved"],"intlV":[1,"intl-v"],"intlValue":[1,"intl-value"],"scale":[513],"storageId":[1,"storage-id"],"value":[1025],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]]);
|
|
25196
25381
|
const CalciteColorPickerHexInput = /*@__PURE__*/proxyCustomElement(CalciteColorPickerHexInput$1, [1,"calcite-color-picker-hex-input",{"allowEmpty":[4,"allow-empty"],"intlHex":[1,"intl-hex"],"intlNoColor":[1,"intl-no-color"],"scale":[513],"value":[1537],"internalColor":[32]},[[2,"keydown","onInputKeyDown"]]]);
|
|
25197
25382
|
const CalciteColorPickerSwatch = /*@__PURE__*/proxyCustomElement(CalciteColorPickerSwatch$1, [1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]);
|
|
25198
|
-
const CalciteCombobox = /*@__PURE__*/proxyCustomElement(CalciteCombobox$1, [1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"hideList":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"open":[32],"maxScrollerHeight":[32]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
|
|
25383
|
+
const CalciteCombobox = /*@__PURE__*/proxyCustomElement(CalciteCombobox$1, [1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"hideList":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"open":[32],"maxScrollerHeight":[32]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
|
|
25199
25384
|
const CalciteComboboxItem = /*@__PURE__*/proxyCustomElement(CalciteComboboxItem$1, [1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[4],"ancestors":[1040],"guid":[1],"icon":[1],"textLabel":[513,"text-label"],"value":[8],"constant":[516]}]);
|
|
25200
25385
|
const CalciteComboboxItemGroup = /*@__PURE__*/proxyCustomElement(CalciteComboboxItemGroup$1, [1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]);
|
|
25201
25386
|
const CalciteDatePicker = /*@__PURE__*/proxyCustomElement(CalciteDatePicker$1, [1,"calcite-date-picker",{"activeRange":[1,"active-range"],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"start":[1025],"end":[1025],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"activeDate":[32],"activeStartDate":[32],"activeEndDate":[32],"localeData":[32],"hoverRange":[32]}]);
|
|
@@ -25208,7 +25393,7 @@ const CalciteDropdownItem = /*@__PURE__*/proxyCustomElement(CalciteDropdownItem$
|
|
|
25208
25393
|
const CalciteFab = /*@__PURE__*/proxyCustomElement(CalciteFab$1, [1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
25209
25394
|
const CalciteFilter = /*@__PURE__*/proxyCustomElement(CalciteFilter$1, [1,"calcite-filter",{"items":[1040],"disabled":[516],"filteredItems":[1040],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"value":[1025]}]);
|
|
25210
25395
|
const CalciteFlow = /*@__PURE__*/proxyCustomElement(CalciteFlow$1, [1,"calcite-flow",{"panelCount":[32],"flowDirection":[32],"panels":[32]},[[0,"calcitePanelBackClick","handleCalcitePanelBackClick"]]]);
|
|
25211
|
-
const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"
|
|
25396
|
+
const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[2],"max":[2]}]);
|
|
25212
25397
|
const CalciteHandle = /*@__PURE__*/proxyCustomElement(CalciteHandle$1, [1,"calcite-handle",{"activated":[1540],"textTitle":[513,"text-title"]}]);
|
|
25213
25398
|
const CalciteIcon = /*@__PURE__*/proxyCustomElement(CalciteIcon$1, [1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]);
|
|
25214
25399
|
const CalciteInlineEditable = /*@__PURE__*/proxyCustomElement(CalciteInlineEditable$1, [1,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"intlEnableEditing":[513,"intl-enable-editing"],"intlCancelEditing":[513,"intl-cancel-editing"],"intlConfirmChanges":[513,"intl-confirm-changes"],"scale":[1537],"afterConfirm":[16]},[[0,"calciteInputBlur","blurHandler"]]]);
|