@endge/ui-vue 0.23.5 → 0.23.6

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/main.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './store/domain';
8
8
  export { default as EndgeShell } from './ui/layout/EndgeShell.vue';
9
9
  export { default as EndgePage } from './ui/render/entities/EndgePage.vue';
10
10
  export { default as EndgeContextMenuRoot } from './ui/overlay/EndgeContextMenuRoot.vue';
11
+ export { resolveSFCTableMenu } from './ui/render/sfc/SFCRender_TableMenu';
11
12
  export * from './ui/overlay/context-menu-manager';
12
13
  export * from './domain/types/sfc-render.type';
13
14
  export * from './domain/types/filter-renderer.type';
@@ -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-Bwbn4pG4.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-C7JINS7-.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-Bwbn4pG4.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-C7JINS7-.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-zWSQNkJO.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";
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-CxoX8ve_.js";
5
+ import { L as ne, a as re, g as le, t as ae } from "./throttle-CaUDyxyU-bedWy7Og.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-Bwbn4pG4.js";
2
- import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-zWSQNkJO.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-C7JINS7-.js";
2
+ import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-DHUAt6CP.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-Bwbn4pG4.js";
2
- import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-CxoX8ve_.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-C7JINS7-.js";
2
+ import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-bedWy7Og.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-Bwbn4pG4.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-C7JINS7-.js";
2
2
  /*!
3
3
  * Built by Revolist OU ❤️
4
4
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -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-Bwbn4pG4.js";
2
+ import { as as g, l as d } from "./main-C7JINS7-.js";
3
3
  /*!
4
4
  * Built by Revolist OU ❤️
5
5
  */
@@ -1,18 +1,17 @@
1
- import { EndgeEnvId, EndgeProjectId } from '@endge/core';
2
- interface Props {
3
- project: EndgeProjectId;
4
- env: EndgeEnvId;
5
- }
6
1
  declare function __VLS_template(): {
7
2
  attrs: Partial<{}>;
8
3
  slots: {
4
+ spinner?(_: {}): any;
5
+ error?(_: {
6
+ error: unknown;
7
+ }): any;
9
8
  default?(_: {}): any;
10
9
  };
11
10
  refs: {};
12
11
  rootEl: any;
13
12
  };
14
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
16
  export default _default;
18
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -521,7 +521,6 @@ declare function __VLS_template(): {
521
521
  url: string;
522
522
  authMode?: import('@endge/core').EndgeSSEAuthMode | undefined;
523
523
  authProfileIdentity?: string | null | undefined;
524
- manualToken?: string | null | undefined;
525
524
  };
526
525
  } | undefined;
527
526
  locales?: {
@@ -740,7 +739,6 @@ declare function __VLS_template(): {
740
739
  url: string;
741
740
  authMode?: import('@endge/core').EndgeSSEAuthMode | undefined;
742
741
  authProfileIdentity?: string | null | undefined;
743
- manualToken?: string | null | undefined;
744
742
  } | undefined;
745
743
  locales: {
746
744
  code: string;
@@ -1421,12 +1419,12 @@ declare function __VLS_template(): {
1421
1419
  startedAt: string | null;
1422
1420
  updatedAt: string | null;
1423
1421
  } | {
1424
- lastRefreshAt: string | null;
1422
+ lastRenderAt: string | null;
1425
1423
  status: "idle" | "running" | "success" | "error";
1426
1424
  startedAt: string | null;
1427
1425
  updatedAt: string | null;
1428
1426
  } | {
1429
- lastRenderAt: string | null;
1427
+ lastRefreshAt: string | null;
1430
1428
  status: "idle" | "running" | "success" | "error";
1431
1429
  startedAt: string | null;
1432
1430
  updatedAt: string | null;
@@ -0,0 +1,3 @@
1
+ import { SFCVueRenderAdapterKey, SFCVueRenderFunction } from '../../../domain/types/sfc-render.type';
2
+ /** Resolves one renderer from the active Vue adapter without coupling structural renderers to it. */
3
+ export declare function requireSFCAdapterRenderer(tag: SFCVueRenderAdapterKey): SFCVueRenderFunction;
@@ -1,7 +1,7 @@
1
1
  import { ComponentSFCEventBoundary, ComponentSFCRuntimeHost, EndgeStyleMatchNode, EndgeStyleSheetArtifact, ProgramMetadata, RComponentSFC_IR, SFCRenderInspectionSessionLike } from '@endge/core';
2
2
  import { SFCVueRenderContext, SFCVueRenderIteration } from '../../../domain/types/sfc-render.type';
3
3
  /** Создает root context для одного render pass SFC renderer adapter. */
4
- export declare function createSFCVueRenderContext(props: Record<string, unknown> | undefined, renderVersion?: number, host?: ComponentSFCRuntimeHost | null, ir?: RComponentSFC_IR | null, componentStack?: readonly string[], consumerScope?: string, inheritedStyleArtifacts?: readonly EndgeStyleSheetArtifact[], inheritedEventBoundary?: ComponentSFCEventBoundary | null, inspection?: SFCRenderInspectionSessionLike | null, metadata?: ProgramMetadata | null): SFCVueRenderContext;
4
+ export declare function createSFCVueRenderContext(props: Record<string, unknown> | undefined, renderVersion?: number, host?: ComponentSFCRuntimeHost | null, ir?: RComponentSFC_IR | null, componentStack?: readonly string[], consumerScope?: string, inheritedStyleArtifacts?: readonly EndgeStyleSheetArtifact[], inheritedEventBoundary?: ComponentSFCEventBoundary | null, inspection?: SFCRenderInspectionSessionLike | null, metadata?: ProgramMetadata | null, variant?: string): SFCVueRenderContext;
5
5
  /** Создает дочерний context с дополнительными локальными значениями. */
6
6
  export declare function extendSFCVueRenderContext(context: SFCVueRenderContext, locals: Record<string, unknown>, iteration?: SFCVueRenderIteration | null, consumerScope?: string): SFCVueRenderContext;
7
7
  /** Creates a logical child frame without carrying physical Vue wrappers into selector semantics. */
@@ -0,0 +1,15 @@
1
+ import { ComponentSFCEditedEventPayload, RComponentSFC_IR_ElementNode } from '@endge/core';
2
+ import { SFCVueRenderContext, SFCVueRenderElementInput, SFCVueRenderResult } from '../../../domain/types/sfc-render.type';
3
+ /** Stable host-owned key shared by display, edit and virtualized Table renders. */
4
+ export declare function editableConsumerKey(node: RComponentSFC_IR_ElementNode, context: SFCVueRenderContext): string;
5
+ /** Returns true while this exact consumer owns the runtime's single edit session. */
6
+ export declare function isSFCEditableActive(node: RComponentSFC_IR_ElementNode, context: SFCVueRenderContext): boolean;
7
+ /** Adds entry/cancel/commit listeners without replacing authored semantic handlers. */
8
+ export declare function attachSFCEditableAttrs(attrs: Record<string, unknown>, node: RComponentSFC_IR_ElementNode, props: Record<string, unknown>, context: SFCVueRenderContext): void;
9
+ /** Renders built-in editors for the three primitive shortcuts. */
10
+ export declare function renderSFCEditablePrimitive(input: SFCVueRenderElementInput & {
11
+ props: Record<string, unknown>;
12
+ attrs: Record<string, unknown>;
13
+ }): SFCVueRenderResult | undefined;
14
+ /** Commits an editable child event and returns the normalized payload for parent routing. */
15
+ export declare function commitSFCEditableChild(node: RComponentSFC_IR_ElementNode, context: SFCVueRenderContext, payload: unknown): ComponentSFCEditedEventPayload | null;
@@ -0,0 +1,4 @@
1
+ import { ComponentSFCTableMenuDescriptor, ContextMenuDescriptor } from '@endge/core';
2
+ import { SFCVueRenderContext } from '../../../domain/types/sfc-render.type';
3
+ /** Materializes a compiled SFC menu only when its concrete row/column context exists. */
4
+ export declare function resolveSFCTableMenu(descriptor: ComponentSFCTableMenuDescriptor | null, context: SFCVueRenderContext): ContextMenuDescriptor | null;
package/dist/vue.css CHANGED
@@ -1 +1 @@
1
- revo-grid *{color:var(--color-text)}.endge-sfc-input,.endge-sfc-select,.endge-sfc-textarea{background-color:var(--background, #fff);border:1px solid var(--border, #d4d4d8);border-radius:.5rem;box-sizing:border-box;color:var(--foreground, #18181b);font:inherit;min-width:0;outline:none;transition:border-color .12s ease,box-shadow .12s ease,opacity .12s ease;width:100%}.endge-sfc-input,.endge-sfc-select{height:2.5rem}.endge-sfc-input{padding:0 .75rem}.endge-sfc-textarea{min-height:5rem;padding:.625rem .75rem;resize:vertical}.endge-sfc-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 1rem) calc(50% - .125rem),calc(100% - .75rem) calc(50% - .125rem);background-repeat:no-repeat;background-size:.3rem .3rem;cursor:pointer;display:block;line-height:1.25rem;padding:0 2.5rem 0 .75rem}.endge-sfc-input:focus-visible,.endge-sfc-select:focus-visible,.endge-sfc-textarea:focus-visible{border-color:var(--ring, #71717a);box-shadow:0 0 0 3px color-mix(in srgb,var(--ring, #71717a) 18%,transparent)}.endge-sfc-input:disabled,.endge-sfc-select:disabled,.endge-sfc-textarea:disabled{cursor:not-allowed;opacity:.55}.endge-sfc-checkbox-field{align-items:center;cursor:pointer;display:inline-flex;gap:.5rem;min-height:2.5rem}.endge-sfc-checkbox{accent-color:var(--primary, #18181b);height:1rem;margin:0;width:1rem}.endge-sfc-checkbox-field:has(.endge-sfc-checkbox:disabled){cursor:not-allowed;opacity:.55}.endge-filter-field[data-v-177eef34]{display:grid;flex:0 1 16rem;gap:.35rem;min-width:12rem}.endge-filter-field__label[data-v-177eef34]{color:var(--muted-foreground, #64748b);font-size:.75rem}.endge-filter-field__error[data-v-177eef34]{color:var(--destructive, #ef4444)}.endge-filter-field[data-loading][data-v-177eef34]{opacity:.72}.endge-filter-renderer[data-v-b1124069]{align-items:end;display:flex;flex-wrap:wrap;gap:.75rem;min-width:0}.endge-filter-renderer__unsupported[data-v-b1124069]{color:var(--muted-foreground, #64748b);font-size:.875rem}.endge-native-multiselect[data-v-e3e2384f]{display:inline-grid;min-width:12rem;position:relative;width:100%}.endge-native-multiselect__trigger[data-v-e3e2384f]{align-items:center;background:var(--background, #fff);border:1px solid var(--border, #d4d4d8);border-radius:.5rem;color:var(--foreground, #18181b);cursor:pointer;display:flex;font:inherit;gap:.5rem;height:2.5rem;justify-content:space-between;min-width:0;outline:none;padding:0 .75rem;text-align:left;width:100%}.endge-native-multiselect__trigger[data-v-e3e2384f]:focus-visible,.endge-native-multiselect[data-open] .endge-native-multiselect__trigger[data-v-e3e2384f]{border-color:var(--ring, var(--primary, #18181b));box-shadow:0 0 0 3px color-mix(in srgb,var(--ring, var(--primary, #18181b)) 18%,transparent)}.endge-native-multiselect__trigger[data-v-e3e2384f]:disabled{cursor:not-allowed;opacity:.55}.endge-native-multiselect__value[data-v-e3e2384f]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endge-native-multiselect__value[data-placeholder][data-v-e3e2384f]{color:var(--muted-foreground, #71717a)}.endge-native-multiselect__count[data-v-e3e2384f]{align-items:center;background:var(--muted, #f4f4f5);border:1px solid var(--border, #e4e4e7);border-radius:999px;color:var(--foreground, #18181b);display:inline-flex;flex:none;font-size:.6875rem;font-variant-numeric:tabular-nums;font-weight:600;height:1.25rem;justify-content:center;min-width:1.25rem;padding:0 .3rem}.endge-native-multiselect__chevron[data-v-e3e2384f]{border-bottom:1.5px solid var(--muted-foreground, #71717a);border-right:1.5px solid var(--muted-foreground, #71717a);flex:none;height:.4rem;margin:-.2rem .1rem 0 .25rem;transform:rotate(45deg);transition:transform .14s ease,margin .14s ease;width:.4rem}.endge-native-multiselect[data-open] .endge-native-multiselect__chevron[data-v-e3e2384f]{margin-top:.2rem;transform:rotate(225deg)}.endge-native-multiselect__content[data-v-e3e2384f]{animation:endge-native-multiselect-in-e3e2384f .12s ease-out;background:var(--popover, var(--background, #fff));border:1px solid var(--border, #e4e4e7);border-radius:.5rem;box-shadow:0 12px 32px color-mix(in srgb,var(--foreground, #18181b) 14%,transparent);color:var(--popover-foreground, var(--foreground, #18181b));display:grid;gap:.125rem;left:0;margin-top:.375rem;max-height:15rem;min-width:100%;overflow-y:auto;padding:.25rem;position:absolute;top:100%;z-index:50}.endge-native-multiselect__option[data-v-e3e2384f]{align-items:center;background:transparent;border:0;border-radius:.375rem;color:inherit;cursor:pointer;display:flex;font:inherit;font-size:.875rem;gap:.625rem;line-height:1.25rem;min-height:2.25rem;outline:none;padding:.45rem .55rem;text-align:left;width:100%}.endge-native-multiselect__option[data-v-e3e2384f]:hover,.endge-native-multiselect__option[data-v-e3e2384f]:focus-visible{background:var(--accent, var(--muted, #f4f4f5));color:var(--accent-foreground, var(--foreground, #18181b))}.endge-native-multiselect__option[aria-disabled=true][data-v-e3e2384f]{cursor:default}.endge-native-multiselect__check[data-v-e3e2384f]{align-items:center;border:1px solid var(--input, var(--border, #d4d4d8));border-radius:.25rem;display:inline-flex;flex:none;height:1rem;justify-content:center;width:1rem}.endge-native-multiselect__option[aria-selected=true] .endge-native-multiselect__check[data-v-e3e2384f]{background:var(--primary, #18181b);border-color:var(--primary, #18181b)}.endge-native-multiselect__option[aria-selected=true] .endge-native-multiselect__check[data-v-e3e2384f]:after{border-color:var(--primary-foreground, #fff);border-style:solid;border-width:0 1.5px 1.5px 0;content:"";height:.48rem;margin-top:-.1rem;transform:rotate(45deg);width:.24rem}.endge-native-multiselect__option-label[data-v-e3e2384f]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endge-native-multiselect__empty[data-v-e3e2384f]{color:var(--muted-foreground, #71717a);font-size:.8125rem;padding:.75rem;text-align:center}.endge-native-multiselect__native[data-v-e3e2384f]{height:1px;opacity:0;overflow:hidden;pointer-events:none;position:absolute;width:1px}@keyframes endge-native-multiselect-in-e3e2384f{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}.endge-native-table-pagination[data-v-0088f794]{align-items:center;background:var(--background, #fff);color:var(--foreground, #18181b);display:flex;flex:none;justify-content:flex-end;min-height:3.25rem;padding:.5rem .45rem 0}.endge-native-table-pagination__controls[data-v-0088f794],.endge-native-table-pagination__page-size[data-v-0088f794],.endge-native-table-pagination__buttons[data-v-0088f794]{align-items:center;display:flex}.endge-native-table-pagination__controls[data-v-0088f794]{gap:2rem}.endge-native-table-pagination__page-size[data-v-0088f794]{font-size:.8125rem;font-weight:580;gap:.6rem;white-space:nowrap}.endge-native-table-pagination__select[data-v-0088f794]{display:inline-grid;position:relative}.endge-native-table-pagination__select[data-v-0088f794]:after{border-bottom:1.5px solid var(--muted-foreground, #71717a);border-right:1.5px solid var(--muted-foreground, #71717a);content:"";height:.36rem;pointer-events:none;position:absolute;right:.8rem;top:50%;transform:translateY(-70%) rotate(45deg);width:.36rem}.endge-native-table-pagination select[data-v-0088f794]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--background, #fff);border:1px solid var(--border, #e4e4e7);border-radius:.5rem;color:inherit;cursor:pointer;font:inherit;font-variant-numeric:tabular-nums;height:2.25rem;min-width:4.7rem;outline:none;padding:0 2.1rem 0 .75rem}.endge-native-table-pagination__label[data-v-0088f794]{font-size:.8125rem;font-variant-numeric:tabular-nums;font-weight:580;min-width:5.75rem;text-align:center;white-space:nowrap}.endge-native-table-pagination__buttons[data-v-0088f794]{border:1px solid var(--border, #e4e4e7);border-radius:.5rem;overflow:hidden}.endge-native-table-pagination button[data-v-0088f794]{align-items:center;background:var(--background, #fff);border:0;color:inherit;cursor:pointer;display:inline-flex;height:2.25rem;justify-content:center;outline:none;padding:0;width:2.25rem}.endge-native-table-pagination button+button[data-v-0088f794]{border-left:1px solid var(--border, #e4e4e7)}.endge-native-table-pagination button[data-v-0088f794]:not(:disabled):hover{background:var(--accent, #f4f4f5)}.endge-native-table-pagination button[data-v-0088f794]:disabled{color:var(--muted-foreground, #71717a);cursor:not-allowed;opacity:.48}.endge-native-table-pagination button[data-v-0088f794]:focus-visible,.endge-native-table-pagination select[data-v-0088f794]:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--ring, #a1a1aa) 24%,transparent);position:relative;z-index:2}.endge-native-table-pagination svg[data-v-0088f794]{fill:none;height:1rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:1rem}@container (max-width: 620px){.endge-native-table-pagination__controls[data-v-0088f794]{gap:.75rem}.endge-native-table-pagination__page-size>span[data-v-0088f794]:first-child{display:none}}.endge-context-menu-root[data-v-be5c1192]{position:fixed;z-index:10050;min-width:210px;max-width:320px;padding:4px;border:1px solid rgba(15,23,42,.12);border-radius:6px;background:#fff;color:#111827;box-shadow:0 18px 45px #0f172a24,0 4px 12px #0f172a14;font-size:13px;line-height:1.35}.endge-context-menu-root__item[data-v-be5c1192]{display:flex;width:100%;min-height:30px;align-items:center;gap:8px;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:6px 8px;text-align:left}.endge-context-menu-root__item[data-v-be5c1192]:hover,.endge-context-menu-root__item[data-v-be5c1192]:focus-visible{background:#0f172a12;outline:none}.endge-context-menu-root__icon[data-v-be5c1192]{width:16px;flex:0 0 16px;opacity:.72;text-align:center}.endge-context-menu-root__label[data-v-be5c1192]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endge-context-menu-root__separator[data-v-be5c1192]{height:1px;margin:4px 2px;background:#0f172a1a}.endge-page[data-v-6daa46d7]{display:contents}
1
+ revo-grid *{color:var(--color-text)}.endge-sfc-input,.endge-sfc-select,.endge-sfc-textarea{background-color:var(--background, #fff);border:1px solid var(--border, #d4d4d8);border-radius:.5rem;box-sizing:border-box;color:var(--foreground, #18181b);font:inherit;min-width:0;outline:none;transition:border-color .12s ease,box-shadow .12s ease,opacity .12s ease;width:100%}.endge-sfc-input,.endge-sfc-select{height:2.5rem}.endge-sfc-input{padding:0 .75rem}.endge-sfc-textarea{min-height:5rem;padding:.625rem .75rem;resize:vertical}.endge-sfc-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 1rem) calc(50% - .125rem),calc(100% - .75rem) calc(50% - .125rem);background-repeat:no-repeat;background-size:.3rem .3rem;cursor:pointer;display:block;line-height:1.25rem;padding:0 2.5rem 0 .75rem}.endge-sfc-input:focus-visible,.endge-sfc-select:focus-visible,.endge-sfc-textarea:focus-visible{border-color:var(--ring, #71717a);box-shadow:0 0 0 3px color-mix(in srgb,var(--ring, #71717a) 18%,transparent)}.endge-sfc-input:disabled,.endge-sfc-select:disabled,.endge-sfc-textarea:disabled{cursor:not-allowed;opacity:.55}.endge-sfc-checkbox-field{align-items:center;cursor:pointer;display:inline-flex;gap:.5rem;min-height:2.5rem}.endge-sfc-checkbox{accent-color:var(--primary, #18181b);height:1rem;margin:0;width:1rem}.endge-sfc-checkbox-field:has(.endge-sfc-checkbox:disabled){cursor:not-allowed;opacity:.55}.endge-filter-field[data-v-177eef34]{display:grid;flex:0 1 16rem;gap:.35rem;min-width:12rem}.endge-filter-field__label[data-v-177eef34]{color:var(--muted-foreground, #64748b);font-size:.75rem}.endge-filter-field__error[data-v-177eef34]{color:var(--destructive, #ef4444)}.endge-filter-field[data-loading][data-v-177eef34]{opacity:.72}.endge-filter-renderer[data-v-b1124069]{align-items:end;display:flex;flex-wrap:wrap;gap:.75rem;min-width:0}.endge-filter-renderer__unsupported[data-v-b1124069]{color:var(--muted-foreground, #64748b);font-size:.875rem}.endge-native-multiselect[data-v-e3e2384f]{display:inline-grid;min-width:12rem;position:relative;width:100%}.endge-native-multiselect__trigger[data-v-e3e2384f]{align-items:center;background:var(--background, #fff);border:1px solid var(--border, #d4d4d8);border-radius:.5rem;color:var(--foreground, #18181b);cursor:pointer;display:flex;font:inherit;gap:.5rem;height:2.5rem;justify-content:space-between;min-width:0;outline:none;padding:0 .75rem;text-align:left;width:100%}.endge-native-multiselect__trigger[data-v-e3e2384f]:focus-visible,.endge-native-multiselect[data-open] .endge-native-multiselect__trigger[data-v-e3e2384f]{border-color:var(--ring, var(--primary, #18181b));box-shadow:0 0 0 3px color-mix(in srgb,var(--ring, var(--primary, #18181b)) 18%,transparent)}.endge-native-multiselect__trigger[data-v-e3e2384f]:disabled{cursor:not-allowed;opacity:.55}.endge-native-multiselect__value[data-v-e3e2384f]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endge-native-multiselect__value[data-placeholder][data-v-e3e2384f]{color:var(--muted-foreground, #71717a)}.endge-native-multiselect__count[data-v-e3e2384f]{align-items:center;background:var(--muted, #f4f4f5);border:1px solid var(--border, #e4e4e7);border-radius:999px;color:var(--foreground, #18181b);display:inline-flex;flex:none;font-size:.6875rem;font-variant-numeric:tabular-nums;font-weight:600;height:1.25rem;justify-content:center;min-width:1.25rem;padding:0 .3rem}.endge-native-multiselect__chevron[data-v-e3e2384f]{border-bottom:1.5px solid var(--muted-foreground, #71717a);border-right:1.5px solid var(--muted-foreground, #71717a);flex:none;height:.4rem;margin:-.2rem .1rem 0 .25rem;transform:rotate(45deg);transition:transform .14s ease,margin .14s ease;width:.4rem}.endge-native-multiselect[data-open] .endge-native-multiselect__chevron[data-v-e3e2384f]{margin-top:.2rem;transform:rotate(225deg)}.endge-native-multiselect__content[data-v-e3e2384f]{animation:endge-native-multiselect-in-e3e2384f .12s ease-out;background:var(--popover, var(--background, #fff));border:1px solid var(--border, #e4e4e7);border-radius:.5rem;box-shadow:0 12px 32px color-mix(in srgb,var(--foreground, #18181b) 14%,transparent);color:var(--popover-foreground, var(--foreground, #18181b));display:grid;gap:.125rem;left:0;margin-top:.375rem;max-height:15rem;min-width:100%;overflow-y:auto;padding:.25rem;position:absolute;top:100%;z-index:50}.endge-native-multiselect__option[data-v-e3e2384f]{align-items:center;background:transparent;border:0;border-radius:.375rem;color:inherit;cursor:pointer;display:flex;font:inherit;font-size:.875rem;gap:.625rem;line-height:1.25rem;min-height:2.25rem;outline:none;padding:.45rem .55rem;text-align:left;width:100%}.endge-native-multiselect__option[data-v-e3e2384f]:hover,.endge-native-multiselect__option[data-v-e3e2384f]:focus-visible{background:var(--accent, var(--muted, #f4f4f5));color:var(--accent-foreground, var(--foreground, #18181b))}.endge-native-multiselect__option[aria-disabled=true][data-v-e3e2384f]{cursor:default}.endge-native-multiselect__check[data-v-e3e2384f]{align-items:center;border:1px solid var(--input, var(--border, #d4d4d8));border-radius:.25rem;display:inline-flex;flex:none;height:1rem;justify-content:center;width:1rem}.endge-native-multiselect__option[aria-selected=true] .endge-native-multiselect__check[data-v-e3e2384f]{background:var(--primary, #18181b);border-color:var(--primary, #18181b)}.endge-native-multiselect__option[aria-selected=true] .endge-native-multiselect__check[data-v-e3e2384f]:after{border-color:var(--primary-foreground, #fff);border-style:solid;border-width:0 1.5px 1.5px 0;content:"";height:.48rem;margin-top:-.1rem;transform:rotate(45deg);width:.24rem}.endge-native-multiselect__option-label[data-v-e3e2384f]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endge-native-multiselect__empty[data-v-e3e2384f]{color:var(--muted-foreground, #71717a);font-size:.8125rem;padding:.75rem;text-align:center}.endge-native-multiselect__native[data-v-e3e2384f]{height:1px;opacity:0;overflow:hidden;pointer-events:none;position:absolute;width:1px}@keyframes endge-native-multiselect-in-e3e2384f{0%{opacity:0;transform:translateY(-.25rem)}to{opacity:1;transform:translateY(0)}}.endge-native-table-pagination[data-v-0088f794]{align-items:center;background:var(--background, #fff);color:var(--foreground, #18181b);display:flex;flex:none;justify-content:flex-end;min-height:3.25rem;padding:.5rem .45rem 0}.endge-native-table-pagination__controls[data-v-0088f794],.endge-native-table-pagination__page-size[data-v-0088f794],.endge-native-table-pagination__buttons[data-v-0088f794]{align-items:center;display:flex}.endge-native-table-pagination__controls[data-v-0088f794]{gap:2rem}.endge-native-table-pagination__page-size[data-v-0088f794]{font-size:.8125rem;font-weight:580;gap:.6rem;white-space:nowrap}.endge-native-table-pagination__select[data-v-0088f794]{display:inline-grid;position:relative}.endge-native-table-pagination__select[data-v-0088f794]:after{border-bottom:1.5px solid var(--muted-foreground, #71717a);border-right:1.5px solid var(--muted-foreground, #71717a);content:"";height:.36rem;pointer-events:none;position:absolute;right:.8rem;top:50%;transform:translateY(-70%) rotate(45deg);width:.36rem}.endge-native-table-pagination select[data-v-0088f794]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--background, #fff);border:1px solid var(--border, #e4e4e7);border-radius:.5rem;color:inherit;cursor:pointer;font:inherit;font-variant-numeric:tabular-nums;height:2.25rem;min-width:4.7rem;outline:none;padding:0 2.1rem 0 .75rem}.endge-native-table-pagination__label[data-v-0088f794]{font-size:.8125rem;font-variant-numeric:tabular-nums;font-weight:580;min-width:5.75rem;text-align:center;white-space:nowrap}.endge-native-table-pagination__buttons[data-v-0088f794]{border:1px solid var(--border, #e4e4e7);border-radius:.5rem;overflow:hidden}.endge-native-table-pagination button[data-v-0088f794]{align-items:center;background:var(--background, #fff);border:0;color:inherit;cursor:pointer;display:inline-flex;height:2.25rem;justify-content:center;outline:none;padding:0;width:2.25rem}.endge-native-table-pagination button+button[data-v-0088f794]{border-left:1px solid var(--border, #e4e4e7)}.endge-native-table-pagination button[data-v-0088f794]:not(:disabled):hover{background:var(--accent, #f4f4f5)}.endge-native-table-pagination button[data-v-0088f794]:disabled{color:var(--muted-foreground, #71717a);cursor:not-allowed;opacity:.48}.endge-native-table-pagination button[data-v-0088f794]:focus-visible,.endge-native-table-pagination select[data-v-0088f794]:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--ring, #a1a1aa) 24%,transparent);position:relative;z-index:2}.endge-native-table-pagination svg[data-v-0088f794]{fill:none;height:1rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:1rem}@container (max-width: 620px){.endge-native-table-pagination__controls[data-v-0088f794]{gap:.75rem}.endge-native-table-pagination__page-size>span[data-v-0088f794]:first-child{display:none}}.endge-context-menu-root[data-v-a254f2dd]{position:fixed;z-index:10050;min-width:188px;max-width:min(320px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow-y:auto;padding:5px;border:1px solid hsl(var(--border, 214 32% 91%));border-radius:8px;background:hsl(var(--popover, 0 0% 100%));color:hsl(var(--popover-foreground, var(--foreground, 222 47% 11%)));box-shadow:0 18px 48px #00000029,0 3px 10px #00000014;font-size:13px;line-height:1.35;animation:endge-menu-in-a254f2dd .12s cubic-bezier(.16,1,.3,1)}.endge-context-menu-root__item[data-v-a254f2dd]{display:flex;width:100%;min-height:32px;align-items:center;gap:8px;border:0;border-radius:5px;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:6px 9px;text-align:left}.endge-context-menu-root__item[data-v-a254f2dd]:hover,.endge-context-menu-root__item[data-v-a254f2dd]:focus-visible{background:hsl(var(--accent, 210 40% 96%));color:hsl(var(--accent-foreground, var(--foreground, 222 47% 11%)));outline:2px solid hsl(var(--ring, 215 20% 65%) / .65);outline-offset:-2px}.endge-context-menu-root__item[data-v-a254f2dd]:disabled{cursor:wait;opacity:.58}.endge-context-menu-root__icon[data-v-a254f2dd]{width:16px;flex:0 0 16px;opacity:.72;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.endge-context-menu-root__label[data-v-a254f2dd]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endge-context-menu-root__separator[data-v-a254f2dd]{height:1px;margin:4px 2px;background:hsl(var(--border, 214 32% 91%))}@keyframes endge-menu-in-a254f2dd{0%{opacity:0;transform:translateY(-2px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.endge-context-menu-root[data-v-a254f2dd]{animation:none}}.endge-page[data-v-6daa46d7]{display:contents}
package/dist/vue.js CHANGED
@@ -1,4 +1,4 @@
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 u, aD as l, 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 m, aN as T, 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 ue, bt as le, bu as oe, bv as ie, bw as Re, bx as _e, by as Ee, bz as ge, bA as ce } from "./main-Bwbn4pG4.js";
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";
2
2
  export {
3
3
  s as EndgeContextMenuRoot,
4
4
  t as EndgeDOMStyleRuntime,
@@ -9,8 +9,8 @@ export {
9
9
  d as EndgeVue,
10
10
  b as EndgeVueModule,
11
11
  F as EndgeVuePlugin,
12
- u as NATIVE_VUE_SFC_ADAPTER_ID,
13
- l as NativeVueSFCAdapter,
12
+ l as NATIVE_VUE_SFC_ADAPTER_ID,
13
+ u as NativeVueSFCAdapter,
14
14
  o as SFCRender_Badge,
15
15
  i as SFCRender_Base,
16
16
  R as SFCRender_Box,
@@ -19,8 +19,8 @@ export {
19
19
  g as SFCRender_DateTime,
20
20
  c as SFCRender_Divider,
21
21
  x as SFCRender_Dot,
22
- m as SFCRender_Flex,
23
- T as SFCRender_Grid,
22
+ T as SFCRender_Flex,
23
+ m as SFCRender_Grid,
24
24
  V as SFCRender_Icon,
25
25
  y as SFCRender_Input,
26
26
  D as SFCRender_Number,
@@ -63,13 +63,14 @@ export {
63
63
  de as renderSFCNode,
64
64
  be as renderSFCNodes,
65
65
  Fe as resolveEndgeContextMenuItemLabel,
66
- ue as resolveSFCConditionState,
67
- le as syncSFCTableDOMSurfaces,
68
- oe as toRevoGridSurfaceProps,
69
- ie as useCurrentEnvironment,
70
- Re as useCurrentLocale,
71
- _e as useCurrentProjectFilter,
72
- Ee as useCurrentTheme,
73
- ge as useDomainStore,
74
- ce as useUI
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
75
76
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@endge/ui-vue",
3
3
  "private": false,
4
- "version": "0.23.5",
4
+ "version": "0.23.6",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./dist/vue.js",
@@ -17,6 +17,14 @@
17
17
  "files": [
18
18
  "dist"
19
19
  ],
20
+ "scripts": {
21
+ "clean": "rimraf dist tsconfig.tsbuildinfo",
22
+ "dev": "vite build --watch",
23
+ "build": "vite build",
24
+ "preview": "vite preview",
25
+ "test": "vitest",
26
+ "typecheck": "vue-tsc --noEmit"
27
+ },
20
28
  "dependencies": {
21
29
  "@babel/parser": "^7.29.7",
22
30
  "@revolist/vue3-datagrid": "^4.19.4",
@@ -30,8 +38,8 @@
30
38
  "uuid": "^11.1.0"
31
39
  },
32
40
  "peerDependencies": {
33
- "@endge/core": "^1.2.9",
34
- "@endge/utils": "^0.24.5",
41
+ "@endge/core": "^1.2.10",
42
+ "@endge/utils": "^0.24.6",
35
43
  "@endge/raph": "^3.0.4",
36
44
  "@primevue/themes": "^4.0.0-rc.1",
37
45
  "class-transformer": "^0.5.1",
@@ -45,8 +53,8 @@
45
53
  "devDependencies": {
46
54
  "@typescript-eslint/eslint-plugin": "^8.7.0",
47
55
  "@typescript-eslint/parser": "^8.7.0",
48
- "@endge/core": "^1.2.8",
49
- "@endge/utils": "^0.24.3",
56
+ "@endge/core": "^1.2.10",
57
+ "@endge/utils": "^0.24.6",
50
58
  "@types/lodash": "^4.14.202",
51
59
  "@vitejs/plugin-vue": "^6.0.7",
52
60
  "@vitejs/plugin-vue-jsx": "^5.1.6",
@@ -65,13 +73,5 @@
65
73
  "vue-tsc": "^2.2.0",
66
74
  "pinia": "^3.0.4",
67
75
  "vue": "^3.3.0"
68
- },
69
- "scripts": {
70
- "clean": "rimraf dist tsconfig.tsbuildinfo",
71
- "dev": "vite build --watch",
72
- "build": "vite build",
73
- "preview": "vite preview",
74
- "test": "vitest",
75
- "typecheck": "vue-tsc --noEmit"
76
76
  }
77
- }
77
+ }