@leavittsoftware/web 5.23.0 → 5.25.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.
Files changed (23) hide show
  1. package/package.json +2 -2
  2. package/titanium/data-table/data-table-content-styles.d.ts +2 -0
  3. package/titanium/data-table/data-table-content-styles.js +39 -0
  4. package/titanium/data-table/data-table-content-styles.js.map +1 -0
  5. package/titanium/data-table/data-table-core-reorder-dialog.d.ts +391 -0
  6. package/titanium/data-table/data-table-core-reorder-dialog.js +169 -0
  7. package/titanium/data-table/data-table-core-reorder-dialog.js.map +1 -0
  8. package/titanium/data-table/data-table-core-reorder-item.d.ts +16 -0
  9. package/titanium/data-table/data-table-core-reorder-item.js +149 -0
  10. package/titanium/data-table/data-table-core-reorder-item.js.map +1 -0
  11. package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js +1 -2
  12. package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +1 -1
  13. package/titanium/data-table/data-table-core-settings-choose-columns-item.d.ts +0 -1
  14. package/titanium/data-table/data-table-core-settings-choose-columns-item.js +0 -6
  15. package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +1 -1
  16. package/titanium/data-table/data-table-core-settings-sort-dialog.js +7 -1
  17. package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +1 -1
  18. package/titanium/data-table/data-table-core-settings-sort-item.js +10 -3
  19. package/titanium/data-table/data-table-core-settings-sort-item.js.map +1 -1
  20. package/titanium/data-table/data-table-core.d.ts +7 -1
  21. package/titanium/data-table/data-table-core.js +64 -40
  22. package/titanium/data-table/data-table-core.js.map +1 -1
  23. package/titanium/data-table/draggable-item-base.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/web",
3
- "version": "5.23.0",
3
+ "version": "5.25.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "files": [
@@ -42,5 +42,5 @@
42
42
  "url": "https://github.com/LeavittSoftware/titanium-elements/issues"
43
43
  },
44
44
  "homepage": "https://github.com/LeavittSoftware/titanium-elements/#readme",
45
- "gitHead": "59c5db2c9ef30a37c0f6e1e41720e9035685255d"
45
+ "gitHead": "268ef4e5d62463eb7223d8fb279aba0d911d93c3"
46
46
  }
@@ -0,0 +1,2 @@
1
+ export declare const dataTableContentStyles: import("lit").CSSResult;
2
+ //# sourceMappingURL=data-table-content-styles.d.ts.map
@@ -0,0 +1,39 @@
1
+ import { css } from 'lit';
2
+ export const dataTableContentStyles = css `
3
+ [supporting-text] {
4
+ font-size: 12px;
5
+ line-height: 14px;
6
+ opacity: 0.8;
7
+ }
8
+
9
+ two-line {
10
+ display: grid;
11
+ grid-auto-flow: row;
12
+ gap: 0;
13
+ }
14
+
15
+ image-row {
16
+ display: grid;
17
+ grid: 'image label' / auto 1fr;
18
+ align-items: center;
19
+ gap: 0 12px;
20
+
21
+ img {
22
+ grid-area: image;
23
+ height: 32px;
24
+ width: 32px;
25
+ image-rendering: -webkit-optimize-contrast;
26
+ }
27
+
28
+ [supporting-text] {
29
+ grid-area: supporting-text;
30
+ }
31
+ }
32
+
33
+ image-row:has([supporting-text]) {
34
+ grid:
35
+ 'image label'
36
+ 'image supporting-text' / auto 1fr;
37
+ }
38
+ `;
39
+ //# sourceMappingURL=data-table-content-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-table-content-styles.js","sourceRoot":"","sources":["data-table-content-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCxC,CAAC"}
@@ -0,0 +1,391 @@
1
+ import '@material/web/dialog/dialog';
2
+ import '@material/web/button/filled-tonal-button';
3
+ import '@material/web/button/text-button';
4
+ import '@material/web/icon/icon';
5
+ import '@leavittsoftware/web/titanium/snackbar/snackbar-stack';
6
+ import '@material/web/progress/circular-progress';
7
+ import './data-table-core-reorder-item';
8
+ import { CSSResult, CSSResultGroup, LitElement } from 'lit';
9
+ import { TitaniumDataTableCoreMetaData } from './data-table-core';
10
+ export type CloseReason = 'apply' | 'cancel';
11
+ declare const TitaniumDataTableCoreReorderDialog_base: {
12
+ new (...args: any[]): {
13
+ "__#private@#promiseCount": number;
14
+ isLoading: boolean;
15
+ loadWhile(promise: Promise<unknown>): Promise<void>;
16
+ accessKey: string;
17
+ readonly accessKeyLabel: string;
18
+ autocapitalize: string;
19
+ autocorrect: boolean;
20
+ dir: string;
21
+ draggable: boolean;
22
+ hidden: boolean;
23
+ inert: boolean;
24
+ innerText: string;
25
+ lang: string;
26
+ readonly offsetHeight: number;
27
+ readonly offsetLeft: number;
28
+ readonly offsetParent: Element | null;
29
+ readonly offsetTop: number;
30
+ readonly offsetWidth: number;
31
+ outerText: string;
32
+ popover: string | null;
33
+ spellcheck: boolean;
34
+ title: string;
35
+ translate: boolean;
36
+ writingSuggestions: string;
37
+ attachInternals(): ElementInternals;
38
+ click(): void;
39
+ hidePopover(): void;
40
+ hidePopover(): void;
41
+ showPopover(): void;
42
+ showPopover(): void;
43
+ togglePopover(options?: boolean): boolean;
44
+ togglePopover(force: boolean): void;
45
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
46
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
47
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
48
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
49
+ floatingLabelFoundation?: import("@material/floating-label/foundation").MDCFloatingLabelFoundation;
50
+ lineRippleFoundation?: import("@material/line-ripple/foundation").MDCLineRippleFoundation;
51
+ readonly attributes: NamedNodeMap;
52
+ get classList(): DOMTokenList;
53
+ set classList(value: string);
54
+ className: string;
55
+ readonly clientHeight: number;
56
+ readonly clientLeft: number;
57
+ readonly clientTop: number;
58
+ readonly clientWidth: number;
59
+ readonly currentCSSZoom: number;
60
+ id: string;
61
+ innerHTML: string;
62
+ readonly localName: string;
63
+ readonly namespaceURI: string | null;
64
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
65
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
66
+ outerHTML: string;
67
+ readonly ownerDocument: Document;
68
+ get part(): DOMTokenList;
69
+ set part(value: string);
70
+ readonly prefix: string | null;
71
+ readonly scrollHeight: number;
72
+ scrollLeft: number;
73
+ scrollTop: number;
74
+ readonly scrollWidth: number;
75
+ readonly shadowRoot: ShadowRoot | null;
76
+ slot: string;
77
+ readonly tagName: string;
78
+ attachShadow(init: ShadowRootInit): ShadowRoot;
79
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
80
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
81
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
82
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
83
+ closest<E extends Element = Element>(selectors: string): E | null;
84
+ computedStyleMap(): StylePropertyMapReadOnly;
85
+ getAttribute(qualifiedName: string): string | null;
86
+ getAttributeNS(namespace: string | null, localName: string): string | null;
87
+ getAttributeNames(): string[];
88
+ getAttributeNode(qualifiedName: string): Attr | null;
89
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
90
+ getBoundingClientRect(): DOMRect;
91
+ getClientRects(): DOMRectList;
92
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
93
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
94
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
95
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
96
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
97
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
98
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
99
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
100
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
101
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
102
+ getHTML(options?: GetHTMLOptions): string;
103
+ hasAttribute(qualifiedName: string): boolean;
104
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
105
+ hasAttributes(): boolean;
106
+ hasPointerCapture(pointerId: number): boolean;
107
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
108
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
109
+ insertAdjacentText(where: InsertPosition, data: string): void;
110
+ matches(selectors: string): boolean;
111
+ releasePointerCapture(pointerId: number): void;
112
+ removeAttribute(qualifiedName: string): void;
113
+ removeAttributeNS(namespace: string | null, localName: string): void;
114
+ removeAttributeNode(attr: Attr): Attr;
115
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
116
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
117
+ scroll(options?: ScrollToOptions): void;
118
+ scroll(x: number, y: number): void;
119
+ scrollBy(options?: ScrollToOptions): void;
120
+ scrollBy(x: number, y: number): void;
121
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
122
+ scrollTo(options?: ScrollToOptions): void;
123
+ scrollTo(x: number, y: number): void;
124
+ setAttribute(qualifiedName: string, value: string): void;
125
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
126
+ setAttributeNode(attr: Attr): Attr | null;
127
+ setAttributeNodeNS(attr: Attr): Attr | null;
128
+ setHTMLUnsafe(html: string): void;
129
+ setPointerCapture(pointerId: number): void;
130
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
131
+ webkitMatchesSelector(selectors: string): boolean;
132
+ get textContent(): string;
133
+ set textContent(value: string | null);
134
+ readonly baseURI: string;
135
+ readonly childNodes: NodeListOf<ChildNode>;
136
+ readonly firstChild: ChildNode | null;
137
+ readonly isConnected: boolean;
138
+ readonly lastChild: ChildNode | null;
139
+ readonly nextSibling: ChildNode | null;
140
+ readonly nodeName: string;
141
+ readonly nodeType: number;
142
+ nodeValue: string | null;
143
+ readonly parentElement: HTMLElement | null;
144
+ readonly parentNode: ParentNode | null;
145
+ readonly previousSibling: ChildNode | null;
146
+ appendChild<T_1 extends Node>(node: T_1): T_1;
147
+ cloneNode(subtree?: boolean): Node;
148
+ compareDocumentPosition(other: Node): number;
149
+ contains(other: Node | null): boolean;
150
+ getRootNode(options?: GetRootNodeOptions): Node;
151
+ hasChildNodes(): boolean;
152
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
153
+ isDefaultNamespace(namespace: string | null): boolean;
154
+ isEqualNode(otherNode: Node | null): boolean;
155
+ isSameNode(otherNode: Node | null): boolean;
156
+ lookupNamespaceURI(prefix: string | null): string | null;
157
+ lookupPrefix(namespace: string | null): string | null;
158
+ normalize(): void;
159
+ removeChild<T_1 extends Node>(child: T_1): T_1;
160
+ replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
161
+ readonly ELEMENT_NODE: 1;
162
+ readonly ATTRIBUTE_NODE: 2;
163
+ readonly TEXT_NODE: 3;
164
+ readonly CDATA_SECTION_NODE: 4;
165
+ readonly ENTITY_REFERENCE_NODE: 5;
166
+ readonly ENTITY_NODE: 6;
167
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
168
+ readonly COMMENT_NODE: 8;
169
+ readonly DOCUMENT_NODE: 9;
170
+ readonly DOCUMENT_TYPE_NODE: 10;
171
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
172
+ readonly NOTATION_NODE: 12;
173
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
174
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
175
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
176
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
177
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
178
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
179
+ dispatchEvent(event: Event): boolean;
180
+ ariaActiveDescendantElement: Element | null;
181
+ ariaAtomic: string | null;
182
+ ariaAutoComplete: string | null;
183
+ ariaBrailleLabel: string | null;
184
+ ariaBrailleRoleDescription: string | null;
185
+ ariaBusy: string | null;
186
+ ariaChecked: string | null;
187
+ ariaColCount: string | null;
188
+ ariaColIndex: string | null;
189
+ ariaColIndexText: string | null;
190
+ ariaColSpan: string | null;
191
+ ariaControlsElements: ReadonlyArray<Element> | null;
192
+ ariaCurrent: string | null;
193
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
194
+ ariaDescription: string | null;
195
+ ariaDetailsElements: ReadonlyArray<Element> | null;
196
+ ariaDisabled: string | null;
197
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
198
+ ariaExpanded: string | null;
199
+ ariaFlowToElements: ReadonlyArray<Element> | null;
200
+ ariaHasPopup: string | null;
201
+ ariaHidden: string | null;
202
+ ariaInvalid: string | null;
203
+ ariaKeyShortcuts: string | null;
204
+ ariaLabel: string | null;
205
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
206
+ ariaLevel: string | null;
207
+ ariaLive: string | null;
208
+ ariaModal: string | null;
209
+ ariaMultiLine: string | null;
210
+ ariaMultiSelectable: string | null;
211
+ ariaOrientation: string | null;
212
+ ariaOwnsElements: ReadonlyArray<Element> | null;
213
+ ariaPlaceholder: string | null;
214
+ ariaPosInSet: string | null;
215
+ ariaPressed: string | null;
216
+ ariaReadOnly: string | null;
217
+ ariaRelevant: string | null;
218
+ ariaRequired: string | null;
219
+ ariaRoleDescription: string | null;
220
+ ariaRowCount: string | null;
221
+ ariaRowIndex: string | null;
222
+ ariaRowIndexText: string | null;
223
+ ariaRowSpan: string | null;
224
+ ariaSelected: string | null;
225
+ ariaSetSize: string | null;
226
+ ariaSort: string | null;
227
+ ariaValueMax: string | null;
228
+ ariaValueMin: string | null;
229
+ ariaValueNow: string | null;
230
+ ariaValueText: string | null;
231
+ role: string | null;
232
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
233
+ getAnimations(options?: GetAnimationsOptions): Animation[];
234
+ after(...nodes: (Node | string)[]): void;
235
+ before(...nodes: (Node | string)[]): void;
236
+ remove(): void;
237
+ replaceWith(...nodes: (Node | string)[]): void;
238
+ readonly nextElementSibling: Element | null;
239
+ readonly previousElementSibling: Element | null;
240
+ readonly childElementCount: number;
241
+ readonly children: HTMLCollection;
242
+ readonly firstElementChild: Element | null;
243
+ readonly lastElementChild: Element | null;
244
+ append(...nodes: (Node | string)[]): void;
245
+ prepend(...nodes: (Node | string)[]): void;
246
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
247
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
248
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
249
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
250
+ querySelector<E extends Element = Element>(selectors: string): E | null;
251
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
252
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
253
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
254
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
255
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
256
+ replaceChildren(...nodes: (Node | string)[]): void;
257
+ readonly assignedSlot: HTMLSlotElement | null;
258
+ readonly attributeStyleMap: StylePropertyMap;
259
+ get style(): CSSStyleDeclaration;
260
+ set style(cssText: string);
261
+ contentEditable: string;
262
+ enterKeyHint: string;
263
+ inputMode: string;
264
+ readonly isContentEditable: boolean;
265
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
266
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
267
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
268
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
269
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
270
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
271
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
272
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
274
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
275
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
280
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
283
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
285
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
287
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
288
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
295
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onerror: OnErrorEventHandler;
299
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
300
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
301
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
302
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
305
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
306
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
307
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
319
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
320
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
330
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
332
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
333
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
336
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
339
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
347
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
350
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
351
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
352
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
353
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
354
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
355
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
356
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
357
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
358
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
364
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
365
+ autofocus: boolean;
366
+ readonly dataset: DOMStringMap;
367
+ nonce?: string;
368
+ tabIndex: number;
369
+ blur(): void;
370
+ focus(options?: FocusOptions): void;
371
+ };
372
+ get properties(): {
373
+ isLoading: {
374
+ type: BooleanConstructor;
375
+ };
376
+ };
377
+ } & typeof LitElement;
378
+ export declare class TitaniumDataTableCoreReorderDialog<T extends object> extends TitaniumDataTableCoreReorderDialog_base {
379
+ #private;
380
+ accessor tableMetaData: TitaniumDataTableCoreMetaData<T> | null;
381
+ accessor supplementalItemStyles: CSSResult | CSSResultGroup | null;
382
+ private accessor dialog;
383
+ private accessor snackbar;
384
+ accessor items: Array<T>;
385
+ show(items: Array<T>): Promise<CloseReason>;
386
+ hasChanges(sortA: Array<T>, sortB: Array<T>): boolean;
387
+ static styles: CSSResult[];
388
+ render(): import("lit-html").TemplateResult<1>;
389
+ }
390
+ export {};
391
+ //# sourceMappingURL=data-table-core-reorder-dialog.d.ts.map
@@ -0,0 +1,169 @@
1
+ import { __decorate } from "tslib";
2
+ import '@material/web/dialog/dialog';
3
+ import '@material/web/button/filled-tonal-button';
4
+ import '@material/web/button/text-button';
5
+ import '@material/web/icon/icon';
6
+ import '@leavittsoftware/web/titanium/snackbar/snackbar-stack';
7
+ import '@material/web/progress/circular-progress';
8
+ import './data-table-core-reorder-item';
9
+ import { LitElement, css, html } from 'lit';
10
+ import { customElement, property, query, state } from 'lit/decorators.js';
11
+ import { dialogCloseNavigationHack, dialogOpenNavigationHack } from '../hacks/dialog-navigation-hack';
12
+ import { dialogZIndexHack } from '../hacks/dialog-zindex-hack';
13
+ import { repeat } from 'lit/directives/repeat.js';
14
+ import { LoadWhile } from '../helpers/load-while';
15
+ import { ShowSnackbarEvent } from '../snackbar/show-snackbar-event';
16
+ let TitaniumDataTableCoreReorderDialog = class TitaniumDataTableCoreReorderDialog extends LoadWhile(LitElement) {
17
+ #tableMetaData_accessor_storage = null;
18
+ get tableMetaData() { return this.#tableMetaData_accessor_storage; }
19
+ set tableMetaData(value) { this.#tableMetaData_accessor_storage = value; }
20
+ #supplementalItemStyles_accessor_storage = null;
21
+ get supplementalItemStyles() { return this.#supplementalItemStyles_accessor_storage; }
22
+ set supplementalItemStyles(value) { this.#supplementalItemStyles_accessor_storage = value; }
23
+ #dialog_accessor_storage;
24
+ get dialog() { return this.#dialog_accessor_storage; }
25
+ set dialog(value) { this.#dialog_accessor_storage = value; }
26
+ #snackbar_accessor_storage;
27
+ get snackbar() { return this.#snackbar_accessor_storage; }
28
+ set snackbar(value) { this.#snackbar_accessor_storage = value; }
29
+ #items_accessor_storage = [];
30
+ get items() { return this.#items_accessor_storage; }
31
+ set items(value) { this.#items_accessor_storage = value; }
32
+ #originalItems = [];
33
+ async show(items) {
34
+ const _items = structuredClone(items);
35
+ const sortPropertyKey = this.tableMetaData?.reorderConfig?.sortPropertyKey;
36
+ if (sortPropertyKey) {
37
+ _items.sort((a, b) => a[sortPropertyKey].toString().localeCompare(b[sortPropertyKey].toString()));
38
+ }
39
+ this.items = _items;
40
+ this.#originalItems = structuredClone(_items);
41
+ this.dialog.returnValue = '';
42
+ this.dialog?.show();
43
+ return await new Promise((resolve) => {
44
+ this.#resolve = resolve;
45
+ });
46
+ }
47
+ hasChanges(sortA, sortB) {
48
+ return JSON.stringify(sortA) !== JSON.stringify(sortB);
49
+ }
50
+ #resolve;
51
+ static { this.styles = [
52
+ css `
53
+ :host {
54
+ display: grid;
55
+ }
56
+
57
+ md-dialog {
58
+ max-width: 450px;
59
+ width: calc(100vw - 24px);
60
+
61
+ height: min-content;
62
+ max-height: calc(100vh - 24px);
63
+ }
64
+
65
+ form {
66
+ display: grid;
67
+ padding: 8px;
68
+ }
69
+
70
+ md-circular-progress {
71
+ --md-circular-progress-size: 28px;
72
+ }
73
+ `,
74
+ ]; }
75
+ render() {
76
+ return html ` <md-dialog
77
+ @open=${(e) => {
78
+ dialogOpenNavigationHack(e.target);
79
+ dialogZIndexHack(e.target);
80
+ }}
81
+ @close=${(e) => {
82
+ if (e.target.returnValue === 'apply' || e.target.returnValue === 'cancel') {
83
+ dialogCloseNavigationHack(e.target);
84
+ this.snackbar.dismissAll();
85
+ return this.#resolve(e.target.returnValue);
86
+ }
87
+ e.preventDefault();
88
+ }}
89
+ >
90
+ <div slot="headline">Reorder items</div>
91
+ <form
92
+ slot="content"
93
+ @item-drop=${(e) => {
94
+ e.stopPropagation();
95
+ const items = this.items ?? [];
96
+ //HoverIndex cannot be dropped beyond the length of the array
97
+ const hoverIndex = Math.min(e.hoverIndex, items.length - 1);
98
+ //Ignore if item goes back to where it started
99
+ if (hoverIndex !== e.originIndex) {
100
+ const temp = items[e.originIndex];
101
+ items.splice(e.originIndex, 1);
102
+ items.splice(hoverIndex, 0, temp);
103
+ }
104
+ this.requestUpdate('items');
105
+ }}
106
+ >
107
+ ${repeat(this.items, (item) => this.tableMetaData?.uniqueKey(item), (item) => html `
108
+ <titanium-data-table-core-reorder-item
109
+ ?disable-drag=${this.isLoading}
110
+ .item=${item}
111
+ .tableMetaData=${this.tableMetaData}
112
+ .supplementalItemStyles=${this.supplementalItemStyles}
113
+ ></titanium-data-table-core-reorder-item>
114
+ `)}
115
+ <titanium-snackbar-stack .eventListenerTarget=${this}></titanium-snackbar-stack>
116
+ </form>
117
+ <div slot="actions">
118
+ <md-text-button @click=${() => this.dialog?.close('cancel')} ?disabled=${this.isLoading}>Cancel</md-text-button>
119
+ <md-filled-tonal-button
120
+ trailing-icon
121
+ ?disabled=${this.isLoading || !this.hasChanges(this.items, this.#originalItems)}
122
+ @click=${async () => {
123
+ let _resolve = () => { };
124
+ let _reject = () => { };
125
+ const saving = new Promise((resolve, reject) => {
126
+ _resolve = resolve;
127
+ _reject = reject;
128
+ });
129
+ this.loadWhile(saving);
130
+ this.dispatchEvent(new CustomEvent('reorder-save-request', {
131
+ detail: { resolve: _resolve, reject: _reject, items: this.items },
132
+ }));
133
+ try {
134
+ await saving;
135
+ this.dialog?.close('apply');
136
+ }
137
+ catch (error) {
138
+ this.dispatchEvent(new ShowSnackbarEvent(error));
139
+ }
140
+ }}
141
+ >Save
142
+ ${this.isLoading
143
+ ? html `<md-circular-progress slot="icon" indeterminate></md-circular-progress>`
144
+ : html ` <md-icon slot="icon">save</md-icon>`}</md-filled-tonal-button
145
+ >
146
+ </div>
147
+ </md-dialog>`;
148
+ }
149
+ };
150
+ __decorate([
151
+ property({ type: Object })
152
+ ], TitaniumDataTableCoreReorderDialog.prototype, "tableMetaData", null);
153
+ __decorate([
154
+ property({ type: Object })
155
+ ], TitaniumDataTableCoreReorderDialog.prototype, "supplementalItemStyles", null);
156
+ __decorate([
157
+ query('md-dialog')
158
+ ], TitaniumDataTableCoreReorderDialog.prototype, "dialog", null);
159
+ __decorate([
160
+ query('titanium-snackbar-stack')
161
+ ], TitaniumDataTableCoreReorderDialog.prototype, "snackbar", null);
162
+ __decorate([
163
+ state()
164
+ ], TitaniumDataTableCoreReorderDialog.prototype, "items", null);
165
+ TitaniumDataTableCoreReorderDialog = __decorate([
166
+ customElement('titanium-data-table-core-reorder-dialog')
167
+ ], TitaniumDataTableCoreReorderDialog);
168
+ export { TitaniumDataTableCoreReorderDialog };
169
+ //# sourceMappingURL=data-table-core-reorder-dialog.js.map
@@ -0,0 +1 @@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IAAI,EAAE,MAAM,EAAE,CAAC;gFAA2E;AAEjE;IAApC,KAAK,CAAC,WAAW,CAAC;gEAAmC;AACH;IAAlD,KAAK,CAAC,yBAAyB,CAAC;kEAA2C;AAE1D;IAAjB,KAAK,EAAE;+DAA+B;AAP5B,kCAAkC;IAD9C,aAAa,CAAC,yCAAyC,CAAC;GAC5C,kCAAkC,CA4I9C"}
@@ -0,0 +1,16 @@
1
+ import '@material/web/icon/icon';
2
+ import '@material/web/elevation/elevation';
3
+ import '@material/web/ripple/ripple';
4
+ import { CSSResult, CSSResultGroup } from 'lit';
5
+ import { DraggableItemBase } from './draggable-item-base';
6
+ import { TitaniumDataTableCoreMetaData } from './data-table-core';
7
+ export declare class TitaniumDataTableCoreReorderItem<T extends object> extends DraggableItemBase {
8
+ accessor item: T;
9
+ accessor tableMetaData: TitaniumDataTableCoreMetaData<T> | null;
10
+ accessor supplementalItemStyles: CSSResult | CSSResultGroup | null;
11
+ get items(): TitaniumDataTableCoreReorderItem<T>[];
12
+ get itemsContainer(): HTMLElement | null;
13
+ static styles: CSSResultGroup[];
14
+ render(): import("lit-html").TemplateResult<1>;
15
+ }
16
+ //# sourceMappingURL=data-table-core-reorder-item.d.ts.map