@vonage/vivid 4.19.0-preview.0 → 4.20.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/custom-elements.json +1616 -313
- package/index.cjs +5 -0
- package/index.d.ts +1 -0
- package/index.js +2 -2
- package/lib/accordion-item/accordion-item.d.ts +332 -5
- package/lib/action-group/action-group.d.ts +3 -120
- package/lib/alert/alert.d.ts +654 -6
- package/lib/audio-player/audio-player.d.ts +330 -5
- package/lib/avatar/avatar.d.ts +5 -4
- package/lib/badge/badge.d.ts +334 -7
- package/lib/banner/banner.d.ts +662 -133
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +0 -118
- package/lib/button/button.d.ts +335 -8
- package/lib/calendar-event/calendar-event.d.ts +3 -2
- package/lib/card/card.d.ts +2 -1
- package/lib/checkbox/checkbox.d.ts +2 -119
- package/lib/combobox/combobox.d.ts +335 -6
- package/lib/date-picker/date-picker.d.ts +12 -484
- package/lib/date-range-picker/date-range-picker.d.ts +6 -242
- package/lib/date-time-picker/date-time-picker.d.ts +12 -484
- package/lib/date-time-picker/definition.d.ts +2 -0
- package/lib/dial-pad/dial-pad.d.ts +328 -4
- package/lib/dialog/dialog.d.ts +326 -122
- package/lib/divider/divider.d.ts +0 -118
- package/lib/empty-state/empty-state.d.ts +3 -2
- package/lib/fab/fab.d.ts +333 -6
- package/lib/file-picker/file-picker.d.ts +334 -4
- package/lib/icon/icon.d.ts +2 -1
- package/lib/layout/layout.d.ts +6 -5
- package/lib/menu/menu.d.ts +0 -236
- package/lib/menu-item/menu-item.d.ts +332 -10
- package/lib/nav-disclosure/nav-disclosure.d.ts +330 -124
- package/lib/nav-item/nav-item.d.ts +329 -4
- package/lib/note/note.d.ts +329 -4
- package/lib/number-field/number-field.d.ts +658 -124
- package/lib/option/option.d.ts +332 -7
- package/lib/pagination/pagination.d.ts +4 -2
- package/lib/progress/progress.d.ts +0 -118
- package/lib/progress-ring/progress-ring.d.ts +0 -118
- package/lib/radio/radio.d.ts +2 -1
- package/lib/range-slider/range-slider.d.ts +330 -3
- package/lib/rich-text-editor/definition.d.ts +2 -0
- package/lib/rich-text-editor/facades/prose-mirror-vivid.schema.d.ts +3 -2
- package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +2 -0
- package/lib/rich-text-editor/menubar/definition.d.ts +2 -0
- package/lib/rich-text-editor/menubar/menubar.d.ts +4 -0
- package/lib/rich-text-editor/menubar/menubar.template.d.ts +4 -0
- package/lib/rich-text-editor/rich-text-editor.d.ts +8 -0
- package/lib/searchable-select/locale.d.ts +1 -0
- package/lib/searchable-select/option-tag.d.ts +330 -5
- package/lib/searchable-select/searchable-select.d.ts +661 -6
- package/lib/select/select.d.ts +336 -6
- package/lib/selectable-box/selectable-box.d.ts +0 -118
- package/lib/slider/slider.d.ts +326 -122
- package/lib/split-button/split-button.d.ts +667 -138
- package/lib/switch/switch.d.ts +0 -118
- package/lib/tab/tab.d.ts +658 -7
- package/lib/tabs/tabs.d.ts +2 -1
- package/lib/tag/tag.d.ts +333 -7
- package/lib/tag-group/tag-group.d.ts +0 -118
- package/lib/tag-name-map.d.ts +73 -0
- package/lib/text-anchor/text-anchor.d.ts +331 -123
- package/lib/text-area/text-area.d.ts +0 -118
- package/lib/text-field/text-field.d.ts +333 -124
- package/lib/time-picker/time-picker.d.ts +6 -242
- package/lib/toggletip/toggletip.d.ts +0 -118
- package/lib/tooltip/tooltip.d.ts +0 -118
- package/lib/tree-item/tree-item.d.ts +329 -4
- package/lib/video-player/video-player.d.ts +328 -4
- package/locales/de-DE.cjs +1 -0
- package/locales/de-DE.js +1 -0
- package/locales/en-GB.cjs +1 -0
- package/locales/en-GB.js +1 -0
- package/locales/en-US.cjs +1 -0
- package/locales/en-US.js +1 -0
- package/locales/ja-JP.cjs +1 -0
- package/locales/ja-JP.js +1 -0
- package/locales/zh-CN.cjs +1 -0
- package/locales/zh-CN.js +1 -0
- package/package.json +1 -1
- package/shared/_has.cjs +0 -4
- package/shared/_has.js +0 -4
- package/shared/affix.cjs +25 -19
- package/shared/affix.js +26 -20
- package/shared/apply-mixins.js +1 -1
- package/shared/aria/delegates-aria.d.ts +0 -118
- package/shared/calendar-picker.template.cjs +1 -1
- package/shared/calendar-picker.template.js +1 -1
- package/shared/children.js +1 -1
- package/shared/definition.cjs +2 -4
- package/shared/definition.js +2 -4
- package/shared/definition11.cjs +2 -4
- package/shared/definition11.js +2 -4
- package/shared/definition13.cjs +85 -159
- package/shared/definition13.js +85 -159
- package/shared/definition15.cjs +1 -1
- package/shared/definition15.js +1 -1
- package/shared/definition16.cjs +2 -3
- package/shared/definition16.js +2 -3
- package/shared/definition17.cjs +1 -1
- package/shared/definition17.js +1 -1
- package/shared/definition20.cjs +10 -10
- package/shared/definition20.js +1 -1
- package/shared/definition21.cjs +2 -4
- package/shared/definition21.js +2 -4
- package/shared/definition22.cjs +2 -4
- package/shared/definition22.js +2 -4
- package/shared/definition25.cjs +2 -4
- package/shared/definition25.js +2 -4
- package/shared/definition26.cjs +3 -3
- package/shared/definition26.js +3 -3
- package/shared/definition28.cjs +27 -38
- package/shared/definition28.js +27 -38
- package/shared/definition30.cjs +4 -11
- package/shared/definition30.js +4 -11
- package/shared/definition31.cjs +2 -4
- package/shared/definition31.js +2 -4
- package/shared/definition32.cjs +2 -4
- package/shared/definition32.js +2 -4
- package/shared/definition34.cjs +1 -3
- package/shared/definition34.js +1 -3
- package/shared/definition35.cjs +6 -6
- package/shared/definition35.js +6 -6
- package/shared/definition36.cjs +7 -7
- package/shared/definition36.js +7 -7
- package/shared/definition37.cjs +20 -2
- package/shared/definition37.js +20 -2
- package/shared/definition4.cjs +14 -19
- package/shared/definition4.js +14 -19
- package/shared/definition41.cjs +1 -1
- package/shared/definition41.js +1 -1
- package/shared/definition42.cjs +3 -5
- package/shared/definition42.js +3 -5
- package/shared/definition43.cjs +419 -19
- package/shared/definition43.js +420 -21
- package/shared/definition44.cjs +43 -48
- package/shared/definition44.js +43 -48
- package/shared/definition45.cjs +3 -4
- package/shared/definition45.js +3 -4
- package/shared/definition46.cjs +1 -1
- package/shared/definition46.js +1 -1
- package/shared/definition48.cjs +3 -5
- package/shared/definition48.js +3 -5
- package/shared/definition49.cjs +4 -7
- package/shared/definition49.js +4 -7
- package/shared/definition5.cjs +1 -3
- package/shared/definition5.js +2 -4
- package/shared/definition50.cjs +1 -1
- package/shared/definition50.js +1 -1
- package/shared/definition52.cjs +2 -5
- package/shared/definition52.js +2 -5
- package/shared/definition55.cjs +2 -4
- package/shared/definition55.js +2 -4
- package/shared/definition56.cjs +1 -1
- package/shared/definition56.js +1 -1
- package/shared/definition57.cjs +3 -2
- package/shared/definition57.js +3 -2
- package/shared/definition61.cjs +2 -4
- package/shared/definition61.js +2 -4
- package/shared/definition63.cjs +233 -160
- package/shared/definition63.js +233 -160
- package/shared/definition7.cjs +1 -3
- package/shared/definition7.js +1 -3
- package/shared/definition8.cjs +2 -5
- package/shared/definition8.js +2 -5
- package/shared/definition9.cjs +1 -1
- package/shared/definition9.js +1 -1
- package/shared/form-associated.js +1 -1
- package/shared/foundation/button/button.d.ts +0 -118
- package/shared/localized.cjs +10 -4
- package/shared/localized.js +10 -4
- package/shared/option.cjs +17 -22
- package/shared/option.js +18 -23
- package/shared/patterns/affix.d.ts +659 -7
- package/shared/patterns/anchored.d.ts +0 -236
- package/shared/patterns/localized.d.ts +328 -3
- package/shared/patterns/trapped-focus.d.ts +329 -6
- package/shared/picker-field/mixins/calendar-picker.d.ts +3 -121
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +3 -121
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +328 -4
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +6 -242
- package/shared/picker-field/mixins/single-date-picker.d.ts +9 -363
- package/shared/picker-field/mixins/single-value-picker.d.ts +3 -121
- package/shared/picker-field/mixins/time-selection-picker.d.ts +6 -242
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +6 -242
- package/shared/picker-field/picker-field.d.ts +655 -3
- package/shared/picker-field.template.cjs +33 -35
- package/shared/picker-field.template.js +34 -36
- package/shared/ref.js +1 -1
- package/shared/slotted.js +1 -1
- package/shared/text-anchor.cjs +2 -2
- package/shared/text-anchor.js +2 -2
- package/shared/text-field.cjs +1 -1
- package/shared/text-field.js +1 -1
- package/shared/time-selection-picker.template.cjs +3 -5
- package/shared/time-selection-picker.template.js +4 -6
- package/shared/utils/enums.d.ts +1 -0
- package/shared/vivid-element.cjs +1 -1
- package/shared/vivid-element.js +2 -2
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/vivid.api.json +1265 -1364
|
@@ -1,8 +1,333 @@
|
|
|
1
1
|
import { MediaSkipBy } from '../enums';
|
|
2
|
-
import { Localized } from '../../shared/patterns';
|
|
3
2
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
4
3
|
export declare const DEFAULT_PLAYBACK_RATES = "0.5, 1, 1.5, 2";
|
|
5
|
-
|
|
4
|
+
declare const VideoPlayer_base: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
readonly locale: import("../shared/localization/Locale").Locale;
|
|
7
|
+
accessKey: string;
|
|
8
|
+
readonly accessKeyLabel: string;
|
|
9
|
+
autocapitalize: string;
|
|
10
|
+
dir: string;
|
|
11
|
+
draggable: boolean;
|
|
12
|
+
hidden: boolean;
|
|
13
|
+
inert: boolean;
|
|
14
|
+
innerText: string;
|
|
15
|
+
lang: string;
|
|
16
|
+
readonly offsetHeight: number;
|
|
17
|
+
readonly offsetLeft: number;
|
|
18
|
+
readonly offsetParent: Element | null;
|
|
19
|
+
readonly offsetTop: number;
|
|
20
|
+
readonly offsetWidth: number;
|
|
21
|
+
outerText: string;
|
|
22
|
+
spellcheck: boolean;
|
|
23
|
+
title: string;
|
|
24
|
+
translate: boolean;
|
|
25
|
+
attachInternals(): ElementInternals;
|
|
26
|
+
click(): void;
|
|
27
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
28
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
29
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
30
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
31
|
+
dropzone: import("dropzone");
|
|
32
|
+
readonly attributes: NamedNodeMap;
|
|
33
|
+
readonly classList: DOMTokenList;
|
|
34
|
+
className: string;
|
|
35
|
+
readonly clientHeight: number;
|
|
36
|
+
readonly clientLeft: number;
|
|
37
|
+
readonly clientTop: number;
|
|
38
|
+
readonly clientWidth: number;
|
|
39
|
+
id: string;
|
|
40
|
+
readonly localName: string;
|
|
41
|
+
readonly namespaceURI: string | null;
|
|
42
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
43
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
44
|
+
outerHTML: string;
|
|
45
|
+
readonly ownerDocument: Document;
|
|
46
|
+
readonly part: DOMTokenList;
|
|
47
|
+
readonly prefix: string | null;
|
|
48
|
+
readonly scrollHeight: number;
|
|
49
|
+
scrollLeft: number;
|
|
50
|
+
scrollTop: number;
|
|
51
|
+
readonly scrollWidth: number;
|
|
52
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
53
|
+
slot: string;
|
|
54
|
+
readonly tagName: string;
|
|
55
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
56
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
57
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
58
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
59
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
60
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
61
|
+
getAttribute(qualifiedName: string): string | null;
|
|
62
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
63
|
+
getAttributeNames(): string[];
|
|
64
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
65
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
66
|
+
getBoundingClientRect(): DOMRect;
|
|
67
|
+
getClientRects(): DOMRectList;
|
|
68
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
69
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
70
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
71
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
72
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
73
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
74
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
75
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
76
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
77
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
78
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
79
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
80
|
+
hasAttributes(): boolean;
|
|
81
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
82
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
83
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
84
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
85
|
+
matches(selectors: string): boolean;
|
|
86
|
+
releasePointerCapture(pointerId: number): void;
|
|
87
|
+
removeAttribute(qualifiedName: string): void;
|
|
88
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
89
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
90
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
91
|
+
requestPointerLock(): void;
|
|
92
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
93
|
+
scroll(x: number, y: number): void;
|
|
94
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
95
|
+
scrollBy(x: number, y: number): void;
|
|
96
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
97
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
98
|
+
scrollTo(x: number, y: number): void;
|
|
99
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
100
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
101
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
102
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
103
|
+
setPointerCapture(pointerId: number): void;
|
|
104
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
105
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
106
|
+
readonly baseURI: string;
|
|
107
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
108
|
+
readonly firstChild: ChildNode | null;
|
|
109
|
+
readonly isConnected: boolean;
|
|
110
|
+
readonly lastChild: ChildNode | null;
|
|
111
|
+
readonly nextSibling: ChildNode | null;
|
|
112
|
+
readonly nodeName: string;
|
|
113
|
+
readonly nodeType: number;
|
|
114
|
+
nodeValue: string | null;
|
|
115
|
+
readonly parentElement: HTMLElement | null;
|
|
116
|
+
readonly parentNode: ParentNode | null;
|
|
117
|
+
readonly previousSibling: ChildNode | null;
|
|
118
|
+
textContent: string | null;
|
|
119
|
+
appendChild<T extends Node>(node: T): T;
|
|
120
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
121
|
+
compareDocumentPosition(other: Node): number;
|
|
122
|
+
contains(other: Node | null): boolean;
|
|
123
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
124
|
+
hasChildNodes(): boolean;
|
|
125
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
126
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
127
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
128
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
129
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
130
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
131
|
+
normalize(): void;
|
|
132
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
133
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
134
|
+
readonly ELEMENT_NODE: 1;
|
|
135
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
136
|
+
readonly TEXT_NODE: 3;
|
|
137
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
138
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
139
|
+
readonly ENTITY_NODE: 6;
|
|
140
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
141
|
+
readonly COMMENT_NODE: 8;
|
|
142
|
+
readonly DOCUMENT_NODE: 9;
|
|
143
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
144
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
145
|
+
readonly NOTATION_NODE: 12;
|
|
146
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
147
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
148
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
149
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
150
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
151
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
152
|
+
dispatchEvent(event: Event): boolean;
|
|
153
|
+
ariaAtomic: string | null;
|
|
154
|
+
ariaAutoComplete: string | null;
|
|
155
|
+
ariaBusy: string | null;
|
|
156
|
+
ariaChecked: string | null;
|
|
157
|
+
ariaColCount: string | null;
|
|
158
|
+
ariaColIndex: string | null;
|
|
159
|
+
ariaColSpan: string | null;
|
|
160
|
+
ariaCurrent: string | null;
|
|
161
|
+
ariaDisabled: string | null;
|
|
162
|
+
ariaExpanded: string | null;
|
|
163
|
+
ariaHasPopup: string | null;
|
|
164
|
+
ariaHidden: string | null;
|
|
165
|
+
ariaInvalid: string | null;
|
|
166
|
+
ariaKeyShortcuts: string | null;
|
|
167
|
+
ariaLabel: string | null;
|
|
168
|
+
ariaLevel: string | null;
|
|
169
|
+
ariaLive: string | null;
|
|
170
|
+
ariaModal: string | null;
|
|
171
|
+
ariaMultiLine: string | null;
|
|
172
|
+
ariaMultiSelectable: string | null;
|
|
173
|
+
ariaOrientation: string | null;
|
|
174
|
+
ariaPlaceholder: string | null;
|
|
175
|
+
ariaPosInSet: string | null;
|
|
176
|
+
ariaPressed: string | null;
|
|
177
|
+
ariaReadOnly: string | null;
|
|
178
|
+
ariaRequired: string | null;
|
|
179
|
+
ariaRoleDescription: string | null;
|
|
180
|
+
ariaRowCount: string | null;
|
|
181
|
+
ariaRowIndex: string | null;
|
|
182
|
+
ariaRowSpan: string | null;
|
|
183
|
+
ariaSelected: string | null;
|
|
184
|
+
ariaSetSize: string | null;
|
|
185
|
+
ariaSort: string | null;
|
|
186
|
+
ariaValueMax: string | null;
|
|
187
|
+
ariaValueMin: string | null;
|
|
188
|
+
ariaValueNow: string | null;
|
|
189
|
+
ariaValueText: string | null;
|
|
190
|
+
role: string | null;
|
|
191
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
192
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
193
|
+
after(...nodes: (string | Node)[]): void;
|
|
194
|
+
before(...nodes: (string | Node)[]): void;
|
|
195
|
+
remove(): void;
|
|
196
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
197
|
+
innerHTML: string;
|
|
198
|
+
readonly nextElementSibling: Element | null;
|
|
199
|
+
readonly previousElementSibling: Element | null;
|
|
200
|
+
readonly childElementCount: number;
|
|
201
|
+
readonly children: HTMLCollection;
|
|
202
|
+
readonly firstElementChild: Element | null;
|
|
203
|
+
readonly lastElementChild: Element | null;
|
|
204
|
+
append(...nodes: (string | Node)[]): void;
|
|
205
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
206
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
207
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
208
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
209
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
210
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
211
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
212
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
213
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
214
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
215
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
216
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
217
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
218
|
+
readonly style: CSSStyleDeclaration;
|
|
219
|
+
contentEditable: string;
|
|
220
|
+
enterKeyHint: string;
|
|
221
|
+
inputMode: string;
|
|
222
|
+
readonly isContentEditable: boolean;
|
|
223
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
224
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
225
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
226
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
227
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
228
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
229
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
230
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
231
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
232
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
233
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
234
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
235
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
236
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
237
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
238
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
239
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
240
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
241
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
242
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
243
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
244
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
245
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
246
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
247
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
248
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
249
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
252
|
+
onerror: OnErrorEventHandler;
|
|
253
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
254
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
255
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
256
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
259
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
260
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
261
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
266
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
267
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
268
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
269
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
270
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
271
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
272
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
273
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
274
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
278
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
279
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
282
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
285
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
286
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
289
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
291
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
299
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
303
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
304
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
305
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
306
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
307
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
308
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
309
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
310
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
317
|
+
autofocus: boolean;
|
|
318
|
+
readonly dataset: DOMStringMap;
|
|
319
|
+
nonce?: string | undefined;
|
|
320
|
+
tabIndex: number;
|
|
321
|
+
blur(): void;
|
|
322
|
+
focus(options?: FocusOptions | undefined): void;
|
|
323
|
+
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
324
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
325
|
+
connectedCallback(): void;
|
|
326
|
+
disconnectedCallback(): void;
|
|
327
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
328
|
+
};
|
|
329
|
+
} & typeof VividElement;
|
|
330
|
+
export declare class VideoPlayer extends VideoPlayer_base {
|
|
6
331
|
#private;
|
|
7
332
|
poster?: string;
|
|
8
333
|
src?: string;
|
|
@@ -13,5 +338,4 @@ export declare class VideoPlayer extends VividElement {
|
|
|
13
338
|
connectedCallback(): void;
|
|
14
339
|
disconnectedCallback(): void;
|
|
15
340
|
}
|
|
16
|
-
export
|
|
17
|
-
}
|
|
341
|
+
export {};
|
package/locales/de-DE.cjs
CHANGED
|
@@ -355,6 +355,7 @@ const deDE = {
|
|
|
355
355
|
clearButtonLabel: "Löschen",
|
|
356
356
|
noOptionsMessage: "Keine Optionen",
|
|
357
357
|
noMatchesMessage: "Keine Optionen gefunden",
|
|
358
|
+
loadingOptionsMessage: "Laden...",
|
|
358
359
|
removeTagButtonLabel: (
|
|
359
360
|
/* istanbul ignore next */
|
|
360
361
|
(label) => `${label} entfernen`
|
package/locales/de-DE.js
CHANGED
|
@@ -353,6 +353,7 @@ const deDE = {
|
|
|
353
353
|
clearButtonLabel: "Löschen",
|
|
354
354
|
noOptionsMessage: "Keine Optionen",
|
|
355
355
|
noMatchesMessage: "Keine Optionen gefunden",
|
|
356
|
+
loadingOptionsMessage: "Laden...",
|
|
356
357
|
removeTagButtonLabel: (
|
|
357
358
|
/* istanbul ignore next */
|
|
358
359
|
(label) => `${label} entfernen`
|
package/locales/en-GB.cjs
CHANGED
|
@@ -187,6 +187,7 @@ const enGB = {
|
|
|
187
187
|
clearButtonLabel: "Clear",
|
|
188
188
|
noOptionsMessage: "No options",
|
|
189
189
|
noMatchesMessage: "No options found",
|
|
190
|
+
loadingOptionsMessage: "Loading...",
|
|
190
191
|
removeTagButtonLabel: (
|
|
191
192
|
/* istanbul ignore next */
|
|
192
193
|
(label) => `Remove ${label}`
|
package/locales/en-GB.js
CHANGED
|
@@ -185,6 +185,7 @@ const enGB = {
|
|
|
185
185
|
clearButtonLabel: "Clear",
|
|
186
186
|
noOptionsMessage: "No options",
|
|
187
187
|
noMatchesMessage: "No options found",
|
|
188
|
+
loadingOptionsMessage: "Loading...",
|
|
188
189
|
removeTagButtonLabel: (
|
|
189
190
|
/* istanbul ignore next */
|
|
190
191
|
(label) => `Remove ${label}`
|
package/locales/en-US.cjs
CHANGED
|
@@ -355,6 +355,7 @@ const enUS = {
|
|
|
355
355
|
clearButtonLabel: "Clear",
|
|
356
356
|
noOptionsMessage: "No options",
|
|
357
357
|
noMatchesMessage: "No options found",
|
|
358
|
+
loadingOptionsMessage: "Loading...",
|
|
358
359
|
removeTagButtonLabel: (
|
|
359
360
|
/* istanbul ignore next */
|
|
360
361
|
(label) => `Remove ${label}`
|
package/locales/en-US.js
CHANGED
|
@@ -353,6 +353,7 @@ const enUS = {
|
|
|
353
353
|
clearButtonLabel: "Clear",
|
|
354
354
|
noOptionsMessage: "No options",
|
|
355
355
|
noMatchesMessage: "No options found",
|
|
356
|
+
loadingOptionsMessage: "Loading...",
|
|
356
357
|
removeTagButtonLabel: (
|
|
357
358
|
/* istanbul ignore next */
|
|
358
359
|
(label) => `Remove ${label}`
|
package/locales/ja-JP.cjs
CHANGED
package/locales/ja-JP.js
CHANGED
package/locales/zh-CN.cjs
CHANGED
package/locales/zh-CN.js
CHANGED
package/package.json
CHANGED
package/shared/_has.cjs
CHANGED
|
@@ -12,7 +12,6 @@ function _isPlaceholder(a) {
|
|
|
12
12
|
* @param {Function} fn The function to curry.
|
|
13
13
|
* @return {Function} The curried function.
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
15
|
function _curry1(fn) {
|
|
17
16
|
return function f1(a) {
|
|
18
17
|
if (arguments.length === 0 || _isPlaceholder(a)) {
|
|
@@ -31,18 +30,15 @@ function _curry1(fn) {
|
|
|
31
30
|
* @param {Function} fn The function to curry.
|
|
32
31
|
* @return {Function} The curried function.
|
|
33
32
|
*/
|
|
34
|
-
|
|
35
33
|
function _curry2(fn) {
|
|
36
34
|
return function f2(a, b) {
|
|
37
35
|
switch (arguments.length) {
|
|
38
36
|
case 0:
|
|
39
37
|
return f2;
|
|
40
|
-
|
|
41
38
|
case 1:
|
|
42
39
|
return _isPlaceholder(a) ? f2 : _curry1(function (_b) {
|
|
43
40
|
return fn(a, _b);
|
|
44
41
|
});
|
|
45
|
-
|
|
46
42
|
default:
|
|
47
43
|
return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {
|
|
48
44
|
return fn(_a, b);
|
package/shared/_has.js
CHANGED
|
@@ -10,7 +10,6 @@ function _isPlaceholder(a) {
|
|
|
10
10
|
* @param {Function} fn The function to curry.
|
|
11
11
|
* @return {Function} The curried function.
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
13
|
function _curry1(fn) {
|
|
15
14
|
return function f1(a) {
|
|
16
15
|
if (arguments.length === 0 || _isPlaceholder(a)) {
|
|
@@ -29,18 +28,15 @@ function _curry1(fn) {
|
|
|
29
28
|
* @param {Function} fn The function to curry.
|
|
30
29
|
* @return {Function} The curried function.
|
|
31
30
|
*/
|
|
32
|
-
|
|
33
31
|
function _curry2(fn) {
|
|
34
32
|
return function f2(a, b) {
|
|
35
33
|
switch (arguments.length) {
|
|
36
34
|
case 0:
|
|
37
35
|
return f2;
|
|
38
|
-
|
|
39
36
|
case 1:
|
|
40
37
|
return _isPlaceholder(a) ? f2 : _curry1(function (_b) {
|
|
41
38
|
return fn(a, _b);
|
|
42
39
|
});
|
|
43
|
-
|
|
44
40
|
default:
|
|
45
41
|
return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {
|
|
46
42
|
return fn(_a, b);
|
package/shared/affix.cjs
CHANGED
|
@@ -13,26 +13,32 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
13
13
|
if (result) __defProp(target, key, result);
|
|
14
14
|
return result;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
__decorateClass([
|
|
19
|
-
vividElement.attr
|
|
20
|
-
], AffixIcon.prototype, "icon");
|
|
21
|
-
__decorateClass([
|
|
22
|
-
vividElement.attr({ mode: "fromView" })
|
|
23
|
-
], AffixIcon.prototype, "iconSlottedContent");
|
|
24
|
-
class AffixIconWithTrailing extends AffixIcon {
|
|
25
|
-
constructor() {
|
|
26
|
-
super(...arguments);
|
|
27
|
-
this.iconTrailing = false;
|
|
16
|
+
const AffixIcon = (Base) => {
|
|
17
|
+
class AffixIconElement extends Base {
|
|
28
18
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
19
|
+
__decorateClass([
|
|
20
|
+
vividElement.attr
|
|
21
|
+
], AffixIconElement.prototype, "icon");
|
|
22
|
+
__decorateClass([
|
|
23
|
+
vividElement.observable
|
|
24
|
+
], AffixIconElement.prototype, "iconSlottedContent");
|
|
25
|
+
return AffixIconElement;
|
|
26
|
+
};
|
|
27
|
+
const AffixIconWithTrailing = (Base) => {
|
|
28
|
+
class AffixIconWithTrailingElement extends AffixIcon(Base) {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.iconTrailing = false;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
__decorateClass([
|
|
35
|
+
vividElement.attr({
|
|
36
|
+
mode: "boolean",
|
|
37
|
+
attribute: "icon-trailing"
|
|
38
|
+
})
|
|
39
|
+
], AffixIconWithTrailingElement.prototype, "iconTrailing");
|
|
40
|
+
return AffixIconWithTrailingElement;
|
|
41
|
+
};
|
|
36
42
|
const IconWrapper = {
|
|
37
43
|
Slot: false,
|
|
38
44
|
Span: true
|
package/shared/affix.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as Icon } from './definition28.js';
|
|
2
2
|
import { s as slotted } from './slotted.js';
|
|
3
|
-
import { h as html,
|
|
3
|
+
import { a as attr, h as html, o as observable } from './vivid-element.js';
|
|
4
4
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -11,26 +11,32 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
11
11
|
if (result) __defProp(target, key, result);
|
|
12
12
|
return result;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
__decorateClass([
|
|
17
|
-
attr
|
|
18
|
-
], AffixIcon.prototype, "icon");
|
|
19
|
-
__decorateClass([
|
|
20
|
-
attr({ mode: "fromView" })
|
|
21
|
-
], AffixIcon.prototype, "iconSlottedContent");
|
|
22
|
-
class AffixIconWithTrailing extends AffixIcon {
|
|
23
|
-
constructor() {
|
|
24
|
-
super(...arguments);
|
|
25
|
-
this.iconTrailing = false;
|
|
14
|
+
const AffixIcon = (Base) => {
|
|
15
|
+
class AffixIconElement extends Base {
|
|
26
16
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
__decorateClass([
|
|
18
|
+
attr
|
|
19
|
+
], AffixIconElement.prototype, "icon");
|
|
20
|
+
__decorateClass([
|
|
21
|
+
observable
|
|
22
|
+
], AffixIconElement.prototype, "iconSlottedContent");
|
|
23
|
+
return AffixIconElement;
|
|
24
|
+
};
|
|
25
|
+
const AffixIconWithTrailing = (Base) => {
|
|
26
|
+
class AffixIconWithTrailingElement extends AffixIcon(Base) {
|
|
27
|
+
constructor() {
|
|
28
|
+
super(...arguments);
|
|
29
|
+
this.iconTrailing = false;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
__decorateClass([
|
|
33
|
+
attr({
|
|
34
|
+
mode: "boolean",
|
|
35
|
+
attribute: "icon-trailing"
|
|
36
|
+
})
|
|
37
|
+
], AffixIconWithTrailingElement.prototype, "iconTrailing");
|
|
38
|
+
return AffixIconWithTrailingElement;
|
|
39
|
+
};
|
|
34
40
|
const IconWrapper = {
|
|
35
41
|
Slot: false,
|
|
36
42
|
Span: true
|
package/shared/apply-mixins.js
CHANGED