@revolist/ui 4.0.3 → 4.0.4
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/OWNERSHIP.md +5 -5
- package/README.md +65 -450
- package/_chunks/{calendar-CgXQgkga.js → calendar-BQYQLu8Q.js} +5 -5
- package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
- package/_chunks/{chart-frame-hcOlnQ1K.js → chart-frame-GprenwEg.js} +4 -4
- package/_chunks/{choice-chips-SkllS5Kl.js → choice-chips-C5OxD0GV.js} +3 -3
- package/_chunks/{color-palette-DMJUChWC.js → color-palette-7siNch__.js} +3 -3
- package/_chunks/{color-picker-BpCTuIdm.js → color-picker-Cfc9eqZb.js} +4 -4
- package/_chunks/{component-CfeHXgIw.js → component-C3k_8uIq.js} +24 -24
- package/_chunks/{component-metadata-BKd7U8OW.js → component-metadata-DlVkpW3h.js} +1 -1
- package/_chunks/{configurator-actions-DnStE6Yl.js → configurator-actions-vRnI54mO.js} +3 -3
- package/_chunks/{control-Dcrjsunl.js → control-BRfF5DWQ.js} +3 -3
- package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
- package/_chunks/{controls-B_6NJarZ.js → controls-B3EgM_DS.js} +9 -9
- package/_chunks/{date-control-C4h4m75W.js → date-control-87dcA5br.js} +5 -5
- package/_chunks/{date-time-CTOSbzb0.js → date-time-CfiFYodx.js} +20 -20
- package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
- package/_chunks/{dialog.parts-3w5FR06n.js → dialog.parts-NqEEVc9P.js} +4 -4
- package/_chunks/{duration-Bf2OS1V5.js → duration-BGZ_qJ99.js} +6 -6
- package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
- package/_chunks/{editor-popup-ByU7qiub.js → editor-popup-NNP9Fh9U.js} +4 -4
- package/_chunks/{field-configurator-D5dZRhDe.js → field-configurator-DPulsY3l.js} +6 -6
- package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
- package/_chunks/{framework-mount-Bk4O_T7T.js → framework-mount-D4I8HpVp.js} +2 -2
- package/_chunks/{icon-toolbar-DSjOdwM7.js → icon-toolbar-BAAdEvr9.js} +2 -2
- package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
- package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
- package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
- package/_chunks/{mount-BRdcG60g.js → mount-C8CnIW9k.js} +6 -6
- package/_chunks/{native-Blr3byjO.js → native-CJm3eq3-.js} +1 -1
- package/_chunks/{native-control-B_fVA5bL.js → native-control-um1L1wgZ.js} +12 -12
- package/_chunks/{number-input-CmM6_2vR.js → number-input-CKiA4d1N.js} +4 -4
- package/_chunks/{picker-DTqET-2W.js → picker-igNshTRC.js} +5 -5
- package/_chunks/{popup-C35Isk7p.js → popup-DECYM9FI.js} +2 -2
- package/_chunks/{rating-choice-C-6wcb9U.js → rating-choice-CepVfGUq.js} +2 -2
- package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
- package/_chunks/{reorder-list-DIl1gkV6.js → reorder-list-B4w3aARt.js} +2 -2
- package/_chunks/{request-trail-DrhdpWiH.js → request-trail-B1zVRPEf.js} +15 -15
- package/_chunks/{rich-text-BnilBbhU.js → rich-text-Ci4d6dHn.js} +11 -11
- package/_chunks/{selection-list-tooltips-C5oMJe26.js → selection-list-tooltips-m00U3L6z.js} +3 -3
- package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-ncldbUwS.js} +2 -2
- package/_chunks/{tooltip-D4xkio5G.js → tooltip-h-Z8yFBY.js} +2 -2
- package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
- package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-CBtRMBPr.js} +3 -3
- package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-BN5WdGHn.js} +2 -2
- package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-CKJ7VJOF.js} +3 -3
- package/activity-message.js +1 -1
- package/ai/index.js +2 -2
- package/assignee/index.js +6 -6
- package/avatar/index.js +2 -2
- package/badge.js +1 -1
- package/brush-range/component.js +2 -2
- package/buttons/delete-button.js +1 -1
- package/buttons/remove-button.js +2 -2
- package/buttons/svg-button.js +3 -3
- package/calendar/calendar.js +1 -1
- package/calendar/day.js +2 -2
- package/calendar/header.js +1 -1
- package/calendar/index.js +3 -3
- package/calendar/model.js +1 -1
- package/calendar/month-grid.js +2 -2
- package/calendar/translations.js +1 -1
- package/calendar/year-grid.js +2 -2
- package/cell-input.js +1 -1
- package/cell-visuals/index.js +1 -1
- package/checkbox/index.js +1 -1
- 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-picker.constants.js +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 +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.js +1 -1
- package/configurator-aggregation-list.js +3 -3
- package/configurator-drop-zone.js +2 -2
- package/configurator-focus.js +1 -1
- package/configurator-sections.js +1 -1
- package/control-attributes.js +1 -1
- package/control-presentation.js +2 -2
- package/controls.js +2 -2
- 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/top-layer-popup.js +1 -1
- package/date-time/field.d.ts +1 -0
- package/date-time/index.js +1 -1
- package/dialog/dialog.dom.js +3 -3
- package/dialog/dialog.drag.js +1 -1
- package/dialog/dialog.parts.js +1 -1
- package/dialog/dialog.preact.js +1 -1
- package/distribution-chart/area-chart.js +2 -2
- package/distribution-chart/bar-chart.js +2 -2
- package/distribution-chart/index.js +1 -1
- package/distribution-chart/line-chart.js +2 -2
- package/dropdown/content.js +1 -1
- package/dropdown/control.js +1 -1
- package/dropdown/dropdown.service.js +1 -1
- package/dropdown/index.js +2 -2
- package/dropdown/lookup-field.js +3 -3
- package/dropdown/popup.js +1 -1
- package/duration/index.js +1 -1
- package/editor-actions.js +2 -2
- package/editor-layout/index.js +2 -2
- package/favicon.svg +9 -0
- package/field-configurator.js +1 -1
- package/field-reorder.hook.js +1 -1
- package/field-reorder.js +1 -1
- 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 +1 -1
- package/filter/filters/slider/runtime.js +3 -3
- package/filter/filters/slider/single.js +2 -2
- package/filter-badge.js +2 -2
- package/filter-controls.js +2 -2
- package/form-controls/index.js +3 -3
- package/form-controls/presentation.js +2 -2
- package/formatting/index.js +7 -7
- package/framework.js +25 -25
- package/history-controls.js +1 -1
- package/html-controls.js +1 -1
- package/icon-toolbar.js +1 -1
- package/icons/icon.js +1 -1
- package/legend.js +1 -1
- package/masked-input/index.js +4 -4
- package/native-control.js +1 -1
- package/native.js +15 -15
- package/number-input/index.js +1 -1
- package/package.json +49 -1
- package/pagination.js +2 -2
- package/pdf-viewer/controller.js +1 -1
- package/pdf-viewer/index.js +3 -3
- package/preact-mount.js +1 -1
- package/preact.js +24 -24
- 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-control.js +1 -1
- package/react.js +25 -25
- package/reorder-list.js +1 -1
- package/resource-picker/resource-picker-avatar.js +1 -1
- package/resource-picker/resource-picker-option.js +1 -1
- package/resource-picker/resource-picker-popup.js +2 -2
- package/resource-picker/resource-picker.js +2 -2
- package/resource-picker/resource-picker.utils.js +1 -1
- package/rich-text/index.js +1 -1
- package/robots.txt +4 -0
- package/search-input/index.js +2 -2
- package/segmented-switch/index.js +1 -1
- package/select.js +1 -1
- package/selection-list.js +1 -1
- package/status-feedback/badge.js +2 -2
- package/status-feedback/exit-snapshot.js +2 -2
- package/status-feedback/header.js +2 -2
- 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/styles/color-roles.js +1 -1
- package/surfaces.js +6 -6
- package/svelte-control.js +1 -1
- package/svelte.js +5 -5
- package/switch/index.js +2 -2
- package/time-grid.js +3 -3
- package/timeline-track/index.js +3 -3
- package/timeline-track/model.js +1 -1
- package/vue-badge.js +1 -1
- package/vue-control.js +1 -1
- package/vue-segmented-switch.js +1 -1
- package/vue.js +25 -25
- 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,10 +1,10 @@
|
|
|
1
1
|
import { i as e } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { t } from "./jsxRuntime.module-F6UFnpT-.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-
|
|
4
|
+
import { n as i, t as a } from "./native-control-um1L1wgZ.js";
|
|
5
|
+
import { r as o } from "./popup-DECYM9FI.js";
|
|
6
6
|
import { t as s } from "./xmark-DD_PBvZI.js";
|
|
7
|
-
//#region
|
|
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
1
|
import { i as e } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { c as t, i as n, t as r } from "./hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as i } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
|
-
import { l as a, n as o } from "./native-control-
|
|
4
|
+
import { l as a, n as o } from "./native-control-um1L1wgZ.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-Dyo-FMgD.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
1
|
import { s as e } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { r as t, s as n, t as r } from "./hooks.module-CG3gN83z.js";
|
|
3
|
-
//#region
|
|
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
2
|
import { t } from "./jsxRuntime.module-F6UFnpT-.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-CKJ7VJOF.js";
|
|
5
|
+
import { t as s } from "./editor-commit-Dyo-FMgD.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;
|
|
@@ -2,17 +2,17 @@ import { c as e } from "./preact.module-BBM36DnO.js";
|
|
|
2
2
|
import { a as t, i as n, r, t as i } from "./hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as a } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
4
|
import { SvgIcon as o } from "../icons/icon.js";
|
|
5
|
-
import { t as s } from "./native-control-
|
|
6
|
-
import { n as c } from "./delete-button-
|
|
5
|
+
import { t as s } from "./native-control-um1L1wgZ.js";
|
|
6
|
+
import { n as c } from "./delete-button-jneO24wa.js";
|
|
7
7
|
import { RemoveButton as l } from "../buttons/remove-button.js";
|
|
8
|
-
import { B as u, S as d } from "./controls-
|
|
8
|
+
import { B as u, S as d } from "./controls-B3EgM_DS.js";
|
|
9
9
|
import { t as f } from "./chevron-right-CM3ljziP.js";
|
|
10
|
-
import { t as p } from "./tooltip-text-
|
|
10
|
+
import { t as p } from "./tooltip-text-BN5WdGHn.js";
|
|
11
11
|
import { DisclosureSummary as m } from "../form-controls/presentation.js";
|
|
12
12
|
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/table-columns.svg?raw
|
|
13
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
14
|
//#endregion
|
|
15
|
-
//#region
|
|
15
|
+
//#region package/field-expansion.ts
|
|
16
16
|
function g() {
|
|
17
17
|
return {
|
|
18
18
|
known: /* @__PURE__ */ new Set(),
|
|
@@ -28,7 +28,7 @@ function v(e, t) {
|
|
|
28
28
|
e.expanded = new Set([...t].map(String)), e.collapsed = new Set([...e.known].filter((t) => !e.expanded.has(t)));
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region
|
|
31
|
+
//#region package/field-configurator.tsx
|
|
32
32
|
function y({ svg: e, className: t = "" }) {
|
|
33
33
|
return /* @__PURE__ */ a(o, {
|
|
34
34
|
svg: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as e, r as t } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { r as n, t as r } from "./hooks.module-CG3gN83z.js";
|
|
3
|
-
import { n as i } from "./component-metadata-
|
|
4
|
-
//#region
|
|
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,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
2
|
-
import { t } from "./title-tooltip-
|
|
2
|
+
import { t } from "./title-tooltip-ncldbUwS.js";
|
|
3
3
|
import { n, t as r } from "./arrow-up-Cw8hW9vp.js";
|
|
4
4
|
import { t as i } from "./rotate-left-BF6G883o.js";
|
|
5
5
|
import { t as a } from "./plus-CbGRkIGl.js";
|
|
6
6
|
import { t as o } from "./minus-BOAR3A1C.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,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, o as n, r, t as i } from "./iso-
|
|
1
|
+
import { a as e, c as t, o as n, r, t as i } from "./iso-CJQl2kmq.js";
|
|
2
2
|
var a = 864e5;
|
|
3
3
|
function o(e, o) {
|
|
4
4
|
let s = t(e);
|
|
@@ -14,7 +14,7 @@ function l() {
|
|
|
14
14
|
return i(/* @__PURE__ */ new Date());
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region
|
|
17
|
+
//#region internal/dates/src/display-calendar.ts
|
|
18
18
|
var u = /* @__PURE__ */ new Map();
|
|
19
19
|
function d(e, t, n) {
|
|
20
20
|
let r = JSON.stringify([
|
|
@@ -81,7 +81,7 @@ function v(t, n = 1, r = 4, i = "gregory") {
|
|
|
81
81
|
return t < a(c) ? c = h(c, -12, i) : t >= a(h(c, 12, i)) && (c = h(c, 12, i)), Math.floor(s(a(c), t) / 7) + 1;
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
|
-
//#region
|
|
84
|
+
//#region package/calendar/model.ts
|
|
85
85
|
function y(t, n, r = !0, i = "gregory") {
|
|
86
86
|
let a = m(t, i), s = o(a, -((e(a) - n + 7) % 7)), c = g(a, i), l = [];
|
|
87
87
|
for (let e = s; e <= c || l.length % 7; e = o(e, 1)) l.push(e);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as e, r as t } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { c as n, i as r, r as i, t as a } from "./hooks.module-CG3gN83z.js";
|
|
3
|
-
import { E as o, _ as s, a as c, c as l, i as u, m as d, n as f, o as p, p as m, r as h, t as g, u as _, v, y } from "./request-trail-
|
|
3
|
+
import { E as o, _ as s, a as c, c as l, i as u, m as d, n as f, o as p, p as m, r as h, t as g, u as _, v, y } from "./request-trail-B1zVRPEf.js";
|
|
4
4
|
import { t as b } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
5
|
-
import { n as x } from "./popup-
|
|
6
|
-
import { p as S, t as C } from "./controls-
|
|
5
|
+
import { n as x } from "./popup-DECYM9FI.js";
|
|
6
|
+
import { p as S, t as C } from "./controls-B3EgM_DS.js";
|
|
7
7
|
import { HistoryControls as w } from "../history-controls.js";
|
|
8
|
-
import { n as T } from "./render-
|
|
9
|
-
//#region
|
|
8
|
+
import { n as T } from "./render-bTk3curw.js";
|
|
9
|
+
//#region package/ai/transcript.ts
|
|
10
10
|
var E = (e) => new TextEncoder().encode(JSON.stringify(e)).byteLength, D = (e) => {
|
|
11
11
|
if (!e) return "";
|
|
12
12
|
if (E(e) <= 16384) return e;
|
|
@@ -83,7 +83,7 @@ var E = (e) => new TextEncoder().encode(JSON.stringify(e)).byteLength, D = (e) =
|
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
//#endregion
|
|
86
|
-
//#region
|
|
86
|
+
//#region package/ai/mount.tsx
|
|
87
87
|
function k(E, D) {
|
|
88
88
|
let k = (e) => o(e, D.translations), A = !1, j = D.suggestions ?? [], M, N = v(D.promptHistory?.items ?? []), P = new O(), F = D.mode === "chat", I = [], L = 0, R = !1, z = "";
|
|
89
89
|
function B(e) {
|
|
@@ -3,7 +3,7 @@ import { t } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
|
3
3
|
import { createPreactElement as n } from "../preact-mount.js";
|
|
4
4
|
import { controlClassName as r } from "../control-attributes.js";
|
|
5
5
|
import { renderControl as i } from "../control-presentation.js";
|
|
6
|
-
//#region
|
|
6
|
+
//#region package/search-input/native.tsx
|
|
7
7
|
function a(e, t) {
|
|
8
8
|
let { shortcut: n, hideIcon: a, inputAttributes: o = {} } = t;
|
|
9
9
|
return e("div", {
|
|
@@ -2,16 +2,16 @@ import { c as e, i as t, u as n } from "./preact.module-BBM36DnO.js";
|
|
|
2
2
|
import { c as r, i, n as a, o, r as s, s as c, t as l } from "./hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as u } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
4
|
import { renderPreactInto as d } from "../preact-mount.js";
|
|
5
|
-
import { i as f } from "./top-layer-popup-
|
|
6
|
-
import { t as p } from "./title-tooltip-
|
|
7
|
-
import { t as m } from "./field-context-
|
|
8
|
-
import { r as h, t as g } from "./popup-
|
|
9
|
-
import { t as _ } from "./selection-list-tooltips-
|
|
5
|
+
import { i as f } from "./top-layer-popup-CKJ7VJOF.js";
|
|
6
|
+
import { t as p } from "./title-tooltip-ncldbUwS.js";
|
|
7
|
+
import { t as m } from "./field-context-C4_WrO2z.js";
|
|
8
|
+
import { r as h, t as g } from "./popup-DECYM9FI.js";
|
|
9
|
+
import { t as _ } from "./selection-list-tooltips-m00U3L6z.js";
|
|
10
10
|
import { useDropdownService as v } from "../dropdown/dropdown.service.js";
|
|
11
11
|
import { RemoveButton as y } from "../buttons/remove-button.js";
|
|
12
12
|
import { t as b } from "./chevron-down-GbplLa6s.js";
|
|
13
13
|
import { registerControl as x, renderControl as S } from "../control-presentation.js";
|
|
14
|
-
//#region
|
|
14
|
+
//#region package/dropdown/remote.ts
|
|
15
15
|
var C = {
|
|
16
16
|
loading: "Loading…",
|
|
17
17
|
empty: "No results found",
|
|
@@ -119,7 +119,7 @@ var C = {
|
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
//#endregion
|
|
122
|
-
//#region
|
|
122
|
+
//#region package/dropdown/remote-hook.ts
|
|
123
123
|
function T(e) {
|
|
124
124
|
let t = a(() => ({
|
|
125
125
|
...C,
|
|
@@ -178,7 +178,7 @@ function T(e) {
|
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
//#endregion
|
|
181
|
-
//#region
|
|
181
|
+
//#region package/dropdown/content.tsx
|
|
182
182
|
function E({ options: e, selectedValues: t, remote: n, value: i, onChange: a, config: c, multiSelect: d, search: f, searchPlaceholder: p, listboxId: m, searchId: h, renderOption: g, renderNoResults: y, onClose: b, onTabNavigation: x, theme: S }) {
|
|
183
183
|
let C = l(null), w = l(null), T = l(null), E = l(!1), { searchValue: ee, focusedIndex: O, selectedOptions: k, filteredOptions: A, handleSelect: j, handleKeyDown: M, handleSearchChange: N, setFocusedIndex: P } = v(e, i, a, c, b, n && {
|
|
184
184
|
selected: t ?? [],
|
|
@@ -333,7 +333,7 @@ function D({ options: n, filteredOptions: r, multiSelect: i, focusedIndex: a, se
|
|
|
333
333
|
}) });
|
|
334
334
|
}
|
|
335
335
|
//#endregion
|
|
336
|
-
//#region
|
|
336
|
+
//#region package/dropdown/index.tsx
|
|
337
337
|
var ee = ({ options: t, className: n, renderValue: r }) => /* @__PURE__ */ u("span", {
|
|
338
338
|
className: `selected-value ${n}`,
|
|
339
339
|
children: r ? r(e, t[0]) : t[0].label
|
|
@@ -528,7 +528,7 @@ var M = (e, t) => {
|
|
|
528
528
|
d(e, null);
|
|
529
529
|
};
|
|
530
530
|
//#endregion
|
|
531
|
-
//#region
|
|
531
|
+
//#region package/select.tsx
|
|
532
532
|
function P(e) {
|
|
533
533
|
return Array.isArray(e) ? e.map(P).join("") : n(e) ? P(e.props.children) : e == null || typeof e == "boolean" ? "" : String(e);
|
|
534
534
|
}
|
|
@@ -591,7 +591,7 @@ function I(e) {
|
|
|
591
591
|
}))] });
|
|
592
592
|
}
|
|
593
593
|
//#endregion
|
|
594
|
-
//#region
|
|
594
|
+
//#region package/fieldset.tsx
|
|
595
595
|
function L(e) {
|
|
596
596
|
let t = c(m), n = t.disabled || !!e.disabled;
|
|
597
597
|
return /* @__PURE__ */ u(m.Provider, {
|
|
@@ -606,7 +606,7 @@ function L(e) {
|
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
608
|
//#endregion
|
|
609
|
-
//#region
|
|
609
|
+
//#region package/native-control.tsx
|
|
610
610
|
function R(t, n, ...r) {
|
|
611
611
|
let { onChange: i, ...a } = n, o = S(e, t, a, ...r);
|
|
612
612
|
return i && !(t === "button" && n.busy) && Object.assign(o.props, { onChange: i }), o;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as e, i as t, t as n } from "./hooks.module-CG3gN83z.js";
|
|
2
2
|
import { t as r } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
3
3
|
import { createControlId as i } from "../core/control-id.js";
|
|
4
|
-
import { n as a } from "./native-control-
|
|
5
|
-
import { t as o } from "./controls-
|
|
4
|
+
import { n as a } from "./native-control-um1L1wgZ.js";
|
|
5
|
+
import { t as o } from "./controls-B3EgM_DS.js";
|
|
6
6
|
import { EditorActions as s } from "../editor-actions.js";
|
|
7
|
-
//#region
|
|
7
|
+
//#region package/number-input/model.ts
|
|
8
8
|
var c = {
|
|
9
9
|
invalid: "Enter a valid number in the configured locale.",
|
|
10
10
|
configuration: "The number input configuration is unsupported or invalid.",
|
|
@@ -150,7 +150,7 @@ function _(e, t, n = {}) {
|
|
|
150
150
|
return !Number.isFinite(l) || Math.abs(l) > 2 ** 53 - 1 ? { error: n.text?.invalid ?? c.invalid } : h(m(l, n), n);
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
153
|
-
//#region
|
|
153
|
+
//#region package/number-input/index.tsx
|
|
154
154
|
function v({ value: l, options: u, apply: d, cancel: f, initialSelection: p = "all" }) {
|
|
155
155
|
let [g, v] = t(() => {
|
|
156
156
|
try {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as e } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { i as t } from "./hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as n } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
|
-
import { t as r } from "./native-control-
|
|
4
|
+
import { t as r } from "./native-control-um1L1wgZ.js";
|
|
5
5
|
import { DEFAULT_CALENDAR_TRANSLATIONS as i } from "../calendar/translations.js";
|
|
6
|
-
import { n as a } from "./iso-
|
|
7
|
-
import { f as o, h as s, m as c, o as l, p as u } from "./model-
|
|
8
|
-
import { t as d } from "./calendar-
|
|
9
|
-
//#region
|
|
6
|
+
import { n as a } from "./iso-CJQl2kmq.js";
|
|
7
|
+
import { f as o, h as s, m as c, o as l, p as u } from "./model-CFrBgRHm.js";
|
|
8
|
+
import { t as d } from "./calendar-BQYQLu8Q.js";
|
|
9
|
+
//#region package/calendar/picker.tsx
|
|
10
10
|
function f(f) {
|
|
11
11
|
let { selected: p, onSelectionChange: ee, presets: m, mode: h = "single", min: g = 0, max: _ = Infinity, required: v = !1, excludeDisabled: y = !1, month: b, defaultMonth: x, onMonthChange: S, ...C } = f, w = typeof p == "string" ? p : Array.isArray(p) ? p[0] : p?.from, [T, E] = t(x ?? w ?? f.referenceDate ?? s()), [D, O] = t(w ?? T), [k, A] = t(), [j, M] = t(), N = (e) => {
|
|
12
12
|
A(e), M(void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as e, i as t, l as n, n as r, r as i, t as a } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { c as o, i as s, r as c, t as l } from "./hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as u } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
|
-
import { i as d, r as f, t as p } from "./top-layer-popup-
|
|
4
|
+
import { i as d, r as f, t as p } from "./top-layer-popup-CKJ7VJOF.js";
|
|
5
5
|
import { inheritUiMotion as m } from "../core/motion.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/preact@10.29.1/node_modules/preact/compat/dist/compat.module.js
|
|
7
7
|
function h(e, t) {
|
|
@@ -229,7 +229,7 @@ n.diffed = function(e) {
|
|
|
229
229
|
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value);
|
|
230
230
|
};
|
|
231
231
|
//#endregion
|
|
232
|
-
//#region
|
|
232
|
+
//#region package/dropdown/popup.tsx
|
|
233
233
|
var U = 5, W = 4;
|
|
234
234
|
function G(e, t, n) {
|
|
235
235
|
let r = e.ownerDocument.defaultView;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
2
2
|
import { SvgIcon as t } from "../icons/icon.js";
|
|
3
|
-
import { t as n } from "./native-control-
|
|
3
|
+
import { t as n } from "./native-control-um1L1wgZ.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/star.svg?raw
|
|
5
5
|
var r = "<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=\"M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z\"/></svg>", i = "<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=\"M288.1-32c9 0 17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1zm0 76.8L230.3 158c-3.5 6.8-10 11.6-17.6 12.8l-125.5 20 89.8 89.9c5.4 5.4 7.9 13.1 6.7 20.7l-19.8 125.5 113.3-57.6c6.8-3.5 14.9-3.5 21.8 0l113.3 57.6-19.8-125.5c-1.2-7.6 1.3-15.3 6.7-20.7l89.8-89.9-125.5-20c-7.6-1.2-14.1-6-17.6-12.8L288.1 44.8z\"/></svg>";
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region
|
|
7
|
+
//#region package/rating-choice.tsx
|
|
8
8
|
function a({ filled: n }) {
|
|
9
9
|
return /* @__PURE__ */ e("span", {
|
|
10
10
|
class: "rv-rating__star",
|
|
@@ -3,7 +3,7 @@ import { c as t, i as n, t as r } from "./hooks.module-CG3gN83z.js";
|
|
|
3
3
|
import { renderHeader as i } from "../status-feedback/header.js";
|
|
4
4
|
import { renderItem as a } from "../status-feedback/item.js";
|
|
5
5
|
import { renderStatusBadge as o } from "../status-feedback/badge.js";
|
|
6
|
-
//#region
|
|
6
|
+
//#region package/status-feedback/use-auto-dismiss.ts
|
|
7
7
|
function s(e, i = 0, a) {
|
|
8
8
|
let [o, s] = n(/* @__PURE__ */ new Set()), c = r(a);
|
|
9
9
|
c.current = a;
|
|
@@ -37,7 +37,7 @@ function s(e, i = 0, a) {
|
|
|
37
37
|
} : e);
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region
|
|
40
|
+
//#region package/status-feedback/render.ts
|
|
41
41
|
function c(e, t) {
|
|
42
42
|
let { title: n, items: r, ariaLabel: o, className: s, popover: c, onCollapsedChange: l } = t;
|
|
43
43
|
if (!r.length) return c?.hide(!0), null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as e } from "./preact.module-BBM36DnO.js";
|
|
2
2
|
import { t } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
3
|
-
import { t as n } from "./native-control-
|
|
3
|
+
import { t as n } from "./native-control-um1L1wgZ.js";
|
|
4
4
|
import { fieldDropIndex as r, fieldListDropIndex as i } from "../field-reorder.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/grip-vertical.svg?raw
|
|
6
6
|
var a = "<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=\"M128 40c0-22.1-17.9-40-40-40L40 0C17.9 0 0 17.9 0 40L0 88c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM0 424l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 40c0-22.1-17.9-40-40-40L232 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM192 232l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 424c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z\"/></svg>";
|
|
7
7
|
//#endregion
|
|
8
|
-
//#region
|
|
8
|
+
//#region package/reorder-list.tsx
|
|
9
9
|
function o({ items: n, itemKey: a, renderItem: o, renderHandle: s, itemAttributes: c, className: l = "", rowClassName: u = "", endClassName: d = "", draggedKey: f, dropIndex: p, empty: m, onDragOver: h, onDrop: g }) {
|
|
10
10
|
let _ = (e, t) => {
|
|
11
11
|
let n = e.currentTarget.getBoundingClientRect();
|
|
@@ -2,22 +2,22 @@ import { i as e, n as t, s as n } from "./preact.module-BBM36DnO.js";
|
|
|
2
2
|
import { c as r, i, r as a, s as o, t as s } from "./hooks.module-CG3gN83z.js";
|
|
3
3
|
import { t as c } from "./jsxRuntime.module-F6UFnpT-.js";
|
|
4
4
|
import { createControlId as l } from "../core/control-id.js";
|
|
5
|
-
import {
|
|
5
|
+
import { PopoverController as u } from "../core/popover-controller.js";
|
|
6
6
|
import { SvgIcon as d } from "../icons/icon.js";
|
|
7
|
-
import { l as f } from "./native-control-
|
|
7
|
+
import { l as f } from "./native-control-um1L1wgZ.js";
|
|
8
8
|
import { RemoveButton as p } from "../buttons/remove-button.js";
|
|
9
9
|
import "./chevron-down-GbplLa6s.js";
|
|
10
|
-
import { D as m, M as h, c as g, p as _, t as v } from "./controls-
|
|
11
|
-
import { t as y } from "./tooltip-text-
|
|
10
|
+
import { D as m, M as h, c as g, p as _, t as v } from "./controls-B3EgM_DS.js";
|
|
11
|
+
import { t as y } from "./tooltip-text-BN5WdGHn.js";
|
|
12
12
|
import { t as b } from "./clock-BOhPNlW3.js";
|
|
13
13
|
import { t as x } from "./arrow-up-Cw8hW9vp.js";
|
|
14
|
-
//#region
|
|
14
|
+
//#region package/ai/translations.ts
|
|
15
15
|
var S = /* @__PURE__ */ "AI chat,No results,Clear chat,Restart conversation,New conversation,Request history,Clear chart,Conversation messages,Jump to latest,You,Assistant,System,Message actions,Start a conversation,Ask a question to get started.,Message,Type a message…,Working…,Reasoning summary,Pending,Running,Completed,Failed,Cancelled,{seconds}s,Data history,Review changes,Proposed changes,Change,Current,Proposed,Apply changes,Cancel changes,Undo data change,Redo data change,Ask AI to change this view,Filter or sort your data…,Send,Stop,Enter to send · Shift+Enter for a new line,Suggested requests,More,Search requests,Activity,Collapse activity,Expand activity,AI view assistant,View steps,Clear all,Restore the starting view,Restore previous view,Reset view,The view changed manually. Start a new request to continue.,Remove request: {label},{count} step,{count} steps,{count} applied request,{count} applied requests,{count} matching rows".split(",");
|
|
16
16
|
function C(e, t = {}, n = {}) {
|
|
17
17
|
return (t[e] ?? e).replace(/\{(\w+)\}/g, (e, t) => Object.hasOwn(n, t) ? String(n[t]) : e);
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
|
-
//#region
|
|
20
|
+
//#region package/ai/translation-context.tsx
|
|
21
21
|
var w = n({});
|
|
22
22
|
function T({ translations: e, children: t }) {
|
|
23
23
|
return /* @__PURE__ */ c(w.Provider, {
|
|
@@ -30,12 +30,12 @@ function E(e) {
|
|
|
30
30
|
return (e, t) => C(e, n, t);
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
|
-
//#region
|
|
33
|
+
//#region package/ai/results/types.ts
|
|
34
34
|
function D(e) {
|
|
35
35
|
return e == null ? "—" : typeof e == "number" ? Number.isFinite(e) ? e.toLocaleString() : "—" : String(e);
|
|
36
36
|
}
|
|
37
37
|
//#endregion
|
|
38
|
-
//#region
|
|
38
|
+
//#region package/ai/results/table.tsx
|
|
39
39
|
function O({ result: e }) {
|
|
40
40
|
let t = E();
|
|
41
41
|
return /* @__PURE__ */ c("section", {
|
|
@@ -68,7 +68,7 @@ function O({ result: e }) {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
//#endregion
|
|
71
|
-
//#region
|
|
71
|
+
//#region package/ai/results/metrics.tsx
|
|
72
72
|
function k({ result: e }) {
|
|
73
73
|
return /* @__PURE__ */ c("section", {
|
|
74
74
|
class: "rv-ai-result-content",
|
|
@@ -87,7 +87,7 @@ function k({ result: e }) {
|
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
|
-
//#region
|
|
90
|
+
//#region package/ai/results/text.tsx
|
|
91
91
|
function A({ result: e }) {
|
|
92
92
|
return /* @__PURE__ */ c("section", {
|
|
93
93
|
class: "rv-ai-result-content",
|
|
@@ -106,7 +106,7 @@ function A({ result: e }) {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
|
-
//#region
|
|
109
|
+
//#region package/ai/results/index.tsx
|
|
110
110
|
function j({ result: e, renderTable: t }) {
|
|
111
111
|
switch (e.kind) {
|
|
112
112
|
case "table": return t ? t(e) : /* @__PURE__ */ c(O, { result: e });
|
|
@@ -118,7 +118,7 @@ function j({ result: e, renderTable: t }) {
|
|
|
118
118
|
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/circle-check.svg?raw
|
|
119
119
|
var M = "<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 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z\"/></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=\"M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z\"/></svg>", P = "<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 0 0-512 256 256 0 1 0 0 512zM192 160l128 0c17.7 0 32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32l0-128c0-17.7 14.3-32 32-32z\"/></svg>";
|
|
120
120
|
//#endregion
|
|
121
|
-
//#region
|
|
121
|
+
//#region package/ai/prompt-history.ts
|
|
122
122
|
function F(e) {
|
|
123
123
|
if (!Array.isArray(e)) return [];
|
|
124
124
|
let t = e.slice(-20).filter((e) => typeof e == "string" && !!e.trim() && e.length <= 4e3).map((e) => e.trim()).filter((e, t, n) => !t || e !== n[t - 1]), n = [];
|
|
@@ -148,7 +148,7 @@ var I = class {
|
|
|
148
148
|
}
|
|
149
149
|
}, L = "<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=\"M64 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 96C0 60.7 28.7 32 64 32z\"/></svg>";
|
|
150
150
|
//#endregion
|
|
151
|
-
//#region
|
|
151
|
+
//#region package/ai/components.tsx
|
|
152
152
|
function R({ translations: e, value: t, onValueChange: n, onSubmit: r, onStop: i, busy: o = !1, disabled: u = !1, label: d = "Ask AI to change this view", placeholder: f = "Filter or sort your data…", submitLabel: p = "Send", stopLabel: m = "Stop", promptHistory: g, hint: v = "", actions: y, footer: b, textareaProps: S }) {
|
|
153
153
|
let C = E(e), w = s(l("ai-prompt")), T = s(!1), D = s(new I()), O = s();
|
|
154
154
|
a(() => {
|
|
@@ -396,7 +396,7 @@ function U({ translations: t, summary: n, details: i, changes: a, notice: o, dis
|
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
398
|
//#endregion
|
|
399
|
-
//#region
|
|
399
|
+
//#region package/ai/chat.tsx
|
|
400
400
|
function W({ children: e, className: t = "", label: n = "AI chat", style: r, translations: i }) {
|
|
401
401
|
let a = E(i);
|
|
402
402
|
return /* @__PURE__ */ c("section", {
|
|
@@ -607,7 +607,7 @@ function ne({ title: e, isStreaming: t = !1, duration: n, children: r, translati
|
|
|
607
607
|
//#region ../../node_modules/.pnpm/@fortawesome+fontawesome-free@7.3.1/node_modules/@fortawesome/fontawesome-free/svgs/solid/clock-rotate-left.svg?raw
|
|
608
608
|
var re = "<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=\"M288 64c106 0 192 86 192 192S394 448 288 448c-65.2 0-122.9-32.5-157.6-82.3-10.1-14.5-30.1-18-44.6-7.9s-18 30.1-7.9 44.6C124.1 468.6 201 512 288 512 429.4 512 544 397.4 544 256S429.4 0 288 0C202.3 0 126.5 42.1 80 106.7L80 80c0-17.7-14.3-32-32-32S16 62.3 16 80l0 112c0 17.7 14.3 32 32 32l24.6 0c.5 0 1 0 1.5 0l86 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-38.3 0C154.9 102.6 217 64 288 64zm24 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1z\"/></svg>";
|
|
609
609
|
//#endregion
|
|
610
|
-
//#region
|
|
610
|
+
//#region package/ai/request-trail.tsx
|
|
611
611
|
function ie({ translations: e, items: t, onRemove: n, onClear: r, onEmpty: o, footer: f, showClear: m = !0, disabled: h, removalsDisabled: g, label: _ = "Request history", triggerLabel: b, clearLabel: x = "Clear all", clearDescription: S, removeLabel: C, countLabel: w, changedMessage: T }) {
|
|
612
612
|
let D = E(e), O = w ?? ((e) => D(e === 1 ? "{count} applied request" : "{count} applied requests", { count: e })), k = C ?? ((e) => D("Remove request: {label}", { label: e.label })), A = s(null), j = s(null), M = s(null), [N] = i(() => l("rv-ai-steps")), [P, F] = i(!1), I = t.length > 0;
|
|
613
613
|
a(() => {
|