@orangelogic/design-system 3.48.0 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{asset-link-format.RxnH_rs9.js → asset-link-format.DW4-Yf4S.js} +3 -3
- package/library/chunks/{bicolor-picker.D03k1yyx.js → bicolor-picker.prO-_6Je.js} +1 -1
- package/library/chunks/{block-width.CqVLiUIp.js → block-width.MJd4A-sP.js} +14 -14
- package/library/chunks/{border-input-group.CEZXBhV6.js → border-input-group.Cl0Cm8q9.js} +1 -1
- package/library/chunks/{color-picker.BDko_QVl.js → color-picker.NfX8mIq2.js} +1 -1
- package/library/chunks/{color-swatch-group.GRM9PH0r.js → color-swatch-group.Dp778XL2.js} +1073 -1055
- package/library/chunks/{config-manager.Bskq5Cxr.js → config-manager.BzHT9Ws9.js} +11 -11
- package/library/chunks/{configs-controller.DdhZNSbu.js → configs-controller.CtIB5Q8R.js} +2 -2
- package/library/chunks/{corner-position-input-group.dK3EENR2.js → corner-position-input-group.BAvx6UsV.js} +1 -1
- package/library/chunks/{dynamic-select.BHa_Q600.js → dynamic-select.o5G8iUV1.js} +1 -1
- package/library/chunks/{file-on-demand.BEq7qWZd.js → file-on-demand.DVR8fBgK.js} +1 -1
- package/library/chunks/{folder-select.BRJEfeyY.js → folder-select.DA7Ezy8P.js} +1 -1
- package/library/chunks/{pagination.CJV7WdJj.js → pagination.Cs-s_PTI.js} +1 -1
- package/library/chunks/{select.CM-1exjJ.js → select.DJ_bfkBn.js} +7 -2
- package/library/chunks/{shadow-input-group.CpjriMC3.js → shadow-input-group.xfWQsQH6.js} +1 -1
- package/library/chunks/{size-input-group.4NN5-92E.js → size-input-group.DvTF3TsD.js} +1 -1
- package/library/chunks/{src.CQL20PqB.js → src.C8E60TXK.js} +3 -3
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +4 -4
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/molecules.js +7 -7
- package/library/components/organisms.js +3 -3
- package/library/components/pagination.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/types.js +19 -19
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/select/select.d.ts +5 -0
- package/library/packages/molecules/src/multi-select/components/board/board.d.ts +9 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +2 -0
- package/library/react-web-component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.Ccrk9fUD.js";
|
|
15
15
|
import { t as ee } from "./tooltip.CGCOh4cQ.js";
|
|
16
16
|
import { t as te } from "./line-clamp.DV3tlosD.js";
|
|
17
|
-
import { C as ne, E as re, S as ie, T as ae, _ as oe, a as se, b as ce, c as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { C as ne, E as re, S as ie, T as ae, _ as oe, a as se, b as ce, c as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.MJd4A-sP.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|
|
@@ -29,7 +29,7 @@ import { n as xe, t as Se } from "./ref.CU1NC5AM.js";
|
|
|
29
29
|
import { t as Ce } from "./textarea.Bc4eCJgT.js";
|
|
30
30
|
import { t as we } from "./option.9V-nTQp7.js";
|
|
31
31
|
import { t as Te } from "./space.Dd8jezXK.js";
|
|
32
|
-
import { t as Ee } from "./select.
|
|
32
|
+
import { t as Ee } from "./select.DJ_bfkBn.js";
|
|
33
33
|
import { t as De } from "./tab.BnFmdiPK.js";
|
|
34
34
|
import { t as z } from "./tab-group.BVYwTGDS.js";
|
|
35
35
|
import { t as Oe } from "./map.ByDuLduF.js";
|
|
@@ -47,23 +47,23 @@ import { t as Re } from "./radio.DhPbmKbQ.js";
|
|
|
47
47
|
import { t as ze } from "./radio-card.D4B962Sg.js";
|
|
48
48
|
import { t as Be } from "./radio-group.DKOIr2PH.js";
|
|
49
49
|
import { t as Ve } from "./switch.D6KXmWnC.js";
|
|
50
|
-
import { t as He } from "./bicolor-picker.
|
|
51
|
-
import { t as Ue } from "./border-input-group.
|
|
50
|
+
import { t as He } from "./bicolor-picker.prO-_6Je.js";
|
|
51
|
+
import { t as Ue } from "./border-input-group.Cl0Cm8q9.js";
|
|
52
52
|
import { n as We, t as U } from "./confirm-popover.BjAGzV05.js";
|
|
53
|
-
import { t as Ge } from "./corner-position-input-group.
|
|
53
|
+
import { t as Ge } from "./corner-position-input-group.BAvx6UsV.js";
|
|
54
54
|
import { t as W } from "./_baseIteratee.DWc2-Bvm.js";
|
|
55
|
-
import { t as Ke } from "./dynamic-select.
|
|
56
|
-
import { r as G } from "./folder-select.
|
|
55
|
+
import { t as Ke } from "./dynamic-select.o5G8iUV1.js";
|
|
56
|
+
import { r as G } from "./folder-select.DA7Ezy8P.js";
|
|
57
57
|
import { t as qe } from "./choose.C2vpqhLc.js";
|
|
58
58
|
import { t as Je } from "./padding-input-group.DKIv6567.js";
|
|
59
59
|
import { t as Ye } from "./position-picker.CyXlSYCi.js";
|
|
60
|
-
import { t as Xe } from "./shadow-input-group.
|
|
61
|
-
import { t as Ze } from "./size-input-group.
|
|
62
|
-
import { T as K } from "./asset-link-format.
|
|
60
|
+
import { t as Xe } from "./shadow-input-group.xfWQsQH6.js";
|
|
61
|
+
import { t as Ze } from "./size-input-group.DvTF3TsD.js";
|
|
62
|
+
import { T as K } from "./asset-link-format.DW4-Yf4S.js";
|
|
63
63
|
import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as tt } from "./_baseClone.CnI5Vpqn.js";
|
|
66
|
-
import { C as nt, i as rt, o as J, t as it } from "./configs-controller.
|
|
66
|
+
import { C as nt, i as rt, o as J, t as it } from "./configs-controller.CtIB5Q8R.js";
|
|
67
67
|
import { t as at } from "./isEmpty.D3QQduJ5.js";
|
|
68
68
|
import { i as ot } from "./cloneDeep.C6x5LNv3.js";
|
|
69
69
|
//#region ../../node_modules/lodash-es/difference.js
|
|
@@ -15,8 +15,8 @@ import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
|
|
|
15
15
|
import { g as _e, m as ve, p as ye, s as b } from "./responsive.L9Csz2w2.js";
|
|
16
16
|
import { n as be, r as xe } from "./header.qIpzHeNc.js";
|
|
17
17
|
import { d as Se, f as x, l as S, o as C, s as Ce } from "./endpoints.jOHOmF_t.js";
|
|
18
|
-
import { n as w } from "./folder-select.
|
|
19
|
-
import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.
|
|
18
|
+
import { n as w } from "./folder-select.DA7Ezy8P.js";
|
|
19
|
+
import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.Dp778XL2.js";
|
|
20
20
|
import { n as Te } from "./isEmpty.D3QQduJ5.js";
|
|
21
21
|
import { a as k } from "./cloneDeep.C6x5LNv3.js";
|
|
22
22
|
//#region ../../packages/services/src/api/dashboard/dashboard.ts
|
|
@@ -7,7 +7,7 @@ import { t as l } from "./src.BJhIYoMP.js";
|
|
|
7
7
|
import { t as u } from "./input.B3HfssSr.js";
|
|
8
8
|
import { t as d } from "./option.9V-nTQp7.js";
|
|
9
9
|
import { t as f } from "./space.Dd8jezXK.js";
|
|
10
|
-
import { t as p } from "./select.
|
|
10
|
+
import { t as p } from "./select.DJ_bfkBn.js";
|
|
11
11
|
//#region ../../packages/molecules/src/corner-position-input-group/corner-position-input-group.styles.ts
|
|
12
12
|
var m = t`:host{width:100%;display:block}.corner-position-input-group__inputs{width:100%}.corner-position-input-group__input{flex:1}`, h = {
|
|
13
13
|
mask: "numpx",
|
|
@@ -13,7 +13,7 @@ import { t as h } from "./button.Ccrk9fUD.js";
|
|
|
13
13
|
import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
14
14
|
import { t as _ } from "./repeat.CKv9FPlC.js";
|
|
15
15
|
import { n as v, t as y } from "./option.9V-nTQp7.js";
|
|
16
|
-
import { t as b } from "./select.
|
|
16
|
+
import { t as b } from "./select.DJ_bfkBn.js";
|
|
17
17
|
import { t as x } from "./map.ByDuLduF.js";
|
|
18
18
|
import { t as S } from "./keyed.zYwdaCfO.js";
|
|
19
19
|
import { t as C } from "./_baseIteratee.DWc2-Bvm.js";
|
|
@@ -23,7 +23,7 @@ import { t as w } from "./repeat.CKv9FPlC.js";
|
|
|
23
23
|
import { t as ae } from "./input.B3HfssSr.js";
|
|
24
24
|
import { t as oe } from "./option.9V-nTQp7.js";
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
|
-
import { t as ce } from "./select.
|
|
26
|
+
import { t as ce } from "./select.DJ_bfkBn.js";
|
|
27
27
|
import { t as le } from "./tab.BnFmdiPK.js";
|
|
28
28
|
import { t as T } from "./tab-group.BVYwTGDS.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
@@ -18,7 +18,7 @@ import { t as C } from "./tag.ajqJVQQB.js";
|
|
|
18
18
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
19
19
|
import { t as T } from "./input.B3HfssSr.js";
|
|
20
20
|
import { t as E } from "./space.Dd8jezXK.js";
|
|
21
|
-
import { t as D } from "./select.
|
|
21
|
+
import { t as D } from "./select.DJ_bfkBn.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { n as k } from "./asset-link-format.DhdgEsA0.js";
|
|
24
24
|
import { a as A, i as j } from "./tree.huEm605f.js";
|
|
@@ -15,7 +15,7 @@ import { t as y } from "./repeat.CKv9FPlC.js";
|
|
|
15
15
|
import { t as b } from "./input.B3HfssSr.js";
|
|
16
16
|
import { t as x } from "./option.9V-nTQp7.js";
|
|
17
17
|
import { t as S } from "./space.Dd8jezXK.js";
|
|
18
|
-
import { t as C } from "./select.
|
|
18
|
+
import { t as C } from "./select.DJ_bfkBn.js";
|
|
19
19
|
//#region ../../packages/types/src/pagination.ts
|
|
20
20
|
var w = /* @__PURE__ */ function(e) {
|
|
21
21
|
return e.Both = "both", e.Pages = "pages", e.Rows = "rows", e;
|
|
@@ -27,7 +27,7 @@ import { t as P } from "./unsafe-html.Cb838aX7.js";
|
|
|
27
27
|
//#region ../../packages/atoms/src/utilities/type-check.ts
|
|
28
28
|
var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), I = t`:host{display:block}:host([data-user-invalid])::part(combobox){border-color:var(--cx-input-invalid-border-color)}:host([data-user-invalid]:focus-within)::part(combobox){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.select{vertical-align:middle;flex:auto;width:100%;display:inline-flex;position:relative}.select::part(popup){z-index:var(--cx-z-index-dropdown)}.select[data-current-placement^=top]::part(popup){transform-origin:bottom}.select[data-current-placement^=bottom]::part(popup){transform-origin:top}.select__combobox{font-family:var(--cx-input-font-family);font-weight:var(--cx-input-font-weight);letter-spacing:var(--cx-input-letter-spacing);vertical-align:middle;cursor:pointer;transition:var(--cx-transition-fast) color, var(--cx-transition-fast) border, var(--cx-transition-fast) box-shadow, var(--cx-transition-fast) background-color;flex:1;justify-content:start;align-items:center;width:20ch;min-width:0;display:flex;position:relative;overflow:hidden}.select__display-input{width:100%;font:inherit;color:var(--cx-input-color);cursor:inherit;-webkit-appearance:none;text-overflow:ellipsis;background:0 0;border:none;margin:0;padding:0;transition:padding-top .2s ease-in-out;position:relative;overflow:hidden}:host([allow-freetext]) .input-container,:host([allow-freetext]) .select__display-input{cursor:text}:host([allow-freetext]) .select--disabled .input-container,:host([allow-freetext]) .select--disabled .select__display-input{cursor:default}.select__tags+.select__display-input{padding-top:var(--cx-spacing-2x-small)}.select__display-input--small{line-height:var(--cx-line-height-small)}.select__display-input--medium{line-height:var(--cx-line-height-medium)}.select__display-input--large{line-height:var(--cx-line-height-large)}.select__display-input--hidden{visibility:hidden;height:0;padding-top:0!important}.form-control--has-label .select__display-input{padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-2x-small)}.select__display-input::placeholder{color:var(--cx-input-placeholder-color)}.select:not(.select--disabled):hover .select__display-input{color:var(--cx-input-color-hover)}.select:not(.select--disabled):hover .select__combobox{border-color:var(--cx-input-border-color-hover)}.select__display-input:focus{outline:none}.select__value-input{opacity:0;z-index:-1;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0}.select__tags{flex-wrap:wrap;align-items:center;max-width:100%;display:flex}.form-control--has-label .select__tags{margin-top:var(--cx-spacing-x-small)}.select--small:not(.select--placeholder-visible) .select__tags,.select--medium:not(.select--placeholder-visible) .select__tags,.select--large:not(.select--placeholder-visible) .select__tags{min-height:var(--cx-line-height-medium)}.select__tags::slotted(cx-tag){cursor:pointer!important}.select--disabled .select__tags,.select--disabled .select__tags::slotted(cx-tag){cursor:default!important}.select__tag-wrapper{line-height:1}.select--standard .select__combobox{background-color:var(--cx-input-background-color);border:solid var(--cx-input-border-width) var(--cx-input-border-color)}.select--standard.select--disabled .select__combobox{background-color:var(--cx-input-background-color-disabled);border-color:var(--cx-input-border-color-disabled);color:var(--cx-input-color-disabled);opacity:.5;cursor:default;outline:none}.select--standard:not(.select--disabled).select--open .select__combobox,.select--standard:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-background-color-focus);border-color:var(--cx-input-border-color-focus)}.select--filled .select__combobox{background-color:var(--cx-input-filled-background-color);color:var(--cx-input-color);border:none}.select--filled:hover:not(.select--disabled) .select__combobox{background-color:var(--cx-input-filled-background-color-hover)}.select--filled.select--disabled .select__combobox{background-color:var(--cx-input-filled-background-color-disabled);opacity:.5;cursor:default}.select--filled:not(.select--disabled).select--open .select__combobox,.select--filled:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-filled-background-color-focus);outline:var(--cx-focus-ring)}.select--small .select__combobox{border-radius:var(--cx-input-border-radius-small);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-small);padding-block:0;padding-inline:var(--cx-input-spacing-small)}.form-control:not(.form-control--has-label) .select--small.select--multiple .select__combobox{padding-block:2px}.form-control:not(.form-control--has-label) .select--multiple .select__display-input{margin-top:0}.form-control:not(.form-control--has-label) .input-container{justify-content:center}.form-control:not(.form-control--has-label) .input-container .select__display-input{margin-top:0}.select--small .select__clear{margin-inline-start:var(--cx-input-spacing-small)}.select--small .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-small)}.select--small .select__tags{gap:2px}.select--medium .select__combobox{border-radius:var(--cx-input-border-radius-medium);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-medium);padding-block:0;padding-inline:var(--cx-input-spacing-medium)}.form-control:not(.form-control--has-label) .select--medium.select--multiple .select__combobox{padding-block:3px}.select--medium .select__clear{margin-inline-start:var(--cx-input-spacing-medium)}.select--medium .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-medium)}.select--medium .select__tags{gap:3px}.select--large .select__combobox{border-radius:var(--cx-input-border-radius-large);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-large);padding-block:0;padding-inline:var(--cx-input-spacing-large)}.form-control:not(.form-control--has-label) .select--large.select--multiple .select__combobox{padding-block:4px}.select--large .select__clear{margin-inline-start:var(--cx-input-spacing-large)}.select--large .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-large)}.select--large .select__tags{gap:4px}.select--pill.select--small .select__combobox{border-radius:var(--cx-input-height-small)}.select--pill.select--medium .select__combobox{border-radius:var(--cx-input-height-medium)}.select--pill.select--large .select__combobox{border-radius:var(--cx-input-height-large)}.select__prefix,.select__suffix{color:var(--cx-input-placeholder-color);flex:0;align-items:center;display:inline-flex}.select__clear{font-size:inherit;color:var(--cx-input-icon-color);transition:var(--cx-transition-fast) color;cursor:pointer;z-index:1;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.select__clear:hover{color:var(--cx-input-icon-color-hover)}.select__clear:focus{outline:none}.select__expand-icon{transition:var(--cx-transition-medium) rotate ease;rotate:0;font-size:var(--cx-font-size-large);flex:none;align-items:center;margin-inline-start:var(--cx-spacing-small);display:flex}.select--open .select__expand-icon{rotate:var(--cx-select-expand-icon-rotate-open,-180deg)}.select__listbox{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);box-shadow:var(--cx-shadow-large);background:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-radius:var(--cx-border-radius-large);padding-block:var(--cx-spacing-x-small);overscroll-behavior:none;max-width:var(--auto-size-available-width);max-height:var(--select-max-height,var(--auto-size-available-height));padding-inline:0;display:block;position:relative;overflow:auto}.select__listbox ::slotted(cx-divider){--spacing:var(--cx-spacing-x-small);width:calc(100% - (var(--cx-spacing-x-small) * 2));margin-inline:auto}.select__listbox ::slotted(small){font-size:var(--cx-font-size-x-small);font-weight:var(--cx-font-weight-medium);line-height:var(--cx-line-height-x-small);color:var(--cx-color-neutral-600);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);display:block}.select__no-options{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:left;cursor:default;user-select:none;display:block}.input-container{flex-direction:column;flex:1;align-self:stretch;width:0;display:inline-flex;position:relative}.input-container__display-value{column-gap:var(--cx-spacing-small);row-gap:var(--cx-spacing-3x-small);flex-flow:wrap;width:100%;height:100%;display:flex}.form-control__label{pointer-events:none;width:fit-content;line-height:1;-webkit-transition:transform .2s ease-in-out;-moz-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;position:relative}.select--small .form-control__label{transform:translateY(calc(( var(--cx-input-height-small) + 1.25rem - var(--cx-input-font-size-small) ) / 2));margin:0}.select--medium .form-control__label{transform:translateY(calc(( var(--cx-input-height-medium) / 2 + 1rem - var(--cx-input-font-size-medium) )));margin:0}.select--large .form-control__label{transform:translateY(calc(( var(--cx-input-height-large) + 1rem - var(--cx-input-font-size-large) ) / 2));margin:0}.form-control--has-label .select--small{min-height:calc(var(--cx-input-height-small) + 1rem)}.form-control--has-label .select--medium{min-height:calc(var(--cx-input-height-medium) + 1rem)}.form-control--has-label .select--large{min-height:calc(var(--cx-input-height-large) + 1rem)}.form-control--has-label .select--focused .form-control__label,.form-control--has-label .select--placeholder-visible .form-control__label,.form-control--has-label .select:not(.select--empty) .form-control__label{transform:translateY(calc(var(--cx-spacing-2x-small) + var(--cx-spacing-3x-small)))}.select__listbox slot{flex-direction:column;display:flex}:host([data-cx-input-group__input--first]:not([data-cx-input-group__input--last])) .select__combobox{border-start-end-radius:0;border-end-end-radius:0}:host([data-cx-input-group__input--inner]) .select__combobox{border-radius:0}:host([data-cx-input-group__input--last]:not([data-cx-input-group__input--first])) .select__combobox{border-start-start-radius:0;border-end-start-radius:0}:host([data-cx-input-group__input]:not([data-cx-input-group__input--first])){margin-inline-start:calc(-1 * var(--cx-input-border-width))}:host([data-cx-input-group__input--hover]){z-index:1}:host([data-cx-input-group__input--focus]),:host([data-cx-input-group__input][checked]){z-index:2}`, L = class extends s {
|
|
29
29
|
constructor(...t) {
|
|
30
|
-
super(...t), this.formControlController = new w(this, { assumeInteractionOn: ["cx-input"] }), this.hasSlotController = new g(this, "help-text", "label"), this.localize = new h(this), this.typeToSelectString = "", this.openListenersRoot = null, this.hasFocus = !1, this.displayLabel = "", this.selectedOptions = [], this.name = "", this.value = "", this.fallbackOptionValue = "", this.defaultValue = "", this.size = "medium", this.placeholder = "", this.allowFreetext = !1, this.multiple = !1, this.maxOptionsVisible = 3, this.disabled = !1, this.clearable = !1, this.open = !1, this.hoist = !1, this.noFlip = !1, this.freeWidth = !1, this.autosizePadding = 10, this.filled = !1, this.pill = !1, this.label = "", this.placement = "bottom", this.helpText = "", this.form = void 0, this.required = !1, this.useTag = !1, this.noSelectOnEnter = !1, this.noResetCurrent = !1, this.noDropdown = !1, this.loading = !1, this.getTag = (t) => {
|
|
30
|
+
super(...t), this.formControlController = new w(this, { assumeInteractionOn: ["cx-input"] }), this.hasSlotController = new g(this, "help-text", "label"), this.localize = new h(this), this.typeToSelectString = "", this.openListenersRoot = null, this.hasFocus = !1, this.displayLabel = "", this.selectedOptions = [], this.name = "", this.value = "", this.fallbackOptionValue = "", this.matchEmptyValue = !1, this.defaultValue = "", this.size = "medium", this.placeholder = "", this.allowFreetext = !1, this.multiple = !1, this.maxOptionsVisible = 3, this.disabled = !1, this.clearable = !1, this.open = !1, this.hoist = !1, this.noFlip = !1, this.freeWidth = !1, this.autosizePadding = 10, this.filled = !1, this.pill = !1, this.label = "", this.placement = "bottom", this.helpText = "", this.form = void 0, this.required = !1, this.useTag = !1, this.noSelectOnEnter = !1, this.noResetCurrent = !1, this.noDropdown = !1, this.loading = !1, this.getTag = (t) => {
|
|
31
31
|
let n = this.hasSlotController.test("label"), r = this.label || n ? this.size === "large" ? "medium" : "small" : this.size;
|
|
32
32
|
return e`<cx-tag part="tag" exportparts="
|
|
33
33
|
base:tag__base,
|
|
@@ -252,6 +252,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
252
252
|
getOptionsForValue(e, t = this.getAllOptions()) {
|
|
253
253
|
let n = [], r = this.fallbackOptionValue ? t.find((e) => this.getOptionValue(e) === this.fallbackOptionValue) : void 0, i = !1;
|
|
254
254
|
return e.forEach((e) => {
|
|
255
|
+
if (e === "" && !this.matchEmptyValue) return;
|
|
255
256
|
let r = t.find((t) => this.getOptionValue(t) === e);
|
|
256
257
|
r ? n.push(r) : e !== "" && (i = !0);
|
|
257
258
|
}), i && r && n.push(r), {
|
|
@@ -389,7 +390,10 @@ a([c(".select"), o("design:type", l === void 0 ? Object : l)], L.prototype, "pop
|
|
|
389
390
|
} }), o("design:type", Object)], L.prototype, "value", void 0), a([r({
|
|
390
391
|
attribute: "fallback-option-value",
|
|
391
392
|
type: String
|
|
392
|
-
}), o("design:type", Object)], L.prototype, "fallbackOptionValue", void 0), a([
|
|
393
|
+
}), o("design:type", Object)], L.prototype, "fallbackOptionValue", void 0), a([r({
|
|
394
|
+
attribute: "match-empty-value",
|
|
395
|
+
type: Boolean
|
|
396
|
+
}), o("design:type", Object)], L.prototype, "matchEmptyValue", void 0), a([k(), o("design:type", Object)], L.prototype, "defaultValue", void 0), a([r({ reflect: !0 }), o("design:type", String)], L.prototype, "size", void 0), a([r(), o("design:type", Object)], L.prototype, "placeholder", void 0), a([r({
|
|
393
397
|
attribute: "allow-freetext",
|
|
394
398
|
reflect: !0,
|
|
395
399
|
type: Boolean
|
|
@@ -481,6 +485,7 @@ a([c(".select"), o("design:type", l === void 0 ? Object : l)], L.prototype, "pop
|
|
|
481
485
|
_("getOptionSelected", { waitUntilFirstUpdate: !0 }),
|
|
482
486
|
_("getOptionDisabled", { waitUntilFirstUpdate: !0 }),
|
|
483
487
|
_("fallbackOptionValue", { waitUntilFirstUpdate: !0 }),
|
|
488
|
+
_("matchEmptyValue", { waitUntilFirstUpdate: !0 }),
|
|
484
489
|
o("design:type", Function),
|
|
485
490
|
o("design:paramtypes", []),
|
|
486
491
|
o("design:returntype", void 0)
|
|
@@ -6,7 +6,7 @@ import { t as c } from "./repeat.CKv9FPlC.js";
|
|
|
6
6
|
import { t as l } from "./input.B3HfssSr.js";
|
|
7
7
|
import { t as u } from "./space.Dd8jezXK.js";
|
|
8
8
|
import { t as d } from "./input-group.Dmd8XcxL.js";
|
|
9
|
-
import { t as f } from "./bicolor-picker.
|
|
9
|
+
import { t as f } from "./bicolor-picker.prO-_6Je.js";
|
|
10
10
|
//#region ../../packages/molecules/src/shadow-input-group/shadow-input-group.styles.ts
|
|
11
11
|
var p = t``, m = class extends a {
|
|
12
12
|
constructor(...e) {
|
|
@@ -11,7 +11,7 @@ import { t as m } from "./tooltip.CGCOh4cQ.js";
|
|
|
11
11
|
import { t as h } from "./default-value.opqQgoRT.js";
|
|
12
12
|
import { t as g } from "./input.B3HfssSr.js";
|
|
13
13
|
import { t as _ } from "./space.Dd8jezXK.js";
|
|
14
|
-
import { t as v } from "./select.
|
|
14
|
+
import { t as v } from "./select.DJ_bfkBn.js";
|
|
15
15
|
//#region ../../packages/types/src/size-input-group.ts
|
|
16
16
|
var y = /* @__PURE__ */ function(e) {
|
|
17
17
|
return e.Percentage = "percentage", e.Pixel = "pixel", e;
|
|
@@ -30,12 +30,12 @@ import "./menu-item.D-IE19Jn.js";
|
|
|
30
30
|
import "./textarea.Bc4eCJgT.js";
|
|
31
31
|
import "./option.9V-nTQp7.js";
|
|
32
32
|
import "./space.Dd8jezXK.js";
|
|
33
|
-
import "./select.
|
|
33
|
+
import "./select.DJ_bfkBn.js";
|
|
34
34
|
import "./tab.BnFmdiPK.js";
|
|
35
35
|
import "./tab-group.BVYwTGDS.js";
|
|
36
36
|
import "./tab-panel.BxeoKuSv.js";
|
|
37
37
|
import "./visually-hidden.Bv3SInZp.js";
|
|
38
|
-
import "./color-picker.
|
|
38
|
+
import "./color-picker.NfX8mIq2.js";
|
|
39
39
|
import "./copy-button.BLHge7EN.js";
|
|
40
40
|
import "./date-calendar.UWxXkZCn.js";
|
|
41
41
|
import "./details.DLqFxjTf.js";
|
|
@@ -67,7 +67,7 @@ import "./markdown.C-q35PEY.js";
|
|
|
67
67
|
import "./menu-label.B-FOyfAX.js";
|
|
68
68
|
import "./menu-section.BzzA6L5E.js";
|
|
69
69
|
import "./mutation-observer.CD5prBIP.js";
|
|
70
|
-
import "./pagination.
|
|
70
|
+
import "./pagination.Cs-s_PTI.js";
|
|
71
71
|
import "./progress-ring.CMylJgKR.js";
|
|
72
72
|
import "./qr-code.SwjFPrvB.js";
|
|
73
73
|
import "./radio.DhPbmKbQ.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.DW4-Yf4S.js";
|
|
2
2
|
export { e as default };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.CuW7fOVy.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.C8E60TXK.js";
|
|
12
12
|
import { t as h } from "../chunks/button.Ccrk9fUD.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.CGCOh4cQ.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -32,12 +32,12 @@ import { t as P } from "../chunks/menu-item.D-IE19Jn.js";
|
|
|
32
32
|
import { t as F } from "../chunks/textarea.Bc4eCJgT.js";
|
|
33
33
|
import { t as I } from "../chunks/option.9V-nTQp7.js";
|
|
34
34
|
import { t as L } from "../chunks/space.Dd8jezXK.js";
|
|
35
|
-
import { t as R } from "../chunks/select.
|
|
35
|
+
import { t as R } from "../chunks/select.DJ_bfkBn.js";
|
|
36
36
|
import { t as z } from "../chunks/tab.BnFmdiPK.js";
|
|
37
37
|
import { t as B } from "../chunks/tab-group.BVYwTGDS.js";
|
|
38
38
|
import { t as V } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
39
39
|
import { t as H } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
40
|
-
import { t as U } from "../chunks/color-picker.
|
|
40
|
+
import { t as U } from "../chunks/color-picker.NfX8mIq2.js";
|
|
41
41
|
import { t as W } from "../chunks/copy-button.BLHge7EN.js";
|
|
42
42
|
import { t as G } from "../chunks/date-calendar.UWxXkZCn.js";
|
|
43
43
|
import { t as K } from "../chunks/details.DLqFxjTf.js";
|
|
@@ -69,7 +69,7 @@ import { t as _e } from "../chunks/markdown.C-q35PEY.js";
|
|
|
69
69
|
import { t as ve } from "../chunks/menu-label.B-FOyfAX.js";
|
|
70
70
|
import { t as ye } from "../chunks/menu-section.BzzA6L5E.js";
|
|
71
71
|
import { t as be } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
72
|
-
import { t as xe } from "../chunks/pagination.
|
|
72
|
+
import { t as xe } from "../chunks/pagination.Cs-s_PTI.js";
|
|
73
73
|
import { t as Se } from "../chunks/progress-ring.CMylJgKR.js";
|
|
74
74
|
import { t as Ce } from "../chunks/qr-code.SwjFPrvB.js";
|
|
75
75
|
import { t as we } from "../chunks/radio.DhPbmKbQ.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.prO-_6Je.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/border-input-group.Cl0Cm8q9.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-picker.
|
|
1
|
+
import { t as e } from "../chunks/color-picker.NfX8mIq2.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.Dp778XL2.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/corner-position-input-group.
|
|
1
|
+
import { t as e } from "../chunks/corner-position-input-group.BAvx6UsV.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/dynamic-select.
|
|
1
|
+
import { t as e } from "../chunks/dynamic-select.o5G8iUV1.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.DVR8fBgK.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/folder-select.
|
|
1
|
+
import { t as e } from "../chunks/folder-select.DA7Ezy8P.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
2
|
-
import { t } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.prO-_6Je.js";
|
|
2
|
+
import { t } from "../chunks/border-input-group.Cl0Cm8q9.js";
|
|
3
3
|
import { t as n } from "../chunks/color-swatch.sY1uNNSe.js";
|
|
4
4
|
import { t as r } from "../chunks/confirm-popover.BjAGzV05.js";
|
|
5
|
-
import { t as i } from "../chunks/corner-position-input-group.
|
|
5
|
+
import { t as i } from "../chunks/corner-position-input-group.BAvx6UsV.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.D4ymxgab.js";
|
|
7
|
-
import { t as o } from "../chunks/dynamic-select.
|
|
8
|
-
import { t as s } from "../chunks/folder-select.
|
|
7
|
+
import { t as o } from "../chunks/dynamic-select.o5G8iUV1.js";
|
|
8
|
+
import { t as s } from "../chunks/folder-select.DA7Ezy8P.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.D7YK0FcU.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.DKIv6567.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.CyXlSYCi.js";
|
|
12
|
-
import { t as d } from "../chunks/shadow-input-group.
|
|
12
|
+
import { t as d } from "../chunks/shadow-input-group.xfWQsQH6.js";
|
|
13
13
|
import { t as f } from "../chunks/share-option-list.BO50cnCs.js";
|
|
14
14
|
import { t as p } from "../chunks/sidebar.CDTaDQY_.js";
|
|
15
|
-
import { t as m } from "../chunks/size-input-group.
|
|
15
|
+
import { t as m } from "../chunks/size-input-group.DvTF3TsD.js";
|
|
16
16
|
import { t as h } from "../chunks/stepper-wizard.Bydp0R7p.js";
|
|
17
17
|
import { t as g } from "../chunks/typeface.CtBzG7NU.js";
|
|
18
18
|
export { e as CxBicolorPicker, t as CxBorderInputGroup, n as CxColorSwatch, r as CxConfirmPopover, i as CxCornerPositionInputGroup, a as CxCropper, o as CxDynamicSelect, s as CxFolderSelect, c as CxMasonry, l as CxPaddingInputGroup, u as CxPositionPicker, d as CxShadowInputGroup, f as CxShareOptionList, p as CxSidebar, m as CxSizeInputGroup, h as CxStepperWizard, g as CxTypeface };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.DW4-Yf4S.js";
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.Dp778XL2.js";
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.DVR8fBgK.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/pagination.
|
|
1
|
+
import { t as e } from "../chunks/pagination.Cs-s_PTI.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/select.
|
|
1
|
+
import { t as e } from "../chunks/select.DJ_bfkBn.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/shadow-input-group.
|
|
1
|
+
import { t as e } from "../chunks/shadow-input-group.xfWQsQH6.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/size-input-group.
|
|
1
|
+
import { t as e } from "../chunks/size-input-group.DvTF3TsD.js";
|
|
2
2
|
export { e as default };
|
|
@@ -24,7 +24,7 @@ import { t as ue } from "../chunks/alert.CuW7fOVy.js";
|
|
|
24
24
|
import { t as de } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as fe } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as I } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as pe, r as me, t as he } from "../chunks/src.
|
|
27
|
+
import { n as pe, r as me, t as he } from "../chunks/src.C8E60TXK.js";
|
|
28
28
|
import { t as ge } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { n as _e, t as ve } from "../chunks/button.Ccrk9fUD.js";
|
|
30
30
|
import { c as ye, i as be, l as xe, o as Se, r as Ce, s as we } from "../chunks/resizable-component.styles.v9pbLDG5.js";
|
|
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
|
38
38
|
import { t as At } from "../chunks/line-clamp.DV3tlosD.js";
|
|
39
39
|
import { t as jt } from "../chunks/tag.ajqJVQQB.js";
|
|
40
40
|
import { t as Mt } from "../chunks/array-line-clamp.VOjhwp2T.js";
|
|
41
|
-
import { C as Nt, D as Pt, E as Ft, O as It, S as Lt, T as Rt, b as zt, d as Bt, f as Vt, o as Ht, p as Ut, r as Wt, s as Gt, t as Kt, u as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.
|
|
41
|
+
import { C as Nt, D as Pt, E as Ft, O as It, S as Lt, T as Rt, b as zt, d as Bt, f as Vt, o as Ht, p as Ut, r as Wt, s as Gt, t as Kt, u as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.MJd4A-sP.js";
|
|
42
42
|
import { n as Zt, t as Qt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as $t, i as en, n as tn, o as nn, r as rn, s as an, t as on } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as sn, c as cn, i as ln, n as un, o as dn, r as fn, t as pn, u as mn } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -74,7 +74,7 @@ import { n as xr, t as Sr } from "../chunks/active-elements.Tk45XSNQ.js";
|
|
|
74
74
|
import { i as Cr, n as wr, r as Tr, t as Er } from "../chunks/scroll.CEH_a4pm.js";
|
|
75
75
|
import { t as Dr } from "../chunks/user-agent.D2bRhUeS.js";
|
|
76
76
|
import { t as Or } from "../chunks/unsafe-html.Cb838aX7.js";
|
|
77
|
-
import { t as kr } from "../chunks/select.
|
|
77
|
+
import { t as kr } from "../chunks/select.DJ_bfkBn.js";
|
|
78
78
|
import { t as Ar } from "../chunks/tab.BnFmdiPK.js";
|
|
79
79
|
import { a as jr, i as Mr, n as Nr, r as Pr, t as Fr } from "../chunks/tab-group.BVYwTGDS.js";
|
|
80
80
|
import { t as Ir } from "../chunks/parse.CDrJ-NY7.js";
|
|
@@ -82,7 +82,7 @@ import { t as Lr } from "../chunks/guard.Cf17k6Vx.js";
|
|
|
82
82
|
import { t as Rr } from "../chunks/map.ByDuLduF.js";
|
|
83
83
|
import { t as zr } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
84
84
|
import { t as Br } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
85
|
-
import { t as Vr } from "../chunks/color-picker.
|
|
85
|
+
import { t as Vr } from "../chunks/color-picker.NfX8mIq2.js";
|
|
86
86
|
import { t as Hr } from "../chunks/copy-button.BLHge7EN.js";
|
|
87
87
|
import { S as Ur, _ as Wr, a as Gr, b as Kr, c as qr, d as Jr, f as Yr, g as Xr, h as Zr, i as Qr, l as $r, m as ei, n as ti, o as ni, p as ri, r as ii, s as ai, t as oi, u as si, v as ci, x as li, y as ui } from "../chunks/date.BL4L64Hx.js";
|
|
88
88
|
import { t as di } from "../chunks/date-calendar.UWxXkZCn.js";
|
|
@@ -126,7 +126,7 @@ import { a as Yo, i as Xo, n as Zo, o as Qo, r as $o, t as es } from "../chunks/
|
|
|
126
126
|
import { t as ts } from "../chunks/menu-label.B-FOyfAX.js";
|
|
127
127
|
import { t as ns } from "../chunks/menu-section.BzzA6L5E.js";
|
|
128
128
|
import { t as rs } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
129
|
-
import { t as is } from "../chunks/pagination.
|
|
129
|
+
import { t as is } from "../chunks/pagination.Cs-s_PTI.js";
|
|
130
130
|
import { t as as } from "../chunks/progress-ring.CMylJgKR.js";
|
|
131
131
|
import { t as ss } from "../chunks/qr-code.SwjFPrvB.js";
|
|
132
132
|
import { t as cs } from "../chunks/radio.DhPbmKbQ.js";
|
|
@@ -144,33 +144,33 @@ import { t as ys } from "../chunks/timecode.Bte9Ww5o.js";
|
|
|
144
144
|
import { a as bs, i as xs, o as Ss } from "../chunks/tree.huEm605f.js";
|
|
145
145
|
import { t as Cs } from "../chunks/v4.JyXW8GUB.js";
|
|
146
146
|
import { n as ws, t as Ts } from "../chunks/video.Be2Oh_tS.js";
|
|
147
|
-
import { t as Es } from "../chunks/bicolor-picker.
|
|
148
|
-
import { t as Ds } from "../chunks/border-input-group.
|
|
147
|
+
import { t as Es } from "../chunks/bicolor-picker.prO-_6Je.js";
|
|
148
|
+
import { t as Ds } from "../chunks/border-input-group.Cl0Cm8q9.js";
|
|
149
149
|
import { t as Os } from "../chunks/color-swatch.sY1uNNSe.js";
|
|
150
150
|
import { t as ks } from "../chunks/confirm-popover.BjAGzV05.js";
|
|
151
|
-
import { t as As } from "../chunks/corner-position-input-group.
|
|
151
|
+
import { t as As } from "../chunks/corner-position-input-group.BAvx6UsV.js";
|
|
152
152
|
import { t as js } from "../chunks/cropper.D4ymxgab.js";
|
|
153
153
|
import { t as Ms } from "../chunks/toNumber.BBjIwSoo.js";
|
|
154
154
|
import { t as Ns } from "../chunks/debounce.DrhImrNP.js";
|
|
155
|
-
import { t as Ps } from "../chunks/dynamic-select.
|
|
155
|
+
import { t as Ps } from "../chunks/dynamic-select.o5G8iUV1.js";
|
|
156
156
|
import { f as Fs, i as Is } from "../chunks/endpoints.jOHOmF_t.js";
|
|
157
|
-
import { r as Ls, t as Rs } from "../chunks/folder-select.
|
|
157
|
+
import { r as Ls, t as Rs } from "../chunks/folder-select.DA7Ezy8P.js";
|
|
158
158
|
import { t as zs } from "../chunks/choose.C2vpqhLc.js";
|
|
159
159
|
import { t as Bs } from "../chunks/masonry.D7YK0FcU.js";
|
|
160
160
|
import { t as Vs } from "../chunks/padding-input-group.DKIv6567.js";
|
|
161
161
|
import { t as Hs } from "../chunks/position-picker.CyXlSYCi.js";
|
|
162
|
-
import { t as Us } from "../chunks/shadow-input-group.
|
|
162
|
+
import { t as Us } from "../chunks/shadow-input-group.xfWQsQH6.js";
|
|
163
163
|
import { t as Ws } from "../chunks/share-option-list.BO50cnCs.js";
|
|
164
164
|
import { t as Gs } from "../chunks/sidebar.CDTaDQY_.js";
|
|
165
|
-
import { t as Ks } from "../chunks/size-input-group.
|
|
165
|
+
import { t as Ks } from "../chunks/size-input-group.DvTF3TsD.js";
|
|
166
166
|
import { t as qs } from "../chunks/stepper-wizard.Bydp0R7p.js";
|
|
167
167
|
import { t as Js } from "../chunks/typeface.CtBzG7NU.js";
|
|
168
|
-
import { T as Ys, _ as Xs, a as Zs, b as Qs, c as $s, d as ec, l as tc, m as nc, n as rc, o as ic, s as ac, t as oc, v as sc } from "../chunks/asset-link-format.
|
|
169
|
-
import { c as cc, h as lc, l as uc, m as dc, p as fc, t as pc, u as mc } from "../chunks/color-swatch-group.
|
|
168
|
+
import { T as Ys, _ as Xs, a as Zs, b as Qs, c as $s, d as ec, l as tc, m as nc, n as rc, o as ic, s as ac, t as oc, v as sc } from "../chunks/asset-link-format.DW4-Yf4S.js";
|
|
169
|
+
import { c as cc, h as lc, l as uc, m as dc, p as fc, t as pc, u as mc } from "../chunks/color-swatch-group.Dp778XL2.js";
|
|
170
170
|
import { n as hc } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
|
-
import { t as gc } from "../chunks/file-on-demand.
|
|
171
|
+
import { t as gc } from "../chunks/file-on-demand.DVR8fBgK.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { $ as _c, A as vc, D as yc, E as bc, F as xc, G as Sc, I as Cc, K as eee, M as tee, N as nee, O as ree, P as iee, Q as wc, S as Tc, T as aee, U as oee, W as Ec, Z as Dc, _ as see, a as cee, b as Oc, c as kc, d as Ac, et as jc, h as Mc, i as Nc, j as lee, k as uee, l as dee, m as fee, nt as pee, r as mee, s as Pc, t as Fc, tt as Ic, u as Lc, v as Rc, w as zc, x as Bc } from "../chunks/configs-controller.
|
|
173
|
+
import { $ as _c, A as vc, D as yc, E as bc, F as xc, G as Sc, I as Cc, K as eee, M as tee, N as nee, O as ree, P as iee, Q as wc, S as Tc, T as aee, U as oee, W as Ec, Z as Dc, _ as see, a as cee, b as Oc, c as kc, d as Ac, et as jc, h as Mc, i as Nc, j as lee, k as uee, l as dee, m as fee, nt as pee, r as mee, s as Pc, t as Fc, tt as Ic, u as Lc, v as Rc, w as zc, x as Bc } from "../chunks/configs-controller.CtIB5Q8R.js";
|
|
174
174
|
import { i as Vc } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as Hc, c as Uc, d as Wc, f as Gc, i as Kc, l as qc, n as Jc, o as Yc, r as Xc, s as Zc, t as Qc, u as $c } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as el } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -14339,8 +14339,8 @@ var f_ = ({ data: e, id: t, label: n, selected: r, source: i, sourcePosition: a,
|
|
|
14339
14339
|
]) });
|
|
14340
14340
|
let oe = (0, V.useCallback)(() => {
|
|
14341
14341
|
if (!y) return;
|
|
14342
|
-
let e = _()[0], t = b.current?.clientHeight || 0, n = e?.position.x
|
|
14343
|
-
v(
|
|
14342
|
+
let e = _()[0], t = b.current?.clientHeight || 0, n = e?.measured?.width ?? e?.width ?? 360, r = e ? e.position.x + n / 2 : 0, i = t / 2 / 1 - 29;
|
|
14343
|
+
v(r, i, { zoom: 1 });
|
|
14344
14344
|
}, [
|
|
14345
14345
|
_,
|
|
14346
14346
|
v,
|
|
@@ -95017,7 +95017,7 @@ var zTe = [
|
|
|
95017
95017
|
return this.mappedSupportedLanguages.length > 1;
|
|
95018
95018
|
}
|
|
95019
95019
|
ensureConfigUi() {
|
|
95020
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95020
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.BzHT9Ws9.js"), import("../chunks/configs-controller.CtIB5Q8R.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95021
95021
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95022
95022
|
});
|
|
95023
95023
|
}
|
package/library/package.json
CHANGED
|
@@ -99,6 +99,11 @@ export default class CxSelect extends CortexElement implements CortexFormControl
|
|
|
99
99
|
* The original unmatched value is preserved for form submission.
|
|
100
100
|
*/
|
|
101
101
|
fallbackOptionValue: string;
|
|
102
|
+
/**
|
|
103
|
+
* Lets an empty value select the option whose value is an empty string, such as a "None" option.
|
|
104
|
+
* Off by default because an option without a declared value also has an empty value.
|
|
105
|
+
*/
|
|
106
|
+
matchEmptyValue: boolean;
|
|
102
107
|
/**
|
|
103
108
|
* The default value of the form control. Primarily used for resetting the form control.
|
|
104
109
|
*/
|
|
@@ -99,6 +99,9 @@ export default class CxBoard extends CortexElement {
|
|
|
99
99
|
private end;
|
|
100
100
|
private previous;
|
|
101
101
|
private lastSelectedItem;
|
|
102
|
+
/** Last pointer `clientY` during a drag. */
|
|
103
|
+
private dragPointerY;
|
|
104
|
+
private dragScrollFrame;
|
|
102
105
|
get selectedCount(): number;
|
|
103
106
|
/**
|
|
104
107
|
* Whether the tick, rather than the dash, is what the header should show.
|
|
@@ -123,6 +126,8 @@ export default class CxBoard extends CortexElement {
|
|
|
123
126
|
*/
|
|
124
127
|
get selectableItems(): BoardItem[];
|
|
125
128
|
constructor();
|
|
129
|
+
runConnectedCallback(): void;
|
|
130
|
+
disconnectedCallback(): void;
|
|
126
131
|
private resetSelectedItems;
|
|
127
132
|
/** Handles the update of items in the board. */
|
|
128
133
|
private handleUpdateEvent;
|
|
@@ -154,6 +159,9 @@ export default class CxBoard extends CortexElement {
|
|
|
154
159
|
private selectSingleItem;
|
|
155
160
|
private handleItemKeydown;
|
|
156
161
|
handleStart(evt: Sortable.SortableEvent): void;
|
|
162
|
+
private handleDragPointerMove;
|
|
163
|
+
/** Replaces Sortable's auto-scroll, which cannot see lists inside the shadow root. */
|
|
164
|
+
private autoScrollDraggedList;
|
|
157
165
|
handleUpdate(evt: Sortable.SortableEvent): void;
|
|
158
166
|
/**
|
|
159
167
|
* Keeps disabled (`readonly`) rows fixed relative to each other when other rows are reordered.
|
|
@@ -184,6 +192,7 @@ export default class CxBoard extends CortexElement {
|
|
|
184
192
|
* real item.
|
|
185
193
|
*/
|
|
186
194
|
private resolveRealInsertIndex;
|
|
195
|
+
private resolveDropIndex;
|
|
187
196
|
private initSortable;
|
|
188
197
|
/** Initializes the sortable functionality for the list element. */
|
|
189
198
|
runFirstUpdated(): void;
|
|
@@ -24,6 +24,8 @@ export type CxAssetLinkFormatChangeEvent = CustomEvent<string>;
|
|
|
24
24
|
* @property {boolean} no-crop - When true, hides the crop panel.
|
|
25
25
|
* @property {boolean} no-resize - When true, hides the resize panel.
|
|
26
26
|
* @property {boolean} no-rotate - When true, hides the rotation panel.
|
|
27
|
+
*
|
|
28
|
+
* @slot footer - Additional content rendered in normal flow after the transformation controls.
|
|
27
29
|
*/
|
|
28
30
|
export default class CxAssetLinkFormat extends CortexElement {
|
|
29
31
|
static readonly styles: CSSResultGroup;
|
|
@@ -1986,6 +1986,10 @@
|
|
|
1986
1986
|
* The fallback option value used when the select value does not match any explicitly declared option. The original unmatched value is preserved for form submission.
|
|
1987
1987
|
*/
|
|
1988
1988
|
fallbackOptionValue?: string;
|
|
1989
|
+
/**
|
|
1990
|
+
* Lets an empty value select the option whose value is an empty string, such as a "None" option. Off by default because an option without a declared value also has an empty value.
|
|
1991
|
+
*/
|
|
1992
|
+
matchEmptyValue?: boolean;
|
|
1989
1993
|
/**
|
|
1990
1994
|
* The default value of the form control. Primarily used for resetting the form control.
|
|
1991
1995
|
*/
|