@lumal/core 0.0.1-beta

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 (271) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -0
  3. package/dist/LumalThemeSettingsPanel-BFkZzwEW.js +685 -0
  4. package/dist/LumalThemeSettingsPanel-C6aPhgUX.cjs +1 -0
  5. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  6. package/dist/_plugin-vue_export-helper-BTmtiIyf.cjs +1 -0
  7. package/dist/auth.cjs +1 -0
  8. package/dist/auth.js +127 -0
  9. package/dist/components-DJiHYQQB.cjs +2 -0
  10. package/dist/components-DYmKh-eF.js +2206 -0
  11. package/dist/components.cjs +1 -0
  12. package/dist/components.js +3 -0
  13. package/dist/composables-C4twj5Ov.cjs +1 -0
  14. package/dist/composables-C9EuCUjj.js +130 -0
  15. package/dist/composables.cjs +1 -0
  16. package/dist/composables.js +148 -0
  17. package/dist/core.css +2 -0
  18. package/dist/dictionary-B7tsaVqB.js +19 -0
  19. package/dist/dictionary-ClEWtQCU.cjs +1 -0
  20. package/dist/dictionary.cjs +1 -0
  21. package/dist/dictionary.js +3 -0
  22. package/dist/directive-D-fB5qbY.js +16 -0
  23. package/dist/directive-DSVr7QvO.cjs +1 -0
  24. package/dist/directives.cjs +1 -0
  25. package/dist/directives.js +11 -0
  26. package/dist/index.cjs +1 -0
  27. package/dist/index.js +88 -0
  28. package/dist/layout-C8H9wuQa.js +2075 -0
  29. package/dist/layout-ZnyG9X3N.cjs +1 -0
  30. package/dist/layout.cjs +1 -0
  31. package/dist/layout.js +2 -0
  32. package/dist/permission-6sXtjGMS.cjs +1 -0
  33. package/dist/permission-CCkqvnWg.js +104 -0
  34. package/dist/permission.cjs +1 -0
  35. package/dist/permission.js +3 -0
  36. package/dist/request.cjs +1 -0
  37. package/dist/request.js +277 -0
  38. package/dist/router.cjs +1 -0
  39. package/dist/router.js +510 -0
  40. package/dist/src/app/createLumalAdmin.d.ts +4 -0
  41. package/dist/src/app/createLumalAdmin.d.ts.map +1 -0
  42. package/dist/src/app/default-components.d.ts +4 -0
  43. package/dist/src/app/default-components.d.ts.map +1 -0
  44. package/dist/src/app/index.d.ts +3 -0
  45. package/dist/src/app/index.d.ts.map +1 -0
  46. package/dist/src/app/types.d.ts +41 -0
  47. package/dist/src/app/types.d.ts.map +1 -0
  48. package/dist/src/auth/adapter.d.ts +3 -0
  49. package/dist/src/auth/adapter.d.ts.map +1 -0
  50. package/dist/src/auth/createAuthSession.d.ts +8 -0
  51. package/dist/src/auth/createAuthSession.d.ts.map +1 -0
  52. package/dist/src/auth/index.d.ts +8 -0
  53. package/dist/src/auth/index.d.ts.map +1 -0
  54. package/dist/src/auth/redirect.d.ts +8 -0
  55. package/dist/src/auth/redirect.d.ts.map +1 -0
  56. package/dist/src/auth/session-expired.d.ts +5 -0
  57. package/dist/src/auth/session-expired.d.ts.map +1 -0
  58. package/dist/src/auth/session.d.ts +10 -0
  59. package/dist/src/auth/session.d.ts.map +1 -0
  60. package/dist/src/auth/storage.d.ts +7 -0
  61. package/dist/src/auth/storage.d.ts.map +1 -0
  62. package/dist/src/auth/types.d.ts +68 -0
  63. package/dist/src/auth/types.d.ts.map +1 -0
  64. package/dist/src/components/crud-table/LumalCrudEditor.vue.d.ts +41 -0
  65. package/dist/src/components/crud-table/LumalCrudEditor.vue.d.ts.map +1 -0
  66. package/dist/src/components/crud-table/LumalCrudTable.vue.d.ts +151 -0
  67. package/dist/src/components/crud-table/LumalCrudTable.vue.d.ts.map +1 -0
  68. package/dist/src/components/crud-table/index.d.ts +4 -0
  69. package/dist/src/components/crud-table/index.d.ts.map +1 -0
  70. package/dist/src/components/crud-table/schema.d.ts +4 -0
  71. package/dist/src/components/crud-table/schema.d.ts.map +1 -0
  72. package/dist/src/components/crud-table/types.d.ts +165 -0
  73. package/dist/src/components/crud-table/types.d.ts.map +1 -0
  74. package/dist/src/components/crud-table/useCrudData.d.ts +20 -0
  75. package/dist/src/components/crud-table/useCrudData.d.ts.map +1 -0
  76. package/dist/src/components/crud-table/useCrudDialog.d.ts +19 -0
  77. package/dist/src/components/crud-table/useCrudDialog.d.ts.map +1 -0
  78. package/dist/src/components/crud-table/useCrudQuery.d.ts +18 -0
  79. package/dist/src/components/crud-table/useCrudQuery.d.ts.map +1 -0
  80. package/dist/src/components/crud-table/useCrudSelection.d.ts +9 -0
  81. package/dist/src/components/crud-table/useCrudSelection.d.ts.map +1 -0
  82. package/dist/src/components/info-table/LumalInfoTable.vue.d.ts +12 -0
  83. package/dist/src/components/info-table/LumalInfoTable.vue.d.ts.map +1 -0
  84. package/dist/src/components/info-table/index.d.ts +3 -0
  85. package/dist/src/components/info-table/index.d.ts.map +1 -0
  86. package/dist/src/components/info-table/types.d.ts +15 -0
  87. package/dist/src/components/info-table/types.d.ts.map +1 -0
  88. package/dist/src/components/page/LumalPage.vue.d.ts +36 -0
  89. package/dist/src/components/page/LumalPage.vue.d.ts.map +1 -0
  90. package/dist/src/components/page/index.d.ts +2 -0
  91. package/dist/src/components/page/index.d.ts.map +1 -0
  92. package/dist/src/components/page-layout/LumalPageLayout.vue.d.ts +38 -0
  93. package/dist/src/components/page-layout/LumalPageLayout.vue.d.ts.map +1 -0
  94. package/dist/src/components/page-layout/index.d.ts +3 -0
  95. package/dist/src/components/page-layout/index.d.ts.map +1 -0
  96. package/dist/src/components/page-layout/types.d.ts +9 -0
  97. package/dist/src/components/page-layout/types.d.ts.map +1 -0
  98. package/dist/src/components/pagination/LumalPagination.vue.d.ts +31 -0
  99. package/dist/src/components/pagination/LumalPagination.vue.d.ts.map +1 -0
  100. package/dist/src/components/pagination/index.d.ts +3 -0
  101. package/dist/src/components/pagination/index.d.ts.map +1 -0
  102. package/dist/src/components/pagination/types.d.ts +5 -0
  103. package/dist/src/components/pagination/types.d.ts.map +1 -0
  104. package/dist/src/components/schema-form/LumalSchemaForm.vue.d.ts +78 -0
  105. package/dist/src/components/schema-form/LumalSchemaForm.vue.d.ts.map +1 -0
  106. package/dist/src/components/schema-form/index.d.ts +4 -0
  107. package/dist/src/components/schema-form/index.d.ts.map +1 -0
  108. package/dist/src/components/schema-form/normalize.d.ts +11 -0
  109. package/dist/src/components/schema-form/normalize.d.ts.map +1 -0
  110. package/dist/src/components/schema-form/types.d.ts +103 -0
  111. package/dist/src/components/schema-form/types.d.ts.map +1 -0
  112. package/dist/src/components/schema-form/types.type-test.d.ts +2 -0
  113. package/dist/src/components/schema-form/types.type-test.d.ts.map +1 -0
  114. package/dist/src/components/schema-table/LumalSchemaTable.vue.d.ts +108 -0
  115. package/dist/src/components/schema-table/LumalSchemaTable.vue.d.ts.map +1 -0
  116. package/dist/src/components/schema-table/LumalSchemaTableCell.vue.d.ts +8 -0
  117. package/dist/src/components/schema-table/LumalSchemaTableCell.vue.d.ts.map +1 -0
  118. package/dist/src/components/schema-table/cell.d.ts +13 -0
  119. package/dist/src/components/schema-table/cell.d.ts.map +1 -0
  120. package/dist/src/components/schema-table/index.d.ts +6 -0
  121. package/dist/src/components/schema-table/index.d.ts.map +1 -0
  122. package/dist/src/components/schema-table/normalize.d.ts +8 -0
  123. package/dist/src/components/schema-table/normalize.d.ts.map +1 -0
  124. package/dist/src/components/schema-table/types.d.ts +66 -0
  125. package/dist/src/components/schema-table/types.d.ts.map +1 -0
  126. package/dist/src/components/schema-table/types.type-test.d.ts +2 -0
  127. package/dist/src/components/schema-table/types.type-test.d.ts.map +1 -0
  128. package/dist/src/composables/index.d.ts +11 -0
  129. package/dist/src/composables/index.d.ts.map +1 -0
  130. package/dist/src/composables/useConfirmAction.d.ts +21 -0
  131. package/dist/src/composables/useConfirmAction.d.ts.map +1 -0
  132. package/dist/src/composables/useFullscreen.d.ts +14 -0
  133. package/dist/src/composables/useFullscreen.d.ts.map +1 -0
  134. package/dist/src/composables/usePagination.d.ts +36 -0
  135. package/dist/src/composables/usePagination.d.ts.map +1 -0
  136. package/dist/src/composables/usePersistentState.d.ts +9 -0
  137. package/dist/src/composables/usePersistentState.d.ts.map +1 -0
  138. package/dist/src/composables/useSelection.d.ts +20 -0
  139. package/dist/src/composables/useSelection.d.ts.map +1 -0
  140. package/dist/src/dictionary/composables.d.ts +15 -0
  141. package/dist/src/dictionary/composables.d.ts.map +1 -0
  142. package/dist/src/dictionary/context.d.ts +10 -0
  143. package/dist/src/dictionary/context.d.ts.map +1 -0
  144. package/dist/src/dictionary/fetcher.d.ts +4 -0
  145. package/dist/src/dictionary/fetcher.d.ts.map +1 -0
  146. package/dist/src/dictionary/index.d.ts +8 -0
  147. package/dist/src/dictionary/index.d.ts.map +1 -0
  148. package/dist/src/dictionary/normalize.d.ts +5 -0
  149. package/dist/src/dictionary/normalize.d.ts.map +1 -0
  150. package/dist/src/dictionary/store.d.ts +4 -0
  151. package/dist/src/dictionary/store.d.ts.map +1 -0
  152. package/dist/src/dictionary/types.d.ts +53 -0
  153. package/dist/src/dictionary/types.d.ts.map +1 -0
  154. package/dist/src/directives/index.d.ts +16 -0
  155. package/dist/src/directives/index.d.ts.map +1 -0
  156. package/dist/src/exports/components.d.ts +16 -0
  157. package/dist/src/exports/components.d.ts.map +1 -0
  158. package/dist/src/index.d.ts +6 -0
  159. package/dist/src/index.d.ts.map +1 -0
  160. package/dist/src/layout/LumalBreadcrumb.vue.d.ts +28 -0
  161. package/dist/src/layout/LumalBreadcrumb.vue.d.ts.map +1 -0
  162. package/dist/src/layout/LumalContent.vue.d.ts +18 -0
  163. package/dist/src/layout/LumalContent.vue.d.ts.map +1 -0
  164. package/dist/src/layout/LumalGlobalSearch.vue.d.ts +25 -0
  165. package/dist/src/layout/LumalGlobalSearch.vue.d.ts.map +1 -0
  166. package/dist/src/layout/LumalHeader.vue.d.ts +43 -0
  167. package/dist/src/layout/LumalHeader.vue.d.ts.map +1 -0
  168. package/dist/src/layout/LumalLayout.vue.d.ts +98 -0
  169. package/dist/src/layout/LumalLayout.vue.d.ts.map +1 -0
  170. package/dist/src/layout/LumalMenuBadge.vue.d.ts +16 -0
  171. package/dist/src/layout/LumalMenuBadge.vue.d.ts.map +1 -0
  172. package/dist/src/layout/LumalRouterView.vue.d.ts +24 -0
  173. package/dist/src/layout/LumalRouterView.vue.d.ts.map +1 -0
  174. package/dist/src/layout/LumalSidebar.vue.d.ts +29 -0
  175. package/dist/src/layout/LumalSidebar.vue.d.ts.map +1 -0
  176. package/dist/src/layout/LumalSidebarMenuItem.vue.d.ts +16 -0
  177. package/dist/src/layout/LumalSidebarMenuItem.vue.d.ts.map +1 -0
  178. package/dist/src/layout/LumalTabs.vue.d.ts +76 -0
  179. package/dist/src/layout/LumalTabs.vue.d.ts.map +1 -0
  180. package/dist/src/layout/LumalTopNav.vue.d.ts +27 -0
  181. package/dist/src/layout/LumalTopNav.vue.d.ts.map +1 -0
  182. package/dist/src/layout/LumalTopNavMenuItem.vue.d.ts +15 -0
  183. package/dist/src/layout/LumalTopNavMenuItem.vue.d.ts.map +1 -0
  184. package/dist/src/layout/index.d.ts +18 -0
  185. package/dist/src/layout/index.d.ts.map +1 -0
  186. package/dist/src/layout/state/menu-layout.d.ts +35 -0
  187. package/dist/src/layout/state/menu-layout.d.ts.map +1 -0
  188. package/dist/src/layout/state/tab-storage.d.ts +51 -0
  189. package/dist/src/layout/state/tab-storage.d.ts.map +1 -0
  190. package/dist/src/layout/state/tab-strategy.d.ts +73 -0
  191. package/dist/src/layout/state/tab-strategy.d.ts.map +1 -0
  192. package/dist/src/layout/types.d.ts +29 -0
  193. package/dist/src/layout/types.d.ts.map +1 -0
  194. package/dist/src/permission/LumalAccessControl.vue.d.ts +26 -0
  195. package/dist/src/permission/LumalAccessControl.vue.d.ts.map +1 -0
  196. package/dist/src/permission/context.d.ts +6 -0
  197. package/dist/src/permission/context.d.ts.map +1 -0
  198. package/dist/src/permission/directive.d.ts +3 -0
  199. package/dist/src/permission/directive.d.ts.map +1 -0
  200. package/dist/src/permission/guard.d.ts +4 -0
  201. package/dist/src/permission/guard.d.ts.map +1 -0
  202. package/dist/src/permission/helpers.d.ts +4 -0
  203. package/dist/src/permission/helpers.d.ts.map +1 -0
  204. package/dist/src/permission/index.d.ts +8 -0
  205. package/dist/src/permission/index.d.ts.map +1 -0
  206. package/dist/src/permission/store.d.ts +4 -0
  207. package/dist/src/permission/store.d.ts.map +1 -0
  208. package/dist/src/permission/types.d.ts +67 -0
  209. package/dist/src/permission/types.d.ts.map +1 -0
  210. package/dist/src/request/cache.d.ts +8 -0
  211. package/dist/src/request/cache.d.ts.map +1 -0
  212. package/dist/src/request/client.d.ts +4 -0
  213. package/dist/src/request/client.d.ts.map +1 -0
  214. package/dist/src/request/error.d.ts +19 -0
  215. package/dist/src/request/error.d.ts.map +1 -0
  216. package/dist/src/request/index.d.ts +8 -0
  217. package/dist/src/request/index.d.ts.map +1 -0
  218. package/dist/src/request/standard.d.ts +61 -0
  219. package/dist/src/request/standard.d.ts.map +1 -0
  220. package/dist/src/request/types.d.ts +102 -0
  221. package/dist/src/request/types.d.ts.map +1 -0
  222. package/dist/src/router/index.d.ts +36 -0
  223. package/dist/src/router/index.d.ts.map +1 -0
  224. package/dist/src/router/types.d.ts +231 -0
  225. package/dist/src/router/types.d.ts.map +1 -0
  226. package/dist/src/theme/LumalThemeSettingsPanel.vue.d.ts +33 -0
  227. package/dist/src/theme/LumalThemeSettingsPanel.vue.d.ts.map +1 -0
  228. package/dist/src/theme/dom.d.ts +6 -0
  229. package/dist/src/theme/dom.d.ts.map +1 -0
  230. package/dist/src/theme/index.d.ts +11 -0
  231. package/dist/src/theme/index.d.ts.map +1 -0
  232. package/dist/src/theme/preferences-store.d.ts +4 -0
  233. package/dist/src/theme/preferences-store.d.ts.map +1 -0
  234. package/dist/src/theme/preferences.d.ts +18 -0
  235. package/dist/src/theme/preferences.d.ts.map +1 -0
  236. package/dist/src/theme/store.d.ts +3 -0
  237. package/dist/src/theme/store.d.ts.map +1 -0
  238. package/dist/src/theme/theme-color-presets.d.ts +13 -0
  239. package/dist/src/theme/theme-color-presets.d.ts.map +1 -0
  240. package/dist/src/theme/tokens.d.ts +5 -0
  241. package/dist/src/theme/tokens.d.ts.map +1 -0
  242. package/dist/src/theme/types.d.ts +103 -0
  243. package/dist/src/theme/types.d.ts.map +1 -0
  244. package/dist/src/utils/clone.d.ts +12 -0
  245. package/dist/src/utils/clone.d.ts.map +1 -0
  246. package/dist/src/utils/color.d.ts +6 -0
  247. package/dist/src/utils/color.d.ts.map +1 -0
  248. package/dist/src/utils/display.d.ts +10 -0
  249. package/dist/src/utils/display.d.ts.map +1 -0
  250. package/dist/src/utils/download.d.ts +10 -0
  251. package/dist/src/utils/download.d.ts.map +1 -0
  252. package/dist/src/utils/index.d.ts +12 -0
  253. package/dist/src/utils/index.d.ts.map +1 -0
  254. package/dist/src/utils/object.d.ts +6 -0
  255. package/dist/src/utils/object.d.ts.map +1 -0
  256. package/dist/src/utils/path.d.ts +6 -0
  257. package/dist/src/utils/path.d.ts.map +1 -0
  258. package/dist/src/utils/query.d.ts +9 -0
  259. package/dist/src/utils/query.d.ts.map +1 -0
  260. package/dist/src/utils/storage.d.ts +7 -0
  261. package/dist/src/utils/storage.d.ts.map +1 -0
  262. package/dist/src/utils/types.d.ts +13 -0
  263. package/dist/src/utils/types.d.ts.map +1 -0
  264. package/dist/src/utils/with-install.d.ts +11 -0
  265. package/dist/src/utils/with-install.d.ts.map +1 -0
  266. package/dist/theme.cjs +1 -0
  267. package/dist/theme.js +187 -0
  268. package/dist/utils.cjs +1 -0
  269. package/dist/utils.js +130 -0
  270. package/package.json +124 -0
  271. package/theme-chalk/index.scss +70 -0
@@ -0,0 +1,66 @@
1
+ import type { Ref } from 'vue';
2
+ import type { DictionaryOption } from '../../dictionary';
3
+ export type SchemaTableRecord = object;
4
+ export type SchemaTableRow = Record<string, unknown>;
5
+ export type SchemaTableFieldKey<T extends SchemaTableRecord = SchemaTableRow> = Extract<keyof T, string>;
6
+ export type SchemaTableAlign = 'center' | 'left' | 'right';
7
+ export type SchemaTableAuthority = string | string[];
8
+ export interface SchemaTableContext<T extends SchemaTableRecord = SchemaTableRow> {
9
+ rows: T[];
10
+ row?: T;
11
+ index?: number;
12
+ }
13
+ export type SchemaTableStateResolver<T extends SchemaTableRecord = SchemaTableRow> = boolean | ((context: SchemaTableContext<T>) => boolean);
14
+ export type SchemaTableCellFormatter<T extends SchemaTableRecord = SchemaTableRow> = (value: unknown, row: T, index: number) => unknown;
15
+ export type SchemaTableClassName<T extends SchemaTableRecord = SchemaTableRow> = string | ((context: {
16
+ columnIndex?: number;
17
+ row: T;
18
+ rowIndex: number;
19
+ }) => string);
20
+ export interface SchemaTablePaginationChangePayload {
21
+ page: number;
22
+ pageSize: number;
23
+ }
24
+ export interface SchemaTableTreeProps {
25
+ children: string;
26
+ hasChildren?: string;
27
+ }
28
+ export interface SchemaTableColumnSettings {
29
+ enabled?: boolean;
30
+ reorderable?: boolean;
31
+ storageKey?: string;
32
+ }
33
+ export interface SchemaTableSortChangePayload {
34
+ column?: unknown;
35
+ order?: 'ascending' | 'descending' | null;
36
+ prop?: string | null;
37
+ }
38
+ export interface SchemaTableColumn<T extends SchemaTableRecord = SchemaTableRow> {
39
+ field: SchemaTableFieldKey<T>;
40
+ label: string;
41
+ authority?: SchemaTableAuthority;
42
+ dictionary?: string;
43
+ dictType?: string;
44
+ options?: DictionaryOption[] | Ref<DictionaryOption[]>;
45
+ hidden?: SchemaTableStateResolver<T>;
46
+ align?: SchemaTableAlign;
47
+ width?: number | string;
48
+ minWidth?: number | string;
49
+ fixed?: boolean | 'left' | 'right';
50
+ showOverflowTooltip?: boolean;
51
+ componentProps?: Record<string, unknown>;
52
+ emptyText?: string;
53
+ formatter?: SchemaTableCellFormatter<T>;
54
+ configurable?: boolean;
55
+ }
56
+ export interface NormalizedSchemaTableColumn<T extends SchemaTableRecord = SchemaTableRow> extends SchemaTableColumn<T> {
57
+ align: SchemaTableAlign;
58
+ componentProps: Record<string, unknown>;
59
+ emptyText: string;
60
+ renderable: boolean;
61
+ }
62
+ export interface SchemaTableSelectionPayload<T extends SchemaTableRecord = SchemaTableRow> {
63
+ selectedRows: T[];
64
+ selectedRowKeys: Array<string | number>;
65
+ }
66
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/schema-table/types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.type-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.type-test.d.ts","sourceRoot":"","sources":["../../../../src/components/schema-table/types.type-test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export { useDictionary, useDictionaryMap, } from '../dictionary/composables';
2
+ export { useConfirmAction, } from './useConfirmAction';
3
+ export type { ConfirmActionOptions, UseConfirmActionOptions, } from './useConfirmAction';
4
+ export { useFullscreen, } from './useFullscreen';
5
+ export type { UseFullscreenReturn, } from './useFullscreen';
6
+ export { usePagination, } from './usePagination';
7
+ export type { PaginationResult, UsePaginationOptions, UsePaginationReturn, } from './usePagination';
8
+ export { usePersistentState, } from './usePersistentState';
9
+ export { useSelection, } from './useSelection';
10
+ export type { UseSelectionOptions, UseSelectionReturn, } from './useSelection';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,GACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,gBAAgB,GACjB,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EACV,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,aAAa,GACd,MAAM,iBAAiB,CAAA;AACxB,YAAY,EACV,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,aAAa,GACd,MAAM,iBAAiB,CAAA;AACxB,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,kBAAkB,GACnB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,YAAY,GACb,MAAM,gBAAgB,CAAA;AACvB,YAAY,EACV,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,21 @@
1
+ /***********************确认操作*********************/
2
+ export interface ConfirmActionOptions {
3
+ title?: string;
4
+ message?: string;
5
+ confirmButtonText?: string;
6
+ cancelButtonText?: string;
7
+ }
8
+ export interface UseConfirmActionOptions {
9
+ /** 确认交互实现,默认无 UI,需业务注入(如 ElMessageBox.confirm)。 */
10
+ confirm?: (options: Required<ConfirmActionOptions>) => Promise<unknown>;
11
+ /** 默认文案。 */
12
+ defaults?: ConfirmActionOptions;
13
+ }
14
+ /**
15
+ * 二次确认组合式逻辑:确认通过后执行回调,取消则返回 undefined。
16
+ * 不默认依赖 Element Plus,确认交互由 confirm 注入,便于测试与替换。
17
+ */
18
+ export declare function useConfirmAction(options?: UseConfirmActionOptions): {
19
+ confirmAction: <T>(callback: () => Promise<T> | T, actionOptions?: ConfirmActionOptions) => Promise<T | undefined>;
20
+ };
21
+ //# sourceMappingURL=useConfirmAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfirmAction.d.ts","sourceRoot":"","sources":["../../../src/composables/useConfirmAction.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,mDAAmD;IACnD,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,oBAAoB,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IACvE,YAAY;IACZ,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC;AASD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,uBAA4B,GAAG;IACvE,aAAa,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,aAAa,CAAC,EAAE,oBAAoB,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAAA;CACnH,CAuBA"}
@@ -0,0 +1,14 @@
1
+ import type { Ref } from 'vue';
2
+ /***********************全屏*********************/
3
+ export interface UseFullscreenReturn {
4
+ isFullscreen: Ref<boolean>;
5
+ enter: (target?: HTMLElement) => Promise<void>;
6
+ exit: () => Promise<void>;
7
+ toggle: (target?: HTMLElement) => Promise<void>;
8
+ }
9
+ /**
10
+ * 浏览器全屏组合式逻辑:进入/退出/切换全屏并同步状态。
11
+ * 非浏览器环境或不支持时静默降级,不抛异常。
12
+ */
13
+ export declare function useFullscreen(defaultTarget?: () => HTMLElement | undefined): UseFullscreenReturn;
14
+ //# sourceMappingURL=useFullscreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFullscreen.d.ts","sourceRoot":"","sources":["../../../src/composables/useFullscreen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG9B,gDAAgD;AAChD,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC1B,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9C,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAChD;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,aAAa,CAAC,EAAE,MAAM,WAAW,GAAG,SAAS,GAAG,mBAAmB,CAqDhG"}
@@ -0,0 +1,36 @@
1
+ import type { Ref } from 'vue';
2
+ /***********************分页结果*********************/
3
+ /** Lumal 标准分页结果结构。 */
4
+ export interface PaginationResult<T> {
5
+ items: T[];
6
+ total: number;
7
+ }
8
+ export interface UsePaginationOptions<T, TResponse> {
9
+ /** 初始每页条数,默认 10。 */
10
+ initialPageSize?: number;
11
+ /** 初始页码,默认 1。 */
12
+ initialPage?: number;
13
+ /** 页码参数名,默认 `page`。 */
14
+ pageKey?: string;
15
+ /** 每页条数参数名,默认 `pageSize`。 */
16
+ pageSizeKey?: string;
17
+ /** 响应解析器,默认按 `{ items, total }` 读取。 */
18
+ parser?: (response: TResponse) => PaginationResult<T>;
19
+ }
20
+ export interface UsePaginationReturn<T> {
21
+ items: Ref<T[]>;
22
+ total: Ref<number>;
23
+ page: Ref<number>;
24
+ pageSize: Ref<number>;
25
+ loading: Ref<boolean>;
26
+ fetchData: () => Promise<void>;
27
+ query: () => Promise<void>;
28
+ setPageSize: (value: number) => Promise<void>;
29
+ setPage: (value: number) => Promise<void>;
30
+ }
31
+ /**
32
+ * 列表分页组合式逻辑:管理页码、每页条数、loading 与数据加载。
33
+ * 不绑定具体后端字段,默认按 Lumal 标准 `{ items, total }` 解析,可通过 parser 适配。
34
+ */
35
+ export declare function usePagination<T = unknown, TResponse = unknown>(fetchFn: (params: Record<string, unknown>) => Promise<TResponse>, getQueryParams?: () => Record<string, unknown>, options?: UsePaginationOptions<T, TResponse> | number): UsePaginationReturn<T>;
36
+ //# sourceMappingURL=usePagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../../src/composables/usePagination.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG9B,kDAAkD;AAClD,sBAAsB;AACtB,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC,EAAE,SAAS;IAChD,oBAAoB;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAA;CACtD;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,KAAK,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAA;IACf,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAClB,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACrB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAC1C;AAUD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,GAAG,OAAO,EAAE,SAAS,GAAG,OAAO,EAC5D,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,SAAS,CAAC,EAChE,cAAc,CAAC,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9C,OAAO,GAAE,oBAAoB,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,MAAW,GACxD,mBAAmB,CAAC,CAAC,CAAC,CAyDxB"}
@@ -0,0 +1,9 @@
1
+ import type { Ref } from 'vue';
2
+ import type { JsonValue, StorageAccessor } from '../utils/types';
3
+ /***********************持久化状态*********************/
4
+ /**
5
+ * 与存储双向同步的响应式状态:初始化时读取存储,变更时写回。
6
+ * 依赖 utils 的 StorageAccessor,可注入 localStorage/sessionStorage 包装或自定义实现。
7
+ */
8
+ export declare function usePersistentState<T extends JsonValue>(storage: StorageAccessor, key: string, initialValue: T): Ref<T>;
9
+ //# sourceMappingURL=usePersistentState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePersistentState.d.ts","sourceRoot":"","sources":["../../../src/composables/usePersistentState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAGhE,mDAAmD;AACnD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,SAAS,EACpD,OAAO,EAAE,eAAe,EACxB,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,CAAC,GACd,GAAG,CAAC,CAAC,CAAC,CAaR"}
@@ -0,0 +1,20 @@
1
+ import type { Ref } from 'vue';
2
+ /***********************行选择*********************/
3
+ export interface UseSelectionOptions<T> {
4
+ /** 行唯一键取值函数,默认取 `row.id`。 */
5
+ rowKey?: (row: T) => unknown;
6
+ }
7
+ export interface UseSelectionReturn<T> {
8
+ selected: Ref<T[]>;
9
+ selectedKeys: Ref<unknown[]>;
10
+ hasSelection: Ref<boolean>;
11
+ isSelected: (row: T) => boolean;
12
+ toggle: (row: T) => void;
13
+ setSelected: (rows: T[]) => void;
14
+ clear: () => void;
15
+ }
16
+ /**
17
+ * 表格/列表行选择组合式逻辑:维护选中集合、判断与切换,供批量操作使用。
18
+ */
19
+ export declare function useSelection<T = unknown>(options?: UseSelectionOptions<T>): UseSelectionReturn<T>;
20
+ //# sourceMappingURL=useSelection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSelection.d.ts","sourceRoot":"","sources":["../../../src/composables/useSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAG9B,iDAAiD;AACjD,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,6BAA6B;IAC7B,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAA;CAC7B;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,QAAQ,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAA;IAClB,YAAY,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAA;IAC5B,YAAY,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC1B,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAA;IAC/B,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;IACxB,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAA;IAChC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,GAAE,mBAAmB,CAAC,CAAC,CAAM,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAuCrG"}
@@ -0,0 +1,15 @@
1
+ import type { ComputedRef } from 'vue';
2
+ import type { DictionaryOption } from './types';
3
+ import { getDictionaryLabel } from './normalize';
4
+ type DictionaryGetter = () => Array<false | null | string | undefined>;
5
+ /***********************组合式 API*********************/
6
+ export declare function useDictionary(...dictionaries: string[]): Record<string, ComputedRef<DictionaryOption[]>>;
7
+ export declare function useDictionaryMap(getDictionaries: DictionaryGetter): {
8
+ dictionaryMap: ComputedRef<Record<string, DictionaryOption[]>>;
9
+ dictionaryRefs: Record<string, ComputedRef<DictionaryOption[]>>;
10
+ };
11
+ /***********************直接读取*********************/
12
+ export declare function getDictionaryOptions(dictionary: string): DictionaryOption[];
13
+ export declare function getDictionaryValueLabel(dictionary: string, value: Parameters<typeof getDictionaryLabel>[1]): string;
14
+ export {};
15
+ //# sourceMappingURL=composables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composables.d.ts","sourceRoot":"","sources":["../../../src/dictionary/composables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAG/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,KAAK,gBAAgB,GAAG,MAAM,KAAK,CAAC,KAAK,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC,CAAA;AAOtE,qDAAqD;AACrD,wBAAgB,aAAa,CAAC,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAExG;AAED,wBAAgB,gBAAgB,CAAC,eAAe,EAAE,gBAAgB,GAAG;IACnE,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAA;IAC9D,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;CAChE,CAiCA;AAED,kDAAkD;AAClD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAE3E;AAED,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAEnH"}
@@ -0,0 +1,10 @@
1
+ import type { App } from 'vue';
2
+ import type { DictionaryContext, DictionaryPluginOptions } from './types';
3
+ /***********************上下文访问*********************/
4
+ export declare function setActiveDictionaryContext(context: DictionaryContext): void;
5
+ export declare function getActiveDictionaryContext(): DictionaryContext | null;
6
+ export declare function useDictionaryContext(optional?: boolean): DictionaryContext | null;
7
+ export declare function provideDictionaryContext(context: DictionaryContext): void;
8
+ /***********************插件安装*********************/
9
+ export declare function installDictionary(app: App, options?: DictionaryPluginOptions): DictionaryContext;
10
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/dictionary/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAOzE,mDAAmD;AACnD,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAE3E;AAED,wBAAgB,0BAA0B,IAAI,iBAAiB,GAAG,IAAI,CAErE;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,UAAQ,GAAG,iBAAiB,GAAG,IAAI,CAQ/E;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAGzE;AAED,kDAAkD;AAClD,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,uBAA4B,GAAG,iBAAiB,CASpG"}
@@ -0,0 +1,4 @@
1
+ import type { CreateDictionaryFetcherWithFallbackOptions, DictionaryResponse } from './types';
2
+ /***********************远程优先 fetcher*********************/
3
+ export declare function createDictionaryFetcherWithFallback(options: CreateDictionaryFetcherWithFallbackOptions): (dictionary: string) => Promise<DictionaryResponse>;
4
+ //# sourceMappingURL=fetcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../src/dictionary/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0CAA0C,EAE1C,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAmBhB,0DAA0D;AAC1D,wBAAgB,mCAAmC,CACjD,OAAO,EAAE,0CAA0C,GAClD,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAyBrD"}
@@ -0,0 +1,8 @@
1
+ export { getDictionaryOptions, getDictionaryValueLabel, useDictionary, useDictionaryMap, } from './composables';
2
+ export { getActiveDictionaryContext, installDictionary, provideDictionaryContext, setActiveDictionaryContext, useDictionaryContext, } from './context';
3
+ export { createDictionaryFetcherWithFallback, } from './fetcher';
4
+ export { getDictionaryLabel, normalizeDictionaryOptionList, normalizeDictionaryOptions, } from './normalize';
5
+ export { createDictionaryStore, } from './store';
6
+ export type { CreateDictionaryFetcherWithFallbackOptions, DictionaryContext, DictionaryFallback, DictionaryFetcher, DictionaryFieldNames, DictionaryLabelValue, DictionaryOption, DictionaryPluginOptions, DictionaryResponse, DictionaryResponseParser, DictionaryStore, DictionaryStoreOptions, DictionaryValue, NormalizeDictionaryOptions, } from './types';
7
+ export { dictionaryContextKey, } from './types';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dictionary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,aAAa,EACb,gBAAgB,GACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,mCAAmC,GACpC,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,0BAA0B,GAC3B,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,qBAAqB,GACtB,MAAM,SAAS,CAAA;AAChB,YAAY,EACV,0CAA0C,EAC1C,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,0BAA0B,GAC3B,MAAM,SAAS,CAAA;AAChB,OAAO,EACL,oBAAoB,GACrB,MAAM,SAAS,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { DictionaryFieldNames, DictionaryLabelValue, DictionaryOption, NormalizeDictionaryOptions } from './types';
2
+ export declare function normalizeDictionaryOptionList(input: unknown[], fieldNames?: DictionaryFieldNames): DictionaryOption[];
3
+ export declare function normalizeDictionaryOptions(response: unknown, options?: NormalizeDictionaryOptions, dictionary?: string): DictionaryOption[];
4
+ export declare function getDictionaryLabel(options: readonly DictionaryOption[], value: DictionaryLabelValue): string;
5
+ //# sourceMappingURL=normalize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../src/dictionary/normalize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAEhB,0BAA0B,EAC3B,MAAM,SAAS,CAAA;AAiEhB,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,OAAO,EAAE,EAChB,UAAU,GAAE,oBAAyB,GACpC,gBAAgB,EAAE,CAIpB;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,OAAO,EACjB,OAAO,GAAE,0BAA+B,EACxC,UAAU,CAAC,EAAE,MAAM,GAClB,gBAAgB,EAAE,CAiBpB;AAuBD,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,SAAS,gBAAgB,EAAE,EACpC,KAAK,EAAE,oBAAoB,GAC1B,MAAM,CAER"}
@@ -0,0 +1,4 @@
1
+ import type { DictionaryStore, DictionaryStoreOptions } from './types';
2
+ /***********************字典状态*********************/
3
+ export declare function createDictionaryStore(options?: DictionaryStoreOptions): DictionaryStore;
4
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/dictionary/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,eAAe,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AASxF,kDAAkD;AAClD,wBAAgB,qBAAqB,CAAC,OAAO,GAAE,sBAA2B,GAAG,eAAe,CA6E3F"}
@@ -0,0 +1,53 @@
1
+ import type { InjectionKey } from 'vue';
2
+ export type DictionaryValue = boolean | number | string;
3
+ export type DictionaryLabelValue = DictionaryValue | DictionaryValue[] | null | undefined;
4
+ export interface DictionaryOption {
5
+ label: string;
6
+ value: DictionaryValue;
7
+ disabled?: boolean;
8
+ children?: DictionaryOption[];
9
+ color?: string;
10
+ meta?: Record<string, unknown>;
11
+ }
12
+ export interface DictionaryResponse {
13
+ items: DictionaryOption[];
14
+ }
15
+ export interface DictionaryFieldNames {
16
+ items?: string;
17
+ label?: string;
18
+ value?: string;
19
+ disabled?: string;
20
+ children?: string;
21
+ color?: string;
22
+ }
23
+ export type DictionaryResponseParser = (response: unknown, dictionary?: string) => DictionaryOption[];
24
+ export interface NormalizeDictionaryOptions {
25
+ fieldNames?: DictionaryFieldNames;
26
+ parseResponse?: DictionaryResponseParser;
27
+ }
28
+ export type DictionaryFetcher = (dictionary: string) => Promise<unknown>;
29
+ export interface DictionaryStoreOptions extends NormalizeDictionaryOptions {
30
+ fetcher?: DictionaryFetcher;
31
+ }
32
+ export interface DictionaryStore {
33
+ records: Record<string, DictionaryOption[]>;
34
+ loading: Record<string, boolean>;
35
+ errors: Record<string, string | null>;
36
+ loadDictionary: (dictionary: string) => Promise<DictionaryOption[]>;
37
+ setDictionary: (dictionary: string, options: DictionaryOption[]) => void;
38
+ removeDictionary: (dictionary: string) => void;
39
+ clearDictionary: () => void;
40
+ }
41
+ export interface DictionaryContext {
42
+ store: DictionaryStore;
43
+ }
44
+ export interface DictionaryPluginOptions extends DictionaryStoreOptions {
45
+ }
46
+ export type DictionaryFallback = DictionaryOption[] | ((dictionary: string) => DictionaryOption[] | Promise<DictionaryOption[]>);
47
+ export interface CreateDictionaryFetcherWithFallbackOptions {
48
+ remote: DictionaryFetcher;
49
+ fallback?: DictionaryFallback;
50
+ warnOnRemoteFailure?: boolean;
51
+ }
52
+ export declare const dictionaryContextKey: InjectionKey<DictionaryContext>;
53
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dictionary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;AACvD,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,eAAe,EAAE,GAAG,IAAI,GAAG,SAAS,CAAA;AAEzF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,eAAe,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,wBAAwB,GAAG,CACrC,QAAQ,EAAE,OAAO,EACjB,UAAU,CAAC,EAAE,MAAM,KAChB,gBAAgB,EAAE,CAAA;AAEvB,MAAM,WAAW,0BAA0B;IACzC,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,aAAa,CAAC,EAAE,wBAAwB,CAAA;CACzC;AAED,MAAM,MAAM,iBAAiB,GAAG,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;AAExE,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAA;IAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAAA;IACrC,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACnE,aAAa,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAA;IACxE,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9C,eAAe,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,eAAe,CAAA;CACvB;AAED,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAE1E,MAAM,MAAM,kBAAkB,GACxB,gBAAgB,EAAE,GAClB,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,gBAAgB,EAAE,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAA;AAEhF,MAAM,WAAW,0CAA0C;IACzD,MAAM,EAAE,iBAAiB,CAAA;IACzB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAED,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,iBAAiB,CAAsC,CAAA"}
@@ -0,0 +1,16 @@
1
+ import type { App } from 'vue';
2
+ import type { PermissionDirective, PermissionDirectiveOptions, PermissionStore } from '../permission/types';
3
+ import { createPermissionDirective } from '../permission/directive';
4
+ /***********************权限指令*********************/
5
+ /**
6
+ * 创建权限指令(`v-authority`):无权限时隐藏元素。
7
+ * 复用 permission 模块实现,语义上以 authority 为名,与菜单 authority 字段对齐。
8
+ */
9
+ export declare function createAuthorityDirective(store: PermissionStore, options?: PermissionDirectiveOptions): PermissionDirective;
10
+ /**
11
+ * 一次性注册权限指令,默认注册 `v-authority`,并附带 `v-permission` 兼容别名。
12
+ */
13
+ export declare function registerAuthorityDirectives(app: App, store: PermissionStore, options?: PermissionDirectiveOptions): void;
14
+ export { createPermissionDirective };
15
+ export type { PermissionDirective, PermissionDirectiveOptions } from '../permission/types';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/directives/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC3G,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA;AAEnE,kDAAkD;AAClD;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,eAAe,EACtB,OAAO,GAAE,0BAA+B,GACvC,mBAAmB,CAErB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,eAAe,EACtB,OAAO,GAAE,0BAA+B,GACvC,IAAI,CAIN;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAA;AACpC,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1,16 @@
1
+ export { deriveCrudFormSchemas, LumalCrudTable, } from '../components/crud-table';
2
+ export type { CrudActionsConfig, CrudDataSource, CrudEditorConfig, CrudExportConfig, CrudExportContext, CrudFetchParams, CrudFetchResult, CrudFormMode, CrudPaginationConfig, CrudQueryConfig, CrudRemoveConfirm, CrudRemoveConfirmOptions, CrudStateResolver, CrudTableColumn, CrudTableConfig, CrudTablePageChangePayload, CrudTableProps, CrudTableQueryModel, CrudTableResetPayload, CrudTableSearchPayload, CrudToolbarConfig, CrudToolbarSlotProps, } from '../components/crud-table';
3
+ export { LumalInfoTable, } from '../components/info-table';
4
+ export type { InfoTableItem, InfoTableProps, } from '../components/info-table';
5
+ export { LumalPage, } from '../components/page';
6
+ export { LumalPageLayout, } from '../components/page-layout';
7
+ export type { PageLayoutProps, } from '../components/page-layout';
8
+ export { LumalPagination, } from '../components/pagination';
9
+ export type { PaginationChangePayload, } from '../components/pagination';
10
+ export { LumalSchemaForm, } from '../components/schema-form';
11
+ export type { NormalizedSchemaFormItem, SchemaFormAuthority, SchemaFormComponentProps, SchemaFormComponentPropsMap, SchemaFormComponentType, SchemaFormContext, SchemaFormFieldKey, SchemaFormItem, SchemaFormMode, SchemaFormModel, SchemaFormOption, SchemaFormOptionsResolver, SchemaFormOptionValue, SchemaFormRecord, SchemaFormRule, SchemaFormStateResolver, SchemaFormTextResolver, SchemaFormValueResolver, } from '../components/schema-form';
12
+ export { LumalSchemaTable, } from '../components/schema-table';
13
+ export type { NormalizedSchemaTableColumn, SchemaTableAlign, SchemaTableAuthority, SchemaTableCellFormatter, SchemaTableClassName, SchemaTableColumn, SchemaTableColumnSettings, SchemaTableContext, SchemaTableFieldKey, SchemaTablePaginationChangePayload, SchemaTableRecord, SchemaTableRow, SchemaTableSelectionPayload, SchemaTableSortChangePayload, SchemaTableStateResolver, SchemaTableTreeProps, } from '../components/schema-table';
14
+ export { LumalAccessControl, } from '../permission';
15
+ export { LumalIcon, LumalIconPicker, LumalIconPickerDialog, } from '@lumal/icons-vue';
16
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/exports/components.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,cAAc,GACf,MAAM,0BAA0B,CAAA;AACjC,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,cAAc,GACf,MAAM,0BAA0B,CAAA;AACjC,YAAY,EACV,aAAa,EACb,cAAc,GACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,SAAS,GACV,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,eAAe,GAChB,MAAM,2BAA2B,CAAA;AAClC,YAAY,EACV,eAAe,GAChB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,eAAe,GAChB,MAAM,0BAA0B,CAAA;AACjC,YAAY,EACV,uBAAuB,GACxB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,eAAe,GAChB,MAAM,2BAA2B,CAAA;AAClC,YAAY,EACV,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,yBAAyB,EACzB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,gBAAgB,GACjB,MAAM,4BAA4B,CAAA;AACnC,YAAY,EACV,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,kCAAkC,EAClC,iBAAiB,EACjB,cAAc,EACd,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,kBAAkB,GACnB,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,SAAS,EACT,eAAe,EACf,qBAAqB,GACtB,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,6 @@
1
+ export { createLumalAdmin, } from './app';
2
+ export type { CreateLumalAdminOptions, LumalAdminContext, LumalAdminInstance, } from './app';
3
+ export * from './dictionary';
4
+ export * from './exports/components';
5
+ export * from './router';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,GACjB,MAAM,OAAO,CAAA;AACd,YAAY,EACV,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,OAAO,CAAA;AACd,cAAc,cAAc,CAAA;AAC5B,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA"}
@@ -0,0 +1,28 @@
1
+ import type { LumalLayoutMenuItem } from './types';
2
+ type __VLS_Props = {
3
+ activeMenuPath?: string;
4
+ activePath?: string;
5
+ hideOnlyOne?: boolean;
6
+ homePath?: string;
7
+ homeTitle?: string;
8
+ menus?: LumalLayoutMenuItem[];
9
+ showHome?: boolean;
10
+ showIcon?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ select: (path: string) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSelect?: ((path: string) => any) | undefined;
16
+ }>, {
17
+ activeMenuPath: string;
18
+ activePath: string;
19
+ hideOnlyOne: boolean;
20
+ homePath: string;
21
+ homeTitle: string;
22
+ menus: LumalLayoutMenuItem[];
23
+ showHome: boolean;
24
+ showIcon: boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ //# sourceMappingURL=LumalBreadcrumb.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LumalBreadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../src/layout/LumalBreadcrumb.vue"],"names":[],"mappings":"AA6NA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAYlD,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAmPF,QAAA,MAAM,YAAY;;;;;oBA3PC,MAAM;gBACV,MAAM;iBACL,OAAO;cACV,MAAM;eACL,MAAM;WACV,mBAAmB,EAAE;cAClB,OAAO;cACP,OAAO;6EAwPlB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,18 @@
1
+ import type { ComponentPublicInstance } from 'vue';
2
+ declare var __VLS_9: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_9) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<{}, {
7
+ getContentElement: () => HTMLElement | undefined;
8
+ getContentInstance: () => ComponentPublicInstance | null;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
18
+ //# sourceMappingURL=LumalContent.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LumalContent.vue.d.ts","sourceRoot":"","sources":["../../../src/layout/LumalContent.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAmDlD,QAAA,IAAuB,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;6BAjDoC,WAAW,GAAG,SAAS;;0OAmDzE,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { LumalLayoutMenuItem } from './types';
2
+ type __VLS_Props = {
3
+ maxResults?: number;
4
+ menus?: LumalLayoutMenuItem[];
5
+ placeholder?: string;
6
+ shortcut?: boolean;
7
+ };
8
+ declare function openSearch(): void;
9
+ declare function closeSearch(restoreFocus?: boolean): void;
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
11
+ close: typeof closeSearch;
12
+ open: typeof openSearch;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ select: (path: string, item: LumalLayoutMenuItem) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ onSelect?: ((path: string, item: LumalLayoutMenuItem) => any) | undefined;
17
+ }>, {
18
+ placeholder: string;
19
+ menus: LumalLayoutMenuItem[];
20
+ maxResults: number;
21
+ shortcut: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ //# sourceMappingURL=LumalGlobalSearch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LumalGlobalSearch.vue.d.ts","sourceRoot":"","sources":["../../../src/layout/LumalGlobalSearch.vue"],"names":[],"mappings":"AAwbA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AASlD,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAkDF,iBAAS,UAAU,IAAI,IAAI,CAK1B;AAED,iBAAS,WAAW,CAAC,YAAY,UAAO,GAAG,IAAI,CAK9C;AA2UD,QAAA,MAAM,YAAY;;;;;;;;iBA3YF,MAAM;WADZ,mBAAmB,EAAE;gBADhB,MAAM;cAGR,OAAO;6EA+YlB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,43 @@
1
+ import type { ComponentPublicInstance } from 'vue';
2
+ /***********************属性定义*********************/
3
+ type __VLS_Props = {
4
+ title?: string;
5
+ collapsed?: boolean;
6
+ height?: string;
7
+ mobileOnlyToggle?: boolean;
8
+ sidebarEnabled?: boolean;
9
+ toggleAfterTitle?: boolean;
10
+ };
11
+ declare var __VLS_9: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
12
+ type __VLS_Slots = {} & {
13
+ logo?: (props: typeof __VLS_9) => any;
14
+ } & {
15
+ breadcrumb?: (props: typeof __VLS_19) => any;
16
+ } & {
17
+ navigation?: (props: typeof __VLS_21) => any;
18
+ } & {
19
+ actions?: (props: typeof __VLS_23) => any;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
22
+ getHeaderElement: () => HTMLElement | undefined;
23
+ getHeaderInstance: () => ComponentPublicInstance | null;
24
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ toggleCollapse: () => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ onToggleCollapse?: (() => any) | undefined;
28
+ }>, {
29
+ height: string;
30
+ collapsed: boolean;
31
+ mobileOnlyToggle: boolean;
32
+ sidebarEnabled: boolean;
33
+ toggleAfterTitle: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
43
+ //# sourceMappingURL=LumalHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LumalHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/layout/LumalHeader.vue"],"names":[],"mappings":"AAiNA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAA;AAIlD,kDAAkD;AAClD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;AA+LF,QAAA,IAAuB,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC1G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;4BAhLkC,WAAW,GAAG,SAAS;;;;;;;YA/B9D,MAAM;eADH,OAAO;sBAEA,OAAO;oBACT,OAAO;sBACL,OAAO;6EAiN1B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}