agnosticui-core 2.0.0-alpha.21 → 2.0.0-alpha.23
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/components/Checkbox/core/_Checkbox.d.ts +6 -0
- package/dist/components/Checkbox/core/_Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/core/_Checkbox.js +44 -36
- package/dist/components/Combobox/core/_Combobox.d.ts +19 -0
- package/dist/components/Combobox/core/_Combobox.d.ts.map +1 -1
- package/dist/components/Combobox/core/_Combobox.js +154 -122
- package/dist/components/Combobox/vue/VueCombobox.vue.d.ts +1 -1
- package/dist/components/Dialog/core/_dialog.d.ts.map +1 -1
- package/dist/components/Dialog/core/_dialog.js +176 -166
- package/dist/components/Dialog/react/ReactDialog.d.ts +27 -8
- package/dist/components/Dialog/react/ReactDialog.d.ts.map +1 -1
- package/dist/components/Dialog/react/ReactDialog.js +32 -10
- package/dist/components/Drawer/react/ReactDrawer.d.ts +27 -8
- package/dist/components/Drawer/react/ReactDrawer.d.ts.map +1 -1
- package/dist/components/Drawer/react/ReactDrawer.js +31 -9
- package/dist/components/Input/core/_Input.d.ts +19 -0
- package/dist/components/Input/core/_Input.d.ts.map +1 -1
- package/dist/components/Input/core/_Input.js +34 -9
- package/dist/components/Radio/core/_Radio.d.ts +5 -0
- package/dist/components/Radio/core/_Radio.d.ts.map +1 -1
- package/dist/components/Radio/core/_Radio.js +38 -31
- package/dist/components/Rating/core/_Rating.d.ts +18 -0
- package/dist/components/Rating/core/_Rating.d.ts.map +1 -1
- package/dist/components/Rating/core/_Rating.js +90 -68
- package/dist/components/Select/core/_Select.d.ts +19 -0
- package/dist/components/Select/core/_Select.d.ts.map +1 -1
- package/dist/components/Select/core/_Select.js +102 -65
- package/dist/components/SelectionButtonGroup/core/_SelectionButtonGroup.d.ts +18 -0
- package/dist/components/SelectionButtonGroup/core/_SelectionButtonGroup.d.ts.map +1 -1
- package/dist/components/SelectionButtonGroup/core/_SelectionButtonGroup.js +54 -32
- package/dist/components/SelectionCardGroup/core/_SelectionCardGroup.d.ts +18 -0
- package/dist/components/SelectionCardGroup/core/_SelectionCardGroup.d.ts.map +1 -1
- package/dist/components/SelectionCardGroup/core/_SelectionCardGroup.js +61 -39
- package/dist/components/Slider/core/_Slider.d.ts +20 -0
- package/dist/components/Slider/core/_Slider.d.ts.map +1 -1
- package/dist/components/Slider/core/_Slider.js +132 -104
- package/dist/components/Toggle/core/_Toggle.d.ts +6 -0
- package/dist/components/Toggle/core/_Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/core/_Toggle.js +94 -86
- package/dist/shared/face-mixin.d.ts +5 -0
- package/dist/shared/face-mixin.d.ts.map +1 -1
- package/dist/shared/face-mixin.js +39 -25
- package/package.json +1 -1
- package/src/components/Checkbox/core/_Checkbox.ts +16 -0
- package/src/components/Combobox/core/_Combobox.ts +53 -0
- package/src/components/Dialog/core/_dialog.ts +19 -2
- package/src/components/Dialog/react/ReactDialog.tsx +60 -3
- package/src/components/Drawer/react/ReactDrawer.tsx +60 -3
- package/src/components/Input/core/_Input.ts +47 -0
- package/src/components/Radio/core/_Radio.ts +14 -0
- package/src/components/Rating/core/_Rating.ts +42 -0
- package/src/components/Select/core/_Select.ts +57 -0
- package/src/components/SelectionButtonGroup/core/_SelectionButtonGroup.ts +48 -0
- package/src/components/SelectionCardGroup/core/_SelectionCardGroup.ts +48 -0
- package/src/components/Slider/core/_Slider.ts +53 -0
- package/src/components/Toggle/core/_Toggle.ts +15 -0
- package/src/shared/face-mixin.ts +48 -6
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { LitElement as p, css as
|
|
1
|
+
import { LitElement as p, css as _, nothing as g, html as c } from "lit";
|
|
2
2
|
import { n as r } from "../../../property-CemaeiRl.js";
|
|
3
|
-
import { r as
|
|
4
|
-
import { FaceMixin as
|
|
3
|
+
import { r as y } from "../../../state-CovhUvdr.js";
|
|
4
|
+
import { FaceMixin as f } from "../../../shared/face-mixin.js";
|
|
5
5
|
var m = Object.defineProperty, o = (d, e, t, s) => {
|
|
6
|
-
for (var
|
|
7
|
-
(
|
|
8
|
-
return
|
|
6
|
+
for (var n = void 0, a = d.length - 1, i; a >= 0; a--)
|
|
7
|
+
(i = d[a]) && (n = i(e, t, n) || n);
|
|
8
|
+
return n && m(e, t, n), n;
|
|
9
9
|
};
|
|
10
|
-
const h = class h extends
|
|
10
|
+
const h = class h extends f(p) {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(), this._handleButtonChange = (e) => {
|
|
13
13
|
e.stopPropagation();
|
|
14
14
|
const { value: t, checked: s } = e.detail;
|
|
15
|
-
let
|
|
15
|
+
let n;
|
|
16
16
|
if (this.type === "radio")
|
|
17
|
-
|
|
17
|
+
n = s ? [t] : [];
|
|
18
18
|
else {
|
|
19
|
-
const
|
|
19
|
+
const i = [...this._getSelectedValues()];
|
|
20
20
|
if (s)
|
|
21
|
-
|
|
21
|
+
i.includes(t) || i.push(t);
|
|
22
22
|
else {
|
|
23
|
-
const u =
|
|
24
|
-
u > -1 &&
|
|
23
|
+
const u = i.indexOf(t);
|
|
24
|
+
u > -1 && i.splice(u, 1);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
n = i;
|
|
27
27
|
}
|
|
28
|
-
this._internalSelectedValues =
|
|
28
|
+
this._internalSelectedValues = n, this._syncFormValue(), this._syncValidity();
|
|
29
29
|
const a = new CustomEvent("selection-change", {
|
|
30
30
|
detail: {
|
|
31
31
|
value: t,
|
|
32
32
|
checked: s,
|
|
33
|
-
selectedValues:
|
|
33
|
+
selectedValues: n
|
|
34
34
|
},
|
|
35
35
|
bubbles: !0,
|
|
36
36
|
composed: !0
|
|
37
37
|
});
|
|
38
38
|
this.dispatchEvent(a), this.onSelectionChange && this.onSelectionChange(a);
|
|
39
39
|
}, this._handleKeyDown = (e) => {
|
|
40
|
-
const t = this._getButtons().filter((
|
|
40
|
+
const t = this._getButtons().filter((i) => !i.disabled);
|
|
41
41
|
if (t.length === 0) return;
|
|
42
|
-
const s = t.find((
|
|
42
|
+
const s = t.find((i) => {
|
|
43
43
|
try {
|
|
44
|
-
return
|
|
44
|
+
return i.shadowRoot?.activeElement || i === document.activeElement;
|
|
45
45
|
} catch {
|
|
46
|
-
return
|
|
46
|
+
return i === document.activeElement;
|
|
47
47
|
}
|
|
48
|
-
}),
|
|
48
|
+
}), n = s ? t.indexOf(s) : -1;
|
|
49
49
|
let a = null;
|
|
50
50
|
switch (e.key) {
|
|
51
51
|
case "ArrowDown":
|
|
52
52
|
case "ArrowRight":
|
|
53
|
-
e.preventDefault(), a =
|
|
53
|
+
e.preventDefault(), a = n === -1 ? 0 : (n + 1) % t.length;
|
|
54
54
|
break;
|
|
55
55
|
case "ArrowUp":
|
|
56
56
|
case "ArrowLeft":
|
|
57
|
-
e.preventDefault(), a =
|
|
57
|
+
e.preventDefault(), a = n === -1 ? t.length - 1 : (n - 1 + t.length) % t.length;
|
|
58
58
|
break;
|
|
59
59
|
case "Home":
|
|
60
60
|
e.preventDefault(), a = 0;
|
|
@@ -64,9 +64,9 @@ const h = class h extends _(p) {
|
|
|
64
64
|
break;
|
|
65
65
|
}
|
|
66
66
|
if (a !== null) {
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
detail: { value:
|
|
67
|
+
const i = t[a];
|
|
68
|
+
i.focus(), this.type === "radio" && this._handleButtonChange(new CustomEvent("selection-button-change", {
|
|
69
|
+
detail: { value: i.value, checked: !0 }
|
|
70
70
|
}));
|
|
71
71
|
}
|
|
72
72
|
}, this.type = "radio", this.legend = "", this.legendHidden = !1, this.theme = "", this.size = "md", this.shape = "", this.value = "", this.values = [], this.disabled = !1, this.required = !1, this._internalSelectedValues = [], this.validationMessages = void 0;
|
|
@@ -104,7 +104,29 @@ const h = class h extends _(p) {
|
|
|
104
104
|
* Clears all selections and re-syncs child buttons.
|
|
105
105
|
*/
|
|
106
106
|
formResetCallback() {
|
|
107
|
-
this._internalSelectedValues = [], this._internals.setFormValue(null), this._syncValidity(), this._syncChildButtons();
|
|
107
|
+
this._internalSelectedValues = [], this._internals.setFormValue(null), this._syncValidity(), this._syncChildButtons(), this._syncStates();
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* FACE lifecycle: called on session restore or browser autofill.
|
|
111
|
+
* Restores selected value(s) from the previously saved form state.
|
|
112
|
+
* Radio mode: state is a single string. Checkbox mode: state is FormData.
|
|
113
|
+
*/
|
|
114
|
+
formStateRestoreCallback(e, t) {
|
|
115
|
+
e === null ? this._internalSelectedValues = [] : e instanceof FormData ? this._internalSelectedValues = Array.from(e.getAll(this.name)) : typeof e == "string" && (this._internalSelectedValues = [e]), this._syncFormValue(), this._syncValidity(), this._syncChildButtons(), this._syncStates();
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Sync CustomStateSet states so :state() pseudo-classes work from external CSS.
|
|
119
|
+
*
|
|
120
|
+
* Must be called AFTER _syncValidity() so that :state(invalid) reads the
|
|
121
|
+
* freshly-updated _internals.validity.valid value.
|
|
122
|
+
*
|
|
123
|
+
* Exposed states:
|
|
124
|
+
* :state(disabled) — group is disabled
|
|
125
|
+
* :state(required) — group is required
|
|
126
|
+
* :state(invalid) — FACE constraint validation is failing
|
|
127
|
+
*/
|
|
128
|
+
_syncStates() {
|
|
129
|
+
this._setState("disabled", this.disabled), this._setState("required", this.required), this._setState("invalid", !this._internals.validity.valid);
|
|
108
130
|
}
|
|
109
131
|
// ─── End FACE ─────────────────────────────────────────────────────────────
|
|
110
132
|
connectedCallback() {
|
|
@@ -114,10 +136,10 @@ const h = class h extends _(p) {
|
|
|
114
136
|
super.disconnectedCallback(), this.removeEventListener("selection-button-change", this._handleButtonChange), this.removeEventListener("keydown", this._handleKeyDown);
|
|
115
137
|
}
|
|
116
138
|
updated(e) {
|
|
117
|
-
super.updated(e), (e.has("type") || e.has("name") || e.has("theme") || e.has("size") || e.has("shape") || e.has("disabled") || e.has("value") || e.has("values") || e.has("_internalSelectedValues")) && this._syncChildButtons(), e.has("value") || e.has("values") || e.has("_internalSelectedValues") ? (this._syncFormValue(), this._syncValidity()) : e.has("required") && this._syncValidity();
|
|
139
|
+
super.updated(e), (e.has("type") || e.has("name") || e.has("theme") || e.has("size") || e.has("shape") || e.has("disabled") || e.has("value") || e.has("values") || e.has("_internalSelectedValues")) && this._syncChildButtons(), e.has("value") || e.has("values") || e.has("_internalSelectedValues") ? (this._syncFormValue(), this._syncValidity()) : e.has("required") && this._syncValidity(), (e.has("disabled") || e.has("required") || e.has("_internalSelectedValues")) && this._syncStates();
|
|
118
140
|
}
|
|
119
141
|
firstUpdated() {
|
|
120
|
-
this._syncChildButtons(), this._syncFormValue(), this._syncValidity();
|
|
142
|
+
this._syncChildButtons(), this._syncFormValue(), this._syncValidity(), this._syncStates();
|
|
121
143
|
}
|
|
122
144
|
_getButtons() {
|
|
123
145
|
const e = this.shadowRoot?.querySelector("slot");
|
|
@@ -144,7 +166,7 @@ const h = class h extends _(p) {
|
|
|
144
166
|
role="${this.type === "radio" ? "radiogroup" : "group"}"
|
|
145
167
|
aria-disabled="${this.disabled ? "true" : "false"}"
|
|
146
168
|
>
|
|
147
|
-
${this.legend ? c`<legend class="${e}" part="ag-selection-button-group-legend">${this.legend}</legend>` :
|
|
169
|
+
${this.legend ? c`<legend class="${e}" part="ag-selection-button-group-legend">${this.legend}</legend>` : g}
|
|
148
170
|
<div class="selection-button-group__content" part="ag-selection-button-group-content">
|
|
149
171
|
<slot @slotchange="${this._handleSlotChange}"></slot>
|
|
150
172
|
</div>
|
|
@@ -152,7 +174,7 @@ const h = class h extends _(p) {
|
|
|
152
174
|
`;
|
|
153
175
|
}
|
|
154
176
|
};
|
|
155
|
-
h.styles =
|
|
177
|
+
h.styles = _`
|
|
156
178
|
:host {
|
|
157
179
|
display: block;
|
|
158
180
|
}
|
|
@@ -228,7 +250,7 @@ o([
|
|
|
228
250
|
r({ attribute: !1 })
|
|
229
251
|
], l.prototype, "onSelectionChange");
|
|
230
252
|
o([
|
|
231
|
-
|
|
253
|
+
y()
|
|
232
254
|
], l.prototype, "_internalSelectedValues");
|
|
233
255
|
export {
|
|
234
256
|
l as AgSelectionButtonGroup
|
|
@@ -54,6 +54,24 @@ export declare class AgSelectionCardGroup extends AgSelectionCardGroup_base impl
|
|
|
54
54
|
private _syncFormValue;
|
|
55
55
|
private _syncValidity;
|
|
56
56
|
formResetCallback(): void;
|
|
57
|
+
/**
|
|
58
|
+
* FACE lifecycle: called on session restore or browser autofill.
|
|
59
|
+
* Restores selected value(s) from the previously saved form state.
|
|
60
|
+
* Radio mode: state is a single string. Checkbox mode: state is FormData.
|
|
61
|
+
*/
|
|
62
|
+
formStateRestoreCallback(state: File | string | FormData | null, _mode: 'restore' | 'autocomplete'): void;
|
|
63
|
+
/**
|
|
64
|
+
* Sync CustomStateSet states so :state() pseudo-classes work from external CSS.
|
|
65
|
+
*
|
|
66
|
+
* Must be called AFTER _syncValidity() so that :state(invalid) reads the
|
|
67
|
+
* freshly-updated _internals.validity.valid value.
|
|
68
|
+
*
|
|
69
|
+
* Exposed states:
|
|
70
|
+
* :state(disabled) — group is disabled
|
|
71
|
+
* :state(required) — group is required
|
|
72
|
+
* :state(invalid) — FACE constraint validation is failing
|
|
73
|
+
*/
|
|
74
|
+
private _syncStates;
|
|
57
75
|
connectedCallback(): void;
|
|
58
76
|
disconnectedCallback(): void;
|
|
59
77
|
updated(changedProperties: Map<string, unknown>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_SelectionCardGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectionCardGroup/core/_SelectionCardGroup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAa,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,CAAC;AACjD,MAAM,MAAM,uBAAuB,GAA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C;IAGlB,QAAQ,EAAE,OAAO,CAAC;IAGlB,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAGnD,iBAAiB,EAAE,CAAC,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAIvE,uBAAuB,EAAE,MAAM,EAAE,CAAC;;IAiB1C,OAAO,CAAC,kBAAkB;IAiB1B,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,aAAa;IAYZ,iBAAiB,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"_SelectionCardGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectionCardGroup/core/_SelectionCardGroup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAa,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,CAAC;AACjD,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,GAAG,EAAE,CAAC;AAEnG,MAAM,WAAW,0BAA0B;IACzC,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,0BAA0B,CAAC,CAAC;AAE3E,MAAM,WAAW,uBAAuB;IACtC,gEAAgE;IAChE,IAAI,EAAE,aAAa,CAAC;IACpB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,uBAAu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,CAAC,MAAM,EAAE,OAAO,CAAC;IAoC/C,YAAY;IAOrB,OAAO,CAAC,SAAS;IASjB,OAAO,CAAC,eAAe;IAevB,OAAO,CAAC,iBAAiB,CAgDvB;IAEF,OAAO,CAAC,cAAc,CAgDpB;IAEF,OAAO,CAAC,iBAAiB;IAIhB,MAAM;CAsBhB"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { LitElement as p, css as g, nothing as
|
|
2
|
-
import { n as
|
|
1
|
+
import { LitElement as p, css as g, nothing as _, html as u } from "lit";
|
|
2
|
+
import { n as d } from "../../../property-CemaeiRl.js";
|
|
3
3
|
import { r as y } from "../../../state-CovhUvdr.js";
|
|
4
|
-
import { FaceMixin as
|
|
5
|
-
var m = Object.defineProperty, r = (h, e, t,
|
|
6
|
-
for (var
|
|
7
|
-
(s = h[n]) && (
|
|
8
|
-
return
|
|
4
|
+
import { FaceMixin as f } from "../../../shared/face-mixin.js";
|
|
5
|
+
var m = Object.defineProperty, r = (h, e, t, i) => {
|
|
6
|
+
for (var a = void 0, n = h.length - 1, s; n >= 0; n--)
|
|
7
|
+
(s = h[n]) && (a = s(e, t, a) || a);
|
|
8
|
+
return a && m(e, t, a), a;
|
|
9
9
|
};
|
|
10
|
-
const
|
|
10
|
+
const o = class o extends f(p) {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(), this._handleCardChange = (e) => {
|
|
13
13
|
e.stopPropagation();
|
|
14
|
-
const { value: t, checked:
|
|
15
|
-
let
|
|
14
|
+
const { value: t, checked: i } = e.detail;
|
|
15
|
+
let a;
|
|
16
16
|
if (this.type === "radio")
|
|
17
|
-
|
|
17
|
+
a = i ? [t] : [];
|
|
18
18
|
else {
|
|
19
19
|
const s = [...this._getSelectedValues()];
|
|
20
|
-
if (
|
|
20
|
+
if (i)
|
|
21
21
|
s.includes(t) || s.push(t);
|
|
22
22
|
else {
|
|
23
23
|
const c = s.indexOf(t);
|
|
24
24
|
c > -1 && s.splice(c, 1);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
a = s;
|
|
27
27
|
}
|
|
28
|
-
this._internalSelectedValues =
|
|
28
|
+
this._internalSelectedValues = a, this._syncFormValue(), this._syncValidity();
|
|
29
29
|
const n = new CustomEvent("selection-change", {
|
|
30
30
|
detail: {
|
|
31
31
|
value: t,
|
|
32
|
-
checked:
|
|
33
|
-
selectedValues:
|
|
32
|
+
checked: i,
|
|
33
|
+
selectedValues: a
|
|
34
34
|
},
|
|
35
35
|
bubbles: !0,
|
|
36
36
|
composed: !0
|
|
@@ -39,22 +39,22 @@ const d = class d extends _(p) {
|
|
|
39
39
|
}, this._handleKeyDown = (e) => {
|
|
40
40
|
const t = this._getCards().filter((s) => !s.disabled);
|
|
41
41
|
if (t.length === 0) return;
|
|
42
|
-
const
|
|
42
|
+
const i = t.find((s) => {
|
|
43
43
|
try {
|
|
44
44
|
return s.shadowRoot?.activeElement || s === document.activeElement;
|
|
45
45
|
} catch {
|
|
46
46
|
return s === document.activeElement;
|
|
47
47
|
}
|
|
48
|
-
}),
|
|
48
|
+
}), a = i ? t.indexOf(i) : -1;
|
|
49
49
|
let n = null;
|
|
50
50
|
switch (e.key) {
|
|
51
51
|
case "ArrowDown":
|
|
52
52
|
case "ArrowRight":
|
|
53
|
-
e.preventDefault(), n =
|
|
53
|
+
e.preventDefault(), n = a === -1 ? 0 : (a + 1) % t.length;
|
|
54
54
|
break;
|
|
55
55
|
case "ArrowUp":
|
|
56
56
|
case "ArrowLeft":
|
|
57
|
-
e.preventDefault(), n =
|
|
57
|
+
e.preventDefault(), n = a === -1 ? t.length - 1 : (a - 1 + t.length) % t.length;
|
|
58
58
|
break;
|
|
59
59
|
case "Home":
|
|
60
60
|
e.preventDefault(), n = 0;
|
|
@@ -84,7 +84,7 @@ const d = class d extends _(p) {
|
|
|
84
84
|
this._internals.setFormValue(null);
|
|
85
85
|
else {
|
|
86
86
|
const t = new FormData();
|
|
87
|
-
e.forEach((
|
|
87
|
+
e.forEach((i) => t.append(this.name, i)), this._internals.setFormValue(t);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
_syncValidity() {
|
|
@@ -95,7 +95,29 @@ const d = class d extends _(p) {
|
|
|
95
95
|
) : this._internals.setValidity({});
|
|
96
96
|
}
|
|
97
97
|
formResetCallback() {
|
|
98
|
-
this._internalSelectedValues = [], this._internals.setFormValue(null), this._syncValidity(), this._syncChildCards();
|
|
98
|
+
this._internalSelectedValues = [], this._internals.setFormValue(null), this._syncValidity(), this._syncChildCards(), this._syncStates();
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* FACE lifecycle: called on session restore or browser autofill.
|
|
102
|
+
* Restores selected value(s) from the previously saved form state.
|
|
103
|
+
* Radio mode: state is a single string. Checkbox mode: state is FormData.
|
|
104
|
+
*/
|
|
105
|
+
formStateRestoreCallback(e, t) {
|
|
106
|
+
e === null ? this._internalSelectedValues = [] : e instanceof FormData ? this._internalSelectedValues = Array.from(e.getAll(this.name)) : typeof e == "string" && (this._internalSelectedValues = [e]), this._syncFormValue(), this._syncValidity(), this._syncChildCards(), this._syncStates();
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Sync CustomStateSet states so :state() pseudo-classes work from external CSS.
|
|
110
|
+
*
|
|
111
|
+
* Must be called AFTER _syncValidity() so that :state(invalid) reads the
|
|
112
|
+
* freshly-updated _internals.validity.valid value.
|
|
113
|
+
*
|
|
114
|
+
* Exposed states:
|
|
115
|
+
* :state(disabled) — group is disabled
|
|
116
|
+
* :state(required) — group is required
|
|
117
|
+
* :state(invalid) — FACE constraint validation is failing
|
|
118
|
+
*/
|
|
119
|
+
_syncStates() {
|
|
120
|
+
this._setState("disabled", this.disabled), this._setState("required", this.required), this._setState("invalid", !this._internals.validity.valid);
|
|
99
121
|
}
|
|
100
122
|
// ─── End FACE ─────────────────────────────────────────────────────────────
|
|
101
123
|
connectedCallback() {
|
|
@@ -105,10 +127,10 @@ const d = class d extends _(p) {
|
|
|
105
127
|
super.disconnectedCallback(), this.removeEventListener("selection-card-change", this._handleCardChange), this.removeEventListener("keydown", this._handleKeyDown);
|
|
106
128
|
}
|
|
107
129
|
updated(e) {
|
|
108
|
-
super.updated(e), (e.has("type") || e.has("name") || e.has("theme") || e.has("disabled") || e.has("value") || e.has("values") || e.has("_internalSelectedValues")) && this._syncChildCards(), e.has("value") || e.has("values") || e.has("_internalSelectedValues") ? (this._syncFormValue(), this._syncValidity()) : e.has("required") && this._syncValidity();
|
|
130
|
+
super.updated(e), (e.has("type") || e.has("name") || e.has("theme") || e.has("disabled") || e.has("value") || e.has("values") || e.has("_internalSelectedValues")) && this._syncChildCards(), e.has("value") || e.has("values") || e.has("_internalSelectedValues") ? (this._syncFormValue(), this._syncValidity()) : e.has("required") && this._syncValidity(), (e.has("disabled") || e.has("required") || e.has("_internalSelectedValues")) && this._syncStates();
|
|
109
131
|
}
|
|
110
132
|
firstUpdated() {
|
|
111
|
-
this._syncChildCards(), this._syncFormValue(), this._syncValidity();
|
|
133
|
+
this._syncChildCards(), this._syncFormValue(), this._syncValidity(), this._syncStates();
|
|
112
134
|
}
|
|
113
135
|
_getCards() {
|
|
114
136
|
const e = this.shadowRoot?.querySelector("slot");
|
|
@@ -116,8 +138,8 @@ const d = class d extends _(p) {
|
|
|
116
138
|
}
|
|
117
139
|
_syncChildCards() {
|
|
118
140
|
const e = this._getCards(), t = this._getSelectedValues();
|
|
119
|
-
e.forEach((
|
|
120
|
-
|
|
141
|
+
e.forEach((i) => {
|
|
142
|
+
i._type = this.type, i._name = this.name, i._theme = this.theme, i.checked = t.includes(i.value), this.disabled && (i.disabled = !0);
|
|
121
143
|
});
|
|
122
144
|
}
|
|
123
145
|
_handleSlotChange() {
|
|
@@ -135,7 +157,7 @@ const d = class d extends _(p) {
|
|
|
135
157
|
role="${this.type === "radio" ? "radiogroup" : "group"}"
|
|
136
158
|
aria-disabled="${this.disabled ? "true" : "false"}"
|
|
137
159
|
>
|
|
138
|
-
${this.legend ? u`<legend class="${e}" part="ag-selection-card-group-legend">${this.legend}</legend>` :
|
|
160
|
+
${this.legend ? u`<legend class="${e}" part="ag-selection-card-group-legend">${this.legend}</legend>` : _}
|
|
139
161
|
<div class="selection-card-group__content" part="ag-selection-card-group-content">
|
|
140
162
|
<slot @slotchange="${this._handleSlotChange}"></slot>
|
|
141
163
|
</div>
|
|
@@ -143,7 +165,7 @@ const d = class d extends _(p) {
|
|
|
143
165
|
`;
|
|
144
166
|
}
|
|
145
167
|
};
|
|
146
|
-
|
|
168
|
+
o.styles = g`
|
|
147
169
|
:host {
|
|
148
170
|
display: block;
|
|
149
171
|
}
|
|
@@ -181,36 +203,36 @@ d.styles = g`
|
|
|
181
203
|
gap: var(--ag-selection-card-group-gap, var(--ag-space-4));
|
|
182
204
|
}
|
|
183
205
|
`;
|
|
184
|
-
let l =
|
|
206
|
+
let l = o;
|
|
185
207
|
r([
|
|
186
|
-
|
|
208
|
+
d({ type: String, reflect: !0 })
|
|
187
209
|
], l.prototype, "type");
|
|
188
210
|
r([
|
|
189
|
-
|
|
211
|
+
d({ type: String })
|
|
190
212
|
], l.prototype, "legend");
|
|
191
213
|
r([
|
|
192
|
-
|
|
214
|
+
d({ type: Boolean, attribute: "legend-hidden" })
|
|
193
215
|
], l.prototype, "legendHidden");
|
|
194
216
|
r([
|
|
195
|
-
|
|
217
|
+
d({ type: String, reflect: !0 })
|
|
196
218
|
], l.prototype, "theme");
|
|
197
219
|
r([
|
|
198
|
-
|
|
220
|
+
d({ type: String })
|
|
199
221
|
], l.prototype, "value");
|
|
200
222
|
r([
|
|
201
|
-
|
|
223
|
+
d({ type: Array })
|
|
202
224
|
], l.prototype, "values");
|
|
203
225
|
r([
|
|
204
|
-
|
|
226
|
+
d({ type: Boolean, reflect: !0 })
|
|
205
227
|
], l.prototype, "disabled");
|
|
206
228
|
r([
|
|
207
|
-
|
|
229
|
+
d({ type: Boolean, reflect: !0 })
|
|
208
230
|
], l.prototype, "required");
|
|
209
231
|
r([
|
|
210
|
-
|
|
232
|
+
d({ attribute: !1 })
|
|
211
233
|
], l.prototype, "validationMessages");
|
|
212
234
|
r([
|
|
213
|
-
|
|
235
|
+
d({ attribute: !1 })
|
|
214
236
|
], l.prototype, "onSelectionChange");
|
|
215
237
|
r([
|
|
216
238
|
y()
|
|
@@ -126,12 +126,32 @@ export declare class AgSlider extends AgSlider_base implements SliderProps {
|
|
|
126
126
|
* Clamp current value to min/max and validate
|
|
127
127
|
*/
|
|
128
128
|
private _clampAndValidateValue;
|
|
129
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
129
130
|
firstUpdated(): void;
|
|
130
131
|
/**
|
|
131
132
|
* FACE lifecycle: called when the parent form is reset.
|
|
132
133
|
* Restores the slider to the value it had on first render.
|
|
133
134
|
*/
|
|
134
135
|
formResetCallback(): void;
|
|
136
|
+
/**
|
|
137
|
+
* FACE lifecycle: called on session restore or browser autofill.
|
|
138
|
+
* Restores the slider value from the previously saved FormData.
|
|
139
|
+
* Single mode: one entry (name, valueStr). Dual mode: two entries.
|
|
140
|
+
*/
|
|
141
|
+
formStateRestoreCallback(state: File | string | FormData | null, _mode: 'restore' | 'autocomplete'): void;
|
|
142
|
+
/**
|
|
143
|
+
* Sync CustomStateSet states so :state() pseudo-classes work from external CSS.
|
|
144
|
+
*
|
|
145
|
+
* Must be called AFTER _updateFormValue() (which also calls setValidity) so
|
|
146
|
+
* that :state(invalid) reads the freshly-updated _internals.validity.valid value.
|
|
147
|
+
*
|
|
148
|
+
* Exposed states:
|
|
149
|
+
* :state(disabled) — slider is disabled
|
|
150
|
+
* :state(readonly) — slider is read-only
|
|
151
|
+
* :state(required) — slider is required
|
|
152
|
+
* :state(invalid) — FACE constraint validation is failing
|
|
153
|
+
*/
|
|
154
|
+
private _syncStates;
|
|
135
155
|
/**
|
|
136
156
|
* Update form value when component value changes
|
|
137
157
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_Slider.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/core/_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