@endge/ui-vue 0.23.9 → 0.23.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{edit.utils-Dnnbd0xG-DHQGwN3o.js → edit.utils-Dnnbd0xG-GYDbx60y.js} +1 -1
- package/dist/{main-C2IEiZ5n.js → main-BQGwmRA7.js} +6140 -5955
- package/dist/{revo-grid.entry-MzkFk-x0.js → revo-grid.entry-CpD6fgBR.js} +1 -1
- package/dist/{revogr-attribution_7.entry-pg8E4G-4.js → revogr-attribution_7.entry-DY5yxn-n.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BxOBWTzk.js → revogr-clipboard_3.entry-Cd2RO79n.js} +2 -2
- package/dist/{revogr-data_4.entry-CsSg4dfc.js → revogr-data_4.entry-B2Lijjf4.js} +2 -2
- package/dist/{revogr-filter-panel.entry-x3xw6VNs.js → revogr-filter-panel.entry-htGN06Bo.js} +1 -1
- package/dist/test/sfc/SFCRender_Interactions.bench.d.ts +1 -0
- package/dist/test/sfc/SFCRender_Interactions.test.d.ts +1 -0
- package/dist/{throttle-CaUDyxyU-DAH-O3x2.js → throttle-CaUDyxyU-B26nNlmw.js} +1 -1
- package/dist/ui/render/entities/EndgePage.vue.d.ts +2 -810
- package/dist/ui/render/sfc/SFCRender_Base.d.ts +2 -0
- package/dist/ui/render/sfc/SFCRender_Interaction.d.ts +20 -0
- package/dist/vue.js +42 -41
- package/package.json +7 -6
|
@@ -6,3 +6,5 @@ export declare function SFCRender_Base(renderFn: SFCVueRenderFunction): SFCVueRe
|
|
|
6
6
|
export declare function resolveSFCConditionState(node: RComponentSFC_IR_ElementNode, context: SFCVueRenderContext, previousMatched: boolean): SFCVueRenderConditionState;
|
|
7
7
|
/** Готовит renderer-neutral attrs для primitive-тега. */
|
|
8
8
|
export declare function createSFCBaseAttrs(node: RComponentSFC_IR_ElementNode, props: Record<string, unknown>, styleNode?: EndgeStyleMatchNode, runtimeScopeIds?: readonly string[]): Record<string, unknown>;
|
|
9
|
+
/** Connects intrinsic `@event` and conditional `:on` to a renderer-owned surface. */
|
|
10
|
+
export declare function createSFCNodeEventAttrs(node: RComponentSFC_IR_ElementNode, props: Record<string, unknown>, context: SFCVueRenderContext): Record<string, unknown>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComponentSFCInteractionTrigger, ComponentSFCInteractionTriggerEvent, ComponentSFCInteractionTriggerPlatform, RComponentSFC_IR_ElementNode, RComponentSFC_IR_EventModifier, RComponentSFC_IR_EventBinding } from '@endge/core';
|
|
2
|
+
import { SFCVueRenderContext } from '../../../domain/types/sfc-render.type';
|
|
3
|
+
/** Adds conditional `:on` listeners to one renderer-owned visual node. */
|
|
4
|
+
export declare function attachSFCInteractionAttrs(attrs: Record<string, unknown>, node: RComponentSFC_IR_ElementNode, props: Record<string, unknown>, context: SFCVueRenderContext): void;
|
|
5
|
+
/** Projects `:on` groups of a nested SFC to its semantic Event boundary. */
|
|
6
|
+
export declare function createSFCSemanticInteractionBindings(node: RComponentSFC_IR_ElementNode, context: SFCVueRenderContext): RComponentSFC_IR_EventBinding[];
|
|
7
|
+
export declare function applySuffixModifiers(trigger: ComponentSFCInteractionTrigger, modifiers?: readonly RComponentSFC_IR_EventModifier[]): ComponentSFCInteractionTrigger;
|
|
8
|
+
export declare function createSFCInteractionTriggerEvent(event: Event): ComponentSFCInteractionTriggerEvent;
|
|
9
|
+
export declare function normalizeSFCInteractionEvent(event: Event, snapshot?: ComponentSFCInteractionTriggerEvent): Record<string, unknown>;
|
|
10
|
+
interface InteractionHeldKeyEntry {
|
|
11
|
+
key: string;
|
|
12
|
+
code?: string;
|
|
13
|
+
}
|
|
14
|
+
interface InteractionKeyState {
|
|
15
|
+
entries: Map<string, InteractionHeldKeyEntry>;
|
|
16
|
+
}
|
|
17
|
+
export declare function ensureSFCInteractionKeyState(): InteractionKeyState | null;
|
|
18
|
+
export declare function resolveSFCInteractionPlatform(): ComponentSFCInteractionTriggerPlatform;
|
|
19
|
+
export declare function chainSFCEventAttr(attrs: Record<string, unknown>, name: string, next: (event: any) => void): void;
|
|
20
|
+
export {};
|
package/dist/vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as s, au as n, av as t, aw as r, ax as C, ay as d, az as S, aA as b, aB as o, aC as
|
|
1
|
+
import { at as s, au as n, av as t, aw as r, ax as C, ay as d, az as S, aA as b, aB as o, aC as F, aD as u, aE as l, aF as i, aG as R, aH as E, aI as _, aJ as g, aK as x, aL as m, aM as V, aN as c, aO as M, aP as T, aQ as v, aR as y, aS as D, aT as p, aU as I, aV as A, aW as B, aX as P, aY as h, aZ as N, a_ as k, a$ as z, b0 as O, b1 as U, b2 as w, b3 as f, b4 as j, b5 as G, b6 as K, b7 as L, b8 as H, b9 as Q, ba as W, bb as Y, bc as q, bd as J, be as X, bf as Z, bg as $, bh as ee, bi as ae, bj as se, bk as ne, bl as te, bm as re, bn as Ce, bo as de, bp as Se, bq as be, br as oe, bs as Fe, bt as ue, bu as le, bv as ie, bw as Re, bx as Ee, by as _e, bz as ge, bA as xe, bB as me, bC as Ve } from "./main-BQGwmRA7.js";
|
|
2
2
|
export {
|
|
3
3
|
s as EndgeContextMenuRoot,
|
|
4
4
|
n as EndgeDOMStyleRuntime,
|
|
@@ -9,8 +9,8 @@ export {
|
|
|
9
9
|
S as EndgeVue,
|
|
10
10
|
b as EndgeVueModule,
|
|
11
11
|
o as EndgeVuePlugin,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
F as NATIVE_VUE_SFC_ADAPTER_ID,
|
|
13
|
+
u as NativeVueSFCAdapter,
|
|
14
14
|
l as SFCRender_Badge,
|
|
15
15
|
i as SFCRender_Base,
|
|
16
16
|
R as SFCRender_Box,
|
|
@@ -20,9 +20,9 @@ export {
|
|
|
20
20
|
x as SFCRender_Divider,
|
|
21
21
|
m as SFCRender_Dot,
|
|
22
22
|
V as SFCRender_Flex,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
c as SFCRender_Grid,
|
|
24
|
+
M as SFCRender_Icon,
|
|
25
|
+
T as SFCRender_Input,
|
|
26
26
|
v as SFCRender_Number,
|
|
27
27
|
y as SFCRender_Select,
|
|
28
28
|
D as SFCRender_Table,
|
|
@@ -37,40 +37,41 @@ export {
|
|
|
37
37
|
z as closeEndgeContextMenu,
|
|
38
38
|
O as createInitialTableVisibility,
|
|
39
39
|
U as createSFCBaseAttrs,
|
|
40
|
-
w as
|
|
41
|
-
f as
|
|
42
|
-
j as
|
|
43
|
-
G as
|
|
44
|
-
K as
|
|
45
|
-
L as
|
|
46
|
-
H as
|
|
47
|
-
Q as
|
|
48
|
-
W as
|
|
49
|
-
Y as
|
|
50
|
-
q as
|
|
51
|
-
J as
|
|
52
|
-
X as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
ee as
|
|
56
|
-
ae as
|
|
57
|
-
se as
|
|
58
|
-
ne as
|
|
59
|
-
te as
|
|
60
|
-
re as
|
|
61
|
-
Ce as
|
|
62
|
-
de as
|
|
63
|
-
Se as
|
|
64
|
-
be as
|
|
65
|
-
oe as
|
|
40
|
+
w as createSFCNodeEventAttrs,
|
|
41
|
+
f as createSFCTableColumnMarkers,
|
|
42
|
+
j as createSFCTableMarkers,
|
|
43
|
+
G as createSFCVueBoundaryRegistry,
|
|
44
|
+
K as createSFCVueRenderContext,
|
|
45
|
+
L as endgeContextMenuState,
|
|
46
|
+
H as evaluateSFCBinding,
|
|
47
|
+
Q as evaluateSFCExpression,
|
|
48
|
+
W as evaluateSFCProps,
|
|
49
|
+
Y as evaluateSFCValue,
|
|
50
|
+
q as executeEndgeContextMenuItem,
|
|
51
|
+
J as extendSFCVueRenderContext,
|
|
52
|
+
X as extendSFCVueStyleContext,
|
|
53
|
+
Z as filterVisibleTableColumns,
|
|
54
|
+
$ as getContextMenuItems,
|
|
55
|
+
ee as getExecutableContextMenuItems,
|
|
56
|
+
ae as installEndgeVueWarnHandler,
|
|
57
|
+
se as isTruthySFCValue,
|
|
58
|
+
ne as materializeEndgeCSSForDOM,
|
|
59
|
+
te as normalizeSFCTableCellAlignment,
|
|
60
|
+
re as normalizeSFCTableRows,
|
|
61
|
+
Ce as openEndgeContextMenu,
|
|
62
|
+
de as readSFCObjectPath,
|
|
63
|
+
Se as readSFCPath,
|
|
64
|
+
be as renderSFCNode,
|
|
65
|
+
oe as renderSFCNodes,
|
|
66
|
+
Fe as resolveEndgeContextMenuItemLabel,
|
|
66
67
|
ue as resolveSFCConditionState,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
68
|
+
le as resolveSFCTableMenu,
|
|
69
|
+
ie as syncSFCTableDOMMarkers,
|
|
70
|
+
Re as toRevoGridMarkerProps,
|
|
71
|
+
Ee as useCurrentEnvironment,
|
|
72
|
+
_e as useCurrentLocale,
|
|
73
|
+
ge as useCurrentProjectFilter,
|
|
74
|
+
xe as useCurrentTheme,
|
|
75
|
+
me as useDomainStore,
|
|
76
|
+
Ve as useUI
|
|
76
77
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@endge/ui-vue",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.23.
|
|
4
|
+
"version": "0.23.11",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/vue.js",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"build": "vite build",
|
|
24
24
|
"preview": "vite preview",
|
|
25
25
|
"test": "vitest",
|
|
26
|
+
"bench:interactions": "vitest bench src/test/sfc/SFCRender_Interactions.bench.ts",
|
|
26
27
|
"typecheck": "vue-tsc --noEmit"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
@@ -38,9 +39,9 @@
|
|
|
38
39
|
"uuid": "^11.1.0"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
|
-
"@endge/core": "^
|
|
42
|
-
"@endge/utils": "^0.24.
|
|
43
|
-
"@endge/raph": "^3.0.
|
|
42
|
+
"@endge/core": "^2.0.1",
|
|
43
|
+
"@endge/utils": "^0.24.10",
|
|
44
|
+
"@endge/raph": "^3.0.8",
|
|
44
45
|
"@primevue/themes": "^4.0.0-rc.1",
|
|
45
46
|
"class-transformer": "^0.5.1",
|
|
46
47
|
"class-validator": "^0.14.1",
|
|
@@ -53,8 +54,8 @@
|
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
55
56
|
"@typescript-eslint/parser": "^8.7.0",
|
|
56
|
-
"@endge/core": "^
|
|
57
|
-
"@endge/utils": "^0.24.
|
|
57
|
+
"@endge/core": "^2.0.1",
|
|
58
|
+
"@endge/utils": "^0.24.10",
|
|
58
59
|
"@types/lodash": "^4.14.202",
|
|
59
60
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
60
61
|
"@vitejs/plugin-vue-jsx": "^5.1.6",
|