@infotrust/ui 0.0.0-stage → 0.30.1

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 (193) hide show
  1. package/LICENSE +24 -0
  2. package/NOTICE.md +37 -0
  3. package/README.md +53 -2
  4. package/dist/assistant-session-DP4_70Xk.js +1381 -0
  5. package/dist/command-Bjncx7YR.js +1279 -0
  6. package/dist/components/actions/ItActionMenu.vue.d.ts +24 -0
  7. package/dist/components/actions/ItDecisionToggle.vue.d.ts +22 -0
  8. package/dist/components/actions/ItIconButton.vue.d.ts +24 -0
  9. package/dist/components/actions/ItLinkButton.vue.d.ts +17 -0
  10. package/dist/components/actions/action-menu.d.ts +19 -0
  11. package/dist/components/charts/ItBarChart.vue.d.ts +121 -0
  12. package/dist/components/charts/ItCalendarChart.vue.d.ts +80 -0
  13. package/dist/components/charts/ItChartLegend.vue.d.ts +47 -0
  14. package/dist/components/charts/ItChartTable.vue.d.ts +16 -0
  15. package/dist/components/charts/ItChartTooltip.vue.d.ts +52 -0
  16. package/dist/components/charts/ItDonutChart.vue.d.ts +79 -0
  17. package/dist/components/charts/ItProportionBar.vue.d.ts +42 -0
  18. package/dist/components/charts/ItSparkline.vue.d.ts +42 -0
  19. package/dist/components/charts/ItTrendChart.vue.d.ts +80 -0
  20. package/dist/components/charts/chart.d.ts +84 -0
  21. package/dist/components/charts/selection.d.ts +14 -0
  22. package/dist/components/charts/skeleton.d.ts +16 -0
  23. package/dist/components/command/ItAssistantPanel.vue.d.ts +56 -0
  24. package/dist/components/command/ItAssistantThread.vue.d.ts +73 -0
  25. package/dist/components/command/ItCommandPalette.vue.d.ts +102 -0
  26. package/dist/components/command/ItMarkdown.vue.d.ts +12 -0
  27. package/dist/components/command/assistant-session.d.ts +26 -0
  28. package/dist/components/command/command.d.ts +127 -0
  29. package/dist/components/command/markdown.d.ts +55 -0
  30. package/dist/components/content/ItDocsArticle.vue.d.ts +18 -0
  31. package/dist/components/content/ItDocsLayout.vue.d.ts +29 -0
  32. package/dist/components/content/ItDocsPager.vue.d.ts +12 -0
  33. package/dist/components/content/ItProse.vue.d.ts +18 -0
  34. package/dist/components/content/docs.d.ts +23 -0
  35. package/dist/components/dag/ItDagCanvas.vue.d.ts +143 -0
  36. package/dist/components/dag/ItDagControls.vue.d.ts +2 -0
  37. package/dist/components/dag/ItDagEdge.vue.d.ts +21 -0
  38. package/dist/components/dag/ItDagLibrary.vue.d.ts +19 -0
  39. package/dist/components/dag/ItDagNode.vue.d.ts +20 -0
  40. package/dist/components/dag/dag.d.ts +182 -0
  41. package/dist/components/dag/history.d.ts +51 -0
  42. package/dist/components/dag/layout.d.ts +54 -0
  43. package/dist/components/dag/route.d.ts +24 -0
  44. package/dist/components/data/DataError.vue.d.ts +12 -0
  45. package/dist/components/data/ItChangeList.vue.d.ts +48 -0
  46. package/dist/components/data/ItCodeBlock.vue.d.ts +23 -0
  47. package/dist/components/data/ItDataTable.vue.d.ts +135 -0
  48. package/dist/components/data/ItDataToolbar.vue.d.ts +57 -0
  49. package/dist/components/data/ItDescriptionList.vue.d.ts +30 -0
  50. package/dist/components/data/ItEmptyState.vue.d.ts +22 -0
  51. package/dist/components/data/ItKpiCard.vue.d.ts +89 -0
  52. package/dist/components/data/ItKpiDetail.vue.d.ts +40 -0
  53. package/dist/components/data/ItKpiGrid.vue.d.ts +19 -0
  54. package/dist/components/data/ItObjectName.vue.d.ts +64 -0
  55. package/dist/components/data/ItPaginator.vue.d.ts +46 -0
  56. package/dist/components/data/ItResourceList.vue.d.ts +39 -0
  57. package/dist/components/data/ItResourceListItem.vue.d.ts +40 -0
  58. package/dist/components/data/ItSkeleton.vue.d.ts +14 -0
  59. package/dist/components/data/ItTablePaginator.vue.d.ts +34 -0
  60. package/dist/components/data/ItTime.vue.d.ts +13 -0
  61. package/dist/components/data/ItTreeTable.vue.d.ts +109 -0
  62. package/dist/components/data/TableChevron.vue.d.ts +8 -0
  63. package/dist/components/data/TableExpansion.vue.d.ts +22 -0
  64. package/dist/components/data/column-sizing.d.ts +31 -0
  65. package/dist/components/data/data-table.d.ts +15 -0
  66. package/dist/components/data/highlight-worker.d.ts +1 -0
  67. package/dist/components/data/highlight.d.ts +3 -0
  68. package/dist/components/data/kpi-placement.d.ts +40 -0
  69. package/dist/components/data/kpi.d.ts +16 -0
  70. package/dist/components/data/sticky-header.d.ts +9 -0
  71. package/dist/components/data/table-skeleton.d.ts +11 -0
  72. package/dist/components/data/table-source.d.ts +77 -0
  73. package/dist/components/data/tree-table-public.d.ts +17 -0
  74. package/dist/components/data/tree-table.d.ts +30 -0
  75. package/dist/components/feedback/ItCallout.vue.d.ts +25 -0
  76. package/dist/components/feedback/ItConfirmHost.vue.d.ts +2 -0
  77. package/dist/components/feedback/ItOverlayHost.vue.d.ts +2 -0
  78. package/dist/components/feedback/ItProgressBar.vue.d.ts +19 -0
  79. package/dist/components/feedback/ItToastHost.vue.d.ts +2 -0
  80. package/dist/components/forms/FieldClearButton.vue.d.ts +11 -0
  81. package/dist/components/forms/ItAutoComplete.vue.d.ts +69 -0
  82. package/dist/components/forms/ItCheckboxGroup.vue.d.ts +27 -0
  83. package/dist/components/forms/ItChipInput.vue.d.ts +32 -0
  84. package/dist/components/forms/ItCodeEditor.vue.d.ts +64 -0
  85. package/dist/components/forms/ItDatePicker.vue.d.ts +35 -0
  86. package/dist/components/forms/ItFileDrop.vue.d.ts +47 -0
  87. package/dist/components/forms/ItFilterChip.vue.d.ts +13 -0
  88. package/dist/components/forms/ItFilterMenu.vue.d.ts +37 -0
  89. package/dist/components/forms/ItFilterPopover.vue.d.ts +44 -0
  90. package/dist/components/forms/ItFormActions.vue.d.ts +14 -0
  91. package/dist/components/forms/ItFormField.vue.d.ts +44 -0
  92. package/dist/components/forms/ItFormRows.vue.d.ts +50 -0
  93. package/dist/components/forms/ItFormSection.vue.d.ts +28 -0
  94. package/dist/components/forms/ItLabelCell.vue.d.ts +42 -0
  95. package/dist/components/forms/ItLabelPicker.vue.d.ts +34 -0
  96. package/dist/components/forms/ItMultiSelect.vue.d.ts +53 -0
  97. package/dist/components/forms/ItOptionCardGroup.vue.d.ts +35 -0
  98. package/dist/components/forms/ItRadioGroup.vue.d.ts +29 -0
  99. package/dist/components/forms/ItSearchInput.vue.d.ts +25 -0
  100. package/dist/components/forms/ItSegmentedControl.vue.d.ts +25 -0
  101. package/dist/components/forms/ItSelect.vue.d.ts +50 -0
  102. package/dist/components/forms/ItSwitch.vue.d.ts +31 -0
  103. package/dist/components/forms/ItTabs.vue.d.ts +27 -0
  104. package/dist/components/forms/OptionSourceSlot.vue.d.ts +13 -0
  105. package/dist/components/forms/choice.d.ts +24 -0
  106. package/dist/components/forms/code-editor.d.ts +17 -0
  107. package/dist/components/forms/field-context.d.ts +39 -0
  108. package/dist/components/forms/file-drop.d.ts +19 -0
  109. package/dist/components/forms/form-errors.d.ts +7 -0
  110. package/dist/components/forms/form-rows.d.ts +8 -0
  111. package/dist/components/forms/option-source.d.ts +39 -0
  112. package/dist/components/forms/virtual-options.d.ts +12 -0
  113. package/dist/components/layout/ItBreadcrumb.vue.d.ts +12 -0
  114. package/dist/components/layout/ItDetailSection.vue.d.ts +21 -0
  115. package/dist/components/layout/ItPage.vue.d.ts +44 -0
  116. package/dist/components/layout/ItPanel.vue.d.ts +47 -0
  117. package/dist/components/layout/ItSectionNav.vue.d.ts +43 -0
  118. package/dist/components/layout/ItWizard.vue.d.ts +57 -0
  119. package/dist/components/layout/ItWizardSteps.vue.d.ts +15 -0
  120. package/dist/components/layout/SectionNavLinks.vue.d.ts +15 -0
  121. package/dist/components/layout/panel.d.ts +18 -0
  122. package/dist/components/layout/section-nav.d.ts +17 -0
  123. package/dist/components/layout/wizard.d.ts +13 -0
  124. package/dist/components/logic/ItFieldPicker.vue.d.ts +40 -0
  125. package/dist/components/logic/ItLogicBuilder.vue.d.ts +58 -0
  126. package/dist/components/logic/ItLogicCondition.vue.d.ts +9 -0
  127. package/dist/components/logic/ItLogicGroup.vue.d.ts +9 -0
  128. package/dist/components/logic/ItOperatorSelect.vue.d.ts +25 -0
  129. package/dist/components/logic/ItValueInput.vue.d.ts +29 -0
  130. package/dist/components/logic/logic.d.ts +263 -0
  131. package/dist/components/logic/region.d.ts +44 -0
  132. package/dist/components/overlays/ItDrawer.vue.d.ts +48 -0
  133. package/dist/components/overlays/ItModal.vue.d.ts +53 -0
  134. package/dist/components/overlays/escape-stack.d.ts +7 -0
  135. package/dist/components/overlays/modal.d.ts +23 -0
  136. package/dist/components/shell/ItAppShell.vue.d.ts +68 -0
  137. package/dist/components/shell/ItCommandTrigger.vue.d.ts +17 -0
  138. package/dist/components/shell/ItOrgSwitcher.vue.d.ts +26 -0
  139. package/dist/components/shell/ItShellMenuItem.vue.d.ts +18 -0
  140. package/dist/components/shell/ItShellNavBranch.vue.d.ts +15 -0
  141. package/dist/components/shell/ItShellNavLink.vue.d.ts +18 -0
  142. package/dist/components/shell/ItShellSidebarButton.vue.d.ts +15 -0
  143. package/dist/components/shell/ItThemeControl.vue.d.ts +13 -0
  144. package/dist/components/shell/org.d.ts +36 -0
  145. package/dist/components/shell/types.d.ts +67 -0
  146. package/dist/components/status/ItBadge.vue.d.ts +12 -0
  147. package/dist/components/status/ItEntityTypeChip.vue.d.ts +14 -0
  148. package/dist/components/status/ItLabelChip.vue.d.ts +21 -0
  149. package/dist/components/status/ItLabelChipList.vue.d.ts +27 -0
  150. package/dist/components/status/ItPlatformChip.vue.d.ts +20 -0
  151. package/dist/components/status/ItPlatformLogo.vue.d.ts +17 -0
  152. package/dist/components/status/ItSeverityBadge.vue.d.ts +9 -0
  153. package/dist/components/status/ItStatus.vue.d.ts +12 -0
  154. package/dist/components.css +1 -0
  155. package/dist/composables/iconMotion.d.ts +12 -0
  156. package/dist/composables/ripple.d.ts +3 -0
  157. package/dist/composables/useItConfirm.d.ts +16 -0
  158. package/dist/composables/useItCopy.d.ts +4 -0
  159. package/dist/composables/useItCursorPager.d.ts +50 -0
  160. package/dist/composables/useItTheme.d.ts +26 -0
  161. package/dist/composables/useItToast.d.ts +24 -0
  162. package/dist/dag.d.ts +5 -0
  163. package/dist/dag.js +1754 -0
  164. package/dist/dev-D7A7MIn_.js +1264 -0
  165. package/dist/directives/truncate.d.ts +29 -0
  166. package/dist/elk-worker.min-O2A22ecl.js +6321 -0
  167. package/dist/format/index.d.ts +53 -0
  168. package/dist/highlight-worker-DIrLC7a2.js +25 -0
  169. package/dist/index.d.ts +147 -0
  170. package/dist/index.js +11989 -0
  171. package/dist/licenses/@vue-flow__core.LICENSE +20 -0
  172. package/dist/licenses/elkjs.LICENSE.md +263 -0
  173. package/dist/licenses/highlight.js.LICENSE +29 -0
  174. package/dist/licenses/vue-sonner.LICENSE +21 -0
  175. package/dist/platform-art-Bt1CnaKE.js +86 -0
  176. package/dist/plugin.d.ts +69 -0
  177. package/dist/registries/entity-type.d.ts +18 -0
  178. package/dist/registries/platform-art.d.ts +2 -0
  179. package/dist/registries/platform-marks.d.ts +12 -0
  180. package/dist/registries/platform.d.ts +22 -0
  181. package/dist/registries/severity.d.ts +23 -0
  182. package/dist/registries/status.d.ts +13 -0
  183. package/dist/styles.css +26 -0
  184. package/dist/text-nGkJYA88.js +470 -0
  185. package/dist/utils/chip-truncation.d.ts +8 -0
  186. package/dist/utils/chunk-recovery.d.ts +24 -0
  187. package/dist/utils/dev.d.ts +2 -0
  188. package/dist/utils/listeners.d.ts +10 -0
  189. package/dist/utils/router.d.ts +9 -0
  190. package/dist/utils/scroll.d.ts +8 -0
  191. package/dist/utils/select.d.ts +21 -0
  192. package/dist/utils/text.d.ts +6 -0
  193. package/package.json +91 -3
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ /** `table` rows, `text` lines, `list` rows (icon, title, line), or a single `block`. */
3
+ kind?: 'table' | 'text' | 'list' | 'block';
4
+ rows?: number;
5
+ columns?: number;
6
+ height?: string;
7
+ width?: string;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ columns: number;
11
+ kind: "table" | "text" | "list" | "block";
12
+ rows: number;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,34 @@
1
+ type __VLS_Props = {
2
+ first?: number;
3
+ last?: number;
4
+ rows?: number;
5
+ page?: number;
6
+ pageCount?: number;
7
+ totalRecords?: number;
8
+ changePageCallback?: (page: number) => void;
9
+ rowChangeCallback?: (rows: number) => void;
10
+ rowsPerPageOptions?: number[];
11
+ showReport?: boolean;
12
+ showFirstLast?: boolean;
13
+ reportTemplate?: string;
14
+ mode?: 'offset' | 'cursor';
15
+ hasNext?: boolean;
16
+ hasPrevious?: boolean;
17
+ busy?: boolean;
18
+ };
19
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ mode: "offset" | "cursor";
21
+ page: number;
22
+ rows: number;
23
+ first: number;
24
+ totalRecords: number;
25
+ rowsPerPageOptions: number[];
26
+ showFirstLast: boolean;
27
+ showReport: boolean;
28
+ reportTemplate: string;
29
+ hasNext: boolean;
30
+ hasPrevious: boolean;
31
+ pageCount: number;
32
+ last: number;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { type DateInput } from '../../format';
2
+ type __VLS_Props = {
3
+ value: DateInput;
4
+ /** `relative` "3h ago" · `date` "Oct 9" · `datetime` "Oct 15, 6:02 AM". */
5
+ format?: 'relative' | 'date' | 'datetime';
6
+ /** The clock for `relative` (pass the page's ticking clock so it stays current). */
7
+ now?: Date;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ format: "relative" | "date" | "datetime";
11
+ now: Date;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,109 @@
1
+ import { type TreeTableExpandedKeys } from 'primevue/treetable';
2
+ import type { TreeNode } from 'primevue/treenode';
3
+ import { type ItTreeMore } from './tree-table';
4
+ type ExpandedKeys = TreeTableExpandedKeys;
5
+ type __VLS_Props = {
6
+ value?: TreeNode[] | null;
7
+ loading?: boolean;
8
+ /**
9
+ * The last load failed: a danger callout takes the rows' place, never an
10
+ * empty state. A string says why; `true` uses the default line. Retry
11
+ * shows when there is a `@retry` listener; `#error` replaces the
12
+ * callout. While `loading` (the retry), the skeleton shows as usual.
13
+ */
14
+ error?: string | boolean;
15
+ /** 0-based offset of the first root row on the page. Use with `v-model:first`, or omit for internal state. */
16
+ first?: number;
17
+ /** Root rows per page. */
18
+ rows?: number;
19
+ /** `auto` shows the paginator only when root rows (or totalRecords when lazy) exceed the smallest page size; in cursor mode, when hasNext or hasPrevious. */
20
+ paginator?: boolean | 'auto';
21
+ rowsPerPageOptions?: number[];
22
+ /** Total root rows for lazy/server pagination. */
23
+ totalRecords?: number;
24
+ /** Show the "1–10 of 48" range report next to the page links (off: the count lives in the toolbar). */
25
+ paginatorReport?: boolean;
26
+ showFirstLast?: boolean;
27
+ /** `cursor` for APIs that only know whether there is a next page. */
28
+ paginationMode?: 'offset' | 'cursor';
29
+ hasNext?: boolean;
30
+ hasPrevious?: boolean;
31
+ emptyTitle?: string;
32
+ emptyDescription?: string;
33
+ /** Skeleton column count while loading. */
34
+ skeletonColumns?: number;
35
+ /** Expanded node keys. Use with `v-model:expandedKeys`, or omit for internal state. */
36
+ expandedKeys?: ExpandedKeys;
37
+ /** Clicking a row that has children toggles it. */
38
+ rowToggle?: boolean;
39
+ /** Leaf rows get a pointer cursor and hover wash and emit `row-click`. */
40
+ leafClickable?: boolean;
41
+ /** Column field or columnKey that fills the remaining width. */
42
+ primaryColumn?: string;
43
+ /** Column fields or columnKeys that fit their content without wrapping. */
44
+ compactColumns?: readonly string[];
45
+ /** Keys of expanded nodes whose children are loading; each shows a skeleton child row. */
46
+ loadingKeys?: string[];
47
+ /** Row name for the chevron's aria-label ("Expand Acme GA4"). Defaults to data.name / label / title. */
48
+ nodeLabel?(node: TreeNode): string | undefined;
49
+ };
50
+ declare var __VLS_20: string, __VLS_21: any, __VLS_35: {}, __VLS_40: {
51
+ message: string;
52
+ retry: () => void;
53
+ }, __VLS_49: {};
54
+ type __VLS_Slots = {} & {
55
+ [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
56
+ } & {
57
+ loading?: (props: typeof __VLS_35) => any;
58
+ } & {
59
+ error?: (props: typeof __VLS_40) => any;
60
+ } & {
61
+ empty?: (props: typeof __VLS_49) => any;
62
+ };
63
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
+ retry: () => any;
65
+ "row-click": (event: {
66
+ originalEvent: Event;
67
+ node: TreeNode;
68
+ }) => any;
69
+ "update:expandedKeys": (keys: TreeTableExpandedKeys) => any;
70
+ "node-expand": (node: TreeNode) => any;
71
+ "node-collapse": (node: TreeNode) => any;
72
+ "load-more": (parentKey: string, more: ItTreeMore) => any;
73
+ "show-less": (parentKey: string, more: ItTreeMore) => any;
74
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
75
+ onRetry?: (() => any) | undefined;
76
+ "onRow-click"?: ((event: {
77
+ originalEvent: Event;
78
+ node: TreeNode;
79
+ }) => any) | undefined;
80
+ "onUpdate:expandedKeys"?: ((keys: TreeTableExpandedKeys) => any) | undefined;
81
+ "onNode-expand"?: ((node: TreeNode) => any) | undefined;
82
+ "onNode-collapse"?: ((node: TreeNode) => any) | undefined;
83
+ "onLoad-more"?: ((parentKey: string, more: ItTreeMore) => any) | undefined;
84
+ "onShow-less"?: ((parentKey: string, more: ItTreeMore) => any) | undefined;
85
+ }>, {
86
+ error: string | boolean;
87
+ value: TreeNode[] | null;
88
+ emptyTitle: string;
89
+ rows: number;
90
+ first: number;
91
+ rowsPerPageOptions: number[];
92
+ showFirstLast: boolean;
93
+ hasNext: boolean;
94
+ hasPrevious: boolean;
95
+ paginator: boolean | "auto";
96
+ paginationMode: "offset" | "cursor";
97
+ paginatorReport: boolean;
98
+ skeletonColumns: number;
99
+ expandedKeys: ExpandedKeys;
100
+ rowToggle: boolean;
101
+ loadingKeys: string[];
102
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
103
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
104
+ export default _default;
105
+ type __VLS_WithSlots<T, S> = T & {
106
+ new (): {
107
+ $slots: S;
108
+ };
109
+ };
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ button?: boolean;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ button: boolean;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ id: string;
4
+ triggerId: string;
5
+ label: string;
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ closed: () => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onClosed?: (() => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Shared width policy for plain PrimeVue Columns, matched by columnKey or field.
3
+ *
4
+ * The primary column takes `width: 100%`, so the browser shrinks every other
5
+ * column to its content. A column that sets a width keeps it as a minimum
6
+ * too: its header never moves when the rows change (collapsed groups, a
7
+ * filter, an empty page), and a short value never narrows it.
8
+ */
9
+ export declare function columnSizing(column: Record<string, unknown> | undefined, primary?: string, compact?: readonly string[]): {
10
+ style?: undefined;
11
+ } | {
12
+ style: {
13
+ width: string;
14
+ };
15
+ } | {
16
+ style: {
17
+ minWidth: string;
18
+ width: string;
19
+ whiteSpace: string;
20
+ } | {
21
+ minWidth?: undefined;
22
+ width: string;
23
+ whiteSpace: string;
24
+ };
25
+ } | {
26
+ style: {
27
+ minWidth: string;
28
+ } | {
29
+ minWidth?: undefined;
30
+ };
31
+ };
@@ -0,0 +1,15 @@
1
+ import type { DataTableEmits } from 'primevue/datatable';
2
+ import ItDataTable from './ItDataTable.vue';
3
+ type TableInstance = InstanceType<typeof ItDataTable>;
4
+ /**
5
+ * Keep PrimeVue's complete event contract on the public wrapper. Declaring
6
+ * these as Vue runtime emits would remove listeners from $attrs, preventing
7
+ * the existing pass-through handlers from reaching the underlying table.
8
+ * This facade changes only declarations; it exports the same component.
9
+ */
10
+ declare const _default: typeof ItDataTable & {
11
+ new (): Omit<TableInstance, "$emit"> & {
12
+ $emit: DataTableEmits & TableInstance["$emit"];
13
+ };
14
+ };
15
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export type ItCodeLanguage = 'json' | 'yaml' | 'javascript' | 'typescript' | 'html' | 'css' | 'sql' | 'bash' | 'text';
2
+ /** The code as safe HTML: escaped, with .hljs-* token spans unless the language is plain text. */
3
+ export declare function highlightCode(code: string, language: ItCodeLanguage): string;
@@ -0,0 +1,40 @@
1
+ /** Visible bounds for an in-page surface. The parent owns its content width. */
2
+ export declare function kpiBounds(host: HTMLElement): {
3
+ left: number;
4
+ top: number;
5
+ right: number;
6
+ bottom: number;
7
+ };
8
+ /** Space kept between an open card and the bottom of the visible area. */
9
+ export declare const KPI_BOTTOM_GAP = 16;
10
+ /** The detail never gets shorter than this; a card near the bottom runs past it instead. */
11
+ export declare const KPI_MIN_DETAIL_HEIGHT = 160;
12
+ /**
13
+ * Where an open card sits. It always opens out and down from its own top
14
+ * edge, like every other card in the row: it never moves up. Only when a
15
+ * scroll has taken its top out of sight does it move down, to the top of
16
+ * the visible area (`top`). A detail taller than the room below scrolls
17
+ * inside the card (see kpiDetailMaxHeight).
18
+ */
19
+ export declare function kpiPlacement(card: {
20
+ left: number;
21
+ right: number;
22
+ top: number;
23
+ }, bounds: {
24
+ left: number;
25
+ right: number;
26
+ top: number;
27
+ }, width: number, preferred: 'left' | 'right'): {
28
+ align: "right" | "left";
29
+ width: number;
30
+ top: number;
31
+ inset: number;
32
+ };
33
+ /**
34
+ * The tallest the detail can be with the card's bottom edge still in view.
35
+ * `detailTop` is where the detail starts and `below` is what the card draws
36
+ * under it (its bottom padding and border), both in viewport pixels.
37
+ */
38
+ export declare function kpiDetailMaxHeight(detailTop: number, below: number, bounds: {
39
+ bottom: number;
40
+ }): number;
@@ -0,0 +1,16 @@
1
+ /** Semantic emphasis for an ItKpiCard value. The card itself stays neutral. */
2
+ export type ItKpiTone = 'default' | 'success' | 'warning' | 'danger' | 'info';
3
+ /** Fill color of the bars in an ItKpiDetail list. */
4
+ export type ItKpiBarTone = 'accent' | 'warning' | 'danger';
5
+ /** One bar row in an ItKpiDetail list. */
6
+ export interface ItKpiDetailItem {
7
+ /** Stable key for the row. Falls back to the row index. */
8
+ key?: string | number;
9
+ label: string;
10
+ /** The count. Bar width is proportional to it. */
11
+ value: number;
12
+ /** Count text to show instead of `formatCount(value)`. */
13
+ display?: string;
14
+ /** Tooltip for a selectable row, e.g. "Filter violations to GTM". */
15
+ title?: string;
16
+ }
@@ -0,0 +1,9 @@
1
+ import { type Ref } from 'vue';
2
+ /**
3
+ * Let the browser own vertical stickiness when the table fits its width.
4
+ * PrimeVue's otherwise unused overflow container traps the sticky header.
5
+ * Only genuinely overflowing tables need an inset for ancestor scrolling.
6
+ */
7
+ export declare function useStickyTableHeader(table: Ref<{
8
+ $el: HTMLElement;
9
+ } | null>): void;
@@ -0,0 +1,11 @@
1
+ import { type Ref } from 'vue';
2
+ /** Keep the visible page's geometry when its cells are replaced by skeletons. */
3
+ export declare function useTableSkeleton(table: Ref<{
4
+ $el: HTMLElement;
5
+ } | null>, loading: () => boolean, fallbackRows: () => number): {
6
+ hasMeasuredRows: import("vue").ComputedRef<boolean>;
7
+ skeletonRows: import("vue").ComputedRef<number>;
8
+ skeletonStyle: import("vue").ComputedRef<{
9
+ height: string;
10
+ } | undefined>;
11
+ };
@@ -0,0 +1,77 @@
1
+ /** A row's stable key (the table's `dataKey`). */
2
+ export type ItRowKey = string | number;
3
+ /** One request for rows. */
4
+ export interface ItTableQuery {
5
+ /** 0-based index of the first row wanted. */
6
+ offset: number;
7
+ limit: number;
8
+ /** The table's `search`, trimmed. */
9
+ search: string;
10
+ /** The column's `sortField` (or `field`), when the person sorted. */
11
+ sortField: string | null;
12
+ /** 1 ascending, -1 descending, null unsorted. */
13
+ sortOrder: 1 | -1 | null;
14
+ /** The table's `sourceFilters`, as the app passed them. */
15
+ filters: Readonly<Record<string, unknown>>;
16
+ /** Aborted when a newer query replaces this one. */
17
+ signal: AbortSignal;
18
+ }
19
+ /** One window of rows, and how many rows match the query in all. */
20
+ export interface ItTablePage<T = unknown> {
21
+ rows: readonly T[];
22
+ total: number;
23
+ }
24
+ export type ItTableSource<T = unknown> = (query: ItTableQuery) => Promise<ItTablePage<T>>;
25
+ /**
26
+ * Which rows are selected. `all: false`: the rows in `keys`. `all: true`:
27
+ * every row that matches the table's current search and filters, except the
28
+ * rows in `except`. A new search, filter, or sort clears the selection, so
29
+ * "all" always means the query the app is showing.
30
+ */
31
+ export type ItRowSelection = {
32
+ all: false;
33
+ keys: readonly ItRowKey[];
34
+ } | {
35
+ all: true;
36
+ except: readonly ItRowKey[];
37
+ };
38
+ /** Nothing selected. */
39
+ export declare const itNoSelection: () => ItRowSelection;
40
+ /** How many rows a selection holds, given how many match the query. */
41
+ export declare function itSelectionCount(selection: ItRowSelection | null | undefined, total: number): number;
42
+ /** Whether the row with this key is selected. */
43
+ export declare function itSelectionHas(selection: ItRowSelection | null | undefined, key: ItRowKey): boolean;
44
+ /** The selection with one row turned on or off. */
45
+ export declare function itSelectionToggle(selection: ItRowSelection, key: ItRowKey, on: boolean): ItRowSelection;
46
+ /** Rows a 10-row page loads at once: five pages. */
47
+ export declare const IT_TABLE_PREFETCH_PAGES = 5;
48
+ type SortState = {
49
+ field: string | null;
50
+ order: 1 | -1 | null;
51
+ };
52
+ /**
53
+ * The window cache behind ItDataTable `source`. Windows are `rows × prefetchPages`
54
+ * rows long and start at multiples of that size. The page shown is cut from
55
+ * its window; while that window is not loaded, the table is loading (skeleton
56
+ * rows). Past a window's first page, the next window loads in the background.
57
+ * A new query (search, filters, sort) or page size drops every window.
58
+ */
59
+ export declare function useTableSource(options: {
60
+ source: () => ItTableSource | undefined;
61
+ search: () => string | undefined;
62
+ filters: () => Readonly<Record<string, unknown>> | undefined;
63
+ first: () => number;
64
+ rows: () => number;
65
+ prefetchPages: () => number;
66
+ }): {
67
+ pageRows: import("vue").ComputedRef<readonly unknown[] | null>;
68
+ total: import("vue").Ref<number | null, number | null>;
69
+ loading: import("vue").ComputedRef<boolean>;
70
+ error: import("vue").ComputedRef<string | null>;
71
+ sort: import("vue").ShallowRef<SortState, SortState>;
72
+ queryKey: import("vue").ComputedRef<string>;
73
+ setSort: (field: string | null, order: number | null | undefined) => void;
74
+ retry: () => void;
75
+ refresh: () => void;
76
+ };
77
+ export {};
@@ -0,0 +1,17 @@
1
+ import type { TreeTableEmits } from 'primevue/treetable';
2
+ import ItTreeTable from './ItTreeTable.vue';
3
+ type TreeTableInstance = InstanceType<typeof ItTreeTable>;
4
+ /**
5
+ * The public ItTreeTable: the same component, with PrimeVue's complete
6
+ * TreeTable event contract added to its own (`row-click`, `load-more`,
7
+ * `retry`), so an inline `@sort="(event) => …"` or `@node-select` handler is
8
+ * typed in an app. Declaring PrimeVue's events as Vue runtime emits would
9
+ * remove their listeners from $attrs, and they would no longer reach the
10
+ * underlying table (see ItDataTable's `data-table.ts`).
11
+ */
12
+ declare const _default: typeof ItTreeTable & {
13
+ new (): Omit<TreeTableInstance, "$emit"> & {
14
+ $emit: TreeTableEmits & TreeTableInstance["$emit"];
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { TreeNode } from 'primevue/treenode';
2
+ /** Marker for a capped child list. Put it on a sentinel child as `data.__more`. */
3
+ export interface ItTreeMore {
4
+ /** Key of the parent whose children are capped. `load-more` and `show-less` emit it. */
5
+ parentKey: string;
6
+ /** Children not shown yet. */
7
+ remaining?: number;
8
+ /**
9
+ * How many children one click adds. With a step (and `remaining` > 0) the row
10
+ * shows a "Load {step} more ({remaining} remaining)" button that emits
11
+ * `load-more`. Without a step the row is informational.
12
+ */
13
+ step?: number;
14
+ /** Informational text, e.g. "Showing first 100 of 1,240". Shown before the actions. */
15
+ label?: string;
16
+ /** Label of an extra action that emits `show-less` (e.g. "Collapse to 25"). Omit to hide it. */
17
+ showLessLabel?: string;
18
+ }
19
+ /** `data.__more` marks a "more" row; `data.__loading` marks a skeleton child row. */
20
+ export declare const IT_TREE_MORE_FIELD = "__more";
21
+ export declare const IT_TREE_LOADING_FIELD = "__loading";
22
+ /** Sentinel child for a capped list. Append it as the last child of `more.parentKey`. */
23
+ export declare function itTreeMoreNode(more: ItTreeMore): TreeNode;
24
+ /** The `ItTreeMore` marker of a node, or undefined for a normal row. */
25
+ export declare function itTreeMoreOf(node: TreeNode | null | undefined): ItTreeMore | undefined;
26
+ /** Skeleton child shown under an expanded node whose key is in `loadingKeys`. */
27
+ export declare function itTreeLoadingNode(parentKey: string): TreeNode;
28
+ export declare function isItTreeLoadingNode(node: TreeNode | null | undefined): boolean;
29
+ /** PrimeVue's rule: a node can expand when it has children or sets `leaf: false` (lazy children). */
30
+ export declare function itTreeCanExpand(node: TreeNode | null | undefined): boolean;
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ tone?: 'info' | 'success' | 'warning' | 'danger';
3
+ /** Bold lead-in: what happened. The default slot says what to do. */
4
+ title?: string;
5
+ closable?: boolean;
6
+ };
7
+ type __VLS_Slots = {
8
+ default?: () => unknown;
9
+ /** Buttons on the right (Retry, Reauthorize). */
10
+ actions?: () => unknown;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ close: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ }>, {
17
+ tone: "info" | "success" | "warning" | "danger";
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ /** What runs: "Importing properties". Names the progress bar. */
3
+ label: string;
4
+ /** How far, from 0 to `max`. Null or undefined: indeterminate. */
5
+ value?: number | null;
6
+ /** The value at completion. */
7
+ max?: number;
8
+ /** Replaces the percentage at the right of the label line: "1,204 of 3,000 rows". Also the accessible value text. */
9
+ valueText?: string;
10
+ /** Visually hide the label line (it stays for screen readers), when text beside the bar already says what runs. */
11
+ hideLabel?: boolean;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ max: number;
15
+ value: number | null;
16
+ hideLabel: boolean;
17
+ valueText: string;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ label: string;
3
+ disabled?: boolean;
4
+ inFlow?: boolean;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ clear: (event: MouseEvent) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onClear?: ((event: MouseEvent) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,69 @@
1
+ declare const _default: <T, M extends T | T[] | string | null = T | null>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
+ readonly "onUpdate:modelValue"?: ((value: M) => any) | undefined;
4
+ readonly onCreate?: ((query: string) => any) | undefined;
5
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onCreate"> & {
6
+ /** One item (or null), or an array of items with `multiple`. */
7
+ modelValue?: M;
8
+ /**
9
+ * Returns the suggestions for a query. Return [] for none. `signal`
10
+ * aborts when a newer search starts, a pick or create ends the search,
11
+ * or the field unmounts; pass it to fetch to cancel the request.
12
+ */
13
+ search: (query: string, context: {
14
+ signal: AbortSignal;
15
+ }) => readonly T[] | Promise<readonly T[]>;
16
+ optionLabel?: string;
17
+ /** Field that identifies an item, used to hide picked items and match "Create". Default: the label. */
18
+ dataKey?: string;
19
+ multiple?: boolean;
20
+ /** Milliseconds to wait after typing before searching. */
21
+ debounce?: number;
22
+ /** Characters needed before the first search. 0 searches on focus. */
23
+ minLength?: number;
24
+ creatable?: boolean;
25
+ /**
26
+ * Single mode: the typed text is the model value (a string) when the
27
+ * person does not pick a suggestion; a pick still sets the item. For a
28
+ * field whose value may be any text, with suggestions as a shortcut (a
29
+ * search box, a URL pattern). Unlike `creatable`, nothing is created and
30
+ * no `create` event fires: the text itself is the value.
31
+ */
32
+ freeText?: boolean;
33
+ emptyText?: string;
34
+ placeholder?: string;
35
+ /** Accessible name and hover hint for the built-in showClear button. */
36
+ clearLabel?: string;
37
+ size?: "sm" | "md";
38
+ disabled?: boolean;
39
+ invalid?: boolean;
40
+ id?: string;
41
+ describedBy?: string;
42
+ pt?: Record<string, unknown>;
43
+ } & Partial<{}>> & import("vue").PublicProps;
44
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
45
+ attrs: any;
46
+ slots: {
47
+ [x: string]: ((props: any) => any) | undefined;
48
+ } & {
49
+ clearicon?: (props: {
50
+ clearCallback: (event: Event) => void;
51
+ }) => any;
52
+ } & {
53
+ option?: (props: {
54
+ option: any;
55
+ index: number;
56
+ }) => any;
57
+ } & {
58
+ empty?: (props: {
59
+ query: string;
60
+ }) => any;
61
+ };
62
+ emit: ((evt: "update:modelValue", value: M) => void) & ((evt: "create", query: string) => void);
63
+ }>) => import("vue").VNode & {
64
+ __ctx?: Awaited<typeof __VLS_setup>;
65
+ };
66
+ export default _default;
67
+ type __VLS_PrettifyLocal<T> = {
68
+ [K in keyof T]: T[K];
69
+ } & {};
@@ -0,0 +1,27 @@
1
+ import { type ItChoiceOption } from './choice';
2
+ declare const _default: <V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: V[]) => any) | undefined;
5
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
6
+ modelValue?: V[];
7
+ options: readonly ItChoiceOption<V>[];
8
+ /** Names the group. Omit inside ItFormField. */
9
+ legend?: string;
10
+ orientation?: "vertical" | "horizontal";
11
+ size?: "sm" | "md";
12
+ disabled?: boolean;
13
+ invalid?: boolean;
14
+ id?: string;
15
+ describedBy?: string;
16
+ } & Partial<{}>> & import("vue").PublicProps;
17
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
18
+ attrs: any;
19
+ slots: {};
20
+ emit: (evt: "update:modelValue", value: V[]) => void;
21
+ }>) => import("vue").VNode & {
22
+ __ctx?: Awaited<typeof __VLS_setup>;
23
+ };
24
+ export default _default;
25
+ type __VLS_PrettifyLocal<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};