@vonage/vivid 5.27.0 → 5.28.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/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +3 -3
- package/bundled/decorate.js +1 -1
- package/bundled/definition10.cjs +5 -1
- package/bundled/definition10.js +5 -1
- package/bundled/definition2.cjs +1 -1
- package/bundled/definition2.js +1 -1
- package/bundled/definition23.cjs +8 -4
- package/bundled/definition23.js +8 -4
- package/bundled/definition4.cjs +1 -1
- package/bundled/definition4.js +1 -1
- package/bundled/definition5.cjs +1 -1
- package/bundled/definition5.js +2 -1
- package/bundled/definition8.cjs +9 -7
- package/bundled/definition8.js +11 -9
- package/bundled/definition9.cjs +3 -3
- package/bundled/definition9.js +4 -4
- package/bundled/feedback-message.cjs +1 -1
- package/bundled/feedback-message.js +1 -1
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +12 -0
- package/bundled/render-in-light-dom.js +3 -3
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/custom-elements.json +2052 -1998
- package/lib/badge/badge.d.ts +1 -0
- package/lib/badge/badge.template.d.ts +2 -1
- package/lib/icon/icon.d.ts +1 -1
- package/lib/popover/popover.d.ts +2 -1
- package/lib/progress-ring/progress-ring.d.ts +1 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +427 -0
- package/lib/rich-text-editor/rte/__tests__/async-generator.d.ts +1 -0
- package/lib/rich-text-editor/rte/features/atom.d.ts +6 -2
- package/lib/rich-text-editor/rte/instance.d.ts +2 -1
- package/lib/table/locale.d.ts +10 -0
- package/lib/table/table-sorting-button.d.ts +425 -0
- package/locales/de-DE.cjs +12 -0
- package/locales/de-DE.js +12 -0
- package/locales/en-GB.cjs +12 -0
- package/locales/en-GB.js +12 -0
- package/locales/ja-JP.cjs +12 -0
- package/locales/ja-JP.js +12 -0
- package/locales/zh-CN.cjs +12 -0
- package/locales/zh-CN.js +12 -0
- package/number-field/index.cjs +1 -1
- package/number-field/index.js +1 -1
- package/package.json +14 -14
- package/popover/index.cjs +2 -2
- package/popover/index.js +70 -37
- package/rich-text-editor/index.cjs +23 -17
- package/rich-text-editor/index.js +1653 -1588
- package/shared/localization/Locale.d.ts +2 -0
- package/table/index.cjs +17 -17
- package/table/index.js +50 -40
- package/unbundled/decorate.cjs +1 -1
- package/unbundled/decorate.js +1 -1
- package/unbundled/definition.cjs +1 -1
- package/unbundled/definition.js +1 -1
- package/unbundled/definition14.cjs +1 -1
- package/unbundled/definition14.js +1 -1
- package/unbundled/definition15.cjs +8 -3
- package/unbundled/definition15.js +8 -3
- package/unbundled/definition2.cjs +1 -1
- package/unbundled/definition2.js +1 -1
- package/unbundled/definition24.cjs +4 -4
- package/unbundled/definition24.js +4 -4
- package/unbundled/definition25.cjs +5 -1
- package/unbundled/definition25.js +5 -1
- package/unbundled/definition27.cjs +8 -5
- package/unbundled/definition27.js +8 -5
- package/unbundled/definition5.cjs +1 -1
- package/unbundled/definition5.js +1 -1
- package/unbundled/definition55.cjs +1 -1
- package/unbundled/definition55.js +1 -1
- package/unbundled/definition58.cjs +69 -4
- package/unbundled/definition58.js +69 -4
- package/unbundled/definition6.cjs +2 -1
- package/unbundled/definition6.js +2 -1
- package/unbundled/definition63.cjs +80 -21
- package/unbundled/definition63.js +80 -21
- package/unbundled/definition75.cjs +19 -6
- package/unbundled/definition75.js +20 -7
- package/unbundled/definition8.cjs +2 -2
- package/unbundled/definition8.js +2 -2
- package/unbundled/definition83.cjs +1 -1
- package/unbundled/definition83.js +1 -1
- package/unbundled/en-US.cjs +12 -0
- package/unbundled/en-US.js +12 -0
- package/unbundled/feedback-message.cjs +1 -1
- package/unbundled/feedback-message.js +1 -1
- package/unbundled/linkable.cjs +1 -1
- package/unbundled/linkable.js +1 -1
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/video-player/index.cjs +1 -1
- package/video-player/index.js +1 -1
- package/vivid.api.json +63 -2
|
@@ -1,5 +1,430 @@
|
|
|
1
1
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
2
2
|
declare const TableSortingButton_base: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
get locale(): import('../../shared/localization/Locale').Locale;
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
focus(...args: any[]): void;
|
|
7
|
+
_vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
|
|
8
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
9
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
10
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
11
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
12
|
+
accessKey: string;
|
|
13
|
+
readonly accessKeyLabel: string;
|
|
14
|
+
autocapitalize: string;
|
|
15
|
+
autocorrect: boolean;
|
|
16
|
+
dir: string;
|
|
17
|
+
draggable: boolean;
|
|
18
|
+
hidden: boolean;
|
|
19
|
+
inert: boolean;
|
|
20
|
+
innerText: string;
|
|
21
|
+
lang: string;
|
|
22
|
+
readonly offsetHeight: number;
|
|
23
|
+
readonly offsetLeft: number;
|
|
24
|
+
readonly offsetParent: Element | null;
|
|
25
|
+
readonly offsetTop: number;
|
|
26
|
+
readonly offsetWidth: number;
|
|
27
|
+
outerText: string;
|
|
28
|
+
popover: string | null;
|
|
29
|
+
spellcheck: boolean;
|
|
30
|
+
title: string;
|
|
31
|
+
translate: boolean;
|
|
32
|
+
writingSuggestions: string;
|
|
33
|
+
attachInternals(): ElementInternals;
|
|
34
|
+
click(): void;
|
|
35
|
+
hidePopover(): void;
|
|
36
|
+
showPopover(): void;
|
|
37
|
+
togglePopover(options?: boolean): boolean;
|
|
38
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
40
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
41
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
42
|
+
readonly attributes: NamedNodeMap;
|
|
43
|
+
get classList(): DOMTokenList;
|
|
44
|
+
set classList(value: string);
|
|
45
|
+
className: string;
|
|
46
|
+
readonly clientHeight: number;
|
|
47
|
+
readonly clientLeft: number;
|
|
48
|
+
readonly clientTop: number;
|
|
49
|
+
readonly clientWidth: number;
|
|
50
|
+
readonly currentCSSZoom: number;
|
|
51
|
+
id: string;
|
|
52
|
+
innerHTML: string;
|
|
53
|
+
readonly localName: string;
|
|
54
|
+
readonly namespaceURI: string | null;
|
|
55
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
56
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
57
|
+
outerHTML: string;
|
|
58
|
+
readonly ownerDocument: Document;
|
|
59
|
+
get part(): DOMTokenList;
|
|
60
|
+
set part(value: string);
|
|
61
|
+
readonly prefix: string | null;
|
|
62
|
+
readonly scrollHeight: number;
|
|
63
|
+
scrollLeft: number;
|
|
64
|
+
scrollTop: number;
|
|
65
|
+
readonly scrollWidth: number;
|
|
66
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
67
|
+
slot: string;
|
|
68
|
+
readonly tagName: string;
|
|
69
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
70
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
71
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
72
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
73
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
74
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
75
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
76
|
+
getAttribute(qualifiedName: string): string | null;
|
|
77
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
78
|
+
getAttributeNames(): string[];
|
|
79
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
80
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
81
|
+
getBoundingClientRect(): DOMRect;
|
|
82
|
+
getClientRects(): DOMRectList;
|
|
83
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
84
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
85
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
86
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
87
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
88
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
89
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
90
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
91
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
92
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
93
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
94
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
95
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
96
|
+
hasAttributes(): boolean;
|
|
97
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
98
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
99
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
100
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
101
|
+
matches(selectors: string): boolean;
|
|
102
|
+
releasePointerCapture(pointerId: number): void;
|
|
103
|
+
removeAttribute(qualifiedName: string): void;
|
|
104
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
105
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
106
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
107
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
108
|
+
scroll(options?: ScrollToOptions): void;
|
|
109
|
+
scroll(x: number, y: number): void;
|
|
110
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
111
|
+
scrollBy(x: number, y: number): void;
|
|
112
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
113
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
114
|
+
scrollTo(x: number, y: number): void;
|
|
115
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
116
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
117
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
118
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
119
|
+
setHTMLUnsafe(html: string): void;
|
|
120
|
+
setPointerCapture(pointerId: number): void;
|
|
121
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
122
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
123
|
+
get textContent(): string;
|
|
124
|
+
set textContent(value: string | null);
|
|
125
|
+
readonly baseURI: string;
|
|
126
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
127
|
+
readonly firstChild: ChildNode | null;
|
|
128
|
+
readonly isConnected: boolean;
|
|
129
|
+
readonly lastChild: ChildNode | null;
|
|
130
|
+
readonly nextSibling: ChildNode | null;
|
|
131
|
+
readonly nodeName: string;
|
|
132
|
+
readonly nodeType: number;
|
|
133
|
+
nodeValue: string | null;
|
|
134
|
+
readonly parentElement: HTMLElement | null;
|
|
135
|
+
readonly parentNode: ParentNode | null;
|
|
136
|
+
readonly previousSibling: ChildNode | null;
|
|
137
|
+
appendChild<T extends Node>(node: T): T;
|
|
138
|
+
cloneNode(subtree?: boolean): Node;
|
|
139
|
+
compareDocumentPosition(other: Node): number;
|
|
140
|
+
contains(other: Node | null): boolean;
|
|
141
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
142
|
+
hasChildNodes(): boolean;
|
|
143
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
144
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
145
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
146
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
147
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
148
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
149
|
+
normalize(): void;
|
|
150
|
+
removeChild<T extends Node>(child: T): T;
|
|
151
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
152
|
+
readonly ELEMENT_NODE: 1;
|
|
153
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
154
|
+
readonly TEXT_NODE: 3;
|
|
155
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
156
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
157
|
+
readonly ENTITY_NODE: 6;
|
|
158
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
159
|
+
readonly COMMENT_NODE: 8;
|
|
160
|
+
readonly DOCUMENT_NODE: 9;
|
|
161
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
162
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
163
|
+
readonly NOTATION_NODE: 12;
|
|
164
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
165
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
166
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
167
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
168
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
169
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
170
|
+
dispatchEvent(event: Event): boolean;
|
|
171
|
+
ariaActiveDescendantElement: Element | null;
|
|
172
|
+
ariaAtomic: string | null;
|
|
173
|
+
ariaAutoComplete: string | null;
|
|
174
|
+
ariaBrailleLabel: string | null;
|
|
175
|
+
ariaBrailleRoleDescription: string | null;
|
|
176
|
+
ariaBusy: string | null;
|
|
177
|
+
ariaChecked: string | null;
|
|
178
|
+
ariaColCount: string | null;
|
|
179
|
+
ariaColIndex: string | null;
|
|
180
|
+
ariaColIndexText: string | null;
|
|
181
|
+
ariaColSpan: string | null;
|
|
182
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
183
|
+
ariaCurrent: string | null;
|
|
184
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
185
|
+
ariaDescription: string | null;
|
|
186
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
187
|
+
ariaDisabled: string | null;
|
|
188
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
189
|
+
ariaExpanded: string | null;
|
|
190
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
191
|
+
ariaHasPopup: string | null;
|
|
192
|
+
ariaHidden: string | null;
|
|
193
|
+
ariaInvalid: string | null;
|
|
194
|
+
ariaKeyShortcuts: string | null;
|
|
195
|
+
ariaLabel: string | null;
|
|
196
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
197
|
+
ariaLevel: string | null;
|
|
198
|
+
ariaLive: string | null;
|
|
199
|
+
ariaModal: string | null;
|
|
200
|
+
ariaMultiLine: string | null;
|
|
201
|
+
ariaMultiSelectable: string | null;
|
|
202
|
+
ariaOrientation: string | null;
|
|
203
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
204
|
+
ariaPlaceholder: string | null;
|
|
205
|
+
ariaPosInSet: string | null;
|
|
206
|
+
ariaPressed: string | null;
|
|
207
|
+
ariaReadOnly: string | null;
|
|
208
|
+
ariaRelevant: string | null;
|
|
209
|
+
ariaRequired: string | null;
|
|
210
|
+
ariaRoleDescription: string | null;
|
|
211
|
+
ariaRowCount: string | null;
|
|
212
|
+
ariaRowIndex: string | null;
|
|
213
|
+
ariaRowIndexText: string | null;
|
|
214
|
+
ariaRowSpan: string | null;
|
|
215
|
+
ariaSelected: string | null;
|
|
216
|
+
ariaSetSize: string | null;
|
|
217
|
+
ariaSort: string | null;
|
|
218
|
+
ariaValueMax: string | null;
|
|
219
|
+
ariaValueMin: string | null;
|
|
220
|
+
ariaValueNow: string | null;
|
|
221
|
+
ariaValueText: string | null;
|
|
222
|
+
role: string | null;
|
|
223
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
224
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
225
|
+
after(...nodes: (Node | string)[]): void;
|
|
226
|
+
before(...nodes: (Node | string)[]): void;
|
|
227
|
+
remove(): void;
|
|
228
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
229
|
+
readonly nextElementSibling: Element | null;
|
|
230
|
+
readonly previousElementSibling: Element | null;
|
|
231
|
+
readonly childElementCount: number;
|
|
232
|
+
readonly children: HTMLCollection;
|
|
233
|
+
readonly firstElementChild: Element | null;
|
|
234
|
+
readonly lastElementChild: Element | null;
|
|
235
|
+
append(...nodes: (Node | string)[]): void;
|
|
236
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
237
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
238
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
239
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
240
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
241
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
242
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
243
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
244
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
245
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
246
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
247
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
248
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
249
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
250
|
+
get style(): CSSStyleDeclaration;
|
|
251
|
+
set style(cssText: string);
|
|
252
|
+
contentEditable: string;
|
|
253
|
+
enterKeyHint: string;
|
|
254
|
+
inputMode: string;
|
|
255
|
+
readonly isContentEditable: boolean;
|
|
256
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
257
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
258
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
259
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
260
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
261
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
262
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
263
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
265
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
266
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
271
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
274
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
276
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
278
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
279
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
280
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
281
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
282
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
283
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
284
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
285
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
286
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
onerror: OnErrorEventHandler;
|
|
290
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
291
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
292
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
296
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
297
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
298
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
304
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
305
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
306
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
307
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
308
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
309
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
310
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
311
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
316
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
318
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
319
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
320
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
321
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
324
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
327
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
330
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
338
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
341
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
342
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
343
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
344
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
345
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
346
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
347
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
348
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
349
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
350
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
351
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
352
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
353
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
354
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
356
|
+
autofocus: boolean;
|
|
357
|
+
readonly dataset: DOMStringMap;
|
|
358
|
+
nonce?: string;
|
|
359
|
+
tabIndex: number;
|
|
360
|
+
blur(): void;
|
|
361
|
+
ariaControls: string | null;
|
|
362
|
+
ariaDescribedBy: string | null;
|
|
363
|
+
ariaDetails: string | null;
|
|
364
|
+
ariaErrorMessage: string | null;
|
|
365
|
+
ariaFlowTo: string | null;
|
|
366
|
+
ariaLabelledBy: string | null;
|
|
367
|
+
ariaOwns: string | null;
|
|
368
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
369
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
370
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
371
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
372
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
373
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
377
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
378
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
379
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
380
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
381
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
382
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
383
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
384
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
385
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
386
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
387
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
388
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
389
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
390
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
391
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
392
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
393
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
394
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
395
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
396
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
397
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
398
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
399
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
400
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
401
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
402
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
403
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
404
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
405
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
406
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
407
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
408
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
409
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
410
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
411
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
412
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
413
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
414
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
415
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
416
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
417
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
418
|
+
newPropertyName: string;
|
|
419
|
+
deprecatedPropertyName: string;
|
|
420
|
+
fromDeprecated: (v: any) => any;
|
|
421
|
+
toDeprecated?: ((v: any) => any) | undefined;
|
|
422
|
+
}): void;
|
|
423
|
+
"__#private@#controllers": Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
424
|
+
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
425
|
+
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
426
|
+
};
|
|
427
|
+
} & {
|
|
3
428
|
new (...args: any[]): {
|
|
4
429
|
_vividAriaBehaviour: "delegate";
|
|
5
430
|
connectedCallback(): void;
|
package/locales/de-DE.cjs
CHANGED
|
@@ -420,6 +420,18 @@ var deDE = {
|
|
|
420
420
|
goToPageLabel: /* istanbul ignore next */ (index) => `Weiter zu Seite ${index}`
|
|
421
421
|
},
|
|
422
422
|
tag: { remove: /* istanbul ignore next */ (label) => `Entfernen ${label}` },
|
|
423
|
+
tableSortingButton: {
|
|
424
|
+
sortStatus: {
|
|
425
|
+
ascending: "Aufsteigend sortiert.",
|
|
426
|
+
descending: "Absteigend sortiert.",
|
|
427
|
+
none: "Nicht sortiert."
|
|
428
|
+
},
|
|
429
|
+
sortInstruction: {
|
|
430
|
+
ascending: "Zum Absteigend sortieren klicken.",
|
|
431
|
+
descending: "Zum Entfernen der Sortierung klicken.",
|
|
432
|
+
none: "Zum Aufsteigend sortieren klicken."
|
|
433
|
+
}
|
|
434
|
+
},
|
|
423
435
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen` },
|
|
424
436
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
425
437
|
let swatchLabel = label ? `${label} auswählen, Hex: ${value}` : `${value} auswählen`;
|
package/locales/de-DE.js
CHANGED
|
@@ -421,6 +421,18 @@ var deDE = {
|
|
|
421
421
|
goToPageLabel: /* istanbul ignore next */ (index) => `Weiter zu Seite ${index}`
|
|
422
422
|
},
|
|
423
423
|
tag: { remove: /* istanbul ignore next */ (label) => `Entfernen ${label}` },
|
|
424
|
+
tableSortingButton: {
|
|
425
|
+
sortStatus: {
|
|
426
|
+
ascending: "Aufsteigend sortiert.",
|
|
427
|
+
descending: "Absteigend sortiert.",
|
|
428
|
+
none: "Nicht sortiert."
|
|
429
|
+
},
|
|
430
|
+
sortInstruction: {
|
|
431
|
+
ascending: "Zum Absteigend sortieren klicken.",
|
|
432
|
+
descending: "Zum Entfernen der Sortierung klicken.",
|
|
433
|
+
none: "Zum Aufsteigend sortieren klicken."
|
|
434
|
+
}
|
|
435
|
+
},
|
|
424
436
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen` },
|
|
425
437
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
426
438
|
let swatchLabel = label ? `${label} auswählen, Hex: ${value}` : `${value} auswählen`;
|
package/locales/en-GB.cjs
CHANGED
|
@@ -251,6 +251,18 @@ var enGB = {
|
|
|
251
251
|
goToPageLabel: /* istanbul ignore next */ (index) => `Go to page ${index}`
|
|
252
252
|
},
|
|
253
253
|
tag: { remove: /* istanbul ignore next */ (label) => `Remove ${label}` },
|
|
254
|
+
tableSortingButton: {
|
|
255
|
+
sortStatus: {
|
|
256
|
+
ascending: "Sorted ascending.",
|
|
257
|
+
descending: "Sorted descending.",
|
|
258
|
+
none: "Not sorted."
|
|
259
|
+
},
|
|
260
|
+
sortInstruction: {
|
|
261
|
+
ascending: "Click to sort descending.",
|
|
262
|
+
descending: "Click to un-sort.",
|
|
263
|
+
none: "Click to sort ascending."
|
|
264
|
+
}
|
|
265
|
+
},
|
|
254
266
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information` },
|
|
255
267
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
256
268
|
let swatchLabel = label ? `Select ${label}, hex: ${value}` : `Select ${value}`;
|
package/locales/en-GB.js
CHANGED
|
@@ -252,6 +252,18 @@ var enGB = {
|
|
|
252
252
|
goToPageLabel: /* istanbul ignore next */ (index) => `Go to page ${index}`
|
|
253
253
|
},
|
|
254
254
|
tag: { remove: /* istanbul ignore next */ (label) => `Remove ${label}` },
|
|
255
|
+
tableSortingButton: {
|
|
256
|
+
sortStatus: {
|
|
257
|
+
ascending: "Sorted ascending.",
|
|
258
|
+
descending: "Sorted descending.",
|
|
259
|
+
none: "Not sorted."
|
|
260
|
+
},
|
|
261
|
+
sortInstruction: {
|
|
262
|
+
ascending: "Click to sort descending.",
|
|
263
|
+
descending: "Click to un-sort.",
|
|
264
|
+
none: "Click to sort ascending."
|
|
265
|
+
}
|
|
266
|
+
},
|
|
255
267
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information` },
|
|
256
268
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
257
269
|
let swatchLabel = label ? `Select ${label}, hex: ${value}` : `Select ${value}`;
|
package/locales/ja-JP.cjs
CHANGED
|
@@ -414,6 +414,18 @@ var jaJP = {
|
|
|
414
414
|
goToPageLabel: /* istanbul ignore next */ (index) => `${index}ページへ`
|
|
415
415
|
},
|
|
416
416
|
tag: { remove: /* istanbul ignore next */ (label) => `削除する ${label}` },
|
|
417
|
+
tableSortingButton: {
|
|
418
|
+
sortStatus: {
|
|
419
|
+
ascending: "昇順で並べ替えています。",
|
|
420
|
+
descending: "降順で並べ替えています。",
|
|
421
|
+
none: "並べ替えは適用されていません。"
|
|
422
|
+
},
|
|
423
|
+
sortInstruction: {
|
|
424
|
+
ascending: "クリックすると降順で並べ替えます。",
|
|
425
|
+
descending: "クリックすると並べ替えを解除します。",
|
|
426
|
+
none: "クリックすると昇順で並べ替えます。"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
417
429
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示` },
|
|
418
430
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
419
431
|
let swatchLabel = label ? `${label}選択, 16 進数: ${value}` : `${value}選択`;
|
package/locales/ja-JP.js
CHANGED
|
@@ -415,6 +415,18 @@ var jaJP = {
|
|
|
415
415
|
goToPageLabel: /* istanbul ignore next */ (index) => `${index}ページへ`
|
|
416
416
|
},
|
|
417
417
|
tag: { remove: /* istanbul ignore next */ (label) => `削除する ${label}` },
|
|
418
|
+
tableSortingButton: {
|
|
419
|
+
sortStatus: {
|
|
420
|
+
ascending: "昇順で並べ替えています。",
|
|
421
|
+
descending: "降順で並べ替えています。",
|
|
422
|
+
none: "並べ替えは適用されていません。"
|
|
423
|
+
},
|
|
424
|
+
sortInstruction: {
|
|
425
|
+
ascending: "クリックすると降順で並べ替えます。",
|
|
426
|
+
descending: "クリックすると並べ替えを解除します。",
|
|
427
|
+
none: "クリックすると昇順で並べ替えます。"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
418
430
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示` },
|
|
419
431
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
420
432
|
let swatchLabel = label ? `${label}選択, 16 進数: ${value}` : `${value}選択`;
|
package/locales/zh-CN.cjs
CHANGED
|
@@ -414,6 +414,18 @@ var zhCN = {
|
|
|
414
414
|
goToPageLabel: /* istanbul ignore next */ (index) => `转至第 ${index} 页`
|
|
415
415
|
},
|
|
416
416
|
tag: { remove: /* istanbul ignore next */ (label) => `移除 ${label}` },
|
|
417
|
+
tableSortingButton: {
|
|
418
|
+
sortStatus: {
|
|
419
|
+
ascending: "已按升序排序。",
|
|
420
|
+
descending: "已按降序排序。",
|
|
421
|
+
none: "未排序。"
|
|
422
|
+
},
|
|
423
|
+
sortInstruction: {
|
|
424
|
+
ascending: "单击以按降序排序。",
|
|
425
|
+
descending: "单击以取消排序。",
|
|
426
|
+
none: "单击以按升序排序。"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
417
429
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息` },
|
|
418
430
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
419
431
|
let swatchLabel = label ? `选择${label}, 十六进制:${value}` : `选择${value}`;
|
package/locales/zh-CN.js
CHANGED
|
@@ -415,6 +415,18 @@ var zhCN = {
|
|
|
415
415
|
goToPageLabel: /* istanbul ignore next */ (index) => `转至第 ${index} 页`
|
|
416
416
|
},
|
|
417
417
|
tag: { remove: /* istanbul ignore next */ (label) => `移除 ${label}` },
|
|
418
|
+
tableSortingButton: {
|
|
419
|
+
sortStatus: {
|
|
420
|
+
ascending: "已按升序排序。",
|
|
421
|
+
descending: "已按降序排序。",
|
|
422
|
+
none: "未排序。"
|
|
423
|
+
},
|
|
424
|
+
sortInstruction: {
|
|
425
|
+
ascending: "单击以按降序排序。",
|
|
426
|
+
descending: "单击以取消排序。",
|
|
427
|
+
none: "单击以按升序排序。"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
418
430
|
toggletip: { anchorLabel: /* istanbul ignore next */ (ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息` },
|
|
419
431
|
baseColorPicker: { colorSwatchLabel: /* istanbul ignore next */ (value, label, selected) => {
|
|
420
432
|
let swatchLabel = label ? `选择${label}, 十六进制:${value}` : `选择${value}`;
|
package/number-field/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require("../bundled/localized.cjs"),t=require("../bundled/vivid-element.cjs"),n=require("../bundled/slotted.cjs"),r=require("../bundled/ref.cjs"),i=require("../bundled/when.cjs"),a=require("../bundled/definition.cjs"),o=require("../bundled/enums.cjs"),s=require("../bundled/decorate.cjs"),c=require("../bundled/class-names.cjs"),l=require("../bundled/key-codes.cjs"),u=require("../bundled/definition2.cjs"),d=require("../bundled/affix.cjs"),f=require("../bundled/delegates-aria.cjs"),p=require("../bundled/component-enum.cjs"),m=require("../bundled/form-associated.cjs"),h=require("../bundled/definition5.cjs"),g=require("../bundled/feedback-message.cjs"),_=require("../bundled/definition10.cjs"),v=require("../bundled/form-element.cjs"),y=require("../bundled/with-contextual-help.cjs"),b=require("../bundled/with-error-text.cjs"),x=require("../bundled/with-success-text.cjs"),S=require("../bundled/mixins.cjs"),C=require("../bundled/definition20.cjs"),w=require("../bundled/divider.cjs");var T=`.label-wrapper{align-items:center;gap:var(--label-wrapper-gap,4px);flex-direction:row;display:flex}.label-wrapper[hidden]{display:none}.label:not(slot),.label::slotted(label){flex:0 auto}:host{display:inline-block}.base{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));--_text-field-border-radius:8px;--_text-field-pill-border-radius:24px;grid-template-columns:min-content 1fr max-content;align-items:center;gap:4px;width:100%;display:inline-grid}.base.size-condensed{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8)) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8));--_text-field-border-radius:4px}.base{user-select:none}.base:not(.disabled){--_low-ink-color:var(--vvd-color-neutral-600)}.base.disabled{--_low-ink-color:var(--_appearance-color-text)}.label:not(slot),.label::slotted(label){font:var(--vvd-typography-base);grid-area:1/1/auto/4;box-sizing:initial!important;padding:initial!important;margin:initial!important;color:var(--vvd-color-canvas-text)!important}.char-count+.label:not(slot),.char-count+.label::slotted(label){grid-column:1/3}.char-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.label-wrapper{grid-area:1/1/auto/4}.char-count+.label-wrapper{grid-column:1/3}.fieldset{background-color:var(--_appearance-color-fill);font:var(--vvd-typography-base);grid-column:1/4;align-items:center;padding-block:0;transition:color .2s,background-color .2s;display:flex;position:relative}.fieldset:after{border-radius:inherit;block-size:100%;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);content:"";pointer-events:none;inline-size:100%;transition:box-shadow .2s;display:block;position:absolute}.fieldset:focus-visible{outline:none}.base>.fieldset{block-size:var(--_text-field-block-size)}.base:not(.shape-pill) .fieldset{border-radius:var(--_text-field-border-radius)}.base.shape-pill .fieldset{border-radius:var(--_text-field-pill-border-radius)}.wrapper{border-radius:inherit;block-size:100%;inline-size:100%}.control{border-radius:inherit;text-align:start}.control:not(slot),.control::slotted(input){font:inherit;text-align:inherit;outline:#0000;box-sizing:border-box!important;border-radius:inherit!important;width:100%!important;margin:initial!important;appearance:none!important;block-size:100%!important;color:inherit!important;padding-block:0!important;padding-inline:var(--_text-field-gutter-start) var(--_text-field-gutter-end)!important;background-color:#0000!important;border:0!important}.control:not(slot,:focus),.control::slotted(input:not(:focus)){text-overflow:ellipsis!important}.control:not(slot):disabled,.control::slotted(input:disabled){cursor:not-allowed!important;opacity:1!important;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot)::placeholder{opacity:1!important;-webkit-text-fill-color:var(--_low-ink-color)!important}.control::slotted(input:-webkit-autofill){-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.has-icon .control:not(slot),.has-icon .control::slotted(input){padding-inline-start:calc(var(--_text-field-icon-size) + var(--_text-field-gutter-start) * 2)!important}.icon{z-index:1;color:var(--_low-ink-color);font-size:var(--_text-field-icon-size);line-height:1;position:absolute;inset-block-start:50%;inset-inline-start:calc(100% + var(--_text-field-gutter-start));transform:translateY(-50%)}.leading-items-wrapper{position:relative}.base.no-leading .leading-items-wrapper{display:none}.action-items-wrapper{margin-inline-end:4px}.base:not(.action-items) .action-items-wrapper{display:none}@supports selector(:has(*)){.base:not(.has-activedescendant) .fieldset:has(.wrapper .control:focus-within):after{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}}@supports not selector(:has(*)){.base:not(.has-activedescendant) .wrapper:focus-within:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));--focus-stroke-gap-color:transparent;z-index:1;border-radius:inherit;content:"";pointer-events:none;display:block;position:absolute;inset:0}}:host([internal-part]) .fieldset{font:var(--vvd-typography-heading-4);background-color:#0000;line-height:1.1}:host([internal-part]) .fieldset:not(:focus-within):after{block-size:1px;inset-block-end:0}@supports selector(:has(*)){:host([internal-part]) .fieldset:has(.action-items-wrapper:focus-within):after{block-size:1px;inset-block-end:0}}:host([internal-part]) .control{text-align:center}slot[name=_mirrored-helper-text]{display:none}.base{--_text-field-gutter-end:70px}.control::-webkit-outer-spin-button{appearance:none}.control::-webkit-inner-spin-button{appearance:none}.control-buttons{z-index:1;display:flex;position:absolute;right:3px}.readonly .control-buttons,.disabled .control-buttons{pointer-events:none}.control-buttons .divider{margin-block:8px}.control-buttons>*{flex-shrink:0}`,E=p.t([`fieldset`,`ghost`],`fieldset`),D={up:1,down:-1};function O(e,t){let n=parseFloat(e.value),r=isNaN(n)?e.min>0?e.min:e.max<0?e.max:e.min?0:t*e.step:n+t*e.step;e.value=Number(r.toFixed(12)).toString(),e._updatedValueAnnouncement=e.locale.numberField.updatedValueAnnouncement(e._presentationValue)}var k=e=>{let t=e.source;return{invalidCharacters:RegExp(`[^0-9\\-+e${t}]`,`g`),additionalDecimalSeparators:RegExp(`(?<=${t}.*)${t}`,`g`),trailingDecimalSeparator:RegExp(`${t}$`),decimalSeparator:e}},A=k(/\./),j=k(/,/),M=/^-?((\d*\.\d+)|(\d+))$/,N=class extends y.t(S.t(b.t(x.t(v.t(d.t(e.t(f.t(m.n(t.t))))))))){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.readOnly=!1,this.autofocus=!1,this.step=1,this.isUserInput=!1,this._presentationValue=``,this._updatedValueAnnouncement=``,this.incrementButtonAriaLabel=null,this.decrementButtonAriaLabel=null}stepChanged(e,t){this.proxy.setAttribute(`step`,Number.isFinite(t)?t.toString():``)}maxChanged(e,t){this.max=Math.max(t,this.min??t),this.proxy.max=this.max.toString(),this.validate()}minChanged(e,t){this.min=Math.min(t,this.max??t),this.proxy.min=this.min.toString(),this.validate()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){this.value=M.test(t)?t:``,t===this.value&&(this.control&&!this.isUserInput&&(this._presentationValue=this.#e(this.value)),super.valueChanged(e,this.value),e!==void 0&&!this.isUserInput&&(this.$emit(`input`),this.$emit(`change`)))}get _numberPatterns(){return this.locale.common.useCommaAsDecimalSeparator?j:A}#e(e){return e.replace(`.`,this.locale.common.useCommaAsDecimalSeparator?`,`:`.`)}#t(e){return e.replace(this._numberPatterns.invalidCharacters,``).replace(this._numberPatterns.additionalDecimalSeparators,``)}#n(e){let t=e.replace(this._numberPatterns.trailingDecimalSeparator,``).replace(this._numberPatterns.decimalSeparator,`.`);return M.test(t)?t:``}validate(){super.validate(this.control)}stepUp(){O(this,D.up)}stepDown(){O(this,D.down)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute(`type`,`number`),this.validate(),this._presentationValue=this.#e(this.value),this.autofocus&&t.M.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit(`select`)}handleTextInput(){this._presentationValue=this.#t(this.control.value),this.control.value!==this._presentationValue&&(this.control.value=this._presentationValue),this.isUserInput=!0,this.value=this.#n(this._presentationValue),this.isUserInput=!1}handleChange(){this.$emit(`change`)}handleKeyDown(e){switch(e.key){case l.i:return this.stepUp(),!1;case l.t:return this.stepDown(),!1}return!0}};s.t([t.m({attribute:`readonly`,mode:`boolean`})],N.prototype,`readOnly`,void 0),s.t([t.m({mode:`boolean`})],N.prototype,`autofocus`,void 0),s.t([t.m],N.prototype,`placeholder`,void 0),s.t([t.m],N.prototype,`list`,void 0),s.t([t.m({converter:t.h})],N.prototype,`maxlength`,void 0),s.t([t.m({converter:t.h})],N.prototype,`minlength`,void 0),s.t([t.m({converter:t.h})],N.prototype,`size`,void 0),s.t([t.m()],N.prototype,`scale`,void 0),s.t([t.m({converter:t.h})],N.prototype,`step`,void 0),s.t([t.m({converter:t.h})],N.prototype,`max`,void 0),s.t([t.m({converter:t.h})],N.prototype,`min`,void 0),s.t([t.A],N.prototype,`defaultSlottedNodes`,void 0),s.t([t.A],N.prototype,`_presentationValue`,void 0),s.t([t.A],N.prototype,`_updatedValueAnnouncement`,void 0),s.t([t.m({attribute:`increment-button-aria-label`})],N.prototype,`incrementButtonAriaLabel`,void 0),s.t([t.m({attribute:`decrement-button-aria-label`})],N.prototype,`decrementButtonAriaLabel`,void 0),s.t([t.m],N.prototype,`appearance`,void 0),s.t([t.m],N.prototype,`shape`,void 0),s.t([t.m],N.prototype,`autoComplete`,void 0);function P(){return t.p` <label for="control" class="label">
|
|
1
|
+
const e=require("../bundled/localized.cjs"),t=require("../bundled/vivid-element.cjs"),n=require("../bundled/slotted.cjs"),r=require("../bundled/ref.cjs"),i=require("../bundled/when.cjs"),a=require("../bundled/definition.cjs"),o=require("../bundled/enums.cjs"),s=require("../bundled/decorate.cjs"),c=require("../bundled/class-names.cjs"),l=require("../bundled/key-codes.cjs"),u=require("../bundled/definition2.cjs"),d=require("../bundled/affix.cjs"),f=require("../bundled/delegates-aria.cjs"),p=require("../bundled/component-enum.cjs"),m=require("../bundled/form-associated.cjs"),h=require("../bundled/definition5.cjs"),g=require("../bundled/feedback-message.cjs"),_=require("../bundled/definition10.cjs"),v=require("../bundled/form-element.cjs"),y=require("../bundled/with-contextual-help.cjs"),b=require("../bundled/with-error-text.cjs"),x=require("../bundled/with-success-text.cjs"),S=require("../bundled/mixins.cjs"),C=require("../bundled/definition20.cjs"),w=require("../bundled/divider.cjs");var T=`.label-wrapper{align-items:center;gap:var(--label-wrapper-gap,4px);flex-direction:row;display:flex}.label-wrapper[hidden]{display:none}.label:not(slot),.label::slotted(label){flex:0 auto}:host{display:inline-block}.base{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2.5);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2))) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2)));--_text-field-border-radius:8px;--_text-field-pill-border-radius:24px;grid-template-columns:min-content 1fr max-content;align-items:center;gap:4px;width:100%;display:inline-grid}.base.size-condensed{--_text-field-gutter-start:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-gutter-end:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 16)) / 2);--_text-field-icon-size:calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8)) / 2);--_text-field-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) - 8));--_text-field-border-radius:4px}.base{user-select:none}.base:not(.disabled){--_low-ink-color:var(--vvd-color-neutral-600)}.base.disabled{--_low-ink-color:var(--_appearance-color-text)}.label:not(slot),.label::slotted(label){font:var(--vvd-typography-base);grid-area:1/1/auto/4;box-sizing:initial!important;padding:initial!important;margin:initial!important;color:var(--vvd-color-canvas-text)!important}.char-count+.label:not(slot),.char-count+.label::slotted(label){grid-column:1/3}.char-count{color:var(--_low-ink-color);font:var(--vvd-typography-base)}.label-wrapper{grid-area:1/1/auto/4}.char-count+.label-wrapper{grid-column:1/3}.fieldset{background-color:var(--_appearance-color-fill);font:var(--vvd-typography-base);grid-column:1/4;align-items:center;padding-block:0;transition:color .2s,background-color .2s;display:flex;position:relative}.fieldset:after{border-radius:inherit;block-size:100%;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);content:"";pointer-events:none;inline-size:100%;transition:box-shadow .2s;display:block;position:absolute}.fieldset:focus-visible{outline:none}.base>.fieldset{block-size:var(--_text-field-block-size)}.base:not(.shape-pill) .fieldset{border-radius:var(--_text-field-border-radius)}.base.shape-pill .fieldset{border-radius:var(--_text-field-pill-border-radius)}.wrapper{border-radius:inherit;block-size:100%;inline-size:100%}.control{border-radius:inherit;text-align:start}.control:not(slot),.control::slotted(input){font:inherit;text-align:inherit;outline:#0000;box-sizing:border-box!important;border-radius:inherit!important;width:100%!important;margin:initial!important;appearance:none!important;block-size:100%!important;color:inherit!important;padding-block:0!important;padding-inline:var(--_text-field-gutter-start) var(--_text-field-gutter-end)!important;background-color:#0000!important;border:0!important}.control:not(slot,:focus),.control::slotted(input:not(:focus)){text-overflow:ellipsis!important}.control:not(slot):disabled,.control::slotted(input:disabled){cursor:not-allowed!important;opacity:1!important;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control:not(slot)::placeholder{opacity:1!important;-webkit-text-fill-color:var(--_low-ink-color)!important}.control::slotted(input:-webkit-autofill),.control:not(slot):-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.control::slotted(input:autofill),.control:not(slot):autofill{-webkit-box-shadow:0 0 0 1000px var(--_appearance-color-fill) inset;-webkit-text-fill-color:var(--_appearance-color-text)!important}.has-icon .control:not(slot),.has-icon .control::slotted(input){padding-inline-start:calc(var(--_text-field-icon-size) + var(--_text-field-gutter-start) * 2)!important}.icon{z-index:1;color:var(--_low-ink-color);font-size:var(--_text-field-icon-size);line-height:1;position:absolute;inset-block-start:50%;inset-inline-start:calc(100% + var(--_text-field-gutter-start));transform:translateY(-50%)}.leading-items-wrapper{position:relative}.base.no-leading .leading-items-wrapper{display:none}.action-items-wrapper{margin-inline-end:4px}.base:not(.action-items) .action-items-wrapper{display:none}@supports selector(:has(*)){.base:not(.has-activedescendant) .fieldset:has(.wrapper .control:focus-within):after{--focus-stroke-gap-color:transparent;box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px))}}@supports not selector(:has(*)){.base:not(.has-activedescendant) .wrapper:focus-within:after{box-shadow:0 0 0 4px color-mix(in sRGB, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));--focus-stroke-gap-color:transparent;z-index:1;border-radius:inherit;content:"";pointer-events:none;display:block;position:absolute;inset:0}}:host([internal-part]) .fieldset{font:var(--vvd-typography-heading-4);background-color:#0000;line-height:1.1}:host([internal-part]) .fieldset:not(:focus-within):after{block-size:1px;inset-block-end:0}@supports selector(:has(*)){:host([internal-part]) .fieldset:has(.action-items-wrapper:focus-within):after{block-size:1px;inset-block-end:0}}:host([internal-part]) .control{text-align:center}slot[name=_mirrored-helper-text]{display:none}.base{--_text-field-gutter-end:70px}.control::-webkit-outer-spin-button,.control::-webkit-inner-spin-button{appearance:none}.control-buttons{z-index:1;display:flex;position:absolute;right:3px}.readonly .control-buttons,.disabled .control-buttons{pointer-events:none}.control-buttons .divider{margin-block:8px}.control-buttons>*{flex-shrink:0}`,E=p.t([`fieldset`,`ghost`],`fieldset`),D={up:1,down:-1};function O(e,t){let n=parseFloat(e.value),r=isNaN(n)?e.min>0?e.min:e.max<0?e.max:e.min?0:t*e.step:n+t*e.step;e.value=Number(r.toFixed(12)).toString(),e._updatedValueAnnouncement=e.locale.numberField.updatedValueAnnouncement(e._presentationValue)}var k=e=>{let t=e.source;return{invalidCharacters:RegExp(`[^0-9\\-+e${t}]`,`g`),additionalDecimalSeparators:RegExp(`(?<=${t}.*)${t}`,`g`),trailingDecimalSeparator:RegExp(`${t}$`),decimalSeparator:e}},A=k(/\./),j=k(/,/),M=/^-?((\d*\.\d+)|(\d+))$/,N=class extends y.t(S.t(b.t(x.t(v.t(d.t(e.t(f.t(m.n(t.t))))))))){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.readOnly=!1,this.autofocus=!1,this.step=1,this.isUserInput=!1,this._presentationValue=``,this._updatedValueAnnouncement=``,this.incrementButtonAriaLabel=null,this.decrementButtonAriaLabel=null}stepChanged(e,t){this.proxy.setAttribute(`step`,Number.isFinite(t)?t.toString():``)}maxChanged(e,t){this.max=Math.max(t,this.min??t),this.proxy.max=this.max.toString(),this.validate()}minChanged(e,t){this.min=Math.min(t,this.max??t),this.proxy.min=this.min.toString(),this.validate()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){this.value=M.test(t)?t:``,t===this.value&&(this.control&&!this.isUserInput&&(this._presentationValue=this.#e(this.value)),super.valueChanged(e,this.value),e!==void 0&&!this.isUserInput&&(this.$emit(`input`),this.$emit(`change`)))}get _numberPatterns(){return this.locale.common.useCommaAsDecimalSeparator?j:A}#e(e){return e.replace(`.`,this.locale.common.useCommaAsDecimalSeparator?`,`:`.`)}#t(e){return e.replace(this._numberPatterns.invalidCharacters,``).replace(this._numberPatterns.additionalDecimalSeparators,``)}#n(e){let t=e.replace(this._numberPatterns.trailingDecimalSeparator,``).replace(this._numberPatterns.decimalSeparator,`.`);return M.test(t)?t:``}validate(){super.validate(this.control)}stepUp(){O(this,D.up)}stepDown(){O(this,D.down)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute(`type`,`number`),this.validate(),this._presentationValue=this.#e(this.value),this.autofocus&&t.M.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit(`select`)}handleTextInput(){this._presentationValue=this.#t(this.control.value),this.control.value!==this._presentationValue&&(this.control.value=this._presentationValue),this.isUserInput=!0,this.value=this.#n(this._presentationValue),this.isUserInput=!1}handleChange(){this.$emit(`change`)}handleKeyDown(e){switch(e.key){case l.i:return this.stepUp(),!1;case l.t:return this.stepDown(),!1}return!0}};s.t([t.m({attribute:`readonly`,mode:`boolean`})],N.prototype,`readOnly`,void 0),s.t([t.m({mode:`boolean`})],N.prototype,`autofocus`,void 0),s.t([t.m],N.prototype,`placeholder`,void 0),s.t([t.m],N.prototype,`list`,void 0),s.t([t.m({converter:t.h})],N.prototype,`maxlength`,void 0),s.t([t.m({converter:t.h})],N.prototype,`minlength`,void 0),s.t([t.m({converter:t.h})],N.prototype,`size`,void 0),s.t([t.m()],N.prototype,`scale`,void 0),s.t([t.m({converter:t.h})],N.prototype,`step`,void 0),s.t([t.m({converter:t.h})],N.prototype,`max`,void 0),s.t([t.m({converter:t.h})],N.prototype,`min`,void 0),s.t([t.A],N.prototype,`defaultSlottedNodes`,void 0),s.t([t.A],N.prototype,`_presentationValue`,void 0),s.t([t.A],N.prototype,`_updatedValueAnnouncement`,void 0),s.t([t.m({attribute:`increment-button-aria-label`})],N.prototype,`incrementButtonAriaLabel`,void 0),s.t([t.m({attribute:`decrement-button-aria-label`})],N.prototype,`decrementButtonAriaLabel`,void 0),s.t([t.m],N.prototype,`appearance`,void 0),s.t([t.m],N.prototype,`shape`,void 0),s.t([t.m],N.prototype,`autoComplete`,void 0);function P(){return t.p` <label for="control" class="label">
|
|
2
2
|
${e=>e.label}
|
|
3
3
|
</label>`}function F(e){return e.shape===o.i.Pill?o.i.Pill:null}function I(e){return e.disabled||e.readOnly?`-1`:null}function L(e){let n=e.tagFor(h.i),r=e.tagFor(w.t);return t.p`
|
|
4
4
|
<div class="control-buttons" ?inert="${e=>e.disabled||e.readOnly}">
|