@vertexvis/ui 0.1.5-testing.0 → 1.0.0-testing.1
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/dist/cjs/components.cjs.js +14 -84
- package/dist/cjs/{dom-a2c535e3.js → dom-v38DVhe2.js} +4 -4
- package/dist/cjs/icon-helper-ut8vR2Rk.js +559 -0
- package/dist/cjs/index-D-R2lvls.js +62 -0
- package/dist/cjs/index-DihxupoM.js +95 -0
- package/dist/cjs/index-DwS9D24e.js +2230 -0
- package/dist/cjs/index.cjs.js +91 -92
- package/dist/cjs/{lib-1bd1e383.js → lib-CCXuRx1c.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -15
- package/dist/cjs/slots-DEdmqbtw.js +29 -0
- package/dist/cjs/templates-C_WUWcnZ.js +230 -0
- package/dist/cjs/tslib.es6-AsLBQn5u.js +68 -0
- package/dist/cjs/vertex-auto-resize-textarea.cjs.entry.js +132 -5
- package/dist/cjs/vertex-avatar-group.cjs.entry.js +12 -5
- package/dist/cjs/vertex-avatar.cjs.entry.js +44 -6
- package/dist/cjs/vertex-badge.cjs.entry.js +21 -6
- package/dist/cjs/vertex-banner.cjs.entry.js +122 -7
- package/dist/cjs/vertex-button.cjs.entry.js +83 -6
- package/dist/cjs/vertex-card-group.cjs.entry.js +34 -6
- package/dist/cjs/vertex-card.cjs.entry.js +33 -5
- package/dist/cjs/vertex-chip.cjs.entry.js +28 -6
- package/dist/cjs/vertex-click-to-edit-textfield.cjs.entry.js +112 -7
- package/dist/cjs/vertex-collapsible.cjs.entry.js +22 -6
- package/dist/cjs/vertex-color-circle-picker.cjs.entry.js +142 -6
- package/dist/cjs/vertex-color-picker.cjs.entry.js +67 -7
- package/dist/cjs/vertex-color-swatch.cjs.entry.js +141 -7
- package/dist/cjs/vertex-context-menu.cjs.entry.js +91 -6
- package/dist/cjs/vertex-dialog.cjs.entry.js +226 -5
- package/dist/cjs/vertex-draggable-popover.cjs.entry.js +79 -6
- package/dist/cjs/vertex-dropdown-menu.cjs.entry.js +34 -6
- package/dist/cjs/vertex-expandable.cjs.entry.js +101 -6
- package/dist/cjs/vertex-help-tooltip.cjs.entry.js +36 -5
- package/dist/cjs/vertex-icon-button.cjs.entry.js +58 -7
- package/dist/cjs/vertex-icon.cjs.entry.js +29 -7
- package/dist/cjs/vertex-logo-loading.cjs.entry.js +12 -5
- package/dist/cjs/vertex-menu-divider.cjs.entry.js +12 -5
- package/dist/cjs/vertex-menu-item.cjs.entry.js +24 -6
- package/dist/cjs/vertex-menu.cjs.entry.js +80 -6
- package/dist/cjs/vertex-popover.cjs.entry.js +1894 -5
- package/dist/cjs/vertex-radio-group.cjs.entry.js +73 -5
- package/dist/cjs/vertex-radio.cjs.entry.js +29 -6
- package/dist/cjs/vertex-resizable.cjs.entry.js +439 -7
- package/dist/cjs/vertex-result-list.cjs.entry.js +300 -7
- package/dist/cjs/vertex-search-bar.cjs.entry.js +528 -7
- package/dist/cjs/vertex-select.cjs.entry.js +181 -6
- package/dist/cjs/vertex-slider.cjs.entry.js +55 -7
- package/dist/cjs/vertex-spinner.cjs.entry.js +32 -6
- package/dist/cjs/vertex-tab.cjs.entry.js +20 -6
- package/dist/cjs/vertex-tabs.cjs.entry.js +104 -6
- package/dist/cjs/vertex-textfield.cjs.entry.js +147 -7
- package/dist/cjs/vertex-toast.cjs.entry.js +109 -6
- package/dist/cjs/vertex-toggle.cjs.entry.js +47 -6
- package/dist/cjs/vertex-tooltip.cjs.entry.js +343 -8
- package/dist/collection/collection-manifest.json +44 -43
- package/dist/collection/components/auto-resize-textarea/auto-resize-textarea.js +222 -213
- package/dist/collection/components/auto-resize-textarea/utils.js +1 -1
- package/dist/collection/components/avatar/avatar.js +153 -137
- package/dist/collection/components/avatar-group/avatar-group.js +16 -16
- package/dist/collection/components/badge/badge.js +75 -66
- package/dist/collection/components/banner/banner.js +284 -247
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +274 -230
- package/dist/collection/components/card/card.js +89 -76
- package/dist/collection/components/card-group/card-group.js +104 -89
- package/dist/collection/components/chip/chip.js +89 -73
- package/dist/collection/components/click-to-edit-text-field/click-to-edit-text-field.js +412 -373
- package/dist/collection/components/collapsible/collapsible.js +71 -65
- package/dist/collection/components/color-circle-picker/color-circle-picker.js +398 -312
- package/dist/collection/components/color-picker/color-picker.js +225 -186
- package/dist/collection/components/color-swatch/color-swatch.js +341 -272
- package/dist/collection/components/color-swatch/lib.js +2 -2
- package/dist/collection/components/context-menu/context-menu.js +168 -161
- package/dist/collection/components/dialog/dialog.js +332 -323
- package/dist/collection/components/dialog/lib.js +4 -4
- package/dist/collection/components/draggable-popover/draggable-popover.js +182 -175
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +122 -108
- package/dist/collection/components/expandable/expandable.js +272 -224
- package/dist/collection/components/help-tooltip/help-tooltip.js +132 -118
- package/dist/collection/components/icon/icon-helper.js +414 -414
- package/dist/collection/components/icon/icon.js +91 -75
- package/dist/collection/components/icon/icons/adjustments.js +1 -1
- package/dist/collection/components/icon/icons/align-to-global.js +1 -1
- package/dist/collection/components/icon/icons/align-to-part.js +1 -1
- package/dist/collection/components/icon/icons/align-to-surface.js +1 -1
- package/dist/collection/components/icon/icons/align-view-to-plane.js +1 -1
- package/dist/collection/components/icon/icons/annotation.js +1 -1
- package/dist/collection/components/icon/icons/arrow-filled.js +1 -1
- package/dist/collection/components/icon/icons/arrow-left-circled.js +1 -1
- package/dist/collection/components/icon/icons/arrow-line-left.js +1 -1
- package/dist/collection/components/icon/icons/arrow-line-right.js +1 -1
- package/dist/collection/components/icon/icons/arrow-partial.js +1 -1
- package/dist/collection/components/icon/icons/arrow-right-circled.js +2 -2
- package/dist/collection/components/icon/icons/arrow-swap.js +1 -1
- package/dist/collection/components/icon/icons/arrow-triangle-left.js +1 -1
- package/dist/collection/components/icon/icons/arrow-triangle-right.js +1 -1
- package/dist/collection/components/icon/icons/arrow-up-circled.js +1 -1
- package/dist/collection/components/icon/icons/attachment.js +1 -1
- package/dist/collection/components/icon/icons/axis-x.js +1 -1
- package/dist/collection/components/icon/icons/axis-y.js +1 -1
- package/dist/collection/components/icon/icons/axis-z.js +1 -1
- package/dist/collection/components/icon/icons/back.js +1 -1
- package/dist/collection/components/icon/icons/box-cursor.js +1 -1
- package/dist/collection/components/icon/icons/box-select.js +1 -1
- package/dist/collection/components/icon/icons/camera-add.js +1 -1
- package/dist/collection/components/icon/icons/camera.js +1 -1
- package/dist/collection/components/icon/icons/caret-down.js +1 -1
- package/dist/collection/components/icon/icons/caret-left.js +1 -1
- package/dist/collection/components/icon/icons/caret-right.js +1 -1
- package/dist/collection/components/icon/icons/caret-up.js +1 -1
- package/dist/collection/components/icon/icons/caution.js +1 -1
- package/dist/collection/components/icon/icons/check-circle.js +1 -1
- package/dist/collection/components/icon/icons/check.js +1 -1
- package/dist/collection/components/icon/icons/chevron-down.js +1 -1
- package/dist/collection/components/icon/icons/chevron-left.js +1 -1
- package/dist/collection/components/icon/icons/chevron-right.js +1 -1
- package/dist/collection/components/icon/icons/chevron-up.js +1 -1
- package/dist/collection/components/icon/icons/circle-outline.js +1 -1
- package/dist/collection/components/icon/icons/close-circle-fill.js +1 -1
- package/dist/collection/components/icon/icons/close-circle.js +1 -1
- package/dist/collection/components/icon/icons/close.js +1 -1
- package/dist/collection/components/icon/icons/collapse-all.js +1 -1
- package/dist/collection/components/icon/icons/columns-add.js +1 -1
- package/dist/collection/components/icon/icons/columns.js +1 -1
- package/dist/collection/components/icon/icons/comment-add.js +1 -1
- package/dist/collection/components/icon/icons/comment-filled.js +1 -1
- package/dist/collection/components/icon/icons/comment-reopen.js +1 -1
- package/dist/collection/components/icon/icons/comment-resolve.js +1 -1
- package/dist/collection/components/icon/icons/comment-show.js +1 -1
- package/dist/collection/components/icon/icons/compare.js +1 -1
- package/dist/collection/components/icon/icons/compress.js +1 -1
- package/dist/collection/components/icon/icons/copy.js +1 -1
- package/dist/collection/components/icon/icons/cross-section.js +1 -1
- package/dist/collection/components/icon/icons/cube-orthographic.js +1 -1
- package/dist/collection/components/icon/icons/cube-perspective.js +1 -1
- package/dist/collection/components/icon/icons/cube-stack.js +1 -1
- package/dist/collection/components/icon/icons/delete.js +1 -1
- package/dist/collection/components/icon/icons/download.js +1 -1
- package/dist/collection/components/icon/icons/drag-indicator.js +1 -1
- package/dist/collection/components/icon/icons/ellipse.js +1 -1
- package/dist/collection/components/icon/icons/error-circle.js +1 -1
- package/dist/collection/components/icon/icons/expand-all.js +1 -1
- package/dist/collection/components/icon/icons/expand.js +1 -1
- package/dist/collection/components/icon/icons/export.js +1 -1
- package/dist/collection/components/icon/icons/file-folder.js +1 -1
- package/dist/collection/components/icon/icons/file-pdf.js +1 -1
- package/dist/collection/components/icon/icons/file.js +1 -1
- package/dist/collection/components/icon/icons/fit-all.js +1 -1
- package/dist/collection/components/icon/icons/fit-selected.js +1 -1
- package/dist/collection/components/icon/icons/flip.js +1 -1
- package/dist/collection/components/icon/icons/folder-plus.js +1 -1
- package/dist/collection/components/icon/icons/forward.js +1 -1
- package/dist/collection/components/icon/icons/gear.js +1 -1
- package/dist/collection/components/icon/icons/help.js +1 -1
- package/dist/collection/components/icon/icons/info.js +1 -1
- package/dist/collection/components/icon/icons/invert.js +1 -1
- package/dist/collection/components/icon/icons/label-off.js +1 -1
- package/dist/collection/components/icon/icons/label.js +1 -1
- package/dist/collection/components/icon/icons/line-dot-left.js +1 -1
- package/dist/collection/components/icon/icons/line-dot-right.js +1 -1
- package/dist/collection/components/icon/icons/line-hash-left.js +1 -1
- package/dist/collection/components/icon/icons/line-hash-right.js +1 -1
- package/dist/collection/components/icon/icons/line.js +1 -1
- package/dist/collection/components/icon/icons/locate.js +1 -1
- package/dist/collection/components/icon/icons/lock-closed.js +1 -1
- package/dist/collection/components/icon/icons/lock-open.js +1 -1
- package/dist/collection/components/icon/icons/markup.js +1 -1
- package/dist/collection/components/icon/icons/menu.js +1 -1
- package/dist/collection/components/icon/icons/notification.js +1 -1
- package/dist/collection/components/icon/icons/open-window.js +1 -1
- package/dist/collection/components/icon/icons/open.js +1 -1
- package/dist/collection/components/icon/icons/pan.js +1 -1
- package/dist/collection/components/icon/icons/paper-airplane.js +1 -1
- package/dist/collection/components/icon/icons/paste.js +1 -1
- package/dist/collection/components/icon/icons/pencil.js +1 -1
- package/dist/collection/components/icon/icons/person-height.js +1 -1
- package/dist/collection/components/icon/icons/person-run.js +1 -1
- package/dist/collection/components/icon/icons/person-short.js +1 -1
- package/dist/collection/components/icon/icons/person-tall.js +1 -1
- package/dist/collection/components/icon/icons/person-walk.js +1 -1
- package/dist/collection/components/icon/icons/pin-fill.js +1 -1
- package/dist/collection/components/icon/icons/pin-line.js +1 -1
- package/dist/collection/components/icon/icons/pin-text-fill.js +1 -1
- package/dist/collection/components/icon/icons/pin-text-square.js +1 -1
- package/dist/collection/components/icon/icons/pin-text.js +1 -1
- package/dist/collection/components/icon/icons/plus-with-arrow.js +1 -1
- package/dist/collection/components/icon/icons/plus.js +1 -1
- package/dist/collection/components/icon/icons/pmi.js +1 -1
- package/dist/collection/components/icon/icons/precise-measurement.js +1 -1
- package/dist/collection/components/icon/icons/rabbit.js +1 -1
- package/dist/collection/components/icon/icons/refresh.js +1 -1
- package/dist/collection/components/icon/icons/rename.js +1 -1
- package/dist/collection/components/icon/icons/report.js +1 -1
- package/dist/collection/components/icon/icons/reset.js +1 -1
- package/dist/collection/components/icon/icons/resize.js +1 -1
- package/dist/collection/components/icon/icons/rotate.js +1 -1
- package/dist/collection/components/icon/icons/ruler.js +1 -1
- package/dist/collection/components/icon/icons/scissors.js +1 -1
- package/dist/collection/components/icon/icons/search.js +1 -1
- package/dist/collection/components/icon/icons/show-only-nearby.js +1 -1
- package/dist/collection/components/icon/icons/snapshots.js +1 -1
- package/dist/collection/components/icon/icons/square-dot-outline.js +1 -1
- package/dist/collection/components/icon/icons/star.js +1 -1
- package/dist/collection/components/icon/icons/tag.js +1 -1
- package/dist/collection/components/icon/icons/tape-measure.js +1 -1
- package/dist/collection/components/icon/icons/teleport-and-align.js +1 -1
- package/dist/collection/components/icon/icons/teleport-toward.js +1 -1
- package/dist/collection/components/icon/icons/teleport.js +1 -1
- package/dist/collection/components/icon/icons/triad.js +1 -1
- package/dist/collection/components/icon/icons/turtle.js +1 -1
- package/dist/collection/components/icon/icons/update.js +1 -1
- package/dist/collection/components/icon/icons/version-history.js +1 -1
- package/dist/collection/components/icon/icons/views.js +1 -1
- package/dist/collection/components/icon/icons/visibility-hidden.js +1 -1
- package/dist/collection/components/icon/icons/visibility-partial.js +1 -1
- package/dist/collection/components/icon/icons/visibility-visible.js +1 -1
- package/dist/collection/components/icon/icons/workspace-add.js +1 -1
- package/dist/collection/components/icon/icons/zoom.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +5 -2
- package/dist/collection/components/icon-button/icon-button.js +190 -152
- package/dist/collection/components/logo-loading/logo-loading.js +16 -16
- package/dist/collection/components/menu/menu.js +286 -250
- package/dist/collection/components/menu-divider/menu-divider.js +16 -16
- package/dist/collection/components/menu-item/menu-item.js +54 -48
- package/dist/collection/components/popover/middleware.js +22 -22
- package/dist/collection/components/popover/popover.js +654 -567
- package/dist/collection/components/popover/util.js +7 -7
- package/dist/collection/components/radio/radio.js +157 -145
- package/dist/collection/components/radio-group/radio-group.js +135 -133
- package/dist/collection/components/resizable/resizable.js +758 -702
- package/dist/collection/components/result-list/lib.js +6 -6
- package/dist/collection/components/result-list/result-list.js +456 -431
- package/dist/collection/components/search-bar/dom.js +13 -13
- package/dist/collection/components/search-bar/lib.js +50 -50
- package/dist/collection/components/search-bar/search-bar.js +739 -661
- package/dist/collection/components/select/select.css +7 -2
- package/dist/collection/components/select/select.js +332 -303
- package/dist/collection/components/slider/slider.js +258 -220
- package/dist/collection/components/spinner/spinner.js +93 -77
- package/dist/collection/components/tab/tab.js +86 -83
- package/dist/collection/components/tab/util.js +1 -1
- package/dist/collection/components/tabs/tabs.js +150 -151
- package/dist/collection/components/text-field/text-field.js +637 -572
- package/dist/collection/components/toast/toast.js +266 -228
- package/dist/collection/components/toggle/toggle.js +139 -119
- package/dist/collection/components/tooltip/tooltip.js +280 -247
- package/dist/collection/types/icon.js +137 -137
- package/dist/collection/util/components/dom.js +5 -5
- package/dist/collection/util/components/slots.js +17 -17
- package/dist/collection/util/templates/binding.js +121 -121
- package/dist/collection/util/templates/element-pool.js +79 -79
- package/dist/collection/util/templates/templates.js +15 -15
- package/dist/components/components.esm.js +1 -1
- package/dist/components/index.d.ts +6 -42
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -52
- package/dist/components/p-00eaa8d7.entry.js +1 -0
- package/dist/components/p-0180556d.entry.js +1 -0
- package/dist/components/p-091b9e27.entry.js +1 -0
- package/dist/components/p-0af9b71c.entry.js +1 -0
- package/dist/components/p-0bd4222b.entry.js +1 -0
- package/dist/components/p-0c389e6f.entry.js +1 -0
- package/dist/{esm/toggle-1fe22e4f.js → components/p-0f13f6f3.entry.js} +1 -38
- package/dist/components/p-1KuzBK7Z.js +1 -0
- package/dist/components/p-1c5e8df5.entry.js +1 -0
- package/dist/components/p-1e6ff76a.entry.js +1 -0
- package/dist/components/p-26f9abc0.entry.js +1 -0
- package/dist/components/p-28460604.entry.js +1 -0
- package/dist/components/p-2cdfe6bf.entry.js +1 -0
- package/dist/components/p-2e0ee616.entry.js +1 -0
- package/dist/components/p-34d8a04e.entry.js +1 -0
- package/dist/components/p-3ddb0c4e.entry.js +1 -0
- package/dist/components/p-4HdACFFW.js +1 -0
- package/dist/components/p-553d01af.entry.js +1 -0
- package/dist/components/p-595b8bd6.entry.js +1 -0
- package/dist/components/p-5c032b37.entry.js +1 -0
- package/dist/components/p-5e3fe5e7.entry.js +1 -0
- package/dist/components/p-61742c05.entry.js +1 -0
- package/dist/components/p-6b2db72c.entry.js +1 -0
- package/dist/components/p-6c6a2fc5.entry.js +1 -0
- package/dist/components/p-6d03a954.entry.js +1 -0
- package/dist/components/p-6qoO8Yf3.js +1 -0
- package/dist/components/p-705d25f3.entry.js +1 -0
- package/dist/components/p-7f768637.entry.js +1 -0
- package/dist/components/p-8358ad1c.entry.js +1 -0
- package/dist/components/p-88781e72.entry.js +1 -0
- package/dist/components/p-B-yvbsY0.js +1 -0
- package/dist/components/p-B23i1cwy.js +1 -0
- package/dist/components/p-B2oECB2P.js +1 -0
- package/dist/components/p-B9qe9CNv.js +1 -0
- package/dist/components/p-BAfJR2VF.js +1 -0
- package/dist/components/p-BHmM6WC-.js +1 -0
- package/dist/components/p-BLc3P-0q.js +1 -0
- package/dist/components/{p-1356f525.js → p-BSoicxl1.js} +1 -1
- package/dist/components/p-BZ5oF5Ci.js +1 -0
- package/dist/components/p-BZutc-CC.js +1 -0
- package/dist/components/p-BbDaHMlz.js +1 -0
- package/dist/components/p-BdR40EV2.js +1 -0
- package/dist/components/p-Beav1bNT.js +6 -0
- package/dist/components/p-Bo65Viuh.js +1 -0
- package/dist/components/p-ByQGREpQ.js +1 -0
- package/dist/components/p-C1H5-_5m.js +1 -0
- package/dist/components/p-C1qwHMcr.js +1 -0
- package/dist/components/p-C27tS7nl.js +2 -0
- package/dist/components/p-C7VaFE8W.js +1 -0
- package/dist/components/p-CAFdRyLE.js +1 -0
- package/dist/components/p-CDYHYPYF.js +1 -0
- package/dist/components/p-CFaiLAq0.js +1 -0
- package/dist/components/{p-59032668.js → p-CIs0DJX1.js} +1 -1
- package/dist/components/p-CZ1Qa_xv.js +1 -0
- package/dist/components/p-CZyp2id8.js +1 -0
- package/dist/components/p-Ci26QjYl.js +1 -0
- package/dist/components/p-D1P5FeY6.js +1 -0
- package/dist/components/p-D3BXoJJN.js +1 -0
- package/dist/components/p-DEpMfvdS.js +1 -0
- package/dist/components/p-DGZHaSjz.js +1 -0
- package/dist/components/p-DHNuRvq0.js +1 -0
- package/dist/components/p-DMLgHhJc.js +1 -0
- package/dist/components/p-DO6VjClS.js +1 -0
- package/dist/components/p-DPgx10Cw.js +1 -0
- package/dist/components/p-DXQBJLz-.js +1 -0
- package/dist/components/p-D_mp9WMh.js +1 -0
- package/dist/components/p-De54LBPx.js +1 -0
- package/dist/components/p-DjrAIJhB.js +1 -0
- package/dist/components/p-DsAkiOMC.js +1 -0
- package/dist/components/p-Dw5WRKyY.js +1 -0
- package/dist/components/p-ILu24ZUX.js +1 -0
- package/dist/components/p-K5a7HQMt.js +1 -0
- package/dist/components/p-KilWQmEJ.js +1 -0
- package/dist/components/p-Mnv_zHXq.js +1 -0
- package/dist/components/p-RaMDrnzd.js +1 -0
- package/dist/components/p-TLO_pywp.js +1 -0
- package/dist/components/p-_3Hgy0Z4.js +1 -0
- package/dist/components/p-a287d016.entry.js +1 -0
- package/dist/components/p-a886721b.entry.js +1 -0
- package/dist/components/p-a8e75bdc.entry.js +1 -0
- package/dist/components/p-al_CUADF.js +1 -0
- package/dist/components/p-b5921385.entry.js +1 -0
- package/dist/components/p-c2f3cf8b.entry.js +1 -0
- package/dist/components/p-ca6a4b08.entry.js +1 -0
- package/dist/components/p-e311af0e.entry.js +1 -0
- package/dist/components/p-eYTN_sVb.js +1 -0
- package/dist/components/p-edfd86c9.entry.js +1 -0
- package/dist/components/p-ef419ddf.entry.js +1 -0
- package/dist/components/p-efd0223b.entry.js +1 -0
- package/dist/components/p-f1abef98.entry.js +1 -0
- package/dist/components/p-f23df530.entry.js +1 -0
- package/dist/components/p-f37dc3c4.entry.js +1 -0
- package/dist/components/p-f793f80a.entry.js +1 -0
- package/dist/components/p-y4p55dbx.js +1 -0
- package/dist/components/vertex-auto-resize-textarea.d.ts +2 -2
- package/dist/components/vertex-auto-resize-textarea.js +1 -6
- package/dist/components/vertex-avatar-group.d.ts +2 -2
- package/dist/components/vertex-avatar-group.js +1 -34
- package/dist/components/vertex-avatar.d.ts +2 -2
- package/dist/components/vertex-avatar.js +1 -68
- package/dist/components/vertex-badge.d.ts +2 -2
- package/dist/components/vertex-badge.js +1 -43
- package/dist/components/vertex-banner.d.ts +2 -2
- package/dist/components/vertex-banner.js +1 -141
- package/dist/components/vertex-button.d.ts +2 -2
- package/dist/components/vertex-button.js +1 -96
- package/dist/components/vertex-card-group.d.ts +2 -2
- package/dist/components/vertex-card-group.js +1 -51
- package/dist/components/vertex-card.d.ts +2 -2
- package/dist/components/vertex-card.js +1 -49
- package/dist/components/vertex-chip.d.ts +2 -2
- package/dist/components/vertex-chip.js +1 -45
- package/dist/components/vertex-click-to-edit-textfield.d.ts +2 -2
- package/dist/components/vertex-click-to-edit-textfield.js +1 -156
- package/dist/components/vertex-collapsible.d.ts +2 -2
- package/dist/components/vertex-collapsible.js +1 -63
- package/dist/components/vertex-color-circle-picker.d.ts +2 -2
- package/dist/components/vertex-color-circle-picker.js +1 -131
- package/dist/components/vertex-color-picker.d.ts +2 -2
- package/dist/components/vertex-color-picker.js +1 -75
- package/dist/components/vertex-color-swatch.d.ts +2 -2
- package/dist/components/vertex-color-swatch.js +1 -6
- package/dist/components/vertex-context-menu.d.ts +2 -2
- package/dist/components/vertex-context-menu.js +1 -125
- package/dist/components/vertex-dialog.d.ts +2 -2
- package/dist/components/vertex-dialog.js +1 -265
- package/dist/components/vertex-draggable-popover.d.ts +2 -2
- package/dist/components/vertex-draggable-popover.js +1 -119
- package/dist/components/vertex-dropdown-menu.d.ts +2 -2
- package/dist/components/vertex-dropdown-menu.js +1 -64
- package/dist/components/vertex-expandable.d.ts +2 -2
- package/dist/components/vertex-expandable.js +1 -6
- package/dist/components/vertex-help-tooltip.d.ts +2 -2
- package/dist/components/vertex-help-tooltip.js +1 -67
- package/dist/components/vertex-icon-button.d.ts +2 -2
- package/dist/components/vertex-icon-button.js +1 -6
- package/dist/components/vertex-icon.d.ts +2 -2
- package/dist/components/vertex-icon.js +1 -6
- package/dist/components/vertex-logo-loading.d.ts +2 -2
- package/dist/components/vertex-logo-loading.js +1 -34
- package/dist/components/vertex-menu-divider.d.ts +2 -2
- package/dist/components/vertex-menu-divider.js +1 -34
- package/dist/components/vertex-menu-item.d.ts +2 -2
- package/dist/components/vertex-menu-item.js +1 -44
- package/dist/components/vertex-menu.d.ts +2 -2
- package/dist/components/vertex-menu.js +1 -6
- package/dist/components/vertex-popover.d.ts +2 -2
- package/dist/components/vertex-popover.js +1 -6
- package/dist/components/vertex-radio-group.d.ts +2 -2
- package/dist/components/vertex-radio-group.js +1 -98
- package/dist/components/vertex-radio.d.ts +2 -2
- package/dist/components/vertex-radio.js +1 -56
- package/dist/components/vertex-resizable.d.ts +2 -2
- package/dist/components/vertex-resizable.js +1 -463
- package/dist/components/vertex-result-list.d.ts +2 -2
- package/dist/components/vertex-result-list.js +1 -6
- package/dist/components/vertex-search-bar.d.ts +2 -2
- package/dist/components/vertex-search-bar.js +1 -568
- package/dist/components/vertex-select.d.ts +2 -2
- package/dist/components/vertex-select.js +1 -202
- package/dist/components/vertex-slider.d.ts +2 -2
- package/dist/components/vertex-slider.js +1 -81
- package/dist/components/vertex-spinner.d.ts +2 -2
- package/dist/components/vertex-spinner.js +1 -49
- package/dist/components/vertex-tab.d.ts +2 -2
- package/dist/components/vertex-tab.js +1 -46
- package/dist/components/vertex-tabs.d.ts +2 -2
- package/dist/components/vertex-tabs.js +1 -133
- package/dist/components/vertex-textfield.d.ts +2 -2
- package/dist/components/vertex-textfield.js +1 -6
- package/dist/components/vertex-toast.d.ts +2 -2
- package/dist/components/vertex-toast.js +1 -127
- package/dist/components/vertex-toggle.d.ts +2 -2
- package/dist/components/vertex-toggle.js +1 -67
- package/dist/components/vertex-tooltip.d.ts +2 -2
- package/dist/components/vertex-tooltip.js +1 -6
- package/dist/esm/components.js +14 -83
- package/dist/{components/dom.js → esm/dom-Oz9KwTs0.js} +4 -4
- package/dist/esm/icon-helper-Dw0fFePg.js +557 -0
- package/dist/esm/index-Beav1bNT.js +92 -0
- package/dist/esm/index-C27tS7nl.js +2219 -0
- package/dist/esm/index-DYRkgxax.js +60 -0
- package/dist/esm/index.js +50 -49
- package/dist/esm/{lib-73fbca8b.js → lib-DgySd_r0.js} +2 -2
- package/dist/esm/loader.js +6 -14
- package/dist/esm/slots-DXuCPm6v.js +26 -0
- package/dist/esm/templates-DZ8xV3--.js +228 -0
- package/dist/esm/tslib.es6-CIs0DJX1.js +65 -0
- package/dist/esm/vertex-auto-resize-textarea.entry.js +136 -3
- package/dist/esm/vertex-avatar-group.entry.js +15 -2
- package/dist/esm/vertex-avatar.entry.js +47 -3
- package/dist/esm/vertex-badge.entry.js +24 -3
- package/dist/esm/vertex-banner.entry.js +125 -4
- package/dist/esm/vertex-button.entry.js +86 -3
- package/dist/esm/vertex-card-group.entry.js +37 -3
- package/dist/esm/vertex-card.entry.js +36 -2
- package/dist/esm/vertex-chip.entry.js +31 -3
- package/dist/esm/vertex-click-to-edit-textfield.entry.js +114 -3
- package/dist/esm/vertex-collapsible.entry.js +25 -3
- package/dist/esm/vertex-color-circle-picker.entry.js +145 -3
- package/dist/esm/vertex-color-picker.entry.js +70 -4
- package/dist/esm/vertex-color-swatch.entry.js +144 -4
- package/dist/esm/vertex-context-menu.entry.js +93 -2
- package/dist/esm/vertex-dialog.entry.js +230 -3
- package/dist/esm/vertex-draggable-popover.entry.js +82 -3
- package/dist/esm/vertex-dropdown-menu.entry.js +36 -2
- package/dist/esm/vertex-expandable.entry.js +104 -3
- package/dist/esm/vertex-help-tooltip.entry.js +39 -2
- package/dist/esm/vertex-icon-button.entry.js +61 -4
- package/dist/esm/vertex-icon.entry.js +32 -4
- package/dist/esm/vertex-logo-loading.entry.js +15 -2
- package/dist/esm/vertex-menu-divider.entry.js +15 -2
- package/dist/esm/vertex-menu-item.entry.js +27 -3
- package/dist/esm/vertex-menu.entry.js +83 -3
- package/dist/esm/vertex-popover.entry.js +1898 -3
- package/dist/esm/vertex-radio-group.entry.js +76 -2
- package/dist/esm/vertex-radio.entry.js +32 -3
- package/dist/esm/vertex-resizable.entry.js +442 -4
- package/dist/esm/vertex-result-list.entry.js +304 -5
- package/dist/esm/vertex-search-bar.entry.js +532 -5
- package/dist/esm/vertex-select.entry.js +184 -3
- package/dist/esm/vertex-slider.entry.js +58 -4
- package/dist/esm/vertex-spinner.entry.js +35 -3
- package/dist/esm/vertex-tab.entry.js +23 -3
- package/dist/esm/vertex-tabs.entry.js +108 -4
- package/dist/esm/vertex-textfield.entry.js +149 -3
- package/dist/esm/vertex-toast.entry.js +112 -3
- package/dist/esm/vertex-toggle.entry.js +50 -3
- package/dist/esm/vertex-tooltip.entry.js +347 -6
- package/dist/types/components/auto-resize-textarea/auto-resize-textarea.d.ts +43 -43
- package/dist/types/components/avatar/avatar.d.ts +33 -33
- package/dist/types/components/avatar-group/avatar-group.d.ts +1 -1
- package/dist/types/components/badge/badge.d.ts +10 -10
- package/dist/types/components/banner/banner.d.ts +50 -50
- package/dist/types/components/button/button.d.ts +52 -52
- package/dist/types/components/card/card.d.ts +19 -19
- package/dist/types/components/card-group/card-group.d.ts +13 -13
- package/dist/types/components/chip/chip.d.ts +11 -11
- package/dist/types/components/click-to-edit-text-field/click-to-edit-text-field.d.ts +78 -78
- package/dist/types/components/collapsible/collapsible.d.ts +10 -10
- package/dist/types/components/color-circle-picker/color-circle-picker.d.ts +89 -89
- package/dist/types/components/color-picker/color-picker.d.ts +46 -46
- package/dist/types/components/color-swatch/color-swatch.d.ts +69 -69
- package/dist/types/components/context-menu/context-menu.d.ts +33 -33
- package/dist/types/components/dialog/dialog.d.ts +55 -55
- package/dist/types/components/draggable-popover/draggable-popover.d.ts +32 -32
- package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +22 -22
- package/dist/types/components/expandable/expandable.d.ts +58 -58
- package/dist/types/components/help-tooltip/help-tooltip.d.ts +22 -22
- package/dist/types/components/icon/icon.d.ts +15 -15
- package/dist/types/components/icon/icons/adjustments.d.ts +0 -1
- package/dist/types/components/icon/icons/align-to-global.d.ts +0 -1
- package/dist/types/components/icon/icons/align-to-part.d.ts +0 -1
- package/dist/types/components/icon/icons/align-to-surface.d.ts +0 -1
- package/dist/types/components/icon/icons/align-view-to-plane.d.ts +0 -1
- package/dist/types/components/icon/icons/annotation.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-filled.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-left-circled.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-line-left.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-line-right.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-partial.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-right-circled.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-swap.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-triangle-left.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-triangle-right.d.ts +0 -1
- package/dist/types/components/icon/icons/arrow-up-circled.d.ts +0 -1
- package/dist/types/components/icon/icons/attachment.d.ts +0 -1
- package/dist/types/components/icon/icons/axis-x.d.ts +0 -1
- package/dist/types/components/icon/icons/axis-y.d.ts +0 -1
- package/dist/types/components/icon/icons/axis-z.d.ts +0 -1
- package/dist/types/components/icon/icons/back.d.ts +0 -1
- package/dist/types/components/icon/icons/box-cursor.d.ts +0 -1
- package/dist/types/components/icon/icons/box-select.d.ts +0 -1
- package/dist/types/components/icon/icons/camera-add.d.ts +0 -1
- package/dist/types/components/icon/icons/camera.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-down.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-left.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-right.d.ts +0 -1
- package/dist/types/components/icon/icons/caret-up.d.ts +0 -1
- package/dist/types/components/icon/icons/caution.d.ts +0 -1
- package/dist/types/components/icon/icons/check-circle.d.ts +0 -1
- package/dist/types/components/icon/icons/check.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-down.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-left.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-right.d.ts +0 -1
- package/dist/types/components/icon/icons/chevron-up.d.ts +0 -1
- package/dist/types/components/icon/icons/circle-outline.d.ts +0 -1
- package/dist/types/components/icon/icons/close-circle-fill.d.ts +0 -1
- package/dist/types/components/icon/icons/close-circle.d.ts +0 -1
- package/dist/types/components/icon/icons/close.d.ts +0 -1
- package/dist/types/components/icon/icons/collapse-all.d.ts +0 -1
- package/dist/types/components/icon/icons/columns-add.d.ts +0 -1
- package/dist/types/components/icon/icons/columns.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-add.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-filled.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-reopen.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-resolve.d.ts +0 -1
- package/dist/types/components/icon/icons/comment-show.d.ts +0 -1
- package/dist/types/components/icon/icons/compare.d.ts +0 -1
- package/dist/types/components/icon/icons/compress.d.ts +0 -1
- package/dist/types/components/icon/icons/copy.d.ts +0 -1
- package/dist/types/components/icon/icons/cross-section.d.ts +0 -1
- package/dist/types/components/icon/icons/cube-orthographic.d.ts +0 -1
- package/dist/types/components/icon/icons/cube-perspective.d.ts +0 -1
- package/dist/types/components/icon/icons/cube-stack.d.ts +0 -1
- package/dist/types/components/icon/icons/delete.d.ts +0 -1
- package/dist/types/components/icon/icons/download.d.ts +0 -1
- package/dist/types/components/icon/icons/drag-indicator.d.ts +0 -1
- package/dist/types/components/icon/icons/ellipse.d.ts +0 -1
- package/dist/types/components/icon/icons/error-circle.d.ts +0 -1
- package/dist/types/components/icon/icons/expand-all.d.ts +0 -1
- package/dist/types/components/icon/icons/expand.d.ts +0 -1
- package/dist/types/components/icon/icons/export.d.ts +0 -1
- package/dist/types/components/icon/icons/file-folder.d.ts +0 -1
- package/dist/types/components/icon/icons/file-pdf.d.ts +0 -1
- package/dist/types/components/icon/icons/file.d.ts +0 -1
- package/dist/types/components/icon/icons/fit-all.d.ts +0 -1
- package/dist/types/components/icon/icons/fit-selected.d.ts +0 -1
- package/dist/types/components/icon/icons/flip.d.ts +0 -1
- package/dist/types/components/icon/icons/folder-plus.d.ts +0 -1
- package/dist/types/components/icon/icons/forward.d.ts +0 -1
- package/dist/types/components/icon/icons/gear.d.ts +0 -1
- package/dist/types/components/icon/icons/help.d.ts +0 -1
- package/dist/types/components/icon/icons/info.d.ts +0 -1
- package/dist/types/components/icon/icons/invert.d.ts +0 -1
- package/dist/types/components/icon/icons/label-off.d.ts +0 -1
- package/dist/types/components/icon/icons/label.d.ts +0 -1
- package/dist/types/components/icon/icons/line-dot-left.d.ts +0 -1
- package/dist/types/components/icon/icons/line-dot-right.d.ts +0 -1
- package/dist/types/components/icon/icons/line-hash-left.d.ts +0 -1
- package/dist/types/components/icon/icons/line-hash-right.d.ts +0 -1
- package/dist/types/components/icon/icons/line.d.ts +0 -1
- package/dist/types/components/icon/icons/locate.d.ts +0 -1
- package/dist/types/components/icon/icons/lock-closed.d.ts +0 -1
- package/dist/types/components/icon/icons/lock-open.d.ts +0 -1
- package/dist/types/components/icon/icons/markup.d.ts +0 -1
- package/dist/types/components/icon/icons/menu.d.ts +0 -1
- package/dist/types/components/icon/icons/notification.d.ts +0 -1
- package/dist/types/components/icon/icons/open-window.d.ts +0 -1
- package/dist/types/components/icon/icons/open.d.ts +0 -1
- package/dist/types/components/icon/icons/pan.d.ts +0 -1
- package/dist/types/components/icon/icons/paper-airplane.d.ts +0 -1
- package/dist/types/components/icon/icons/paste.d.ts +0 -1
- package/dist/types/components/icon/icons/pencil.d.ts +0 -1
- package/dist/types/components/icon/icons/person-height.d.ts +0 -1
- package/dist/types/components/icon/icons/person-run.d.ts +0 -1
- package/dist/types/components/icon/icons/person-short.d.ts +0 -1
- package/dist/types/components/icon/icons/person-tall.d.ts +0 -1
- package/dist/types/components/icon/icons/person-walk.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-fill.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-line.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-text-fill.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-text-square.d.ts +0 -1
- package/dist/types/components/icon/icons/pin-text.d.ts +0 -1
- package/dist/types/components/icon/icons/plus-with-arrow.d.ts +0 -1
- package/dist/types/components/icon/icons/plus.d.ts +0 -1
- package/dist/types/components/icon/icons/pmi.d.ts +0 -1
- package/dist/types/components/icon/icons/precise-measurement.d.ts +0 -1
- package/dist/types/components/icon/icons/rabbit.d.ts +0 -1
- package/dist/types/components/icon/icons/refresh.d.ts +0 -1
- package/dist/types/components/icon/icons/rename.d.ts +0 -1
- package/dist/types/components/icon/icons/report.d.ts +0 -1
- package/dist/types/components/icon/icons/reset.d.ts +0 -1
- package/dist/types/components/icon/icons/resize.d.ts +0 -1
- package/dist/types/components/icon/icons/rotate.d.ts +0 -1
- package/dist/types/components/icon/icons/ruler.d.ts +0 -1
- package/dist/types/components/icon/icons/scissors.d.ts +0 -1
- package/dist/types/components/icon/icons/search.d.ts +0 -1
- package/dist/types/components/icon/icons/show-only-nearby.d.ts +0 -1
- package/dist/types/components/icon/icons/snapshots.d.ts +0 -1
- package/dist/types/components/icon/icons/square-dot-outline.d.ts +0 -1
- package/dist/types/components/icon/icons/star.d.ts +0 -1
- package/dist/types/components/icon/icons/tag.d.ts +0 -1
- package/dist/types/components/icon/icons/tape-measure.d.ts +0 -1
- package/dist/types/components/icon/icons/teleport-and-align.d.ts +0 -1
- package/dist/types/components/icon/icons/teleport-toward.d.ts +0 -1
- package/dist/types/components/icon/icons/teleport.d.ts +0 -1
- package/dist/types/components/icon/icons/triad.d.ts +0 -1
- package/dist/types/components/icon/icons/turtle.d.ts +0 -1
- package/dist/types/components/icon/icons/update.d.ts +0 -1
- package/dist/types/components/icon/icons/version-history.d.ts +0 -1
- package/dist/types/components/icon/icons/views.d.ts +0 -1
- package/dist/types/components/icon/icons/visibility-hidden.d.ts +0 -1
- package/dist/types/components/icon/icons/visibility-partial.d.ts +0 -1
- package/dist/types/components/icon/icons/visibility-visible.d.ts +0 -1
- package/dist/types/components/icon/icons/workspace-add.d.ts +0 -1
- package/dist/types/components/icon/icons/zoom.d.ts +0 -1
- package/dist/types/components/icon-button/icon-button.d.ts +36 -36
- package/dist/types/components/logo-loading/logo-loading.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +53 -53
- package/dist/types/components/menu-divider/menu-divider.d.ts +1 -1
- package/dist/types/components/menu-item/menu-item.d.ts +6 -6
- package/dist/types/components/popover/popover.d.ts +156 -156
- package/dist/types/components/radio/radio.d.ts +28 -28
- package/dist/types/components/radio-group/radio-group.d.ts +23 -23
- package/dist/types/components/resizable/resizable.d.ts +161 -161
- package/dist/types/components/result-list/result-list.d.ts +42 -42
- package/dist/types/components/result-list/types.d.ts +2 -2
- package/dist/types/components/search-bar/lib.d.ts +5 -5
- package/dist/types/components/search-bar/search-bar.d.ts +144 -144
- package/dist/types/components/select/select.d.ts +65 -65
- package/dist/types/components/slider/slider.d.ts +44 -44
- package/dist/types/components/spinner/spinner.d.ts +11 -11
- package/dist/types/components/tab/tab.d.ts +8 -8
- package/dist/types/components/tabs/tabs.d.ts +20 -20
- package/dist/types/components/text-field/text-field.d.ts +112 -112
- package/dist/types/components/toast/toast.d.ts +50 -50
- package/dist/types/components/toggle/toggle.d.ts +17 -17
- package/dist/types/components/tooltip/tooltip.d.ts +60 -60
- package/dist/types/components.d.ts +970 -90
- package/dist/types/stencil-public-runtime.d.ts +257 -34
- package/dist/types/types/icon.d.ts +137 -137
- package/dist/types/types/point.d.ts +2 -2
- package/dist/types/util/components/slots.d.ts +3 -3
- package/dist/types/util/templates/binding.d.ts +20 -20
- package/dist/types/util/templates/disposable.d.ts +4 -4
- package/dist/types/util/templates/element-pool.d.ts +19 -19
- package/dist/types/util/templates/templates.d.ts +2 -2
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +5 -2
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +61 -36
- package/dist/cjs/auto-resize-textarea-deb05359.js +0 -137
- package/dist/cjs/avatar-e69bb687.js +0 -45
- package/dist/cjs/avatar-group-d2af53e4.js +0 -17
- package/dist/cjs/badge-d39ac1fc.js +0 -23
- package/dist/cjs/banner-8325d5ca.js +0 -104
- package/dist/cjs/button-e63d25b1.js +0 -70
- package/dist/cjs/card-ae9e8a8f.js +0 -30
- package/dist/cjs/card-group-da93e610.js +0 -30
- package/dist/cjs/chip-a3b2e8e0.js +0 -25
- package/dist/cjs/click-to-edit-text-field-2c87ee66.js +0 -105
- package/dist/cjs/collapsible-50ea984c.js +0 -25
- package/dist/cjs/color-circle-picker-b0927289.js +0 -82
- package/dist/cjs/color-picker-6aa97d3b.js +0 -47
- package/dist/cjs/color-swatch-6d98da5f.js +0 -95
- package/dist/cjs/context-menu-664922cd.js +0 -91
- package/dist/cjs/dialog-34244fe1.js +0 -225
- package/dist/cjs/dom-ff96a4bc.js +0 -75
- package/dist/cjs/draggable-popover-125717a7.js +0 -83
- package/dist/cjs/dropdown-menu-5ae03a72.js +0 -31
- package/dist/cjs/expandable-b1cd4f0b.js +0 -72
- package/dist/cjs/help-tooltip-f72eccc7.js +0 -34
- package/dist/cjs/icon-ab3e2b83.js +0 -26
- package/dist/cjs/icon-button-9a6314cd.js +0 -43
- package/dist/cjs/icon-helper-b2117772.js +0 -785
- package/dist/cjs/index-6a92256c.js +0 -2152
- package/dist/cjs/index-e1b40fa6.js +0 -91
- package/dist/cjs/logo-loading-4d49fedf.js +0 -17
- package/dist/cjs/menu-bfc03108.js +0 -74
- package/dist/cjs/menu-divider-5bdebe5d.js +0 -17
- package/dist/cjs/menu-item-d213fd4d.js +0 -25
- package/dist/cjs/popover-942209b8.js +0 -1706
- package/dist/cjs/radio-bff991d2.js +0 -34
- package/dist/cjs/radio-group-11ecf8bf.js +0 -78
- package/dist/cjs/resizable-c0a69532.js +0 -423
- package/dist/cjs/result-list-241ffe8d.js +0 -304
- package/dist/cjs/search-bar-2e7ee35a.js +0 -527
- package/dist/cjs/select-554f3c11.js +0 -163
- package/dist/cjs/shadow-css-8eb74fbb.js +0 -389
- package/dist/cjs/slider-7714cccb.js +0 -44
- package/dist/cjs/slots-fb5ac359.js +0 -29
- package/dist/cjs/spinner-bb990a42.js +0 -29
- package/dist/cjs/tab-4335cd8f.js +0 -26
- package/dist/cjs/tabs-6f3e76e1.js +0 -111
- package/dist/cjs/templates-e7b3ffbb.js +0 -230
- package/dist/cjs/text-field-bccbde1f.js +0 -133
- package/dist/cjs/toast-bee7f47b.js +0 -90
- package/dist/cjs/toggle-a5dde469.js +0 -40
- package/dist/cjs/tooltip-634eb8c9.js +0 -333
- package/dist/cjs/tslib.es6-838fd860.js +0 -68
- package/dist/components/auto-resize-textarea.js +0 -157
- package/dist/components/color-swatch.js +0 -124
- package/dist/components/expandable.js +0 -100
- package/dist/components/icon-button.js +0 -63
- package/dist/components/icon-helper.js +0 -783
- package/dist/components/icon.js +0 -43
- package/dist/components/index2.js +0 -89
- package/dist/components/menu.js +0 -103
- package/dist/components/p-01d4be1d.entry.js +0 -1
- package/dist/components/p-0541e2b0.js +0 -1
- package/dist/components/p-09ba50c3.js +0 -1
- package/dist/components/p-0b4406fa.entry.js +0 -1
- package/dist/components/p-0de26b21.entry.js +0 -1
- package/dist/components/p-0e628c05.js +0 -1
- package/dist/components/p-16fc9e9a.entry.js +0 -1
- package/dist/components/p-18ed73e9.js +0 -1
- package/dist/components/p-1e645c1f.js +0 -1
- package/dist/components/p-211c1186.entry.js +0 -1
- package/dist/components/p-226e83a6.entry.js +0 -1
- package/dist/components/p-22ec9b78.entry.js +0 -1
- package/dist/components/p-24c72960.entry.js +0 -1
- package/dist/components/p-2930bcb0.entry.js +0 -1
- package/dist/components/p-29d7697f.js +0 -1
- package/dist/components/p-2ae8175d.entry.js +0 -1
- package/dist/components/p-2cff3285.js +0 -1
- package/dist/components/p-33400eed.entry.js +0 -1
- package/dist/components/p-3508048d.js +0 -12
- package/dist/components/p-36c853c4.js +0 -1
- package/dist/components/p-39133bc7.js +0 -1
- package/dist/components/p-3b794014.entry.js +0 -1
- package/dist/components/p-3dd08a0f.js +0 -1
- package/dist/components/p-406e73da.entry.js +0 -1
- package/dist/components/p-407430fe.entry.js +0 -1
- package/dist/components/p-41ced35c.entry.js +0 -1
- package/dist/components/p-43b1b3f9.js +0 -1
- package/dist/components/p-48629bf1.js +0 -1
- package/dist/components/p-4e3ba3df.entry.js +0 -1
- package/dist/components/p-53515813.entry.js +0 -1
- package/dist/components/p-5366a759.entry.js +0 -1
- package/dist/components/p-573b8ec6.entry.js +0 -1
- package/dist/components/p-59fb829f.js +0 -1
- package/dist/components/p-5fb1724f.js +0 -1
- package/dist/components/p-606596de.entry.js +0 -1
- package/dist/components/p-65f9817e.js +0 -1
- package/dist/components/p-6834631c.js +0 -2
- package/dist/components/p-69375605.entry.js +0 -1
- package/dist/components/p-6a49c365.entry.js +0 -1
- package/dist/components/p-6a640a2c.js +0 -1
- package/dist/components/p-6b6c2260.js +0 -1
- package/dist/components/p-6b862967.js +0 -1
- package/dist/components/p-6d4f055b.entry.js +0 -1
- package/dist/components/p-756c9977.entry.js +0 -1
- package/dist/components/p-7ace7800.entry.js +0 -1
- package/dist/components/p-7e6ca4fb.entry.js +0 -1
- package/dist/components/p-80c989fa.entry.js +0 -1
- package/dist/components/p-817bf6ff.js +0 -1
- package/dist/components/p-81cb4da4.js +0 -1
- package/dist/components/p-8a52767f.js +0 -1
- package/dist/components/p-8b211d6f.js +0 -1
- package/dist/components/p-8c69bb83.js +0 -1
- package/dist/components/p-8d83dfff.entry.js +0 -1
- package/dist/components/p-8fe0084d.js +0 -1
- package/dist/components/p-90931a94.js +0 -1
- package/dist/components/p-90b4e04b.js +0 -1
- package/dist/components/p-90cf31d2.js +0 -1
- package/dist/components/p-91123ff6.entry.js +0 -1
- package/dist/components/p-95358d00.entry.js +0 -1
- package/dist/components/p-96f55673.js +0 -1
- package/dist/components/p-988058f9.js +0 -1
- package/dist/components/p-9c384f6c.entry.js +0 -1
- package/dist/components/p-a2018217.entry.js +0 -1
- package/dist/components/p-a3c04bbd.js +0 -1
- package/dist/components/p-a6614625.js +0 -1
- package/dist/components/p-bca6275a.entry.js +0 -1
- package/dist/components/p-bec53c3a.js +0 -1
- package/dist/components/p-c2706288.js +0 -1
- package/dist/components/p-c2c076f1.js +0 -1
- package/dist/components/p-c3ec6642.js +0 -19
- package/dist/components/p-c8ab09fb.js +0 -1
- package/dist/components/p-c939fa4e.js +0 -1
- package/dist/components/p-c9a967d9.js +0 -1
- package/dist/components/p-cc2e3192.entry.js +0 -1
- package/dist/components/p-d7c0c287.entry.js +0 -1
- package/dist/components/p-dfe98f07.entry.js +0 -1
- package/dist/components/p-e3d0c2d1.entry.js +0 -1
- package/dist/components/p-e3ea44b2.js +0 -1
- package/dist/components/p-ea8f3750.entry.js +0 -1
- package/dist/components/p-ec7be8df.js +0 -1
- package/dist/components/p-ee496965.entry.js +0 -1
- package/dist/components/p-f2bc7ec5.js +0 -1
- package/dist/components/p-f55574fb.js +0 -1
- package/dist/components/p-f6f2bc86.entry.js +0 -1
- package/dist/components/p-fe062eb0.js +0 -7
- package/dist/components/p-fe7e7a74.entry.js +0 -1
- package/dist/components/p-fedcc21e.js +0 -1
- package/dist/components/p-ff4a1c3a.js +0 -1
- package/dist/components/popover.js +0 -1737
- package/dist/components/result-list.js +0 -565
- package/dist/components/slots.js +0 -26
- package/dist/components/text-field.js +0 -171
- package/dist/components/tooltip.js +0 -360
- package/dist/components/tslib.es6.js +0 -65
- package/dist/esm/auto-resize-textarea-087fecdb.js +0 -135
- package/dist/esm/avatar-775455a5.js +0 -43
- package/dist/esm/avatar-group-e5ca86bf.js +0 -15
- package/dist/esm/badge-6d27ca92.js +0 -21
- package/dist/esm/banner-b292060d.js +0 -102
- package/dist/esm/button-81207236.js +0 -68
- package/dist/esm/card-1e8790aa.js +0 -28
- package/dist/esm/card-group-4e8e0421.js +0 -28
- package/dist/esm/chip-4e568eee.js +0 -23
- package/dist/esm/click-to-edit-text-field-d9b27cd0.js +0 -103
- package/dist/esm/collapsible-b52960e6.js +0 -23
- package/dist/esm/color-circle-picker-c4e92fea.js +0 -80
- package/dist/esm/color-picker-b292ad8d.js +0 -45
- package/dist/esm/color-swatch-ab647632.js +0 -93
- package/dist/esm/context-menu-12f1afe1.js +0 -89
- package/dist/esm/dialog-c69d9152.js +0 -223
- package/dist/esm/dom-64053c71.js +0 -73
- package/dist/esm/dom-9d0f7bf4.js +0 -13
- package/dist/esm/draggable-popover-9f9b7c97.js +0 -81
- package/dist/esm/dropdown-menu-1598ba20.js +0 -29
- package/dist/esm/expandable-b487cb00.js +0 -70
- package/dist/esm/help-tooltip-c2f0d996.js +0 -32
- package/dist/esm/icon-390b9402.js +0 -24
- package/dist/esm/icon-button-552e31fe.js +0 -41
- package/dist/esm/icon-helper-7437b548.js +0 -783
- package/dist/esm/index-72f28b71.js +0 -2118
- package/dist/esm/index-9c609209.js +0 -89
- package/dist/esm/logo-loading-3c7fa23d.js +0 -15
- package/dist/esm/menu-49420f98.js +0 -72
- package/dist/esm/menu-divider-87c888cb.js +0 -15
- package/dist/esm/menu-item-c33aa9dd.js +0 -23
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popover-6e806354.js +0 -1704
- package/dist/esm/radio-39c11ba4.js +0 -32
- package/dist/esm/radio-group-2f5467b5.js +0 -76
- package/dist/esm/resizable-833336bf.js +0 -421
- package/dist/esm/result-list-16c6afbd.js +0 -302
- package/dist/esm/search-bar-8d18626e.js +0 -525
- package/dist/esm/select-66bb59f8.js +0 -161
- package/dist/esm/shadow-css-008a49f5.js +0 -387
- package/dist/esm/slider-3d8545e3.js +0 -42
- package/dist/esm/slots-fbb5afb3.js +0 -26
- package/dist/esm/spinner-afccea51.js +0 -27
- package/dist/esm/tab-c76332b0.js +0 -24
- package/dist/esm/tabs-e9f6dcbe.js +0 -109
- package/dist/esm/templates-797420bf.js +0 -228
- package/dist/esm/text-field-32ac877e.js +0 -131
- package/dist/esm/toast-255648ff.js +0 -88
- package/dist/esm/tooltip-bed548f4.js +0 -331
- package/dist/esm/tslib.es6-99cd0de8.js +0 -65
- package/loader/package.json +0 -11
- /package/dist/components/{p-b2c7b113.js → p-DXuCPm6v.js} +0 -0
- /package/dist/components/{p-3438c441.js → p-DgySd_r0.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{C as vertex_color_swatch}from"./p-e3ea44b2.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-3438c441.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{E as vertex_expandable}from"./p-6a640a2c.js";import"./p-6834631c.js";import"./p-fe062eb0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,h as o}from"./p-6834631c.js";const n=class{constructor(o){l(this,o)}render(){return o("div",{class:"container"},o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 100 100"},o("defs",null,o("mask",{id:"orange-loading-diamond"},o("polygon",{points:"70.75 50.7 57.09 74.45 84.32 74.42 98 50.66 70.75 50.7",fill:"#fff",class:"color-loading-fill"})),o("mask",{id:"blue-loading-diamond"},o("polygon",{points:"16.05 98.04 2.43 74.44 16.06 50.78 29.68 74.44 16.05 98.04",fill:"#fff",class:"color-loading-fill"})),o("mask",{id:"green-loading-diamond"},o("polygon",{points:"16.05 3.53 2.43 27.13 16.06 50.78 29.68 27.12 16.05 3.53",fill:"#fff",class:"color-loading-fill"})),o("mask",{id:"left-center-loading-diamond"},o("polygon",{points:"29.68 27.18 16.06 50.78 29.69 74.44 43.31 50.78 29.68 27.18",fill:"#fff",class:"center-loading-fill"})),o("mask",{id:"right-center-loading-diamond"},o("polygon",{points:"43.31 50.78 29.68 74.46 57.09 74.45 70.75 50.7 43.31 50.78",fill:"#fff",class:"center-loading-fill"}))),o("polyline",{points:"57.09 27.11 70.75 50.7 70.67 50.84 57.09 74.45 84.32 74.42 98 50.66 84.34 27.08 57.09 27.11",fill:"#f90"}),o("polyline",{mask:"url(#orange-loading-diamond)",points:"70.75 50.7 57.09 74.45 84.32 74.42 98 50.66 70.75 50.7",fill:"#d37f00"}),o("polygon",{points:"29.68 74.44 57.09 74.45 43.46 98.05 16.05 98.04 2.43 74.44 16.06 50.78 29.68 74.44",fill:"#09c"}),o("polygon",{mask:"url(#blue-loading-diamond)",points:"16.05 98.04 2.43 74.44 16.06 50.78 29.68 74.44 16.05 98.04",fill:"#007fa9"}),o("polygon",{points:"29.68 27.12 57.09 27.11 43.46 3.52 16.05 3.53 2.43 27.13 16.06 50.78 29.68 27.12",fill:"#00b600"}),o("polygon",{mask:"url(#green-loading-diamond)",points:"16.05 3.53 2.43 27.13 16.06 50.78 29.68 27.12 16.05 3.53",fill:"#009700"}),o("polygon",{mask:"url(#left-center-loading-diamond)",points:"29.68 27.18 16.06 50.78 29.69 74.44 43.31 50.78 29.68 27.18",fill:"#bdbdbd"}),o("polygon",{mask:"url(#right-center-loading-diamond)",points:"43.31 50.78 29.68 74.46 57.09 74.45 70.75 50.7 43.31 50.78",fill:"#e0e0e0"})))}};n.style="@keyframes color-loading{0%{transform:translate(30px, -50px)}10%{transform:translateY(0)}70%{opacity:1}75%,100%{opacity:0}}@keyframes center-loading{0%{transform:translate(-30px, 50px)}10%{transform:translate(0, 0)}70%{opacity:1}75%,100%{opacity:0}}.container{width:100%;height:100%}.visual-center{transform:translateX(7%)}.color-loading-fill{animation:color-loading 2.5s infinite linear}.center-loading-fill{animation:center-loading 2.5s infinite linear}";export{n as L}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as s}from"./p-6834631c.js";const t=class{constructor(s){o(this,s)}render(){return s("div",{class:"root"},s("div",{class:"base"},s("slot",{name:"base"})),s("div",{class:"top"},s("slot",null)))}};t.style=".root{position:relative}.base{position:absolute;left:0;top:0}.top{position:absolute;left:0.5rem;top:0.5rem}";export{t as A}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,e as t,h as r}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{g as s}from"./p-fedcc21e.js";const o=class{constructor(r){e(this,r),this.closed=t(this,"closed",7),this.content=void 0,this.placement="top",this.duration=3e3,this.animated=!0,this.open=!1,this.type="info",this.isOpen=void 0,this.handleClose=this.handleClose.bind(this),this.startCloseTimeout=this.startCloseTimeout.bind(this),this.clearCloseTimeout=this.clearCloseTimeout.bind(this),this.restartCloseTimeout=this.restartCloseTimeout.bind(this)}componentDidLoad(){this.isOpen=this.open,this.isOpen&&this.restartCloseTimeout()}async handleOpenChanged(e){e&&(this.restartCloseTimeout(),this.isOpen=e)}render(){return r("vertex-popover",{class:"popover",open:this.isOpen,resizeBehavior:"fixed",backdrop:!1,placement:this.getPopoverPlacement(),animated:this.animated},r("div",{slot:"anchor",class:i("anchor",this.placement)}),r("div",{class:i("banner",{hidden:!this.isOpen,info:"info"===this.type,success:"success"===this.type,warn:"warn"===this.type,error:"error"===this.type})},r("div",{class:i("icon",{"icon-info":"info"===this.type,"icon-success":"success"===this.type,"icon-warn":"warn"===this.type,"icon-error":"error"===this.type})},s(this.getIconName())),this.content?r("div",{class:"message"},this.content):r("slot",null),r("div",{class:"actions"},r("slot",{name:"action"}),r("vertex-icon-button",{class:"close",iconName:"close",iconSize:"sm",variant:"plain",onClick:this.handleClose}))))}handleClose(){this.clearCloseTimeout(),this.isOpen=!1,this.closed.emit()}startCloseTimeout(){null==this.closeTimeout&&this.duration>0&&(this.closeTimeout=setTimeout((()=>{this.handleClose()}),this.duration))}clearCloseTimeout(){null!=this.closeTimeout&&(clearTimeout(this.closeTimeout),this.closeTimeout=void 0)}restartCloseTimeout(){this.clearCloseTimeout(),this.startCloseTimeout()}getPopoverPlacement(){switch(this.placement){case"top-left":return"bottom-start";case"top":return"bottom";case"top-right":return"bottom-end"}}getIconName(){switch(this.type){case"info":return"info";case"success":return"check-circle";case"warn":return"caution";case"error":return"error-circle"}}static get watchers(){return{open:["handleOpenChanged"]}}};o.style=":host{--banner-width:auto;--banner-min-width:25rem;--banner-max-width:35rem;--banner-white-space:normal}.anchor{position:fixed}.top-left{left:24px;top:24px}.top{left:50vw;top:24px}.top-right{right:24px;top:24px}.popover{position:fixed;--open-animation-name:open-fade-in;--close-animation-name:close-fade-out}.actions{display:flex;align-items:center;margin-left:auto}.close{cursor:pointer;margin-left:16px}.close:hover{color:var(--vertex-ui-blue-500)}.banner{position:relative;display:flex;align-items:center;width:var(--banner-width);min-width:var(--banner-min-width);max-width:var(--banner-max-width);padding:16px;font-family:var(--vertex-ui-font-family);font-size:var(--vertex-ui-text-base);border-radius:4px;white-space:var(--banner-white-space);user-select:none;filter:drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));border:1px solid var(--vertex-ui-neutral-300)}.banner.hidden{pointer-events:none}.icon{display:flex;margin-right:16px;justify-content:center;align-items:center;fill:currentColor;height:1.25rem;width:1.25rem}.icon-info{color:var(--vertex-ui-blue-600)}.icon-success{color:var(--vertex-ui-green-600)}.icon-warn{color:var(--vertex-ui-orange-600)}.icon-error{color:var(--vertex-ui-red-600)}.message{align-items:center}.info{background-color:var(--vertex-ui-blue-100);color:var(--vertex-ui-neutral-800)}.success{background-color:var(--vertex-ui-green-100);color:var(--vertex-ui-neutral-800)}.warn{background-color:var(--vertex-ui-orange-100);color:var(--vertex-ui-neutral-800)}.error{background-color:var(--vertex-ui-red-100);color:var(--vertex-ui-neutral-800)}";export{o as B}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,e as t,c as o,h as n}from"./p-6834631c.js";import{c as s}from"./p-fe062eb0.js";const r=class{constructor(n){i(this,n),this.positionChanged=t(this,"positionChanged",7),this.handlePointerDown=i=>{this.updateAnchorPosition(),this.lastPosition={x:i.clientX,y:i.clientY},this.dragging=!0,window.addEventListener("pointermove",this.handlePointerMove),window.addEventListener("pointerup",this.handlePointerUp)},this.handlePointerMove=i=>{const t={x:i.clientX,y:i.clientY};this.anchorPosition={x:this.anchorPosition.x+(t.x-this.lastPosition.x),y:this.anchorPosition.y+(t.y-this.lastPosition.y)},this.lastPosition=t},this.handlePointerUp=()=>{this.updateAnchorPosition(),this.lastPosition=this.anchorPosition,this.dragging=!1,window.removeEventListener("pointermove",this.handlePointerMove),window.removeEventListener("pointerup",this.handlePointerUp)},this.updateAnchorPosition=()=>{o((()=>{if(null!=this.containerEl){const i=this.containerEl.getBoundingClientRect();this.anchorPosition={x:i.x,y:i.y}}}))},this.position=void 0,this.boundarySelector=void 0,this.boundaryPadding=void 0,this.anchorPosition={x:0,y:0},this.lastPosition={x:0,y:0},this.dragging=!1}connectedCallback(){this.updatePosition(this.position)}updatePosition(i){null!=i&&(this.anchorPosition="object"==typeof i?i:JSON.parse(i),this.lastPosition=this.anchorPosition)}lastPositionChanged(){this.positionChanged.emit(this.anchorPosition)}render(){return n("vertex-popover",{position:this.anchorPosition,boundarySelector:this.boundarySelector,backdrop:!1,open:!0,resizeBehavior:"fixed",updateOnResize:!this.dragging,overflowBehavior:{altBoundary:!0,padding:this.boundaryPadding},flipBehavior:{fallbackPlacements:[],fallbackStrategy:"initialPlacement"}},n("div",{ref:i=>this.containerEl=i,class:s("container",{dragging:this.dragging})},n("div",{class:"icon-container"},n("div",{class:"icon",onPointerDown:this.handlePointerDown},n("slot",{name:"drag-icon"},n("vertex-icon",{size:"sm",name:"drag-indicator"})))),n("div",{class:"contents"},n("slot",null))))}static get watchers(){return{position:["updatePosition"],lastPosition:["lastPositionChanged"]}}};r.style="button{border:none;background-color:transparent;font-family:var(--vertex-ui-font-family);font-size:0.875rem;padding:0}:host{position:fixed;top:0;left:0;white-space:nowrap;--background-color:var(--vertex-ui-white);--color:var(--vertex-ui-neutral-700);--background-opacity:0.95;--contents-opacity:0.95;--font-family:var(--vertex-ui-font-family);--font-size:var(--vertex-ui-text-base);--drag-icon:all-scroll;--dragging-icon:all-scroll}.container{display:flex;column-gap:0.5rem;padding:0.8125rem 0.5625rem 1rem 0.625rem;background-color:rgb(from var(--background-color) r g b / var(--background-opacity));border-radius:0.5rem;box-shadow:0 0 5px rgba(0, 0, 0, 0.25);color:var(--color);font-family:var(--font-family);font-size:var(--font-size)}.container:not(.dragging) .icon{cursor:var(--drag-icon)}.container.dragging{cursor:var(--dragging-icon)}.container.dragging *{user-select:none}.icon-container{display:flex;flex-direction:column}.icon-button{display:flex;align-items:center}.contents{opacity:var(--contents-opacity)}";export{r as D}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,e as t,h as i,H as r}from"./p-6834631c.js";import{c as s}from"./p-fe062eb0.js";import{i as l}from"./p-3438c441.js";const a=class{constructor(i){e(this,i),this.valueInput=t(this,"valueInput",7),this.valueChanged=t(this,"valueChanged",7),this.handleInput=e=>{this.value=e.target.value||""},this.handleChange=()=>{this.valueChanged.emit(this.value)},this.value=void 0,this.size="md",this.variant="full",this.expand="block",this.disabled=!1}valueChange(){this.valueInput.emit(this.value)}render(){var e;return i(r,null,i("div",{class:s("wrapper",this.variant,this.size,`expand-${this.expand}`)},i("label",{class:s("color-picker",{disabled:this.disabled})},i("input",{type:"color",class:"input","data-testid":"input",disabled:this.disabled,value:this.value,onInput:this.handleInput,onChange:this.handleChange}),i("div",{class:s("selected-wrapper",this.variant)},i("div",{class:"selected",title:this.value},i("vertex-color-swatch",{class:"selected-color",supplementalColor:"var(--vertex-ui-neutral-400)",color:this.value,variant:"square",size:this.size},i("slot",{name:"overlay",slot:"overlay"},(null==this.value||""===this.value)&&i("svg",{class:"no-value",slot:"overlay",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},i("path",{d:"M16,0L0,16"}))))),"full"===this.variant&&i("div",{class:"text-wrapper"},i("div",{class:"hidden-text"},"#FFFFFF"),i("div",{class:"selected-text"},null!==(e=this.getDisplayedValue())&&void 0!==e?e:"Default"))),i("div",{class:"right-gutter"},i("slot",{name:"right-gutter"})))))}getDisplayedValue(){var e;if(null!=this.value&&l(this.value))return null===(e=this.value)||void 0===e?void 0:e.toLocaleUpperCase()}static get watchers(){return{value:["valueChange"]}}};a.style=':host{display:flex;--selected-color-width:initial;--selected-color-height:initial}.wrapper{display:inline-flex;align-items:center}.wrapper.expand-full{width:100%}.wrapper.full{padding:0.375rem 0.5rem;border:1px solid var(--vertex-ui-neutral-300);border-radius:4px}.color-picker{width:100%;display:inline-flex;position:relative;cursor:pointer}.color-picker.disabled{opacity:0.5;cursor:default}.selected-wrapper{position:relative;display:flex;align-items:center}.wrapper.full .selected-wrapper{gap:0.75rem}.selected{position:relative}.wrapper.sm .selected{width:var(--selected-color-width, 1rem);height:var(--selected-color-height, 1rem)}.wrapper.md .selected{width:var(--selected-color-width, 1.25rem);height:var(--selected-color-height, 1.25rem)}.wrapper.lg .selected{width:var(--selected-color-width, 1.5rem);height:var(--selected-color-height, 1.5rem)}.text-wrapper{position:relative;min-width:3.6rem}.selected-text{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;color:var(--vertex-ui-neutral-700);text-align:center;font-family:var(--vertex-ui-font-family)}.hidden-text{visibility:hidden;pointer-events:none;font-family:var(--vertex-ui-font-family-monospace)}.wrapper.sm .selected-text,.wrapper.sm .hidden-text{font-size:var(--vertex-ui-text-xs)}.wrapper.md .selected-text,.wrapper.md .hidden-text{font-size:var(--vertex-ui-text-xs)}.wrapper.lg .selected-text,.wrapper.lg .hidden-text{font-size:var(--vertex-ui-text-xs)}.no-value{width:100%;height:100%;stroke:var(--vertex-ui-red-400)}.right-gutter{display:flex;align-items:center;margin-left:auto}slot[name="right-gutter"]::slotted(*){padding:0}.input{display:flex;position:absolute;pointer-events:none;height:100%;width:100%;left:0;top:0;opacity:0}';export{a as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{T as vertex_tabs}from"./p-48629bf1.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-65f9817e.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-6834631c.js";import{c as r}from"./p-fe062eb0.js";const o=class{constructor(t){e(this,t),this.label=void 0,this.open=!1}render(){return t("vertex-expandable",{controlled:!0,expanded:this.open},t("button",{slot:"header","data-testid":"expand-click-target",class:"collapsible-target",onClick:()=>this.setOpen(!this.open),onSubmit:()=>this.setOpen(!this.open)},null!=this.label?t("span",null,this.label):t("slot",{name:"label"}),t("div",{class:r("collapsible-expand",{rotated:this.open})},t("slot",{name:"expand-icon"},t("vertex-icon",{name:"caret-right"})))),t("div",{class:"collapsible-content-container"},t("slot",null)))}setOpen(e){this.open=e}};o.style="button{border:none;background-color:transparent;font-family:var(--vertex-ui-font-family);font-size:0.875rem;padding:0}:host{--hover-color:var(--vertex-ui-blue-700)}.collapsible-target{width:100%;display:flex;align-items:center;cursor:pointer;padding:0.75rem 0.25rem;outline:none}.collapsible-target:focus-visible{border-radius:0.25rem;box-shadow:0 0 0 1px var(--hover-color, var(--vertex-ui-blue-700))}.collapsible-target:focus-visible,.collapsible-target:hover{color:var(--hover-color, var(--vertex-ui-blue-700))}.collapsible-expand{display:flex;justify-content:center;align-items:center;transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;margin-left:auto}.rotated{transform:rotateZ(90deg)}.collapsible-content{font-family:var(--vertex-ui-font-family);font-size:var(--vertex-ui-text-base);box-sizing:border-box}";export{o as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,e as t,h as i,H as s}from"./p-6834631c.js";import{c as l}from"./p-fe062eb0.js";const o=class{constructor(i){e(this,i),this.selectionChanged=t(this,"selectionChanged",7),this.handleClick=e=>{const t=e.target;this.selectionChanged.emit({color:t.color,lightened:t.lightened,darkened:t.darkened})},this.parseJsonProp=e=>"string"==typeof e?JSON.parse(e):e,this.colors=["#4c87be","#f3d336","#6fbb29","#e38826","#c72e16","#8c3681","#000000","#ffffff"],this.labels={},this.labelPlacement="bottom",this.size="lg",this.supplementalColors=[],this.theme="dark",this.lightenPercentage=.25,this.darkenPercentage=.25,this.selected=void 0,this.direction="horizontal",this.colorArray=[],this.supplementaryColorArray=[],this.labelMap={}}componentWillLoad(){this.handleColorsChange(this.colors),this.handleSupplementalColorsChange(this.supplementalColors),this.handleLabelsChange(this.labels)}handleColorsChange(e){this.colorArray=this.parseJsonProp(e)}handleSupplementalColorsChange(e){this.supplementaryColorArray=this.parseJsonProp(e)}handleLabelsChange(e){this.labelMap=this.parseJsonProp(e)}render(){return i(s,null,i("div",{class:l("container",{vertical:"vertical"===this.direction})},this.colorArray.map(((e,t)=>{const s=this.labelMap[e],o=i("vertex-color-swatch",{class:l("circle",{selected:this.selected===e}),variant:"circle",size:this.size,color:e,supplementalColor:this.supplementaryColorArray[t],onClick:this.handleClick,lightenPercentage:this.lightenPercentage,darkenPercentage:this.darkenPercentage,theme:this.theme});return null!=s?i("vertex-tooltip",{placement:this.labelPlacement,content:s},o):o}))))}static get watchers(){return{colors:["handleColorsChange"],supplementalColors:["handleSupplementalColorsChange"],labels:["handleLabelsChange"]}}};o.style=":host{display:flex;--color-circle-spacing:1rem;--color-circle-hovered-outline:2px solid var(--vertex-ui-neutral-400);--color-circle-selected-outline:var(--color-circle-hovered-outline)}.container{display:flex;gap:var(--color-circle-spacing)}.container.vertical{flex-direction:column;justify-content:center}.container.horizontal{align-items:center}.circle{cursor:pointer;outline-offset:3px;border-radius:100%}.circle.selected{outline:var(--color-circle-selected-outline)}.circle:hover{outline:var(--color-circle-hovered-outline)}";export{o as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as e}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{g as a}from"./p-fedcc21e.js";const t=class{constructor(o){r(this,o),this.iconName=void 0,this.disabled=void 0,this.variant="default",this.iconColor="default",this.iconSize="md"}render(){return o(e,{onClick:r=>this.handleClick(r)},o("button",{ref:r=>this.buttonEl=r,disabled:this.disabled,class:i("container",{disabled:this.disabled,floating:"floating"===this.variant,plain:"plain"===this.variant,primary:"primary"===this.iconColor,secondary:"secondary"===this.iconColor})},o("slot",{name:"left"}),o("div",{class:i("icon-button",{xs:"xs"===this.iconSize,sm:"sm"===this.iconSize,md:"md"===this.iconSize,lg:"lg"===this.iconSize})},a(this.iconName),o("div",{class:"badge"},o("slot",{name:"badge"}))),o("slot",null)))}handleClick(r){var o;this.disabled&&(r.preventDefault(),r.stopPropagation()),null===(o=this.buttonEl)||void 0===o||o.blur()}};t.style="button{border:none;background-color:transparent;font-family:var(--vertex-ui-font-family);font-size:0.875rem;padding:0}:host{--enabled-cursor:pointer;--disabled-cursor:not-allowed;--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);--icon-margin:0px}.container{display:flex;justify-content:center;align-items:center;outline:none;fill:currentColor;color:currentColor;cursor:var(--enabled-cursor)}.container:not(.plain){border-radius:4px;padding:0.25rem}.icon-button{display:flex;position:relative;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%;margin:var(--icon-margin, 0px)}.badge{position:absolute;top:0px;right:4px;justify-content:flex-end;align-items:flex-end}.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:var(--disabled-cursor)}.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:var(--disabled-cursor);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)}";export{t as I}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as i,r as t,e as s,h as e,g as o}from"./p-6834631c.js";import{c as h}from"./p-fe062eb0.js";function n(t){i(t)}function r(i){return i.getBoundingClientRect()}const l=class{constructor(i){t(this,i),this.backdropClick=s(this,"backdropClick",7),this.closed=s(this,"closed",7),this.handleKeyDown=()=>{this.open&&(this.open=!1)},this.handlePointerDown=()=>{this.isResizing=!0,n((()=>{if(null!=this.dialogElement){const i=r(this.dialogElement);this.initialDialogBoundingRect=i,this.lastPointerPosition={x:i.right,y:i.bottom}}})),window.addEventListener("pointermove",this.handlePointerMove),window.addEventListener("pointerup",this.handlePointerUp)},this.handlePointerMove=i=>{if(null!=this.lastPointerPosition&&null!=this.initialDialogBoundingRect&&null!=this.width&&null!=this.height){const t=this.height+2*(i.clientY-this.lastPointerPosition.y);this.width=this.constrainDimension(this.width+2*(i.clientX-this.lastPointerPosition.x),this.getMinWidth(),this.getMaxWidth()),this.height=this.constrainDimension(t,this.getMinHeight(),this.getMaxHeight()),this.lastPointerPosition={x:this.constrainX(i.clientX,this.width,this.initialDialogBoundingRect),y:this.constrainY(i.clientY,this.height,this.initialDialogBoundingRect)}}},this.handlePointerUp=()=>{this.lastPointerPosition=void 0,this.initialDialogBoundingRect=void 0,this.isResizing=!1,window.removeEventListener("pointermove",this.handlePointerMove),window.removeEventListener("pointerup",this.handlePointerUp)},this.constrainDimension=(i,t,s)=>Math.min(Math.max(i,t),s),this.constrainX=(i,t,s)=>t<=this.getMinWidth()?s.right:t>=this.getMinHeight()?s.right+(t-s.width)/2:i,this.constrainY=(i,t,s)=>t<=this.getMinHeight()?s.bottom:t>=this.getMaxHeight()?s.bottom+(t-s.height)/2:i,this.getMaxWidth=()=>{var i;return null!==(i=this.maxWidth)&&void 0!==i?i:Number.POSITIVE_INFINITY},this.getMaxHeight=()=>{var i;return null!==(i=this.maxHeight)&&void 0!==i?i:Number.POSITIVE_INFINITY},this.getMinWidth=()=>{var i;return null!==(i=this.minWidth)&&void 0!==i?i:Number.NEGATIVE_INFINITY},this.getMinHeight=()=>{var i;return null!==(i=this.minHeight)&&void 0!==i?i:Number.NEGATIVE_INFINITY},this.resize=()=>{n((()=>{if(null!=this.backdropElement){const i=window.getComputedStyle(this.backdropElement),t=parseFloat(i.padding);this.boundaryPadding=isNaN(t)?0:t,this.maxHeight=window.innerHeight-2*this.boundaryPadding,this.maxWidth=window.innerWidth-2*this.boundaryPadding,this.width=null!=this.width?Math.min(this.maxWidth,this.width):void 0,this.height=null!=this.height?Math.min(this.maxHeight,this.height):void 0}}))},this.open=!1,this.fullscreen=!1,this.resizable=!1,this.width=void 0,this.height=void 0,this.minWidth=void 0,this.minHeight=void 0,this.maxWidth=void 0,this.maxHeight=void 0,this.isResizing=!1,this.handleKeyDown=this.handleKeyDown.bind(this),this.mutationObserver=new MutationObserver(this.resize),this.resizeObserver=new ResizeObserver(this.resize)}componentDidLoad(){window.addEventListener("resize",this.resize),this.mutationObserver.observe(this.hostEl,{attributes:!0,attributeFilter:["style"]}),this.resizeObserver.observe(this.hostEl)}componentWillRender(){this.open&&null==this.width&&null==this.height&&n((()=>{if(null!=this.dialogElement){const i=r(this.dialogElement);this.minWidth=i.width,this.minHeight=i.height,this.width=this.minWidth,this.height=this.minHeight,this.resize()}}))}disconnectedCallback(){this.width=void 0,this.height=void 0,this.lastPointerPosition=void 0,this.isResizing=!1}clearComputedValues(){this.width=void 0,this.height=void 0,this.minWidth=void 0,this.minHeight=void 0,this.maxWidth=void 0,this.maxHeight=void 0}updateOpened(i){i||this.closed.emit()}keyDownListener(i){this.open&&"Escape"===i.key&&(i.preventDefault(),i.stopPropagation(),this.open=!1)}render(){var i,t;const s=null!=this.width||null!=this.minWidth?`${null!==(i=this.width)&&void 0!==i?i:this.minWidth}px`:void 0,o=null!=this.height||null!=this.minHeight?`${null!==(t=this.height)&&void 0!==t?t:this.minHeight}px`:void 0;return e("div",{ref:i=>{this.backdropElement=i},onPointerDown:()=>{this.backdropClick.emit()},class:h("dialog-backdrop",{hidden:!this.open,shown:this.open,"resize-cursor":this.isResizing})},e("div",{ref:i=>{this.dialogElement=i},class:h("dialog",{resizable:this.resizable,fullscreen:this.fullscreen,overlay:!this.fullscreen,"no-select":null!=this.lastPointerPosition}),onPointerDown:i=>{i.stopPropagation()},style:this.resizable&&!this.fullscreen?{width:s,height:o}:void 0},e("div",{class:"contents"},e("slot",{name:"header"},e("div",{class:"header"},e("slot",{name:"heading"}),e("div",{class:"close"},e("slot",{name:"close-dialog"},e("vertex-icon-button",{onPointerDown:()=>{this.open=!1},iconSize:"sm",iconName:"close"}))))),e("div",{class:"body"},e("slot",null)),e("div",{class:"footer"},e("slot",{name:"footer"},e("slot",{name:"footer-actions"}))),this.resizable&&!this.fullscreen&&e("vertex-icon",{class:"resize",onPointerDown:this.handlePointerDown,name:"resize",size:"xs"}))))}get hostEl(){return o(this)}static get watchers(){return{resizable:["clearComputedValues"],open:["updateOpened"]}}};l.style=":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}.shown{display:flex;justify-content:center;align-items:center}.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;display:flex;align-items:center;justify-content:center}.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{border:1px solid var(--vertex-ui-neutral-300);border-radius:6px;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}";export{l as D}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{A as vertex_avatar_group}from"./p-81cb4da4.js";import"./p-6834631c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{R as vertex_resizable}from"./p-c9a967d9.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-65f9817e.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,e as s,h as i,H as e}from"./p-6834631c.js";import{c as h}from"./p-fe062eb0.js";const o=class{constructor(i){t(this,i),this.tabClick=s(this,"tabClick",7),this.handleClick=()=>{this.tabClick.emit(this.label)},this.label=void 0,this.active=!1}render(){return i(e,null,i("div",{class:h("content",{active:this.active})},i("slot",null)))}};o.style=":host{position:relative;width:100%;height:100%}.content{display:none;height:0px}.content.active{display:flex;width:100%;height:100%}";export{o as T}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r}from"./p-6834631c.js";import{c as t}from"./p-fe062eb0.js";const e=class{constructor(r){o(this,r),this.disabled=!1}render(){return r("div",{class:t("root",{disabled:this.disabled}),onClick:o=>{this.disabled&&o.stopPropagation()}},r("slot",{name:"icon"}),r("slot",null))}};e.style=":host{--background-color:var(--vertex-ui-white);--color:var(--vertex-ui-neutral-700);--hover-background-color:var(--vertex-ui-neutral-200)}.root{font-family:var(--vertex-ui-font-family);font-size:var(--vertex-ui-text-base);line-height:1.1;display:flex;align-items:center;color:var(--color);margin:0.075em 0;padding:0.5rem 0.75rem;background-color:var(--background-color);transition:background-color;transition-duration:0.5s;user-select:none}.root:not(.disabled):hover{cursor:pointer;background-color:var(--hover-background-color)}.root.disabled{opacity:0.5}slot[name='icon']::slotted(*){padding-right:0.8125rem}";export{e as M}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{A as vertex_auto_resize_textarea}from"./p-bec53c3a.js";import"./p-6834631c.js";import"./p-b2c7b113.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{L as vertex_logo_loading}from"./p-817bf6ff.js";import"./p-6834631c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,e,h as a,H as i}from"./p-6834631c.js";const s=class{constructor(a){t(this,a),this.contentClick=e(this,"contentClick",7),this.handleContentClick=t=>{this.contentClick.emit(t)},this.handleTextClick=t=>{"edit"===this.mode?t.stopImmediatePropagation():this.contentClick.emit(t)},this.mode="display"}render(){return a(i,null,a("div",{class:"content"},a("div",{class:"header",onClick:this.handleContentClick},a("div",{class:"avatar"},a("slot",{name:"avatar"})),a("div",{class:"header-text"},a("div",{class:"label"},a("slot",{name:"label"})),a("div",{class:"timestamp"},a("slot",{name:"timestamp"}))),a("div",{class:"action"},a("slot",{name:"action"}))),a("div",{class:"text",onClick:this.handleTextClick},a("slot",null)),a("div",{class:"actions"},a("slot",{name:"actions"}))),a("slot",{name:"overlay"}))}};s.style=":host{width:100%;height:100%;display:flex;position:relative;--border:1px solid var(--vertex-ui-neutral-200)}.content{display:flex;flex-direction:column;width:100%;height:100%;font-family:var(--vertex-ui-font-family);font-size:var(--vertex-ui-text-base);color:var(--vertex-ui-neutral-800);border:var(--border)}.header{display:flex;align-items:center;padding:0.5rem 0.5rem 0 0.5rem}.header-text{display:flex;flex-direction:column}.text{padding:0.75rem 0.5rem 0.75rem 1rem;color:var(--vertex-ui-neutral-700);white-space:pre-line}.avatar{padding-left:0.25rem;padding-right:0.75rem}.label slot::slotted(*){font-weight:var(--vertex-ui-font-weight-bold)}.timestamp slot::slotted(*){padding-top:0.125rem;font-size:var(--vertex-ui-text-sm);color:var(--vertex-ui-neutral-500)}.action{margin-left:auto;margin-bottom:auto}.actions *::slotted(*){display:flex;justify-content:flex-end;padding:0 0.5rem 0.5rem 0.5rem}";export{s as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as e}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";const t=class{constructor(e){r(this,e),this.variant="filled",this.color="secondary"}render(){return e("div",{class:i("root",{filled:"filled"===this.variant,outlined:"outlined"===this.variant,"chip-primary":"primary"===this.color,"chip-secondary":"secondary"===this.color})},e("div",{class:"avatar"},e("slot",{name:"avatar"})),e("slot",null),e("slot",{name:"icon"}))}};t.style=".root{display:flex;align-items:center;width:fit-content;border-radius:16px;font-size:var(--vertex-ui-text-base);padding:0.5rem;padding-left:0.25rem;max-height:1rem}.filled{color:white}.chip-primary{color:white}.chip-secondary{color:var(--vertex-ui-neutral-800)}.filled.chip-secondary{color:var(--vertex-ui-neutral-800);background-color:var(--vertex-ui-neutral-300)}.filled.chip-primary{background-color:var(--vertex-ui-blue-700)}.outlined.chip-primary{border:1px solid var(--vertex-ui-blue-700);color:var(--vertex-ui-blue-700)}.outlined.chip-secondary{border:1px solid var(--vertex-ui-neutral-300);color:var(--vertex-ui-neutral-700)}.avatar{margin-right:0.25rem}";export{t as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{A as vertex_avatar}from"./p-c2c076f1.js";import"./p-6834631c.js";import"./p-fe062eb0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as s,c as h,g as e}from"./p-6834631c.js";import{g as n}from"./p-b2c7b113.js";const o=class{constructor(i){t(this,i),this.previousScrollTop=0,this.rowCount=0,this.textareaSelector=void 0,this.initialValue=void 0,this.minRows=1,this.maxRows=void 0,this.textValue=void 0,this.prepareHiddenTextElement=this.prepareHiddenTextElement.bind(this),this.updateScrollTop=this.updateScrollTop.bind(this),this.computeRowHeights=this.computeRowHeights.bind(this),this.updateValue=this.updateValue.bind(this),this.updatePreviousScrollTop=this.updatePreviousScrollTop.bind(this),this.updateOverflow=this.updateOverflow.bind(this),this.resizeObserver=new ResizeObserver(this.computeRowHeights)}componentWillLoad(){this.computeRowHeights()}componentDidLoad(){this.slottedElement=this.getSlottedTextareaElement(),this.textValue=this.initialValue,this.prepareHiddenTextElement(),this.computeRowHeights(),null!=this.slottedElement&&(this.resizeObserver.observe(this.slottedElement),this.addEventListener())}componentDidRender(){this.computeRowHeights()}disconnectedCallback(){this.removeEventListener(),this.resizeObserver.disconnect()}render(){return i(s,null,i("textarea",{class:"hidden-text",ref:t=>{this.hiddenTextRef=t}},this.textValue),i("slot",null))}addEventListener(){var t,i;null===(t=this.slottedElement)||void 0===t||t.addEventListener("input",this.updateValue),null===(i=this.slottedElement)||void 0===i||i.addEventListener("keydown",this.updatePreviousScrollTop)}removeEventListener(){var t,i;null===(t=this.slottedElement)||void 0===t||t.removeEventListener("input",this.updateValue),null===(i=this.slottedElement)||void 0===i||i.removeEventListener("keydown",this.updatePreviousScrollTop)}updateValue(){null!=this.slottedElement&&(this.textValue=this.slottedElement.value,this.updateOverflow())}updatePreviousScrollTop(){null!=this.slottedElement&&(this.previousScrollTop=this.slottedElement.scrollTop)}updateScrollTop(){null!=this.slottedElement&&(this.slottedElement.scrollTop=null==this.maxRows||this.rowCount>=this.maxRows?this.slottedElement.scrollTop:this.previousScrollTop)}computeRowHeights(){this.updateScrollTop(),h((()=>{var t;if("undefined"!=typeof window&&null!=this.slottedElement&&null!=this.hiddenTextRef){const i=window.getComputedStyle(this.slottedElement),s=Math.floor(parseFloat(i.lineHeight)),h=Math.floor(this.hiddenTextRef.scrollHeight/s);this.rowCount=Math.max(this.minRows,Math.min(null!==(t=this.maxRows)&&void 0!==t?t:h,h)),this.slottedElement.rows=this.rowCount,this.updateOverflow()}}))}prepareHiddenTextElement(){h((()=>{if("undefined"!=typeof window&&null!=this.slottedElement&&null!=this.hiddenTextRef){const t=window.getComputedStyle(this.slottedElement);this.hiddenTextRef.setAttribute("style",`line-height: ${t.lineHeight}; font-size: ${t.fontSize}; font-family: ${t.fontFamily}; padding-left: ${t.paddingLeft}; padding-right: ${t.paddingRight};`)}}))}getSlottedTextareaElement(){const t=n({hostElement:this.hostElement,selector:this.textareaSelector});if(function(t){return"TEXTAREA"===(null==t?void 0:t.tagName)}(t))return t;throw new Error("The vertex-auto-resize-textarea component is only compatible with `HTMLTextAreaElement`s")}updateOverflow(){var t;null===(t=this.slottedElement)||void 0===t||t.setAttribute("style",this.maxRows&&this.rowCount>=this.maxRows?"overflow-y: auto;":"overflow: hidden;")}get hostElement(){return e(this)}};o.style=":host{position:relative;width:100%;height:100%;font-size:0}.hidden-text{position:absolute;box-sizing:border-box;top:0;left:0;height:0;width:100%;padding:0;margin:0;border:none;visibility:hidden;pointer-events:none;overflow:hidden}";export{o as A}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,e,h as n,H as i,g as o}from"./p-6834631c.js";import{c as r}from"./p-fe062eb0.js";const s=Math.min,a=Math.max,l=Math.round,c=Math.floor,u=t=>({x:t,y:t}),h={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(t,e,n){return a(t,s(e,n))}function m(t,e){return"function"==typeof t?t(e):t}function p(t){return t.split("-")[0]}function v(t){return t.split("-")[1]}function y(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(p(t))?"y":"x"}function b(t){return y(w(t))}function x(t){return t.replace(/start|end/g,(t=>f[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>h[t]))}function k(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function R(t,e,n){let{reference:i,floating:o}=t;const r=w(e),s=b(e),a=g(s),l=p(e),c="y"===r,u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,f=i[a]/2-o[a]/2;let d;switch(l){case"top":d={x:u,y:i.y-o.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-o.width,y:h};break;default:d={x:i.x,y:i.y}}switch(v(e)){case"start":d[s]-=f*(n&&c?-1:1);break;case"end":d[s]+=f*(n&&c?-1:1)}return d}async function O(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:f=!1,padding:d=0}=m(e,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),v=a[f?"floating"===h?"reference":"floating":h],y=k(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(v)))||n?v:v.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),g="floating"===h?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),b=await(null==r.isElement?void 0:r.isElement(w))&&await(null==r.getScale?void 0:r.getScale(w))||{x:1,y:1},x=k(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(y.top-x.top+p.top)/b.y,bottom:(x.bottom-y.bottom+p.bottom)/b.y,left:(y.left-x.left+p.left)/b.x,right:(x.right-y.right+p.right)/b.x}}function S(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function z(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function P(t){var e;return null==(e=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function M(t){return t instanceof Node||t instanceof z(t).Node}function C(t){return t instanceof Element||t instanceof z(t).Element}function T(t){return t instanceof HTMLElement||t instanceof z(t).HTMLElement}function D(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof z(t).ShadowRoot)}function F(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=j(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(o)}function B(t){return["table","td","th"].includes(S(t))}function E(t){const e=L(),n=j(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function L(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $(t){return["html","body","#document"].includes(S(t))}function j(t){return z(t).getComputedStyle(t)}function X(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){if("html"===S(t))return t;const e=t.assignedSlot||t.parentNode||D(t)&&t.host||P(t);return D(e)?e.host:e}function N(t){const e=Y(t);return $(e)?t.ownerDocument?t.ownerDocument.body:t.body:T(e)&&F(e)?e:N(e)}function I(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=N(t),r=o===(null==(i=t.ownerDocument)?void 0:i.body),s=z(o);return r?e.concat(s,s.visualViewport||[],F(o)?o:[],s.frameElement&&n?I(s.frameElement):[]):e.concat(o,I(o,[],n))}function V(t){const e=j(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=T(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,a=l(n)!==r||l(i)!==s;return a&&(n=r,i=s),{width:n,height:i,$:a}}function q(t){return C(t)?t:t.contextElement}function H(t){const e=q(t);if(!T(e))return u(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=V(e);let s=(r?l(n.width):n.width)/i,a=(r?l(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const U=u(0);function J(t){const e=z(t);return L()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:U}function W(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=q(t);let s=u(1);e&&(i?C(i)&&(s=H(i)):s=H(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==z(t))&&e}(r,n,i)?J(r):u(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,h=o.width/s.x,f=o.height/s.y;if(r){const t=z(r),e=i&&C(i)?z(i):i;let n=t,o=n.frameElement;for(;o&&i&&e!==n;){const t=H(o),e=o.getBoundingClientRect(),i=j(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,f*=t.y,l+=r,c+=s,n=z(o),o=n.frameElement}}return k({width:h,height:f,x:l,y:c})}const _=[":popover-open",":modal"];function G(t){return _.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function K(t){return W(P(t)).left+X(t).scrollLeft}function Q(t,e,n){let i;if("viewport"===e)i=function(t,e){const n=z(t),i=P(t),o=n.visualViewport;let r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;const t=L();(!t||t&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a,y:l}}(t,n);else if("document"===e)i=function(t){const e=P(t),n=X(t),i=t.ownerDocument.body,o=a(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=a(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+K(t);const l=-n.scrollTop;return"rtl"===j(i).direction&&(s+=a(e.clientWidth,i.clientWidth)-o),{width:o,height:r,x:s,y:l}}(P(t));else if(C(e))i=function(t,e){const n=W(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=T(t)?H(t):u(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=J(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return k(i)}function Z(t,e){const n=Y(t);return!(n===e||!C(n)||$(n))&&("fixed"===j(n).position||Z(n,e))}function tt(t,e,n){const i=T(e),o=P(e),r="fixed"===n,s=W(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const l=u(0);if(i||!i&&!r)if(("body"!==S(e)||F(o))&&(a=X(e)),i){const t=W(e,!0,r,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else o&&(l.x=K(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function et(t){return"static"===j(t).position}function nt(t,e){return T(t)&&"fixed"!==j(t).position?e?e(t):t.offsetParent:null}function it(t,e){const n=z(t);if(G(t))return n;if(!T(t)){let e=Y(t);for(;e&&!$(e);){if(C(e)&&!et(e))return e;e=Y(e)}return n}let i=nt(t,e);for(;i&&B(i)&&et(i);)i=nt(i,e);return i&&$(i)&&et(i)&&!E(i)?n:i||function(t){let e=Y(t);for(;T(e)&&!$(e);){if(E(e))return e;e=Y(e)}return null}(t)||n}const ot={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=P(i),a=!!e&&G(e.floating);if(i===s||a&&r)return n;let l={scrollLeft:0,scrollTop:0},c=u(1);const h=u(0),f=T(i);if((f||!f&&!r)&&(("body"!==S(i)||F(s))&&(l=X(i)),T(i))){const t=W(i);c=H(i),h.x=t.x+i.clientLeft,h.y=t.y+i.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+h.x,y:n.y*c.y-l.scrollTop*c.y+h.y}},getDocumentElement:P,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?G(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=I(t,[],!1).filter((t=>C(t)&&"body"!==S(t))),o=null;const r="fixed"===j(t).position;let s=r?Y(t):t;for(;C(s)&&!$(s);){const e=j(s),n=E(s);n||"fixed"!==e.position||(o=null),(r?!n&&!o:!n&&"static"===e.position&&o&&["absolute","fixed"].includes(o.position)||F(s)&&!n&&Z(t,s))?i=i.filter((t=>t!==s)):o=e,s=Y(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],l=r.reduce(((t,n)=>{const i=Q(e,n,o);return t.top=a(i.top,t.top),t.right=s(i.right,t.right),t.bottom=s(i.bottom,t.bottom),t.left=a(i.left,t.left),t}),Q(e,r[0],o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:it,getElementRects:async function(t){const e=this.getOffsetParent||it,n=this.getDimensions,i=await n(t.floating);return{reference:tt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=V(t);return{width:e,height:n}},getScale:H,isElement:C,isRTL:function(t){return"rtl"===j(t).direction}};const rt=O,st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=m(t,e),c={x:n,y:i},u=await O(e,l),h=w(p(o)),f=y(h);let v=c[f],g=c[h];r&&(v=d(v+u["y"===f?"top":"left"],v,v-u["y"===f?"bottom":"right"])),s&&(g=d(g+u["y"===h?"top":"left"],g,g-u["y"===h?"bottom":"right"]));const b=a.fn({...e,[f]:v,[h]:g});return{...b,data:{x:b.x-n,y:b.y-i}}}}},at=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...k}=m(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const R=p(o),S=p(a)===a,z=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=f||(S||!w?[A(a)]:function(t){const e=A(t);return[x(t),e,x(e)]}(a));f||"none"===y||P.push(...function(t,e,n,i){const o=v(t);let r=function(t,e,n){const i=["left","right"],o=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:i:e?i:o;case"left":case"right":return e?r:s;default:return[]}}(p(t),"start"===n,i);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(x)))),r}(a,w,y,z));const M=[a,...P],C=await O(e,k),T=[];let D=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&T.push(C[R]),h){const t=function(t,e,n){void 0===n&&(n=!1);const i=v(t),o=b(t),r=g(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=A(s)),[s,A(s)]}(o,s,z);T.push(C[t[0]],C[t[1]])}if(D=[...D,{placement:o,overflows:T}],!T.every((t=>t<=0))){var F,B;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,e=M[t];if(e)return{data:{index:t,overflows:D},reset:{placement:e}};let n=null==(B=D.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:B.placement;if(!n)switch(d){case"bestFit":{var E;const t=null==(E=D.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:E[0];t&&(n=t);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}};function lt(t,e,n){return[(i=null!=t?t:4,void 0===i&&(i=0),{name:"offset",options:i,async fn(t){var e,n;const{x:o,y:r,placement:s,middlewareData:a}=t,l=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=p(n),a=v(n),l="y"===w(n),c=["left","top"].includes(s)?-1:1,u=r&&l?-1:1,h=m(e,t);let{mainAxis:f,crossAxis:d,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return a&&"number"==typeof y&&(d="end"===a?-1*y:y),l?{x:d*u,y:f*c}:{x:f*c,y:d*u}}(t,i);return s===(null==(e=a.offset)?void 0:e.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:r+l.y,data:{...l,placement:s}}}}),null==e&&at(n),st(),null!=e&&ct(e)].filter((t=>"boolean"!=typeof t));var i}function ct(t){return{name:"boundaryContain",fn:async e=>{const n=await rt(e,t);return{x:e.x+(n.left>0?n.left:0)-(n.right>0?n.right:0),y:e.y+(n.top>0?n.top:0)-(n.bottom>0?n.bottom:0)}}}}const ut=class{constructor(n){t(this,n),this.dismissed=e(this,"dismissed",7),this.shouldUpdatePosition=!1,this.middleware=[],this.partialWindow=window,this.open=!1,this.placement="bottom-start",this.position=void 0,this.anchorBounds=void 0,this.backdrop=!0,this.animated=!1,this.anchorSelector=void 0,this.boundarySelector=void 0,this.resizeBehavior="dynamic",this.overflowBehavior=void 0,this.flipBehavior=void 0,this.offsetBehavior=void 0,this.updateOnResize=!1,this.opened=!1,this.computedPlacement=this.placement,this.resizeObserverFactory=t=>new ResizeObserver(t),this.updateListener=this.updateListener.bind(this),this.handlePositionUpdate=this.handlePositionUpdate.bind(this),this.handleResize=this.handleResize.bind(this),this.handleMiddlewareChange=this.handleMiddlewareChange.bind(this),this.setWindow=this.setWindow.bind(this),this.updateResizeObserver=this.updateResizeObserver.bind(this)}connectedCallback(){this.updatePosition(this.position),this.updateResizeObserver()}componentDidUpdate(){this.shouldUpdatePosition&&(this.shouldUpdatePosition=!1,null!=this.updateDispose?this.handlePositionUpdate():this.updateListener())}componentDidLoad(){this.updateViewport(),this.handleMiddlewareChange(),this.updateListener(),"dynamic"===this.resizeBehavior&&window.addEventListener("resize",this.handleResize)}disconnectedCallback(){var t;this.viewportWidth=void 0,this.viewportHeight=void 0,this.opened=!1,"dynamic"===this.resizeBehavior&&window.removeEventListener("resize",this.handleResize),null===(t=this.boundaryResizeObserver)||void 0===t||t.disconnect()}updatePosition(t){null!=t&&(this.anchorPosition="object"==typeof t?t:JSON.parse(t),this.shouldUpdatePosition=!0)}updatePlacement(){this.updatePosition(this.position)}updateOpened(t){t&&(this.opened=!0),this.updateListener()}updateAnimated(){this.opened=this.open}updateMiddleware(){this.handleMiddlewareChange()}updateResizeObserver(){const t=this.getOrCreateResizeObserver();if(t.disconnect(),null!=this.boundarySelector){const e=document.querySelector(this.boundarySelector);null!=e&&t.observe(e)}}setWindow(t){this.partialWindow=t}render(){var t,e;return n(i,null,this.open&&this.backdrop&&n("div",{class:"backdrop",onPointerDown:()=>{this.open=!1,this.dismissed.emit()}}),this.anchorPosition&&n("div",{ref:t=>this.anchorPointRef=t,class:"anchor",style:{left:`${(null===(t=this.anchorPosition)||void 0===t?void 0:t.x)||0}px`,top:`${(null===(e=this.anchorPosition)||void 0===e?void 0:e.y)||0}px`}}),n("slot",{name:"anchor"}),n("div",{ref:t=>this.wrapperRef=t,class:r("popper",{hidden:!this.open,open:this.open})},n("div",{class:r("content",{"hidden-animated":!this.open&&this.opened&&this.animated,"open-animated":this.open&&this.animated},this.getTransformClass()),onAnimationEnd:()=>{this.opened=this.open}},n("slot",null))))}updateListener(){var t,e,n,i;const o=null!==(e=null!==(t=this.getSlottedAnchorElement())&&void 0!==t?t:this.anchorPointRef)&&void 0!==e?e:this.getAnchorBoundsVirtualElement();this.open&&null!=o&&null!=this.wrapperRef?(null===(n=this.updateDispose)||void 0===n||n.call(this),this.updateDispose=function(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:h=!1}=i,f=q(t),d=o||r?[...f?I(f):[],...I(e)]:[];d.forEach((t=>{o&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const m=f&&u?function(t,e){let n,i=null;const o=P(t);function r(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return function l(u,h){void 0===u&&(u=!1),void 0===h&&(h=1),r();const{left:f,top:d,width:m,height:p}=t.getBoundingClientRect();if(u||e(),!m||!p)return;const v={rootMargin:-c(d)+"px "+-c(o.clientWidth-(f+m))+"px "+-c(o.clientHeight-(d+p))+"px "+-c(f)+"px",threshold:a(0,s(1,h))||1};let y=!0;function g(t){const e=t[0].intersectionRatio;if(e!==h){if(!y)return l();e?l(!1,e):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}y=!1}try{i=new IntersectionObserver(g,{...v,root:o.ownerDocument})}catch(t){i=new IntersectionObserver(g,v)}i.observe(t)}(!0),r}(f,n):null;let p,v=-1,y=null;l&&(y=new ResizeObserver((t=>{let[i]=t;i&&i.target===f&&y&&(y.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var t;null==(t=y)||t.observe(e)}))),n()})),f&&!h&&y.observe(f),y.observe(e));let g=h?W(t):null;return h&&function e(){const i=W(t);!g||i.x===g.x&&i.y===g.y&&i.width===g.width&&i.height===g.height||n(),g=i,p=requestAnimationFrame(e)}(),n(),()=>{var t;d.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==m||m(),null==(t=y)||t.disconnect(),y=null,h&&cancelAnimationFrame(p)}}(o,this.wrapperRef,this.handlePositionUpdate),this.handlePositionUpdate()):null===(i=this.updateDispose)||void 0===i||i.call(this)}async handlePositionUpdate(){var t,e,n;const i=null!==(e=null!==(t=this.getSlottedAnchorElement())&&void 0!==t?t:this.anchorPointRef)&&void 0!==e?e:this.getAnchorBoundsVirtualElement();if(null!=i&&null!=this.wrapperRef){const t=await async function(t,e,n,i){return await((t,e,n)=>{const i=new Map,o={platform:ot,...n},r={...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,a=r.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=R(c,i,l),f=i,d={},m=0;for(let n=0;n<a.length;n++){const{name:r,fn:p}=a[n],{x:v,y,data:g,reset:w}=await p({x:u,y:h,initialPlacement:i,placement:f,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:t,floating:e}});u=null!=v?v:u,h=null!=y?y:h,d={...d,[r]:{...d[r],...g}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(c=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):w.rects),({x:u,y:h}=R(c,f,l))),n=-1)}return{x:u,y:h,placement:f,strategy:o,middlewareData:d}})(t,e,{...o,platform:r})})(t,e,{placement:n,middleware:i,strategy:"fixed"})}(i,this.wrapperRef,this.placement,this.middleware);this.computedPlacement=t.placement,null===(n=this.wrapperRef)||void 0===n||n.setAttribute("style",`left: ${t.x}px; top: ${t.y}px;`)}}handleMiddlewareChange(){var t,e,n;const i=null!=(null!==(t=this.getSlottedAnchorElement())&&void 0!==t?t:this.getAnchorBoundsVirtualElement())?4:0,o=null!=this.boundarySelector&&null!==(e=document.querySelector(this.boundarySelector))&&void 0!==e?e:void 0;this.middleware=lt(null!==(n=this.offsetBehavior)&&void 0!==n?n:i,null!=o?Object.assign({boundary:o},this.overflowBehavior):this.overflowBehavior,this.flipBehavior),this.updateListener()}getSlottedAnchorElement(){var t,e,n;if(null!=this.anchorSelector)return(null===(t=this.hostElement.shadowRoot)||void 0===t?void 0:t.querySelector(this.anchorSelector))||this.hostElement.querySelector(this.anchorSelector)||void 0;{const t=(null===(e=this.hostElement.shadowRoot)||void 0===e?void 0:e.querySelector('slot[name="anchor"]'))||void 0;if(null===(n=null==t?void 0:t.assignedElements)||void 0===n?void 0:n.call(t).length)return null==t?void 0:t.assignedElements()[0]}}getAnchorBoundsVirtualElement(){if(null!=this.anchorBounds)return{getBoundingClientRect:()=>DOMRect.fromRect(this.anchorBounds)}}handleResize(){null!=this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.open&&(this.resizeTimeout=setTimeout((()=>{this.resizeTimeout=void 0,null!=this.anchorPosition&&null!=this.viewportWidth&&null!=this.viewportHeight&&(this.position={x:this.partialWindow.innerWidth*(this.anchorPosition.x/this.viewportWidth),y:this.partialWindow.innerHeight*(this.anchorPosition.y/this.viewportHeight)}),this.updateViewport()}),200))}updateViewport(){this.viewportWidth=this.partialWindow.innerWidth,this.viewportHeight=this.partialWindow.innerHeight}getOrCreateResizeObserver(){return null==this.boundaryResizeObserver&&(this.boundaryResizeObserver=this.resizeObserverFactory(this.handleMiddlewareChange)),this.boundaryResizeObserver}getTransformClass(){if(this.animated)switch(this.computedPlacement){case"top":return"center-bottom";case"top-start":case"right-end":return"left-bottom";case"top-end":case"left-end":return"right-bottom";case"bottom":return"center-top";case"bottom-start":case"right-start":return"left-top";case"bottom-end":case"left-start":return"right-top";case"right":return"left-center";case"left":return"right-center"}}get hostElement(){return o(this)}static get watchers(){return{position:["updatePosition"],placement:["updatePlacement"],open:["updateOpened"],animated:["updateAnimated"],boundarySelector:["updateMiddleware","updateResizeObserver"],overflowBehavior:["updateMiddleware"],flipBehavior:["updateMiddleware"],offsetBehavior:["updateMiddleware"]}}};ut.style=":host{--open-animation-name:open-scale-all;--open-animation:var(--open-animation-name) 0.1s ease-out 1;--close-animation-name:close-scale-all;--close-animation:var(--close-animation-name) 0.2s ease-in-out 1;--transform-origin:var(--none)}.open-animated{animation:var(--open-animation)}.hidden-animated{animation:var(--close-animation)}.hidden>.content{opacity:0;width:0;height:0;visibility:hidden}.hidden{pointer-events:none}.open{z-index:var(--vertex-ui-context-menu-layer)}.anchor{position:fixed}.backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:var(--backdrop-color, white);opacity:var(--backdrop-opacity, 0);z-index:var(--vertex-ui-context-menu-layer)}.popper{position:fixed}.center-bottom{transform-origin:var(--transform-origin, center bottom)}.left-bottom{transform-origin:var(--transform-origin, left bottom)}.right-bottom{transform-origin:var(--transform-origin, right bottom)}.center-top{transform-origin:var(--transform-origin, center top)}.left-top{transform-origin:var(--transform-origin, left top)}.right-top{transform-origin:var(--transform-origin, right top)}.left-center{transform-origin:var(--transform-origin, left center)}.left-top{transform-origin:var(--transform-origin, left top)}.left-bottom{transform-origin:var(--transform-origin, left bottom)}.right-center{transform-origin:var(--transform-origin, right center)}.right-top{transform-origin:var(--transform-origin, right top)}.right-bottom{transform-origin:var(--transform-origin, right bottom)}@keyframes open-fade-in{from{opacity:0}to{opacity:1}}@keyframes close-fade-out{from{visibility:visible;height:auto;width:auto;opacity:1}to{opacity:0;height:auto;width:auto}}@keyframes open-scale-all{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes close-scale-all{from{visibility:visible;height:auto;width:auto;opacity:1;transform:scale(1)}to{opacity:0;height:auto;width:auto;transform:scale(0)}}@keyframes open-scale-y{from{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes close-scale-y{from{visibility:visible;height:auto;width:auto;opacity:1;transform:scaleY(1)}to{opacity:0;height:auto;width:auto;transform:scaleY(0)}}@keyframes open-scale-x{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}@keyframes close-scale-x{from{visibility:visible;height:auto;width:auto;opacity:1;transform:scaleX(1)}to{opacity:0;height:auto;width:auto;transform:scaleX(0)}}";export{ut as P}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-6834631c.js";import{c as r}from"./p-fe062eb0.js";const i=class{constructor(e){t(this,e),this.firstName=void 0,this.lastName=void 0,this.value=void 0,this.active=!1,this.variant="default"}render(){return this.isValidStringValue(this.firstName)||this.isValidStringValue(this.value)?e("div",{class:r("avatar",{root:"default"===this.variant,small:"small"===this.variant,active:this.active,value:!this.isValidStringValue(this.firstName)})},this.getDisplayValue()):e("div",null)}isValidStringValue(t){return null!=t&&""!==t}getDisplayValue(){return this.isValidStringValue(this.firstName)?this.isValidStringValue(this.lastName)?`${this.firstName[0]}${this.lastName[0]}`:this.firstName[0]:this.isValidStringValue(this.value)?this.value:void 0}};i.style=".root{width:1.875rem;height:1.875rem;font-size:var(--vertex-ui-text-xs)}.small{width:1.5rem;height:1.5rem;font-size:var(--vertex-ui-text-t)}.avatar{border-radius:50%;font-weight:var(--vertex-ui-font-weight-medium);font-family:var(--vertex-ui-font-family);color:var(--vertex-ui-blue-800);border:solid 1px var(--vertex-ui-blue-800);background-color:var(--vertex-ui-neutral-050);display:flex;align-items:center;justify-content:center;user-select:none}.avatar.value{color:var(--vertex-ui-white);border:solid 1px var(--vertex-ui-white);background-color:var(--vertex-ui-neutral-500)}.avatar.active{cursor:pointer}.avatar.active:hover{background-color:var(--vertex-ui-neutral-200)}";export{i as A}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
self,function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);return n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n),!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var c=f.localName;if("link"===c&&"import"===f.getAttribute("rel")){if((r=f.import)instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}if("template"===c){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function c(t,n){t.b&&o(n,(function(n){return u(t,n)}))}function u(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function s(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):l(t,e)}}function a(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function h(t,n,i){var e=(i=void 0===i?{}:i).u||new Set,r=i.i||function(n){return l(t,n)},f=[];if(o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0),i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i),h(t,i,{u:o,i:r})}}))}else f.push(n)}),e),t.b)for(n=0;n<f.length;n++)u(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function l(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if((e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)&&(e=t.a.get(n.localName))){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}if(n.__CE_state=1,n.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}function d(t){var n=document;this.c=t,this.a=n,this.b=void 0,h(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function w(t){t.b&&t.b.disconnect()}function v(){var t=this;this.b=this.a=void 0,this.c=new Promise((function(n){t.b=n,t.a&&n(t.a)}))}function m(t){if(t.a)throw Error("Already resolved.");t.a=void 0,t.b&&t.b(void 0)}function b(t){this.c=!1,this.a=t,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new d(t)}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)},f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)},f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)},d.prototype.f=function(t){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||w(this),n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)h(this.c,i[e])},b.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback"),c=o("disconnectedCallback"),u=o("adoptedCallback"),s=o("attributeChangedCallback"),a=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}(function(t,n,i){t.a.set(n,i),t.g.set(i.constructorFunction,i)})(this.a,t,i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:c,adoptedCallback:u,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]}),this.g.push(i),this.b||(this.b=!0,this.f((function(){return function(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);for(h(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}}),o=0;o<i.length;o++)l(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName,r=e.get(r.localName);for(var f=0;f<r.length;f++)l(t.a,r[f]);(o=t.j.get(o))&&m(o)}}}(e)})))},b.prototype.i=function(t){h(this.a,t)},b.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction},b.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);return i||(i=new v,this.j.set(t,i),this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&m(i)),i.c},b.prototype.s=function(t){w(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}},window.CustomElementRegistry=b,b.prototype.define=b.prototype.l,b.prototype.upgrade=b.prototype.i,b.prototype.get=b.prototype.get,b.prototype.whenDefined=b.prototype.m,b.prototype.polyfillWrapFlushCallback=b.prototype.s;var E=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,g=window.Document.prototype.importNode,y=window.Document.prototype.prepend,C=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,j=window.DocumentFragment.prototype.append,D=window.Node.prototype.cloneNode,N=window.Node.prototype.appendChild,A=window.Node.prototype.insertBefore,O=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,k=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),L=window.Element.prototype.attachShadow,S=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,x=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,P=window.Element.prototype.setAttributeNS,R=window.Element.prototype.removeAttributeNS,$=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,B=window.Element.prototype.prepend,I=window.Element.prototype.append,U=window.Element.prototype.before,W=window.Element.prototype.after,q=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,J=window.HTMLElement,K=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Q=window.HTMLElement.prototype.insertAdjacentElement,V=window.HTMLElement.prototype.insertAdjacentHTML,X=new function(){};function Y(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}void 0!==e.h&&(n.prepend=o(e.h)),void 0!==e.append&&(n.append=o(e.append))}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var tt=new f;!function(){var t=tt;window.HTMLElement=function(){function n(){var n=this.constructor,i=t.g.get(n);if(!i)throw Error("The custom element being constructed was not registered with `customElements`.");var e=i.constructionStack;if(0===e.length)return e=E.call(document,i.localName),Object.setPrototypeOf(e,n.prototype),e.__CE_state=1,e.__CE_definition=i,u(t,e),e;var o=e[i=e.length-1];if(o===X)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return e[i]=X,Object.setPrototypeOf(o,n.prototype),u(t,o),o}return Object.defineProperty(n.prototype=J.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),n}()}(),function(){var t=tt;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}return n=E.call(this,n),u(t,n),n})),r(Document.prototype,"importNode",(function(n,i){return n=g.call(this,n,!!i),this.__CE_hasRegistry?h(t,n):c(t,n),n})),r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}return n=p.call(this,n,i),u(t,n),n})),Y(t,Document.prototype,{h:y,append:C})}(),Y(tt,DocumentFragment.prototype,{h:T,append:j}),function(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var c=0;c<f;c++)o[c]=r[c]}}if(e.set.call(this,t),o)for(t=0;t<o.length;t++)a(n,o[t])}}})}var n=tt;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=A.call(this,t,e),i(this))for(e=0;e<o.length;e++)s(n,o[e]);return t}return o=i(t),e=A.call(this,t,e),o&&a(n,t),i(this)&&s(n,t),e})),r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);if(t=N.call(this,t),i(this))for(var o=0;o<e.length;o++)s(n,e[o]);return t}return e=i(t),o=N.call(this,t),e&&a(n,t),i(this)&&s(n,t),o})),r(Node.prototype,"cloneNode",(function(t){return t=D.call(this,!!t),this.ownerDocument.__CE_hasRegistry?h(n,t):c(n,t),t})),r(Node.prototype,"removeChild",(function(t){var e=i(t),o=O.call(this,t);return e&&a(n,t),o})),r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=M.call(this,t,e),i(this))for(a(n,e),e=0;e<o.length;e++)s(n,o[e]);return t}o=i(t);var r=M.call(this,t,e),f=i(this);return f&&a(n,e),o&&a(n,t),f&&s(n,t),r})),k&&k.get?t(Node.prototype,k):function(t,n){t.b=!0,t.c.push(n)}(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)O.call(this,this.firstChild);null!=t&&""!==t&&N.call(this,document.createTextNode(t))}})}))}(),function(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;if(i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)}))),n.set.call(this,t),r)for(var u=0;u<r.length;u++){var s=r[u];1===s.__CE_state&&f.disconnectedCallback(s)}return this.ownerDocument.__CE_hasRegistry?h(f,this):c(f,this),t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);return t=n.call(this,t,e),o&&a(f,e),i(t)&&s(f,e),t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)h(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+t+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}))}var f=tt;L&&r(Element.prototype,"attachShadow",(function(t){t=L.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t})),S&&S.get?t(Element.prototype,S):K&&K.get?t(HTMLElement.prototype,K):function(t,n){t.b=!0,t.f.push(n)}(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return D.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=p.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)O.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)N.call(i,t.childNodes[0])}})})),r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return H.call(this,t,n);var i=F.call(this,t);H.call(this,t,n),n=F.call(this,t),f.attributeChangedCallback(this,t,i,n,null)})),r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return P.call(this,t,n,i);var e=z.call(this,t,n);P.call(this,t,n,i),i=z.call(this,t,n),f.attributeChangedCallback(this,n,e,i,t)})),r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return x.call(this,t);var n=F.call(this,t);x.call(this,t),null!==n&&f.attributeChangedCallback(this,t,n,null,null)})),r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=z.call(this,t,n);R.call(this,t,n);var e=z.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)})),Q?n(HTMLElement.prototype,Q):$?n(Element.prototype,$):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),V?e(HTMLElement.prototype,V):_?e(Element.prototype,_):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Y(f,Element.prototype,{h:B,append:I}),function(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}var e=Element.prototype;void 0!==U&&(e.before=n(U)),void 0!==U&&(e.after=n(W)),void 0!==q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var c=e[f];if(c instanceof Element&&i(c)&&r.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(f=i(this),q.apply(this,e),e=0;e<r.length;e++)a(t,r[e]);if(f)for(a(t,this),e=0;e<o.length;e++)(r=o[e])instanceof Element&&s(t,r)})),void 0!==G&&r(e,"remove",(function(){var n=i(this);G.call(this),n&&a(t,this)}))}(f)}(),document.__CE_hasRegistry=!0;var nt=new b(tt);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:nt})}}(),"string"!=typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i},window.CustomEvent.prototype=window.Event.prototype),function(t,n,i){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;return this.path.push(n,i),this.path})}(Event.prototype,document,window),
|
|
2
|
-
/*!
|
|
3
|
-
Element.closest and Element.matches
|
|
4
|
-
https://github.com/jonathantneal/closest
|
|
5
|
-
Creative Commons Zero v1.0 Universal
|
|
6
|
-
*/
|
|
7
|
-
function(t){"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var n=0;t[n]&&t[n]!==this;)++n;return!!t[n]}),"function"!=typeof t.closest&&(t.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null})}(window.Element.prototype),
|
|
8
|
-
/*!
|
|
9
|
-
Element.getRootNode()
|
|
10
|
-
*/
|
|
11
|
-
function(t){function n(t){return(t=i(t))&&11===t.nodeType?n(t.host):t}function i(t){return t&&t.parentNode?i(t.parentNode):t}"function"!=typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?n(this):i(this)})}(Element.prototype),
|
|
12
|
-
/*!
|
|
13
|
-
Element.isConnected()
|
|
14
|
-
*/
|
|
15
|
-
function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})}(Element.prototype),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),function(t){"classList"in t||Object.defineProperty(t,"classList",{get:function(){var t=this,n=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function i(){n.length>0?t.setAttribute("class",n.join(" ")):t.removeAttribute("class")}return""===n[0]&&n.splice(0,1),n.toggle=function(t,e){void 0!==e?e?n.add(t):n.remove(t):-1!==n.indexOf(t)?n.splice(n.indexOf(t),1):n.push(t),i()},n.add=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1===n.indexOf(t[e])&&n.push(t[e]);i()},n.remove=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1!==n.indexOf(t[e])&&n.splice(n.indexOf(t[e]),1);i()},n.item=function(t){return n[t]},n.contains=function(t){return-1!==n.indexOf(t)},n.replace=function(t,e){-1!==n.indexOf(t)&&n.splice(n.indexOf(t),1,e),i()},n.value=t.getAttribute("class")||"",n}})}(Element.prototype),
|
|
16
|
-
/*!
|
|
17
|
-
DOMTokenList
|
|
18
|
-
*/
|
|
19
|
-
function(t){try{document.body.classList.add()}catch(e){var n=t.add,i=t.remove;t.add=function(){for(var t=0;t<arguments.length;t++)n.call(this,arguments[t])},t.remove=function(){for(var t=0;t<arguments.length;t++)i.call(this,arguments[t])}}}(DOMTokenList.prototype);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as e}from"./p-6834631c.js";import{c as s}from"./p-fe062eb0.js";import{g as t}from"./p-fedcc21e.js";const r=class{constructor(e){i(this,e),this.name=void 0,this.size="md"}render(){return e("div",{class:"container"},e("div",{class:s("icon",{xs:"xs"===this.size,sm:"sm"===this.size,md:"md"===this.size,lg:"lg"===this.size})},t(this.name)))}};r.style=".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%}";export{r as I}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o}from"./p-6834631c.js";const t=class{constructor(o){r(this,o)}render(){return o("div",{class:"root"})}};t.style=":host{--color:var(--vertex-ui-neutral-300)}.root{margin:0.12em 0;border-top:1px solid var(--color)}";export{t as M}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,e as i,h as o,H as h,g as e}from"./p-6834631c.js";import{c as s}from"./p-fe062eb0.js";import{r as n}from"./p-65f9817e.js";const r=class{constructor(o){t(this,o),this.resizeStart=i(this,"resizeStart",7),this.resizeEnd=i(this,"resizeEnd",7),this.containerTop=0,this.containerLeft=0,this.horizontalDirection="both",this.verticalDirection="both",this.initialHorizontalScale=void 0,this.initialVerticalScale=void 0,this.initializeWithOffset=!1,this.parentSelector=void 0,this.verticalSiblingSelector=void 0,this.horizontalSiblingSelector=void 0,this.contentSelector=void 0,this.position="relative",this.dimensionsComputed=!1,this.width=-1,this.minWidth=void 0,this.maxWidth=void 0,this.height=-1,this.minHeight=void 0,this.maxHeight=void 0,this.left=0,this.top=0,this.hoveredLocation=void 0,this.dragStartLocation=void 0,this.handleDrag=this.handleDrag.bind(this),this.handleDragBottom=this.handleDragBottom.bind(this),this.handleDragTop=this.handleDragTop.bind(this),this.handleDragLeft=this.handleDragLeft.bind(this),this.handleDragRight=this.handleDragRight.bind(this),this.handleWindowPointerUp=this.handleWindowPointerUp.bind(this),this.updateDimensions=this.updateDimensions.bind(this),this.recomputeDimensions=this.recomputeDimensions.bind(this),this.computeDimensions=this.computeDimensions.bind(this),this.mutationObserver=new MutationObserver(this.recomputeDimensions),this.resizeObserver=new ResizeObserver(this.recomputeDimensions)}componentDidLoad(){if(this.computeDimensions(),window.addEventListener("resize",this.recomputeDimensions),this.mutationObserver.observe(this.hostElement,{attributes:!0,attributeFilter:["class"]}),null!=this.parentSelector){const t=document.querySelector(this.parentSelector);null!=t&&this.resizeObserver.observe(t)}this.resizeObserver.observe(this.hostElement)}disconnectedCallback(){this.dimensionsComputed=!1,window.removeEventListener("resize",this.recomputeDimensions),this.mutationObserver.disconnect(),this.resizeObserver.disconnect()}connectedCallback(){if(this.computeDimensions(),window.addEventListener("resize",this.recomputeDimensions),this.mutationObserver.observe(this.hostElement,{attributes:!0,attributeFilter:["class"]}),null!=this.parentSelector){const t=document.querySelector(this.parentSelector);null!=t&&this.resizeObserver.observe(t)}this.resizeObserver.observe(this.hostElement)}render(){return o(h,{style:{width:this.width<0||"none"===this.horizontalDirection?"100%":`${this.width}px`,height:this.height<0||"none"===this.verticalDirection?"100%":`${this.height}px`,left:"relative"===this.position?`${this.left}px`:void 0,top:"relative"===this.position?`${this.top}px`:void 0}},o("div",{class:s("container",{hidden:this.width<=0&&this.height<=0})},o("div",{class:s("shadow",`hovered-location-${this.dragStartLocation||this.hoveredLocation}`)}),o("div",{class:s("handle","left-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"left"),onPointerEnter:()=>this.handlePointerEnter("left"),onPointerLeave:()=>this.handlePointerLeave("left")}),o("div",{class:s("handle","right-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"right"),onPointerEnter:()=>this.handlePointerEnter("right"),onPointerLeave:()=>this.handlePointerLeave("right")}),o("div",{class:s("handle","top-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"top"),onPointerEnter:()=>this.handlePointerEnter("top"),onPointerLeave:()=>this.handlePointerLeave("top")}),o("div",{class:s("handle","bottom-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"bottom"),onPointerEnter:()=>this.handlePointerEnter("bottom"),onPointerLeave:()=>this.handlePointerLeave("bottom")}),o("div",{class:s("handle","bottom-right-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"bottom-right"),onPointerEnter:()=>this.handlePointerEnter("bottom-right"),onPointerLeave:()=>this.handlePointerLeave("bottom-right")}),o("div",{class:s("handle","bottom-left-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"bottom-left"),onPointerEnter:()=>this.handlePointerEnter("bottom-left"),onPointerLeave:()=>this.handlePointerLeave("bottom-left")}),o("div",{class:s("handle","top-right-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"top-right"),onPointerEnter:()=>this.handlePointerEnter("top-right"),onPointerLeave:()=>this.handlePointerLeave("top-right")}),o("div",{class:s("handle","top-left-handle",`horizontal-direction-${this.horizontalDirection}`,`vertical-direction-${this.verticalDirection}`),onPointerDown:t=>this.handlePointerDown(t,"top-left"),onPointerEnter:()=>this.handlePointerEnter("top-left"),onPointerLeave:()=>this.handlePointerLeave("top-left")}),o("slot",null)))}async updateDimensions(t,i=!1){var o,h;const{host:e,slotted:s,parent:n,minWidth:r,maxWidth:l,minHeight:a,maxHeight:d}=t,v=this.fromComputedStyle(l,(null==n?void 0:n.width)||e.width||s.width);this.maxWidth=null!=v?v-this.getSiblingMinWidth((null==n?void 0:n.width)||e.width||s.width):void 0,this.minWidth=this.fromComputedStyle(r,(null==n?void 0:n.width)||e.width||s.width);const c=this.fromComputedStyle(d,(null==n?void 0:n.height)||e.height||s.height);if(this.maxHeight=null!=c?c-this.getSiblingMinHeight((null==n?void 0:n.height)||e.height||s.height):void 0,this.minHeight=this.fromComputedStyle(a,(null==n?void 0:n.height)||e.height||s.height),!i||this.height<=0){const t=null!=this.maxHeight&&null!=this.initialVerticalScale?this.maxHeight*this.initialVerticalScale:this.minHeight;this.width=(null!=this.maxWidth&&null!=this.initialHorizontalScale?this.maxWidth*this.initialHorizontalScale:this.minWidth)||s.width||this.width,this.height=t||s.height||this.height}else this.height=this.toBoundedValue(this.height,this.minHeight||0,this.maxHeight),this.width=this.toBoundedValue(this.width,this.minWidth||0,this.maxWidth);this.containerTop=null!==(o=null==n?void 0:n.top)&&void 0!==o?o:e.top,this.containerLeft=null!==(h=null==n?void 0:n.left)&&void 0!==h?h:e.left,this.top=null!=c&&this.initializeWithOffset&&"absolute"!==this.position?c-this.height:0,this.left=null!=v&&this.initializeWithOffset&&"absolute"!==this.position?v-this.width:0}computeDimensions(){n((()=>{var t;const i=this.getSlottedElement();if("undefined"!=typeof window&&null!=i){const o=window.getComputedStyle(this.hostElement);this.updateDimensions({host:this.hostElement.getBoundingClientRect(),slotted:i.getBoundingClientRect(),parent:null!=this.parentSelector?null===(t=document.querySelector(this.parentSelector))||void 0===t?void 0:t.getBoundingClientRect():void 0,minWidth:o.minWidth,maxWidth:o.maxWidth,minHeight:o.minHeight,maxHeight:o.maxHeight}),this.dimensionsComputed=!0}}))}recomputeDimensions(){null!=this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0),this.resizeTimeout=setTimeout((()=>{this.resizeTimeout=void 0,n((()=>{var t;const i=this.getSlottedElement();if("undefined"!=typeof window&&null!=i){const o=window.getComputedStyle(this.hostElement);this.updateDimensions({host:this.hostElement.getBoundingClientRect(),slotted:i.getBoundingClientRect(),parent:null!=this.parentSelector?null===(t=document.querySelector(this.parentSelector))||void 0===t?void 0:t.getBoundingClientRect():void 0,minWidth:o.minWidth,maxWidth:o.maxWidth,minHeight:o.minHeight,maxHeight:o.maxHeight},!0)}}))}),200)}handlePointerEnter(t){this.hoveredLocation=t}handlePointerLeave(t){t===this.hoveredLocation&&(this.hoveredLocation=void 0)}handlePointerDown(t,i){this.setStartPosition(t,i),this.emitResizeStart(i),window.addEventListener("pointermove",this.handleDrag),window.addEventListener("pointerup",this.handleWindowPointerUp)}handleDrag(t){if(null!=this.lastPointerPosition){const i={x:this.lastPointerPosition.x-t.clientX,y:this.lastPointerPosition.y-t.clientY};switch(this.lastPointerPosition={x:t.clientX,y:t.clientY},this.dragStartLocation){case"bottom":this.ifValidDragBottom(t,i,this.handleDragBottom);break;case"top":this.ifValidDragTop(t,i,this.handleDragTop);break;case"right":this.ifValidDragRight(t,i,this.handleDragRight);break;case"left":this.ifValidDragLeft(t,i,this.handleDragLeft);break;case"bottom-right":this.ifValidDragBottom(t,i,this.handleDragBottom),this.ifValidDragRight(t,i,this.handleDragRight);break;case"bottom-left":this.ifValidDragBottom(t,i,this.handleDragBottom),this.ifValidDragLeft(t,i,this.handleDragLeft);break;case"top-right":this.ifValidDragTop(t,i,this.handleDragTop),this.ifValidDragRight(t,i,this.handleDragRight);break;case"top-left":this.ifValidDragTop(t,i,this.handleDragTop),this.ifValidDragLeft(t,i,this.handleDragLeft)}}}handleWindowPointerUp(){null!=this.dragStartLocation&&this.emitResizeEnd(this.dragStartLocation),this.lastPointerPosition=void 0,this.dragStartLocation=void 0,window.removeEventListener("pointermove",this.handleDrag),window.removeEventListener("pointerup",this.handleWindowPointerUp)}ifValidDragTop(t,i,o){(i.y<0?t.clientY-this.containerTop>this.top:t.clientY-this.containerTop<=this.top)&&o(i)}ifValidDragBottom(t,i,o){(i.y>0?t.clientY<this.top+this.containerTop+this.height:t.clientY>=this.top+this.containerTop+this.height)&&o(i)}ifValidDragLeft(t,i,o){(i.x<0?t.clientX-this.containerLeft>this.left:t.clientX-this.containerLeft<=this.left)&&o(i)}ifValidDragRight(t,i,o){(i.x>0?t.clientX<this.left+this.containerLeft+this.width:t.clientX>=this.left+this.containerLeft+this.width)&&o(i)}handleDragTop(t){const i=this.height;this.height=this.toBoundedValue(this.height+t.y,this.minHeight||0,this.maxHeight),this.top-=this.height-i}handleDragBottom(t){this.height=this.toBoundedValue(this.height-t.y,this.minHeight||0,this.maxHeight)}handleDragLeft(t){const i=this.width;this.width=this.toBoundedValue(this.width+t.x,this.minWidth||0,this.maxWidth),this.left-=this.width-i}handleDragRight(t){this.width=this.toBoundedValue(this.width-t.x,this.minWidth||0,this.maxWidth)}setStartPosition(t,i){t.stopPropagation(),t.preventDefault(),this.lastPointerPosition={x:t.clientX,y:t.clientY},this.dragStartLocation=i}getSlottedElement(){var t,i,o;if(null!=this.contentSelector)return(null===(t=this.hostElement.shadowRoot)||void 0===t?void 0:t.querySelector(this.contentSelector))||this.hostElement.querySelector(this.contentSelector)||void 0;{const t=(null===(i=this.hostElement.shadowRoot)||void 0===i?void 0:i.querySelector("slot"))||void 0;if(null===(o=null==t?void 0:t.assignedElements)||void 0===o?void 0:o.call(t).length)return null==t?void 0:t.assignedElements()[0]}}getMinBounds(){return{x:null!=this.minWidth?this.width-this.minWidth:this.width,y:null!=this.minHeight?this.height-this.minHeight:this.height}}fromComputedStyle(t,i){const o=parseFloat(t);return isNaN(o)||o<=0?void 0:t.includes("%")?o/100*i:o}toBoundedValue(t,i,o){return Math.max(Math.min(t,null!=o?o:t),i)}getSiblingMinWidth(t){var i;const o=null!=this.horizontalSiblingSelector?document.querySelector(this.horizontalSiblingSelector):void 0;if("undefined"!=typeof window&&o){const h=window.getComputedStyle(o);return null!==(i=this.fromComputedStyle(h.minWidth,t))&&void 0!==i?i:0}return 0}getSiblingMinHeight(t){var i;const o=null!=this.verticalSiblingSelector?document.querySelector(this.verticalSiblingSelector):void 0;if("undefined"!=typeof window&&o){const h=window.getComputedStyle(o);return null!==(i=this.fromComputedStyle(h.minHeight,t))&&void 0!==i?i:0}return 0}emitResizeStart(t){n((()=>{this.resizeStart.emit(this.computeResizeEventDetails(t))}))}emitResizeEnd(t){n((()=>{this.resizeEnd.emit(this.computeResizeEventDetails(t))}))}computeResizeEventDetails(t){var i,o,h,e,s;const n=null!=this.parentSelector?null===(i=document.querySelector(this.parentSelector))||void 0===i?void 0:i.getBoundingClientRect():void 0;return{location:t,width:this.width,height:this.height,widthPercentage:this.width/(null!==(h=null!==(o=this.maxWidth)&&void 0!==o?o:null==n?void 0:n.width)&&void 0!==h?h:window.innerWidth),heightPercentage:this.height/(null!==(s=null!==(e=this.maxHeight)&&void 0!==e?e:null==n?void 0:n.height)&&void 0!==s?s:window.innerHeight)}}get hostElement(){return e(this)}};r.style=':host{--hover-shadow-color:var(--vertex-ui-blue-500);--vertical-handle-size:1rem;--vertical-handle-offset:-0.9rem;--horizontal-handle-size:1rem;--horizontal-handle-offset:-0.9rem;--side-direction-handle-z-index:var(--vertex-ui-popover-layer);--corner-handle-z-index:var(--vertex-ui-context-menu-layer)}:host(:not([dimensions-computed=""])){position:absolute;display:none}.container{position:relative;height:100%;width:100%}.container.hidden{position:absolute;visibility:hidden}.shadow{pointer-events:none;position:absolute;width:100%;height:100%;z-index:var(--vertex-ui-popover-layer)}.shadow.hovered-location-left{box-shadow:inset 1px 0 0 var(--hover-shadow-color)}.shadow.hovered-location-right{box-shadow:inset -1px 0 0 var(--hover-shadow-color)}.shadow.hovered-location-top{box-shadow:inset 0 1px 0 var(--hover-shadow-color)}.shadow.hovered-location-bottom{box-shadow:inset 0 -1px 0 var(--hover-shadow-color)}.shadow.hovered-location-bottom-left{box-shadow:inset 1px -1px 0 var(--hover-shadow-color)}.shadow.hovered-location-bottom-right{box-shadow:inset -1px -1px 0 var(--hover-shadow-color)}.shadow.hovered-location-top-left{box-shadow:inset 1px 1px 0 var(--hover-shadow-color)}.shadow.hovered-location-top-right{box-shadow:inset -1px 1px 0 var(--hover-shadow-color)}.handle{position:absolute;visibility:hidden;z-index:var(--side-direction-handle-z-index)}.corner-handle{z-index:var(--corner-handle-z-index)}.left-handle.horizontal-direction-left,.left-handle.horizontal-direction-both{visibility:visible;left:var(--horizontal-handle-offset);top:0;height:100%;width:var(--horizontal-handle-size);cursor:col-resize}.right-handle.horizontal-direction-right,.right-handle.horizontal-direction-both{visibility:visible;right:var(--horizontal-handle-offset);top:0;height:100%;width:var(--horizontal-handle-size);cursor:col-resize}.bottom-handle.vertical-direction-bottom,.bottom-handle.vertical-direction-both{visibility:visible;left:0;bottom:var(--vertical-handle-offset);height:var(--vertical-handle-size);width:100%;cursor:row-resize}.top-handle.vertical-direction-top,.top-handle.vertical-direction-both{visibility:visible;left:0;top:var(--vertical-handle-offset);height:var(--vertical-handle-size);width:100%;cursor:row-resize}.bottom-right-handle.vertical-direction-bottom.horizontal-direction-right,.bottom-right-handle.vertical-direction-both.horizontal-direction-right,.bottom-right-handle.vertical-direction-bottom.horizontal-direction-both,.bottom-right-handle.vertical-direction-both.horizontal-direction-both{visibility:visible;right:var(--horizontal-handle-offset);bottom:var(--vertical-handle-offset);height:var(--vertical-handle-size);width:var(--horizontal-handle-size);cursor:nwse-resize}.bottom-left-handle.vertical-direction-bottom.horizontal-direction-left,.bottom-left-handle.vertical-direction-both.horizontal-direction-left,.bottom-left-handle.vertical-direction-bottom.horizontal-direction-both,.bottom-left-handle.vertical-direction-both.horizontal-direction-both{visibility:visible;left:var(--horizontal-handle-offset);bottom:var(--vertical-handle-offset);height:var(--vertical-handle-size);width:var(--horizontal-handle-size);cursor:nesw-resize}.top-right-handle.vertical-direction-top.horizontal-direction-right,.top-right-handle.vertical-direction-both.horizontal-direction-right,.top-right-handle.vertical-direction-top.horizontal-direction-both,.top-right-handle.vertical-direction-both.horizontal-direction-both{visibility:visible;right:var(--horizontal-handle-offset);top:var(--vertical-handle-offset);height:var(--vertical-handle-size);width:var(--horizontal-handle-size);cursor:nesw-resize}.top-left-handle.vertical-direction-top.horizontal-direction-left,.top-left-handle.vertical-direction-both.horizontal-direction-left,.top-left-handle.vertical-direction-top.horizontal-direction-both,.top-left-handle.vertical-direction-both.horizontal-direction-both{visibility:visible;left:var(--horizontal-handle-offset);top:var(--vertical-handle-offset);height:var(--vertical-handle-size);width:var(--horizontal-handle-size);cursor:nwse-resize}';export{r as R}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{M as vertex_menu_divider}from"./p-c939fa4e.js";import"./p-6834631c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{C as vertex_chip}from"./p-a6614625.js";import"./p-6834631c.js";import"./p-fe062eb0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{C as vertex_color_picker}from"./p-8c69bb83.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-3438c441.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{D as vertex_dropdown_menu}from"./p-39133bc7.js";import"./p-6834631c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as r,H as e}from"./p-6834631c.js";import{c as i}from"./p-fe062eb0.js";import{i as s}from"./p-3438c441.js";const o=class{constructor(r){t(this,r),this.variant="circle",this.size="md",this.color="#ffffff",this.supplementalColor=void 0,this.theme="none",this.lightenPercentage=.25,this.darkenPercentage=.25,this.lightened=this.adjustColor(this.color,-this.lightenPercentage),this.darkened=this.adjustColor(this.color,this.darkenPercentage)}handleColorChanged(t){this.lightened=this.adjustColor(t,-this.lightenPercentage),this.darkened=this.adjustColor(t,this.darkenPercentage)}handleLightenPercentageChanged(t){this.lightened=this.adjustColor(this.color,-t)}handleDarkenPercentageChanged(t){this.darkened=this.adjustColor(this.color,t)}render(){return r(e,null,r("div",{class:i("root",this.variant,this.size),style:this.getThemeColors()},r("div",{class:"overlay"},r("slot",{name:"overlay"}))))}getThemeColors(){const t=this.getSupplementalColor();switch(this.theme){case"light":return{backgroundColor:t,borderColor:this.color};case"dark":return{backgroundColor:this.color,borderColor:t};default:return{backgroundColor:this.color,borderColor:null!=t?t:void 0}}}getSupplementalColor(){const t=null!=this.supplementalColor&&this.supplementalColor.length>0?this.supplementalColor:void 0;switch(this.theme){case"light":return null!=t?t:this.lightened;case"dark":return null!=t?t:this.darkened;default:return t}}adjustColor(t,r){if(s(t)){const e=Number(`0x${t.slice(1,3)}`),i=Number(`0x${t.slice(3,5)}`),s=Number(`0x${t.slice(5,7)}`);return`#${this.padHexComponent(this.adjustComponent(e,r).toString(16))}${this.padHexComponent(this.adjustComponent(i,r).toString(16))}${this.padHexComponent(this.adjustComponent(s,r).toString(16))}`}return t}adjustComponent(t,r){return Math.max(0,Math.min(255,Math.floor(t-Math.floor((r<0?255-t:255)*r))))}padHexComponent(t){return`${"0".repeat(2-t.length)}${t}`}static get watchers(){return{color:["handleColorChanged"],lightenPercentage:["handleLightenPercentageChanged"],darkenPercentage:["handleDarkenPercentageChanged"]}}};o.style=":host{display:flex}.root{position:relative;border-style:solid;border-color:var(--vertex-ui-neutral-300);box-sizing:border-box}.root.circle{border-width:2px;border-radius:100%}.root.circle.sm{border-width:1px}.root.square{border-width:1px;border-radius:3px}.root.sm{width:16px;height:16px}.root.md{width:20px;height:20px}.root.lg{width:24px;height:24px}.overlay{position:absolute;width:100%;height:100%;border-radius:2px;overflow:hidden}";export{o as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{D as vertex_draggable_popover}from"./p-8b211d6f.js";import"./p-6834631c.js";import"./p-fe062eb0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,e as s,h as t,g as e}from"./p-6834631c.js";import{c as o}from"./p-fe062eb0.js";const r=class{constructor(t){i(this,t),this.menuClosed=s(this,"menuClosed",7),this.animated=!0,this.open=!1,this.placement=void 0,this.fallbackPlacements=void 0,this.backdrop=!0,this.persistent=!1,this.position=void 0,this.popoverProps=void 0,this.handlePopoverDismiss=this.handlePopoverDismiss.bind(this)}componentDidLoad(){var i;this.addEventListeners(),this.headerSlot=(null===(i=this.hostElement.shadowRoot)||void 0===i?void 0:i.querySelector('slot[name="header"]'))||void 0}disconnectedCallback(){this.removeEventListeners()}connectedCallback(){this.addEventListeners()}render(){return t("vertex-popover",Object.assign({ref:i=>{this.popoverRef=i},open:this.open,animated:this.animated,position:this.position,placement:this.placement,backdrop:this.backdrop,flipBehavior:null!=this.fallbackPlacements?{fallbackPlacements:this.fallbackPlacements}:void 0},this.popoverProps),null==this.position&&t("div",{slot:"anchor"},t("slot",{name:"anchor"})),t("div",{onClick:()=>{this.persistent||(this.open=!1,this.menuClosed.emit())},class:o("root",{"has-header":null!=this.headerSlot})},t("slot",{name:"header"}),t("slot",null)))}addEventListeners(){var i,s;null===(i=this.listenerDisposable)||void 0===i||i.dispose(),null===(s=this.popoverRef)||void 0===s||s.addEventListener("dismissed",this.handlePopoverDismiss),this.listenerDisposable={dispose:()=>{var i;null===(i=this.popoverRef)||void 0===i||i.removeEventListener("dismissed",this.handlePopoverDismiss)}}}removeEventListeners(){var i;null===(i=this.listenerDisposable)||void 0===i||i.dispose()}handlePopoverDismiss(){this.open=!1,this.menuClosed.emit()}get hostElement(){return e(this)}};r.style=":host{--background-color:var(--vertex-ui-white);--menu-padding:0.19em 0}.root{padding:var(--menu-padding);border:1px solid var(--vertex-ui-neutral-400);border-radius:0.25rem;box-shadow:0px 2px 4px -1px rgb(0 0 0 / 20%),\n 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);background-color:var(--background-color);z-index:var(--vertex-ui-context-menu-layer)}.has-header{padding-top:0}";export{r as M}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{R as vertex_result_list}from"./p-6b862967.js";import"./p-6834631c.js";import"./p-fe062eb0.js";import"./p-1356f525.js";import"./p-59032668.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,e as i,h as s}from"./p-6834631c.js";const e=class{constructor(s){t(this,s),this.menuOpened=i(this,"menuOpened",7),this.menuClosed=i(this,"menuClosed",7),this.targetSelector=void 0,this.animated=!0,this.position=void 0,this.open=!1,this.handlePointerDown=this.handlePointerDown.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleContextMenu=this.handleContextMenu.bind(this),this.handleMenuClosed=this.handleMenuClosed.bind(this),this.observer=new MutationObserver((()=>{null==this.target&&this.addEventListeners(this.targetSelector)}))}componentDidLoad(){this.addEventListeners(this.targetSelector),this.observer.observe(document.body,{childList:!0,attributes:!0,subtree:!0})}disconnectedCallback(){this.removeEventListeners(),this.observer.disconnect()}handleTargetSelectorChange(t){null!=t&&(this.removeEventListeners(),this.addEventListeners(t))}render(){return s("vertex-menu",{open:this.open,animated:this.animated,position:this.position,fallbackPlacements:["bottom-end","top-start","top-end","right","left"],onMenuClosed:this.handleMenuClosed},s("slot",null))}addEventListeners(t){this.target=document.querySelector(t)||void 0,null!=this.target&&(this.target.addEventListener("contextmenu",this.handleContextMenu),this.target.addEventListener("pointerdown",this.handlePointerDown),this.target.addEventListener("pointerup",this.handlePointerUp))}removeEventListeners(){var t,i,s;null===(t=this.target)||void 0===t||t.removeEventListener("contextmenu",this.handleContextMenu),null===(i=this.target)||void 0===i||i.removeEventListener("pointerdown",this.handlePointerDown),null===(s=this.target)||void 0===s||s.removeEventListener("pointerup",this.handlePointerUp),this.target=void 0}handleContextMenu(t){t.preventDefault()}handlePointerDown(t){2===t.buttons&&(this.position={x:t.clientX,y:t.clientY})}handlePointerUp(t){var i;t.clientX===(null===(i=this.position)||void 0===i?void 0:i.x)&&t.clientY===this.position.y&&(this.open=!0,this.menuOpened.emit(t))}handleMenuClosed(){this.open=!1,this.menuClosed.emit()}static get watchers(){return{targetSelector:["handleTargetSelectorChange"]}}};export{e as C}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,e as i,h as s,g as e}from"./p-6834631c.js";const a=class{constructor(s){t(this,s),this.valueChanged=i(this,"valueChanged",7),this.name=void 0,this.value=void 0,this.handleListenOnRadioButtonChange=this.handleListenOnRadioButtonChange.bind(this)}updateValue(){var t;null!=this.value&&(this.valueChanged.emit(this.value),null===(t=this.radioButtons)||void 0===t||t.forEach((t=>{t.checked=this.value===t.value})))}connectedCallback(){this.getVertexRadioButtons(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}render(){return s("div",{class:"radio-group"},s("slot",null))}getVertexRadioButtons(){var t,i;this.radioButtons=(null===(t=this.hostElement)||void 0===t?void 0:t.querySelectorAll("vertex-radio"))||void 0,null===(i=this.radioButtons)||void 0===i||i.forEach((t=>{t.name=this.name,this.value===t.value&&(t.checked=!0)}))}removeEventListeners(){var t;null===(t=this.radioButtons)||void 0===t||t.forEach((t=>{t.removeEventListener("valueChanged",this.handleListenOnRadioButtonChange)}))}addEventListeners(){var t;null===(t=this.radioButtons)||void 0===t||t.forEach((t=>{t.addEventListener("valueChanged",this.handleListenOnRadioButtonChange)}))}handleListenOnRadioButtonChange(t){const i=t;i.stopPropagation(),i.detail.checked&&(this.value=i.detail.value)}get hostElement(){return e(this)}static get watchers(){return{value:["updateValue"]}}};a.style=".radio-group{display:flex;flex-direction:column}";export{a as R}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{B as vertex_button}from"./p-1e645c1f.js";import"./p-6834631c.js";import"./p-fe062eb0.js";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var r,n,t=(r=function(r){
|
|
2
|
-
/*!
|
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
|
4
|
-
Licensed under the MIT License (MIT), see
|
|
5
|
-
http://jedwatson.github.io/classnames
|
|
6
|
-
*/
|
|
7
|
-
!function(){var n={}.hasOwnProperty;function t(){for(var r="",n=0;n<arguments.length;n++){var t=arguments[n];t&&(r=o(r,e(t)))}return r}function e(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var u in r)n.call(r,u)&&r[u]&&(e=o(e,u));return e}function o(r,n){return n?r?r+" "+n:r+n:r}r.exports?(t.default=t,r.exports=t):window.classNames=t}()},r(n={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}),n.exports);export{t as c}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{H as vertex_help_tooltip}from"./p-2cff3285.js";import"./p-6834631c.js";
|