@declarion/react 0.56.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist-lib/AgentChatPanel.impl-DBH1Ff4G.js +1200 -0
- package/dist-lib/DetailAuditStrip-GNRA_eP5.js +289 -0
- package/dist-lib/{DraggableChildrenTable-BV5sb8Uo.js → DraggableChildrenTable-4RZC351U.js} +87 -86
- package/dist-lib/Grid-CQabaBLx.js +405 -0
- package/dist-lib/{LayoutRenderer-C9AH9cXf.js → LayoutRenderer-DGKWZKpW.js} +1000 -1114
- package/dist-lib/{ListCardsBody-DXcDg536.js → ListCardsBody-DfGmyNIu.js} +84 -84
- package/dist-lib/MarkdownRenderer-BDbzDv_y.js +87 -0
- package/dist-lib/{RefreshControl-CNtN8zSl.js → RefreshControl-Bhoib0ZA.js} +126 -155
- package/dist-lib/SmartDetailPage.impl-Ds2RGg6K.js +1565 -0
- package/dist-lib/SmartListPage.impl-BrZLE_Gb.js +3046 -0
- package/dist-lib/{SmartRecordListPage.impl-Bkl9aZJ8.js → SmartRecordListPage.impl-C1FJLr80.js} +281 -280
- package/dist-lib/SortHeaderMenu-Cijxk4cX.js +107 -0
- package/dist-lib/action-dispatch-DY0c8U81.js +1967 -0
- package/dist-lib/api/client.d.ts +5 -0
- package/dist-lib/api/data.d.ts +2 -4
- package/dist-lib/api/entities.d.ts +8 -15
- package/dist-lib/api/events.d.ts +3 -3
- package/dist-lib/cardProjection-Bkl2SSYz.js +499 -0
- package/dist-lib/components/actions/ResponsiveActionBar.d.ts +17 -16
- package/dist-lib/components/agents/AgentChatPanel.d.ts +3 -13
- package/dist-lib/components/agents/AgentChatPanel.impl.d.ts +14 -0
- package/dist-lib/components/agents/AgentPicker.d.ts +1 -2
- package/dist-lib/components/chrome/PageShell.d.ts +7 -0
- package/dist-lib/components/chrome/RecordHeader.d.ts +1 -2
- package/dist-lib/components/detail-layout/ChildrenBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +1 -2
- package/dist-lib/components/detail-layout/DetailHighlights.d.ts +1 -2
- package/dist-lib/components/detail-layout/blockMeta.d.ts +2 -1
- package/dist-lib/components/fields/BoolField.d.ts +1 -1
- package/dist-lib/components/fields/EnumField.d.ts +1 -1
- package/dist-lib/components/fields/IntArrayField.d.ts +1 -1
- package/dist-lib/components/fields/MultilangArrayField.d.ts +2 -0
- package/dist-lib/components/fields/MultilangField.d.ts +1 -1
- package/dist-lib/components/fields/MultilangTextField.d.ts +1 -1
- package/dist-lib/components/fields/NumberField.d.ts +1 -1
- package/dist-lib/components/fields/PasswordField.d.ts +1 -1
- package/dist-lib/components/fields/RefCombobox.d.ts +1 -1
- package/dist-lib/components/fields/SecretField.d.ts +1 -1
- package/dist-lib/components/fields/StringArrayField.d.ts +1 -1
- package/dist-lib/components/fields/TimestampField.d.ts +1 -1
- package/dist-lib/components/fields/cells/registry.d.ts +2 -1
- package/dist-lib/components/fields/index.d.ts +2 -1
- package/dist-lib/components/fields/langMap.d.ts +2 -0
- package/dist-lib/components/fields/secretValue.d.ts +2 -0
- package/dist-lib/components/file-widgets/UnknownFileWidget.d.ts +3 -0
- package/dist-lib/components/file-widgets/UploadFailureText.d.ts +4 -0
- package/dist-lib/components/file-widgets/helpers.d.ts +1 -1
- package/dist-lib/components/file-widgets/host.d.ts +4 -3
- package/dist-lib/components/file-widgets/types.d.ts +1 -0
- package/dist-lib/components/file-widgets/upload.d.ts +18 -3
- package/dist-lib/components/filters/filter-op-label.d.ts +3 -0
- package/dist-lib/components/layout/ImpersonationBanner.d.ts +1 -1
- package/dist-lib/components/layout/ImpersonationFrame.d.ts +1 -1
- package/dist-lib/components/layout/Layout.d.ts +2 -1
- package/dist-lib/components/layout/Sidebar.d.ts +2 -1
- package/dist-lib/components/layout/TenantChip.d.ts +1 -1
- package/dist-lib/components/list/ViewSwitcher.d.ts +4 -2
- package/dist-lib/components/pages/DocumentsMenu.d.ts +1 -2
- package/dist-lib/components/pages/ExportMenu.d.ts +3 -5
- package/dist-lib/components/pages/RecordDocumentsPanel.d.ts +1 -2
- package/dist-lib/components/pages/auth/AuthShell.d.ts +4 -31
- package/dist-lib/components/pages/exportRequest.d.ts +4 -6
- package/dist-lib/components/pages/list/DeleteViewDialog.d.ts +8 -0
- package/dist-lib/components/pages/list/ListCardRow.d.ts +1 -2
- package/dist-lib/components/pages/list/ListCardsBody.d.ts +0 -1
- package/dist-lib/components/pages/list/ListFloatbar.d.ts +2 -2
- package/dist-lib/components/pages/list/ListHeader.d.ts +2 -2
- package/dist-lib/components/pages/list/ListNoRows.d.ts +4 -5
- package/dist-lib/components/pages/list/ListToolbar.d.ts +3 -2
- package/dist-lib/components/pages/list/ListUrlBanner.d.ts +10 -0
- package/dist-lib/components/pages/list/RowActionsCell.d.ts +2 -4
- package/dist-lib/components/pages/list/RowContextMenu.d.ts +1 -2
- package/dist-lib/components/pages/list/columns.d.ts +2 -1
- package/dist-lib/components/pages/list/filter-meta.d.ts +2 -1
- package/dist-lib/components/pages/list/useActiveView.d.ts +38 -0
- package/dist-lib/components/pages/list/useListColumnLayout.d.ts +6 -5
- package/dist-lib/components/pages/list/useListQuery.d.ts +4 -4
- package/dist-lib/components/pages/list/useListSort.d.ts +5 -4
- package/dist-lib/components/pages/list/useListViews.d.ts +18 -8
- package/dist-lib/components/pages/list/useRowMenu.d.ts +2 -3
- package/dist-lib/components/pages/profile/Profile.d.ts +3 -0
- package/dist-lib/components/params/ParamsBlock.d.ts +1 -13
- package/dist-lib/components/params/param-editors.d.ts +3 -11
- package/dist-lib/components/primitives/ClassifiedFieldLocked.d.ts +1 -2
- package/dist-lib/components/shared/DynamicIcon.d.ts +2 -2
- package/dist-lib/components/shared/ErrorBoundary.d.ts +1 -1
- package/dist-lib/components/shared/LoadingSkeleton.d.ts +1 -0
- package/dist-lib/components/shared/LucideIcon.d.ts +1 -1
- package/dist-lib/components/shared/useOwnRefresh.d.ts +1 -1
- package/dist-lib/declarion-react.css +1 -1
- package/dist-lib/embed/theme.d.ts +1 -1
- package/dist-lib/embed/useEmbedNavigate.d.ts +1 -1
- package/dist-lib/failure-v-uGSpbX.js +158 -0
- package/dist-lib/{field-classification-D6xQYn-h.js → field-classification-C28XE-_P.js} +514 -307
- package/dist-lib/format-count-DA4wmmWR.js +1771 -0
- package/dist-lib/hooks/useEntityData.d.ts +1 -1
- package/dist-lib/hooks/useFilters.d.ts +7 -5
- package/dist-lib/hooks/useLanguage.d.ts +4 -0
- package/dist-lib/hooks/useParams.d.ts +4 -51
- package/dist-lib/hooks/useRegisterScreenTab.d.ts +1 -1
- package/dist-lib/hooks/useSSE.d.ts +3 -3
- package/dist-lib/hooks/useTabTitle.d.ts +2 -0
- package/dist-lib/hooks/useText.d.ts +3 -3
- package/dist-lib/hooks/useVersionWatcher.d.ts +1 -1
- package/dist-lib/hooks/useViews.d.ts +20 -0
- package/dist-lib/index.d.ts +8 -7
- package/dist-lib/index.js +2716 -5795
- package/dist-lib/lib/action-dispatch.d.ts +2 -1
- package/dist-lib/lib/actions.d.ts +30 -42
- package/dist-lib/lib/anchor.d.ts +3 -4
- package/dist-lib/lib/decimal-text.d.ts +1 -0
- package/dist-lib/lib/document-templates.d.ts +1 -2
- package/dist-lib/lib/download.d.ts +2 -1
- package/dist-lib/lib/evidence-verdict.d.ts +2 -1
- package/dist-lib/lib/failure.d.ts +2 -0
- package/dist-lib/lib/field-classification.d.ts +3 -3
- package/dist-lib/lib/filters.d.ts +18 -2
- package/dist-lib/lib/format-count.d.ts +8 -7
- package/dist-lib/lib/language.d.ts +19 -0
- package/dist-lib/lib/mass-edit.d.ts +2 -1
- package/dist-lib/lib/realtime-query-keys.d.ts +1 -1
- package/dist-lib/lib/realtime-reconcile.d.ts +3 -4
- package/dist-lib/lib/screen-back.d.ts +4 -6
- package/dist-lib/lib/sort.d.ts +9 -9
- package/dist-lib/lib/timestamp.d.ts +5 -7
- package/dist-lib/lib/ui-actions.d.ts +2 -1
- package/dist-lib/peekDraftStore-D-cTbiIr.js +199 -0
- package/dist-lib/registry-Cb3W-czW.js +1950 -0
- package/dist-lib/safe-url-oSJw5pzO.js +34 -0
- package/dist-lib/stores/icon-registry.d.ts +2 -2
- package/dist-lib/stores/list-layout.d.ts +3 -4
- package/dist-lib/stores/realtime.d.ts +1 -1
- package/dist-lib/stores/tabs.d.ts +3 -2
- package/dist-lib/testing.d.ts +6 -0
- package/dist-lib/testing.js +98 -76
- package/dist-lib/types/api.d.ts +7 -8
- package/dist-lib/types/fieldType.d.ts +1 -1
- package/dist-lib/types/files.d.ts +4 -4
- package/dist-lib/types/schema.d.ts +44 -50
- package/dist-lib/useAgentConversation-D97IqE-J.js +623 -0
- package/dist-lib/{useCurrentScreen-CzwzQpoW.js → useCurrentScreen-BL5NZFCw.js} +2777 -3768
- package/dist-lib/useListQuery-BG1GyKtJ.js +103 -0
- package/dist-lib/useProperties-4Lg3odrt.js +83 -0
- package/dist-lib/{useTabSearchMirror-C39U85cg.js → useTabSearchMirror-ZVLlINBX.js} +49 -51
- package/dist-lib/useText-BFDCTUSo.js +952 -0
- package/dist-lib/{value-Bo8C8WMU.js → value-By1-WJ8J.js} +74 -76
- package/dist-lib/vite/fingerprint-plugin.d.ts +2 -3
- package/package.json +13 -12
- package/dist-lib/Grid-DWgUPuZ3.js +0 -404
- package/dist-lib/MarkdownRenderer-CcSFc2N3.js +0 -85
- package/dist-lib/RecordIdBadge-CGxPR-8q.js +0 -24
- package/dist-lib/SmartDetailPage.impl-lskCd-WG.js +0 -1846
- package/dist-lib/SmartListPage.impl-CrGbdzyK.js +0 -2854
- package/dist-lib/SortHeaderMenu-SYSAaqQJ.js +0 -106
- package/dist-lib/action-dispatch-CR4ajBtT.js +0 -1985
- package/dist-lib/cardProjection-CW5RIMko.js +0 -699
- package/dist-lib/components/pages/home/HomeStub.d.ts +0 -6
- package/dist-lib/components/pages/jobs/Jobs.d.ts +0 -1
- package/dist-lib/components/pages/pipeline/Pipeline.d.ts +0 -1
- package/dist-lib/format-count-Dobmi-Ji.js +0 -1551
- package/dist-lib/hooks/useUserLocale.d.ts +0 -1
- package/dist-lib/lib/messages.d.ts +0 -12
- package/dist-lib/peekDraftStore-5wQ7lq_V.js +0 -194
- package/dist-lib/registry-CjgUaF7C.js +0 -1768
- package/dist-lib/useListQuery-D7Hr5WM1.js +0 -96
- package/dist-lib/useProperties-CqtCzFCr.js +0 -81
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useUserLocale(): string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type LocalizedString } from "../types/schema.d.ts";
|
|
2
|
-
import type { PublicParam } from "../types/api.d.ts";
|
|
3
|
-
export declare const DEFAULT_LOCALE = "en";
|
|
4
|
-
/**
|
|
5
|
-
* A catalogue of localized strings keyed by code. The platform ships two and
|
|
6
|
-
* they are NOT interchangeable: `schema.messages` is UI text, `schema.errors`
|
|
7
|
-
* is the declared error types' titles. A failure never lives in `messages` -
|
|
8
|
-
* enforced by a gate in the platform, not by this type.
|
|
9
|
-
*/
|
|
10
|
-
export type MessageCatalog = Record<string, LocalizedString> | undefined;
|
|
11
|
-
export declare function localizedMessage(catalogue: MessageCatalog, code: string, locale: string, fallback?: string): string;
|
|
12
|
-
export declare function publicLocale(parameters: PublicParam[] | undefined): string;
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { Lr as t, Mr as n, Vr as r, en as i, hr as a, i as o, kr as s, nr as c } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
-
import { useMemo as l, useRef as u, useState as d } from "react";
|
|
4
|
-
import { useQuery as f } from "@tanstack/react-query";
|
|
5
|
-
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/pages/exportRequest.ts
|
|
7
|
-
var g = /* @__PURE__ */ new Set(["_select", "_actions"]);
|
|
8
|
-
function _(e) {
|
|
9
|
-
let t = {};
|
|
10
|
-
return e.screenCode && (t.screen = e.screenCode), e.jsonFilters && e.jsonFilters.length > 0 && (t.filters = e.jsonFilters), e.search && (t.search = e.search), e.sort && (t.sort = e.sort), e.includeDeleted && (t.include_deleted = !0), e.page && (t.page = e.page), e.perPage && (t.per_page = e.perPage), t;
|
|
11
|
-
}
|
|
12
|
-
function v(e, t) {
|
|
13
|
-
let n = t.visibleColumns.filter((e) => !g.has(e)), r = {
|
|
14
|
-
format: "csv",
|
|
15
|
-
scope: t.scope,
|
|
16
|
-
query: _(e),
|
|
17
|
-
columns: n
|
|
18
|
-
};
|
|
19
|
-
return t.scope === "selected_rows" && t.selectedRowPKs && t.selectedRowPKs.length > 0 && (r.selection = t.selectedRowPKs), t.locale && (r.locale = t.locale), t.filename && (r.filename = t.filename), r;
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/components/pages/DocumentsMenu.tsx
|
|
23
|
-
var y = "document-templates-available";
|
|
24
|
-
function b({ entityCode: a, scope: g, objectIds: v = [], viewState: b, selectedIds: w = [], capability: T, canManageTemplates: E = !1 }) {
|
|
25
|
-
let { run: D } = o(), O = u(null), [k, A] = d(!1), j = g === "detail" ? !!T?.generate_one : !!T?.generate_many, M = E && !j, { data: N, isLoading: P, error: F } = f({
|
|
26
|
-
queryKey: [y, a],
|
|
27
|
-
queryFn: async () => (await i("document.templates.available", { entity: a })).result?.templates ?? [],
|
|
28
|
-
enabled: k || M,
|
|
29
|
-
staleTime: 6e4
|
|
30
|
-
}), I = P, L = l(() => (N ?? []).filter((e) => g === "detail" ? e.input_mode === "one" || e.input_mode === "global" : e.input_mode === "many" || e.input_mode === "global"), [g, N]), R = M && L.length > 0, z = j || R;
|
|
31
|
-
function B() {
|
|
32
|
-
A((e) => !e);
|
|
33
|
-
}
|
|
34
|
-
function V(e) {
|
|
35
|
-
if (e.input_mode === "global") return [{ kind: "global" }];
|
|
36
|
-
if (g === "detail") return e.input_mode === "one" && v.length === 1 ? [{
|
|
37
|
-
kind: "one",
|
|
38
|
-
objectIds: v
|
|
39
|
-
}] : [];
|
|
40
|
-
if (e.input_mode === "many") {
|
|
41
|
-
let e = [];
|
|
42
|
-
return b && e.push({
|
|
43
|
-
kind: "current_view",
|
|
44
|
-
query: _(b)
|
|
45
|
-
}), w.length > 0 && e.push({
|
|
46
|
-
kind: "selected",
|
|
47
|
-
objectIds: w
|
|
48
|
-
}), e;
|
|
49
|
-
}
|
|
50
|
-
return [];
|
|
51
|
-
}
|
|
52
|
-
function H(e, t, n) {
|
|
53
|
-
let r = x(e), a = c(e.name) || e.code;
|
|
54
|
-
A(!1), D({
|
|
55
|
-
action: r,
|
|
56
|
-
title: a,
|
|
57
|
-
execute: (r) => {
|
|
58
|
-
let a = {
|
|
59
|
-
template_code: e.code,
|
|
60
|
-
template_source: e.source,
|
|
61
|
-
output_format: n
|
|
62
|
-
};
|
|
63
|
-
return Object.keys(r).length > 0 && (a.params = r), "objectIds" in t && (a.object_ids = t.objectIds), "query" in t && (a.query = {
|
|
64
|
-
scope: "current_view",
|
|
65
|
-
query: t.query
|
|
66
|
-
}), i("document.generate", a);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
let { isPhone: U } = n();
|
|
71
|
-
return z ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(r, {
|
|
72
|
-
ref: O,
|
|
73
|
-
kind: "ghost",
|
|
74
|
-
size: "sm",
|
|
75
|
-
icon: m(I ? e.loader : e.filePlus, { size: 12 }),
|
|
76
|
-
onClick: B,
|
|
77
|
-
disabled: I,
|
|
78
|
-
"aria-label": "Generate",
|
|
79
|
-
title: "Generate",
|
|
80
|
-
children: U ? null : "Generate"
|
|
81
|
-
}), /* @__PURE__ */ h(t, {
|
|
82
|
-
open: k,
|
|
83
|
-
anchor: O.current,
|
|
84
|
-
onClose: () => A(!1),
|
|
85
|
-
align: "end",
|
|
86
|
-
width: 300,
|
|
87
|
-
children: [
|
|
88
|
-
I && /* @__PURE__ */ m(s, {
|
|
89
|
-
disabled: !0,
|
|
90
|
-
icon: /* @__PURE__ */ m(e.loader, { size: 12 }),
|
|
91
|
-
children: "Loading templates..."
|
|
92
|
-
}),
|
|
93
|
-
F && /* @__PURE__ */ m(s, {
|
|
94
|
-
disabled: !0,
|
|
95
|
-
icon: /* @__PURE__ */ m(e.warning, { size: 12 }),
|
|
96
|
-
children: F instanceof Error ? F.message : String(F)
|
|
97
|
-
}),
|
|
98
|
-
!I && !F && L.length === 0 && /* @__PURE__ */ m(s, {
|
|
99
|
-
disabled: !0,
|
|
100
|
-
icon: /* @__PURE__ */ m(e.file, { size: 12 }),
|
|
101
|
-
children: "No document templates"
|
|
102
|
-
}),
|
|
103
|
-
!I && !F && L.map((t) => {
|
|
104
|
-
let n = V(t);
|
|
105
|
-
return n.length === 0 ? null : S(t).flatMap((r) => n.map((n) => r.available ? /* @__PURE__ */ m(s, {
|
|
106
|
-
icon: /* @__PURE__ */ m(e.file, { size: 12 }),
|
|
107
|
-
onClick: () => H(t, n, r.format),
|
|
108
|
-
title: c(t.description),
|
|
109
|
-
children: C(t, n, r.format)
|
|
110
|
-
}, `${t.source}:${t.code}:${n.kind}:${r.format}`) : /* @__PURE__ */ h(s, {
|
|
111
|
-
disabled: !0,
|
|
112
|
-
icon: /* @__PURE__ */ m(e.file, { size: 12 }),
|
|
113
|
-
title: r.disabled_reason,
|
|
114
|
-
children: [
|
|
115
|
-
C(t, n, r.format),
|
|
116
|
-
" - ",
|
|
117
|
-
r.disabled_reason || "Unavailable"
|
|
118
|
-
]
|
|
119
|
-
}, `${t.source}:${t.code}:${n.kind}:${r.format}:disabled`)));
|
|
120
|
-
})
|
|
121
|
-
]
|
|
122
|
-
})] }) : null;
|
|
123
|
-
}
|
|
124
|
-
function x(e) {
|
|
125
|
-
let t = new a((e.params ?? []).map((e) => ({
|
|
126
|
-
...e,
|
|
127
|
-
name: e.name ?? ""
|
|
128
|
-
})));
|
|
129
|
-
return {
|
|
130
|
-
handler: "document.generate",
|
|
131
|
-
display: {
|
|
132
|
-
name: e.name,
|
|
133
|
-
icon: "file",
|
|
134
|
-
description: e.description
|
|
135
|
-
},
|
|
136
|
-
resolved_params: t
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function S(e) {
|
|
140
|
-
return e.outputs && e.outputs.length > 0 ? e.outputs : (e.allowed_outputs && e.allowed_outputs.length > 0 ? e.allowed_outputs : [e.output_format || "xlsx"]).map((e) => ({
|
|
141
|
-
format: e,
|
|
142
|
-
available: !0
|
|
143
|
-
}));
|
|
144
|
-
}
|
|
145
|
-
function C(e, t, n) {
|
|
146
|
-
let r = c(e.name) || e.code, i = n ? ` (${n.toUpperCase()})` : "";
|
|
147
|
-
switch (t.kind) {
|
|
148
|
-
case "one": return `${r}${i}`;
|
|
149
|
-
case "selected": return `${r}${i} - selected rows`;
|
|
150
|
-
case "current_view": return `${r}${i} - current view`;
|
|
151
|
-
case "global": return `${r}${i}`;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/lib/document-templates.ts
|
|
156
|
-
function w(e) {
|
|
157
|
-
return !!e?.entities?.document_template;
|
|
158
|
-
}
|
|
159
|
-
//#endregion
|
|
160
|
-
//#region src/lib/evidence-verdict.ts
|
|
161
|
-
var T = {
|
|
162
|
-
verified: "Verified",
|
|
163
|
-
unverified: "Not yet verified",
|
|
164
|
-
tampered: "Tampered",
|
|
165
|
-
indeterminate: "Cannot verify",
|
|
166
|
-
outside_coverage: "Outside coverage"
|
|
167
|
-
}, E = {
|
|
168
|
-
verified: "emerald",
|
|
169
|
-
unverified: "slate",
|
|
170
|
-
tampered: "rose",
|
|
171
|
-
indeterminate: "amber",
|
|
172
|
-
outside_coverage: "slate"
|
|
173
|
-
};
|
|
174
|
-
function D(e) {
|
|
175
|
-
return T[e] ?? e;
|
|
176
|
-
}
|
|
177
|
-
function O(e) {
|
|
178
|
-
return E[e] ?? "slate";
|
|
179
|
-
}
|
|
180
|
-
//#endregion
|
|
181
|
-
//#region src/components/list/peekDraftStore.ts
|
|
182
|
-
var k = /* @__PURE__ */ new Map();
|
|
183
|
-
function A(e, t) {
|
|
184
|
-
k.set(e, t);
|
|
185
|
-
}
|
|
186
|
-
function j(e) {
|
|
187
|
-
let t = k.get(e);
|
|
188
|
-
return t === void 0 ? null : (k.delete(e), t);
|
|
189
|
-
}
|
|
190
|
-
function M(e) {
|
|
191
|
-
k.delete(e);
|
|
192
|
-
}
|
|
193
|
-
//#endregion
|
|
194
|
-
export { O as a, v as c, D as i, A as n, w as o, j as r, b as s, M as t };
|