@revolist/ui 4.0.6-rc → 4.0.9
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/MIGRATION.md +7 -7
- package/OWNERSHIP.md +33 -33
- package/README.md +65 -410
- package/_button.scss +6 -2
- package/_chunks/{arrow-up-Cw8hW9vp.js → arrow-up-BSYhTAus.js} +1 -1
- package/_chunks/{calculator-CDWOuAcp.js → calculator-BG0Xd_Uw.js} +1 -1
- package/_chunks/{calendar-QWDyYzdo.js → calendar-C4zH4Ppn.js} +7 -7
- package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
- package/_chunks/{chart-frame-hcOlnQ1K.js → chart-frame-DzvJooS2.js} +7 -7
- package/_chunks/{check-BwI7iCAm.js → check-BFIC9pge.js} +1 -1
- package/_chunks/{chevron-down-GbplLa6s.js → chevron-down-BkrpxJYD.js} +1 -1
- package/_chunks/chevron-right-DZ79RmYV.js +4 -0
- package/_chunks/{chevron-up-BLuNMPDn.js → chevron-up-Dt846uIR.js} +1 -1
- package/_chunks/{choice-chips-A6WR-WJe.js → choice-chips-D2cJju-g.js} +6 -6
- package/_chunks/{clock-BOhPNlW3.js → clock-DTfr4p2S.js} +1 -1
- package/_chunks/{color-palette-DMJUChWC.js → color-palette-D7AS20M1.js} +5 -5
- package/_chunks/{color-picker-BK4W1nd6.js → color-picker-BanAQVfz.js} +8 -8
- package/_chunks/{component-CMkF17YZ.js → component-B8SvtSaB.js} +54 -55
- package/_chunks/{component-metadata-BKd7U8OW.js → component-metadata-DlVkpW3h.js} +1 -1
- package/_chunks/{configurator-actions-By8WSL2m.js → configurator-actions-CvZf5nYp.js} +11 -11
- package/_chunks/{configurator-field-icon-CmcM_sPs.js → configurator-field-icon-B0S_208W.js} +2 -2
- package/_chunks/{control-mlH7l0Uq.js → control-Dj7IR-i0.js} +4 -4
- package/_chunks/{controller-hRBm_Lfz.js → controller-ChkqiANQ.js} +6 -6
- package/_chunks/{controls-FUU-MUKC.js → controls-BF6WlGT4.js} +140 -105
- package/_chunks/{date-control-Dup_P3w5.js → date-control-BNj2FBF2.js} +8 -8
- package/_chunks/{date-time-9z6pAG5T.js → date-time-Ucx1ep76.js} +25 -25
- package/_chunks/{delete-button-CW9vjLnk.js → delete-button-DQSK6G-4.js} +2 -2
- package/_chunks/{dialog.parts-Bi7YbXqS.js → dialog.parts-BqkmnhIL.js} +7 -7
- package/_chunks/{duration-D7oRjsmP.js → duration-BIESsyLI.js} +9 -9
- package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-BXIUX0As.js} +3 -3
- package/_chunks/{editor-popup-ByU7qiub.js → editor-popup-BTmjGg2_.js} +5 -5
- package/_chunks/field-configurator-BWZnm3gE.js +288 -0
- package/_chunks/field-context-0oUi-w-G.js +5 -0
- package/_chunks/{framework-mount-Bk4O_T7T.js → framework-mount-DQ4opSL0.js} +4 -4
- package/_chunks/{hooks.module-CG3gN83z.js → hooks.module-CXpO2xq6.js} +2 -2
- package/_chunks/{icon-toolbar-DSjOdwM7.js → icon-toolbar-C4J_Wqph.js} +7 -7
- package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
- package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
- package/_chunks/{jsxRuntime.module-F6UFnpT-.js → jsxRuntime.module-ksX_VSbv.js} +2 -2
- package/_chunks/{magnifying-glass-CvrTDSkB.js → magnifying-glass-BFZrFs8M.js} +1 -1
- package/_chunks/{minus-BOAR3A1C.js → minus-DE8NPK_D.js} +1 -1
- package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
- package/_chunks/mount-DTCXtKfT.js +267 -0
- package/_chunks/{native-Blr3byjO.js → native-RudS9C_q.js} +3 -3
- package/_chunks/{native-control-pFMuHf3G.js → native-control-xc_B4vfn.js} +146 -141
- package/_chunks/{number-input-DqXV6vgP.js → number-input-C_TPzAJq.js} +6 -6
- package/_chunks/{picker-gEGTu1Ki.js → picker-0h5TwXGT.js} +8 -8
- package/_chunks/{plus-CbGRkIGl.js → plus-BaXticu7.js} +1 -1
- package/_chunks/{popup-C35Isk7p.js → popup-CISbXDnE.js} +6 -6
- package/_chunks/{preact.module-BBM36DnO.js → preact.module-DzTStiZX.js} +1 -1
- package/_chunks/{rating-choice-DbxdUJr-.js → rating-choice-FhWNdsiC.js} +4 -4
- package/_chunks/{render-m5eMMwFR.js → render-C6PFWlqh.js} +4 -4
- package/_chunks/{reorder-list-B0_13Sja.js → reorder-list-CR1DO4EG.js} +5 -5
- package/_chunks/{request-trail-CCSK6TJA.js → request-trail-ay92DQpo.js} +155 -146
- package/_chunks/{rich-text-5rnc8lpI.js → rich-text-ByjXFv1S.js} +15 -15
- package/_chunks/{rotate-left-BF6G883o.js → rotate-left-CTHmcGBP.js} +1 -1
- package/_chunks/{rotate-right-Iha5ScJ1.js → rotate-right-BIfKgVun.js} +1 -1
- package/_chunks/selection-list-tooltips-DqqLeO_m.js +42 -0
- package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-DKiWhsL7.js} +3 -3
- package/_chunks/{tooltip-D4xkio5G.js → tooltip-B5ziciEP.js} +4 -4
- package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
- package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-D74h-uqu.js} +3 -3
- package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-CH_c2J-J.js} +3 -3
- package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-BHajfliG.js} +4 -4
- package/_chunks/{xmark-DD_PBvZI.js → xmark-DQRQfXZI.js} +1 -1
- package/_dialog.scss +57 -22
- package/_form.scss +71 -21
- package/_legend.scss +25 -7
- package/_variables.scss +2 -1
- package/_view-switcher.scss +6 -0
- package/activity-message.d.ts +1 -1
- package/activity-message.js +2 -2
- package/ai/_chat.scss +7 -0
- package/ai/_style.scss +27 -20
- package/ai/components.d.ts +3 -1
- package/ai/index.js +2 -2
- package/ai/mount.d.ts +15 -7
- package/ai/request-trail.d.ts +9 -3
- package/ai/results/index.d.ts +1 -1
- package/ai/translations.d.ts +1 -1
- package/angular/angular.d.ts +1 -1
- package/angular/angular.js +13 -7
- package/assignee/assignee.scss +24 -6
- package/assignee/index.js +8 -8
- package/avatar/avatar.style.scss +23 -6
- package/avatar/index.d.ts +1 -1
- package/avatar/index.js +4 -4
- package/badge.d.ts +1 -1
- package/badge.js +1 -1
- package/badge.view.d.ts +1 -1
- package/brush-range/_brush-range.scss +55 -49
- package/brush-range/component.js +3 -3
- package/buttons/delete-button.js +1 -1
- package/buttons/delete-button.style.scss +6 -2
- package/buttons/remove-button.js +3 -3
- package/buttons/svg-button.js +4 -4
- package/calendar/_calendar.scss +19 -23
- package/calendar/calendar.js +1 -1
- package/calendar/day.js +3 -3
- package/calendar/header.js +3 -4
- package/calendar/index.js +3 -3
- package/calendar/model.js +1 -1
- package/calendar/month-grid.js +3 -3
- package/calendar/translations.js +1 -1
- package/calendar/year-grid.js +3 -3
- package/cell-input.js +1 -1
- package/cell-input.scss +3 -7
- package/cell-visuals/badge.style.scss +6 -3
- package/cell-visuals/bar-chart.style.scss +2 -1
- package/cell-visuals/column-type.style.css +12 -0
- package/cell-visuals/index.js +1 -1
- package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
- package/cell-visuals/progress-line.style.scss +1 -4
- package/cell-visuals/sparkline.style.scss +2 -1
- package/cell-visuals/timeline.style.css +4 -2
- package/checkbox/checkbox.scss +5 -2
- package/checkbox/index.js +2 -2
- package/choice-chips/index.js +1 -1
- package/color-palette/built-in-palettes.js +1 -1
- package/color-palette/chart-palettes.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +88 -25
- package/color-palette/color-picker.constants.js +1 -1
- package/color-palette/color-picker.js +2 -2
- package/color-palette/color-picker.style.scss +23 -10
- package/color-palette/common-palettes.d.ts +1 -1
- package/color-palette/common-palettes.js +2 -2
- package/color-palette/gantt-palettes.js +1 -1
- package/color-palette/palette.js +1 -1
- package/color-palette/pivot-palettes.js +1 -1
- package/color-palette/platform-palettes.js +1 -1
- package/color-palette/pro-palettes.js +1 -1
- package/color-palette/scheduler-palettes.js +1 -1
- package/configurator-actions.d.ts +6 -6
- package/configurator-actions.js +1 -1
- package/configurator-aggregation-list.d.ts +1 -1
- package/configurator-aggregation-list.js +22 -20
- package/configurator-drop-zone.d.ts +2 -1
- package/configurator-drop-zone.js +36 -34
- package/configurator-field-icon.js +1 -1
- package/configurator-focus.js +2 -2
- package/configurator-sections.d.ts +3 -3
- package/configurator-sections.js +4 -4
- package/control-attributes.js +1 -1
- package/control-presentation.js +4 -4
- package/controls.d.ts +11 -0
- package/controls.js +4 -4
- package/core/anchored-popover.js +1 -1
- package/core/control-id.js +1 -1
- package/core/editor-popup.js +1 -1
- package/core/motion.js +1 -1
- package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
- package/core/selection-list-tooltips.d.ts +2 -0
- package/core/tooltip.d.ts +1 -1
- package/core/top-layer-popup.d.ts +1 -1
- package/core/top-layer-popup.js +1 -1
- package/date-time/date-control.d.ts +1 -1
- package/date-time/field.d.ts +1 -0
- package/date-time/index.js +1 -1
- package/date-time/style.scss +192 -46
- package/date-time/time-selection.d.ts +1 -1
- package/dialog/dialog.dom.js +4 -4
- package/dialog/dialog.drag.js +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +2 -2
- package/distribution-chart/_distribution-chart.scss +106 -28
- package/distribution-chart/area-chart.js +4 -4
- package/distribution-chart/bar-chart.js +3 -3
- package/distribution-chart/chart-frame.d.ts +1 -1
- package/distribution-chart/index.js +2 -2
- package/distribution-chart/line-chart.js +3 -3
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/dropdown.service.js +2 -2
- package/dropdown/dropdown.types.d.ts +1 -1
- package/dropdown/editor-dropdown.style.scss +14 -9
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +5 -5
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +4 -4
- package/editor-layout/index.d.ts +4 -4
- package/editor-layout/index.js +40 -35
- package/editor-layout/style.scss +82 -18
- package/favicon.svg +9 -0
- package/field-configurator.d.ts +14 -3
- package/field-configurator.js +1 -1
- package/field-reorder.hook.js +2 -2
- package/field-reorder.js +1 -1
- package/filter/filters/slider/_single-slider.scss +57 -38
- package/filter/filters/slider/_slider.scss +35 -10
- package/filter/filters/slider/component.js +1 -1
- package/filter/filters/slider/control.js +1 -1
- package/filter/filters/slider/inputs.js +1 -1
- package/filter/filters/slider/logic.js +1 -1
- package/filter/filters/slider/preact.js +2 -2
- package/filter/filters/slider/runtime.js +3 -3
- package/filter/filters/slider/single.js +3 -3
- package/filter-badge.js +5 -5
- package/filter-controls.js +4 -4
- package/form-controls/index.js +4 -4
- package/form-controls/presentation.d.ts +1 -1
- package/form-controls/presentation.js +5 -5
- package/formatting/index.js +11 -11
- package/formatting/styles.scss +13 -11
- package/framework.js +76 -77
- package/history-controls.js +4 -4
- package/html-controls.js +1 -1
- package/icon-toolbar.d.ts +1 -1
- package/icon-toolbar.js +1 -1
- package/icons/icon.d.ts +1 -1
- package/icons/icon.js +2 -2
- package/legend.d.ts +1 -1
- package/legend.js +2 -2
- package/masked-input/index.js +6 -6
- package/native-control.js +1 -1
- package/native-styles.css +1 -1
- package/native-styles.scss +6 -2
- package/native.d.ts +3 -3
- package/native.js +18 -18
- package/number-input/index.d.ts +1 -1
- package/number-input/index.js +1 -1
- package/package.json +53 -1
- package/pagination.js +2 -2
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/header.d.ts +1 -1
- package/pdf-viewer/index.d.ts +2 -2
- package/pdf-viewer/index.js +4 -4
- package/pdf-viewer/search-bar.d.ts +1 -1
- package/pdf-viewer/status.d.ts +1 -1
- package/pdf-viewer/style.scss +203 -42
- package/preact-mount.js +2 -2
- package/preact.d.ts +5 -4
- package/preact.js +105 -67
- package/progress/_bar.scss +9 -3
- package/progress/_circular.scss +2 -1
- package/progress/bar.js +1 -1
- package/progress/circular.js +1 -1
- package/progress/range.js +1 -1
- package/rating-choice.js +1 -1
- package/react-adapter.d.ts +4 -2
- package/react-control.js +1 -1
- package/react.d.ts +2 -2
- package/react.js +30 -31
- package/reorder-list.d.ts +1 -1
- package/reorder-list.js +1 -1
- package/reorder-list.scss +59 -17
- package/resource-picker/resource-picker-avatar.js +3 -3
- package/resource-picker/resource-picker-option.js +2 -2
- package/resource-picker/resource-picker-popup.js +3 -3
- package/resource-picker/resource-picker.js +76 -74
- package/resource-picker/resource-picker.scss +62 -34
- package/resource-picker/resource-picker.utils.js +1 -1
- package/rich-text/index.js +1 -1
- package/rich-text/style.scss +203 -49
- package/rich-text/toolbar.d.ts +1 -1
- package/robots.txt +4 -0
- package/search-input/index.js +4 -4
- package/segmented-switch/index.js +2 -2
- package/select.js +1 -1
- package/selection-list.d.ts +1 -0
- package/selection-list.js +3 -1
- package/status-feedback/badge.js +2 -2
- package/status-feedback/exit-snapshot.js +2 -2
- package/status-feedback/header.js +5 -5
- package/status-feedback/icons.js +1 -1
- package/status-feedback/index.js +1 -1
- package/status-feedback/item.js +2 -2
- package/status-feedback/motion.js +1 -1
- package/status-feedback/placement.js +1 -1
- package/status-feedback/popover.js +2 -2
- package/status-feedback/render.js +1 -1
- package/status-feedback/status-feedback.scss +124 -35
- package/styles/_activity-message.scss +24 -7
- package/styles/_alert.scss +61 -14
- package/styles/_cell-editor-frame.scss +11 -0
- package/styles/_compositions.scss +399 -79
- package/styles/_control.scss +30 -8
- package/styles/_disclosure.scss +15 -5
- package/styles/_editor-counter.scss +16 -6
- package/styles/_editor-slider.scss +8 -2
- package/styles/_field-configurator.scss +192 -41
- package/styles/_fields-grid.scss +16 -4
- package/styles/_filter-controls.scss +10 -2
- package/styles/_icon-action.scss +48 -15
- package/styles/_loading.scss +12 -3
- package/styles/_motion.scss +32 -9
- package/styles/_primitives.scss +346 -96
- package/styles/_theme.scss +130 -86
- package/styles/_thresholds.scss +28 -25
- package/styles/_time-grid.scss +8 -3
- package/styles/_tokens.scss +6 -1
- package/styles/color-roles.js +1 -1
- package/styles/configurator-actions.scss +126 -26
- package/styles/pagination.css +114 -30
- package/styles/rating.css +8 -3
- package/styles.css +1 -1
- package/styles.scss +1 -3
- package/surfaces.d.ts +4 -2
- package/surfaces.js +8 -8
- package/svelte/UiComponent.svelte +44 -11
- package/svelte-control.js +1 -1
- package/svelte.d.ts +1 -1
- package/svelte.js +5 -5
- package/switch/index.js +3 -3
- package/time-grid.js +5 -5
- package/timeline-track/_style.scss +96 -24
- package/timeline-track/index.js +5 -5
- package/timeline-track/model.js +1 -1
- package/ui.css +1 -1
- package/view-switcher.d.ts +23 -0
- package/vue-badge.js +1 -1
- package/vue-control.js +1 -1
- package/vue-segmented-switch.js +1 -1
- package/vue.d.ts +3 -2
- package/vue.js +45 -46
- package/_chunks/badge.view-D30pMUfi.js +0 -14
- package/_chunks/chevron-left-D0nc4Z5S.js +0 -4
- package/_chunks/chevron-right-sxHQMSkq.js +0 -4
- package/_chunks/field-configurator-BCINdXpU.js +0 -223
- package/_chunks/field-context-D57PnBbH.js +0 -5
- package/_chunks/mount-Cw2zk58T.js +0 -266
- package/_shared/data-query/binding.d.ts +0 -30
- package/_shared/data-query/blocks.d.ts +0 -30
- package/_shared/data-query/commands.d.ts +0 -47
- package/_shared/data-query/contracts.d.ts +0 -106
- package/_shared/data-query/cursor-reader.d.ts +0 -25
- package/_shared/data-query/direct-binding.d.ts +0 -3
- package/_shared/data-query/index.d.ts +0 -23
- package/_shared/data-query/infinite-binding.d.ts +0 -18
- package/_shared/data-query/keys.d.ts +0 -9
- package/_shared/data-query/limiter.d.ts +0 -12
- package/_shared/data-query/load-options.d.ts +0 -25
- package/_shared/data-query/materialize.d.ts +0 -2
- package/_shared/data-query/policy.d.ts +0 -14
- package/_shared/data-query/provider-queries.d.ts +0 -22
- package/_shared/data-query/reader.d.ts +0 -23
- package/_shared/data-query/remote-load.d.ts +0 -7
- package/_shared/data-query/source.d.ts +0 -40
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { i as e } from "./hooks.module-
|
|
2
|
-
import { t } from "./jsxRuntime.module-
|
|
3
|
-
import { n } from "./native-control-
|
|
4
|
-
import { s as r } from "./iso-
|
|
5
|
-
import { u as i } from "./model-
|
|
6
|
-
//#region
|
|
1
|
+
import { i as e } from "./hooks.module-CXpO2xq6.js";
|
|
2
|
+
import { t } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
3
|
+
import { n } from "./native-control-xc_B4vfn.js";
|
|
4
|
+
import { s as r } from "./iso-CJQl2kmq.js";
|
|
5
|
+
import { u as i } from "./model-CFrBgRHm.js";
|
|
6
|
+
//#region internal/dates/src/date-entry.ts
|
|
7
7
|
function a(e) {
|
|
8
8
|
return e.format === "eu" ? "en-GB" : e.format === "us" ? "en-US" : e.locale;
|
|
9
9
|
}
|
|
@@ -48,10 +48,10 @@ function l(e, t = {}) {
|
|
|
48
48
|
return r(d) ? d : void 0;
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region
|
|
51
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/regular/calendar.svg?raw
|
|
52
52
|
var u = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M120 0c13.3 0 24 10.7 24 24l0 40 160 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 32 0c35.3 0 64 28.7 64 64l0 288c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 128C0 92.7 28.7 64 64 64l32 0 0-40c0-13.3 10.7-24 24-24zm0 112l-56 0c-8.8 0-16 7.2-16 16l0 48 352 0 0-48c0-8.8-7.2-16-16-16l-264 0zM48 224l0 192c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-192-352 0z\"/></svg>";
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region
|
|
54
|
+
//#region package/date-time/date-control.tsx
|
|
55
55
|
function d({ value: r, label: i, options: a = {}, multiple: o, invalid: u, errorId: d, disabled: f, readOnly: p, minDate: m, maxDate: h, onChange: g, onFocus: _ }) {
|
|
56
56
|
let [v, y] = e(!1), [b, x] = e(""), S = a.multipleSeparator?.trim() || ";", C = Array.isArray(r) ? r.map((e) => c(e, a)).join(`${S} `) : c(r, a), w = v ? b : C, T = (o ? w.split(S) : [w]).some((e) => {
|
|
57
57
|
if (!e.trim()) return !1;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { i as e } from "./preact.module-
|
|
2
|
-
import { a as t, i as n, n as r, r as i, t as a } from "./hooks.module-
|
|
3
|
-
import { t as o } from "./jsxRuntime.module-
|
|
1
|
+
import { i as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { a as t, i as n, n as r, r as i, t as a } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as o } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
4
|
import { createPreactElement as s, releasePreactElement as c } from "../preact-mount.js";
|
|
5
5
|
import { createControlId as l } from "../core/control-id.js";
|
|
6
6
|
import { SvgIcon as u } from "../icons/icon.js";
|
|
7
|
-
import { n as d } from "./native-control-
|
|
8
|
-
import "./chevron-down-
|
|
9
|
-
import {
|
|
7
|
+
import { n as d } from "./native-control-xc_B4vfn.js";
|
|
8
|
+
import "./chevron-down-BkrpxJYD.js";
|
|
9
|
+
import { R as f, t as p } from "./controls-BF6WlGT4.js";
|
|
10
10
|
import { EditorList as m, EditorListItem as h } from "../editor-layout/index.js";
|
|
11
|
-
import { t as g } from "./clock-
|
|
12
|
-
import { i as _, s as v } from "./iso-
|
|
13
|
-
import { f as y, h as b, m as x, p as S } from "./model-
|
|
14
|
-
import { n as C, t as w } from "./date-control-
|
|
15
|
-
import { t as T } from "./picker-
|
|
16
|
-
import { t as E } from "./editor-popup-
|
|
17
|
-
import { n as D } from "./editor-commit-
|
|
11
|
+
import { t as g } from "./clock-DTfr4p2S.js";
|
|
12
|
+
import { i as _, s as v } from "./iso-CJQl2kmq.js";
|
|
13
|
+
import { f as y, h as b, m as x, p as S } from "./model-CFrBgRHm.js";
|
|
14
|
+
import { n as C, t as w } from "./date-control-BNj2FBF2.js";
|
|
15
|
+
import { t as T } from "./picker-0h5TwXGT.js";
|
|
16
|
+
import { t as E } from "./editor-popup-BTmjGg2_.js";
|
|
17
|
+
import { n as D } from "./editor-commit-BXIUX0As.js";
|
|
18
18
|
import { EditorActions as O } from "../editor-actions.js";
|
|
19
|
-
//#region
|
|
19
|
+
//#region internal/dates/src/date-controls.ts
|
|
20
20
|
var k = /^(\d{4})-(\d{2})-(\d{2})$/, A = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/, j = /^(\d{2}):(\d{2})(?::(\d{2}))?$/;
|
|
21
21
|
function M(e, t, n = "minute") {
|
|
22
22
|
if (Number.isNaN(t.getTime())) return "";
|
|
@@ -43,7 +43,7 @@ function P(e) {
|
|
|
43
43
|
return String(e).padStart(2, "0");
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
|
-
//#region
|
|
46
|
+
//#region internal/dates/src/civil-time.ts
|
|
47
47
|
var F = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/;
|
|
48
48
|
function I(e) {
|
|
49
49
|
let t = /* @__PURE__ */ new Date(0);
|
|
@@ -70,7 +70,7 @@ function L(e) {
|
|
|
70
70
|
return Object.keys(n).every((e) => n[e] === i[e]) ? n : void 0;
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
|
-
//#region
|
|
73
|
+
//#region internal/dates/src/temporal-controls.ts
|
|
74
74
|
function R(e) {
|
|
75
75
|
return e.split("T")[0];
|
|
76
76
|
}
|
|
@@ -136,7 +136,7 @@ function G(e, t = "minute", n) {
|
|
|
136
136
|
return o ? M("time", o, t) : void 0;
|
|
137
137
|
}
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region
|
|
139
|
+
//#region internal/dates/src/time-selection.ts
|
|
140
140
|
function K(e) {
|
|
141
141
|
let t = e.min ? H(e.min) : void 0, n = e.max ? H(e.max) : void 0, r = e.step ?? (e.precision === "second" ? 1 : 60);
|
|
142
142
|
if (!Number.isFinite(r) || r <= 0) return [];
|
|
@@ -183,7 +183,7 @@ function ne(e, t, n) {
|
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
|
-
//#region
|
|
186
|
+
//#region package/date-time/types.ts
|
|
187
187
|
var Y = {
|
|
188
188
|
date: "Date",
|
|
189
189
|
dates: "Dates",
|
|
@@ -211,7 +211,7 @@ function X(e, t) {
|
|
|
211
211
|
return (e === "time" ? t?.chooseTime : t?.chooseDate) ?? (e === "time" ? Y.chooseTime : Y.chooseDate);
|
|
212
212
|
}
|
|
213
213
|
//#endregion
|
|
214
|
-
//#region
|
|
214
|
+
//#region package/date-time/validation.ts
|
|
215
215
|
function re(e, t, n = "") {
|
|
216
216
|
let { kind: r = "date", selection: i = "single", value: a, calendar: o = {} } = e, s = {
|
|
217
217
|
...Y,
|
|
@@ -249,7 +249,7 @@ function re(e, t, n = "") {
|
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
251
|
//#endregion
|
|
252
|
-
//#region
|
|
252
|
+
//#region package/date-time/time-control.tsx
|
|
253
253
|
function ie({ value: e, label: t, format: r = "locale", precision: i = "minute", locale: a, min: s, max: c, step: l, onChange: u }) {
|
|
254
254
|
let [f, p] = n(!1), [m, h] = n("");
|
|
255
255
|
if (r === "locale") return /* @__PURE__ */ o(d, {
|
|
@@ -283,7 +283,7 @@ function ie({ value: e, label: t, format: r = "locale", precision: i = "minute",
|
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
285
|
//#endregion
|
|
286
|
-
//#region
|
|
286
|
+
//#region package/date-time/time-selection.tsx
|
|
287
287
|
function ae({ label: e, accessibleLabel: t, values: n, selected: r, choices: s, display: c, onSelect: l }) {
|
|
288
288
|
let u = a(null), d = r !== void 0 && s.has(r), f = d ? r : n.find((e) => s.has(e));
|
|
289
289
|
i(() => {
|
|
@@ -402,7 +402,7 @@ function Z({ value: e, label: i, text: a, onChange: s, format: c = "locale", pre
|
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
//#endregion
|
|
405
|
-
//#region
|
|
405
|
+
//#region package/date-time/picker.tsx
|
|
406
406
|
function oe(t) {
|
|
407
407
|
let { kind: r = "date", selection: a = "single", value: s, onChange: c, calendar: u = {} } = t, d = (u.numberOfMonths ?? 1) >= 2, m = {
|
|
408
408
|
...Y,
|
|
@@ -624,7 +624,7 @@ function oe(t) {
|
|
|
624
624
|
});
|
|
625
625
|
}
|
|
626
626
|
//#endregion
|
|
627
|
-
//#region
|
|
627
|
+
//#region package/date-time/field.tsx
|
|
628
628
|
function Q({ value: e, options: t, apply: r, cancel: i, onValidChange: a, clearable: s = !0 }) {
|
|
629
629
|
let [c, l] = n(e), [u, d] = n(!1), [p, m] = n(""), h = (e) => {
|
|
630
630
|
l(e), m("");
|
|
@@ -738,7 +738,7 @@ function se({ value: e, kind: t = "date", picker: n, livePickerUpdates: r, onVal
|
|
|
738
738
|
});
|
|
739
739
|
}
|
|
740
740
|
//#endregion
|
|
741
|
-
//#region
|
|
741
|
+
//#region package/date-time/attach.tsx
|
|
742
742
|
var $ = /* @__PURE__ */ new WeakMap();
|
|
743
743
|
function ce(e, t, n) {
|
|
744
744
|
$.get(e)?.();
|
|
@@ -785,7 +785,7 @@ function ce(e, t, n) {
|
|
|
785
785
|
return $.set(e, d), d;
|
|
786
786
|
}
|
|
787
787
|
//#endregion
|
|
788
|
-
//#region
|
|
788
|
+
//#region package/date-time/value.tsx
|
|
789
789
|
function le(e, t) {
|
|
790
790
|
let n = Number.isFinite(t.maxVisibleDates) ? Math.max(1, Math.floor(t.maxVisibleDates)) : 2, r = t.multiple ? t.values.slice(0, n) : t.values, i = t.values.length - r.length;
|
|
791
791
|
return e("span", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./jsxRuntime.module-
|
|
2
|
-
//#region
|
|
1
|
+
import { t as e } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
2
|
+
//#region package/icons/cancel.svg?raw
|
|
3
3
|
var t = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path fill=\"currentColor\" d=\"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z\"/></svg>", n = ({ onClick: n, disabled: r, rounded: i, className: a, onMouseDown: o, onDblClick: s, locale: c = {
|
|
4
4
|
title: "Remove",
|
|
5
5
|
ariaLabel: "Remove"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as e } from "./preact.module-
|
|
2
|
-
import { t } from "./jsxRuntime.module-
|
|
1
|
+
import { i as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { t } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
3
3
|
import { createPreactElement as n, releasePreactElement as r } from "../preact-mount.js";
|
|
4
|
-
import { n as i, t as a } from "./native-control-
|
|
5
|
-
import { r as o } from "./popup-
|
|
6
|
-
import { t as s } from "./xmark-
|
|
7
|
-
//#region
|
|
4
|
+
import { n as i, t as a } from "./native-control-xc_B4vfn.js";
|
|
5
|
+
import { r as o } from "./popup-CISbXDnE.js";
|
|
6
|
+
import { t as s } from "./xmark-DQRQfXZI.js";
|
|
7
|
+
//#region package/dialog/dialog-action-footer.tsx
|
|
8
8
|
function c({ cancel: e = {}, save: n = {}, deleteAction: r = !1, reset: i = !1, start: o, end: s, children: c, actionsClass: l = "", class: u = "", ...d }) {
|
|
9
9
|
let f = (e, n, r, i = "", o = "button") => {
|
|
10
10
|
if (n === !1) return null;
|
|
@@ -47,7 +47,7 @@ function l(e, i) {
|
|
|
47
47
|
} };
|
|
48
48
|
}
|
|
49
49
|
//#endregion
|
|
50
|
-
//#region
|
|
50
|
+
//#region package/dialog/dialog.parts.tsx
|
|
51
51
|
var u = o(({ class: e = "", ...n }, r) => /* @__PURE__ */ t("header", {
|
|
52
52
|
...n,
|
|
53
53
|
ref: r,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as e } from "./preact.module-
|
|
2
|
-
import { c as t, i as n, t as r } from "./hooks.module-
|
|
3
|
-
import { t as i } from "./jsxRuntime.module-
|
|
4
|
-
import { l as a, n as o } from "./native-control-
|
|
1
|
+
import { i as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { c as t, i as n, t as r } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as i } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
|
+
import { l as a, n as o } from "./native-control-xc_B4vfn.js";
|
|
5
5
|
import { SegmentedSwitch as s } from "../segmented-switch/index.js";
|
|
6
6
|
import { SingleValueSlider as c } from "../filter/filters/slider/single.js";
|
|
7
|
-
import { n as l } from "./editor-commit-
|
|
7
|
+
import { n as l } from "./editor-commit-BXIUX0As.js";
|
|
8
8
|
import { EditorActions as u } from "../editor-actions.js";
|
|
9
|
-
//#region
|
|
9
|
+
//#region internal/dates/src/duration.ts
|
|
10
10
|
var d = {
|
|
11
11
|
m: "minute",
|
|
12
12
|
min: "minute",
|
|
@@ -85,7 +85,7 @@ function g(e, t, n) {
|
|
|
85
85
|
return `${r} ${n?.elapsed ? "elapsed " : ""}${a}`;
|
|
86
86
|
}
|
|
87
87
|
//#endregion
|
|
88
|
-
//#region
|
|
88
|
+
//#region internal/dates/src/duration-control.ts
|
|
89
89
|
function _(e, t) {
|
|
90
90
|
if (e == null || typeof e == "string" && !e.trim()) return {
|
|
91
91
|
valid: !t.required,
|
|
@@ -101,7 +101,7 @@ function _(e, t) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
|
-
//#region
|
|
104
|
+
//#region package/duration/controls.tsx
|
|
105
105
|
var v = {
|
|
106
106
|
minute: "min",
|
|
107
107
|
hour: "hour",
|
|
@@ -177,7 +177,7 @@ function y(t) {
|
|
|
177
177
|
})] });
|
|
178
178
|
}
|
|
179
179
|
//#endregion
|
|
180
|
-
//#region
|
|
180
|
+
//#region package/duration/index.tsx
|
|
181
181
|
function b(e) {
|
|
182
182
|
let a = (t) => t && typeof t == "object" ? g(t.value, t.unit, {
|
|
183
183
|
elapsed: t.elapsed,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as e } from "./preact.module-
|
|
2
|
-
import { r as t, s as n, t as r } from "./hooks.module-
|
|
3
|
-
//#region
|
|
1
|
+
import { s as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { r as t, s as n, t as r } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
//#region package/core/editor-commit.tsx
|
|
4
4
|
var i = e(void 0);
|
|
5
5
|
function a(e, a = !0) {
|
|
6
6
|
let o = n(i), s = r(e);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { calculateAnchoredPopoverPosition as e } from "../core/anchored-popover.js";
|
|
2
|
-
import { t } from "./jsxRuntime.module-
|
|
2
|
+
import { t } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
3
3
|
import { createPreactElement as n, releasePreactElement as r } from "../preact-mount.js";
|
|
4
|
-
import { i, r as a, t as o } from "./top-layer-popup-
|
|
5
|
-
import { t as s } from "./editor-commit-
|
|
6
|
-
//#region
|
|
4
|
+
import { i, r as a, t as o } from "./top-layer-popup-BHajfliG.js";
|
|
5
|
+
import { t as s } from "./editor-commit-BXIUX0As.js";
|
|
6
|
+
//#region package/core/editor-popup-position.ts
|
|
7
7
|
function c(t, n, r, { gap: i = 4, inset: a = 8, fitViewport: o = !1 } = {}) {
|
|
8
8
|
let s = Math.max(0, r.height - a - t.bottom - i), c = Math.max(0, t.top - a - i), l = n.height <= s || s >= c ? "below" : "above", u = l === "below" ? s : c, d = o && n.height > u ? Math.max(u, r.height - 2 * a) : u, f = Math.min(n.height, d), p = l === "below" ? t.bottom + i : t.top - f - i;
|
|
9
9
|
return {
|
|
@@ -14,7 +14,7 @@ function c(t, n, r, { gap: i = 4, inset: a = 8, fitViewport: o = !1 } = {}) {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region
|
|
17
|
+
//#region package/core/editor-popup.tsx
|
|
18
18
|
var l = /* @__PURE__ */ new WeakMap();
|
|
19
19
|
function u(e, u, d) {
|
|
20
20
|
let f = e.ownerDocument, p = f.defaultView;
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { c as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { a as t, i as n, r, t as i } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { t as a } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
4
|
+
import { SvgIcon as o } from "../icons/icon.js";
|
|
5
|
+
import { t as s } from "./native-control-xc_B4vfn.js";
|
|
6
|
+
import { n as c } from "./delete-button-DQSK6G-4.js";
|
|
7
|
+
import { RemoveButton as l } from "../buttons/remove-button.js";
|
|
8
|
+
import { B as u, S as d } from "./controls-BF6WlGT4.js";
|
|
9
|
+
import { t as f } from "./chevron-right-DZ79RmYV.js";
|
|
10
|
+
import { t as p } from "./tooltip-text-CH_c2J-J.js";
|
|
11
|
+
import { DisclosureSummary as m } from "../form-controls/presentation.js";
|
|
12
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/table-columns.svg?raw
|
|
13
|
+
var h = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 128 0 0-256-128 0zm320 0l-128 0 0 256 128 0 0-256z\"/></svg>";
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region package/field-expansion.ts
|
|
16
|
+
function g() {
|
|
17
|
+
return {
|
|
18
|
+
known: /* @__PURE__ */ new Set(),
|
|
19
|
+
expanded: /* @__PURE__ */ new Set(),
|
|
20
|
+
collapsed: /* @__PURE__ */ new Set()
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function _(e, t, n) {
|
|
24
|
+
for (let n of t) e.known.has(n) || (e.known.add(n), e.expanded.add(n));
|
|
25
|
+
return new Set(n ? t : e.expanded);
|
|
26
|
+
}
|
|
27
|
+
function v(e, t) {
|
|
28
|
+
e.expanded = new Set([...t].map(String)), e.collapsed = new Set([...e.known].filter((t) => !e.expanded.has(t)));
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region package/field-configurator.tsx
|
|
32
|
+
function y({ svg: e, className: t = "" }) {
|
|
33
|
+
return /* @__PURE__ */ a(o, {
|
|
34
|
+
svg: e,
|
|
35
|
+
className: `rv-configurator-icon ${t}`
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function b({ children: e, className: t = "", ...n }) {
|
|
39
|
+
return /* @__PURE__ */ a(m, {
|
|
40
|
+
...n,
|
|
41
|
+
className: `rv-configurator-summary ${t}`,
|
|
42
|
+
iconPosition: "after",
|
|
43
|
+
icon: /* @__PURE__ */ a(y, { svg: f }),
|
|
44
|
+
children: e
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function x({ title: e, id: t, count: n, children: r, className: i = "" }) {
|
|
48
|
+
return /* @__PURE__ */ a("details", {
|
|
49
|
+
id: t,
|
|
50
|
+
tabIndex: t ? -1 : void 0,
|
|
51
|
+
class: `rv-configurator-available-fields ${i}`,
|
|
52
|
+
open: !0,
|
|
53
|
+
children: [/* @__PURE__ */ a(b, { children: [e, n != null && /* @__PURE__ */ a("span", {
|
|
54
|
+
class: "rv-configurator-field-count",
|
|
55
|
+
children: n
|
|
56
|
+
})] }), /* @__PURE__ */ a("div", {
|
|
57
|
+
class: "rv-configurator-library-content",
|
|
58
|
+
children: r
|
|
59
|
+
})]
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function S({ children: e, actions: t, className: n = "" }) {
|
|
63
|
+
return /* @__PURE__ */ a("div", {
|
|
64
|
+
class: `rv-configurator-zone-heading ${n}`,
|
|
65
|
+
children: [/* @__PURE__ */ a("span", {
|
|
66
|
+
class: "rv-configurator-zone-label",
|
|
67
|
+
children: e
|
|
68
|
+
}), t && /* @__PURE__ */ a("span", {
|
|
69
|
+
class: "rv-configurator-zone-actions",
|
|
70
|
+
children: t
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function C({ heading: e, actions: t, headingClassName: n, className: r = "", children: i, ...o }) {
|
|
75
|
+
return /* @__PURE__ */ a("section", {
|
|
76
|
+
...o,
|
|
77
|
+
className: `rv-configurator-zone ${r}`,
|
|
78
|
+
children: [/* @__PURE__ */ a(S, {
|
|
79
|
+
className: n,
|
|
80
|
+
actions: t,
|
|
81
|
+
children: e
|
|
82
|
+
}), i]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function w({ empty: e, placeholder: t, className: n = "", children: r, ...i }) {
|
|
86
|
+
return /* @__PURE__ */ a("ul", {
|
|
87
|
+
...i,
|
|
88
|
+
className: `rv-configurator-field-list ${e ? "empty" : ""} ${n}`,
|
|
89
|
+
children: e ? /* @__PURE__ */ a("li", {
|
|
90
|
+
className: "rv-configurator-empty-zone empty",
|
|
91
|
+
children: t
|
|
92
|
+
}) : r
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function T({ className: e = "", children: t, indicator: n, dropPosition: r, ...i }) {
|
|
96
|
+
return /* @__PURE__ */ a("li", {
|
|
97
|
+
...i,
|
|
98
|
+
className: `rv-configurator-field rv-configurator-field-row ${e}`,
|
|
99
|
+
children: [
|
|
100
|
+
n ?? (r && /* @__PURE__ */ a(P, { position: r })),
|
|
101
|
+
/* @__PURE__ */ a("span", {
|
|
102
|
+
className: "rv-configurator-drag-handle",
|
|
103
|
+
"aria-hidden": "true"
|
|
104
|
+
}),
|
|
105
|
+
t
|
|
106
|
+
]
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
function E({ icon: e, children: t, className: n = "" }) {
|
|
110
|
+
return /* @__PURE__ */ a("span", {
|
|
111
|
+
class: `rv-configurator-field-content ${n}`,
|
|
112
|
+
children: [e, /* @__PURE__ */ a("span", {
|
|
113
|
+
class: "rv-configurator-field-caption",
|
|
114
|
+
children: t
|
|
115
|
+
})]
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
function D({ as: t = "div", children: n, className: r = "", ...i }) {
|
|
119
|
+
return e(t, {
|
|
120
|
+
...i,
|
|
121
|
+
class: `rv-configurator-field ${r}`
|
|
122
|
+
}, n);
|
|
123
|
+
}
|
|
124
|
+
function O({ children: e, ...t }) {
|
|
125
|
+
return /* @__PURE__ */ a("div", {
|
|
126
|
+
...t,
|
|
127
|
+
className: `rv-configurator-library-list ${t.className ?? ""}`,
|
|
128
|
+
children: e
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function k({ label: e, icon: t, actions: n, contentClassName: r, ...i }) {
|
|
132
|
+
return /* @__PURE__ */ a(T, {
|
|
133
|
+
...i,
|
|
134
|
+
children: [/* @__PURE__ */ a(E, {
|
|
135
|
+
className: r,
|
|
136
|
+
icon: t,
|
|
137
|
+
children: e
|
|
138
|
+
}), n]
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
function A({ children: e, className: t = "", ...n }) {
|
|
142
|
+
return /* @__PURE__ */ a("div", {
|
|
143
|
+
...n,
|
|
144
|
+
className: `rv-configurator-field-actions ${t}`,
|
|
145
|
+
children: e
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
function j({ children: e, active: t = !1, label: n, className: r = "" }) {
|
|
149
|
+
return /* @__PURE__ */ a(p, {
|
|
150
|
+
className: `rv-configurator-status-badge ${r}`,
|
|
151
|
+
"data-active": t ? "true" : void 0,
|
|
152
|
+
title: n,
|
|
153
|
+
"aria-label": n,
|
|
154
|
+
children: e
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function M(e) {
|
|
158
|
+
return /* @__PURE__ */ a(l, {
|
|
159
|
+
...e,
|
|
160
|
+
className: `rv-configurator-remove-button ${e.className ?? ""}`
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
function N() {
|
|
164
|
+
return /* @__PURE__ */ a(o, { svg: c });
|
|
165
|
+
}
|
|
166
|
+
function P({ position: e, index: t, className: n = "" }) {
|
|
167
|
+
return /* @__PURE__ */ a("span", {
|
|
168
|
+
className: `rv-configurator-drop-indicator ${n}`,
|
|
169
|
+
"data-position": e,
|
|
170
|
+
"data-drop-index": t,
|
|
171
|
+
"aria-hidden": "true"
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
function F({ title: e, description: t, defaultOpen: n = !1, children: r, className: o = "", summaryClassName: s = "", contentClassName: c = "", descriptionClassName: l = "", renderRoot: u }) {
|
|
175
|
+
let d = i(n), f = {
|
|
176
|
+
class: `rv-collapsible-section rv-configurator-section ${o}`.trim(),
|
|
177
|
+
open: d.current,
|
|
178
|
+
children: [/* @__PURE__ */ a(b, {
|
|
179
|
+
className: s,
|
|
180
|
+
children: e
|
|
181
|
+
}), /* @__PURE__ */ a("div", {
|
|
182
|
+
class: `rv-collapsible-section__content ${c}`.trim(),
|
|
183
|
+
children: [t && /* @__PURE__ */ a("p", {
|
|
184
|
+
class: `rv-collapsible-section__description ${l}`.trim(),
|
|
185
|
+
children: t
|
|
186
|
+
}), r]
|
|
187
|
+
})]
|
|
188
|
+
};
|
|
189
|
+
return u ? u(f) : /* @__PURE__ */ a("details", { ...f });
|
|
190
|
+
}
|
|
191
|
+
function I({ panelRef: e, standalone: o = !1, children: c, compactItems: l, compact: f = !1, onExpand: p, miniMode: m = !1, resizable: h = !1, resizeParent: g = !1, ..._ }) {
|
|
192
|
+
let [v, b] = n(), x = m || h, S = x ? !(v ?? !m) : f, [C, w] = n(), T = i(null);
|
|
193
|
+
r(() => {
|
|
194
|
+
let e = T.current?.parentElement?.parentElement;
|
|
195
|
+
if (h && g && !S && C !== void 0 && e) return e.style.setProperty("--rv-configurator-resized-width", `${C}px`), () => e.style.removeProperty("--rv-configurator-resized-width");
|
|
196
|
+
}, [
|
|
197
|
+
h,
|
|
198
|
+
g,
|
|
199
|
+
S,
|
|
200
|
+
C
|
|
201
|
+
]);
|
|
202
|
+
let E = t(), D = i(null), O = i(null), k = i(!1), A = i();
|
|
203
|
+
r(() => {
|
|
204
|
+
k.current && (k.current = !1, S ? D.current?.querySelector("button:not(:disabled)")?.focus() : (A.current && O.current?.ownerDocument.getElementById(A.current) || O.current)?.focus());
|
|
205
|
+
}, [S]);
|
|
206
|
+
let j = (e) => {
|
|
207
|
+
x && (A.current = e.targetId, k.current = !0, b(!0)), p?.(), e.onOpen?.();
|
|
208
|
+
}, M = x && !l?.some((e) => !e.disabled) ? [{
|
|
209
|
+
id: "expand",
|
|
210
|
+
label: "Expand configurator"
|
|
211
|
+
}] : l, N = () => {
|
|
212
|
+
k.current = !0, b(!1);
|
|
213
|
+
}, P = h && !g && C !== void 0 ? typeof _.style == "string" ? `${_.style};width:${C}px` : {
|
|
214
|
+
..._.style,
|
|
215
|
+
width: C
|
|
216
|
+
} : _.style;
|
|
217
|
+
return /* @__PURE__ */ a("div", {
|
|
218
|
+
..._,
|
|
219
|
+
style: P,
|
|
220
|
+
ref: e,
|
|
221
|
+
"data-compact": S ? "true" : void 0,
|
|
222
|
+
"data-mini-mode": x ? "true" : void 0,
|
|
223
|
+
"data-resizable": h ? "true" : void 0,
|
|
224
|
+
className: `rv-configurator-panel ${o ? "rv-configurator-panel--standalone" : ""} ${_.className ?? ""}`,
|
|
225
|
+
children: [
|
|
226
|
+
S && M && /* @__PURE__ */ a("div", {
|
|
227
|
+
ref: D,
|
|
228
|
+
className: "rv-configurator-rail",
|
|
229
|
+
role: "group",
|
|
230
|
+
"aria-label": _["aria-label"] ?? "Configurator",
|
|
231
|
+
children: M.map((e) => /* @__PURE__ */ a(s, {
|
|
232
|
+
unstyled: !0,
|
|
233
|
+
class: "rv-btn rv-btn-ghost rv-configurator-rail__button",
|
|
234
|
+
"aria-label": `${e.label}${e.count === void 0 ? "" : ` (${e.count})`}`,
|
|
235
|
+
title: `${e.label}${e.count === void 0 ? "" : ` (${e.count})`}`,
|
|
236
|
+
"aria-expanded": !x && void 0,
|
|
237
|
+
"aria-controls": x ? E : void 0,
|
|
238
|
+
disabled: e.disabled,
|
|
239
|
+
onClick: () => j(e),
|
|
240
|
+
children: [
|
|
241
|
+
/* @__PURE__ */ a(y, { svg: e.icon ?? "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 128 0 0-256-128 0zm320 0l-128 0 0 256 128 0 0-256z\"/></svg>" }),
|
|
242
|
+
x && /* @__PURE__ */ a("span", {
|
|
243
|
+
class: "rv-configurator-rail__label",
|
|
244
|
+
children: e.label
|
|
245
|
+
}),
|
|
246
|
+
e.count !== void 0 && /* @__PURE__ */ a(u, {
|
|
247
|
+
className: "rv-configurator-rail__count",
|
|
248
|
+
variant: e.count ? "accent" : "neutral",
|
|
249
|
+
children: e.count
|
|
250
|
+
})
|
|
251
|
+
]
|
|
252
|
+
}, e.id))
|
|
253
|
+
}),
|
|
254
|
+
h && !S && /* @__PURE__ */ a(d, {
|
|
255
|
+
anchorRef: T,
|
|
256
|
+
resizeParent: g,
|
|
257
|
+
label: "Resize configurator",
|
|
258
|
+
edge: g ? "left" : "right",
|
|
259
|
+
initialWidth: 360,
|
|
260
|
+
min: 56,
|
|
261
|
+
max: 720,
|
|
262
|
+
onChange: (e) => {
|
|
263
|
+
e < 200 ? N() : w(e);
|
|
264
|
+
}
|
|
265
|
+
}),
|
|
266
|
+
x && !S && /* @__PURE__ */ a("div", {
|
|
267
|
+
class: "rv-configurator-panel__toggle",
|
|
268
|
+
children: /* @__PURE__ */ a(s, {
|
|
269
|
+
ref: O,
|
|
270
|
+
class: "rv-btn-ghost",
|
|
271
|
+
"aria-label": "Collapse configurator",
|
|
272
|
+
"aria-expanded": !0,
|
|
273
|
+
"aria-controls": E,
|
|
274
|
+
onClick: N,
|
|
275
|
+
children: "Collapse"
|
|
276
|
+
})
|
|
277
|
+
}),
|
|
278
|
+
l || x ? /* @__PURE__ */ a("div", {
|
|
279
|
+
id: x ? E : void 0,
|
|
280
|
+
class: "rv-configurator-panel__content",
|
|
281
|
+
hidden: S,
|
|
282
|
+
children: c
|
|
283
|
+
}) : c
|
|
284
|
+
]
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
//#endregion
|
|
288
|
+
export { h as S, b as _, P as a, _ as b, y as c, O as d, w as f, j as g, T as h, E as i, D as l, N as m, I as n, C as o, M as p, A as r, S as s, F as t, x as u, k as v, v as x, g as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as e, r as t } from "./preact.module-
|
|
2
|
-
import { r as n, t as r } from "./hooks.module-
|
|
3
|
-
import { n as i } from "./component-metadata-
|
|
4
|
-
//#region
|
|
1
|
+
import { c as e, r as t } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
import { r as n, t as r } from "./hooks.module-CXpO2xq6.js";
|
|
3
|
+
import { n as i } from "./component-metadata-DlVkpW3h.js";
|
|
4
|
+
//#region package/framework-mount.ts
|
|
5
5
|
function a(i, a) {
|
|
6
6
|
let o = /* @__PURE__ */ new Map(), s = !1, c = 0;
|
|
7
7
|
function l({ content: t, scope: i }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as e } from "./preact.module-
|
|
2
|
-
//#region
|
|
1
|
+
import { l as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
//#region node_modules/.pnpm/preact@10.29.1/node_modules/preact/hooks/dist/hooks.module.js
|
|
3
3
|
var t, n, r, i, a = 0, o = [], s = e, c = s.__b, l = s.__r, u = s.diffed, d = s.__c, f = s.unmount, p = s.__;
|
|
4
4
|
function m(e, t) {
|
|
5
5
|
s.__h && s.__h(n, e, a || t), a = 0;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e } from "./jsxRuntime.module-
|
|
2
|
-
import { t } from "./title-tooltip-
|
|
3
|
-
import { n, t as r } from "./arrow-up-
|
|
4
|
-
import { t as i } from "./rotate-left-
|
|
5
|
-
import { t as a } from "./plus-
|
|
6
|
-
import { t as o } from "./minus-
|
|
1
|
+
import { t as e } from "./jsxRuntime.module-ksX_VSbv.js";
|
|
2
|
+
import { t } from "./title-tooltip-DKiWhsL7.js";
|
|
3
|
+
import { n, t as r } from "./arrow-up-BSYhTAus.js";
|
|
4
|
+
import { t as i } from "./rotate-left-CTHmcGBP.js";
|
|
5
|
+
import { t as a } from "./plus-BaXticu7.js";
|
|
6
|
+
import { t as o } from "./minus-DE8NPK_D.js";
|
|
7
7
|
//#endregion
|
|
8
|
-
//#region
|
|
8
|
+
//#region package/icon-toolbar.tsx
|
|
9
9
|
var s = {
|
|
10
10
|
plus: a,
|
|
11
11
|
minus: o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#endregion
|
|
2
|
-
//#region
|
|
2
|
+
//#region package/status-feedback/icons.ts
|
|
3
3
|
function e(e, t, n) {
|
|
4
4
|
let r = n ? "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8-79.3 23.6-137.1 97.1-137.1 184.1 0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256 512 397.4 397.4 512 256 512S0 397.4 0 256c0-116 77.1-213.9 182.9-245.4 16.9-5 34.8 4.6 39.8 21.5z\"/></svg>" : t === "success" ? "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-464a208 208 0 1 0 0 416 208 208 0 1 0 0-416zm70.7 121.9c7.8-10.7 22.8-13.1 33.5-5.3 10.7 7.8 13.1 22.8 5.3 33.5L243.4 366.1c-4.1 5.7-10.5 9.3-17.5 9.8-7 .5-13.9-2-18.8-6.9l-55.9-55.9c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l36 36 105.6-145.2z\"/></svg>" : t === "warning" || t === "danger" ? "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z\"/></svg>" : void 0;
|
|
5
5
|
return r ? e("span", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as e } from "./preact.module-
|
|
2
|
-
//#region
|
|
1
|
+
import { l as e } from "./preact.module-DzTStiZX.js";
|
|
2
|
+
//#region node_modules/.pnpm/preact@10.29.1/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
|
|
3
3
|
var t = 0;
|
|
4
4
|
Array.isArray;
|
|
5
5
|
function n(n, r, i, a, o, s) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/magnifying-glass.svg?raw
|
|
2
2
|
var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z\"/></svg>";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as t };
|