@endge/ui-vue 0.23.10 → 0.23.12

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.
Files changed (24) hide show
  1. package/dist/domain/types/sfc-render.type.d.ts +8 -2
  2. package/dist/{edit.utils-Dnnbd0xG-CrxnqJTD.js → edit.utils-Dnnbd0xG-CoUMIQDj.js} +1 -1
  3. package/dist/{main-CQi-9qle.js → main-BTCQ2G8H.js} +6835 -6407
  4. package/dist/main.d.ts +3 -0
  5. package/dist/reactive/use-current-timezone.d.ts +5 -0
  6. package/dist/{revo-grid.entry-Dq37WvNC.js → revo-grid.entry-aQ9zteZh.js} +1 -1
  7. package/dist/{revogr-attribution_7.entry-B9cVeXDW.js → revogr-attribution_7.entry-CSnM-6xd.js} +3 -3
  8. package/dist/{revogr-clipboard_3.entry-ChjTBJf_.js → revogr-clipboard_3.entry-4Ih2CenG.js} +2 -2
  9. package/dist/{revogr-data_4.entry-BdF7wqMI.js → revogr-data_4.entry-kT7Xfwed.js} +2 -2
  10. package/dist/{revogr-filter-panel.entry-Dl_UFv6O.js → revogr-filter-panel.entry-BlboceTt.js} +1 -1
  11. package/dist/store/domain.d.ts +84 -84
  12. package/dist/test/overlay/tooltip-manager.test.d.ts +1 -0
  13. package/dist/{throttle-CaUDyxyU-Cojhn7Kx.js → throttle-CaUDyxyU-ClB_9v70.js} +1 -1
  14. package/dist/ui/layout/EndgeShell.vue.d.ts +6 -1
  15. package/dist/ui/overlay/tooltip/EndgeTooltipRoot.vue.d.ts +8 -0
  16. package/dist/ui/overlay/tooltip/endge-tooltip-manager.d.ts +57 -0
  17. package/dist/ui/render/entities/EndgePage.vue.d.ts +485 -1081
  18. package/dist/ui/render/sfc/SFCRender_Context.d.ts +2 -1
  19. package/dist/ui/render/sfc/SFCRender_DateTime.d.ts +2 -0
  20. package/dist/ui/render/sfc/SFCRender_Interaction.d.ts +2 -9
  21. package/dist/ui/render/sfc/SFCRender_Tooltip.d.ts +3 -0
  22. package/dist/vue.css +1 -1
  23. package/dist/vue.js +70 -64
  24. package/package.json +6 -6
package/dist/main.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './domain/core/endge-vue';
2
2
  export * from './reactive/use-current-environment';
3
3
  export * from './reactive/use-current-locale';
4
4
  export * from './reactive/use-current-theme';
5
+ export * from './reactive/use-current-timezone';
5
6
  export * from './reactive/use-current-project-filter';
6
7
  export * from './reactive/use-ui';
7
8
  export * from './store/domain';
@@ -10,6 +11,7 @@ export { default as EndgePage } from './ui/render/entities/EndgePage.vue';
10
11
  export { default as EndgeContextMenuRoot } from './ui/overlay/EndgeContextMenuRoot.vue';
11
12
  export { resolveSFCTableMenu } from './ui/render/sfc/SFCRender_TableMenu';
12
13
  export * from './ui/overlay/context-menu-manager';
14
+ export * from './ui/overlay/tooltip/endge-tooltip-manager';
13
15
  export * from './domain/types/sfc-render.type';
14
16
  export * from './domain/types/filter-renderer.type';
15
17
  export * from './ui/filter';
@@ -36,6 +38,7 @@ export * from './ui/render/sfc/SFCRender_TableAlignment';
36
38
  export * from './ui/render/sfc/SFCRender_TableStyle';
37
39
  export * from './ui/render/sfc/SFCRender_Text';
38
40
  export * from './ui/render/sfc/SFCRender_Textarea';
41
+ export * from './ui/render/sfc/SFCRender_Tooltip';
39
42
  export * from './model/render/sfc/SFCVueRuntimeBridge';
40
43
  export * from './model/render/sfc/native-vue-sfc-adapter';
41
44
  export * from './model/debug/vue-console';
@@ -0,0 +1,5 @@
1
+ /** Тонкий Vue-adapter для временной зоны, которой владеет EndgeContext. */
2
+ export declare function useCurrentTimezone(): {
3
+ current: import('vue').Ref<string, string>;
4
+ setCurrent: (timezone: string | null) => void;
5
+ };
@@ -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-CQi-9qle.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-BTCQ2G8H.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-CQi-9qle.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-BTCQ2G8H.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-CrxnqJTD.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-CoUMIQDj.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-Cojhn7Kx.js";
5
+ import { L as ne, a as re, g as le, t as ae } from "./throttle-CaUDyxyU-ClB_9v70.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-CQi-9qle.js";
2
- import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-CrxnqJTD.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-BTCQ2G8H.js";
2
+ import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-CoUMIQDj.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-CQi-9qle.js";
2
- import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-Cojhn7Kx.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-BTCQ2G8H.js";
2
+ import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-ClB_9v70.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-CQi-9qle.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-BTCQ2G8H.js";
2
2
  /*!
3
3
  * Built by Revolist OU ❤️
4
4
  */
@@ -1,91 +1,91 @@
1
1
  export declare const useDomainStore: import('pinia').StoreDefinition<"endge-domain-store", Pick<{
2
- domain: import('vue').Ref<import('@endge/utils').Subscribable, import('@endge/utils').Subscribable>;
3
- projects: import('vue').ComputedRef<any>;
4
- types: import('vue').ComputedRef<any>;
5
- typesPrimitives: import('vue').ComputedRef<any>;
6
- typesComplex: import('vue').ComputedRef<any>;
7
- typeCatalog: import('vue').ComputedRef<any>;
8
- queries: import('vue').ComputedRef<any>;
9
- components: import('vue').ComputedRef<any>;
10
- componentSFCs: import('vue').ComputedRef<any>;
11
- actions: import('vue').ComputedRef<any>;
12
- converters: import('vue').ComputedRef<any>;
13
- integrations: import('vue').ComputedRef<any>;
14
- pageTemplates: import('vue').ComputedRef<any>;
15
- pages: import('vue').ComputedRef<any>;
16
- navigations: import('vue').ComputedRef<any>;
17
- folders: import('vue').ComputedRef<any>;
2
+ domain: import('vue').Ref<import('@endge/core').EndgeDomain, import('@endge/core').EndgeDomain>;
3
+ projects: import('vue').ComputedRef<import('@endge/core/dist/domain/entities/reflect/RProject').RProject[]>;
4
+ types: import('vue').ComputedRef<import('@endge/core').RType[]>;
5
+ typesPrimitives: import('vue').ComputedRef<import('@endge/core').RType[]>;
6
+ typesComplex: import('vue').ComputedRef<import('@endge/core').RType[]>;
7
+ typeCatalog: import('vue').ComputedRef<import('@endge/core').TypeProgramCatalogEntry[]>;
8
+ queries: import('vue').ComputedRef<import('@endge/core').RQuery[]>;
9
+ components: import('vue').ComputedRef<import('@endge/core').RComponent[]>;
10
+ componentSFCs: import('vue').ComputedRef<import('@endge/core').RComponentSFC[]>;
11
+ actions: import('vue').ComputedRef<import('@endge/core').RAction[]>;
12
+ converters: import('vue').ComputedRef<import('@endge/core').RConverter[]>;
13
+ integrations: import('vue').ComputedRef<import('@endge/core').RIntegration[]>;
14
+ pageTemplates: import('vue').ComputedRef<import('@endge/core').RPageTemplate[]>;
15
+ pages: import('vue').ComputedRef<import('@endge/core').RPage[]>;
16
+ navigations: import('vue').ComputedRef<import('@endge/core').RNavigation[]>;
17
+ folders: import('vue').ComputedRef<import('@endge/core').RFolder[]>;
18
18
  queriesNames: import('vue').ComputedRef<string[]>;
19
- parameters: import('vue').ComputedRef<any>;
20
- filters: import('vue').ComputedRef<any>;
21
- compositions: import('vue').ComputedRef<any>;
22
- environments: import('vue').ComputedRef<any>;
23
- tenants: import('vue').ComputedRef<any>;
24
- policies: import('vue').ComputedRef<any>;
25
- styles: import('vue').ComputedRef<any>;
26
- vocabs: import('vue').ComputedRef<any>;
27
- i18nBundles: import('vue').ComputedRef<any>;
28
- mocks: import('vue').ComputedRef<any>;
29
- authProfiles: import('vue').ComputedRef<any>;
30
- events: import('vue').ComputedRef<any>;
19
+ parameters: import('vue').ComputedRef<import('@endge/core').RParameter[]>;
20
+ filters: import('vue').ComputedRef<import('@endge/core').RFilter[]>;
21
+ compositions: import('vue').ComputedRef<import('@endge/core').RComposition[]>;
22
+ environments: import('vue').ComputedRef<import('@endge/core').REnvironment[]>;
23
+ tenants: import('vue').ComputedRef<import('@endge/core').RTenant[]>;
24
+ policies: import('vue').ComputedRef<import('@endge/core').RPolicy[]>;
25
+ styles: import('vue').ComputedRef<import('@endge/core').RStyle[]>;
26
+ vocabs: import('vue').ComputedRef<import('@endge/core').RVocabs[]>;
27
+ i18nBundles: import('vue').ComputedRef<import('@endge/core').RI18nBundle[]>;
28
+ mocks: import('vue').ComputedRef<import('@endge/core').RMock[]>;
29
+ authProfiles: import('vue').ComputedRef<import('@endge/core').RAuthProfile[]>;
30
+ events: import('vue').ComputedRef<import('@endge/core').CachedEvent[]>;
31
31
  }, "domain">, Pick<{
32
- domain: import('vue').Ref<import('@endge/utils').Subscribable, import('@endge/utils').Subscribable>;
33
- projects: import('vue').ComputedRef<any>;
34
- types: import('vue').ComputedRef<any>;
35
- typesPrimitives: import('vue').ComputedRef<any>;
36
- typesComplex: import('vue').ComputedRef<any>;
37
- typeCatalog: import('vue').ComputedRef<any>;
38
- queries: import('vue').ComputedRef<any>;
39
- components: import('vue').ComputedRef<any>;
40
- componentSFCs: import('vue').ComputedRef<any>;
41
- actions: import('vue').ComputedRef<any>;
42
- converters: import('vue').ComputedRef<any>;
43
- integrations: import('vue').ComputedRef<any>;
44
- pageTemplates: import('vue').ComputedRef<any>;
45
- pages: import('vue').ComputedRef<any>;
46
- navigations: import('vue').ComputedRef<any>;
47
- folders: import('vue').ComputedRef<any>;
32
+ domain: import('vue').Ref<import('@endge/core').EndgeDomain, import('@endge/core').EndgeDomain>;
33
+ projects: import('vue').ComputedRef<import('@endge/core/dist/domain/entities/reflect/RProject').RProject[]>;
34
+ types: import('vue').ComputedRef<import('@endge/core').RType[]>;
35
+ typesPrimitives: import('vue').ComputedRef<import('@endge/core').RType[]>;
36
+ typesComplex: import('vue').ComputedRef<import('@endge/core').RType[]>;
37
+ typeCatalog: import('vue').ComputedRef<import('@endge/core').TypeProgramCatalogEntry[]>;
38
+ queries: import('vue').ComputedRef<import('@endge/core').RQuery[]>;
39
+ components: import('vue').ComputedRef<import('@endge/core').RComponent[]>;
40
+ componentSFCs: import('vue').ComputedRef<import('@endge/core').RComponentSFC[]>;
41
+ actions: import('vue').ComputedRef<import('@endge/core').RAction[]>;
42
+ converters: import('vue').ComputedRef<import('@endge/core').RConverter[]>;
43
+ integrations: import('vue').ComputedRef<import('@endge/core').RIntegration[]>;
44
+ pageTemplates: import('vue').ComputedRef<import('@endge/core').RPageTemplate[]>;
45
+ pages: import('vue').ComputedRef<import('@endge/core').RPage[]>;
46
+ navigations: import('vue').ComputedRef<import('@endge/core').RNavigation[]>;
47
+ folders: import('vue').ComputedRef<import('@endge/core').RFolder[]>;
48
48
  queriesNames: import('vue').ComputedRef<string[]>;
49
- parameters: import('vue').ComputedRef<any>;
50
- filters: import('vue').ComputedRef<any>;
51
- compositions: import('vue').ComputedRef<any>;
52
- environments: import('vue').ComputedRef<any>;
53
- tenants: import('vue').ComputedRef<any>;
54
- policies: import('vue').ComputedRef<any>;
55
- styles: import('vue').ComputedRef<any>;
56
- vocabs: import('vue').ComputedRef<any>;
57
- i18nBundles: import('vue').ComputedRef<any>;
58
- mocks: import('vue').ComputedRef<any>;
59
- authProfiles: import('vue').ComputedRef<any>;
60
- events: import('vue').ComputedRef<any>;
49
+ parameters: import('vue').ComputedRef<import('@endge/core').RParameter[]>;
50
+ filters: import('vue').ComputedRef<import('@endge/core').RFilter[]>;
51
+ compositions: import('vue').ComputedRef<import('@endge/core').RComposition[]>;
52
+ environments: import('vue').ComputedRef<import('@endge/core').REnvironment[]>;
53
+ tenants: import('vue').ComputedRef<import('@endge/core').RTenant[]>;
54
+ policies: import('vue').ComputedRef<import('@endge/core').RPolicy[]>;
55
+ styles: import('vue').ComputedRef<import('@endge/core').RStyle[]>;
56
+ vocabs: import('vue').ComputedRef<import('@endge/core').RVocabs[]>;
57
+ i18nBundles: import('vue').ComputedRef<import('@endge/core').RI18nBundle[]>;
58
+ mocks: import('vue').ComputedRef<import('@endge/core').RMock[]>;
59
+ authProfiles: import('vue').ComputedRef<import('@endge/core').RAuthProfile[]>;
60
+ events: import('vue').ComputedRef<import('@endge/core').CachedEvent[]>;
61
61
  }, "components" | "filters" | "pages" | "actions" | "projects" | "types" | "typesPrimitives" | "typesComplex" | "typeCatalog" | "queries" | "componentSFCs" | "converters" | "integrations" | "pageTemplates" | "navigations" | "folders" | "queriesNames" | "parameters" | "compositions" | "environments" | "tenants" | "policies" | "styles" | "vocabs" | "i18nBundles" | "mocks" | "authProfiles" | "events">, Pick<{
62
- domain: import('vue').Ref<import('@endge/utils').Subscribable, import('@endge/utils').Subscribable>;
63
- projects: import('vue').ComputedRef<any>;
64
- types: import('vue').ComputedRef<any>;
65
- typesPrimitives: import('vue').ComputedRef<any>;
66
- typesComplex: import('vue').ComputedRef<any>;
67
- typeCatalog: import('vue').ComputedRef<any>;
68
- queries: import('vue').ComputedRef<any>;
69
- components: import('vue').ComputedRef<any>;
70
- componentSFCs: import('vue').ComputedRef<any>;
71
- actions: import('vue').ComputedRef<any>;
72
- converters: import('vue').ComputedRef<any>;
73
- integrations: import('vue').ComputedRef<any>;
74
- pageTemplates: import('vue').ComputedRef<any>;
75
- pages: import('vue').ComputedRef<any>;
76
- navigations: import('vue').ComputedRef<any>;
77
- folders: import('vue').ComputedRef<any>;
62
+ domain: import('vue').Ref<import('@endge/core').EndgeDomain, import('@endge/core').EndgeDomain>;
63
+ projects: import('vue').ComputedRef<import('@endge/core/dist/domain/entities/reflect/RProject').RProject[]>;
64
+ types: import('vue').ComputedRef<import('@endge/core').RType[]>;
65
+ typesPrimitives: import('vue').ComputedRef<import('@endge/core').RType[]>;
66
+ typesComplex: import('vue').ComputedRef<import('@endge/core').RType[]>;
67
+ typeCatalog: import('vue').ComputedRef<import('@endge/core').TypeProgramCatalogEntry[]>;
68
+ queries: import('vue').ComputedRef<import('@endge/core').RQuery[]>;
69
+ components: import('vue').ComputedRef<import('@endge/core').RComponent[]>;
70
+ componentSFCs: import('vue').ComputedRef<import('@endge/core').RComponentSFC[]>;
71
+ actions: import('vue').ComputedRef<import('@endge/core').RAction[]>;
72
+ converters: import('vue').ComputedRef<import('@endge/core').RConverter[]>;
73
+ integrations: import('vue').ComputedRef<import('@endge/core').RIntegration[]>;
74
+ pageTemplates: import('vue').ComputedRef<import('@endge/core').RPageTemplate[]>;
75
+ pages: import('vue').ComputedRef<import('@endge/core').RPage[]>;
76
+ navigations: import('vue').ComputedRef<import('@endge/core').RNavigation[]>;
77
+ folders: import('vue').ComputedRef<import('@endge/core').RFolder[]>;
78
78
  queriesNames: import('vue').ComputedRef<string[]>;
79
- parameters: import('vue').ComputedRef<any>;
80
- filters: import('vue').ComputedRef<any>;
81
- compositions: import('vue').ComputedRef<any>;
82
- environments: import('vue').ComputedRef<any>;
83
- tenants: import('vue').ComputedRef<any>;
84
- policies: import('vue').ComputedRef<any>;
85
- styles: import('vue').ComputedRef<any>;
86
- vocabs: import('vue').ComputedRef<any>;
87
- i18nBundles: import('vue').ComputedRef<any>;
88
- mocks: import('vue').ComputedRef<any>;
89
- authProfiles: import('vue').ComputedRef<any>;
90
- events: import('vue').ComputedRef<any>;
79
+ parameters: import('vue').ComputedRef<import('@endge/core').RParameter[]>;
80
+ filters: import('vue').ComputedRef<import('@endge/core').RFilter[]>;
81
+ compositions: import('vue').ComputedRef<import('@endge/core').RComposition[]>;
82
+ environments: import('vue').ComputedRef<import('@endge/core').REnvironment[]>;
83
+ tenants: import('vue').ComputedRef<import('@endge/core').RTenant[]>;
84
+ policies: import('vue').ComputedRef<import('@endge/core').RPolicy[]>;
85
+ styles: import('vue').ComputedRef<import('@endge/core').RStyle[]>;
86
+ vocabs: import('vue').ComputedRef<import('@endge/core').RVocabs[]>;
87
+ i18nBundles: import('vue').ComputedRef<import('@endge/core').RI18nBundle[]>;
88
+ mocks: import('vue').ComputedRef<import('@endge/core').RMock[]>;
89
+ authProfiles: import('vue').ComputedRef<import('@endge/core').RAuthProfile[]>;
90
+ events: import('vue').ComputedRef<import('@endge/core').CachedEvent[]>;
91
91
  }, never>>;
@@ -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-CQi-9qle.js";
2
+ import { as as g, l as d } from "./main-BTCQ2G8H.js";
3
3
  /*!
4
4
  * Built by Revolist OU ❤️
5
5
  */
@@ -1,3 +1,6 @@
1
+ type __VLS_Props = {
2
+ tooltipAdapterId?: string;
3
+ };
1
4
  declare function __VLS_template(): {
2
5
  attrs: Partial<{}>;
3
6
  slots: {
@@ -11,7 +14,9 @@ declare function __VLS_template(): {
11
14
  rootEl: any;
12
15
  };
13
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ tooltipAdapterId: string;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
21
  export default _default;
17
22
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,8 @@
1
+ import { EndgeVueTooltipManager } from './endge-tooltip-manager';
2
+ type __VLS_Props = {
3
+ manager: EndgeVueTooltipManager;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
+ tooltipRef: HTMLDivElement;
7
+ }, any>;
8
+ export default _default;
@@ -0,0 +1,57 @@
1
+ import { EndgeTooltipConfiguration } from '@endge/core';
2
+ import { InjectionKey, VNodeChild } from 'vue';
3
+ export type EndgeTooltipContentKind = 'text' | 'markdown' | 'rich';
4
+ export type EndgeTooltipActivationReason = 'pointer' | 'focus';
5
+ export interface EndgeVueTooltipPolicy extends EndgeTooltipConfiguration {
6
+ }
7
+ export interface EndgeVueTooltipRequest {
8
+ ownerId: string;
9
+ domId: string;
10
+ anchor: HTMLElement;
11
+ kind: EndgeTooltipContentKind;
12
+ policy?: Partial<EndgeVueTooltipPolicy>;
13
+ className?: unknown;
14
+ authoredId?: string;
15
+ part?: string;
16
+ renderContent: () => VNodeChild;
17
+ }
18
+ export interface EndgeVueTooltipState {
19
+ phase: 'idle' | 'pending' | 'visible';
20
+ ownerId: string | null;
21
+ domId: string | null;
22
+ anchor: HTMLElement | null;
23
+ kind: EndgeTooltipContentKind;
24
+ policy: EndgeVueTooltipPolicy;
25
+ className: unknown;
26
+ authoredId: string | null;
27
+ part: string | null;
28
+ content: VNodeChild | null;
29
+ }
30
+ /** One lazy overlay manager owned by one mounted EndgeShell. */
31
+ export declare class EndgeVueTooltipManager {
32
+ readonly state: EndgeVueTooltipState;
33
+ readonly adapterId: string;
34
+ private request;
35
+ private reasons;
36
+ private openTimer;
37
+ private closeTimer;
38
+ private generation;
39
+ private disposed;
40
+ private readonly defaults;
41
+ private readonly disposeKeyboardWatch;
42
+ constructor(adapterId: string, defaults: EndgeTooltipConfiguration);
43
+ activate(request: EndgeVueTooltipRequest, reason: EndgeTooltipActivationReason): void;
44
+ deactivate(ownerId: string, reason: EndgeTooltipActivationReason): void;
45
+ close(ownerId?: string): void;
46
+ dispose(): void;
47
+ private show;
48
+ private hideNow;
49
+ private suspend;
50
+ private reconcileActivation;
51
+ private matchesKeyboard;
52
+ private resolvePolicy;
53
+ private clearOpenTimer;
54
+ private clearCloseTimer;
55
+ }
56
+ export declare const EndgeVueTooltipManagerKey: InjectionKey<EndgeVueTooltipManager>;
57
+ export declare function attachEndgeTooltipTriggerAttrs(attrs: Record<string, unknown>, manager: EndgeVueTooltipManager | null, createRequest: (anchor: HTMLElement) => EndgeVueTooltipRequest): void;