@revenexx/studio-shared 0.3.3 → 0.4.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 (205) hide show
  1. package/dist/module.d.mts +7 -3
  2. package/dist/module.json +2 -2
  3. package/dist/module.mjs +10 -4
  4. package/dist/runtime/components/Dashboard/DashboardConfirmDialog.d.vue.ts +2 -1
  5. package/dist/runtime/components/Dashboard/DashboardConfirmDialog.vue +1 -1
  6. package/dist/runtime/components/Dashboard/DashboardConfirmDialog.vue.d.ts +2 -1
  7. package/dist/runtime/components/Dashboard/DashboardControls.d.vue.ts +8 -7
  8. package/dist/runtime/components/Dashboard/DashboardControls.vue.d.ts +8 -7
  9. package/dist/runtime/components/Dashboard/DashboardGrid.d.vue.ts +2 -1
  10. package/dist/runtime/components/Dashboard/DashboardGrid.vue +45 -1
  11. package/dist/runtime/components/Dashboard/DashboardGrid.vue.d.ts +2 -1
  12. package/dist/runtime/components/Dashboard/DashboardNameDialog.d.vue.ts +2 -1
  13. package/dist/runtime/components/Dashboard/DashboardNameDialog.vue +1 -1
  14. package/dist/runtime/components/Dashboard/DashboardNameDialog.vue.d.ts +2 -1
  15. package/dist/runtime/components/Dashboard/DashboardPickerDialog.d.vue.ts +2 -1
  16. package/dist/runtime/components/Dashboard/DashboardPickerDialog.vue +1 -1
  17. package/dist/runtime/components/Dashboard/DashboardPickerDialog.vue.d.ts +2 -1
  18. package/dist/runtime/components/Dashboard/DashboardShareDialog.d.vue.ts +2 -1
  19. package/dist/runtime/components/Dashboard/DashboardShareDialog.vue +1 -1
  20. package/dist/runtime/components/Dashboard/DashboardShareDialog.vue.d.ts +2 -1
  21. package/dist/runtime/components/Dashboard/DashboardTopBar.d.vue.ts +9 -4
  22. package/dist/runtime/components/Dashboard/DashboardTopBar.vue.d.ts +9 -4
  23. package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.d.vue.ts +8 -6
  24. package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.vue +1 -1
  25. package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.vue.d.ts +8 -6
  26. package/dist/runtime/components/Dashboard/DashboardWidgetFrame.d.vue.ts +5 -4
  27. package/dist/runtime/components/Dashboard/DashboardWidgetFrame.vue +14 -3
  28. package/dist/runtime/components/Dashboard/DashboardWidgetFrame.vue.d.ts +5 -4
  29. package/dist/runtime/components/Dashboard/DashboardWidgetHost.d.vue.ts +2 -1
  30. package/dist/runtime/components/Dashboard/DashboardWidgetHost.vue.d.ts +2 -1
  31. package/dist/runtime/components/Dashboard/DashboardWidgetIcon.d.vue.ts +2 -1
  32. package/dist/runtime/components/Dashboard/DashboardWidgetIcon.vue.d.ts +2 -1
  33. package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.d.vue.ts +2 -1
  34. package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.vue.d.ts +2 -1
  35. package/dist/runtime/components/Dashboard/DashboardWidgetPreview.d.vue.ts +2 -1
  36. package/dist/runtime/components/Dashboard/DashboardWidgetPreview.vue.d.ts +2 -1
  37. package/dist/runtime/components/DataTable/ColumnsMenu.d.vue.ts +2 -1
  38. package/dist/runtime/components/DataTable/ColumnsMenu.vue.d.ts +2 -1
  39. package/dist/runtime/components/DataTable/DataTable.d.vue.ts +120 -37
  40. package/dist/runtime/components/DataTable/DataTable.vue +493 -53
  41. package/dist/runtime/components/DataTable/DataTable.vue.d.ts +120 -37
  42. package/dist/runtime/components/DataTable/FacetChips.d.vue.ts +2 -1
  43. package/dist/runtime/components/DataTable/FacetChips.vue.d.ts +2 -1
  44. package/dist/runtime/components/DataTable/FacetPanel.d.vue.ts +6 -5
  45. package/dist/runtime/components/DataTable/FacetPanel.vue +57 -8
  46. package/dist/runtime/components/DataTable/FacetPanel.vue.d.ts +6 -5
  47. package/dist/runtime/components/DataTable/FilterMenu.d.vue.ts +6 -5
  48. package/dist/runtime/components/DataTable/FilterMenu.vue +5 -5
  49. package/dist/runtime/components/DataTable/FilterMenu.vue.d.ts +6 -5
  50. package/dist/runtime/components/DataTable/SavedViewsMenu.d.vue.ts +2 -1
  51. package/dist/runtime/components/DataTable/SavedViewsMenu.vue +61 -12
  52. package/dist/runtime/components/DataTable/SavedViewsMenu.vue.d.ts +2 -1
  53. package/dist/runtime/components/DataTable/SortMenu.d.vue.ts +4 -2
  54. package/dist/runtime/components/DataTable/SortMenu.vue +4 -1
  55. package/dist/runtime/components/DataTable/SortMenu.vue.d.ts +4 -2
  56. package/dist/runtime/components/DataTable/ToolbarLabelTrigger.d.vue.ts +23 -0
  57. package/dist/runtime/components/DataTable/ToolbarLabelTrigger.vue +29 -0
  58. package/dist/runtime/components/DataTable/ToolbarLabelTrigger.vue.d.ts +23 -0
  59. package/dist/runtime/components/DataTable/ViewModeSwitch.d.vue.ts +4 -2
  60. package/dist/runtime/components/DataTable/ViewModeSwitch.vue.d.ts +4 -2
  61. package/dist/runtime/components/DataTable/types.d.ts +17 -0
  62. package/dist/runtime/components/Form/FieldCell.d.vue.ts +32 -0
  63. package/dist/runtime/components/Form/FieldCell.vue +46 -0
  64. package/dist/runtime/components/Form/FieldCell.vue.d.ts +32 -0
  65. package/dist/runtime/components/Form/FieldGrid.d.vue.ts +13 -0
  66. package/dist/runtime/components/Form/FieldGrid.vue +11 -0
  67. package/dist/runtime/components/Form/FieldGrid.vue.d.ts +13 -0
  68. package/dist/runtime/components/Form/FormContextCard.d.vue.ts +33 -0
  69. package/dist/runtime/components/Form/FormContextCard.vue +56 -0
  70. package/dist/runtime/components/Form/FormContextCard.vue.d.ts +33 -0
  71. package/dist/runtime/components/Form/FormLayout.d.vue.ts +47 -0
  72. package/dist/runtime/components/Form/FormLayout.vue +169 -0
  73. package/dist/runtime/components/Form/FormLayout.vue.d.ts +47 -0
  74. package/dist/runtime/components/Form/FormSection.d.vue.ts +25 -0
  75. package/dist/runtime/components/Form/FormSection.vue +48 -0
  76. package/dist/runtime/components/Form/FormSection.vue.d.ts +25 -0
  77. package/dist/runtime/components/Form/SaveBar.d.vue.ts +44 -0
  78. package/dist/runtime/components/Form/SaveBar.vue +71 -0
  79. package/dist/runtime/components/Form/SaveBar.vue.d.ts +44 -0
  80. package/dist/runtime/components/Media/MediaFolderTree.d.vue.ts +6 -5
  81. package/dist/runtime/components/Media/MediaFolderTree.vue +1 -2
  82. package/dist/runtime/components/Media/MediaFolderTree.vue.d.ts +6 -5
  83. package/dist/runtime/components/Media/MediaPickerDialog.d.vue.ts +13 -1
  84. package/dist/runtime/components/Media/MediaPickerDialog.vue +206 -54
  85. package/dist/runtime/components/Media/MediaPickerDialog.vue.d.ts +13 -1
  86. package/dist/runtime/components/Media/MediaUploader.d.vue.ts +2 -1
  87. package/dist/runtime/components/Media/MediaUploader.vue +1 -1
  88. package/dist/runtime/components/Media/MediaUploader.vue.d.ts +2 -1
  89. package/dist/runtime/components/Shared/AppIcon.d.vue.ts +21 -0
  90. package/dist/runtime/components/Shared/AppIcon.vue +47 -0
  91. package/dist/runtime/components/Shared/AppIcon.vue.d.ts +21 -0
  92. package/dist/runtime/components/Shared/BuildLogsFlyout.d.vue.ts +2 -1
  93. package/dist/runtime/components/Shared/BuildLogsFlyout.vue.d.ts +2 -1
  94. package/dist/runtime/components/Shared/CardSizeToggle.d.vue.ts +11 -0
  95. package/dist/runtime/components/Shared/CardSizeToggle.vue +19 -0
  96. package/dist/runtime/components/Shared/CardSizeToggle.vue.d.ts +11 -0
  97. package/dist/runtime/components/Shared/DetailSheet.d.vue.ts +60 -0
  98. package/dist/runtime/components/Shared/DetailSheet.vue +211 -0
  99. package/dist/runtime/components/Shared/DetailSheet.vue.d.ts +60 -0
  100. package/dist/runtime/components/Shared/EmptyNote.d.vue.ts +19 -0
  101. package/dist/runtime/components/Shared/EmptyNote.vue +25 -0
  102. package/dist/runtime/components/Shared/EmptyNote.vue.d.ts +19 -0
  103. package/dist/runtime/components/Shared/FloatingPanel.d.vue.ts +7 -6
  104. package/dist/runtime/components/Shared/FloatingPanel.vue.d.ts +7 -6
  105. package/dist/runtime/components/Shared/GitDeploymentSettings.d.vue.ts +2 -1
  106. package/dist/runtime/components/Shared/GitDeploymentSettings.vue.d.ts +2 -1
  107. package/dist/runtime/components/Shared/KpiTile.d.vue.ts +8 -1
  108. package/dist/runtime/components/Shared/KpiTile.vue +10 -9
  109. package/dist/runtime/components/Shared/KpiTile.vue.d.ts +8 -1
  110. package/dist/runtime/components/Shared/ListSurface.d.vue.ts +3 -2
  111. package/dist/runtime/components/Shared/ListSurface.vue.d.ts +3 -2
  112. package/dist/runtime/components/Shared/PageHeader.d.vue.ts +7 -6
  113. package/dist/runtime/components/Shared/PageHeader.vue +15 -4
  114. package/dist/runtime/components/Shared/PageHeader.vue.d.ts +7 -6
  115. package/dist/runtime/components/Shared/RecordLayout.d.vue.ts +8 -7
  116. package/dist/runtime/components/Shared/RecordLayout.vue +1 -2
  117. package/dist/runtime/components/Shared/RecordLayout.vue.d.ts +8 -7
  118. package/dist/runtime/components/Shared/RecordRailCard.d.vue.ts +3 -2
  119. package/dist/runtime/components/Shared/RecordRailCard.vue +3 -3
  120. package/dist/runtime/components/Shared/RecordRailCard.vue.d.ts +3 -2
  121. package/dist/runtime/components/Shared/SelectionBar.d.vue.ts +22 -0
  122. package/dist/runtime/components/Shared/SelectionBar.vue +40 -0
  123. package/dist/runtime/components/Shared/SelectionBar.vue.d.ts +22 -0
  124. package/dist/runtime/components/Shared/SidebarNav.d.vue.ts +39 -4
  125. package/dist/runtime/components/Shared/SidebarNav.vue +71 -25
  126. package/dist/runtime/components/Shared/SidebarNav.vue.d.ts +39 -4
  127. package/dist/runtime/components/Shared/SidebarNavAreas.d.vue.ts +7 -0
  128. package/dist/runtime/components/Shared/SidebarNavAreas.vue +291 -0
  129. package/dist/runtime/components/Shared/SidebarNavAreas.vue.d.ts +7 -0
  130. package/dist/runtime/components/Shared/SidebarNavLink.d.vue.ts +3 -10
  131. package/dist/runtime/components/Shared/SidebarNavLink.vue +31 -5
  132. package/dist/runtime/components/Shared/SidebarNavLink.vue.d.ts +3 -10
  133. package/dist/runtime/components/Shared/SortHeader.d.vue.ts +3 -2
  134. package/dist/runtime/components/Shared/SortHeader.vue +6 -2
  135. package/dist/runtime/components/Shared/SortHeader.vue.d.ts +3 -2
  136. package/dist/runtime/components/Shared/StateCard.d.vue.ts +6 -5
  137. package/dist/runtime/components/Shared/StateCard.vue +1 -1
  138. package/dist/runtime/components/Shared/StateCard.vue.d.ts +6 -5
  139. package/dist/runtime/components/Shared/StudioCard.d.vue.ts +5 -4
  140. package/dist/runtime/components/Shared/StudioCard.vue.d.ts +5 -4
  141. package/dist/runtime/components/Shared/TabBar.d.vue.ts +4 -21
  142. package/dist/runtime/components/Shared/TabBar.vue +30 -13
  143. package/dist/runtime/components/Shared/TabBar.vue.d.ts +4 -21
  144. package/dist/runtime/components/Shared/ViewTab.d.vue.ts +2 -1
  145. package/dist/runtime/components/Shared/ViewTab.vue.d.ts +2 -1
  146. package/dist/runtime/components/Shared/Wizard.d.vue.ts +20 -7
  147. package/dist/runtime/components/Shared/Wizard.vue +9 -5
  148. package/dist/runtime/components/Shared/Wizard.vue.d.ts +20 -7
  149. package/dist/runtime/composables/useDetailSheet.d.ts +20 -0
  150. package/dist/runtime/composables/useDetailSheet.js +50 -0
  151. package/dist/runtime/composables/useMediaLibrary.d.ts +12 -0
  152. package/dist/runtime/composables/usePlatformTenant.d.ts +6 -0
  153. package/dist/runtime/composables/useSavedViews.d.ts +11 -1
  154. package/dist/runtime/composables/useSavedViews.js +4 -4
  155. package/dist/runtime/composables/useWidgetFigures.d.ts +12 -0
  156. package/dist/runtime/composables/useWidgetFigures.js +24 -0
  157. package/dist/runtime/composables/useWidgetHeader.d.ts +15 -0
  158. package/dist/runtime/composables/useWidgetHeader.js +15 -0
  159. package/dist/runtime/lib/activeTenant.d.ts +58 -0
  160. package/dist/runtime/lib/activeTenant.js +45 -0
  161. package/dist/runtime/lib/appIcon.d.ts +48 -0
  162. package/dist/runtime/lib/appIcon.js +27 -0
  163. package/dist/runtime/lib/auditEnvelope.d.ts +43 -0
  164. package/dist/runtime/lib/auditEnvelope.js +55 -0
  165. package/dist/runtime/lib/cardSize.d.ts +13 -0
  166. package/dist/runtime/lib/cardSize.js +20 -0
  167. package/dist/runtime/lib/dashboardIcons.js +2 -0
  168. package/dist/runtime/lib/dataTableFilters.d.ts +22 -0
  169. package/dist/runtime/lib/dataTableFilters.js +5 -0
  170. package/dist/runtime/lib/detailSheet.d.ts +43 -0
  171. package/dist/runtime/lib/detailSheet.js +34 -0
  172. package/dist/runtime/lib/facets.d.ts +13 -0
  173. package/dist/runtime/lib/formLayout.d.ts +164 -0
  174. package/dist/runtime/lib/formLayout.js +117 -0
  175. package/dist/runtime/lib/formLayoutContext.d.ts +26 -0
  176. package/dist/runtime/lib/formLayoutContext.js +1 -0
  177. package/dist/runtime/lib/gridTracks.d.ts +14 -1
  178. package/dist/runtime/lib/gridTracks.js +13 -2
  179. package/dist/runtime/lib/isoLists.d.ts +37 -2
  180. package/dist/runtime/lib/isoLists.js +54 -1
  181. package/dist/runtime/lib/notice.d.ts +14 -0
  182. package/dist/runtime/lib/notice.js +19 -0
  183. package/dist/runtime/lib/pageSize.d.ts +15 -0
  184. package/dist/runtime/lib/pageSize.js +26 -0
  185. package/dist/runtime/lib/rowMove.d.ts +38 -0
  186. package/dist/runtime/lib/rowMove.js +20 -0
  187. package/dist/runtime/lib/sidebarAreas.d.ts +46 -0
  188. package/dist/runtime/lib/sidebarAreas.js +25 -0
  189. package/dist/runtime/lib/sidebarNav.d.ts +21 -2
  190. package/dist/runtime/lib/sidebarNav.js +23 -4
  191. package/dist/runtime/lib/solarIconMap.d.ts +16 -0
  192. package/dist/runtime/lib/solarIconMap.js +326 -0
  193. package/dist/runtime/lib/solarIcons.d.ts +37 -0
  194. package/dist/runtime/lib/solarIcons.js +25 -0
  195. package/dist/runtime/lib/swipeToClose.d.ts +25 -0
  196. package/dist/runtime/lib/swipeToClose.js +118 -0
  197. package/dist/runtime/lib/tableExport.d.ts +31 -0
  198. package/dist/runtime/lib/tableExport.js +143 -0
  199. package/dist/runtime/lib/talkback.d.ts +5 -0
  200. package/dist/runtime/lib/talkback.js +8 -0
  201. package/dist/runtime/lib/talkbackTokenBatch.d.ts +35 -0
  202. package/dist/runtime/lib/talkbackTokenBatch.js +101 -0
  203. package/dist/runtime/types/nav.d.ts +9 -0
  204. package/dist/types.d.mts +8 -0
  205. package/package.json +4 -3
@@ -0,0 +1,326 @@
1
+ import {
2
+ AddCircle,
3
+ AddSquare,
4
+ Alarm,
5
+ Archive,
6
+ ArrowLeft,
7
+ ArrowRight,
8
+ Atom,
9
+ Backspace,
10
+ Bag,
11
+ BagCheck,
12
+ Bell,
13
+ Bill,
14
+ BillList,
15
+ Bolt,
16
+ Book,
17
+ Bookmark,
18
+ Box,
19
+ BranchingPathsUp,
20
+ Buildings,
21
+ Calculator,
22
+ Calendar,
23
+ CalendarAdd,
24
+ CalendarMark,
25
+ CalendarMinimalistic,
26
+ Card,
27
+ Cart,
28
+ CartCheck,
29
+ CartLarge,
30
+ CartPlus,
31
+ Chart,
32
+ Chart2,
33
+ ChartSquare,
34
+ ChatRound,
35
+ ChatRoundLine,
36
+ CheckCircle,
37
+ CheckRead,
38
+ CheckSquare,
39
+ ChecklistMinimalistic,
40
+ Clipboard,
41
+ ClipboardList,
42
+ ClockCircle,
43
+ CloseCircle,
44
+ Code,
45
+ Copy,
46
+ Cpu,
47
+ DangerTriangle,
48
+ Database,
49
+ Delivery,
50
+ Document,
51
+ DocumentText,
52
+ Download,
53
+ DownloadMinimalistic,
54
+ Earth,
55
+ Euro,
56
+ Eye,
57
+ File,
58
+ FileText,
59
+ Flag,
60
+ Folder,
61
+ FolderOpen,
62
+ FolderPathConnect,
63
+ Forbidden,
64
+ Gallery,
65
+ GalleryMinimalistic,
66
+ Global,
67
+ GraphDown,
68
+ GraphUp,
69
+ Hashtag,
70
+ Heart,
71
+ Help,
72
+ Home,
73
+ Hourglass,
74
+ Import,
75
+ Inbox,
76
+ InboxIn,
77
+ Key,
78
+ Layers,
79
+ Letter,
80
+ Lightbulb,
81
+ Link,
82
+ LinkBroken,
83
+ LinkBrokenMinimalistic,
84
+ LinkRound,
85
+ List,
86
+ ListCheck,
87
+ Lock,
88
+ LockKeyhole,
89
+ Logout,
90
+ MagicStick,
91
+ Magnifer,
92
+ Mailbox,
93
+ Map,
94
+ MapPoint,
95
+ MedalRibbon,
96
+ MoneyBag,
97
+ Notebook,
98
+ NotebookMinimalistic,
99
+ Palette,
100
+ Pause,
101
+ Pen,
102
+ Plain,
103
+ Play,
104
+ PlugCircle,
105
+ Pulse,
106
+ Radar,
107
+ Record,
108
+ Refresh,
109
+ RefreshCircle,
110
+ Restart,
111
+ RewindBackCircle,
112
+ Routing,
113
+ Ruler,
114
+ Scale,
115
+ Server,
116
+ Settings,
117
+ Shield,
118
+ ShieldCheck,
119
+ ShieldCross,
120
+ ShieldUser,
121
+ Shop,
122
+ Shuffle,
123
+ Snowflake,
124
+ Star,
125
+ Stars,
126
+ StopCircle,
127
+ Tag,
128
+ TagPrice,
129
+ TextField,
130
+ Ticket,
131
+ TransferHorizontal,
132
+ TrashBinMinimalistic,
133
+ TrashBinTrash,
134
+ UndoLeft,
135
+ UndoLeftRound,
136
+ Upload,
137
+ User,
138
+ UserBlock,
139
+ UserCheck,
140
+ UserCrossRounded,
141
+ UserHandUp,
142
+ UserId,
143
+ UserPlus,
144
+ UserPlusRounded,
145
+ UsersGroupRounded,
146
+ UsersGroupTwoRounded,
147
+ Wallet,
148
+ WalletMoney,
149
+ Weigher,
150
+ Widget,
151
+ Widget5
152
+ } from "#solar-icons";
153
+ export const SOLAR_ICON_MAP = {
154
+ AddCircle,
155
+ AddSquare,
156
+ Alarm,
157
+ Archive,
158
+ ArrowLeft,
159
+ ArrowRight,
160
+ Atom,
161
+ Backspace,
162
+ Bag,
163
+ BagCheck,
164
+ Bell,
165
+ Bill,
166
+ BillList,
167
+ Bolt,
168
+ Book,
169
+ Bookmark,
170
+ Box,
171
+ BranchingPathsUp,
172
+ Buildings,
173
+ Calculator,
174
+ Calendar,
175
+ CalendarAdd,
176
+ CalendarMark,
177
+ CalendarMinimalistic,
178
+ Card,
179
+ Cart,
180
+ CartCheck,
181
+ CartLarge,
182
+ CartPlus,
183
+ Chart,
184
+ Chart2,
185
+ ChartSquare,
186
+ ChatRound,
187
+ ChatRoundLine,
188
+ CheckCircle,
189
+ CheckRead,
190
+ CheckSquare,
191
+ ChecklistMinimalistic,
192
+ Clipboard,
193
+ ClipboardList,
194
+ ClockCircle,
195
+ CloseCircle,
196
+ Code,
197
+ Copy,
198
+ Cpu,
199
+ DangerTriangle,
200
+ Database,
201
+ Delivery,
202
+ Document,
203
+ DocumentText,
204
+ Download,
205
+ DownloadMinimalistic,
206
+ Earth,
207
+ Euro,
208
+ Eye,
209
+ File,
210
+ FileText,
211
+ Flag,
212
+ Folder,
213
+ FolderOpen,
214
+ FolderPathConnect,
215
+ Forbidden,
216
+ Gallery,
217
+ GalleryMinimalistic,
218
+ Global,
219
+ GraphDown,
220
+ GraphUp,
221
+ Hashtag,
222
+ Heart,
223
+ Help,
224
+ Home,
225
+ Hourglass,
226
+ Import,
227
+ Inbox,
228
+ InboxIn,
229
+ Key,
230
+ Layers,
231
+ Letter,
232
+ Lightbulb,
233
+ Link,
234
+ LinkBroken,
235
+ LinkBrokenMinimalistic,
236
+ LinkRound,
237
+ List,
238
+ ListCheck,
239
+ Lock,
240
+ LockKeyhole,
241
+ Logout,
242
+ MagicStick,
243
+ Magnifer,
244
+ Mailbox,
245
+ Map,
246
+ MapPoint,
247
+ MedalRibbon,
248
+ MoneyBag,
249
+ Notebook,
250
+ NotebookMinimalistic,
251
+ Palette,
252
+ Pause,
253
+ Pen,
254
+ Plain,
255
+ Play,
256
+ PlugCircle,
257
+ Pulse,
258
+ Radar,
259
+ Record,
260
+ Refresh,
261
+ RefreshCircle,
262
+ Restart,
263
+ RewindBackCircle,
264
+ Routing,
265
+ Ruler,
266
+ Scale,
267
+ Server,
268
+ Settings,
269
+ Shield,
270
+ ShieldCheck,
271
+ ShieldCross,
272
+ ShieldUser,
273
+ Shop,
274
+ Shuffle,
275
+ Snowflake,
276
+ Star,
277
+ Stars,
278
+ StopCircle,
279
+ Tag,
280
+ TagPrice,
281
+ TextField,
282
+ Ticket,
283
+ TransferHorizontal,
284
+ TrashBinMinimalistic,
285
+ TrashBinTrash,
286
+ UndoLeft,
287
+ UndoLeftRound,
288
+ Upload,
289
+ User,
290
+ UserBlock,
291
+ UserCheck,
292
+ UserCrossRounded,
293
+ UserHandUp,
294
+ UserId,
295
+ UserPlus,
296
+ UserPlusRounded,
297
+ UsersGroupRounded,
298
+ UsersGroupTwoRounded,
299
+ Wallet,
300
+ WalletMoney,
301
+ Weigher,
302
+ Widget,
303
+ Widget5
304
+ };
305
+ export const SOLAR_ICON_ALIASES = {
306
+ "activity": "Pulse",
307
+ "building": "Buildings",
308
+ "check": "CheckCircle",
309
+ "clock": "ClockCircle",
310
+ "edit": "Pen",
311
+ "file-search": "FileText",
312
+ "folder-tree": "FolderPathConnect",
313
+ "git-merge": "BranchingPathsUp",
314
+ "plug": "PlugCircle",
315
+ "plus": "AddCircle",
316
+ "puzzle": "Widget",
317
+ "receipt": "Bill",
318
+ "send": "Plain",
319
+ "shield-x": "ShieldCross",
320
+ "shopping-cart": "Cart",
321
+ "slash": "Forbidden",
322
+ "sparkles": "Stars",
323
+ "trending-down": "GraphDown",
324
+ "users": "UsersGroupRounded"
325
+ };
326
+ export const SOLAR_FALLBACK_ICON = Widget;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * A Solar icon by the name an app manifest uses for it (`money-bag`).
3
+ *
4
+ * The one lookup behind every surface that draws a glyph by NAME — the Apps and
5
+ * Commerce sidebars, `AppIcon`, and the Commerce renderer's tiles, buttons,
6
+ * empty states and option icons. It was copy-pasted into each of them before
7
+ * PE-560 and PE-985.
8
+ *
9
+ * The names resolve against a CLOSED map (`solarIconMap.ts`, generated by
10
+ * `scripts/icons.mjs` from the app manifests and this repo's code), not the
11
+ * whole icon set: a namespace import put all 1,413 Solar icons into the boot
12
+ * bundle, 11.66 MB of JS, for the ~130 anything asks for (PE-985).
13
+ *
14
+ * Two lookups, because callers want different things from a miss:
15
+ *
16
+ * - {@link solarIcon} returns `undefined`, for callers that have their own
17
+ * next candidate (`AppIcon` walks `manifest.icon` → nav icon → fallback);
18
+ * - {@link solarIconOrFallback} returns the generic glyph, for a spot that
19
+ * would otherwise be blank.
20
+ */
21
+ import type { Component } from 'vue';
22
+ import { SOLAR_FALLBACK_ICON } from './solarIconMap.js';
23
+ export { SOLAR_FALLBACK_ICON };
24
+ /**
25
+ * The map's export name for `name`, or null when the map has none.
26
+ *
27
+ * Accepts every spelling the consumers accepted before: kebab (`money-bag`),
28
+ * snake (`card_2`), digits (`chart-2`) and the export name itself (`Layers`).
29
+ */
30
+ export declare function solarIconKey(name: string | null | undefined): string | null;
31
+ /** The icon for `name`, or undefined — the caller picks its own fallback. */
32
+ export declare function solarIcon(name: string | null | undefined): Component | undefined;
33
+ /**
34
+ * The icon for `name`; the generic glyph for a name the map does not know;
35
+ * null only when there is no name at all (nothing was asked for).
36
+ */
37
+ export declare function solarIconOrFallback(name: string | null | undefined): Component | null;
@@ -0,0 +1,25 @@
1
+ import { SOLAR_FALLBACK_ICON, SOLAR_ICON_ALIASES, SOLAR_ICON_MAP } from "./solarIconMap.js";
2
+ import { solarExportName } from "./appIcon.js";
3
+ export { SOLAR_FALLBACK_ICON };
4
+ const warned = /* @__PURE__ */ new Set();
5
+ function reportMiss(name) {
6
+ if (!import.meta.dev || warned.has(name)) return;
7
+ warned.add(name);
8
+ console.warn(`[solarIcons] no icon "${name}" in the closed map; drawing the fallback. Run \`pnpm icons\` (scripts/icons.mjs) to add it.`);
9
+ }
10
+ export function solarIconKey(name) {
11
+ const raw = name?.trim();
12
+ if (!raw) return null;
13
+ const key = SOLAR_ICON_ALIASES[raw] ?? solarExportName(raw);
14
+ return key in SOLAR_ICON_MAP ? key : null;
15
+ }
16
+ export function solarIcon(name) {
17
+ const key = solarIconKey(name);
18
+ if (key) return SOLAR_ICON_MAP[key];
19
+ if (name?.trim()) reportMiss(name.trim());
20
+ return void 0;
21
+ }
22
+ export function solarIconOrFallback(name) {
23
+ if (!name?.trim()) return null;
24
+ return solarIcon(name) ?? SOLAR_FALLBACK_ICON;
25
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Swipe down to close a bottom sheet on the phone (Charge 2, Michael 12.10.).
3
+ *
4
+ * `v-swipe-close="close"` on any element inside a sheet: the sheet (the
5
+ * element marked `data-swipe-sheet`, else the nearest `role="dialog"`, else
6
+ * the element itself) follows the finger downwards; released past a quarter of
7
+ * its height — or flicked — it slides out and `close` runs, otherwise it snaps
8
+ * back. A drag only starts while the scroller under the finger is at its top,
9
+ * so it never fights the sheet's own scrolling. Phone widths only; on a wider
10
+ * screen the listeners do nothing.
11
+ */
12
+ import type { Directive } from 'vue';
13
+ export interface SwipeState {
14
+ cleanup: () => void;
15
+ }
16
+ /** Pure decision, exported for tests: does a drag of `dy` px in `ms` close? */
17
+ export declare function shouldClose(dy: number, ms: number, height: number): boolean;
18
+ export declare function attachSwipeToClose(el: HTMLElement, onClose: () => void): SwipeState;
19
+ type SwipeEl = HTMLElement & {
20
+ __swipeClose?: SwipeState;
21
+ __swipeHandler?: () => void;
22
+ };
23
+ /** `v-swipe-close="handler"` — see the module comment. */
24
+ export declare const vSwipeClose: Directive<SwipeEl, (() => void) | undefined>;
25
+ export {};
@@ -0,0 +1,118 @@
1
+ const PHONE = "(max-width: 767.98px)";
2
+ const CLOSE_RATIO = 0.25;
3
+ const FLICK_VELOCITY = 0.6;
4
+ function sheetOf(el) {
5
+ return el.closest("[data-swipe-sheet]") ?? el.closest('[role="dialog"]') ?? el;
6
+ }
7
+ function scrollerAt(target, sheet) {
8
+ let node = target instanceof HTMLElement ? target : null;
9
+ while (node) {
10
+ const style = getComputedStyle(node);
11
+ if (/(auto|scroll)/.test(style.overflowY) && node.scrollHeight > node.clientHeight) return node;
12
+ if (node === sheet) break;
13
+ node = node.parentElement;
14
+ }
15
+ return null;
16
+ }
17
+ export function shouldClose(dy, ms, height) {
18
+ if (dy <= 0) return false;
19
+ if (dy > height * CLOSE_RATIO) return true;
20
+ return ms > 0 && dy / ms > FLICK_VELOCITY && dy > 24;
21
+ }
22
+ export function attachSwipeToClose(el, onClose) {
23
+ let sheet = null;
24
+ let startY = 0;
25
+ let startT = 0;
26
+ let dy = 0;
27
+ let dragging = false;
28
+ let armed = false;
29
+ const reset = (animate) => {
30
+ if (!sheet) return;
31
+ sheet.style.transition = animate ? "transform 200ms ease-out" : "";
32
+ sheet.style.transform = "";
33
+ };
34
+ const onStart = (e) => {
35
+ if (!window.matchMedia(PHONE).matches || e.touches.length !== 1) return;
36
+ sheet = sheetOf(el);
37
+ const scroller = scrollerAt(e.target, sheet);
38
+ armed = !scroller || scroller.scrollTop <= 0;
39
+ if (!armed) return;
40
+ startY = e.touches[0].clientY;
41
+ startT = performance.now();
42
+ dy = 0;
43
+ dragging = false;
44
+ };
45
+ const onMove = (e) => {
46
+ if (!armed || !sheet) return;
47
+ const delta = e.touches[0].clientY - startY;
48
+ if (!dragging) {
49
+ if (delta < 6) {
50
+ if (delta < -6) armed = false;
51
+ return;
52
+ }
53
+ dragging = true;
54
+ sheet.style.transition = "none";
55
+ }
56
+ dy = Math.max(0, delta);
57
+ sheet.style.transform = `translateY(${dy}px)`;
58
+ if (e.cancelable) e.preventDefault();
59
+ };
60
+ const onEnd = () => {
61
+ if (!armed || !sheet || !dragging) {
62
+ armed = false;
63
+ return;
64
+ }
65
+ armed = false;
66
+ dragging = false;
67
+ const height = sheet.getBoundingClientRect().height || window.innerHeight;
68
+ if (shouldClose(dy, performance.now() - startT, height)) {
69
+ const s = sheet;
70
+ s.style.transition = "transform 180ms ease-in";
71
+ s.style.transform = "translateY(100%)";
72
+ window.setTimeout(() => {
73
+ onClose();
74
+ window.setTimeout(() => {
75
+ s.style.transition = "";
76
+ s.style.transform = "";
77
+ }, 350);
78
+ }, 170);
79
+ } else {
80
+ reset(true);
81
+ }
82
+ };
83
+ const host = () => sheetOf(el);
84
+ let bound = null;
85
+ const bind = () => {
86
+ bound = host();
87
+ bound.addEventListener("touchstart", onStart, { passive: true });
88
+ bound.addEventListener("touchmove", onMove, { passive: false });
89
+ bound.addEventListener("touchend", onEnd);
90
+ bound.addEventListener("touchcancel", onEnd);
91
+ };
92
+ bind();
93
+ return {
94
+ cleanup() {
95
+ if (!bound) return;
96
+ bound.removeEventListener("touchstart", onStart);
97
+ bound.removeEventListener("touchmove", onMove);
98
+ bound.removeEventListener("touchend", onEnd);
99
+ bound.removeEventListener("touchcancel", onEnd);
100
+ bound = null;
101
+ }
102
+ };
103
+ }
104
+ export const vSwipeClose = {
105
+ mounted(el, binding) {
106
+ el.__swipeHandler = binding.value;
107
+ requestAnimationFrame(() => {
108
+ el.__swipeClose = attachSwipeToClose(el, () => el.__swipeHandler?.());
109
+ });
110
+ },
111
+ updated(el, binding) {
112
+ el.__swipeHandler = binding.value;
113
+ },
114
+ beforeUnmount(el) {
115
+ el.__swipeClose?.cleanup();
116
+ delete el.__swipeClose;
117
+ }
118
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * XLSX and CSV writer for the list export (PE-1052, Michael 15.10.). Used where
3
+ * the app declares no Baseline IO export: the header's and the bulk bar's
4
+ * „Exportieren“ then write the file here — current view, all, or the
5
+ * selection, the visible columns in their order.
6
+ *
7
+ * No dependency. XLSX is a zip of five small XML files; a stored (uncompressed)
8
+ * zip is a valid one, and every spreadsheet program reads it. Pulling SheetJS
9
+ * into the shared package for one sheet of text would add 400 KB to every host
10
+ * that renders a DataTable.
11
+ */
12
+ export type ExportCell = string | number | null | undefined;
13
+ export interface ExportSheet {
14
+ headers: string[];
15
+ rows: ExportCell[][];
16
+ /** Sheet tab name, cut to Excel's 31 characters. */
17
+ sheetName?: string;
18
+ }
19
+ /**
20
+ * Semicolon-separated with a UTF-8 BOM: what German Excel opens by double
21
+ * click with umlauts and decimal commas intact. A comma-separated file opens
22
+ * there as one column.
23
+ */
24
+ export declare function toCsv(sheet: ExportSheet, sep?: string): string;
25
+ /** A1-style column letters: 0 → A, 25 → Z, 26 → AA. */
26
+ export declare function columnLetter(index: number): string;
27
+ export declare function crc32(bytes: Uint8Array): number;
28
+ export declare function toXlsx(sheet: ExportSheet): Uint8Array;
29
+ /** „Produkte 2026-10-15“ → `Produkte-2026-10-15`: safe on every file system. */
30
+ export declare function exportFileName(base: string, ext: 'csv' | 'xlsx', now?: Date): string;
31
+ export declare function downloadExport(sheet: ExportSheet, format: 'csv' | 'xlsx', fileBase: string): void;