@vertexvis/ui 0.0.13-canary.8 → 0.0.13
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/README.md +1 -1
- package/dist/cjs/{auto-resize-textarea-6f700406.js → auto-resize-textarea-923dfeaf.js} +2 -0
- package/dist/cjs/{button-a652f98b.js → button-bae89340.js} +1 -1
- package/dist/cjs/{click-to-edit-text-field-7a863cd6.js → click-to-edit-text-field-1c9f2920.js} +12 -9
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/dialog-fb6cfed9.js +225 -0
- package/dist/cjs/{draggable-popover-14f7893a.js → draggable-popover-daaccc8d.js} +6 -1
- package/dist/cjs/{icon-326179a0.js → icon-b03c2f5b.js} +1 -1
- package/dist/cjs/{icon-button-05f39b69.js → icon-button-5bcecec5.js} +1 -1
- package/dist/cjs/{icon-helper-49a5185e.js → icon-helper-6bd9ce5e.js} +35 -0
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{menu-27013a38.js → menu-ca39ac15.js} +6 -1
- package/dist/cjs/slider-3488ff5a.js +53 -0
- package/dist/cjs/{text-field-0428fadb.js → text-field-aceff1f6.js} +5 -2
- package/dist/cjs/vertex-auto-resize-textarea.cjs.entry.js +1 -1
- package/dist/cjs/vertex-button.cjs.entry.js +1 -1
- package/dist/cjs/vertex-click-to-edit-textfield.cjs.entry.js +1 -1
- package/dist/cjs/vertex-dialog.cjs.entry.js +1 -1
- package/dist/cjs/vertex-draggable-popover.cjs.entry.js +1 -1
- package/dist/cjs/vertex-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/vertex-icon.cjs.entry.js +2 -2
- package/dist/cjs/vertex-menu.cjs.entry.js +1 -1
- package/dist/cjs/vertex-slider.cjs.entry.js +1 -1
- package/dist/cjs/vertex-textfield.cjs.entry.js +1 -1
- package/dist/collection/components/auto-resize-textarea/auto-resize-textarea.js +20 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/click-to-edit-text-field/click-to-edit-text-field.js +71 -19
- package/dist/collection/components/dialog/dialog.css +41 -4
- package/dist/collection/components/dialog/dialog.js +198 -9
- package/dist/collection/components/dialog/lib.js +11 -0
- package/dist/collection/components/draggable-popover/draggable-popover.js +29 -2
- package/dist/collection/components/icon/icon-helper.js +16 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/icons/copy.js +4 -0
- package/dist/collection/components/icon/icons/person-height.js +8 -0
- package/dist/collection/components/icon/icons/person-short.js +7 -0
- package/dist/collection/components/icon/icons/person-tall.js +7 -0
- package/dist/collection/components/icon/icons/resize.js +4 -0
- package/dist/collection/components/icon/names.js +6 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/menu/menu.js +25 -2
- package/dist/collection/components/slider/slider.css +4 -0
- package/dist/collection/components/slider/slider.js +31 -2
- package/dist/collection/components/text-field/text-field.js +9 -6
- package/dist/components/components.css +2 -2
- package/dist/components/components.esm.js +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/p-0eb7d4e9.entry.js +1 -0
- package/dist/components/p-1a1da717.entry.js +1 -0
- package/dist/components/p-1b63230c.entry.js +1 -0
- package/dist/components/p-26c6bbf9.entry.js +1 -0
- package/dist/components/p-29560970.entry.js +1 -0
- package/dist/components/p-3901ec7d.entry.js +1 -0
- package/dist/components/p-4368365a.js +1 -0
- package/dist/components/p-47f8aafa.entry.js +1 -0
- package/dist/components/p-5975db76.js +1 -0
- package/dist/components/p-5d62f228.js +1 -0
- package/dist/components/p-6b96fe2a.js +1 -0
- package/dist/components/p-7b7c6497.entry.js +1 -0
- package/dist/components/p-89bd5979.js +1 -0
- package/dist/components/p-9466d802.js +1 -0
- package/dist/components/{p-6a11d796.js → p-9f677653.js} +1 -1
- package/dist/components/p-ac4aa8c9.entry.js +1 -0
- package/dist/components/p-dfb8cb01.js +1 -0
- package/dist/components/p-ed9a94eb.entry.js +1 -0
- package/dist/components/{p-b67c3288.js → p-edfda215.js} +1 -1
- package/dist/components/p-f6b97124.js +1 -0
- package/dist/components/p-f849e922.js +1 -0
- package/dist/esm/{auto-resize-textarea-b8418d63.js → auto-resize-textarea-47b16cd4.js} +2 -0
- package/dist/esm/{button-5b943b11.js → button-c52f2818.js} +1 -1
- package/dist/esm/{click-to-edit-text-field-c01e3b17.js → click-to-edit-text-field-7dfdc10e.js} +12 -9
- package/dist/esm/components.js +1 -1
- package/dist/esm/dialog-648d3e66.js +223 -0
- package/dist/esm/{draggable-popover-781f6fa8.js → draggable-popover-ec6cac5d.js} +7 -2
- package/dist/esm/{icon-a6deb06e.js → icon-a399bb3c.js} +1 -1
- package/dist/esm/{icon-button-4ac42591.js → icon-button-178c5829.js} +1 -1
- package/dist/esm/{icon-helper-db3f4c0b.js → icon-helper-34e506df.js} +35 -0
- package/dist/esm/index.js +11 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{menu-487c058a.js → menu-917c288c.js} +6 -1
- package/dist/esm/slider-6c131b54.js +51 -0
- package/dist/esm/{text-field-c65fe776.js → text-field-483c2bd6.js} +5 -2
- package/dist/esm/vertex-auto-resize-textarea.entry.js +1 -1
- package/dist/esm/vertex-button.entry.js +1 -1
- package/dist/esm/vertex-click-to-edit-textfield.entry.js +1 -1
- package/dist/esm/vertex-dialog.entry.js +1 -1
- package/dist/esm/vertex-draggable-popover.entry.js +1 -1
- package/dist/esm/vertex-icon-button.entry.js +2 -2
- package/dist/esm/vertex-icon.entry.js +2 -2
- package/dist/esm/vertex-menu.entry.js +1 -1
- package/dist/esm/vertex-slider.entry.js +1 -1
- package/dist/esm/vertex-textfield.entry.js +1 -1
- package/dist/types/components/auto-resize-textarea/auto-resize-textarea.d.ts +4 -0
- package/dist/types/components/click-to-edit-text-field/click-to-edit-text-field.d.ts +17 -1
- package/dist/types/components/dialog/dialog.d.ts +35 -1
- package/dist/types/components/dialog/lib.d.ts +3 -0
- package/dist/types/components/draggable-popover/draggable-popover.d.ts +6 -1
- package/dist/types/components/icon/icons/copy.d.ts +3 -0
- package/dist/types/components/icon/icons/person-height.d.ts +3 -0
- package/dist/types/components/icon/icons/person-short.d.ts +3 -0
- package/dist/types/components/icon/icons/person-tall.d.ts +3 -0
- package/dist/types/components/icon/icons/resize.d.ts +3 -0
- package/dist/types/components/icon/names.d.ts +5 -0
- package/dist/types/components/menu/menu.d.ts +5 -0
- package/dist/types/components/slider/slider.d.ts +7 -0
- package/dist/types/components/text-field/text-field.d.ts +2 -2
- package/dist/types/components.d.ts +67 -7
- package/package.json +2 -2
- package/dist/cjs/dialog-f1220dc7.js +0 -58
- package/dist/cjs/slider-b24243c2.js +0 -47
- package/dist/collection/components/click-to-edit-text-field/click-to-edit-text-field.css +0 -46
- package/dist/components/p-0b7d4efe.js +0 -1
- package/dist/components/p-0ef68876.entry.js +0 -1
- package/dist/components/p-3687b96f.js +0 -1
- package/dist/components/p-381506d7.entry.js +0 -1
- package/dist/components/p-440602aa.entry.js +0 -1
- package/dist/components/p-553d407b.entry.js +0 -1
- package/dist/components/p-6dc86d50.js +0 -1
- package/dist/components/p-727a92c7.entry.js +0 -1
- package/dist/components/p-7e68a406.entry.js +0 -1
- package/dist/components/p-8292d068.js +0 -1
- package/dist/components/p-8a8d22b1.js +0 -1
- package/dist/components/p-9c0117a2.js +0 -1
- package/dist/components/p-ab966e6d.js +0 -1
- package/dist/components/p-c44cdec7.entry.js +0 -1
- package/dist/components/p-cd34d5e9.entry.js +0 -1
- package/dist/components/p-ce7c334d.js +0 -1
- package/dist/components/p-d193a28e.entry.js +0 -1
- package/dist/components/p-d427d97b.entry.js +0 -1
- package/dist/components/p-e096fed3.js +0 -1
- package/dist/esm/dialog-ad664c27.js +0 -56
- package/dist/esm/slider-f3e64050.js +0 -45
package/README.md
CHANGED
|
@@ -45,7 +45,9 @@ const AutoResizeTextArea = class {
|
|
|
45
45
|
}
|
|
46
46
|
componentDidLoad() {
|
|
47
47
|
this.slottedElement = this.getSlottedTextareaElement();
|
|
48
|
+
this.textValue = this.initialValue;
|
|
48
49
|
this.prepareHiddenTextElement();
|
|
50
|
+
this.computeRowHeights();
|
|
49
51
|
if (this.slottedElement != null) {
|
|
50
52
|
this.resizeObserver.observe(this.slottedElement);
|
|
51
53
|
this.addEventListener();
|
|
@@ -70,7 +70,7 @@ const Button = class {
|
|
|
70
70
|
if (this.href != null && this.type != null) {
|
|
71
71
|
console.warn('The type attribute is ignored when href is provided');
|
|
72
72
|
}
|
|
73
|
-
return (index.h(index.Host,
|
|
73
|
+
return (index.h(index.Host, { style: { pointerEvents: this.disabled ? 'none' : undefined } }, this.href != null && this.href !== '' ? (index.h("a", { href: this.href, target: this.target, class: classes, tabIndex: this.disabled ? -1 : 0 }, index.h("slot", null))) : (index.h("button", { class: classes, disabled: this.disabled, type: this.type, onClick: (event) => this.handleClick(event) }, index.h("slot", { name: "left" }), index.h("slot", null)))));
|
|
74
74
|
}
|
|
75
75
|
handleClick(event) {
|
|
76
76
|
if (this.fakeButton != null) {
|
package/dist/cjs/{click-to-edit-text-field-7a863cd6.js → click-to-edit-text-field-1c9f2920.js}
RENAMED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
const index = require('./index-4281b6d5.js');
|
|
4
4
|
const index$1 = require('./index-b9715722.js');
|
|
5
5
|
|
|
6
|
-
const clickToEditTextFieldCss = ".root.sc-vertex-click-to-edit-textfield{display:flex;flex-direction:row;width:100%}.text.sc-vertex-click-to-edit-textfield{display:flex\n width: 100%;flex-shrink:1;flex-grow:1}.visibility.sc-vertex-click-to-edit-textfield{display:none}.root.sc-vertex-click-to-edit-textfield:not(.disabled):hover .visibility.sc-vertex-click-to-edit-textfield{display:block}.icon-wrapper.sc-vertex-click-to-edit-textfield{display:flex;align-items:center;flex-shrink:0;height:100%\n vertical-align: middle;margin-left:5px}.hover-icon slot.sc-vertex-click-to-edit-textfield-s>*{height:1rem;width:1rem;padding-left:0.5rem}.button.sc-vertex-click-to-edit-textfield{border-radius:4px;background-color:var(--neutral-200);color:var(--green-700)}.button.sc-vertex-click-to-edit-textfield:hover{background-color:var(--neutral-300);color:var(--green-800)}";
|
|
7
|
-
|
|
8
6
|
const ClickToEditTextField = class {
|
|
9
7
|
constructor(hostRef) {
|
|
10
8
|
index.registerInstance(this, hostRef);
|
|
@@ -16,9 +14,15 @@ const ClickToEditTextField = class {
|
|
|
16
14
|
var _a;
|
|
17
15
|
/**
|
|
18
16
|
* The size of the text.
|
|
19
|
-
* Can be "standard," "sm," "md," or "
|
|
17
|
+
* Can be "standard," "sm," "md," "lg," "xl," or "2xl" and defaults to "standard".
|
|
20
18
|
*/
|
|
21
19
|
this.fontSize = 'standard';
|
|
20
|
+
/**
|
|
21
|
+
* Whether this input should be displayed as a multiline input.
|
|
22
|
+
* Rows will have no minimum or maximum by default unless `min-rows`
|
|
23
|
+
* or `max-rows` are set.
|
|
24
|
+
*/
|
|
25
|
+
this.multiline = false;
|
|
22
26
|
/**
|
|
23
27
|
* Value for text input.
|
|
24
28
|
*/
|
|
@@ -29,7 +33,7 @@ const ClickToEditTextField = class {
|
|
|
29
33
|
this.editing = false;
|
|
30
34
|
this.handleKeyDown = (ev) => {
|
|
31
35
|
var _a, _b;
|
|
32
|
-
if (ev.detail.key === 'Enter') {
|
|
36
|
+
if (ev.detail.key === 'Enter' && !this.multiline) {
|
|
33
37
|
(_a = this.textFieldRef) === null || _a === void 0 ? void 0 : _a.blurInput();
|
|
34
38
|
}
|
|
35
39
|
if (ev.detail.key === 'Escape') {
|
|
@@ -61,16 +65,16 @@ const ClickToEditTextField = class {
|
|
|
61
65
|
this.defaultValue = (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString();
|
|
62
66
|
}
|
|
63
67
|
render() {
|
|
64
|
-
return (index.h("div", { class: "
|
|
68
|
+
return (index.h("div", { class: "click-to-edit" }, index.h("div", { class: "click-to-edit-text" }, index.h("vertex-textfield", { ref: (element) => {
|
|
65
69
|
this.textFieldRef = element;
|
|
66
|
-
}, onInputBlur: this.handleInputBlur, onInputFocus: this.handleInputFocus, onInputInput: this.handleInputInput, onInputChange: this.handleInputChange, disabled: this.disabled, fontSize: this.fontSize, autoFocus: this.autoFocus, placeholder: this.placeholder, type: "text", value: this.value, variant: "blank", onTextFieldKeyDown: this.handleKeyDown, "data-testid": "click-to-edit-text-field", hasError: this.hasError })), this.renderIcon()));
|
|
70
|
+
}, onInputBlur: this.handleInputBlur, onInputFocus: this.handleInputFocus, onInputInput: this.handleInputInput, onInputChange: this.handleInputChange, disabled: this.disabled, fontSize: this.fontSize, autoFocus: this.autoFocus, placeholder: this.placeholder, multiline: this.multiline, minRows: this.minRows, maxRows: this.maxRows, type: "text", value: this.value, variant: "blank", onTextFieldKeyDown: this.handleKeyDown, "data-testid": "click-to-edit-text-field", hasError: this.hasError })), this.renderIcon()));
|
|
67
71
|
}
|
|
68
72
|
renderIcon() {
|
|
69
73
|
if (this.editing) {
|
|
70
|
-
return (index.h("div", { class: "icon-wrapper" }, index.h("slot", { name: "edit-icon" }, index.h("div", { class: "button" }, index.h("vertex-icon-button", { iconSize: "sm", iconName: "check" })))));
|
|
74
|
+
return (index.h("div", { class: "click-to-edit-icon-wrapper" }, index.h("slot", { name: "edit-icon" }, index.h("div", { class: "click-to-edit-button" }, index.h("vertex-icon-button", { iconSize: "sm", iconName: "check" })))));
|
|
71
75
|
}
|
|
72
76
|
else if (!this.disabled) {
|
|
73
|
-
return (index.h("div", { class: "icon-wrapper" }, index.h("slot", { name: "
|
|
77
|
+
return (index.h("div", { class: "click-to-edit-icon-wrapper" }, index.h("slot", { name: "pencil-icon" }, index.h("vertex-icon", { size: "sm", name: "pencil", class: index$1.classnames('icon-visibility', 'hover-icon') }))));
|
|
74
78
|
}
|
|
75
79
|
else {
|
|
76
80
|
return index.h("div", null);
|
|
@@ -106,6 +110,5 @@ const ClickToEditTextField = class {
|
|
|
106
110
|
"value": ["handleValueChanged"]
|
|
107
111
|
}; }
|
|
108
112
|
};
|
|
109
|
-
ClickToEditTextField.style = clickToEditTextFieldCss;
|
|
110
113
|
|
|
111
114
|
exports.ClickToEditTextField = ClickToEditTextField;
|
|
@@ -65,5 +65,5 @@ const patchDynamicImport = (base, orgScriptElm) => {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
patchBrowser().then(options => {
|
|
68
|
-
return index.bootstrapLazy([["vertex-click-to-edit-textfield.cjs",[[6,"vertex-click-to-edit-textfield",{"placeholder":[1],"fontSize":[1,"font-size"],"disabled":[516],"value":[1032],"autoFocus":[4,"auto-focus"],"editing":[1540],"hasError":[4,"has-error"]}]]],["vertex-collapsible.cjs",[[1,"vertex-collapsible",{"label":[1],"open":[1540]}]]],["vertex-context-menu.cjs",[[1,"vertex-context-menu",{"targetSelector":[1,"target-selector"],"animated":[4],"position":[32],"open":[32]}]]],["vertex-draggable-popover.cjs",[[1,"vertex-draggable-popover",{"position":[1],"boundarySelector":[1,"boundary-selector"],"boundaryPadding":[2,"boundary-padding"],"anchorPosition":[32],"lastPosition":[32],"dragging":[32]}]]],["vertex-dropdown-menu.cjs",[[1,"vertex-dropdown-menu",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-help-tooltip.cjs",[[1,"vertex-help-tooltip",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-search-bar.cjs",[[6,"vertex-search-bar",{"variant":[1],"resultItems":[16],"triggerCharacters":[16],"triggerCharacter":[1,"trigger-character"],"breakCharacters":[16],"debounce":[2],"placeholder":[1],"placement":[1],"cursorPosition":[32],"open":[32],"triggerKey":[32],"triggerRange":[32],"replaceTriggeredValue":[64],"getEditableContent":[64]}]]],["vertex-select.cjs",[[1,"vertex-select",{"value":[513],"placeholder":[513],"disabled":[516],"animated":[4],"resizeObserverFactory":[16],"open":[32],"position":[32],"displayValue":[32]}]]],["vertex-toast.cjs",[[1,"vertex-toast",{"content":[1],"placement":[1],"duration":[2],"animated":[4],"open":[4],"type":[1],"isOpen":[32]}]]],["vertex-color-circle-picker.cjs",[[1,"vertex-color-circle-picker",{"colors":[1],"supplementalColors":[1,"supplemental-colors"],"theme":[513],"lightenPercentage":[2,"lighten-percentage"],"darkenPercentage":[2,"darken-percentage"],"selected":[1537],"direction":[1]}]]],["vertex-color-picker.cjs",[[1,"vertex-color-picker",{"value":[1537],"disabled":[4]}]]],["vertex-
|
|
68
|
+
return index.bootstrapLazy([["vertex-click-to-edit-textfield.cjs",[[6,"vertex-click-to-edit-textfield",{"placeholder":[1],"fontSize":[1,"font-size"],"disabled":[516],"multiline":[4],"minRows":[2,"min-rows"],"maxRows":[2,"max-rows"],"value":[1032],"autoFocus":[4,"auto-focus"],"editing":[1540],"hasError":[4,"has-error"]}]]],["vertex-collapsible.cjs",[[1,"vertex-collapsible",{"label":[1],"open":[1540]}]]],["vertex-context-menu.cjs",[[1,"vertex-context-menu",{"targetSelector":[1,"target-selector"],"animated":[4],"position":[32],"open":[32]}]]],["vertex-dialog.cjs",[[1,"vertex-dialog",{"open":[1540],"fullscreen":[4],"resizable":[4],"width":[32],"height":[32],"minWidth":[32],"minHeight":[32],"maxWidth":[32],"maxHeight":[32],"isResizing":[32]},[[4,"keydown","keyDownListener"]]]]],["vertex-draggable-popover.cjs",[[1,"vertex-draggable-popover",{"position":[1],"boundarySelector":[1,"boundary-selector"],"boundaryPadding":[2,"boundary-padding"],"anchorPosition":[32],"lastPosition":[32],"dragging":[32]}]]],["vertex-dropdown-menu.cjs",[[1,"vertex-dropdown-menu",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-help-tooltip.cjs",[[1,"vertex-help-tooltip",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-search-bar.cjs",[[6,"vertex-search-bar",{"variant":[1],"resultItems":[16],"triggerCharacters":[16],"triggerCharacter":[1,"trigger-character"],"breakCharacters":[16],"debounce":[2],"placeholder":[1],"placement":[1],"cursorPosition":[32],"open":[32],"triggerKey":[32],"triggerRange":[32],"replaceTriggeredValue":[64],"getEditableContent":[64]}]]],["vertex-select.cjs",[[1,"vertex-select",{"value":[513],"placeholder":[513],"disabled":[516],"animated":[4],"resizeObserverFactory":[16],"open":[32],"position":[32],"displayValue":[32]}]]],["vertex-slider.cjs",[[1,"vertex-slider",{"min":[2],"max":[2],"valueLabelDisplay":[1,"value-label-display"],"step":[8],"value":[1026],"disabled":[4]}]]],["vertex-toast.cjs",[[1,"vertex-toast",{"content":[1],"placement":[1],"duration":[2],"animated":[4],"open":[4],"type":[1],"isOpen":[32]}]]],["vertex-color-circle-picker.cjs",[[1,"vertex-color-circle-picker",{"colors":[1],"supplementalColors":[1,"supplemental-colors"],"theme":[513],"lightenPercentage":[2,"lighten-percentage"],"darkenPercentage":[2,"darken-percentage"],"selected":[1537],"direction":[1]}]]],["vertex-color-picker.cjs",[[1,"vertex-color-picker",{"value":[1537],"disabled":[4]}]]],["vertex-toggle.cjs",[[1,"vertex-toggle",{"variant":[1],"disabled":[4],"checked":[1540]}]]],["vertex-avatar.cjs",[[1,"vertex-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"value":[1],"active":[4],"variant":[1]}]]],["vertex-avatar-group.cjs",[[1,"vertex-avatar-group"]]],["vertex-button.cjs",[[1,"vertex-button",{"type":[1],"color":[1],"variant":[1],"size":[1],"expand":[1],"href":[1],"target":[1],"disabled":[516]}]]],["vertex-card.cjs",[[1,"vertex-card",{"mode":[1]}]]],["vertex-card-group.cjs",[[1,"vertex-card-group",{"selected":[516],"expanded":[516]}]]],["vertex-chip.cjs",[[1,"vertex-chip",{"variant":[1],"color":[1]}]]],["vertex-logo-loading.cjs",[[1,"vertex-logo-loading"]]],["vertex-menu-divider.cjs",[[1,"vertex-menu-divider"]]],["vertex-menu-item.cjs",[[1,"vertex-menu-item",{"disabled":[516]}]]],["vertex-radio.cjs",[[2,"vertex-radio",{"disabled":[516],"value":[513],"label":[513],"name":[513],"checked":[516]}]]],["vertex-radio-group.cjs",[[1,"vertex-radio-group",{"name":[513],"value":[1537]}]]],["vertex-resizable.cjs",[[1,"vertex-resizable",{"horizontalDirection":[1,"horizontal-direction"],"verticalDirection":[1,"vertical-direction"],"initialHorizontalScale":[2,"initial-horizontal-scale"],"initialVerticalScale":[2,"initial-vertical-scale"],"initializeWithOffset":[4,"initialize-with-offset"],"parentSelector":[1,"parent-selector"],"verticalSiblingSelector":[1,"vertical-sibling-selector"],"horizontalSiblingSelector":[1,"horizontal-sibling-selector"],"contentSelector":[1,"content-selector"],"position":[1],"dimensionsComputed":[1540,"dimensions-computed"],"width":[32],"minWidth":[32],"maxWidth":[32],"height":[32],"minHeight":[32],"maxHeight":[32],"left":[32],"top":[32],"hoveredLocation":[32],"dragStartLocation":[32],"updateDimensions":[64]}]]],["vertex-spinner.cjs",[[1,"vertex-spinner",{"color":[1],"size":[1]}]]],["vertex-expandable.cjs",[[1,"vertex-expandable",{"expanded":[1540],"expanding":[1540],"collapsing":[1540],"controlled":[516],"expandType":[513,"expand-type"],"animated":[4],"contentScrollHeight":[32]}]]],["vertex-result-list.cjs",[[1,"vertex-result-list",{"items":[16],"itemsJson":[1,"items"],"viewportStartIndex":[1026,"viewport-start-index"],"viewportEndIndex":[1026,"viewport-end-index"],"resultHeight":[1026,"result-height"],"overScanCount":[2,"over-scan-count"],"placement":[1],"position":[1],"open":[4],"listHeight":[32],"parsedResults":[32],"scrollTop":[32],"lastStartIndex":[32],"lastFocusedIndex":[32],"stateMap":[32]}]]],["vertex-textfield.cjs",[[6,"vertex-textfield",{"type":[1],"name":[1],"variant":[1],"fontSize":[1,"font-size"],"multiline":[4],"minRows":[2,"min-rows"],"maxRows":[2,"max-rows"],"placeholder":[1],"autoFocus":[4,"auto-focus"],"autoComplete":[1,"auto-complete"],"autoCorrect":[1,"auto-correct"],"value":[1032],"disabled":[516],"hasError":[4,"has-error"],"updateInput":[64],"blurInput":[64],"getInputValue":[64],"selectAll":[64]}]]],["vertex-tooltip.cjs",[[1,"vertex-tooltip",{"content":[1],"disabled":[4],"placement":[1],"delay":[2],"animated":[4],"open":[32]}]]],["vertex-color-circle.cjs",[[1,"vertex-color-circle",{"color":[513],"supplementalColor":[513,"supplemental-color"],"theme":[513],"lightenPercentage":[2,"lighten-percentage"],"darkenPercentage":[2,"darken-percentage"],"lightened":[1537],"darkened":[1537]}]]],["vertex-auto-resize-textarea.cjs",[[1,"vertex-auto-resize-textarea",{"textareaSelector":[1,"textarea-selector"],"initialValue":[1,"initial-value"],"minRows":[514,"min-rows"],"maxRows":[514,"max-rows"],"textValue":[32]}]]],["vertex-menu.cjs",[[1,"vertex-menu",{"animated":[4],"open":[1540],"placement":[1],"fallbackPlacements":[16],"backdrop":[4],"position":[1040]}]]],["vertex-icon-button.cjs",[[1,"vertex-icon-button",{"iconName":[1,"icon-name"],"disabled":[516],"variant":[1],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"]}]]],["vertex-icon.cjs",[[1,"vertex-icon",{"name":[1],"size":[1]}]]],["vertex-popover.cjs",[[1,"vertex-popover",{"open":[1540],"placement":[1],"position":[1025],"backdrop":[4],"animated":[4],"anchorSelector":[1,"anchor-selector"],"boundarySelector":[1,"boundary-selector"],"resizeBehavior":[1,"resize-behavior"],"overflowBehavior":[16],"flipBehavior":[16],"updateOnResize":[4,"update-on-resize"],"contentResizeObserverFactory":[16],"popperRendered":[32]}]]]], options);
|
|
69
69
|
});
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-4281b6d5.js');
|
|
4
|
+
const index$1 = require('./index-b9715722.js');
|
|
5
|
+
|
|
6
|
+
function readDOM(callback) {
|
|
7
|
+
index.readTask(callback);
|
|
8
|
+
}
|
|
9
|
+
function getBoundingClientRect(el) {
|
|
10
|
+
return el.getBoundingClientRect();
|
|
11
|
+
}
|
|
12
|
+
function getComputedStyle(el) {
|
|
13
|
+
return window.getComputedStyle(el);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const dialogCss = ":host{--backdrop-color:rgba(0,0,0,0.4);--z-index:var(--vertex-ui-dialog-layer)}.hidden>.dialog{opacity:0;width:0;height:0;visibility:hidden}.hidden{pointer-events:none;display:none}.close{margin-left:auto}.header{width:100%;display:flex;font-size:1.125rem;height:2rem;margin-bottom:1rem}.body{position:relative;width:100%;height:100%}.dialog-backdrop{position:fixed;z-index:var(--z-index);left:0;top:0;width:100%;height:100%;overflow:auto;background-color:var(--backdrop-color);padding:2rem;box-sizing:border-box}.dialog{background-color:var(--vertex-ui-white);position:absolute;align-items:center;color:var(--vertex-ui-neutral-800);font-family:var(--vertex-ui-font-family);overflow:hidden}.dialog.no-select{user-select:none}.overlay{top:50%;left:50%;transform:translate(-50%, -50%);border:1px solid var(--vertex-ui-neutral-300);border-radius:6px;min-width:var(--min-width, var(--vertex-ui-min-dialog-width));box-shadow:0 1px 2px rgba(0, 0, 0, 0.15);display:flex}.overlay.resizable{min-height:var(--min-height, var(--vertex-ui-min-dialog-height))}.fullscreen{height:100vh;width:100vw}.contents{display:flex;position:relative;flex-direction:column;padding:1.5rem;width:100%;height:100%;box-sizing:border-box}.close:hover,.close:focus{color:black;text-decoration:none;cursor:pointer}.footer{display:flex}.resize{cursor:nwse-resize;position:absolute;bottom:0.125rem;right:0.125rem}.resize-cursor{cursor:nwse-resize}";
|
|
17
|
+
|
|
18
|
+
const Dialog = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
index.registerInstance(this, hostRef);
|
|
21
|
+
this.backdropClick = index.createEvent(this, "backdropClick", 7);
|
|
22
|
+
this.closed = index.createEvent(this, "closed", 7);
|
|
23
|
+
/**
|
|
24
|
+
* Whether this dialog's content is visible.
|
|
25
|
+
*/
|
|
26
|
+
this.open = false;
|
|
27
|
+
/**
|
|
28
|
+
* Whether this dialog should be full screen
|
|
29
|
+
*/
|
|
30
|
+
this.fullscreen = false;
|
|
31
|
+
/**
|
|
32
|
+
* Whether this dialog can be resized.
|
|
33
|
+
*/
|
|
34
|
+
this.resizable = false;
|
|
35
|
+
this.isResizing = false;
|
|
36
|
+
this.handleKeyDown = (_) => {
|
|
37
|
+
if (this.open) {
|
|
38
|
+
this.open = false;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
this.handlePointerDown = (e) => {
|
|
42
|
+
this.isResizing = true;
|
|
43
|
+
readDOM(() => {
|
|
44
|
+
if (this.dialogElement != null) {
|
|
45
|
+
const boundingRect = getBoundingClientRect(this.dialogElement);
|
|
46
|
+
this.initialDialogBoundingRect = boundingRect;
|
|
47
|
+
this.lastPointerPosition = {
|
|
48
|
+
x: boundingRect.right,
|
|
49
|
+
y: boundingRect.bottom,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
window.addEventListener('pointermove', this.handlePointerMove);
|
|
54
|
+
window.addEventListener('pointerup', this.handlePointerUp);
|
|
55
|
+
};
|
|
56
|
+
this.handlePointerMove = (e) => {
|
|
57
|
+
if (this.lastPointerPosition != null &&
|
|
58
|
+
this.initialDialogBoundingRect != null &&
|
|
59
|
+
this.width != null &&
|
|
60
|
+
this.height != null) {
|
|
61
|
+
const diffX = e.clientX - this.lastPointerPosition.x;
|
|
62
|
+
const diffY = e.clientY - this.lastPointerPosition.y;
|
|
63
|
+
const expectedWidth = this.width + diffX * 2;
|
|
64
|
+
const expectedHeight = this.height + diffY * 2;
|
|
65
|
+
this.width = this.constrainDimension(expectedWidth, this.getMinWidth(), this.getMaxWidth());
|
|
66
|
+
this.height = this.constrainDimension(expectedHeight, this.getMinHeight(), this.getMaxHeight());
|
|
67
|
+
this.lastPointerPosition = {
|
|
68
|
+
x: this.constrainX(e.clientX, this.width, this.initialDialogBoundingRect),
|
|
69
|
+
y: this.constrainY(e.clientY, this.height, this.initialDialogBoundingRect),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
this.handlePointerUp = (e) => {
|
|
74
|
+
this.lastPointerPosition = undefined;
|
|
75
|
+
this.initialDialogBoundingRect = undefined;
|
|
76
|
+
this.isResizing = false;
|
|
77
|
+
window.removeEventListener('pointermove', this.handlePointerMove);
|
|
78
|
+
window.removeEventListener('pointerup', this.handlePointerUp);
|
|
79
|
+
};
|
|
80
|
+
this.constrainDimension = (value, min, max) => {
|
|
81
|
+
return Math.min(Math.max(value, min), max);
|
|
82
|
+
};
|
|
83
|
+
this.constrainX = (x, width, bounds) => {
|
|
84
|
+
if (width <= this.getMinWidth()) {
|
|
85
|
+
return bounds.right;
|
|
86
|
+
}
|
|
87
|
+
else if (width >= this.getMinHeight()) {
|
|
88
|
+
return bounds.right + (width - bounds.width) / 2;
|
|
89
|
+
}
|
|
90
|
+
return x;
|
|
91
|
+
};
|
|
92
|
+
this.constrainY = (y, height, bounds) => {
|
|
93
|
+
if (height <= this.getMinHeight()) {
|
|
94
|
+
return bounds.bottom;
|
|
95
|
+
}
|
|
96
|
+
else if (height >= this.getMaxHeight()) {
|
|
97
|
+
return bounds.bottom + (height - bounds.height) / 2;
|
|
98
|
+
}
|
|
99
|
+
return y;
|
|
100
|
+
};
|
|
101
|
+
this.getMaxWidth = () => {
|
|
102
|
+
var _a;
|
|
103
|
+
return (_a = this.maxWidth) !== null && _a !== void 0 ? _a : Number.POSITIVE_INFINITY;
|
|
104
|
+
};
|
|
105
|
+
this.getMaxHeight = () => {
|
|
106
|
+
var _a;
|
|
107
|
+
return (_a = this.maxHeight) !== null && _a !== void 0 ? _a : Number.POSITIVE_INFINITY;
|
|
108
|
+
};
|
|
109
|
+
this.getMinWidth = () => {
|
|
110
|
+
var _a;
|
|
111
|
+
return (_a = this.minWidth) !== null && _a !== void 0 ? _a : Number.NEGATIVE_INFINITY;
|
|
112
|
+
};
|
|
113
|
+
this.getMinHeight = () => {
|
|
114
|
+
var _a;
|
|
115
|
+
return (_a = this.minHeight) !== null && _a !== void 0 ? _a : Number.NEGATIVE_INFINITY;
|
|
116
|
+
};
|
|
117
|
+
this.resize = () => {
|
|
118
|
+
readDOM(() => {
|
|
119
|
+
if (this.backdropElement != null) {
|
|
120
|
+
const styles = getComputedStyle(this.backdropElement);
|
|
121
|
+
const boundaryPadding = parseFloat(styles.padding);
|
|
122
|
+
this.boundaryPadding = isNaN(boundaryPadding) ? 0 : boundaryPadding;
|
|
123
|
+
this.maxHeight = window.innerHeight - this.boundaryPadding * 2;
|
|
124
|
+
this.maxWidth = window.innerWidth - this.boundaryPadding * 2;
|
|
125
|
+
this.width =
|
|
126
|
+
this.width != null ? Math.min(this.maxWidth, this.width) : undefined;
|
|
127
|
+
this.height =
|
|
128
|
+
this.height != null
|
|
129
|
+
? Math.min(this.maxHeight, this.height)
|
|
130
|
+
: undefined;
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
135
|
+
this.mutationObserver = new MutationObserver(this.resize);
|
|
136
|
+
this.resizeObserver = new ResizeObserver(this.resize);
|
|
137
|
+
}
|
|
138
|
+
componentDidLoad() {
|
|
139
|
+
window.addEventListener('resize', this.resize);
|
|
140
|
+
this.mutationObserver.observe(this.hostEl, {
|
|
141
|
+
attributes: true,
|
|
142
|
+
attributeFilter: ['style'],
|
|
143
|
+
});
|
|
144
|
+
this.resizeObserver.observe(this.hostEl);
|
|
145
|
+
}
|
|
146
|
+
componentWillRender() {
|
|
147
|
+
if (this.open && this.width == null && this.height == null) {
|
|
148
|
+
readDOM(() => {
|
|
149
|
+
if (this.dialogElement != null) {
|
|
150
|
+
const boundingRect = getBoundingClientRect(this.dialogElement);
|
|
151
|
+
this.minWidth = boundingRect.width;
|
|
152
|
+
this.minHeight = boundingRect.height;
|
|
153
|
+
this.width = this.minWidth;
|
|
154
|
+
this.height = this.minHeight;
|
|
155
|
+
this.resize();
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
disconnectedCallback() {
|
|
161
|
+
this.width = undefined;
|
|
162
|
+
this.height = undefined;
|
|
163
|
+
this.lastPointerPosition = undefined;
|
|
164
|
+
this.isResizing = false;
|
|
165
|
+
}
|
|
166
|
+
clearComputedValues() {
|
|
167
|
+
this.width = undefined;
|
|
168
|
+
this.height = undefined;
|
|
169
|
+
this.minWidth = undefined;
|
|
170
|
+
this.minHeight = undefined;
|
|
171
|
+
this.maxWidth = undefined;
|
|
172
|
+
this.maxHeight = undefined;
|
|
173
|
+
}
|
|
174
|
+
updateOpened(open) {
|
|
175
|
+
if (!open) {
|
|
176
|
+
this.closed.emit();
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
keyDownListener(ev) {
|
|
180
|
+
if (this.open && ev.key === 'Escape') {
|
|
181
|
+
this.open = false;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
render() {
|
|
185
|
+
var _a, _b;
|
|
186
|
+
const width = this.width != null || this.minWidth != null
|
|
187
|
+
? `${(_a = this.width) !== null && _a !== void 0 ? _a : this.minWidth}px`
|
|
188
|
+
: undefined;
|
|
189
|
+
const height = this.height != null || this.minHeight != null
|
|
190
|
+
? `${(_b = this.height) !== null && _b !== void 0 ? _b : this.minHeight}px`
|
|
191
|
+
: undefined;
|
|
192
|
+
return (index.h("div", { ref: (el) => {
|
|
193
|
+
this.backdropElement = el;
|
|
194
|
+
}, onPointerDown: () => {
|
|
195
|
+
this.backdropClick.emit();
|
|
196
|
+
}, class: index$1.classnames('dialog-backdrop', {
|
|
197
|
+
hidden: !this.open,
|
|
198
|
+
'resize-cursor': this.isResizing,
|
|
199
|
+
}) }, index.h("div", { ref: (el) => {
|
|
200
|
+
this.dialogElement = el;
|
|
201
|
+
}, class: index$1.classnames('dialog', {
|
|
202
|
+
resizable: this.resizable,
|
|
203
|
+
fullscreen: this.fullscreen,
|
|
204
|
+
overlay: !this.fullscreen,
|
|
205
|
+
'no-select': this.lastPointerPosition != null,
|
|
206
|
+
}), onPointerDown: (e) => {
|
|
207
|
+
e.stopPropagation();
|
|
208
|
+
}, style: this.resizable && !this.fullscreen
|
|
209
|
+
? {
|
|
210
|
+
width,
|
|
211
|
+
height,
|
|
212
|
+
}
|
|
213
|
+
: undefined }, index.h("div", { class: "contents" }, index.h("slot", { name: "header" }, index.h("div", { class: "header" }, index.h("slot", { name: "heading" }), index.h("div", { class: "close" }, index.h("slot", { name: "close-dialog" }, index.h("vertex-icon-button", { onPointerDown: () => {
|
|
214
|
+
this.open = false;
|
|
215
|
+
}, iconSize: "sm", iconName: "close" }))))), index.h("div", { class: "body" }, index.h("slot", null)), index.h("div", { class: "footer" }, index.h("slot", { name: "footer" }, index.h("slot", { name: "footer-actions" }))), this.resizable && !this.fullscreen && (index.h("vertex-icon", { class: "resize", onPointerDown: this.handlePointerDown, name: "resize", size: "xs" }))))));
|
|
216
|
+
}
|
|
217
|
+
get hostEl() { return index.getElement(this); }
|
|
218
|
+
static get watchers() { return {
|
|
219
|
+
"resizable": ["clearComputedValues"],
|
|
220
|
+
"open": ["updateOpened"]
|
|
221
|
+
}; }
|
|
222
|
+
};
|
|
223
|
+
Dialog.style = dialogCss;
|
|
224
|
+
|
|
225
|
+
exports.Dialog = Dialog;
|
|
@@ -8,6 +8,7 @@ const draggablePopoverCss = "button{border:none;background-color:transparent;fon
|
|
|
8
8
|
const DraggablePopover = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
index.registerInstance(this, hostRef);
|
|
11
|
+
this.positionChanged = index.createEvent(this, "positionChanged", 7);
|
|
11
12
|
this.anchorPosition = { x: 0, y: 0 };
|
|
12
13
|
this.lastPosition = { x: 0, y: 0 };
|
|
13
14
|
this.dragging = false;
|
|
@@ -57,6 +58,9 @@ const DraggablePopover = class {
|
|
|
57
58
|
this.lastPosition = this.anchorPosition;
|
|
58
59
|
}
|
|
59
60
|
}
|
|
61
|
+
lastPositionChanged() {
|
|
62
|
+
this.positionChanged.emit(this.anchorPosition);
|
|
63
|
+
}
|
|
60
64
|
render() {
|
|
61
65
|
return (index.h("vertex-popover", { position: this.anchorPosition, boundarySelector: this.boundarySelector, backdrop: false, open: true, resizeBehavior: "fixed", updateOnResize: !this.dragging, overflowBehavior: {
|
|
62
66
|
options: {
|
|
@@ -72,7 +76,8 @@ const DraggablePopover = class {
|
|
|
72
76
|
} }, index.h("div", { ref: (el) => (this.containerEl = el), class: index$1.classnames('container', { dragging: this.dragging }) }, index.h("div", { class: "icon-container" }, index.h("div", { class: "icon", onPointerDown: this.handlePointerDown }, index.h("slot", { name: "drag-icon" }, index.h("vertex-icon", { size: "sm", name: "drag-indicator" })))), index.h("slot", null))));
|
|
73
77
|
}
|
|
74
78
|
static get watchers() { return {
|
|
75
|
-
"position": ["updatePosition"]
|
|
79
|
+
"position": ["updatePosition"],
|
|
80
|
+
"lastPosition": ["lastPositionChanged"]
|
|
76
81
|
}; }
|
|
77
82
|
};
|
|
78
83
|
DraggablePopover.style = draggablePopoverCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-4281b6d5.js');
|
|
4
4
|
const index$1 = require('./index-b9715722.js');
|
|
5
|
-
const iconHelper = require('./icon-helper-
|
|
5
|
+
const iconHelper = require('./icon-helper-6bd9ce5e.js');
|
|
6
6
|
|
|
7
7
|
const iconCss = ".container{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon{display:flex;justify-content:center;align-items:center;fill:currentColor}.xs{height:var(--icon-size, 0.75rem);width:var(--icon-size, 0.75rem)}.sm{height:var(--icon-size, 1rem);width:var(--icon-size, 1rem)}.md{height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.lg{height:var(--icon-size, 2rem);width:var(--icon-size, 2rem)}svg{position:relative;width:100%}";
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-4281b6d5.js');
|
|
4
|
-
const iconHelper = require('./icon-helper-
|
|
4
|
+
const iconHelper = require('./icon-helper-6bd9ce5e.js');
|
|
5
5
|
const index$1 = require('./index-b9715722.js');
|
|
6
6
|
|
|
7
7
|
const iconButtonCss = "button{border:none;background-color:transparent;font-family:var(--vertex-ui-font-family);font-size:0.875rem;padding:0}:host{--hover-background-color:var(--vertex-ui-neutral-300);--active-background-color:var(--vertex-ui-neutral-400);--focus-background-color:var(--vertex-ui-neutral-400);--hover-box-shadow:0 2px 2px rgb(0 0 0 / 20%);--active-box-shadow:none;--focus-box-shadow:0 0 0 1px var(--vertex-ui-neutral-900)}.container{display:flex;justify-content:center;align-items:center;outline:none;fill:currentColor;color:currentColor;cursor:pointer}.container:not(.plain){border-radius:4px;padding:0.25rem}.icon-button{display:flex;justify-content:center;align-items:center;fill:currentColor;height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.icon-button svg{width:100%;height:100%}.floating{background-color:var(--vertex-ui-neutral-100);box-shadow:var(--vertex-ui-overlay-shadow);color:var(--vertex-ui-neutral-700);fill:var(--vertex-ui-neutral-700);opacity:0.95}.floating.disabled{color:var(--vertex-ui-neutral-400);cursor:not-allowed}.container:not(.disabled):not(.plain):hover{background-color:var(--hover-background-color);box-shadow:var(--hover-box-shadow)}.container:not(.disabled):not(.plain):active{background-color:var(--active-background-color);box-shadow:var(--active-box-shadow)}.container:not(.disabled):not(.plain):focus-visible{background-color:var(--focus-background-color);box-shadow:var(--focus-box-shadow);color:var(--vertex-ui-neutral-900)}.container.disabled:not(.floating){cursor:not-allowed;color:var(--vertex-ui-neutral-400)}.container.primary:not(.disabled){color:var(--vertex-ui-blue-700)}.container.secondary:not(.disabled){color:var(--vertex-ui-neutral-800)}.xs{height:var(--icon-size, 0.75rem);width:var(--icon-size, 0.75rem)}.sm{height:var(--icon-size, 1rem);width:var(--icon-size, 1rem)}.md{height:var(--icon-size, 1.5rem);width:var(--icon-size, 1.5rem)}.lg{height:var(--icon-size, 2rem);width:var(--icon-size, 2rem)}";
|
|
@@ -114,6 +114,9 @@ const CommentResolve = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/sv
|
|
|
114
114
|
const CommentShow = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "comment-show" },
|
|
115
115
|
index.h("path", { d: "M11.5,8h-7a.5.5,0,0,0,0,1h7a.5.5,0,0,0,0-1Zm0-3h-7a.5.5,0,0,0,0,1h7a.5.5,0,0,0,0-1Zm2-3H2.5A1.5,1.5,0,0,0,1,3.5v7A1.5,1.5,0,0,0,2.5,12H8.29l2.86,2.85a.47.47,0,0,0,.54.11A.5.5,0,0,0,12,14.5V12h1.5A1.5,1.5,0,0,0,15,10.5v-7A1.5,1.5,0,0,0,13.5,2Zm.5,8.5a.5.5,0,0,1-.5.5h-2a.51.51,0,0,0-.5.5v1.79L8.85,11.15A.47.47,0,0,0,8.5,11h-6a.5.5,0,0,1-.5-.5v-7A.5.5,0,0,1,2.5,3h11a.5.5,0,0,1,.5.5Z" })));
|
|
116
116
|
|
|
117
|
+
const Copy = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "copy" },
|
|
118
|
+
index.h("path", { d: "M13.51,1h-8A1.51,1.51,0,0,0,4,2.52V4H2.51A1.5,1.5,0,0,0,1,5.5v8A1.5,1.5,0,0,0,2.51,15h8A1.5,1.5,0,0,0,12,13.5V12h1.51a1.5,1.5,0,0,0,1.5-1.5v-8A1.5,1.5,0,0,0,13.51,1ZM11,13.5a.5.5,0,0,1-.5.5h-8a.5.5,0,0,1-.5-.5v-8a.5.5,0,0,1,.5-.5h8a.5.5,0,0,1,.5.5Zm3-3a.51.51,0,0,1-.5.5H12V5.5A1.5,1.5,0,0,0,10.5,4H5V2.52a.51.51,0,0,1,.5-.5h8a.51.51,0,0,1,.5.5Z" })));
|
|
119
|
+
|
|
117
120
|
const CrossSection = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "cross-section" },
|
|
118
121
|
index.h("path", { d: "M4.5,13a.51.51,0,1,0,.35.15A.47.47,0,0,0,4.5,13ZM4.35,4.35a.49.49,0,0,0-.7-.7h0a.5.5,0,0,0,.71.71ZM4.5,5a.5.5,0,0,0-.35.85.5.5,0,1,0,.7-.7A.47.47,0,0,0,4.5,5ZM5.85,2.15a.48.48,0,0,0-.7,0,.48.48,0,0,0,0,.7A.5.5,0,0,0,6,2.5.47.47,0,0,0,5.85,2.15ZM9.67,2,10,1.67A.52.52,0,0,0,10.5,2a.5.5,0,0,0,.5-.5V.5a.41.41,0,0,0,0-.19A.51.51,0,0,0,10.69,0a.5.5,0,0,0-.38,0,.36.36,0,0,0-.16.11h0L8,2.34A.5.5,0,1,0,7.33,3L6.15,4.15A.47.47,0,0,0,6,4.5v11H6a.41.41,0,0,0,0,.19.51.51,0,0,0,.27.27.41.41,0,0,0,.19,0h0a.41.41,0,0,0,.19,0,.36.36,0,0,0,.16-.11l2-2a.5.5,0,1,0-.71-.71L7,14.29V4.71l2-2A.5.5,0,1,0,9.67,2ZM2.5,5a.47.47,0,0,0-.35.15.48.48,0,0,0,0,.7.48.48,0,0,0,.7,0A.5.5,0,0,0,2.5,5Zm0,2a.5.5,0,1,0,.5.5A.5.5,0,0,0,2.5,7ZM8.15,5.15A.48.48,0,1,0,8.5,5,.47.47,0,0,0,8.15,5.15ZM13.5,3h0a.51.51,0,0,0,.5-.5.47.47,0,0,0-.15-.35A.47.47,0,0,0,13.52,2h0a.47.47,0,0,0-.35.15.48.48,0,0,0,0,.7A.47.47,0,0,0,13.5,3ZM2.5,13a.47.47,0,0,0-.35.15.48.48,0,0,0,0,.7.48.48,0,0,0,.7,0A.5.5,0,0,0,2.5,13Zm0-4a.5.5,0,1,0,.5.5A.5.5,0,0,0,2.5,9Zm0,2a.5.5,0,1,0,.5.5A.5.5,0,0,0,2.5,11Zm11-3a.5.5,0,0,0-.5.5.49.49,0,0,0,.49.5.5.5,0,1,0,0-1Zm-3,5h0a.5.5,0,0,0,0,1h0a.5.5,0,0,0,0-1Zm3-3a.51.51,0,1,0,.35.15A.47.47,0,0,0,13.48,10Zm0-4a.5.5,0,0,0-.5.5.5.5,0,0,0,.5.5.5.5,0,0,0,0-1Zm0-2a.5.5,0,0,0-.5.5.49.49,0,0,0,.49.5.5.5,0,1,0,0-1Zm-1.87,7.65h0a.49.49,0,0,0,.7.7h0a.5.5,0,0,0-.71-.71Zm0-8h0a.48.48,0,0,0,0,.7.49.49,0,0,0,.7,0h0a.5.5,0,0,0,0-.71A.48.48,0,0,0,11.67,3.64ZM10.5,9a.5.5,0,1,0,.5.5A.5.5,0,0,0,10.5,9Zm0,2a.5.5,0,1,0,.5.5A.5.5,0,0,0,10.5,11Zm0-4a.5.5,0,1,0,.5.5A.5.5,0,0,0,10.5,7ZM12,2.5a.5.5,0,1,0-.5.5A.5.5,0,0,0,12,2.5ZM10.5,5a.5.5,0,0,0-.35.85.5.5,0,1,0,.7-.7A.47.47,0,0,0,10.5,5Z" })));
|
|
119
122
|
|
|
@@ -218,6 +221,25 @@ const PersonRun = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", v
|
|
|
218
221
|
const PersonWalk = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "person-walk" },
|
|
219
222
|
index.h("path", { d: "M9,7.71l1.15,1.14a.49.49,0,0,0,.7-.7L9,6.29ZM7.5,4A1.5,1.5,0,1,0,6,2.5,1.5,1.5,0,0,0,7.5,4Zm0-2a.5.5,0,1,1-.5.5A.5.5,0,0,1,7.5,2ZM10,11.34l-.12-.19L8,9.29v-4l-.15-.14-.06,0,0,0h0L7.56,5h0l-.22,0h0l-2,1a.51.51,0,0,0-.23.23l-1,2a.5.5,0,0,0,.9.44l.92-1.85L7,6.31V9.5a.52.52,0,0,0,.14.35l1.07,1.06h0l.85.85,1,2.89a.5.5,0,0,0,.94-.32ZM4.1,14.2a.5.5,0,0,0,.8.6l2.48-3.3-.72-.72Z" })));
|
|
220
223
|
|
|
224
|
+
const PersonHeight = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "person-height" },
|
|
225
|
+
index.h("g", { fill: "none", stroke: "currentColor" },
|
|
226
|
+
index.h("path", { "stroke-linejoin": "round", d: "M1.03 1.152h7.804ZM1.03 14.91h7.804ZM6.77 12.088l-1.526 1.525ZM3.671 12.075 5.196 13.6Z" }),
|
|
227
|
+
index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "m12.072 11.029-1.846 3.196zM12.072 11.029l1.845 3.196zM12.072 6.266l-1.846 3.196ZM12.072 6.266l1.845 3.196Z" }),
|
|
228
|
+
index.h("ellipse", { cx: "12.049", cy: "3.094", "paint-order": "markers stroke fill", rx: "1.104", ry: "1.075" }),
|
|
229
|
+
index.h("path", { "stroke-linejoin": "round", d: "M6.77 3.957 5.243 2.432ZM3.671 3.97l1.525-1.525ZM5.222 2.987v10.14ZM12.072 10.967v-5.23Z" }))));
|
|
230
|
+
|
|
231
|
+
const PersonShort = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "person-short" },
|
|
232
|
+
index.h("g", { fill: "none", stroke: "currentColor" },
|
|
233
|
+
index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "m8.293 12.86-2.158 2.374ZM8.293 12.86l2.157 2.374zM8.293 9.325l-2.158 2.373ZM8.293 9.325l2.157 2.373Z" }),
|
|
234
|
+
index.h("path", { "stroke-linejoin": "round", d: "M8.293 12.815V8.932Z" }),
|
|
235
|
+
index.h("ellipse", { cx: "8.242", cy: "6.771", "paint-order": "markers stroke fill", rx: ".981", ry: ".956" }))));
|
|
236
|
+
|
|
237
|
+
const PersonTall = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "person-tall" },
|
|
238
|
+
index.h("g", { fill: "none", stroke: "currentColor" },
|
|
239
|
+
index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "m8.074 11.39-2.158 3.736ZM8.074 11.39l2.157 3.736zM8.074 5.82 5.916 9.559ZM8.074 5.82l2.157 3.738Z" }),
|
|
240
|
+
index.h("ellipse", { cx: "8.047", cy: "2.448", "paint-order": "markers stroke fill", rx: "1.29", ry: "1.256" }),
|
|
241
|
+
index.h("path", { "stroke-linejoin": "round", d: "M8.074 11.317V5.202Z" }))));
|
|
242
|
+
|
|
221
243
|
const PinFill = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "pin-fill" },
|
|
222
244
|
index.h("path", { d: "M8,.55A5.9,5.9,0,0,0,2.1,6.44a9.14,9.14,0,0,0,2.66,6.24,11.44,11.44,0,0,0,1.93,1.65,7.43,7.43,0,0,0,.73.44l.28.12a.78.78,0,0,0,.6,0,6.65,6.65,0,0,0,1.34-.79,11.79,11.79,0,0,0,2.76-2.88,8.59,8.59,0,0,0,1.5-4.78A5.9,5.9,0,0,0,8,.55ZM8,8.44a2,2,0,1,1,2-2A2,2,0,0,1,8,8.44Z" })));
|
|
223
245
|
|
|
@@ -289,6 +311,9 @@ const VisibilityVisible = () => (index.h("svg", { xmlns: "http://www.w3.org/2000
|
|
|
289
311
|
const Zoom = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", "data-testid": "zoom" },
|
|
290
312
|
index.h("path", { d: "M6.85,3.15a.48.48,0,0,0-.7,0l-2,2a.49.49,0,0,0,.7.7L6.5,4.21,8.15,5.85a.49.49,0,0,0,.7-.7Zm1.3,4L6.5,8.79,4.85,7.15a.49.49,0,0,0-.7.7l2,2a.48.48,0,0,0,.7,0l2-2a.49.49,0,0,0-.7-.7Zm6.7,7-4-4a.37.37,0,0,0-.2-.12,5.45,5.45,0,1,0-.62.62.37.37,0,0,0,.12.2l4,4a.49.49,0,0,0,.7-.7ZM9.71,9.71a4.51,4.51,0,0,1-6.42,0,4.51,4.51,0,0,1,0-6.42,4.51,4.51,0,0,1,6.42,0,4.51,4.51,0,0,1,0,6.42Z" })));
|
|
291
313
|
|
|
314
|
+
const Resize = () => (index.h("svg", { "data-testid": "resize", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16" },
|
|
315
|
+
index.h("path", { d: "\n M14.5,14.5\n l1-1\n a.2.2,0,0,0-.75-.75\n L13.75,13.75\n l-1,1\n a.2.2,0,0,0.75.75Z\n M14.5,10.5\n l1-1\n a.2.2,0,0,0-.75-.75\n L9.75,13.75\n l-1,1\n a.2.2,0,0,0.75.75Z\n M14.5,6.5\n l1-1\n a.2.2,0,0,0-.75-.75\n L5.75,13.75\n l-1,1\n a.2.2,0,0,0.75.75Z\n M14.5,2.5\n l1-1\n a.2.2,0,0,0-.75-.75\n L1.75,13.75\n l-1,1\n a.2.2,0,0,0.75.75Z" })));
|
|
316
|
+
|
|
292
317
|
function getSvg(name) {
|
|
293
318
|
switch (name) {
|
|
294
319
|
case 'adjustments':
|
|
@@ -363,6 +388,8 @@ function getSvg(name) {
|
|
|
363
388
|
return index.h(CommentResolve, null);
|
|
364
389
|
case 'comment-show':
|
|
365
390
|
return index.h(CommentShow, null);
|
|
391
|
+
case 'copy':
|
|
392
|
+
return index.h(Copy, null);
|
|
366
393
|
case 'cross-section':
|
|
367
394
|
return index.h(CrossSection, null);
|
|
368
395
|
case 'cube-orthographic':
|
|
@@ -421,8 +448,14 @@ function getSvg(name) {
|
|
|
421
448
|
return index.h(Pan, null);
|
|
422
449
|
case 'pencil':
|
|
423
450
|
return index.h(Pencil, null);
|
|
451
|
+
case 'person-height':
|
|
452
|
+
return index.h(PersonHeight, null);
|
|
424
453
|
case 'person-run':
|
|
425
454
|
return index.h(PersonRun, null);
|
|
455
|
+
case 'person-short':
|
|
456
|
+
return index.h(PersonShort, null);
|
|
457
|
+
case 'person-tall':
|
|
458
|
+
return index.h(PersonTall, null);
|
|
426
459
|
case 'person-walk':
|
|
427
460
|
return index.h(PersonWalk, null);
|
|
428
461
|
case 'pin-fill':
|
|
@@ -441,6 +474,8 @@ function getSvg(name) {
|
|
|
441
474
|
return index.h(Rabbit, null);
|
|
442
475
|
case 'reset':
|
|
443
476
|
return index.h(Reset, null);
|
|
477
|
+
case 'resize':
|
|
478
|
+
return index.h(Resize, null);
|
|
444
479
|
case 'rotate':
|
|
445
480
|
return index.h(Rotate, null);
|
|
446
481
|
case 'ruler':
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const autoResizeTextarea = require('./auto-resize-textarea-
|
|
5
|
+
const autoResizeTextarea = require('./auto-resize-textarea-923dfeaf.js');
|
|
6
6
|
const avatar = require('./avatar-1a0305f3.js');
|
|
7
7
|
const avatarGroup = require('./avatar-group-3e79ca71.js');
|
|
8
|
-
const button = require('./button-
|
|
8
|
+
const button = require('./button-bae89340.js');
|
|
9
9
|
const card = require('./card-2bccb1e2.js');
|
|
10
10
|
const cardGroup = require('./card-group-268041cb.js');
|
|
11
11
|
const chip = require('./chip-63de5487.js');
|
|
12
|
-
const clickToEditTextField = require('./click-to-edit-text-field-
|
|
12
|
+
const clickToEditTextField = require('./click-to-edit-text-field-1c9f2920.js');
|
|
13
13
|
const collapsible = require('./collapsible-fca4d66d.js');
|
|
14
14
|
const colorCircle = require('./color-circle-779577d6.js');
|
|
15
15
|
const colorPicker = require('./color-picker-84d0d7d7.js');
|
|
16
16
|
const colorCirclePicker = require('./color-circle-picker-56ea92c0.js');
|
|
17
17
|
const contextMenu = require('./context-menu-a86e89ca.js');
|
|
18
|
-
const dialog = require('./dialog-
|
|
19
|
-
const draggablePopover = require('./draggable-popover-
|
|
18
|
+
const dialog = require('./dialog-fb6cfed9.js');
|
|
19
|
+
const draggablePopover = require('./draggable-popover-daaccc8d.js');
|
|
20
20
|
const dropdownMenu = require('./dropdown-menu-0f605871.js');
|
|
21
21
|
const expandable = require('./expandable-724c3988.js');
|
|
22
22
|
const helpTooltip = require('./help-tooltip-3aaffd14.js');
|
|
23
|
-
const menu = require('./menu-
|
|
23
|
+
const menu = require('./menu-ca39ac15.js');
|
|
24
24
|
const menuDivider = require('./menu-divider-958fc5aa.js');
|
|
25
25
|
const menuItem = require('./menu-item-51632152.js');
|
|
26
|
-
const icon = require('./icon-
|
|
27
|
-
const iconButton = require('./icon-button-
|
|
26
|
+
const icon = require('./icon-b03c2f5b.js');
|
|
27
|
+
const iconButton = require('./icon-button-5bcecec5.js');
|
|
28
28
|
const logoLoading = require('./logo-loading-f5b077a7.js');
|
|
29
29
|
const popover = require('./popover-e8c564b3.js');
|
|
30
30
|
const radio = require('./radio-6ad34c3d.js');
|
|
@@ -33,15 +33,15 @@ const resizable = require('./resizable-513835d0.js');
|
|
|
33
33
|
const resultList = require('./result-list-ad4e4841.js');
|
|
34
34
|
const searchBar = require('./search-bar-e850615c.js');
|
|
35
35
|
const select = require('./select-bccc8f37.js');
|
|
36
|
-
const slider = require('./slider-
|
|
36
|
+
const slider = require('./slider-3488ff5a.js');
|
|
37
37
|
const spinner = require('./spinner-5e2183ef.js');
|
|
38
|
-
const textField = require('./text-field-
|
|
38
|
+
const textField = require('./text-field-aceff1f6.js');
|
|
39
39
|
const toast = require('./toast-2a577075.js');
|
|
40
40
|
const toggle = require('./toggle-fc23c62a.js');
|
|
41
41
|
const tooltip = require('./tooltip-66a2fb31.js');
|
|
42
42
|
require('./index-4281b6d5.js');
|
|
43
43
|
require('./index-b9715722.js');
|
|
44
|
-
require('./icon-helper-
|
|
44
|
+
require('./icon-helper-6bd9ce5e.js');
|
|
45
45
|
require('./templates-4243180f.js');
|
|
46
46
|
|
|
47
47
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["vertex-click-to-edit-textfield.cjs",[[6,"vertex-click-to-edit-textfield",{"placeholder":[1],"fontSize":[1,"font-size"],"disabled":[516],"value":[1032],"autoFocus":[4,"auto-focus"],"editing":[1540],"hasError":[4,"has-error"]}]]],["vertex-collapsible.cjs",[[1,"vertex-collapsible",{"label":[1],"open":[1540]}]]],["vertex-context-menu.cjs",[[1,"vertex-context-menu",{"targetSelector":[1,"target-selector"],"animated":[4],"position":[32],"open":[32]}]]],["vertex-draggable-popover.cjs",[[1,"vertex-draggable-popover",{"position":[1],"boundarySelector":[1,"boundary-selector"],"boundaryPadding":[2,"boundary-padding"],"anchorPosition":[32],"lastPosition":[32],"dragging":[32]}]]],["vertex-dropdown-menu.cjs",[[1,"vertex-dropdown-menu",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-help-tooltip.cjs",[[1,"vertex-help-tooltip",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-search-bar.cjs",[[6,"vertex-search-bar",{"variant":[1],"resultItems":[16],"triggerCharacters":[16],"triggerCharacter":[1,"trigger-character"],"breakCharacters":[16],"debounce":[2],"placeholder":[1],"placement":[1],"cursorPosition":[32],"open":[32],"triggerKey":[32],"triggerRange":[32],"replaceTriggeredValue":[64],"getEditableContent":[64]}]]],["vertex-select.cjs",[[1,"vertex-select",{"value":[513],"placeholder":[513],"disabled":[516],"animated":[4],"resizeObserverFactory":[16],"open":[32],"position":[32],"displayValue":[32]}]]],["vertex-toast.cjs",[[1,"vertex-toast",{"content":[1],"placement":[1],"duration":[2],"animated":[4],"open":[4],"type":[1],"isOpen":[32]}]]],["vertex-color-circle-picker.cjs",[[1,"vertex-color-circle-picker",{"colors":[1],"supplementalColors":[1,"supplemental-colors"],"theme":[513],"lightenPercentage":[2,"lighten-percentage"],"darkenPercentage":[2,"darken-percentage"],"selected":[1537],"direction":[1]}]]],["vertex-color-picker.cjs",[[1,"vertex-color-picker",{"value":[1537],"disabled":[4]}]]],["vertex-
|
|
17
|
+
return index.bootstrapLazy([["vertex-click-to-edit-textfield.cjs",[[6,"vertex-click-to-edit-textfield",{"placeholder":[1],"fontSize":[1,"font-size"],"disabled":[516],"multiline":[4],"minRows":[2,"min-rows"],"maxRows":[2,"max-rows"],"value":[1032],"autoFocus":[4,"auto-focus"],"editing":[1540],"hasError":[4,"has-error"]}]]],["vertex-collapsible.cjs",[[1,"vertex-collapsible",{"label":[1],"open":[1540]}]]],["vertex-context-menu.cjs",[[1,"vertex-context-menu",{"targetSelector":[1,"target-selector"],"animated":[4],"position":[32],"open":[32]}]]],["vertex-dialog.cjs",[[1,"vertex-dialog",{"open":[1540],"fullscreen":[4],"resizable":[4],"width":[32],"height":[32],"minWidth":[32],"minHeight":[32],"maxWidth":[32],"maxHeight":[32],"isResizing":[32]},[[4,"keydown","keyDownListener"]]]]],["vertex-draggable-popover.cjs",[[1,"vertex-draggable-popover",{"position":[1],"boundarySelector":[1,"boundary-selector"],"boundaryPadding":[2,"boundary-padding"],"anchorPosition":[32],"lastPosition":[32],"dragging":[32]}]]],["vertex-dropdown-menu.cjs",[[1,"vertex-dropdown-menu",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-help-tooltip.cjs",[[1,"vertex-help-tooltip",{"animated":[4],"placement":[1],"open":[32]}]]],["vertex-search-bar.cjs",[[6,"vertex-search-bar",{"variant":[1],"resultItems":[16],"triggerCharacters":[16],"triggerCharacter":[1,"trigger-character"],"breakCharacters":[16],"debounce":[2],"placeholder":[1],"placement":[1],"cursorPosition":[32],"open":[32],"triggerKey":[32],"triggerRange":[32],"replaceTriggeredValue":[64],"getEditableContent":[64]}]]],["vertex-select.cjs",[[1,"vertex-select",{"value":[513],"placeholder":[513],"disabled":[516],"animated":[4],"resizeObserverFactory":[16],"open":[32],"position":[32],"displayValue":[32]}]]],["vertex-slider.cjs",[[1,"vertex-slider",{"min":[2],"max":[2],"valueLabelDisplay":[1,"value-label-display"],"step":[8],"value":[1026],"disabled":[4]}]]],["vertex-toast.cjs",[[1,"vertex-toast",{"content":[1],"placement":[1],"duration":[2],"animated":[4],"open":[4],"type":[1],"isOpen":[32]}]]],["vertex-color-circle-picker.cjs",[[1,"vertex-color-circle-picker",{"colors":[1],"supplementalColors":[1,"supplemental-colors"],"theme":[513],"lightenPercentage":[2,"lighten-percentage"],"darkenPercentage":[2,"darken-percentage"],"selected":[1537],"direction":[1]}]]],["vertex-color-picker.cjs",[[1,"vertex-color-picker",{"value":[1537],"disabled":[4]}]]],["vertex-toggle.cjs",[[1,"vertex-toggle",{"variant":[1],"disabled":[4],"checked":[1540]}]]],["vertex-avatar.cjs",[[1,"vertex-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"value":[1],"active":[4],"variant":[1]}]]],["vertex-avatar-group.cjs",[[1,"vertex-avatar-group"]]],["vertex-button.cjs",[[1,"vertex-button",{"type":[1],"color":[1],"variant":[1],"size":[1],"expand":[1],"href":[1],"target":[1],"disabled":[516]}]]],["vertex-card.cjs",[[1,"vertex-card",{"mode":[1]}]]],["vertex-card-group.cjs",[[1,"vertex-card-group",{"selected":[516],"expanded":[516]}]]],["vertex-chip.cjs",[[1,"vertex-chip",{"variant":[1],"color":[1]}]]],["vertex-logo-loading.cjs",[[1,"vertex-logo-loading"]]],["vertex-menu-divider.cjs",[[1,"vertex-menu-divider"]]],["vertex-menu-item.cjs",[[1,"vertex-menu-item",{"disabled":[516]}]]],["vertex-radio.cjs",[[2,"vertex-radio",{"disabled":[516],"value":[513],"label":[513],"name":[513],"checked":[516]}]]],["vertex-radio-group.cjs",[[1,"vertex-radio-group",{"name":[513],"value":[1537]}]]],["vertex-resizable.cjs",[[1,"vertex-resizable",{"horizontalDirection":[1,"horizontal-direction"],"verticalDirection":[1,"vertical-direction"],"initialHorizontalScale":[2,"initial-horizontal-scale"],"initialVerticalScale":[2,"initial-vertical-scale"],"initializeWithOffset":[4,"initialize-with-offset"],"parentSelector":[1,"parent-selector"],"verticalSiblingSelector":[1,"vertical-sibling-selector"],"horizontalSiblingSelector":[1,"horizontal-sibling-selector"],"contentSelector":[1,"content-selector"],"position":[1],"dimensionsComputed":[1540,"dimensions-computed"],"width":[32],"minWidth":[32],"maxWidth":[32],"height":[32],"minHeight":[32],"maxHeight":[32],"left":[32],"top":[32],"hoveredLocation":[32],"dragStartLocation":[32],"updateDimensions":[64]}]]],["vertex-spinner.cjs",[[1,"vertex-spinner",{"color":[1],"size":[1]}]]],["vertex-expandable.cjs",[[1,"vertex-expandable",{"expanded":[1540],"expanding":[1540],"collapsing":[1540],"controlled":[516],"expandType":[513,"expand-type"],"animated":[4],"contentScrollHeight":[32]}]]],["vertex-result-list.cjs",[[1,"vertex-result-list",{"items":[16],"itemsJson":[1,"items"],"viewportStartIndex":[1026,"viewport-start-index"],"viewportEndIndex":[1026,"viewport-end-index"],"resultHeight":[1026,"result-height"],"overScanCount":[2,"over-scan-count"],"placement":[1],"position":[1],"open":[4],"listHeight":[32],"parsedResults":[32],"scrollTop":[32],"lastStartIndex":[32],"lastFocusedIndex":[32],"stateMap":[32]}]]],["vertex-textfield.cjs",[[6,"vertex-textfield",{"type":[1],"name":[1],"variant":[1],"fontSize":[1,"font-size"],"multiline":[4],"minRows":[2,"min-rows"],"maxRows":[2,"max-rows"],"placeholder":[1],"autoFocus":[4,"auto-focus"],"autoComplete":[1,"auto-complete"],"autoCorrect":[1,"auto-correct"],"value":[1032],"disabled":[516],"hasError":[4,"has-error"],"updateInput":[64],"blurInput":[64],"getInputValue":[64],"selectAll":[64]}]]],["vertex-tooltip.cjs",[[1,"vertex-tooltip",{"content":[1],"disabled":[4],"placement":[1],"delay":[2],"animated":[4],"open":[32]}]]],["vertex-color-circle.cjs",[[1,"vertex-color-circle",{"color":[513],"supplementalColor":[513,"supplemental-color"],"theme":[513],"lightenPercentage":[2,"lighten-percentage"],"darkenPercentage":[2,"darken-percentage"],"lightened":[1537],"darkened":[1537]}]]],["vertex-auto-resize-textarea.cjs",[[1,"vertex-auto-resize-textarea",{"textareaSelector":[1,"textarea-selector"],"initialValue":[1,"initial-value"],"minRows":[514,"min-rows"],"maxRows":[514,"max-rows"],"textValue":[32]}]]],["vertex-menu.cjs",[[1,"vertex-menu",{"animated":[4],"open":[1540],"placement":[1],"fallbackPlacements":[16],"backdrop":[4],"position":[1040]}]]],["vertex-icon-button.cjs",[[1,"vertex-icon-button",{"iconName":[1,"icon-name"],"disabled":[516],"variant":[1],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"]}]]],["vertex-icon.cjs",[[1,"vertex-icon",{"name":[1],"size":[1]}]]],["vertex-popover.cjs",[[1,"vertex-popover",{"open":[1540],"placement":[1],"position":[1025],"backdrop":[4],"animated":[4],"anchorSelector":[1,"anchor-selector"],"boundarySelector":[1,"boundary-selector"],"resizeBehavior":[1,"resize-behavior"],"overflowBehavior":[16],"flipBehavior":[16],"updateOnResize":[4,"update-on-resize"],"contentResizeObserverFactory":[16],"popperRendered":[32]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|