@simitgroup/simpleapp-generator 1.6.6-i-alpha → 1.6.6-j-alpha

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 (183) hide show
  1. package/ReleaseNote.md +6 -0
  2. package/dist/buildinschemas/message.d.ts +3 -0
  3. package/dist/buildinschemas/message.d.ts.map +1 -0
  4. package/dist/buildinschemas/message.js +34 -0
  5. package/dist/buildinschemas/message.js.map +1 -0
  6. package/dist/buildinschemas/webhook.d.ts.map +1 -1
  7. package/dist/buildinschemas/webhook.js +1 -0
  8. package/dist/buildinschemas/webhook.js.map +1 -1
  9. package/dist/buildinschemas/webhookhistory.d.ts +3 -0
  10. package/dist/buildinschemas/webhookhistory.d.ts.map +1 -0
  11. package/dist/buildinschemas/webhookhistory.js +44 -0
  12. package/dist/buildinschemas/webhookhistory.js.map +1 -0
  13. package/dist/createproject.js +138 -0
  14. package/dist/createproject.js.map +1 -0
  15. package/dist/framework.d.ts.map +1 -1
  16. package/dist/framework.js +28 -3
  17. package/dist/framework.js.map +1 -1
  18. package/dist/generate-allow-changebackend.js +305 -0
  19. package/dist/generate-allow-changebackend.js.map +1 -0
  20. package/dist/index.js +0 -0
  21. package/dist/index2.js +118 -0
  22. package/dist/index2.js.map +1 -0
  23. package/dist/installdependency.js +20 -0
  24. package/dist/installdependency.js.map +1 -0
  25. package/dist/installnest.js +2 -0
  26. package/dist/installnest.js.map +1 -0
  27. package/dist/installnuxt.js +2 -0
  28. package/dist/installnuxt.js.map +1 -0
  29. package/dist/processors/groupsbuilder.js +2 -0
  30. package/dist/processors/groupsbuilder.js.map +1 -0
  31. package/dist/schematype/baseschema.js +25 -0
  32. package/dist/schematype/baseschema.js.map +1 -0
  33. package/dist/schematype/default.js +2 -0
  34. package/dist/schematype/default.js.map +1 -0
  35. package/dist/schematype/index.js +12 -0
  36. package/dist/schematype/index.js.map +1 -0
  37. package/dist/schematype/primarymasterdata.js +38 -0
  38. package/dist/schematype/primarymasterdata.js.map +1 -0
  39. package/dist/schematype/simple.js +24 -0
  40. package/dist/schematype/simple.js.map +1 -0
  41. package/dist/schematype/simplemasterdata.js +31 -0
  42. package/dist/schematype/simplemasterdata.js.map +1 -0
  43. package/dist/schematype/transaction.js +74 -0
  44. package/dist/schematype/transaction.js.map +1 -0
  45. package/package.json +1 -1
  46. package/src/buildinschemas/webhook.ts +1 -0
  47. package/src/framework.ts +31 -4
  48. package/templates/basic/nest/controller.ts.eta +6 -5
  49. package/templates/basic/nest/resolver.ts.eta +4 -2
  50. package/templates/basic/nest/service.ts.eta +5 -2
  51. package/templates/nest/src/simpleapp/generate/commons/runwebhook.service.ts.eta +99 -107
  52. package/templates/nest/src/simpleapp/generate/commons/user.context.ts.eta +2 -2
  53. package/templates/nest/src/simpleapp/generate/processors/simpleapp.processor.ts.eta +3 -15
  54. package/templates/nuxt/assets/css/style.css._eta +74 -28
  55. package/templates/nuxt/components/calendar/CalendarInput.vue.eta +1 -1
  56. package/templates/nuxt/components/calendar/CalendarSmall.vue.eta +7 -7
  57. package/templates/nuxt/components/debug/DebugDocumentData.vue.eta +2 -3
  58. package/templates/nuxt/components/header/HeaderBreadcrumb.vue.eta +3 -3
  59. package/templates/nuxt/components/header/button/task/HeaderButtonTaskList.vue.eta +2 -2
  60. package/templates/nuxt/components/list/ListDocumentTable.vue.eta +1 -1
  61. package/templates/nuxt/components/list/ListMessages.vue.eta +2 -2
  62. package/templates/nuxt/components/overlay/OverlayPanelWithToolBar.vue.eta +3 -3
  63. package/templates/nuxt/components/overlay/OverlaySideBarCrud.vue.eta +2 -2
  64. package/templates/nuxt/components/page/PageDocList.vue.eta +3 -3
  65. package/templates/nuxt/components/renderer/RendererDateAge.vue.eta +19 -0
  66. package/templates/nuxt/components/simpleApp/SimpleAppCalendarInput.vue.eta +4 -4
  67. package/templates/nuxt/components/simpleApp/SimpleAppDocumentNo.vue.eta +3 -3
  68. package/templates/nuxt/components/simpleApp/SimpleAppInput.vue.eta +2 -3
  69. package/templates/nuxt/components/simpleApp/SimpleAppJsonSchemaForm.vue.eta +2 -15
  70. package/templates/nuxt/components/user/UserButtonPermissionInfo.vue.eta +2 -2
  71. package/templates/nuxt/nuxt.config.ts._eta +6 -5
  72. package/templates/nuxt/pages/index.vue._eta +1 -1
  73. package/templates/nuxt/plugins/40.pusher.ts.eta +8 -2
  74. package/templates/nuxt/presets/lara/accordion/index.js +79 -0
  75. package/templates/nuxt/presets/lara/accordioncontent/index.js +3 -0
  76. package/templates/nuxt/presets/lara/accordionheader/index.js +11 -0
  77. package/templates/nuxt/presets/lara/accordionpanel/index.js +18 -0
  78. package/templates/nuxt/presets/lara/autocomplete/index.js +208 -0
  79. package/templates/nuxt/presets/lara/avatar/index.js +43 -0
  80. package/templates/nuxt/presets/lara/avatargroup/index.js +5 -0
  81. package/templates/nuxt/presets/lara/badge/index.js +47 -0
  82. package/templates/nuxt/presets/lara/badgedirective/index.js +43 -0
  83. package/templates/nuxt/presets/lara/blockui/index.js +4 -0
  84. package/templates/nuxt/presets/lara/breadcrumb/index.js +64 -0
  85. package/templates/nuxt/presets/lara/button/index.js +238 -0
  86. package/templates/nuxt/presets/lara/buttongroup/index.js +12 -0
  87. package/templates/nuxt/presets/lara/card/index.js +37 -0
  88. package/templates/nuxt/presets/lara/carousel/index.js +103 -0
  89. package/templates/nuxt/presets/lara/cascadeselect/index.js +199 -0
  90. package/templates/nuxt/presets/lara/checkbox/index.js +104 -0
  91. package/templates/nuxt/presets/lara/chip/index.js +42 -0
  92. package/templates/nuxt/presets/lara/colorpicker/index.js +123 -0
  93. package/templates/nuxt/presets/lara/confirmdialog/index.js +3 -0
  94. package/templates/nuxt/presets/lara/confirmpopup/index.js +56 -0
  95. package/templates/nuxt/presets/lara/contextmenu/index.js +126 -0
  96. package/templates/nuxt/presets/lara/datatable/index.js +403 -0
  97. package/templates/nuxt/presets/lara/dataview/index.js +28 -0
  98. package/templates/nuxt/presets/lara/datepicker/index.js +435 -0
  99. package/templates/nuxt/presets/lara/deferred/index.js +3 -0
  100. package/templates/nuxt/presets/lara/dialog/index.js +148 -0
  101. package/templates/nuxt/presets/lara/divider/index.js +67 -0
  102. package/templates/nuxt/presets/lara/dock/index.js +86 -0
  103. package/templates/nuxt/presets/lara/drawer/index.js +149 -0
  104. package/templates/nuxt/presets/lara/fieldset/index.js +84 -0
  105. package/templates/nuxt/presets/lara/fileupload/index.js +95 -0
  106. package/templates/nuxt/presets/lara/floatlabel/index.js +26 -0
  107. package/templates/nuxt/presets/lara/galleria/index.js +308 -0
  108. package/templates/nuxt/presets/lara/global.js +90 -0
  109. package/templates/nuxt/presets/lara/iconfield/index.js +27 -0
  110. package/templates/nuxt/presets/lara/image/index.js +206 -0
  111. package/templates/nuxt/presets/lara/index.js +234 -0
  112. package/templates/nuxt/presets/lara/inplace/index.js +27 -0
  113. package/templates/nuxt/presets/lara/inputgroup/index.js +5 -0
  114. package/templates/nuxt/presets/lara/inputgroupaddon/index.js +28 -0
  115. package/templates/nuxt/presets/lara/inputmask/index.js +39 -0
  116. package/templates/nuxt/presets/lara/inputnumber/index.js +167 -0
  117. package/templates/nuxt/presets/lara/inputotp/index.js +10 -0
  118. package/templates/nuxt/presets/lara/inputswitch/index.js +80 -0
  119. package/templates/nuxt/presets/lara/inputtext/index.js +54 -0
  120. package/templates/nuxt/presets/lara/knob/index.js +44 -0
  121. package/templates/nuxt/presets/lara/listbox/index.js +117 -0
  122. package/templates/nuxt/presets/lara/megamenu/index.js +198 -0
  123. package/templates/nuxt/presets/lara/menu/index.js +96 -0
  124. package/templates/nuxt/presets/lara/menubar/index.js +176 -0
  125. package/templates/nuxt/presets/lara/message/index.js +92 -0
  126. package/templates/nuxt/presets/lara/metergroup/index.js +96 -0
  127. package/templates/nuxt/presets/lara/multiselect/index.js +201 -0
  128. package/templates/nuxt/presets/lara/orderlist/index.js +13 -0
  129. package/templates/nuxt/presets/lara/organizationchart/index.js +137 -0
  130. package/templates/nuxt/presets/lara/overlaybadge/index.js +18 -0
  131. package/templates/nuxt/presets/lara/paginator/index.js +178 -0
  132. package/templates/nuxt/presets/lara/panel/index.js +91 -0
  133. package/templates/nuxt/presets/lara/panelmenu/index.js +127 -0
  134. package/templates/nuxt/presets/lara/password/index.js +72 -0
  135. package/templates/nuxt/presets/lara/picklist/index.js +52 -0
  136. package/templates/nuxt/presets/lara/popover/index.js +31 -0
  137. package/templates/nuxt/presets/lara/progressbar/index.js +55 -0
  138. package/templates/nuxt/presets/lara/progressspinner/index.js +51 -0
  139. package/templates/nuxt/presets/lara/radiobutton/index.js +104 -0
  140. package/templates/nuxt/presets/lara/rating/index.js +63 -0
  141. package/templates/nuxt/presets/lara/ripple/index.js +6 -0
  142. package/templates/nuxt/presets/lara/scrollpanel/index.js +77 -0
  143. package/templates/nuxt/presets/lara/scrolltop/index.js +26 -0
  144. package/templates/nuxt/presets/lara/select/index.js +240 -0
  145. package/templates/nuxt/presets/lara/selectbutton/index.js +16 -0
  146. package/templates/nuxt/presets/lara/skeleton/index.js +16 -0
  147. package/templates/nuxt/presets/lara/slider/index.js +137 -0
  148. package/templates/nuxt/presets/lara/speeddial/index.js +57 -0
  149. package/templates/nuxt/presets/lara/splitbutton/index.js +19 -0
  150. package/templates/nuxt/presets/lara/splitter/index.js +61 -0
  151. package/templates/nuxt/presets/lara/splitterpanel/index.js +5 -0
  152. package/templates/nuxt/presets/lara/step/index.js +62 -0
  153. package/templates/nuxt/presets/lara/stepitem/index.js +11 -0
  154. package/templates/nuxt/presets/lara/steplist/index.js +3 -0
  155. package/templates/nuxt/presets/lara/steppanels/index.js +3 -0
  156. package/templates/nuxt/presets/lara/stepper/index.js +13 -0
  157. package/templates/nuxt/presets/lara/steps/index.js +111 -0
  158. package/templates/nuxt/presets/lara/tab/index.js +42 -0
  159. package/templates/nuxt/presets/lara/tablist/index.js +8 -0
  160. package/templates/nuxt/presets/lara/tabmenu/index.js +73 -0
  161. package/templates/nuxt/presets/lara/tabpanel/index.js +3 -0
  162. package/templates/nuxt/presets/lara/tabpanels/index.js +3 -0
  163. package/templates/nuxt/presets/lara/tabs/index.js +5 -0
  164. package/templates/nuxt/presets/lara/tabview/index.js +156 -0
  165. package/templates/nuxt/presets/lara/tag/index.js +38 -0
  166. package/templates/nuxt/presets/lara/terminal/index.js +60 -0
  167. package/templates/nuxt/presets/lara/textarea/index.js +39 -0
  168. package/templates/nuxt/presets/lara/tieredmenu/index.js +121 -0
  169. package/templates/nuxt/presets/lara/timeline/index.js +81 -0
  170. package/templates/nuxt/presets/lara/toast/index.js +102 -0
  171. package/templates/nuxt/presets/lara/togglebutton/index.js +45 -0
  172. package/templates/nuxt/presets/lara/toggleswitch/index.js +80 -0
  173. package/templates/nuxt/presets/lara/toolbar/index.js +28 -0
  174. package/templates/nuxt/presets/lara/tooltip/index.js +46 -0
  175. package/templates/nuxt/presets/lara/tree/index.js +101 -0
  176. package/templates/nuxt/presets/lara/treeselect/index.js +102 -0
  177. package/templates/nuxt/presets/lara/treetable/index.js +305 -0
  178. package/templates/nuxt/simpleapp/generate/clients/SimpleAppClient.ts.eta +2 -16
  179. package/templates/nuxt/tailwind.config.ts._eta +4 -15
  180. package/templates/project/sharelibs/validate.ts.eta +23 -0
  181. /package/templates/nuxt/components/image/{ImageAvatar.vue.eta._vue → ImageAvatar.vue.eta} +0 -0
  182. /package/templates/nuxt/components/image/{ImageOrganization.vue.eta.vue → ImageOrganization.vue.eta} +0 -0
  183. /package/templates/nuxt/components/image/{ImageToBase64Uploader.vue.eta.vue → ImageToBase64Uploader.vue.eta} +0 -0
@@ -0,0 +1,308 @@
1
+ export default {
2
+ content: ({ parent, props }) => ({
3
+ class: [
4
+ 'flex',
5
+ {
6
+ 'flex-col': props.fullScreen
7
+ },
8
+ {
9
+ 'flex-col': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'bottom',
10
+ 'flex-row': parent.props.thumbnailsPosition === 'right' || parent.props.thumbnailsPosition === 'left'
11
+ }
12
+ ]
13
+ }),
14
+ itemsContainer: ({ parent, props }) => ({
15
+ class: [
16
+ 'group',
17
+ 'flex relative',
18
+ {
19
+ 'grow shrink w-0 justify-center': props.fullScreen
20
+ },
21
+ {
22
+ 'flex-col': parent.props.indicatorsPosition === 'bottom' || parent.props.indicatorsPosition === 'top',
23
+ 'flex-row items-center': parent.props.indicatorsPosition === 'left' || parent.props.indicatorsPosition === 'right'
24
+ },
25
+ {
26
+ 'order-2': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'left',
27
+ 'flex-row': parent.props.thumbnailsPosition === 'right'
28
+ }
29
+ ]
30
+ }),
31
+
32
+ items: ({ parent }) => ({
33
+ class: [
34
+ 'flex h-full relative',
35
+ {
36
+ 'order-1': parent.props.indicatorsPosition === 'bottom' || parent.props.indicatorsPosition === 'right',
37
+ 'order-2': parent.props.indicatorsPosition === 'top' || parent.props.indicatorsPosition === 'left'
38
+ }
39
+ ]
40
+ }),
41
+ item: {
42
+ class: [
43
+ // Flex
44
+ 'flex justify-center items-center h-full w-full',
45
+
46
+ // Sizing
47
+ 'h-full w-full'
48
+ ]
49
+ },
50
+ thumbnails: ({ parent }) => ({
51
+ class: [
52
+ // Flex
53
+ 'flex flex-col shrink-0',
54
+
55
+ {
56
+ 'order-1': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'left'
57
+ },
58
+
59
+ // Misc
60
+ 'overflow-auto'
61
+ ]
62
+ }),
63
+ thumbnailContent: ({ parent }) => ({
64
+ class: [
65
+ // Flex
66
+ 'flex',
67
+
68
+ // Spacing
69
+ 'p-4',
70
+
71
+ // Colors
72
+ 'bg-black/90',
73
+
74
+ {
75
+ 'flex-row': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'bottom',
76
+ 'flex-col grow': parent.props.thumbnailsPosition === 'right' || parent.props.thumbnailsPosition === 'left'
77
+ }
78
+ ]
79
+ }),
80
+ thumbnailPrevButton: {
81
+ class: [
82
+ // Positioning
83
+ 'self-center relative',
84
+
85
+ // Display & Flexbox
86
+ 'flex shrink-0 justify-center items-center overflow-hidden',
87
+
88
+ // Spacing
89
+ 'm-2',
90
+
91
+ // Appearance
92
+ 'bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out',
93
+
94
+ // Hover Effects
95
+ 'hover:bg-surface-0/10 hover:text-white',
96
+
97
+ // Focus Effects
98
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
99
+ ]
100
+ },
101
+ thumbnailsViewport: {
102
+ class: 'overflow-hidden w-full'
103
+ },
104
+ thumbnailItems: ({ parent }) => ({
105
+ class: [
106
+ 'flex',
107
+ {
108
+ 'flex-col h-full': parent.props.thumbnailsPosition === 'right' || parent.props.thumbnailsPosition === 'left'
109
+ }
110
+ ]
111
+ }),
112
+ thumbnailItem: ({ parent }) => ({
113
+ class: [
114
+ // Flexbox
115
+ 'flex items-center justify-center',
116
+ 'grow shrink-0',
117
+
118
+ // Sizing
119
+ {
120
+ 'w-full md:w-[25%] lg:w-[20%]': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'bottom'
121
+ },
122
+
123
+ // Misc
124
+ 'overflow-auto',
125
+ 'cursor-pointer',
126
+ 'opacity-50',
127
+
128
+ // States
129
+ '[&[data-p-active="true"]]:opacity-100',
130
+ 'hover:opacity-100',
131
+
132
+ // Transitions
133
+ 'transition-opacity duration-300'
134
+ ]
135
+ }),
136
+ thumbnailNextButton: {
137
+ class: [
138
+ // Positioning
139
+ 'self-center relative',
140
+
141
+ // Display & Flexbox
142
+ 'flex shrink-0 justify-center items-center overflow-hidden',
143
+
144
+ // Spacing
145
+ 'm-2',
146
+
147
+ // Appearance
148
+ 'bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out',
149
+
150
+ // Hover Effects
151
+ 'hover:bg-surface-0/10 hover:text-white',
152
+
153
+ // Focus Effects
154
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
155
+ ]
156
+ },
157
+ indicatorList: ({ parent }) => ({
158
+ class: [
159
+ // flex
160
+ 'flex items-center justify-center',
161
+
162
+ // Spacing
163
+ 'p-4',
164
+
165
+ // Indicators Position
166
+ {
167
+ 'order-2': parent.props.indicatorsPosition == 'bottom',
168
+ 'order-1': parent.props.indicatorsPosition == 'top',
169
+ 'order-1 flex-col': parent.props.indicatorsPosition == 'left',
170
+ 'flex-col order-2': parent.props.indicatorsPosition == 'right'
171
+ },
172
+ {
173
+ 'absolute z-10 bg-black/50': parent.props.showIndicatorsOnItem
174
+ },
175
+
176
+ {
177
+ 'bottom-0 left-0 w-full items-start': parent.props.indicatorsPosition == 'bottom' && parent.props.showIndicatorsOnItem,
178
+ 'top-0 left-0 w-full items-start': parent.props.indicatorsPosition == 'top' && parent.props.showIndicatorsOnItem,
179
+ 'left-0 top-0 h-full items-start': parent.props.indicatorsPosition == 'left' && parent.props.showIndicatorsOnItem,
180
+ 'right-0 top-0 h-full items-start': parent.props.indicatorsPosition == 'right' && parent.props.showIndicatorsOnItem
181
+ }
182
+ ]
183
+ }),
184
+ indicator: ({ parent }) => ({
185
+ class: [
186
+ {
187
+ 'mr-2': parent.props.indicatorsPosition == 'bottom' || parent.props.indicatorsPosition == 'top',
188
+ 'mb-2': parent.props.indicatorsPosition == 'left' || parent.props.indicatorsPosition == 'right'
189
+ }
190
+ ]
191
+ }),
192
+ indicatorButton: ({ context }) => ({
193
+ class: [
194
+ // Size
195
+ 'w-4 h-4',
196
+
197
+ // Appearance
198
+ 'rounded-full transition duration-200',
199
+
200
+ // Focus Effects
201
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
202
+
203
+ // Conditional Appearance: Not Highlighted
204
+ { 'bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600': !context.highlighted },
205
+
206
+ // Conditional Appearance: Highlighted
207
+ { 'bg-primary hover:bg-primary-emphasis': context.highlighted }
208
+ ]
209
+ }),
210
+ mask: {
211
+ class: ['fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black/90']
212
+ },
213
+ closeButton: {
214
+ class: [
215
+ // Positioning
216
+ '!absolute top-0 right-0',
217
+
218
+ // Display & Flexbox
219
+ 'flex justify-center items-center overflow-hidden',
220
+
221
+ // Spacing
222
+ 'm-2',
223
+
224
+ // Appearance
225
+ 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out',
226
+
227
+ // Hover Effect
228
+ 'hover:text-white hover:bg-surface-0/10',
229
+
230
+ // Focus Effects
231
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
232
+ ]
233
+ },
234
+ closeIcon: {
235
+ class: 'w-6 h-6'
236
+ },
237
+ prevButton: ({ parent }) => ({
238
+ class: [
239
+ // Display & Flexbox
240
+ 'inline-flex justify-center items-center overflow-hidden',
241
+
242
+ // Appearance
243
+ 'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md',
244
+ {
245
+ 'opacity-0 group-hover:opacity-100': parent.props.showItemNavigatorsOnHover
246
+ },
247
+
248
+ // Spacing
249
+ 'mx-2',
250
+
251
+ // Positioning
252
+ 'top-1/2 mt-[-0.5rem] left-0',
253
+ {
254
+ '!absolute': !parent.state.containerVisible && parent.props.showItemNavigators,
255
+ '!fixed': parent.state.containerVisible
256
+ },
257
+
258
+ // Hover Effect
259
+ 'hover:bg-surface-0/10 hover:text-white',
260
+
261
+ // Focus Effects
262
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
263
+ ]
264
+ }),
265
+ nextButton: ({ parent }) => ({
266
+ class: [
267
+ // Display & Flexbox
268
+ 'inline-flex justify-center items-center overflow-hidden',
269
+
270
+ // Appearance
271
+ 'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md',
272
+ {
273
+ 'opacity-0 group-hover:opacity-100': parent.props.showItemNavigatorsOnHover
274
+ },
275
+
276
+ // Spacing
277
+ 'mx-2',
278
+
279
+ // Positioning
280
+ 'top-1/2 mt-[-0.5rem] right-0',
281
+ {
282
+ '!absolute': !parent.state.containerVisible && parent.props.showItemNavigators,
283
+ '!fixed': parent.state.containerVisible
284
+ },
285
+
286
+ // Hover Effect
287
+ 'hover:bg-surface-0/10 hover:text-white',
288
+
289
+ // Focus Effects
290
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
291
+ ]
292
+ }),
293
+ caption: {
294
+ class: [
295
+ // Positioning
296
+ 'absolute bottom-0 left-0 w-full',
297
+
298
+ // Appearance
299
+ 'bg-black/50 text-white p-4'
300
+ ]
301
+ },
302
+ transition: {
303
+ enterFromClass: 'opacity-0 scale-75',
304
+ enterActiveClass: 'transition-all duration-150 ease-in-out',
305
+ leaveActiveClass: 'transition-all duration-150 ease-in',
306
+ leaveToClass: 'opacity-0 scale-75'
307
+ }
308
+ };
@@ -0,0 +1,90 @@
1
+ export default {
2
+ css: `
3
+ *[data-pd-ripple="true"]{
4
+ overflow: hidden;
5
+ position: relative;
6
+ }
7
+ span[data-p-ink-active="true"]{
8
+ animation: ripple 0.4s linear;
9
+ }
10
+ @keyframes ripple {
11
+ 100% {
12
+ opacity: 0;
13
+ transform: scale(2.5);
14
+ }
15
+ }
16
+
17
+ .progress-spinner-circle {
18
+ stroke-dasharray: 89, 200;
19
+ stroke-dashoffset: 0;
20
+ animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
21
+ stroke-linecap: round;
22
+ }
23
+
24
+ @keyframes p-progress-spinner-dash{
25
+ 0% {
26
+ stroke-dasharray: 1, 200;
27
+ stroke-dashoffset: 0;
28
+ }
29
+
30
+ 50% {
31
+ stroke-dasharray: 89, 200;
32
+ stroke-dashoffset: -35px;
33
+ }
34
+ 100% {
35
+ stroke-dasharray: 89, 200;
36
+ stroke-dashoffset: -124px;
37
+ }
38
+ }
39
+ @keyframes p-progress-spinner-color {
40
+ 100%, 0% {
41
+ stroke: #ff5757;
42
+ }
43
+ 40% {
44
+ stroke: #696cff;
45
+ }
46
+ 66% {
47
+ stroke: #1ea97c;
48
+ }
49
+ 80%, 90% {
50
+ stroke: #cc8925;
51
+ }
52
+ }
53
+
54
+ .progressbar-value-animate::after {
55
+ will-change: left, right;
56
+ animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
57
+ }
58
+ .progressbar-value-animate::before {
59
+ will-change: left, right;
60
+ animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
61
+ }
62
+ @keyframes p-progressbar-indeterminate-anim {
63
+ 0% {
64
+ left: -35%;
65
+ right: 100%;
66
+ }
67
+ 60% {
68
+ left: 100%;
69
+ right: -90%;
70
+ }
71
+ 100% {
72
+ left: 100%;
73
+ right: -90%;
74
+ }
75
+ }
76
+
77
+ .p-fadein {
78
+ animation: p-fadein 250ms linear;
79
+ }
80
+
81
+ @keyframes p-fadein {
82
+ 0% {
83
+ opacity: 0;
84
+ }
85
+ 100% {
86
+ opacity: 1;
87
+ }
88
+ }
89
+ `
90
+ };
@@ -0,0 +1,27 @@
1
+ export default {
2
+ root: {
3
+ class: [
4
+ 'relative',
5
+
6
+ '[&>[data-pc-name=inputicon]]:absolute',
7
+ '[&>[data-pc-name=inputicon]]:top-1/2',
8
+ '[&>[data-pc-name=inputicon]]:-mt-2',
9
+ '[&>[data-pc-name=inputicon]]:text-surface-900/60 dark:[&>[data-pc-name=inputicon]]:text-white/60',
10
+
11
+ '[&>[data-pc-name=inputicon]:first-child]:left-3',
12
+ '[&>[data-pc-name=inputicon]:last-child]:right-3',
13
+
14
+ '[&>[data-pc-name=inputtext]:first-child]:pr-10',
15
+ '[&>[data-pc-name=inputtext]:last-child]:pl-10',
16
+
17
+ // filter
18
+ '[&>[data-pc-extend=inputicon]]:absolute',
19
+ '[&>[data-pc-extend=inputicon]]:top-1/2',
20
+ '[&>[data-pc-extend=inputicon]]:-mt-2',
21
+ '[&>[data-pc-extend=inputicon]]:text-surface-900/60 dark:[&>[data-pc-extend=inputicon]]:text-white/60',
22
+
23
+ '[&>[data-pc-extend=inputicon]:first-child]:left-3',
24
+ '[&>[data-pc-extend=inputicon]:last-child]:right-3'
25
+ ]
26
+ }
27
+ };
@@ -0,0 +1,206 @@
1
+ export default {
2
+ root: {
3
+ class: 'relative inline-block'
4
+ },
5
+ previewMask: {
6
+ class: [
7
+ // Flexbox & Alignment
8
+ 'flex items-center justify-center',
9
+
10
+ // Positioning
11
+ 'absolute',
12
+
13
+ // Shape
14
+ 'inset-0 opacity-0 transition-opacity duration-300',
15
+
16
+ // Color
17
+ 'bg-transparent text-surface-100',
18
+
19
+ // States
20
+ 'hover:opacity-100 hover:cursor-pointer hover:bg-black/50 hover:bg-opacity-50'
21
+ ]
22
+ },
23
+ mask: {
24
+ class: [
25
+ // Flexbox & Alignment
26
+ 'flex items-center justify-center',
27
+
28
+ // Positioning
29
+ 'fixed top-0 left-0',
30
+
31
+ // Sizing
32
+ 'w-full h-full',
33
+
34
+ // Color
35
+ 'bg-black/90'
36
+ ]
37
+ },
38
+ toolbar: {
39
+ class: [
40
+ // Flexbox
41
+ 'flex',
42
+
43
+ // Positioning
44
+ 'absolute top-0 right-0',
45
+
46
+ // Spacing
47
+ 'p-4'
48
+ ]
49
+ },
50
+ rotateRightButton: {
51
+ class: [
52
+ 'z-20',
53
+
54
+ // Flexbox & Alignment
55
+ 'flex justify-center items-center',
56
+
57
+ // Size
58
+ 'w-12 h-12',
59
+
60
+ // Spacing
61
+ 'mr-2',
62
+
63
+ // Shape
64
+ 'rounded-full',
65
+
66
+ // Color
67
+ 'text-white bg-transparent',
68
+
69
+ // States
70
+ 'hover:text-white hover:bg-surface-0/10',
71
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
72
+
73
+ // Transition
74
+ 'transition duration-200 ease-in-out'
75
+ ]
76
+ },
77
+ rotateRightIcon: {
78
+ class: 'w-6 h-6'
79
+ },
80
+ rotateLeftButton: {
81
+ class: [
82
+ 'z-20',
83
+
84
+ // Flexbox & Alignment
85
+ 'flex justify-center items-center',
86
+
87
+ // Size
88
+ 'w-12 h-12',
89
+
90
+ // Spacing
91
+ 'mr-2',
92
+
93
+ // Shape
94
+ 'rounded-full',
95
+
96
+ // Color
97
+ 'text-white bg-transparent',
98
+
99
+ // States
100
+ 'hover:text-white hover:bg-surface-0/10',
101
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
102
+
103
+ // Transition
104
+ 'transition duration-200 ease-in-out'
105
+ ]
106
+ },
107
+ rotateLeftIcon: {
108
+ class: 'w-6 h-6'
109
+ },
110
+ zoomOutButton: {
111
+ class: [
112
+ 'z-20',
113
+
114
+ // Flexbox & Alignment
115
+ 'flex justify-center items-center',
116
+
117
+ // Size
118
+ 'w-12 h-12',
119
+
120
+ // Spacing
121
+ 'mr-2',
122
+
123
+ // Shape
124
+ 'rounded-full',
125
+
126
+ // Color
127
+ 'text-white bg-transparent',
128
+
129
+ // States
130
+ 'hover:text-white hover:bg-surface-0/10',
131
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
132
+
133
+ // Transition
134
+ 'transition duration-200 ease-in-out'
135
+ ]
136
+ },
137
+ zoomOutIcon: {
138
+ class: 'w-6 h-6'
139
+ },
140
+ zoomInButton: {
141
+ class: [
142
+ 'z-20',
143
+
144
+ // Flexbox & Alignment
145
+ 'flex justify-center items-center',
146
+
147
+ // Size
148
+ 'w-12 h-12',
149
+
150
+ // Spacing
151
+ 'mr-2',
152
+
153
+ // Shape
154
+ 'rounded-full',
155
+
156
+ // Color
157
+ 'text-white bg-transparent',
158
+
159
+ // States
160
+ 'hover:text-white hover:bg-surface-0/10',
161
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
162
+
163
+ // Transition
164
+ 'transition duration-200 ease-in-out'
165
+ ]
166
+ },
167
+ zoomInIcon: {
168
+ class: 'w-6 h-6'
169
+ },
170
+ closeButton: {
171
+ class: [
172
+ 'z-20',
173
+
174
+ // Flexbox & Alignment
175
+ 'flex justify-center items-center',
176
+
177
+ // Size
178
+ 'w-12 h-12',
179
+
180
+ // Spacing
181
+ 'mr-2',
182
+
183
+ // Shape
184
+ 'rounded-full',
185
+
186
+ // Color
187
+ 'text-white bg-transparent',
188
+
189
+ // States
190
+ 'hover:text-white hover:bg-surface-0/10',
191
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
192
+
193
+ // Transition
194
+ 'transition duration-200 ease-in-out'
195
+ ]
196
+ },
197
+ closeIcon: {
198
+ class: 'w-6 h-6'
199
+ },
200
+ transition: {
201
+ enterFromClass: 'opacity-0 scale-75',
202
+ enterActiveClass: 'transition-all duration-150 ease-in-out',
203
+ leaveActiveClass: 'transition-all duration-150 ease-in',
204
+ leaveToClass: 'opacity-0 scale-75'
205
+ }
206
+ };