@endge/ui-vue 0.23.6 → 0.23.7

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.
@@ -1,4 +1,4 @@
1
- import { EndgeStyleDiagnostic, EndgeStyleMatchNode, EndgeStylePlacement, EndgeStyleSheetArtifact, EndgeStyleTargetProfile } from '@endge/core';
1
+ import { EndgeStyleDiagnostic, EndgeStylePlacement, EndgeStyleSheetArtifact, EndgeStyleTargetProfile } from '@endge/core';
2
2
  export interface EndgeDOMStyleClassEntry {
3
3
  artifactIdentity: string;
4
4
  ruleId: string;
@@ -7,11 +7,10 @@ export interface EndgeDOMStyleClassEntry {
7
7
  }
8
8
  export interface EndgeDOMStyleMaterialization {
9
9
  css: string;
10
+ /** Compatibility field. Native DOM selectors no longer need generated classes. */
10
11
  classes: EndgeDOMStyleClassEntry[];
11
12
  diagnostics: EndgeStyleDiagnostic[];
12
13
  }
13
14
  export type EndgeDOMStyleInput = EndgeStyleSheetArtifact | EndgeStylePlacement;
14
- /** Converts neutral EndgeCSS artifacts to browser CSS over generated runtime classes. */
15
+ /** Converts neutral EndgeCSS AST selectors to browser-native semantic selectors. */
15
16
  export declare function materializeEndgeCSSForDOM(inputs: readonly EndgeDOMStyleInput[], target?: EndgeStyleTargetProfile): EndgeDOMStyleMaterialization;
16
- /** Returns stable classes for all neutral selectors matching one logical node. */
17
- export declare function getEndgeDOMStyleClasses(artifacts: readonly EndgeStyleSheetArtifact[], node: EndgeStyleMatchNode, target?: EndgeStyleTargetProfile): string[];
@@ -1,4 +1,4 @@
1
- import { r as B, c as g, g as z, t as E, a as R, b as j, d as b, G as L, S as D, i as V, A as F, F as A, E as N, e as M, C as $, T as X, h as v, H as Y, f as G, B as H, j as y, k as w, l as U, R as W, m as q, n as K, o as Z, D as k, p as x, q as J, s as _, u as Q, v as ee, w as T, x as I, y as re, z as te, I as oe, V as ie } from "./main-C7JINS7-.js";
1
+ import { r as B, c as g, g as z, t as E, a as R, b as j, d as b, G as L, S as D, i as V, A as F, F as A, E as N, e as M, C as $, T as X, h as v, H as Y, f as G, B as H, j as y, k as w, l as U, R as W, m as q, n as K, o as Z, D as k, p as x, q as J, s as _, u as Q, v as ee, w as T, x as I, y as re, z as te, I as oe, V as ie } from "./main-DfIL58qW.js";
2
2
  import { H as O, D as se, g as ne, v as le, F as ae, C as de } from "./viewport.helpers-CoCAvmZs-f555rwPU.js";
3
3
  import { g as S } from "./events-BvSmBueA-Doh7RyHn.js";
4
4
  /*!
@@ -1,8 +1,8 @@
1
- import { r as f, h as c, H as S, c as l, p as O, f as F, N as L, O as p, P as H, Q as T, U as W, W as m, X as A, Y as u, V as B, D as P, Z as V, _ as D, $ as N, a0 as $, o as b, t as K, a1 as U, l as X, a2 as Y, R as G, a3 as _ } from "./main-C7JINS7-.js";
1
+ import { r as f, h as c, H as S, c as l, p as O, f as F, N as L, O as p, P as H, Q as T, U as W, W as m, X as A, Y as u, V as B, D as P, Z as V, _ as D, $ as N, a0 as $, o as b, t as K, a1 as U, l as X, a2 as Y, R as G, a3 as _ } from "./main-DfIL58qW.js";
2
2
  import { v as Z, g as C } from "./events-BvSmBueA-Doh7RyHn.js";
3
- import { i as z, a as j, b as Q, c as q, d as J, e as ee, f as te, g as ie, h as se } from "./edit.utils-Dnnbd0xG-DHUAt6CP.js";
3
+ import { i as z, a as j, b as Q, c as q, d as J, e as ee, f as te, g as ie, h as se } from "./edit.utils-Dnnbd0xG-Bu29iZfn.js";
4
4
  import { H as oe } from "./viewport.helpers-CoCAvmZs-f555rwPU.js";
5
- import { L as ne, a as re, g as le, t as ae } from "./throttle-CaUDyxyU-bedWy7Og.js";
5
+ import { L as ne, a as re, g as le, t as ae } from "./throttle-CaUDyxyU-DVK6LCy3.js";
6
6
  /*!
7
7
  * Built by Revolist OU ❤️
8
8
  */
@@ -1,5 +1,5 @@
1
- import { t as f, r as c, c as n, h as v, a4 as g, H as m, f as y, l as w, a5 as C, p as b, a3 as h } from "./main-C7JINS7-.js";
2
- import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-DHUAt6CP.js";
1
+ import { t as f, r as c, c as n, h as v, a4 as g, H as m, f as y, l as w, a5 as C, p as b, a3 as h } from "./main-DfIL58qW.js";
2
+ import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-Bu29iZfn.js";
3
3
  /*!
4
4
  * Built by Revolist OU ❤️
5
5
  */
@@ -1,5 +1,5 @@
1
- import { a7 as W, a8 as B, a9 as U, h as a, aa as V, ab as E, ac as z, ad as F, ae as N, af as X, ag as K, ah as Y, r as x, c as v, N as Z, p as q, ai as J, aj as T, H, f as R, o as L, ak as D, al as Q, am as m, an as ee, ao as I, a0 as te, ap as re, aq as P, ar as M } from "./main-C7JINS7-.js";
2
- import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-bedWy7Og.js";
1
+ import { a7 as W, a8 as B, a9 as U, h as a, aa as V, ab as E, ac as z, ad as F, ae as N, af as X, ag as K, ah as Y, r as x, c as v, N as Z, p as q, ai as J, aj as T, H, f as R, o as L, ak as D, al as Q, am as m, an as ee, ao as I, a0 as te, ap as re, aq as P, ar as M } from "./main-DfIL58qW.js";
2
+ import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-DVK6LCy3.js";
3
3
  import { H as se, C as ne, F as ae } from "./viewport.helpers-CoCAvmZs-f555rwPU.js";
4
4
  /*!
5
5
  * Built by Revolist OU ❤️
@@ -1,4 +1,4 @@
1
- import { r as F, c as v, l as I, J as w, h as s, K as C, L as k, M as D, H as E, f as O } from "./main-C7JINS7-.js";
1
+ import { r as F, c as v, l as I, J as w, h as s, K as C, L as k, M as D, H as E, f as O } from "./main-DfIL58qW.js";
2
2
  /*!
3
3
  * Built by Revolist OU ❤️
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { g as h } from "./viewport.helpers-CoCAvmZs-f555rwPU.js";
2
- import { as as g, l as d } from "./main-C7JINS7-.js";
2
+ import { as as g, l as d } from "./main-DfIL58qW.js";
3
3
  /*!
4
4
  * Built by Revolist OU ❤️
5
5
  */
@@ -148,6 +148,7 @@ declare function __VLS_template(): {
148
148
  wildcardDynamic?: boolean;
149
149
  }) => void;
150
150
  untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
151
+ getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
151
152
  priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
152
153
  readonly data: import('@endge/raph').DataObject;
153
154
  readonly graph: {
@@ -332,6 +333,7 @@ declare function __VLS_template(): {
332
333
  wildcardDynamic?: boolean;
333
334
  }) => void;
334
335
  untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
336
+ getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
335
337
  priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
336
338
  readonly data: import('@endge/raph').DataObject;
337
339
  readonly graph: {
@@ -1536,6 +1538,7 @@ declare function __VLS_template(): {
1536
1538
  wildcardDynamic?: boolean;
1537
1539
  }) => void;
1538
1540
  untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
1541
+ getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
1539
1542
  priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
1540
1543
  readonly data: import('@endge/raph').DataObject;
1541
1544
  readonly graph: {
@@ -1720,6 +1723,7 @@ declare function __VLS_template(): {
1720
1723
  wildcardDynamic?: boolean;
1721
1724
  }) => void;
1722
1725
  untrack: (node: import('@endge/raph').RaphNode<any>, mask?: import('@endge/raph').DataPathDef) => void;
1726
+ getTrackedMasks: (node: import('@endge/raph').RaphNode<any>) => ReadonlySet<string>;
1723
1727
  priorityOf: (node: import('@endge/raph').RaphNode<any>) => number;
1724
1728
  readonly data: import('@endge/raph').DataObject;
1725
1729
  readonly graph: {
@@ -7,3 +7,4 @@ export declare function createInitialTableVisibility<T extends {
7
7
  export declare function filterVisibleTableColumns<T extends {
8
8
  key: string;
9
9
  }>(columns: readonly T[], visibility: Readonly<Record<string, boolean>>): T[];
10
+ export declare function normalizeSFCTableRows(value: unknown): Record<string, unknown>[];
@@ -1,35 +1,26 @@
1
- import { EndgeStyleMatchNode } from '@endge/core';
2
1
  import { SFCVueRenderContext } from '../../../domain/types/sfc-render.type';
3
2
  export type SFCTablePublicPart = 'grid' | 'header' | 'header-cell' | 'header-content' | 'body' | 'row' | 'cell' | 'cell-content' | 'group-row';
4
- export interface SFCTablePublicPartAttrs extends Record<string, unknown> {
3
+ export interface SFCTableMarkerAttrs extends Record<string, unknown> {
5
4
  part: SFCTablePublicPart;
6
5
  'data-endge-part': SFCTablePublicPart;
7
6
  class: string[];
8
7
  }
9
- export interface SFCTablePublicSurface {
10
- node: EndgeStyleMatchNode;
11
- attrs: SFCTablePublicPartAttrs;
12
- }
13
- export interface SFCTableStyleContract {
8
+ export interface SFCTableMarkers {
14
9
  context: SFCVueRenderContext;
15
- grid: SFCTablePublicSurface;
16
- header: SFCTablePublicSurface;
17
- body: SFCTablePublicSurface;
18
- groupRow: SFCTablePublicSurface;
19
- }
20
- export interface SFCTableColumnStyleSurfaces {
21
- headerCell: SFCTablePublicSurface;
22
- headerContent: SFCTablePublicSurface;
10
+ grid: SFCTableMarkerAttrs;
11
+ header: SFCTableMarkerAttrs;
12
+ body: SFCTableMarkerAttrs;
13
+ row: SFCTableMarkerAttrs;
14
+ groupRow: SFCTableMarkerAttrs;
23
15
  }
24
- export interface SFCTableCellStyleSurfaces {
25
- cell: SFCTablePublicSurface;
26
- cellContent: SFCTablePublicSurface;
16
+ export interface SFCTableColumnMarkers {
17
+ headerCell: SFCTableMarkerAttrs;
18
+ headerContent: SFCTableMarkerAttrs;
19
+ cell: SFCTableMarkerAttrs;
20
+ cellContent: SFCTableMarkerAttrs;
27
21
  }
28
- export declare const SFC_TABLE_ROW_CLASS_FIELD = "__endgeStyleRowClass";
29
- export declare function createSFCTableStyleContract(context: SFCVueRenderContext): SFCTableStyleContract;
30
- export declare function createSFCTableColumnStyleSurfaces(contract: SFCTableStyleContract, columnCount: number): SFCTableColumnStyleSurfaces[];
31
- export declare function decorateSFCTableRows(rows: readonly Record<string, unknown>[], columnCount: number, contract: SFCTableStyleContract): Record<string, unknown>[];
32
- export declare function getSFCTableCellStyleSurfaces(row: Record<string, unknown>, columnIndex: number): SFCTableCellStyleSurfaces | null;
33
- export declare function toRevoGridSurfaceProps(attrs: SFCTablePublicPartAttrs): Record<string, unknown>;
34
- /** Applies logical surfaces to RevoGrid-owned DOM without leaking vendor selectors into EndgeCSS. */
35
- export declare function syncSFCTableDOMSurfaces(grid: HTMLElement, contract: SFCTableStyleContract): void;
22
+ export declare function createSFCTableMarkers(context: SFCVueRenderContext): SFCTableMarkers;
23
+ export declare function createSFCTableColumnMarkers(markers: SFCTableMarkers, columnCount: number): SFCTableColumnMarkers[];
24
+ export declare function toRevoGridMarkerProps(attrs: SFCTableMarkerAttrs): Record<string, unknown>;
25
+ /** Marks vendor-owned DOM only; native CSS performs all selector matching. */
26
+ export declare function syncSFCTableDOMMarkers(grid: HTMLElement, markers: SFCTableMarkers): void;
package/dist/vue.js CHANGED
@@ -1,76 +1,73 @@
1
- import { at as s, au as t, av as n, aw as r, ax as C, ay as S, az as d, aA as b, aB as F, aC as l, aD as u, aE as o, aF as i, aG as R, aH as _, aI as E, aJ as g, aK as c, aL as x, aM as T, aN as m, aO as V, aP as y, aQ as D, aR as M, aS as v, aT as A, aU as I, aV as B, aW as P, aX as p, aY as f, aZ as h, a_ as N, a$ as O, b0 as L, b1 as U, b2 as z, b3 as j, b4 as w, b5 as G, b6 as K, b7 as k, b8 as Q, b9 as W, ba as Y, bb as q, bc as H, bd as J, be as X, bf as Z, bg as $, bh as ee, bi as ae, bj as se, bk as te, bl as ne, bm as re, bn as Ce, bo as Se, bp as de, bq as be, br as Fe, bs as le, bt as ue, bu as oe, bv as ie, bw as Re, bx as _e, by as Ee, bz as ge, bA as ce, bB as xe } from "./main-C7JINS7-.js";
1
+ import { at as s, au as n, av as r, aw as t, ax as C, ay as d, az as S, aA as b, aB as F, aC as u, aD as o, aE as l, aF as i, aG as R, aH as _, aI as E, aJ as g, aK as x, aL as m, aM as T, aN as V, aO as c, aP as M, aQ as v, aR as D, aS as y, aT as I, aU as P, aV as p, aW as A, aX as B, aY as h, aZ as N, a_ as k, a$ as O, b0 as U, b1 as z, b2 as f, b3 as j, b4 as w, b5 as G, b6 as K, b7 as L, b8 as Q, b9 as Y, ba as q, bb as H, bc as J, bd as W, be as X, bf as Z, bg as $, bh as ee, bi as ae, bj as se, bk as ne, bl as re, bm as te, bn as Ce, bo as de, bp as Se, bq as be, br as Fe, bs as ue, bt as oe, bu as le, bv as ie, bw as Re, bx as _e, by as Ee } from "./main-DfIL58qW.js";
2
2
  export {
3
3
  s as EndgeContextMenuRoot,
4
- t as EndgeDOMStyleRuntime,
5
- n as EndgeFilterField,
6
- r as EndgeFilterRenderer,
4
+ n as EndgeDOMStyleRuntime,
5
+ r as EndgeFilterField,
6
+ t as EndgeFilterRenderer,
7
7
  C as EndgePage,
8
- S as EndgeShell,
9
- d as EndgeVue,
8
+ d as EndgeShell,
9
+ S as EndgeVue,
10
10
  b as EndgeVueModule,
11
11
  F as EndgeVuePlugin,
12
- l as NATIVE_VUE_SFC_ADAPTER_ID,
13
- u as NativeVueSFCAdapter,
14
- o as SFCRender_Badge,
12
+ u as NATIVE_VUE_SFC_ADAPTER_ID,
13
+ o as NativeVueSFCAdapter,
14
+ l as SFCRender_Badge,
15
15
  i as SFCRender_Base,
16
16
  R as SFCRender_Box,
17
17
  _ as SFCRender_Checkbox,
18
18
  E as SFCRender_Component,
19
19
  g as SFCRender_DateTime,
20
- c as SFCRender_Divider,
21
- x as SFCRender_Dot,
20
+ x as SFCRender_Divider,
21
+ m as SFCRender_Dot,
22
22
  T as SFCRender_Flex,
23
- m as SFCRender_Grid,
24
- V as SFCRender_Icon,
25
- y as SFCRender_Input,
26
- D as SFCRender_Number,
27
- M as SFCRender_Select,
28
- v as SFCRender_Table,
29
- A as SFCRender_Text,
30
- I as SFCRender_Textarea,
31
- B as SFCVueBoundaryRegistryKey,
32
- P as SFCVueRuntimeBridge,
33
- p as SFC_Renderer,
34
- f as SFC_RuntimeRenderer,
35
- h as SFC_TABLE_ROW_CLASS_FIELD,
23
+ V as SFCRender_Grid,
24
+ c as SFCRender_Icon,
25
+ M as SFCRender_Input,
26
+ v as SFCRender_Number,
27
+ D as SFCRender_Select,
28
+ y as SFCRender_Table,
29
+ I as SFCRender_Text,
30
+ P as SFCRender_Textarea,
31
+ p as SFCVueBoundaryRegistryKey,
32
+ A as SFCVueRuntimeBridge,
33
+ B as SFC_Renderer,
34
+ h as SFC_RuntimeRenderer,
36
35
  N as SFC_VUE_RENDER_ADAPTER_REQUIRED_KEYS,
37
- O as closeEndgeContextMenu,
38
- L as createInitialTableVisibility,
36
+ k as closeEndgeContextMenu,
37
+ O as createInitialTableVisibility,
39
38
  U as createSFCBaseAttrs,
40
- z as createSFCTableColumnStyleSurfaces,
41
- j as createSFCTableStyleContract,
42
- w as createSFCVueBoundaryRegistry,
43
- G as createSFCVueRenderContext,
44
- K as decorateSFCTableRows,
45
- k as endgeContextMenuState,
46
- Q as evaluateSFCBinding,
47
- W as evaluateSFCExpression,
48
- Y as evaluateSFCProps,
49
- q as evaluateSFCValue,
50
- H as executeEndgeContextMenuItem,
51
- J as extendSFCVueRenderContext,
52
- X as extendSFCVueStyleContext,
53
- Z as filterVisibleTableColumns,
54
- $ as getEndgeDOMStyleClasses,
55
- ee as getExecutableContextMenuItems,
56
- ae as getSFCTableCellStyleSurfaces,
57
- se as isTruthySFCValue,
58
- te as materializeEndgeCSSForDOM,
59
- ne as normalizeSFCTableCellAlignment,
60
- re as openEndgeContextMenu,
61
- Ce as readSFCObjectPath,
62
- Se as readSFCPath,
63
- de as renderSFCNode,
64
- be as renderSFCNodes,
65
- Fe as resolveEndgeContextMenuItemLabel,
66
- le as resolveSFCConditionState,
67
- ue as resolveSFCTableMenu,
68
- oe as syncSFCTableDOMSurfaces,
69
- ie as toRevoGridSurfaceProps,
70
- Re as useCurrentEnvironment,
71
- _e as useCurrentLocale,
72
- Ee as useCurrentProjectFilter,
73
- ge as useCurrentTheme,
74
- ce as useDomainStore,
75
- xe as useUI
39
+ z as createSFCTableColumnMarkers,
40
+ f as createSFCTableMarkers,
41
+ j as createSFCVueBoundaryRegistry,
42
+ w as createSFCVueRenderContext,
43
+ G as endgeContextMenuState,
44
+ K as evaluateSFCBinding,
45
+ L as evaluateSFCExpression,
46
+ Q as evaluateSFCProps,
47
+ Y as evaluateSFCValue,
48
+ q as executeEndgeContextMenuItem,
49
+ H as extendSFCVueRenderContext,
50
+ J as extendSFCVueStyleContext,
51
+ W as filterVisibleTableColumns,
52
+ X as getExecutableContextMenuItems,
53
+ Z as isTruthySFCValue,
54
+ $ as materializeEndgeCSSForDOM,
55
+ ee as normalizeSFCTableCellAlignment,
56
+ ae as normalizeSFCTableRows,
57
+ se as openEndgeContextMenu,
58
+ ne as readSFCObjectPath,
59
+ re as readSFCPath,
60
+ te as renderSFCNode,
61
+ Ce as renderSFCNodes,
62
+ de as resolveEndgeContextMenuItemLabel,
63
+ Se as resolveSFCConditionState,
64
+ be as resolveSFCTableMenu,
65
+ Fe as syncSFCTableDOMMarkers,
66
+ ue as toRevoGridMarkerProps,
67
+ oe as useCurrentEnvironment,
68
+ le as useCurrentLocale,
69
+ ie as useCurrentProjectFilter,
70
+ Re as useCurrentTheme,
71
+ _e as useDomainStore,
72
+ Ee as useUI
76
73
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@endge/ui-vue",
3
3
  "private": false,
4
- "version": "0.23.6",
4
+ "version": "0.23.7",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./dist/vue.js",
@@ -38,9 +38,9 @@
38
38
  "uuid": "^11.1.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@endge/core": "^1.2.10",
41
+ "@endge/core": "^1.2.11",
42
42
  "@endge/utils": "^0.24.6",
43
- "@endge/raph": "^3.0.4",
43
+ "@endge/raph": "^3.0.5",
44
44
  "@primevue/themes": "^4.0.0-rc.1",
45
45
  "class-transformer": "^0.5.1",
46
46
  "class-validator": "^0.14.1",
@@ -53,7 +53,7 @@
53
53
  "devDependencies": {
54
54
  "@typescript-eslint/eslint-plugin": "^8.7.0",
55
55
  "@typescript-eslint/parser": "^8.7.0",
56
- "@endge/core": "^1.2.10",
56
+ "@endge/core": "^1.2.11",
57
57
  "@endge/utils": "^0.24.6",
58
58
  "@types/lodash": "^4.14.202",
59
59
  "@vitejs/plugin-vue": "^6.0.7",