@sbb-esta/lyne-elements 2.3.0 → 2.4.1
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/autocomplete/autocomplete-base-element.d.ts +1 -0
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete/autocomplete.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid.js +0 -1
- package/autocomplete.js +28 -28
- package/button/common/button-common.d.ts.map +1 -1
- package/calendar/calendar.d.ts +55 -11
- package/calendar/calendar.d.ts.map +1 -1
- package/calendar.js +374 -224
- package/card/common/card-action-common.d.ts.map +1 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +1 -1
- package/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/core/controllers/escapable-overlay-controller.d.ts +11 -0
- package/core/controllers/escapable-overlay-controller.d.ts.map +1 -0
- package/core/controllers.d.ts +1 -0
- package/core/controllers.d.ts.map +1 -1
- package/core/controllers.js +73 -47
- package/core/datetime/date-adapter.d.ts +4 -2
- package/core/datetime/date-adapter.d.ts.map +1 -1
- package/core/datetime/native-date-adapter.d.ts +1 -1
- package/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/core/datetime.js +51 -43
- package/core/decorators/date-converter.d.ts +8 -0
- package/core/decorators/date-converter.d.ts.map +1 -0
- package/core/decorators/date-only-type.d.ts +8 -0
- package/core/decorators/date-only-type.d.ts.map +1 -0
- package/core/decorators/get-override.d.ts.map +1 -1
- package/core/decorators/handle-distinct-change.d.ts.map +1 -1
- package/core/decorators/host-attributes.d.ts.map +1 -1
- package/core/decorators/slot-state.d.ts.map +1 -1
- package/core/decorators.d.ts +2 -0
- package/core/decorators.d.ts.map +1 -1
- package/core/decorators.js +52 -31
- package/core/dom/input-element.d.ts +1 -1
- package/core/dom/input-element.d.ts.map +1 -1
- package/core/dom.js +5 -5
- package/core/eventing/throttle.d.ts.map +1 -1
- package/core/i18n/i18n.d.ts +4 -0
- package/core/i18n/i18n.d.ts.map +1 -1
- package/core/i18n.js +87 -63
- package/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-input-mixin.d.ts +25 -0
- package/core/mixins/form-associated-input-mixin.d.ts.map +1 -0
- package/core/mixins/form-associated-mixin.d.ts +13 -0
- package/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
- package/core/mixins/hydration-mixin.d.ts.map +1 -1
- package/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/core/mixins/negative-mixin.d.ts.map +1 -1
- package/core/mixins/panel-mixin.d.ts.map +1 -1
- package/core/mixins/required-mixin.d.ts.map +1 -1
- package/core/mixins/update-scheduler-mixin.d.ts.map +1 -1
- package/core/mixins.d.ts +1 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +518 -333
- package/core/styles/core.scss +3 -1
- package/core/testing/mocha-extensions.d.ts.map +1 -1
- package/core/testing/wait-for-render.d.ts.map +1 -1
- package/core.css +2 -2
- package/custom-elements.json +18176 -14267
- package/date-input/date-input.d.ts +67 -0
- package/date-input/date-input.d.ts.map +1 -0
- package/date-input.d.ts +2 -0
- package/date-input.d.ts.map +1 -0
- package/date-input.js +149 -0
- package/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/datepicker/common.js +49 -45
- package/datepicker/datepicker/datepicker.d.ts +16 -6
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +41 -38
- package/datepicker/datepicker.js +94 -76
- package/development/autocomplete/autocomplete-base-element.d.ts +1 -0
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid.js +1 -2
- package/development/autocomplete.js +9 -4
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/calendar/calendar.d.ts +55 -11
- package/development/calendar/calendar.d.ts.map +1 -1
- package/development/calendar.js +301 -87
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +2 -2
- package/development/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/development/core/controllers/escapable-overlay-controller.d.ts +11 -0
- package/development/core/controllers/escapable-overlay-controller.d.ts.map +1 -0
- package/development/core/controllers.d.ts +1 -0
- package/development/core/controllers.d.ts.map +1 -1
- package/development/core/controllers.js +36 -1
- package/development/core/datetime/date-adapter.d.ts +4 -2
- package/development/core/datetime/date-adapter.d.ts.map +1 -1
- package/development/core/datetime/native-date-adapter.d.ts +1 -1
- package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/development/core/datetime.js +14 -2
- package/development/core/decorators/date-converter.d.ts +8 -0
- package/development/core/decorators/date-converter.d.ts.map +1 -0
- package/development/core/decorators/date-only-type.d.ts +8 -0
- package/development/core/decorators/date-only-type.d.ts.map +1 -0
- package/development/core/decorators/get-override.d.ts.map +1 -1
- package/development/core/decorators/handle-distinct-change.d.ts.map +1 -1
- package/development/core/decorators/host-attributes.d.ts.map +1 -1
- package/development/core/decorators/slot-state.d.ts.map +1 -1
- package/development/core/decorators.d.ts +2 -0
- package/development/core/decorators.d.ts.map +1 -1
- package/development/core/decorators.js +23 -2
- package/development/core/dom/input-element.d.ts +1 -1
- package/development/core/dom/input-element.d.ts.map +1 -1
- package/development/core/dom.js +3 -3
- package/development/core/eventing/throttle.d.ts.map +1 -1
- package/development/core/i18n/i18n.d.ts +4 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +29 -1
- package/development/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-input-mixin.d.ts +25 -0
- package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -0
- package/development/core/mixins/form-associated-mixin.d.ts +13 -0
- package/development/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
- package/development/core/mixins/hydration-mixin.d.ts.map +1 -1
- package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/development/core/mixins/negative-mixin.d.ts.map +1 -1
- package/development/core/mixins/panel-mixin.d.ts.map +1 -1
- package/development/core/mixins/required-mixin.d.ts.map +1 -1
- package/development/core/mixins/update-scheduler-mixin.d.ts.map +1 -1
- package/development/core/mixins.d.ts +1 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +379 -88
- package/development/core/testing/mocha-extensions.d.ts.map +1 -1
- package/development/core/testing/wait-for-render.d.ts.map +1 -1
- package/development/date-input/date-input.d.ts +67 -0
- package/development/date-input/date-input.d.ts.map +1 -0
- package/development/date-input.d.ts +2 -0
- package/development/date-input.d.ts.map +1 -0
- package/development/date-input.js +259 -0
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common.js +11 -2
- package/development/datepicker/datepicker/datepicker.d.ts +16 -6
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +12 -3
- package/development/datepicker/datepicker.js +65 -39
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog.js +3 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel.js +2 -2
- package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.d.ts +1 -1
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +19 -13
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/icon/icon-name-mixin.d.ts.map +1 -1
- package/development/icon/icon-request.d.ts.map +1 -1
- package/development/icon/icon-validate.d.ts.map +1 -1
- package/development/link/common/block-link-common.d.ts.map +1 -1
- package/development/link/common/inline-link-common.d.ts.map +1 -1
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/menu/menu.d.ts +1 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +5 -15
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/navigation/navigation.d.ts +1 -3
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation.js +8 -21
- package/development/overlay/overlay-base-element.d.ts +2 -2
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay.js +6 -13
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/popover/popover/popover.d.ts +1 -1
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover.js +5 -15
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +2 -2
- package/development/select/select.d.ts +3 -1
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +12 -8
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +2 -2
- package/development/stepper/step/step.d.ts +0 -2
- package/development/stepper/step/step.d.ts.map +1 -1
- package/development/stepper/step.js +1 -16
- package/development/stepper/stepper/stepper.d.ts +11 -0
- package/development/stepper/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper.js +30 -3
- package/development/tag/tag/tag.d.ts +11 -0
- package/development/tag/tag/tag.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.d.ts +1 -1
- package/development/tag/tag-group/tag-group.d.ts.map +1 -1
- package/development/tag/tag-group.js +9 -3
- package/development/tag/tag.js +37 -10
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog.js +2 -2
- package/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/expansion-panel/expansion-panel.js +1 -1
- package/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/form-field/form-field/form-field.d.ts +1 -1
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +30 -24
- package/header/common/header-action-common.d.ts.map +1 -1
- package/icon/icon-name-mixin.d.ts.map +1 -1
- package/icon/icon-request.d.ts.map +1 -1
- package/icon/icon-validate.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/link/common/block-link-common.d.ts.map +1 -1
- package/link/common/inline-link-common.d.ts.map +1 -1
- package/link/common/link-common.d.ts.map +1 -1
- package/menu/common/menu-action-common.d.ts.map +1 -1
- package/menu/menu/menu.d.ts +1 -1
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +25 -34
- package/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/navigation/navigation/navigation.d.ts +1 -3
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation.js +45 -54
- package/overlay/overlay-base-element.d.ts +2 -2
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay.js +57 -63
- package/package.json +6 -1
- package/paginator/common/paginator-common.d.ts.map +1 -1
- package/popover/popover/popover.d.ts +1 -1
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover.js +101 -110
- package/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +1 -1
- package/select/select.d.ts +3 -1
- package/select/select.d.ts.map +1 -1
- package/select.js +39 -37
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +1 -1
- package/standard-theme.css +2 -2
- package/stepper/step/step.d.ts +0 -2
- package/stepper/step/step.d.ts.map +1 -1
- package/stepper/step.js +24 -36
- package/stepper/stepper/stepper.d.ts +11 -0
- package/stepper/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper.js +59 -41
- package/tag/tag/tag.d.ts +11 -0
- package/tag/tag/tag.d.ts.map +1 -1
- package/tag/tag-group/tag-group.d.ts +1 -1
- package/tag/tag-group/tag-group.d.ts.map +1 -1
- package/tag/tag-group.js +32 -29
- package/tag/tag.js +60 -41
- package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
package/core/decorators.js
CHANGED
|
@@ -1,68 +1,89 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { readConfig as d } from "./config.js";
|
|
2
|
+
import { defaultDateAdapter as c } from "./datetime.js";
|
|
3
|
+
import { isServer as f, defaultConverter as m } from "lit";
|
|
2
4
|
import { SbbSlotStateController as h } from "./controllers.js";
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
const S = {
|
|
6
|
+
fromAttribute(t, r) {
|
|
7
|
+
var o;
|
|
8
|
+
const e = ((o = d().datetime) == null ? void 0 : o.dateAdapter) ?? c;
|
|
9
|
+
return e.getValidDateOrNull(e.deserialize(t));
|
|
10
|
+
},
|
|
11
|
+
toAttribute(t, r) {
|
|
12
|
+
var o;
|
|
13
|
+
const e = ((o = d().datetime) == null ? void 0 : o.dateAdapter) ?? c;
|
|
14
|
+
return e.isValid(t) ? e.toIso8601(t) : null;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
function w(t) {
|
|
18
|
+
var e;
|
|
19
|
+
const r = ((e = d().datetime) == null ? void 0 : e.dateAdapter) ?? c;
|
|
20
|
+
return r.isDateInstance(t) && r.isValid(t) ? r.createDate(r.getYear(t), r.getMonth(t), r.getDate(t)) : null;
|
|
21
|
+
}
|
|
22
|
+
const N = () => (t, r) => {
|
|
23
|
+
var u, p;
|
|
24
|
+
const { kind: e, metadata: o, name: a } = r, s = ((p = (u = globalThis.litPropertyMetadata.get(o)) == null ? void 0 : u.get(a)) == null ? void 0 : p.type) ?? String;
|
|
25
|
+
let i = s;
|
|
26
|
+
if (s === String ? i = (n) => n == null ? "" : String(n) : s === Number && (i = (n) => n == null ? NaN : Number(n)), e === "accessor")
|
|
8
27
|
return {
|
|
9
28
|
set(n) {
|
|
10
|
-
t.set.call(this,
|
|
29
|
+
t.set.call(this, i(n));
|
|
11
30
|
}
|
|
12
31
|
};
|
|
13
32
|
if (e === "setter")
|
|
14
33
|
return function(n) {
|
|
15
|
-
t(
|
|
34
|
+
t.call(this, i(n));
|
|
16
35
|
};
|
|
17
36
|
throw new Error(`Unsupported decorator location: ${e}`);
|
|
18
|
-
},
|
|
37
|
+
}, y = (t) => (r, e) => {
|
|
19
38
|
const { kind: o } = e;
|
|
20
39
|
if (o === "accessor")
|
|
21
40
|
return {
|
|
22
41
|
get() {
|
|
23
|
-
const
|
|
24
|
-
return t(this,
|
|
42
|
+
const a = r.get.call(this);
|
|
43
|
+
return t(this, a);
|
|
25
44
|
}
|
|
26
45
|
};
|
|
27
46
|
throw new Error(`Unsupported decorator location: ${o}`);
|
|
28
|
-
},
|
|
47
|
+
}, D = (t) => (r, e) => {
|
|
29
48
|
const { kind: o } = e;
|
|
30
49
|
if (o === "accessor")
|
|
31
50
|
return {
|
|
32
|
-
set(
|
|
33
|
-
const i = e.access.get(this);
|
|
34
|
-
r.set.call(this, l);
|
|
51
|
+
set(a) {
|
|
35
52
|
const s = e.access.get(this);
|
|
36
|
-
|
|
53
|
+
r.set.call(this, a);
|
|
54
|
+
const i = e.access.get(this);
|
|
55
|
+
i !== s && t(this, i, s);
|
|
37
56
|
}
|
|
38
57
|
};
|
|
39
58
|
throw new Error(`Unsupported decorator location: ${o}`);
|
|
40
59
|
};
|
|
41
|
-
function
|
|
60
|
+
function l(t, r) {
|
|
42
61
|
for (const [e, o] of Object.entries(r))
|
|
43
62
|
o ? t.setAttribute(e, o) : t.toggleAttribute(e, o !== null);
|
|
44
63
|
}
|
|
45
|
-
const
|
|
46
|
-
|
|
64
|
+
const V = (t) => (r) => r.addInitializer((e) => {
|
|
65
|
+
f ? l(e, t) : e.addController({
|
|
47
66
|
hostConnected() {
|
|
48
|
-
|
|
67
|
+
l(e, t), e.removeController(this);
|
|
49
68
|
},
|
|
50
69
|
hostUpdate() {
|
|
51
|
-
|
|
70
|
+
l(e, t), e.removeController(this);
|
|
52
71
|
}
|
|
53
72
|
});
|
|
54
|
-
}),
|
|
73
|
+
}), E = {
|
|
55
74
|
toAttribute(t, r) {
|
|
56
|
-
return (r === String || r === void 0) && t === "" || r === Number && isNaN(t) ? null :
|
|
75
|
+
return (r === String || r === void 0) && t === "" || r === Number && isNaN(t) ? null : m.toAttribute(t, r);
|
|
57
76
|
}
|
|
58
|
-
},
|
|
59
|
-
|
|
77
|
+
}, I = () => (t) => {
|
|
78
|
+
f || t.addInitializer((r) => new h(r));
|
|
60
79
|
};
|
|
61
80
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
81
|
+
w as DateOnlyType,
|
|
82
|
+
S as dateConverter,
|
|
83
|
+
N as forceType,
|
|
84
|
+
y as getOverride,
|
|
85
|
+
D as handleDistinctChange,
|
|
86
|
+
V as hostAttributes,
|
|
87
|
+
E as omitEmptyConverter,
|
|
88
|
+
I as slotState
|
|
68
89
|
};
|
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
* @param element The starting SbbDatepickerElement element.
|
|
7
7
|
* @param trigger The id or the reference of the input.
|
|
8
8
|
*/
|
|
9
|
-
export declare function findInput(element: HTMLElement, trigger?: string | HTMLElement | null): HTMLInputElement | null;
|
|
9
|
+
export declare function findInput(element: HTMLElement, trigger?: string | HTMLElement | null, inputSelector?: string): HTMLInputElement | null;
|
|
10
10
|
//# sourceMappingURL=input-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/dom/input-element.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,WAAW,EACpB,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"input-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/dom/input-element.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,WAAW,EACpB,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,EACrC,aAAa,SAAU,GACtB,gBAAgB,GAAG,IAAI,CAOzB"}
|
package/core/dom.js
CHANGED
|
@@ -9,7 +9,7 @@ const v = ["zero", "micro", "small", "medium", "wide", "large", "ultra"];
|
|
|
9
9
|
function p(n, t, e) {
|
|
10
10
|
if (o)
|
|
11
11
|
return null;
|
|
12
|
-
const
|
|
12
|
+
const s = getComputedStyle(document.documentElement), i = n ? s.getPropertyValue(`--sbb-breakpoint-${n}-min`) : "", r = t ? `${parseFloat(s.getPropertyValue(`--sbb-breakpoint-${t}-${e != null && e.includeMaxBreakpoint ? "max" : "min"}`)) - (e != null && e.includeMaxBreakpoint ? 0 : 0.0625)}rem` : "", b = i && `(min-width: ${i})`, m = r && `(max-width: ${r})`, y = i && r && " and ";
|
|
13
13
|
return window.matchMedia(`${b}${y}${m}`).matches;
|
|
14
14
|
}
|
|
15
15
|
function h(n) {
|
|
@@ -27,11 +27,11 @@ function A(n, t) {
|
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
29
|
const S = "a,button,sbb-teaser-hero,sbb-teaser";
|
|
30
|
-
function E(n, t) {
|
|
31
|
-
var
|
|
30
|
+
function E(n, t, e = "input") {
|
|
31
|
+
var s;
|
|
32
32
|
if (!t) {
|
|
33
|
-
const i = (
|
|
34
|
-
return i == null ? void 0 : i.querySelector(
|
|
33
|
+
const i = (s = n.closest) == null ? void 0 : s.call(n, "sbb-form-field");
|
|
34
|
+
return i == null ? void 0 : i.querySelector(e);
|
|
35
35
|
}
|
|
36
36
|
return h(t);
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"throttle.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/eventing/throttle.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"throttle.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/eventing/throttle.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,MAAM,CAAC,EACP,OAAO,MAAM,KACZ,CAAC,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAerD,CAAC"}
|
package/core/i18n/i18n.d.ts
CHANGED
|
@@ -79,4 +79,8 @@ export declare const i18nItemsPerPage: Record<string, string>;
|
|
|
79
79
|
export declare const i18nSelectedPage: (pageNumber: number) => Record<string, string>;
|
|
80
80
|
export declare const i18nCheckboxRequired: Record<string, string>;
|
|
81
81
|
export declare const i18nSelectionRequired: Record<string, string>;
|
|
82
|
+
export declare const i18nInputRequired: Record<string, string>;
|
|
83
|
+
export declare const i18nDateInvalid: Record<string, string>;
|
|
84
|
+
export declare const i18nDateMin: (min: string) => Record<string, string>;
|
|
85
|
+
export declare const i18nDateMax: (max: string) => Record<string, string>;
|
|
82
86
|
//# sourceMappingURL=i18n.d.ts.map
|
package/core/i18n/i18n.d.ts.map
CHANGED
|
@@ -1 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/core/i18n.js
CHANGED
|
@@ -51,12 +51,12 @@ const n = {
|
|
|
51
51
|
en: "Train coach",
|
|
52
52
|
fr: "Wagon de train",
|
|
53
53
|
it: "Carrozza del treno"
|
|
54
|
-
},
|
|
54
|
+
}, d = {
|
|
55
55
|
de: "Nummer",
|
|
56
56
|
en: "Number",
|
|
57
57
|
fr: "Numéro",
|
|
58
58
|
it: "Numero"
|
|
59
|
-
},
|
|
59
|
+
}, u = {
|
|
60
60
|
de: "Geschlossener Zugwaggon",
|
|
61
61
|
en: "Closed train coach",
|
|
62
62
|
fr: "Wagon de train fermé",
|
|
@@ -76,12 +76,12 @@ const n = {
|
|
|
76
76
|
en: "Couchette car",
|
|
77
77
|
fr: "Voiture-couchettes",
|
|
78
78
|
it: "Carrozza cuccette"
|
|
79
|
-
},
|
|
79
|
+
}, p = {
|
|
80
80
|
de: "Speisewagen",
|
|
81
81
|
en: "Dining car",
|
|
82
82
|
fr: "Voiture-restaurant",
|
|
83
83
|
it: "Carrozza ristorante"
|
|
84
|
-
},
|
|
84
|
+
}, m = {
|
|
85
85
|
previous: {
|
|
86
86
|
de: "Kein Durchgang zum vorherigen Wagen",
|
|
87
87
|
en: "No passage to the previous train coach",
|
|
@@ -168,7 +168,7 @@ const n = {
|
|
|
168
168
|
it: "hrs"
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
},
|
|
171
|
+
}, D = {
|
|
172
172
|
single: {
|
|
173
173
|
long: {
|
|
174
174
|
de: "Tag",
|
|
@@ -185,22 +185,22 @@ const n = {
|
|
|
185
185
|
it: "Giorni"
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
},
|
|
188
|
+
}, P = {
|
|
189
189
|
de: "Gleisänderung im Verlauf dieser Verbindung",
|
|
190
190
|
en: "Track change in the course of this connection",
|
|
191
191
|
fr: "Changement de voie sur le parcours de cette connexion",
|
|
192
192
|
it: "Cambiamento di binario nel corso di questa connessione"
|
|
193
|
-
},
|
|
193
|
+
}, b = {
|
|
194
194
|
de: "Reisedauer",
|
|
195
195
|
en: "Travel time",
|
|
196
196
|
fr: "Durée du voyage",
|
|
197
197
|
it: "Durata del viaggio"
|
|
198
|
-
},
|
|
198
|
+
}, w = {
|
|
199
199
|
de: "Reisehinweise",
|
|
200
200
|
en: "Travelhints",
|
|
201
201
|
fr: "Indications sur le voyage",
|
|
202
202
|
it: "Idiicazioni di viaggio"
|
|
203
|
-
},
|
|
203
|
+
}, T = {
|
|
204
204
|
de: "Echtzeitinformationen",
|
|
205
205
|
en: "Real time information",
|
|
206
206
|
fr: "Informations en temps réel",
|
|
@@ -210,22 +210,22 @@ const n = {
|
|
|
210
210
|
en: "changes",
|
|
211
211
|
fr: "changement(s) de train",
|
|
212
212
|
it: "cambi"
|
|
213
|
-
},
|
|
213
|
+
}, $ = {
|
|
214
214
|
de: "neu",
|
|
215
215
|
en: "new",
|
|
216
216
|
fr: "nouveau",
|
|
217
217
|
it: "nuovo"
|
|
218
|
-
},
|
|
218
|
+
}, A = {
|
|
219
219
|
de: "Auf",
|
|
220
220
|
en: "on",
|
|
221
221
|
fr: "sur",
|
|
222
222
|
it: "su"
|
|
223
|
-
},
|
|
223
|
+
}, E = {
|
|
224
224
|
de: "Sparbillette",
|
|
225
225
|
en: "Supersaver tickets",
|
|
226
226
|
fr: "Billets dégriffés",
|
|
227
227
|
it: "Biglietti risparmio"
|
|
228
|
-
},
|
|
228
|
+
}, k = {
|
|
229
229
|
none: {
|
|
230
230
|
de: "Keine Belegungsprognose verfügbar",
|
|
231
231
|
en: "No occupancy forecast available",
|
|
@@ -250,7 +250,7 @@ const n = {
|
|
|
250
250
|
fr: "Un taux d'occupation très élevé est attendu",
|
|
251
251
|
it: "Ci si aspetta un'occupazione molto alta"
|
|
252
252
|
}
|
|
253
|
-
},
|
|
253
|
+
}, I = {
|
|
254
254
|
funicular: {
|
|
255
255
|
de: "Seilbahn/Zahnradbahn",
|
|
256
256
|
en: "Funicular/Cog railway",
|
|
@@ -322,27 +322,27 @@ const n = {
|
|
|
322
322
|
en: "(optional)",
|
|
323
323
|
fr: "(facultatif)",
|
|
324
324
|
it: "(facoltativo)"
|
|
325
|
-
},
|
|
325
|
+
}, x = {
|
|
326
326
|
de: "Linkziel öffnet in neuem Fenster.",
|
|
327
327
|
en: "Link target opens in a new window.",
|
|
328
328
|
fr: "Le lien s'ouvre dans une nouvelle fenêtre.",
|
|
329
329
|
it: "L'obiettivo del link si apre in una nuova finestra."
|
|
330
|
-
},
|
|
330
|
+
}, y = {
|
|
331
331
|
de: "Minuten Fussweg nach Ankunft:",
|
|
332
332
|
en: "minutes of walking time after arrival:",
|
|
333
333
|
fr: "minutes de trajet à pied après l’arrivée:",
|
|
334
334
|
it: "minuti a piedi all’arrivo:"
|
|
335
|
-
},
|
|
335
|
+
}, L = {
|
|
336
336
|
de: "Minuten Fussweg vor Abfahrt:",
|
|
337
337
|
en: "minutes of walking time before departure:",
|
|
338
338
|
fr: "minutes trajet à pied avant le départ:",
|
|
339
339
|
it: "minuti a piedi prima della partenza:"
|
|
340
|
-
},
|
|
340
|
+
}, N = {
|
|
341
341
|
de: "Meldung schliessen",
|
|
342
342
|
en: "Close message",
|
|
343
343
|
fr: "Fermer message",
|
|
344
344
|
it: "Chiudere il messaggio"
|
|
345
|
-
},
|
|
345
|
+
}, F = {
|
|
346
346
|
de: "Nachricht schliessen",
|
|
347
347
|
en: "Close message",
|
|
348
348
|
fr: "Fermer message",
|
|
@@ -382,17 +382,17 @@ const n = {
|
|
|
382
382
|
en: "Change to the next month",
|
|
383
383
|
fr: "Passer au mois suivant",
|
|
384
384
|
it: "Passare al mese successivo"
|
|
385
|
-
},
|
|
385
|
+
}, q = {
|
|
386
386
|
de: "Zum letzten Monat wechseln",
|
|
387
387
|
en: "Change to the previous month",
|
|
388
388
|
fr: "Passer au mois précédent",
|
|
389
389
|
it: "Passare al mese precedente"
|
|
390
|
-
},
|
|
390
|
+
}, j = {
|
|
391
391
|
de: "Nächster Tag",
|
|
392
392
|
en: "Next day",
|
|
393
393
|
fr: "Le prochain jour",
|
|
394
394
|
it: "Giorno successivo"
|
|
395
|
-
},
|
|
395
|
+
}, H = {
|
|
396
396
|
de: "Vorheriger Tag",
|
|
397
397
|
en: "Previous day",
|
|
398
398
|
fr: "Jour précédent",
|
|
@@ -477,12 +477,12 @@ const n = {
|
|
|
477
477
|
en: "collapsed",
|
|
478
478
|
fr: "condensé",
|
|
479
479
|
it: "compresso"
|
|
480
|
-
},
|
|
480
|
+
}, de = {
|
|
481
481
|
de: "Karte zeigen",
|
|
482
482
|
en: "Show map",
|
|
483
483
|
fr: "Afficher la carte",
|
|
484
484
|
it: "Mostra la mappa"
|
|
485
|
-
},
|
|
485
|
+
}, ue = {
|
|
486
486
|
de: "Mehr Breadcrumbs anzeigen",
|
|
487
487
|
en: "Show more breadcrumbs",
|
|
488
488
|
fr: "Afficher plus breadcrumbs",
|
|
@@ -502,12 +502,12 @@ const n = {
|
|
|
502
502
|
en: "Click on this card for details",
|
|
503
503
|
fr: "Cliquez sur cette carte pour plus de détails",
|
|
504
504
|
it: "Clicca su questa scheda per i dettagli"
|
|
505
|
-
},
|
|
505
|
+
}, pe = {
|
|
506
506
|
de: "Klicken Sie auf diese Karte, um zurück zur Zusammenfassung zu gelangen",
|
|
507
507
|
en: "Click on this card to go back to the summary",
|
|
508
508
|
fr: "Cliquez sur cette carte pour revenir au résumé",
|
|
509
509
|
it: "Clicca su questa scheda per tornare al sommario"
|
|
510
|
-
},
|
|
510
|
+
}, me = {
|
|
511
511
|
de: "Datei auswählen",
|
|
512
512
|
en: "Choose a file",
|
|
513
513
|
fr: "Choisissez un fichier",
|
|
@@ -537,27 +537,27 @@ const n = {
|
|
|
537
537
|
en: "Next page",
|
|
538
538
|
fr: "Prochaine page",
|
|
539
539
|
it: "Pagina successiva"
|
|
540
|
-
},
|
|
540
|
+
}, De = {
|
|
541
541
|
de: "Vorherige Seite",
|
|
542
542
|
en: "Previous page",
|
|
543
543
|
fr: "Page précédente",
|
|
544
544
|
it: "Pagina precedente"
|
|
545
|
-
},
|
|
545
|
+
}, Pe = {
|
|
546
546
|
de: "Seite",
|
|
547
547
|
en: "Page",
|
|
548
548
|
fr: "Page",
|
|
549
549
|
it: "Pagina"
|
|
550
|
-
},
|
|
550
|
+
}, be = {
|
|
551
551
|
de: "Einträge pro Seite",
|
|
552
552
|
en: "Items per page",
|
|
553
553
|
fr: "Entrées par page",
|
|
554
554
|
it: "Elementi per pagina"
|
|
555
|
-
},
|
|
555
|
+
}, we = (e) => ({
|
|
556
556
|
de: `Seite ${e} ausgewählt.`,
|
|
557
557
|
en: `Page ${e} selected.`,
|
|
558
558
|
fr: `Page ${e} sélectionnée.`,
|
|
559
559
|
it: `Pagina ${e} selezionata.`
|
|
560
|
-
}),
|
|
560
|
+
}), Te = {
|
|
561
561
|
de: "Muss gesetzt sein.",
|
|
562
562
|
en: "Must be checked.",
|
|
563
563
|
fr: "Doit être défini.",
|
|
@@ -567,86 +567,110 @@ const n = {
|
|
|
567
567
|
en: "Selection required.",
|
|
568
568
|
fr: "Sélection requise.",
|
|
569
569
|
it: "Selezione necessaria."
|
|
570
|
-
}
|
|
570
|
+
}, $e = {
|
|
571
|
+
de: "Eingabe erforderlich.",
|
|
572
|
+
en: "Input required.",
|
|
573
|
+
fr: "Entrée obligatoire.",
|
|
574
|
+
it: "Inserimento necessario."
|
|
575
|
+
}, Ae = {
|
|
576
|
+
de: "Bitte gültiges Datum eingeben.",
|
|
577
|
+
en: "Please provide a valid date.",
|
|
578
|
+
fr: "Veuillez saisir une date valide.",
|
|
579
|
+
it: "Inserire una data valida."
|
|
580
|
+
}, Ee = (e) => ({
|
|
581
|
+
de: `Datum darf nicht vor ${e} sein.`,
|
|
582
|
+
en: `Date must not be before ${e}.`,
|
|
583
|
+
fr: `La date ne doit pas être antérieure au ${e}.`,
|
|
584
|
+
it: `La data non deve essere anteriore al ${e}.`
|
|
585
|
+
}), ke = (e) => ({
|
|
586
|
+
de: `Datum darf nicht nach ${e} sein.`,
|
|
587
|
+
en: `Date must not be after ${e}.`,
|
|
588
|
+
fr: `La date ne doit pas être postérieure au ${e}.`,
|
|
589
|
+
it: `La data non deve essere successiva al ${e}.`
|
|
590
|
+
});
|
|
571
591
|
export {
|
|
572
592
|
v as i18nAdditionalWagonInformationHeading,
|
|
573
593
|
i as i18nArrival,
|
|
574
|
-
|
|
575
|
-
|
|
594
|
+
m as i18nBlockedPassage,
|
|
595
|
+
ue as i18nBreadcrumbEllipsisButtonLabel,
|
|
576
596
|
Y as i18nCalendarDateSelection,
|
|
577
|
-
|
|
597
|
+
Te as i18nCheckboxRequired,
|
|
578
598
|
r as i18nClass,
|
|
579
599
|
fe as i18nClearInput,
|
|
580
|
-
|
|
600
|
+
N as i18nCloseAlert,
|
|
581
601
|
W as i18nCloseDialog,
|
|
582
602
|
B as i18nCloseNavigation,
|
|
583
|
-
|
|
603
|
+
F as i18nCloseNotification,
|
|
584
604
|
J as i18nClosePopover,
|
|
585
|
-
|
|
605
|
+
u as i18nClosedCompartmentLabel,
|
|
586
606
|
le as i18nCollapsed,
|
|
587
607
|
re as i18nConnectionFrom,
|
|
588
608
|
se as i18nConnectionRoundtrip,
|
|
589
609
|
oe as i18nConnectionTo,
|
|
590
610
|
h as i18nCouchetteWagonLabel,
|
|
591
611
|
ae as i18nDateChangedTo,
|
|
612
|
+
Ae as i18nDateInvalid,
|
|
613
|
+
ke as i18nDateMax,
|
|
614
|
+
Ee as i18nDateMin,
|
|
592
615
|
te as i18nDatePickerPlaceholder,
|
|
593
616
|
C as i18nDeparture,
|
|
594
617
|
Z as i18nDialog,
|
|
595
618
|
n as i18nDirection,
|
|
596
|
-
|
|
619
|
+
D as i18nDurationDay,
|
|
597
620
|
S as i18nDurationHour,
|
|
598
621
|
z as i18nDurationMinute,
|
|
599
622
|
ce as i18nExpanded,
|
|
600
|
-
|
|
623
|
+
me as i18nFileSelectorButtonLabel,
|
|
601
624
|
ze as i18nFileSelectorCurrentlySelected,
|
|
602
625
|
Ce as i18nFileSelectorDeleteFile,
|
|
603
626
|
ve as i18nFileSelectorSubtitleLabel,
|
|
604
627
|
he as i18nFlipCard,
|
|
605
|
-
|
|
628
|
+
A as i18nFromPlatform,
|
|
606
629
|
V as i18nGoBack,
|
|
607
|
-
|
|
630
|
+
$e as i18nInputRequired,
|
|
631
|
+
be as i18nItemsPerPage,
|
|
608
632
|
g as i18nLocomotiveLabel,
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
633
|
+
de as i18nMapContainerButtonLabel,
|
|
634
|
+
I as i18nMeansOfTransport,
|
|
635
|
+
$ as i18nNew,
|
|
636
|
+
j as i18nNextDay,
|
|
613
637
|
K as i18nNextMonth,
|
|
614
638
|
Se as i18nNextPage,
|
|
615
639
|
U as i18nNextYear,
|
|
616
640
|
X as i18nNextYearRange,
|
|
617
|
-
|
|
641
|
+
k as i18nOccupancy,
|
|
618
642
|
R as i18nOptional,
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
643
|
+
Pe as i18nPage,
|
|
644
|
+
H as i18nPreviousDay,
|
|
645
|
+
q as i18nPreviousMonth,
|
|
646
|
+
De as i18nPreviousPage,
|
|
623
647
|
Q as i18nPreviousYear,
|
|
624
648
|
_ as i18nPreviousYearRange,
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
649
|
+
T as i18nRealTimeInfo,
|
|
650
|
+
p as i18nRestaurantWagonLabel,
|
|
651
|
+
pe as i18nReverseCard,
|
|
628
652
|
t as i18nSector,
|
|
629
653
|
a as i18nSectorShort,
|
|
630
654
|
ee as i18nSelectNextDay,
|
|
631
655
|
ne as i18nSelectPreviousDay,
|
|
632
|
-
|
|
656
|
+
we as i18nSelectedPage,
|
|
633
657
|
Me as i18nSelectionRequired,
|
|
634
658
|
ie as i18nShowCalendar,
|
|
635
659
|
f as i18nSleepingWagonLabel,
|
|
636
|
-
|
|
637
|
-
|
|
660
|
+
E as i18nSupersaver,
|
|
661
|
+
x as i18nTargetOpensInNewWindow,
|
|
638
662
|
ge as i18nTimeInputChange,
|
|
639
663
|
G as i18nToday,
|
|
640
664
|
o as i18nTrain,
|
|
641
665
|
s as i18nTrains,
|
|
642
666
|
M as i18nTransferProcedures,
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
667
|
+
w as i18nTravelhints,
|
|
668
|
+
b as i18nTripDuration,
|
|
669
|
+
P as i18nTripQuayChange,
|
|
646
670
|
l as i18nWagonLabel,
|
|
647
|
-
|
|
671
|
+
d as i18nWagonLabelNumber,
|
|
648
672
|
c as i18nWagonsLabel,
|
|
649
|
-
|
|
650
|
-
|
|
673
|
+
y as i18nWalkingDistanceArrival,
|
|
674
|
+
L as i18nWalkingDistanceDeparture,
|
|
651
675
|
O as i18nYearMonthSelection
|
|
652
676
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disabled-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/disabled-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AAKtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAE7E,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC,SAAgB,QAAQ,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,oBAAoB,IAAI,OAAO;CAC1C;AAED,MAAM,CAAC,OAAO,OAAO,+BAA+B;IAClD,SAAgB,mBAAmB,EAAE,OAAO,CAAC;CAC9C;AAED;;GAEG;AAEH,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"disabled-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/disabled-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AAKtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAE7E,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC,SAAgB,QAAQ,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,oBAAoB,IAAI,OAAO;CAC1C;AAED,MAAM,CAAC,OAAO,OAAO,+BAA+B;IAClD,SAAgB,mBAAmB,EAAE,OAAO,CAAC;CAC9C;AAED;;GAEG;AAEH,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EACxE,YAAY,CAAC,KACZ,mBAAmB,CAAC,oBAAoB,CAAC,GAAG,CAkB9C,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,2BAA2B,GACtC,CAAC,SAAS,mBAAmB,CAAC,UAAU,GAAG,oBAAoB,CAAC,EAEhE,YAAY,CAAC,KACZ,mBAAmB,CAAC,+BAA+B,CAAC,GAAG,CAazD,CAAC;AAGF,eAAO,MAAM,8BAA8B,GACzC,CAAC,SAAS,mBAAmB,CAAC,UAAU,GAAG,0BAA0B,CAAC,EAEtE,YAAY,CAAC,KACZ,mBAAmB,CAAC,oBAAoB,GAAG,+BAA+B,CAAC,GAAG,CA2BhF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-associated-checkbox-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/form-associated-checkbox-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"form-associated-checkbox-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/form-associated-checkbox-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,KAAK,CAAC;AAQxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAoB,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAoB,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIlF,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,kCAC5B,SAAQ,0BACR,YAAW,OAAO,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAEvE,IAAW,OAAO,IAAI,OAAO,CAAC;IAC9B,IAAW,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE;IAEnC,IAAW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE;IACpC,IAAW,QAAQ,IAAI,OAAO,CAAC;IAE/B,IAAW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE;IACpC,IAAW,QAAQ,IAAI,OAAO,CAAC;IAExB,iBAAiB,IAAI,IAAI;IACzB,wBAAwB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,EAAE,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAEhG,SAAS,CAAC,oBAAoB,IAAI,OAAO;IACzC,SAAS,CAAC,oBAAoB,IAAI,OAAO;IACzC,SAAS,CAAC,mBAAmB,CAAC,IAAI,IAAI;IACtC,SAAS,CAAC,eAAe,IAAI,IAAI;CAClC;AAED;;;;GAIG;AAEH,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAC9E,YAAY,CAAC,KACZ,WAAW,CAAC,kCAAkC,CAAC,GAAG,CAyJpD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { SbbLanguageController } from '../controllers.js';
|
|
3
|
+
import { Constructor } from './constructor.js';
|
|
4
|
+
import { FormRestoreReason, FormRestoreState, SbbFormAssociatedMixinType } from './form-associated-mixin.js';
|
|
5
|
+
import { SbbRequiredMixinType } from './required-mixin.js';
|
|
6
|
+
export declare abstract class SbbFormAssociatedInputMixinType extends SbbFormAssociatedMixinType implements Partial<SbbRequiredMixinType> {
|
|
7
|
+
set disabled(value: boolean);
|
|
8
|
+
get disabled(): boolean;
|
|
9
|
+
set readOnly(value: boolean);
|
|
10
|
+
get readOnly(): boolean;
|
|
11
|
+
set required(value: boolean);
|
|
12
|
+
get required(): boolean;
|
|
13
|
+
set placeholder(value: string);
|
|
14
|
+
get placeholder(): string;
|
|
15
|
+
formResetCallback(): void;
|
|
16
|
+
formStateRestoreCallback(state: FormRestoreState | null, reason: FormRestoreReason): void;
|
|
17
|
+
protected withUserInteraction?(): void;
|
|
18
|
+
protected updateFormValue(): void;
|
|
19
|
+
protected language: SbbLanguageController;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The SbbFormAssociatedInputMixin enables native form support for text input controls.
|
|
23
|
+
*/
|
|
24
|
+
export declare const SbbFormAssociatedInputMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<SbbFormAssociatedInputMixinType> & T;
|
|
25
|
+
//# sourceMappingURL=form-associated-input-mixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-associated-input-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/form-associated-input-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,KAAK,CAAC;AAItD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAI1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAErB,KAAK,0BAA0B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAoB,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAElF,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,+BAC5B,SAAQ,0BACR,YAAW,OAAO,CAAC,oBAAoB,CAAC;IAExC,IAAW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE;IACpC,IAAW,QAAQ,IAAI,OAAO,CAAC;IAE/B,IAAW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE;IACpC,IAAW,QAAQ,IAAI,OAAO,CAAC;IAE/B,IAAW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE;IACpC,IAAW,QAAQ,IAAI,OAAO,CAAC;IAE/B,IAAW,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE;IACtC,IAAW,WAAW,IAAI,MAAM,CAAC;IAE1B,iBAAiB,IAAI,IAAI;IACzB,wBAAwB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,EAAE,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAEhG,SAAS,CAAC,mBAAmB,CAAC,IAAI,IAAI;IACtC,SAAS,CAAC,eAAe,IAAI,IAAI;IACjC,SAAS,CAAC,QAAQ,EAAE,qBAAqB,CAAC;CAC3C;AAED;;GAEG;AAEH,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAC3E,YAAY,CAAC,KACZ,WAAW,CAAC,+BAA+B,CAAC,GAAG,CAyVjD,CAAC"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import { AbstractConstructor } from './constructor.js';
|
|
3
|
+
declare global {
|
|
4
|
+
/**
|
|
5
|
+
* Defines custom valididty state properties.
|
|
6
|
+
*/
|
|
7
|
+
interface CustomValidityState {
|
|
8
|
+
}
|
|
9
|
+
interface ValidityState extends CustomValidityState {
|
|
10
|
+
}
|
|
11
|
+
interface ValidityStateFlags extends Partial<CustomValidityState> {
|
|
12
|
+
}
|
|
13
|
+
}
|
|
3
14
|
export declare abstract class SbbFormAssociatedMixinType<V = string> {
|
|
4
15
|
get form(): HTMLFormElement | null;
|
|
5
16
|
accessor name: string;
|
|
@@ -20,6 +31,8 @@ export declare abstract class SbbFormAssociatedMixinType<V = string> {
|
|
|
20
31
|
protected abstract updateFormValue(): void;
|
|
21
32
|
protected setValidityFlag<T extends keyof ValidityStateFlags>(flag: T, message: string, flagValue?: ValidityStateFlags[T]): void;
|
|
22
33
|
protected removeValidityFlag<T extends keyof ValidityStateFlags>(flag: T): void;
|
|
34
|
+
protected validate(): void;
|
|
35
|
+
protected shouldValidate(name: PropertyKey | undefined): boolean;
|
|
23
36
|
}
|
|
24
37
|
/**
|
|
25
38
|
* The FormAssociatedMixin enables native form support for custom controls.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-associated-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/form-associated-mixin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-associated-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/form-associated-mixin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAuC,MAAM,KAAK,CAAC;AAK3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,CAAC,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,mBAAmB;KAAG;IAChC,UAAU,aAAc,SAAQ,mBAAmB;KAAG;IACtD,UAAU,kBAAmB,SAAQ,OAAO,CAAC,mBAAmB,CAAC;KAAG;CACrE;AAoCD,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,0BAA0B,CAAC,CAAC,GAAG,MAAM;IACjE,IAAW,IAAI,IAAI,eAAe,GAAG,IAAI,CAAC;IAC1C,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,IAAW,IAAI,IAAI,MAAM,CAAC;IAC1B,SAAgB,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAEhC,IAAW,QAAQ,IAAI,aAAa,CAAC;IACrC,IAAW,iBAAiB,IAAI,MAAM,CA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