@daasboard/ui 0.0.0-stage → 0.1.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 (110) hide show
  1. package/LICENSE +5 -0
  2. package/README.md +6 -2
  3. package/dist/LICENSE-lucide.txt +43 -0
  4. package/dist/color/color.d.ts +34 -0
  5. package/dist/color/color.js +106 -0
  6. package/dist/color/edit.d.ts +34 -0
  7. package/dist/color/edit.js +40 -0
  8. package/dist/color/gradient.d.ts +39 -0
  9. package/dist/color/gradient.js +129 -0
  10. package/dist/color/index.d.ts +3 -0
  11. package/dist/color/index.js +3 -0
  12. package/dist/controls/buttons.d.ts +54 -0
  13. package/dist/controls/buttons.js +95 -0
  14. package/dist/controls/font-picker.d.ts +35 -0
  15. package/dist/controls/font-picker.js +178 -0
  16. package/dist/controls/index.d.ts +43 -0
  17. package/dist/controls/index.js +32 -0
  18. package/dist/controls/number-field.d.ts +60 -0
  19. package/dist/controls/number-field.js +190 -0
  20. package/dist/controls/place.d.ts +10 -0
  21. package/dist/controls/place.js +77 -0
  22. package/dist/controls/popover.d.ts +84 -0
  23. package/dist/controls/popover.js +366 -0
  24. package/dist/controls/shared.d.ts +30 -0
  25. package/dist/controls/shared.js +134 -0
  26. package/dist/controls/slider.d.ts +82 -0
  27. package/dist/controls/slider.js +241 -0
  28. package/dist/controls/swatch.d.ts +25 -0
  29. package/dist/controls/swatch.js +38 -0
  30. package/dist/controls/tooltip.d.ts +19 -0
  31. package/dist/controls/tooltip.js +84 -0
  32. package/dist/controls/typed.d.ts +28 -0
  33. package/dist/controls/typed.js +126 -0
  34. package/dist/element.d.ts +40 -0
  35. package/dist/element.js +78 -0
  36. package/dist/host.d.ts +99 -0
  37. package/dist/host.js +1 -0
  38. package/dist/icons/index.d.ts +7 -0
  39. package/dist/icons/index.js +31 -0
  40. package/dist/icons/lucide.d.ts +851 -0
  41. package/dist/icons/lucide.js +90 -0
  42. package/dist/index.d.ts +18 -0
  43. package/dist/index.js +16 -0
  44. package/dist/keys.d.ts +30 -0
  45. package/dist/keys.js +122 -0
  46. package/dist/mount.d.ts +11 -0
  47. package/dist/mount.js +96 -0
  48. package/dist/options.d.ts +152 -0
  49. package/dist/options.js +78 -0
  50. package/dist/palette.d.ts +6 -0
  51. package/dist/palette.js +9 -0
  52. package/dist/picker/handles.d.ts +7 -0
  53. package/dist/picker/handles.js +8 -0
  54. package/dist/picker/index.d.ts +21 -0
  55. package/dist/picker/index.js +20 -0
  56. package/dist/picker/palette.d.ts +8 -0
  57. package/dist/picker/palette.js +14 -0
  58. package/dist/picker/picker.d.ts +63 -0
  59. package/dist/picker/picker.js +561 -0
  60. package/dist/picker/solid-editor.d.ts +60 -0
  61. package/dist/picker/solid-editor.js +330 -0
  62. package/dist/picker/stop-bar.d.ts +27 -0
  63. package/dist/picker/stop-bar.js +140 -0
  64. package/dist/prefs.d.ts +6 -0
  65. package/dist/prefs.js +34 -0
  66. package/dist/recents.d.ts +9 -0
  67. package/dist/recents.js +140 -0
  68. package/dist/root.d.ts +31 -0
  69. package/dist/root.js +526 -0
  70. package/dist/scheduler.d.ts +21 -0
  71. package/dist/scheduler.js +132 -0
  72. package/dist/strings.d.ts +284 -0
  73. package/dist/strings.js +287 -0
  74. package/dist/surface.d.ts +27 -0
  75. package/dist/surface.js +8 -0
  76. package/dist/surfaces/context-menu/index.d.ts +2 -0
  77. package/dist/surfaces/context-menu/index.js +2 -0
  78. package/dist/surfaces/context-menu/items.d.ts +14 -0
  79. package/dist/surfaces/context-menu/items.js +38 -0
  80. package/dist/surfaces/context-menu/menu.d.ts +16 -0
  81. package/dist/surfaces/context-menu/menu.js +135 -0
  82. package/dist/surfaces/pane/index.d.ts +16 -0
  83. package/dist/surfaces/pane/index.js +19 -0
  84. package/dist/surfaces/pane/model.d.ts +41 -0
  85. package/dist/surfaces/pane/model.js +139 -0
  86. package/dist/surfaces/pane/outlet.d.ts +16 -0
  87. package/dist/surfaces/pane/outlet.js +20 -0
  88. package/dist/surfaces/pane/pane.d.ts +40 -0
  89. package/dist/surfaces/pane/pane.js +1429 -0
  90. package/dist/surfaces/pane/placement.d.ts +11 -0
  91. package/dist/surfaces/pane/placement.js +62 -0
  92. package/dist/surfaces/pane/text-field.d.ts +16 -0
  93. package/dist/surfaces/pane/text-field.js +20 -0
  94. package/dist/surfaces/selection-toolbar/index.d.ts +2 -0
  95. package/dist/surfaces/selection-toolbar/index.js +2 -0
  96. package/dist/surfaces/selection-toolbar/items.d.ts +37 -0
  97. package/dist/surfaces/selection-toolbar/items.js +183 -0
  98. package/dist/surfaces/selection-toolbar/toolbar.d.ts +27 -0
  99. package/dist/surfaces/selection-toolbar/toolbar.js +956 -0
  100. package/dist/surfaces/tools/index.d.ts +2 -0
  101. package/dist/surfaces/tools/index.js +2 -0
  102. package/dist/surfaces/tools/keys.d.ts +11 -0
  103. package/dist/surfaces/tools/keys.js +21 -0
  104. package/dist/surfaces/tools/model.d.ts +48 -0
  105. package/dist/surfaces/tools/model.js +155 -0
  106. package/dist/surfaces/tools/toolbar.d.ts +27 -0
  107. package/dist/surfaces/tools/toolbar.js +502 -0
  108. package/dist/theme.d.ts +26 -0
  109. package/dist/theme.js +47 -0
  110. package/package.json +31 -3
@@ -0,0 +1,11 @@
1
+ import type { UiRoot } from "../../root.js";
2
+ import type { PaneSurface } from "./pane.js";
3
+ export declare const PANE_TAG = "daas-pane";
4
+ export declare class PanePlacement {
5
+ #private;
6
+ private readonly root;
7
+ constructor(root: UiRoot);
8
+ get pane(): PaneSurface | null;
9
+ sync(): void;
10
+ dispose(): void;
11
+ }
@@ -0,0 +1,62 @@
1
+ import { PANE_ROOT_TAG } from "./outlet.js";
2
+ export const PANE_TAG = "daas-pane";
3
+ export class PanePlacement {
4
+ root;
5
+ #pane = null;
6
+ #outlet = null;
7
+ #disposed = false;
8
+ constructor(root) {
9
+ this.root = root;
10
+ }
11
+ get pane() {
12
+ return this.#pane;
13
+ }
14
+ sync() {
15
+ if (this.#disposed)
16
+ return;
17
+ const o = this.root.resolved.pane;
18
+ if (o === false)
19
+ return this.#off();
20
+ const doc = this.root.ownerDocument;
21
+ const pane = (this.#pane ??= doc.createElement(PANE_TAG));
22
+ pane.retired = false;
23
+ pane.configured(o);
24
+ if (o.container) {
25
+ if (this.#outlet?.parentNode === o.container)
26
+ return;
27
+ if (this.#outlet)
28
+ this.root.relocate(pane);
29
+ else
30
+ this.root.addSurface(pane, "container");
31
+ this.#dropOutlet();
32
+ const outlet = doc.createElement(PANE_ROOT_TAG);
33
+ this.root.adopt(outlet);
34
+ outlet.pane = pane;
35
+ pane.placement = "container";
36
+ o.container.append(outlet);
37
+ this.#outlet = outlet;
38
+ return;
39
+ }
40
+ const side = o.side === "left" ? "left" : "right";
41
+ this.root.addSurface(pane, side);
42
+ pane.placement = side;
43
+ this.#dropOutlet();
44
+ }
45
+ #dropOutlet() {
46
+ if (!this.#outlet)
47
+ return;
48
+ this.#outlet.pane = null;
49
+ this.root.release(this.#outlet);
50
+ this.#outlet.remove();
51
+ this.#outlet = null;
52
+ }
53
+ dispose() {
54
+ this.#off();
55
+ this.#disposed = true;
56
+ }
57
+ #off() {
58
+ const pane = this.#pane;
59
+ pane?.retire(() => this.root.removeSurface(pane));
60
+ this.#dropOutlet();
61
+ }
62
+ }
@@ -0,0 +1,16 @@
1
+ import { TypedField } from "../../controls/number-field.js";
2
+ export declare class TextField extends TypedField {
3
+ static properties: {
4
+ value: {};
5
+ placeholder: {};
6
+ busy: {
7
+ type: BooleanConstructor;
8
+ };
9
+ };
10
+ value: string | null;
11
+ placeholder: string;
12
+ busy: boolean;
13
+ constructor();
14
+ commitDraft(): void;
15
+ protected render(): import("lit").TemplateResult<1>;
16
+ }
@@ -0,0 +1,20 @@
1
+ import { html } from "lit";
2
+ import { TypedField } from "../../controls/number-field.js";
3
+ import { COMMIT, emit } from "../../controls/shared.js";
4
+ export class TextField extends TypedField {
5
+ static properties = { value: {}, placeholder: {}, busy: { type: Boolean } };
6
+ constructor() {
7
+ super();
8
+ this.value = null;
9
+ this.placeholder = "";
10
+ this.busy = false;
11
+ }
12
+ commitDraft() {
13
+ const draft = this.takeDraft();
14
+ if (draft !== null && (this.mixed || this.busy || draft !== (this.value ?? "")))
15
+ emit(this, COMMIT, draft);
16
+ }
17
+ render() {
18
+ return html `<div class="field" part="field">${this.input(this.mixed ? "" : (this.value ?? ""), this.mixed ? this.t("value.mixed") : this.placeholder, this.name, undefined, this.busy)}</div>`;
19
+ }
20
+ }
@@ -0,0 +1,2 @@
1
+ export { SelectionToolbar, defineSelectionToolbar, SELECTION_TOOLBAR_TAG } from "./toolbar.js";
2
+ export { DEFAULT_ITEMS, SIZE_LADDER, SELECTION_SHORTCUTS, CONNECTOR_TYPES, commandBindings, itemList, itemKeys, shownItems, stepSize, connectorType, type ConnectorType } from "./items.js";
@@ -0,0 +1,2 @@
1
+ export { SelectionToolbar, defineSelectionToolbar, SELECTION_TOOLBAR_TAG } from "./toolbar.js";
2
+ export { DEFAULT_ITEMS, SIZE_LADDER, SELECTION_SHORTCUTS, CONNECTOR_TYPES, commandBindings, itemList, itemKeys, shownItems, stepSize, connectorType } from "./items.js";
@@ -0,0 +1,37 @@
1
+ import type { PropertyValue, SceneObject } from "@daasboard/editor";
2
+ import { type Binding } from "../../keys.js";
3
+ import type { CommandName, CustomItem, ItemId, SelectionToolbarOptions } from "../../options.js";
4
+ export interface ItemSpec {
5
+ readonly requires: readonly string[];
6
+ readonly optional?: readonly string[];
7
+ readonly text?: true;
8
+ readonly when?: (targets: readonly SceneObject[]) => boolean;
9
+ }
10
+ export declare const CORNERS: string[];
11
+ export declare const SIDES: string[];
12
+ export declare const PADDINGS: string[];
13
+ export declare const SHADOW: string[];
14
+ export declare const GEOMETRY: string[];
15
+ export declare const BAR_KEYS: readonly string[];
16
+ export declare const ITEMS: Readonly<Record<ItemId, ItemSpec>>;
17
+ export declare const DEFAULT_ITEMS: readonly (ItemId | "|")[];
18
+ export type Entry = ItemId | CustomItem;
19
+ export declare function itemList(items: SelectionToolbarOptions["items"]): readonly (Entry | "|")[];
20
+ export declare function itemKeys(list: readonly (Entry | "|")[]): string[];
21
+ export declare function typedKeys(list: readonly (Entry | "|")[]): string[];
22
+ export declare function shows(e: Entry, values: Readonly<Record<string, PropertyValue>>, targets: readonly SceneObject[], textSession: boolean): boolean;
23
+ export declare function shownMask(list: readonly (Entry | "|")[], values: Readonly<Record<string, PropertyValue>>, targets: readonly SceneObject[], textSession: boolean): boolean[];
24
+ export declare function shownItems(list: readonly (Entry | "|")[], values: Readonly<Record<string, PropertyValue>>, targets: readonly SceneObject[], textSession: boolean): (Entry | "|")[];
25
+ export declare const entryId: (e: Entry) => string;
26
+ export declare function sameValues(a: Readonly<Record<string, PropertyValue>>, b: Readonly<Record<string, PropertyValue>>, keys: Iterable<string>, applyOnly?: ReadonlySet<string>): boolean;
27
+ export declare const SIZE_LADDER: readonly number[];
28
+ export declare function stepSize(v: number, dir: 1 | -1, min: number, max: number): number;
29
+ export type ConnectorType = "rounded" | "sharp" | "line" | "curved";
30
+ export declare const CONNECTOR_TYPES: Readonly<Record<ConnectorType, {
31
+ route: string;
32
+ bendRadius: number;
33
+ }>>;
34
+ export declare function connectorType(route: PropertyValue | undefined, bend: PropertyValue | undefined): ConnectorType | null;
35
+ export declare const SELECTION_SHORTCUTS: Readonly<Partial<Record<CommandName, string>>>;
36
+ export declare const shortcutOf: (command: CommandName, overrides: Readonly<Partial<Record<string, string | null>>>) => string | undefined;
37
+ export declare function commandBindings(options: false | SelectionToolbarOptions, overrides: Readonly<Partial<Record<string, string | null>>>, mac: boolean): Binding[];
@@ -0,0 +1,183 @@
1
+ import { parseChord } from "../../keys.js";
2
+ export const CORNERS = ["radiusTopLeft", "radiusTopRight", "radiusBottomRight", "radiusBottomLeft"];
3
+ export const SIDES = ["strokeTop", "strokeRight", "strokeBottom", "strokeLeft"];
4
+ export const PADDINGS = ["paddingTop", "paddingRight", "paddingBottom", "paddingLeft"];
5
+ export const SHADOW = ["shadowX", "shadowY", "shadowBlur", "shadowSpread"];
6
+ export const GEOMETRY = ["x", "y", "w", "h", "rotation"];
7
+ export const BAR_KEYS = ["fill", "fills", "stroke", "textColor", "fontFamily", "fontSize", "bold", "italic", "list", "textAlign", "shadowOn", "route", "bendRadius"];
8
+ export const ITEMS = {
9
+ stickyColor: { requires: ["fill"], when: (targets) => targets.every((o) => o.kind === "sticky") },
10
+ fill: { requires: ["fill"], optional: ["fills"] },
11
+ stroke: { requires: ["stroke"] },
12
+ borderStyle: { requires: ["strokeWidth"], optional: ["dash", ...SIDES, "radius", ...CORNERS] },
13
+ lineEnds: { requires: ["lineStart", "lineEnd"] },
14
+ connectorType: { requires: ["route", "bendRadius"] },
15
+ font: { requires: ["fontFamily"], optional: ["fontWeight"], text: true },
16
+ fontSize: { requires: ["fontSize"], text: true },
17
+ bold: { requires: ["bold"], text: true },
18
+ italic: { requires: ["italic"], text: true },
19
+ moreStyles: { requires: ["underline", "strike", "textCase"], text: true },
20
+ textColor: { requires: ["textColor"], text: true },
21
+ textOptions: { requires: ["lineHeight", "letterSpacing"], optional: PADDINGS, text: true },
22
+ list: { requires: ["list"], text: true },
23
+ align: { requires: ["textAlign"], optional: ["valign"], text: true },
24
+ shadow: { requires: ["shadowOn"], optional: [...SHADOW, "shadowColor"] },
25
+ opacity: { requires: ["opacity"] },
26
+ more: { requires: [], optional: [...GEOMETRY, "locked"] },
27
+ };
28
+ export const DEFAULT_ITEMS = [
29
+ "stickyColor",
30
+ "fill",
31
+ "stroke",
32
+ "borderStyle",
33
+ "|",
34
+ "lineEnds",
35
+ "connectorType",
36
+ "|",
37
+ "font",
38
+ "fontSize",
39
+ "bold",
40
+ "italic",
41
+ "moreStyles",
42
+ "textColor",
43
+ "textOptions",
44
+ "|",
45
+ "list",
46
+ "align",
47
+ "|",
48
+ "shadow",
49
+ "opacity",
50
+ "|",
51
+ "more",
52
+ ];
53
+ export function itemList(items) {
54
+ const list = typeof items === "function" ? items(DEFAULT_ITEMS) : (items ?? DEFAULT_ITEMS);
55
+ const known = (e) => (typeof e === "string" ? e === "|" || Object.hasOwn(ITEMS, e) : typeof e === "object" && e !== null && typeof e.id === "string" && typeof e.render === "function");
56
+ return Array.isArray(list) ? list.filter(known) : DEFAULT_ITEMS;
57
+ }
58
+ export function itemKeys(list) {
59
+ return [...new Set(list.flatMap((e) => (e === "|" ? [] : typeof e === "string" ? [...ITEMS[e].requires, ...(ITEMS[e].optional ?? [])] : (e.requires ?? []))))];
60
+ }
61
+ const TYPED = {
62
+ fill: ["fill"],
63
+ stroke: ["stroke"],
64
+ borderStyle: ["strokeWidth", "radius", ...CORNERS],
65
+ fontSize: ["fontSize"],
66
+ textColor: ["textColor"],
67
+ textOptions: ["lineHeight", "letterSpacing", ...PADDINGS],
68
+ shadow: [...SHADOW, "shadowColor"],
69
+ opacity: ["opacity"],
70
+ more: GEOMETRY,
71
+ };
72
+ export function typedKeys(list) {
73
+ return [...new Set(list.flatMap((e) => (e === "|" ? [] : typeof e === "string" ? (TYPED[e] ?? []) : (e.requires ?? []))))];
74
+ }
75
+ export function shows(e, values, targets, textSession) {
76
+ const spec = typeof e === "string" ? ITEMS[e] : e;
77
+ const requires = spec.requires ?? [];
78
+ if (!requires.every((k) => k in values))
79
+ return false;
80
+ if (textSession && !(typeof e === "string" ? spec.text : requires.length > 0 && requires.every((k) => values[k].descriptor.group === "text")))
81
+ return false;
82
+ try {
83
+ return !spec.when || spec.when(targets);
84
+ }
85
+ catch {
86
+ return false;
87
+ }
88
+ }
89
+ export function shownMask(list, values, targets, textSession) {
90
+ const mask = list.map((e) => e !== "|" && targets.length > 0 && shows(e, values, targets, textSession));
91
+ let divider = -1;
92
+ let before = false;
93
+ list.forEach((e, i) => {
94
+ if (e === "|") {
95
+ if (before && divider < 0)
96
+ divider = i;
97
+ }
98
+ else if (mask[i]) {
99
+ if (divider >= 0)
100
+ mask[divider] = true;
101
+ divider = -1;
102
+ before = true;
103
+ }
104
+ });
105
+ return mask;
106
+ }
107
+ export function shownItems(list, values, targets, textSession) {
108
+ const mask = shownMask(list, values, targets, textSession);
109
+ return list.filter((_, i) => mask[i]);
110
+ }
111
+ export const entryId = (e) => (typeof e === "string" ? e : `custom:${e.id}`);
112
+ const sameData = (a, b) => Object.is(a, b) ||
113
+ (Array.isArray(a) ? Array.isArray(b) && a.length === b.length && a.every((v, i) => sameData(v, b[i])) : !!a && !!b && typeof a === "object" && typeof b === "object" && JSON.stringify(a) === JSON.stringify(b));
114
+ const NO_KEYS = new Set();
115
+ export function sameValues(a, b, keys, applyOnly = NO_KEYS) {
116
+ if (a === b)
117
+ return true;
118
+ const mixed = [];
119
+ for (const k of keys) {
120
+ const x = a[k];
121
+ const y = b[k];
122
+ if (x === y)
123
+ continue;
124
+ if (!x || !y)
125
+ return false;
126
+ if (applyOnly.has(k))
127
+ continue;
128
+ if (x.descriptor !== y.descriptor || !!x.mixed !== !!y.mixed || !sameData(x.value, y.value))
129
+ return false;
130
+ if (x.mixed)
131
+ mixed.push(k);
132
+ }
133
+ return mixed.every((k) => sameData(a[k].values, b[k].values));
134
+ }
135
+ export const SIZE_LADDER = [8, 9, 10, 11, 12, 13, 14, 16, 18, 20, 24, 28, 32, 36, 40, 48, 56, 64, 72, 96];
136
+ export function stepSize(v, dir, min, max) {
137
+ const L = SIZE_LADDER;
138
+ const first = L[0];
139
+ const last = L[L.length - 1];
140
+ const past = (end, gap) => end + (Math.floor(((v - end) / gap) * dir) + 1) * gap * dir;
141
+ const next = v <= first ? past(first, L[1] - first) : v >= last ? past(last, last - L[L.length - 2]) : dir > 0 ? L.find((s) => s > v) : [...L].reverse().find((s) => s < v);
142
+ return Math.min(max, Math.max(min, next));
143
+ }
144
+ export const CONNECTOR_TYPES = {
145
+ rounded: { route: "ortho", bendRadius: 5 },
146
+ sharp: { route: "ortho", bendRadius: 0 },
147
+ line: { route: "straight", bendRadius: 0 },
148
+ curved: { route: "curve", bendRadius: 0 },
149
+ };
150
+ export function connectorType(route, bend) {
151
+ if (!route || route.mixed)
152
+ return null;
153
+ if (route.value === "straight")
154
+ return "line";
155
+ if (route.value === "curve")
156
+ return "curved";
157
+ if (route.value !== "ortho" || !bend || bend.mixed)
158
+ return null;
159
+ return Number(bend.value) > 0 ? "rounded" : "sharp";
160
+ }
161
+ export const SELECTION_SHORTCUTS = {
162
+ locationAndSize: "Alt+L",
163
+ lock: "Mod+Shift+L",
164
+ bringToFront: "Mod+Shift+]",
165
+ bringForward: "Mod+]",
166
+ sendBackward: "Mod+[",
167
+ sendToBack: "Mod+Shift+[",
168
+ duplicate: "Mod+D",
169
+ delete: "Delete",
170
+ };
171
+ export const shortcutOf = (command, overrides) => (command in overrides ? overrides[command] : SELECTION_SHORTCUTS[command]) ?? undefined;
172
+ export function commandBindings(options, overrides, mac) {
173
+ if (options === false || !itemList(options.items).includes("more"))
174
+ return [];
175
+ const out = [];
176
+ for (const command of Object.keys(SELECTION_SHORTCUTS)) {
177
+ const text = shortcutOf(command, overrides);
178
+ const chord = text ? parseChord(text, mac) : null;
179
+ if (chord)
180
+ out.push({ chord, command });
181
+ }
182
+ return out;
183
+ }
@@ -0,0 +1,27 @@
1
+ import { type PropertyValues, type TemplateResult } from "lit";
2
+ import { type CommandName } from "../../options.js";
3
+ import { UiSurface } from "../../surface.js";
4
+ export declare const SELECTION_TOOLBAR_TAG = "daas-selection-toolbar";
5
+ export declare class SelectionToolbar extends UiSurface {
6
+ #private;
7
+ static styles: import("lit").CSSResult[];
8
+ moving: boolean;
9
+ connectedCallback(): void;
10
+ disconnectedCallback(): void;
11
+ protected updated(): void;
12
+ startMove(park: Element): void;
13
+ moved(): void;
14
+ release(park: Element): boolean;
15
+ keys(): readonly string[];
16
+ requestUpdate(...args: Parameters<UiSurface["requestUpdate"]>): void;
17
+ protected shouldUpdate(changed: PropertyValues<this>): boolean;
18
+ protected willUpdate(): void;
19
+ runCommand(command: CommandName): boolean;
20
+ protected render(): TemplateResult;
21
+ }
22
+ export declare function defineSelectionToolbar(): void;
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ "daas-selection-toolbar": SelectionToolbar;
26
+ }
27
+ }