@revolist/ui 4.0.4-rc → 4.0.6-rc
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 +36 -0
- package/OWNERSHIP.md +10 -10
- package/README.md +22 -4
- package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
- package/_chunks/badge.view-D30pMUfi.js +14 -0
- package/_chunks/calculator-CDWOuAcp.js +4 -0
- package/_chunks/{calendar-xpZ0v3xf.js → calendar-QWDyYzdo.js} +19 -19
- package/_chunks/chart-frame-hcOlnQ1K.js +145 -0
- package/_chunks/check-BwI7iCAm.js +4 -0
- package/_chunks/choice-chips-A6WR-WJe.js +126 -0
- package/_chunks/{color-palette-D8vyPfld.js → color-palette-DMJUChWC.js} +20 -22
- package/_chunks/color-picker-BK4W1nd6.js +143 -0
- package/_chunks/{component-C_T2VN5u.js → component-CMkF17YZ.js} +281 -265
- package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-BKd7U8OW.js} +0 -8
- package/_chunks/configurator-actions-By8WSL2m.js +155 -0
- package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
- package/_chunks/{control-AHKXD5Eu.js → control-mlH7l0Uq.js} +42 -17
- package/_chunks/{controls-DsNi8V8I.js → controls-FUU-MUKC.js} +171 -186
- package/_chunks/{date-control-DrVFX13g.js → date-control-Dup_P3w5.js} +1 -1
- package/_chunks/{date-time-qIhp5vaX.js → date-time-9z6pAG5T.js} +317 -278
- package/_chunks/dialog.parts-Bi7YbXqS.js +131 -0
- package/_chunks/{duration-CL68Em0o.js → duration-D7oRjsmP.js} +5 -5
- package/_chunks/editor-popup-ByU7qiub.js +82 -0
- package/_chunks/field-configurator-BCINdXpU.js +223 -0
- package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-Bk4O_T7T.js} +1 -1
- package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
- package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
- package/_chunks/minus-BOAR3A1C.js +4 -0
- package/_chunks/mount-Cw2zk58T.js +266 -0
- package/_chunks/{native.view-ByyZ1CT5.js → native-Blr3byjO.js} +1 -1
- package/_chunks/native-control-pFMuHf3G.js +644 -0
- package/_chunks/{number-input-BKwA5FnM.js → number-input-DqXV6vgP.js} +7 -7
- package/_chunks/{picker-h1P5RUgp.js → picker-gEGTu1Ki.js} +2 -2
- package/_chunks/plus-CbGRkIGl.js +4 -0
- package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
- package/_chunks/{popup-CT2uD3go.js → popup-C35Isk7p.js} +115 -104
- package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-DbxdUJr-.js} +1 -1
- package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-B0_13Sja.js} +1 -1
- package/_chunks/request-trail-CCSK6TJA.js +753 -0
- package/_chunks/rich-text-5rnc8lpI.js +842 -0
- package/_chunks/rotate-left-BF6G883o.js +4 -0
- package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
- package/_chunks/tooltip-D4xkio5G.js +54 -0
- package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
- package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
- package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
- package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
- package/_variables.scss +33 -32
- package/ai/_chat.scss +28 -3
- package/ai/_style.scss +55 -2
- package/ai/chat.d.ts +3 -1
- package/ai/components.d.ts +13 -2
- package/ai/index.d.ts +1 -0
- package/ai/index.js +3 -3
- package/ai/mount.d.ts +17 -1
- package/ai/results/_style.scss +83 -0
- package/ai/results/index.d.ts +11 -0
- package/ai/results/metrics.d.ts +5 -0
- package/ai/results/table.d.ts +5 -0
- package/ai/results/text.d.ts +5 -0
- package/ai/results/types.d.ts +29 -0
- package/ai/transcript.d.ts +2 -0
- package/ai/translations.d.ts +1 -1
- package/assignee/assignee.scss +5 -1
- package/assignee/index.js +2 -2
- package/avatar/index.d.ts +25 -2
- package/avatar/index.js +33 -32
- package/badge.view.d.ts +8 -0
- package/brush-range/component.d.ts +1 -3
- package/brush-range/component.js +27 -27
- package/buttons/remove-button.d.ts +1 -1
- package/buttons/remove-button.style.scss +1 -1
- package/buttons/svg-button.d.ts +1 -1
- package/buttons/svg-button.js +16 -16
- package/calendar/_calendar.scss +2 -2
- package/calendar/calendar.js +1 -1
- package/calendar/index.js +2 -2
- package/checkbox/checkbox.scss +1 -22
- package/choice-chips/index.d.ts +3 -1
- package/choice-chips/index.js +1 -1
- package/color-palette/color-palette.js +1 -1
- package/color-palette/color-palette.style.scss +1 -1
- package/color-palette/color-picker.js +2 -2
- package/color-palette/common-palettes.d.ts +1 -1
- package/color-palette/common-palettes.js +1 -1
- package/color-palette/native.d.ts +15 -2
- package/component-catalog.d.ts +9 -7
- package/configurator-actions.d.ts +67 -0
- package/configurator-actions.js +1 -0
- package/configurator-aggregation-list.d.ts +14 -0
- package/configurator-aggregation-list.js +61 -0
- package/configurator-drop-zone.d.ts +38 -0
- package/configurator-drop-zone.js +64 -0
- package/configurator-field-icon.d.ts +10 -0
- package/configurator-field-icon.js +1 -0
- package/configurator-focus.d.ts +4 -0
- package/configurator-focus.js +39 -0
- package/configurator-sections.d.ts +42 -0
- package/configurator-sections.js +71 -0
- package/control-presentation.d.ts +8 -2
- package/control-presentation.js +25 -20
- package/controls.d.ts +1 -2
- package/controls.js +4 -3
- package/core/editor-popup-position.d.ts +6 -2
- package/core/editor-popup.d.ts +4 -0
- package/core/editor-popup.js +1 -1
- package/core/popover-controller.d.ts +35 -0
- package/core/popup-ownership.d.ts +2 -0
- package/core/title-tooltip.d.ts +2 -0
- package/core/tooltip-session.d.ts +29 -0
- package/core/tooltip-surface.d.ts +13 -0
- package/core/tooltip-text.d.ts +6 -0
- package/core/tooltip.d.ts +35 -0
- package/core/top-layer-popup.d.ts +4 -0
- package/core/top-layer-popup.js +1 -23
- package/date-time/attach.d.ts +1 -1
- package/date-time/field.d.ts +3 -2
- package/date-time/index.js +1 -1
- package/date-time/style.scss +64 -7
- package/date-time/time-selection.d.ts +3 -1
- package/date-time/types.d.ts +5 -1
- package/dialog/dialog-action-footer.d.ts +17 -2
- package/dialog/dialog.dom.d.ts +15 -2
- package/dialog/dialog.dom.js +9 -9
- package/dialog/dialog.parts.d.ts +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/distribution-chart/_distribution-chart.scss +12 -54
- package/distribution-chart/area-chart.js +1 -1
- package/distribution-chart/bar-chart.js +1 -1
- package/distribution-chart/index.d.ts +1 -1
- package/distribution-chart/line-chart.js +1 -1
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/editor-dropdown.style.scss +5 -0
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.d.ts +5 -0
- package/dropdown/lookup-field.js +2 -1
- package/dropdown/popup.d.ts +2 -2
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +1 -1
- package/field-configurator.d.ts +27 -0
- package/field-configurator.js +4 -170
- package/field-expansion.d.ts +9 -0
- package/filter/filters/slider/_slider.scss +8 -25
- package/filter/filters/slider/control.js +2 -0
- package/filter/filters/slider/runtime.js +49 -22
- package/filter/filters/slider/single.js +1 -1
- package/filter-badge.js +1 -1
- package/filter-controls.d.ts +0 -1
- package/filter-controls.js +5 -6
- package/form-controls/index.d.ts +10 -2
- package/form-controls/index.js +7 -7
- package/form-controls/presentation.js +12 -12
- package/formatting/index.d.ts +1 -1
- package/formatting/index.js +22 -21
- package/formatting/styles.scss +2 -47
- package/framework.js +226 -222
- package/history-controls.js +27 -1
- package/icon-toolbar.d.ts +62 -0
- package/icon-toolbar.js +1 -0
- package/masked-input/index.js +1 -1
- package/native-control.d.ts +1 -2
- package/native-control.js +1 -1
- package/native-controls.d.ts +54 -2
- package/native-styles.css +1 -1
- package/native.js +46 -43
- package/number-input/index.js +1 -1
- package/package.json +36 -1
- package/pagination.js +11 -11
- package/pdf-viewer/index.js +1 -1
- package/pickers.d.ts +5 -1
- package/preact-mount.js +1 -1
- package/preact.d.ts +8 -6
- package/preact.js +71 -64
- package/rating-choice.js +1 -1
- package/react-control.d.ts +2 -0
- package/react-control.js +2 -2
- package/react.d.ts +5 -6
- package/react.js +68 -66
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-popup.js +1 -1
- package/resource-picker/resource-picker.js +4 -4
- package/rich-text/engine.d.ts +1 -0
- package/rich-text/format-html.d.ts +2 -0
- package/rich-text/index.d.ts +4 -0
- package/rich-text/index.js +1 -1
- package/rich-text/model.d.ts +2 -0
- package/rich-text/style.scss +165 -70
- package/rich-text/syntax.d.ts +5 -0
- package/rich-text/translations.d.ts +2 -0
- package/search-input/index.js +1 -1
- package/search-input/native.d.ts +21 -2
- package/select.d.ts +3 -1
- package/select.js +1 -1
- package/status-feedback/exit-snapshot.js +4 -4
- package/status-feedback/popover.js +4 -4
- package/styles/_alert.scss +18 -4
- package/styles/_compositions.scss +3 -3
- package/styles/_editor-slider.scss +0 -2
- package/styles/_field-configurator.scss +147 -0
- package/styles/_fields-grid.scss +37 -0
- package/styles/_palette.scss +0 -24
- package/styles/_primitives.scss +28 -19
- package/styles/configurator-actions.scss +141 -0
- package/styles/{legacy-pagination.css → pagination.css} +19 -2
- package/styles.css +1 -1
- package/styles.scss +2 -2
- package/surfaces.d.ts +36 -2
- package/surfaces.js +35 -132
- package/svelte.js +3 -3
- package/switch/index.js +15 -14
- package/time-grid.d.ts +0 -1
- package/time-grid.js +38 -37
- package/timeline-track/index.js +2 -2
- package/ui.css +1 -1
- package/vue.d.ts +26 -30
- package/vue.js +117 -121
- package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
- package/_chunks/choice-chips-CHQTUdLs.js +0 -110
- package/_chunks/color-picker-CudqPYZo.js +0 -138
- package/_chunks/control-tooltip-uscKfAnV.js +0 -100
- package/_chunks/dialog.parts-CKGkC5zP.js +0 -134
- package/_chunks/editor-popup-WDdtVDNA.js +0 -81
- package/_chunks/history-controls-B3u3INEK.js +0 -27
- package/_chunks/mount-DQ1cpppK.js +0 -257
- package/_chunks/native-control-C_yok8_-.js +0 -605
- package/_chunks/request-trail-DSlFix6i.js +0 -618
- package/_chunks/rich-text-CH7gIqOS.js +0 -636
- package/avatar/index.view.d.ts +0 -25
- package/color-palette/native.view.d.ts +0 -15
- package/control-presentation.view.d.ts +0 -8
- package/dialog/dialog-action-footer.view.d.ts +0 -20
- package/dialog/dialog.dom.view.d.ts +0 -15
- package/form-controls/index.view.d.ts +0 -10
- package/formatting/control-tooltip.d.ts +0 -27
- package/native-controls.view.d.ts +0 -54
- package/search-input/native.view.d.ts +0 -21
- package/surfaces.view.d.ts +0 -63
- /package/styles/{legacy-rating.css → rating.css} +0 -0
|
@@ -69,10 +69,6 @@ var r = {
|
|
|
69
69
|
prop: "value",
|
|
70
70
|
callback: "onValueChange"
|
|
71
71
|
},
|
|
72
|
-
ResourcePicker: {
|
|
73
|
-
prop: "selectedResourceIds",
|
|
74
|
-
callback: "onChange"
|
|
75
|
-
},
|
|
76
72
|
SharedResourcePicker: {
|
|
77
73
|
prop: "selectedResourceIds",
|
|
78
74
|
callback: "onChange"
|
|
@@ -97,10 +93,6 @@ var r = {
|
|
|
97
93
|
prop: "value",
|
|
98
94
|
callback: "onValueChange"
|
|
99
95
|
},
|
|
100
|
-
Slider: {
|
|
101
|
-
prop: "value",
|
|
102
|
-
callback: "onChange"
|
|
103
|
-
},
|
|
104
96
|
Checkbox: {
|
|
105
97
|
prop: "checked",
|
|
106
98
|
callback: "onChange"
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { c as e, i as t, n } from "./preact.module-BBM36DnO.js";
|
|
2
|
+
import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
+
import { SvgIcon as i } from "../icons/icon.js";
|
|
4
|
+
import { t as a } from "./native-control-pFMuHf3G.js";
|
|
5
|
+
import { t as o } from "./popup-C35Isk7p.js";
|
|
6
|
+
import { renderControl as s } from "../control-presentation.js";
|
|
7
|
+
import "./check-BwI7iCAm.js";
|
|
8
|
+
import { t as c } from "./plus-CbGRkIGl.js";
|
|
9
|
+
import { SearchInput as l } from "../search-input/index.js";
|
|
10
|
+
import { S as u, c as d, p as f, r as p } from "./field-configurator-BCINdXpU.js";
|
|
11
|
+
import { t as m } from "./calculator-CDWOuAcp.js";
|
|
12
|
+
import "./magnifying-glass-CvrTDSkB.js";
|
|
13
|
+
import { t as h } from "./configurator-field-icon-CmcM_sPs.js";
|
|
14
|
+
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/gear.svg?raw
|
|
15
|
+
var g = "<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=\"M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z\"/></svg>", _ = {
|
|
16
|
+
rows: "<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 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z\"/></svg>",
|
|
17
|
+
columns: u,
|
|
18
|
+
values: m,
|
|
19
|
+
filters: "<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=\"M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z\"/></svg>"
|
|
20
|
+
};
|
|
21
|
+
function v(t, { icon: n, buttonRef: r, ...i }) {
|
|
22
|
+
let a = t, o = n === "plus" ? c : g;
|
|
23
|
+
return a("div", { class: "pivot-field-action-trigger rv-configurator-action-trigger" }, s(a, "button", {
|
|
24
|
+
...i,
|
|
25
|
+
ref: r,
|
|
26
|
+
type: "button",
|
|
27
|
+
"data-configurator-action": n === "gear" ? "settings" : void 0,
|
|
28
|
+
class: "rv-btn rv-configurator-action-button pivot-field-action-icon"
|
|
29
|
+
}, a("span", {
|
|
30
|
+
"aria-hidden": "true",
|
|
31
|
+
"data-icon": n,
|
|
32
|
+
...t === e ? { dangerouslySetInnerHTML: { __html: o } } : { innerHTML: o }
|
|
33
|
+
})));
|
|
34
|
+
}
|
|
35
|
+
function y(t) {
|
|
36
|
+
return v(e, t);
|
|
37
|
+
}
|
|
38
|
+
function b(e) {
|
|
39
|
+
return /* @__PURE__ */ r(f, {
|
|
40
|
+
...e,
|
|
41
|
+
className: `pivot-remove-button ${e.className ?? ""}`
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function x({ text: e, icon: t, explanation: n, checked: o, ...s }) {
|
|
45
|
+
return /* @__PURE__ */ r(a, {
|
|
46
|
+
type: "button",
|
|
47
|
+
className: "rv-btn",
|
|
48
|
+
...s,
|
|
49
|
+
children: [
|
|
50
|
+
t,
|
|
51
|
+
/* @__PURE__ */ r("span", {
|
|
52
|
+
className: "pivot-field-action-copy",
|
|
53
|
+
children: [e, n && /* @__PURE__ */ r("span", {
|
|
54
|
+
className: "pivot-action-reason",
|
|
55
|
+
children: n
|
|
56
|
+
})]
|
|
57
|
+
}),
|
|
58
|
+
o && /* @__PURE__ */ r(i, {
|
|
59
|
+
className: "pivot-field-action-check",
|
|
60
|
+
svg: "<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=\"M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z\"/></svg>"
|
|
61
|
+
})
|
|
62
|
+
]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function S({ svg: e }) {
|
|
66
|
+
return /* @__PURE__ */ r(i, {
|
|
67
|
+
className: "pivot-field-action-symbol",
|
|
68
|
+
svg: e
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function C({ add: e, clear: t, children: n }) {
|
|
72
|
+
return /* @__PURE__ */ r(p, {
|
|
73
|
+
className: "pivot-zone-actions",
|
|
74
|
+
children: [
|
|
75
|
+
/* @__PURE__ */ r(y, { ...e }),
|
|
76
|
+
t && /* @__PURE__ */ r(b, { ...t }),
|
|
77
|
+
n
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
function w({ label: e }) {
|
|
82
|
+
return /* @__PURE__ */ r("span", {
|
|
83
|
+
className: "pivot-filter-active",
|
|
84
|
+
"aria-label": e
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function T({ children: e, annotation: n }) {
|
|
88
|
+
return /* @__PURE__ */ r(t, { children: [e, n && /* @__PURE__ */ r("small", {
|
|
89
|
+
className: "pivot-field-annotation",
|
|
90
|
+
children: n
|
|
91
|
+
})] });
|
|
92
|
+
}
|
|
93
|
+
function E({ children: e }) {
|
|
94
|
+
return /* @__PURE__ */ r("p", {
|
|
95
|
+
className: "pivot-inspector-hint",
|
|
96
|
+
children: e
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
function D(e) {
|
|
100
|
+
return /* @__PURE__ */ r(l, {
|
|
101
|
+
...e,
|
|
102
|
+
rootClassName: `rv-configurator-field-search ${e.rootClassName ?? ""}`,
|
|
103
|
+
icon: e.icon ?? /* @__PURE__ */ r(d, { svg: "<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>" })
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
function O({ children: e, emptyText: t }) {
|
|
107
|
+
return /* @__PURE__ */ r("div", {
|
|
108
|
+
className: "pivot-field-picker-list rv-configurator-field-picker",
|
|
109
|
+
children: n(e).length ? e : t && /* @__PURE__ */ r("p", { children: t })
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
function k({ section: e, children: t }) {
|
|
113
|
+
let i = n(t);
|
|
114
|
+
return i.length ? /* @__PURE__ */ r("div", {
|
|
115
|
+
className: "pivot-field-action-group rv-configurator-action-group",
|
|
116
|
+
"data-section": e,
|
|
117
|
+
children: i
|
|
118
|
+
}) : null;
|
|
119
|
+
}
|
|
120
|
+
function A({ title: e, accessibleLabel: t = e, header: n, panelRef: i, onKeyDown: a, children: s, ...c }) {
|
|
121
|
+
return /* @__PURE__ */ r(o, {
|
|
122
|
+
...c,
|
|
123
|
+
topLayer: !0,
|
|
124
|
+
closeOnClickOutside: !0,
|
|
125
|
+
popupClassName: "pivot-field-action-popover",
|
|
126
|
+
children: /* @__PURE__ */ r("div", {
|
|
127
|
+
ref: i,
|
|
128
|
+
className: "pivot-field-action-panel rv-configurator-action-panel",
|
|
129
|
+
role: "region",
|
|
130
|
+
"aria-label": t,
|
|
131
|
+
onKeyDown: a,
|
|
132
|
+
children: [/* @__PURE__ */ r("div", {
|
|
133
|
+
className: "pivot-field-action-header",
|
|
134
|
+
children: [/* @__PURE__ */ r("strong", {
|
|
135
|
+
className: "pivot-field-action-title",
|
|
136
|
+
children: e
|
|
137
|
+
}), n]
|
|
138
|
+
}), /* @__PURE__ */ r("div", {
|
|
139
|
+
className: "pivot-field-action-body",
|
|
140
|
+
children: s
|
|
141
|
+
})]
|
|
142
|
+
})
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
function j({ field: e }) {
|
|
146
|
+
let t = h(e);
|
|
147
|
+
return /* @__PURE__ */ r("span", {
|
|
148
|
+
className: "rv-configurator-icon column-icon",
|
|
149
|
+
"aria-hidden": "true",
|
|
150
|
+
"data-field-icon": t.kind,
|
|
151
|
+
dangerouslySetInnerHTML: { __html: t.svg }
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
export { A as a, O as c, w as d, E as f, v as h, S as i, D as l, C as m, x as n, y as o, b as p, k as r, T as s, _ as t, j as u };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { t as e } from "./clock-BOhPNlW3.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/font.svg?raw
|
|
3
|
+
var t = "<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=\"M285.1 50.7C279.9 39.3 268.5 32 256 32s-23.9 7.3-29.1 18.7L59.5 416 48 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-6.1 0 22-48 208.3 0 22 48-6.1 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-11.5 0-167.4-365.3zM330.8 304L181.2 304 256 140.8 330.8 304z\"/></svg>", 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=\"M214.7 .7c17.3 3.7 28.3 20.7 24.6 38l-19.1 89.3 126.5 0 22-102.7C372.4 8 389.4-3 406.7 .7s28.3 20.7 24.6 38L412.2 128 480 128c17.7 0 32 14.3 32 32s-14.3 32-32 32l-81.6 0-27.4 128 67.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-81.6 0-22 102.7c-3.7 17.3-20.7 28.3-38 24.6s-28.3-20.7-24.6-38l19.1-89.3-126.5 0-22 102.7c-3.7 17.3-20.7 28.3-38 24.6s-28.3-20.7-24.6-38L99.8 384 32 384c-17.7 0-32-14.3-32-32s14.3-32 32-32l81.6 0 27.4-128-67.8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l81.6 0 22-102.7C180.4 8 197.4-3 214.7 .7zM206.4 192l-27.4 128 126.5 0 27.4-128-126.5 0z\"/></svg>", r = {
|
|
4
|
+
string: {
|
|
5
|
+
svg: t,
|
|
6
|
+
label: "string"
|
|
7
|
+
},
|
|
8
|
+
number: {
|
|
9
|
+
svg: n,
|
|
10
|
+
label: "number"
|
|
11
|
+
},
|
|
12
|
+
integer: {
|
|
13
|
+
svg: n,
|
|
14
|
+
label: "integer"
|
|
15
|
+
},
|
|
16
|
+
decimal: {
|
|
17
|
+
svg: n,
|
|
18
|
+
label: "decimal"
|
|
19
|
+
},
|
|
20
|
+
percent: {
|
|
21
|
+
svg: "<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=\"M192 128a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM448 384a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM438.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-384 384c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l384-384z\"/></svg>",
|
|
22
|
+
label: "percent"
|
|
23
|
+
},
|
|
24
|
+
currency: {
|
|
25
|
+
svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 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=\"M136 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 56 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-114.9 0c-24.9 0-45.1 20.2-45.1 45.1 0 22.5 16.5 41.5 38.7 44.7l91.6 13.1c53.8 7.7 93.7 53.7 93.7 108 0 60.3-48.9 109.1-109.1 109.1l-10.9 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-72 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l130.9 0c24.9 0 45.1-20.2 45.1-45.1 0-22.5-16.5-41.5-38.7-44.7l-91.6-13.1C55.9 273.5 16 227.4 16 173.1 16 112.9 64.9 64 125.1 64l10.9 0 0-40z\"/></svg>",
|
|
26
|
+
label: "currency"
|
|
27
|
+
},
|
|
28
|
+
date: {
|
|
29
|
+
svg: "<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=\"M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 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-32c0-17.7 14.3-32 32-32zM64 240l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 368l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z\"/></svg>",
|
|
30
|
+
label: "date"
|
|
31
|
+
},
|
|
32
|
+
time: {
|
|
33
|
+
svg: e,
|
|
34
|
+
label: "time"
|
|
35
|
+
},
|
|
36
|
+
boolean: {
|
|
37
|
+
svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 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=\"M192 64C86 64 0 150 0 256S86 448 192 448l192 0c106 0 192-86 192-192S490 64 384 64L192 64zm192 96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z\"/></svg>",
|
|
38
|
+
label: "boolean"
|
|
39
|
+
},
|
|
40
|
+
id: {
|
|
41
|
+
svg: "<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=\"M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0 160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17l0 80c0 13.3 10.7 24 24 24l80 0c13.3 0 24-10.7 24-24l0-40 40 0c13.3 0 24-10.7 24-24l0-40 40 0c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z\"/></svg>",
|
|
42
|
+
label: "id"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
function i(e) {
|
|
46
|
+
let t = e?.columnType && Object.hasOwn(r, e.columnType) ? e.columnType : e?.dataType ?? "string";
|
|
47
|
+
return {
|
|
48
|
+
...r[t] ?? r.string,
|
|
49
|
+
kind: t
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { i as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { createPreactElement as t, releasePreactElement as n } from "../preact-mount.js";
|
|
3
|
+
import { d as r, u as i } from "./native-control-pFMuHf3G.js";
|
|
4
4
|
//#region src/dropdown/control.view.tsx
|
|
5
|
-
function a(
|
|
6
|
-
let
|
|
5
|
+
function a(r) {
|
|
6
|
+
let i, a, o = t(r, /* @__PURE__ */ e("div", { children: [/* @__PURE__ */ e("div", {
|
|
7
7
|
style: { display: "contents" },
|
|
8
8
|
ref: (e) => {
|
|
9
|
-
e && (
|
|
9
|
+
e && (i = e);
|
|
10
10
|
}
|
|
11
11
|
}), /* @__PURE__ */ e("input", {
|
|
12
12
|
type: "hidden",
|
|
@@ -16,16 +16,16 @@ function a(t) {
|
|
|
16
16
|
})] }));
|
|
17
17
|
return {
|
|
18
18
|
element: o,
|
|
19
|
-
mount:
|
|
19
|
+
mount: i,
|
|
20
20
|
input: a,
|
|
21
|
-
release: () =>
|
|
21
|
+
release: () => n(o)
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/dropdown/control.ts
|
|
26
|
-
function o(e,
|
|
27
|
-
let { element:
|
|
28
|
-
u || (s.name = l.name ?? "", s.disabled = !!l.disabled || !l.name, s.value = l.value == null ? "" : String(l.value),
|
|
26
|
+
function o(e, t) {
|
|
27
|
+
let { element: n, mount: o, input: s, release: c } = a(e), l = { ...t }, u = !1, d = () => {
|
|
28
|
+
u || (s.name = l.name ?? "", s.disabled = !!l.disabled || !l.name, s.value = l.value == null ? "" : String(l.value), i(o, {
|
|
29
29
|
...l,
|
|
30
30
|
config: {
|
|
31
31
|
nativeTabNavigation: !0,
|
|
@@ -42,7 +42,7 @@ function o(e, r) {
|
|
|
42
42
|
}
|
|
43
43
|
}));
|
|
44
44
|
}, f = {
|
|
45
|
-
element:
|
|
45
|
+
element: n,
|
|
46
46
|
get value() {
|
|
47
47
|
return l.value;
|
|
48
48
|
},
|
|
@@ -70,7 +70,7 @@ function o(e, r) {
|
|
|
70
70
|
disabled: e
|
|
71
71
|
}, d();
|
|
72
72
|
},
|
|
73
|
-
onChange:
|
|
73
|
+
onChange: t.onChange ? (e) => t.onChange?.(e) : void 0,
|
|
74
74
|
update(e) {
|
|
75
75
|
"onChange" in e && (f.onChange = e.onChange ? (t) => e.onChange?.(t) : void 0), l = {
|
|
76
76
|
...l,
|
|
@@ -78,16 +78,41 @@ function o(e, r) {
|
|
|
78
78
|
}, d();
|
|
79
79
|
},
|
|
80
80
|
destroy() {
|
|
81
|
-
u || (u = !0,
|
|
81
|
+
u || (u = !0, r(o), c());
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
return d(), f;
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
var s = /* @__PURE__ */ new WeakMap();
|
|
87
|
+
function c(e, t) {
|
|
88
|
+
let n = Symbol(), r, i = () => {
|
|
89
|
+
if (!r) return;
|
|
90
|
+
let e = s.get(r);
|
|
91
|
+
e?.owner === n && (e.control.destroy(), s.delete(r)), r = void 0;
|
|
92
|
+
};
|
|
88
93
|
return e("span", { ref: (e) => {
|
|
89
|
-
|
|
94
|
+
if (!e) {
|
|
95
|
+
i();
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
r && r !== e && i(), r = e;
|
|
99
|
+
let a = s.get(e);
|
|
100
|
+
if (a) {
|
|
101
|
+
a.owner = n;
|
|
102
|
+
let r = Object.fromEntries(a.keys.map((e) => [e, void 0]));
|
|
103
|
+
a.keys = Object.keys(t), a.control.update({
|
|
104
|
+
...r,
|
|
105
|
+
...t
|
|
106
|
+
}), a.control.element.parentElement !== e && e.append(a.control.element);
|
|
107
|
+
} else {
|
|
108
|
+
let r = o(e.ownerDocument, t);
|
|
109
|
+
s.set(e, {
|
|
110
|
+
control: r,
|
|
111
|
+
owner: n,
|
|
112
|
+
keys: Object.keys(t)
|
|
113
|
+
}), e.append(r.element);
|
|
114
|
+
}
|
|
90
115
|
} });
|
|
91
116
|
}
|
|
92
117
|
//#endregion
|
|
93
|
-
export {
|
|
118
|
+
export { c as n, o as t };
|