@hostlink/nuxt-light 1.55.0 → 1.56.0

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 (218) hide show
  1. package/README.md +120 -120
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/components/L/CustomField/Add.vue +40 -42
  4. package/dist/runtime/components/L/CustomField/List.vue +5 -5
  5. package/dist/runtime/components/L/Database/create-table-dialog.vue +33 -34
  6. package/dist/runtime/components/L/Fieldset.vue +8 -11
  7. package/dist/runtime/components/L/ForgetPasswordDialog.vue +26 -27
  8. package/dist/runtime/components/L/Revision.vue +89 -93
  9. package/dist/runtime/components/L/Storage.vue +7 -7
  10. package/dist/runtime/components/L/System/Setting/authentication.d.vue.ts +1 -5
  11. package/dist/runtime/components/L/System/Setting/authentication.vue +16 -16
  12. package/dist/runtime/components/L/System/Setting/authentication.vue.d.ts +1 -5
  13. package/dist/runtime/components/L/System/Setting/developer.vue +10 -11
  14. package/dist/runtime/components/L/System/Setting/forget-password.vue +9 -9
  15. package/dist/runtime/components/L/System/Setting/general.vue +9 -9
  16. package/dist/runtime/components/L/System/Setting/mail.d.vue.ts +1 -5
  17. package/dist/runtime/components/L/System/Setting/mail.vue +28 -32
  18. package/dist/runtime/components/L/System/Setting/mail.vue.d.ts +1 -5
  19. package/dist/runtime/components/L/System/Setting/modules.d.vue.ts +1 -5
  20. package/dist/runtime/components/L/System/Setting/modules.vue +6 -6
  21. package/dist/runtime/components/L/System/Setting/modules.vue.d.ts +1 -5
  22. package/dist/runtime/components/L/System/Setting/security.d.vue.ts +1 -5
  23. package/dist/runtime/components/L/System/Setting/security.vue +38 -41
  24. package/dist/runtime/components/L/System/Setting/security.vue.d.ts +1 -5
  25. package/dist/runtime/components/L/User/eventlog.vue +5 -5
  26. package/dist/runtime/components/L/User/overview.vue +19 -19
  27. package/dist/runtime/components/L/User/userlog.vue +1 -1
  28. package/dist/runtime/components/L/ValidationInput.vue +14 -14
  29. package/dist/runtime/components/MyTest.vue +3 -3
  30. package/dist/runtime/components/l-action-btn.vue +4 -4
  31. package/dist/runtime/components/l-add-btn.vue +3 -3
  32. package/dist/runtime/components/l-alert.vue +8 -8
  33. package/dist/runtime/components/l-app-main.d.vue.ts +1 -5
  34. package/dist/runtime/components/l-app-main.vue +170 -171
  35. package/dist/runtime/components/l-app-main.vue.d.ts +1 -5
  36. package/dist/runtime/components/l-app.vue +27 -27
  37. package/dist/runtime/components/l-audit-card.vue +8 -8
  38. package/dist/runtime/components/l-back-btn.vue +6 -6
  39. package/dist/runtime/components/l-banner.d.vue.ts +1 -1
  40. package/dist/runtime/components/l-banner.vue +10 -10
  41. package/dist/runtime/components/l-banner.vue.d.ts +1 -1
  42. package/dist/runtime/components/l-bar.vue +3 -3
  43. package/dist/runtime/components/l-btn.vue +4 -4
  44. package/dist/runtime/components/l-card.d.vue.ts +1 -9
  45. package/dist/runtime/components/l-card.vue +31 -31
  46. package/dist/runtime/components/l-card.vue.d.ts +1 -9
  47. package/dist/runtime/components/l-checkbox.vue +3 -3
  48. package/dist/runtime/components/l-col.vue +5 -5
  49. package/dist/runtime/components/l-customizer.d.vue.ts +2 -2
  50. package/dist/runtime/components/l-customizer.vue +95 -96
  51. package/dist/runtime/components/l-customizer.vue.d.ts +2 -2
  52. package/dist/runtime/components/l-date-picker.d.vue.ts +1 -1
  53. package/dist/runtime/components/l-date-picker.vue +17 -17
  54. package/dist/runtime/components/l-date-picker.vue.d.ts +1 -1
  55. package/dist/runtime/components/l-delete-btn.vue +1 -1
  56. package/dist/runtime/components/l-dialog-database-field-add.vue +25 -26
  57. package/dist/runtime/components/l-drag-drop-container.vue +5 -5
  58. package/dist/runtime/components/l-drag-drop-group.vue +1 -1
  59. package/dist/runtime/components/l-drag-drop.vue +6 -6
  60. package/dist/runtime/components/l-edit-btn.vue +2 -2
  61. package/dist/runtime/components/l-editor.d.vue.ts +1 -5
  62. package/dist/runtime/components/l-editor.vue +41 -41
  63. package/dist/runtime/components/l-editor.vue.d.ts +1 -5
  64. package/dist/runtime/components/l-facebook-button.vue +2 -2
  65. package/dist/runtime/components/l-fav-menu.vue +14 -14
  66. package/dist/runtime/components/l-field.vue +3 -3
  67. package/dist/runtime/components/l-file-manager-labels.vue +11 -11
  68. package/dist/runtime/components/l-file-manager-move.vue +67 -67
  69. package/dist/runtime/components/l-file-manager-preview.vue +22 -22
  70. package/dist/runtime/components/l-file-manager.vue +245 -250
  71. package/dist/runtime/components/l-file-upload.d.vue.ts +1 -1
  72. package/dist/runtime/components/l-file-upload.vue +25 -25
  73. package/dist/runtime/components/l-file-upload.vue.d.ts +1 -1
  74. package/dist/runtime/components/l-file.d.vue.ts +1 -5
  75. package/dist/runtime/components/l-file.vue +8 -8
  76. package/dist/runtime/components/l-file.vue.d.ts +1 -5
  77. package/dist/runtime/components/l-form-dialog.vue +27 -27
  78. package/dist/runtime/components/l-form.d.vue.ts +1 -33
  79. package/dist/runtime/components/l-form.vue +11 -11
  80. package/dist/runtime/components/l-form.vue.d.ts +1 -33
  81. package/dist/runtime/components/l-group-select.vue +22 -22
  82. package/dist/runtime/components/l-icon-picker.vue +35 -38
  83. package/dist/runtime/components/l-input-select.vue +4 -4
  84. package/dist/runtime/components/l-input-xlsx.vue +30 -31
  85. package/dist/runtime/components/l-input.d.vue.ts +1 -1
  86. package/dist/runtime/components/l-input.vue +23 -23
  87. package/dist/runtime/components/l-input.vue.d.ts +1 -1
  88. package/dist/runtime/components/l-item.vue +18 -18
  89. package/dist/runtime/components/l-link.vue +3 -3
  90. package/dist/runtime/components/l-list.vue +12 -12
  91. package/dist/runtime/components/l-login.d.vue.ts +1 -5
  92. package/dist/runtime/components/l-login.vue +57 -57
  93. package/dist/runtime/components/l-login.vue.d.ts +1 -5
  94. package/dist/runtime/components/l-menu.vue +33 -34
  95. package/dist/runtime/components/l-microsoft-button.d.vue.ts +1 -11
  96. package/dist/runtime/components/l-microsoft-button.vue +68 -68
  97. package/dist/runtime/components/l-microsoft-button.vue.d.ts +1 -11
  98. package/dist/runtime/components/l-page.vue +21 -21
  99. package/dist/runtime/components/l-repeater.d.vue.ts +3 -3
  100. package/dist/runtime/components/l-repeater.vue +35 -35
  101. package/dist/runtime/components/l-repeater.vue.d.ts +3 -3
  102. package/dist/runtime/components/l-row.vue +5 -5
  103. package/dist/runtime/components/l-save-btn.vue +2 -2
  104. package/dist/runtime/components/l-select.vue +1 -1
  105. package/dist/runtime/components/l-small-box.vue +9 -9
  106. package/dist/runtime/components/l-statistic.vue +9 -9
  107. package/dist/runtime/components/l-tab.vue +10 -10
  108. package/dist/runtime/components/l-table.d.vue.ts +1 -1
  109. package/dist/runtime/components/l-table.vue +176 -190
  110. package/dist/runtime/components/l-table.vue.d.ts +1 -1
  111. package/dist/runtime/components/l-tabs.vue +9 -9
  112. package/dist/runtime/components/l-test2.vue +3 -3
  113. package/dist/runtime/components/l-time-picker.d.vue.ts +1 -1
  114. package/dist/runtime/components/l-time-picker.vue +18 -18
  115. package/dist/runtime/components/l-time-picker.vue.d.ts +1 -1
  116. package/dist/runtime/components/l-view-btn.vue +2 -2
  117. package/dist/runtime/components/user-list.vue +3 -3
  118. package/dist/runtime/composables/mytest.js +2 -2
  119. package/dist/runtime/composables/tc2sc.js +85 -85
  120. package/dist/runtime/formkit/Checkbox.d.vue.ts +0 -1
  121. package/dist/runtime/formkit/Checkbox.vue +6 -6
  122. package/dist/runtime/formkit/Checkbox.vue.d.ts +0 -1
  123. package/dist/runtime/formkit/DatePicker.d.vue.ts +0 -1
  124. package/dist/runtime/formkit/DatePicker.vue +11 -11
  125. package/dist/runtime/formkit/DatePicker.vue.d.ts +0 -1
  126. package/dist/runtime/formkit/Editor.vue +7 -7
  127. package/dist/runtime/formkit/File.d.vue.ts +0 -1
  128. package/dist/runtime/formkit/File.vue +6 -6
  129. package/dist/runtime/formkit/File.vue.d.ts +0 -1
  130. package/dist/runtime/formkit/FilePicker.d.vue.ts +0 -1
  131. package/dist/runtime/formkit/FilePicker.vue +6 -6
  132. package/dist/runtime/formkit/FilePicker.vue.d.ts +0 -1
  133. package/dist/runtime/formkit/FileUpload.d.vue.ts +0 -1
  134. package/dist/runtime/formkit/FileUpload.vue +6 -6
  135. package/dist/runtime/formkit/FileUpload.vue.d.ts +0 -1
  136. package/dist/runtime/formkit/Form.d.vue.ts +1 -3
  137. package/dist/runtime/formkit/Form.vue +11 -11
  138. package/dist/runtime/formkit/Form.vue.d.ts +1 -3
  139. package/dist/runtime/formkit/GroupSelect.d.vue.ts +0 -1
  140. package/dist/runtime/formkit/GroupSelect.vue +7 -7
  141. package/dist/runtime/formkit/GroupSelect.vue.d.ts +0 -1
  142. package/dist/runtime/formkit/Input.d.vue.ts +1 -1
  143. package/dist/runtime/formkit/Input.vue +11 -11
  144. package/dist/runtime/formkit/Input.vue.d.ts +1 -1
  145. package/dist/runtime/formkit/InputSelect.d.vue.ts +1 -1
  146. package/dist/runtime/formkit/InputSelect.vue +7 -7
  147. package/dist/runtime/formkit/InputSelect.vue.d.ts +1 -1
  148. package/dist/runtime/formkit/InputXlsx.vue +4 -4
  149. package/dist/runtime/formkit/OptionGroup.vue +5 -5
  150. package/dist/runtime/formkit/Radio.vue +4 -4
  151. package/dist/runtime/formkit/Repeater.d.vue.ts +1 -1
  152. package/dist/runtime/formkit/Repeater.vue +37 -37
  153. package/dist/runtime/formkit/Repeater.vue.d.ts +1 -1
  154. package/dist/runtime/formkit/Select.d.vue.ts +0 -1
  155. package/dist/runtime/formkit/Select.vue +6 -6
  156. package/dist/runtime/formkit/Select.vue.d.ts +0 -1
  157. package/dist/runtime/formkit/Textarea.d.vue.ts +1 -1
  158. package/dist/runtime/formkit/Textarea.vue +11 -11
  159. package/dist/runtime/formkit/Textarea.vue.d.ts +1 -1
  160. package/dist/runtime/formkit/TimePicker.d.vue.ts +0 -1
  161. package/dist/runtime/formkit/TimePicker.vue +10 -10
  162. package/dist/runtime/formkit/TimePicker.vue.d.ts +0 -1
  163. package/dist/runtime/formkit/Toggle.vue +3 -3
  164. package/dist/runtime/index.d.ts +39 -39
  165. package/dist/runtime/locales/en.json +9 -9
  166. package/dist/runtime/locales/zh-hk.json +213 -213
  167. package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue +33 -38
  168. package/dist/runtime/pages/CustomField/index.vue +12 -14
  169. package/dist/runtime/pages/EventLog/_eventlog_id/view.vue +36 -36
  170. package/dist/runtime/pages/EventLog/index.vue +7 -7
  171. package/dist/runtime/pages/FileManager/index.vue +4 -4
  172. package/dist/runtime/pages/MailLog/index.vue +18 -18
  173. package/dist/runtime/pages/Permission/add.vue +13 -13
  174. package/dist/runtime/pages/Permission/all.vue +63 -63
  175. package/dist/runtime/pages/Permission/export.vue +9 -10
  176. package/dist/runtime/pages/Permission/index.vue +4 -4
  177. package/dist/runtime/pages/Role/_name/update-child.vue +4 -4
  178. package/dist/runtime/pages/Role/add.vue +7 -7
  179. package/dist/runtime/pages/Role/add2.vue +30 -30
  180. package/dist/runtime/pages/Role/index.vue +27 -27
  181. package/dist/runtime/pages/System/database/backup.vue +72 -72
  182. package/dist/runtime/pages/System/database/check.vue +72 -72
  183. package/dist/runtime/pages/System/database/event.vue +51 -51
  184. package/dist/runtime/pages/System/database/process.vue +21 -21
  185. package/dist/runtime/pages/System/database/restore.vue +110 -110
  186. package/dist/runtime/pages/System/database/table.vue +67 -69
  187. package/dist/runtime/pages/System/fs.vue +99 -99
  188. package/dist/runtime/pages/System/index.vue +16 -18
  189. package/dist/runtime/pages/System/mailtest.vue +12 -12
  190. package/dist/runtime/pages/System/menu/index.vue +142 -144
  191. package/dist/runtime/pages/System/package.vue +11 -11
  192. package/dist/runtime/pages/System/phpinfo.vue +3 -3
  193. package/dist/runtime/pages/System/setting.vue +28 -30
  194. package/dist/runtime/pages/System/test.vue +12 -12
  195. package/dist/runtime/pages/System/view_as.vue +21 -22
  196. package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue +6 -6
  197. package/dist/runtime/pages/SystemValue/add.vue +7 -7
  198. package/dist/runtime/pages/SystemValue/index.vue +4 -4
  199. package/dist/runtime/pages/Translate/index.vue +38 -38
  200. package/dist/runtime/pages/User/_user_id/change-password.vue +17 -18
  201. package/dist/runtime/pages/User/_user_id/edit.vue +28 -28
  202. package/dist/runtime/pages/User/_user_id/update-role.vue +7 -8
  203. package/dist/runtime/pages/User/_user_id/view.vue +27 -30
  204. package/dist/runtime/pages/User/add.vue +35 -35
  205. package/dist/runtime/pages/User/index.vue +11 -11
  206. package/dist/runtime/pages/User/profile.vue +45 -46
  207. package/dist/runtime/pages/User/setting/bio-auth.vue +22 -22
  208. package/dist/runtime/pages/User/setting/favorite.vue +61 -62
  209. package/dist/runtime/pages/User/setting/index.vue +6 -6
  210. package/dist/runtime/pages/User/setting/information.vue +6 -6
  211. package/dist/runtime/pages/User/setting/menu.vue +165 -165
  212. package/dist/runtime/pages/User/setting/open_id.vue +161 -161
  213. package/dist/runtime/pages/User/setting/password.vue +19 -19
  214. package/dist/runtime/pages/User/setting/style.vue +104 -106
  215. package/dist/runtime/pages/User/setting/two-factor-auth.vue +176 -176
  216. package/dist/runtime/pages/User/setting.vue +32 -32
  217. package/dist/runtime/pages/UserLog/index.vue +4 -4
  218. package/package.json +63 -63
@@ -238,61 +238,61 @@ const facebookLogin = (accessToken) => {
238
238
  </script>
239
239
 
240
240
  <template>
241
- <q-card bordered flat style="min-width:360px" class="fixed-center">
242
- <q-card-section>
243
- <q-img :src="companyLogo" class="full-width">
244
- <template v-slot:error>
245
- <q-img src="https://raw.githubusercontent.com/HostLink/.github/master/profile/logo.webp" class="full-width" />
246
- </template>
247
- </q-img>
248
- <div class="text-h6">
249
- {{ company }}
250
- </div>
251
- <q-form ref="form1" v-if="passwordBasedEnabled">
252
- <div class="q-gutter-sm">
253
- <l-input color="primary" v-model.trim="data.username" label="Username"
254
- :rules="[(v) => !!v || $t('Username is required')]" clearable :outlined="false" stackLabel
255
- autocomplete="username">
256
- <template v-slot:prepend>
257
- <q-icon name="sym_o_person" />
258
- </template>
259
- </l-input>
260
- <l-input color="primary" v-model="data.password" label="Password" type="password" clearable show-password
261
- stackLabel :rules="[(v) => !!v || $t('Password is required')]" @keydown.enter.prevent="submit"
262
- :outlined="false" autocomplete="off">
263
- <template v-slot:prepend>
264
- <q-icon name="sym_o_lock" />
265
- </template>
266
- </l-input>
267
- <l-input color="primary" v-if="twoFactorAuthentication" v-model="data.code" label="2FA code"
268
- :rules="[(v) => !!v || $t('2FA code is required')]" type="text" clearable stackLabel :outlined="false">
269
- <template v-slot:prepend>
270
- <q-icon name="sym_o_key" />
271
- </template>
272
- </l-input>
273
- </div>
274
- </q-form>
275
- </q-card-section>
276
- <q-card-actions>
277
- <l-btn outline rounded color="primary" icon="sym_o_fingerprint" @click="bioLogin" />
278
- <l-btn label="Login" outline rounded color="primary" icon="sym_o_login" @click="submit"
279
- v-if="passwordBasedEnabled" />
280
- <l-btn label="Forget password" outline rounded color="primary" icon="sym_o_lock_reset" @click="forgetPassword"
281
- v-if="forgetPasswordEnabled" />
282
- </q-card-actions>
283
- <q-card-actions v-if="googleClientId">
284
- <div>
285
- <div id="g_id_signin"></div>
286
- </div>
287
- </q-card-actions>
288
-
289
- <q-card-actions v-if="microsoftClientId">
290
- <l-microsoft-button :client-id="microsoftClientId" :tenant-id="microsoftTenantId"
291
- @login="microsoftLogin"></l-microsoft-button>
292
- </q-card-actions>
293
-
294
- <q-card-actions v-if="facebookAppId">
295
- <l-facebook-button @login="facebookLogin" />
296
- </q-card-actions>
297
- </q-card>
241
+ <q-card bordered flat style="min-width:360px" class="fixed-center">
242
+ <q-card-section>
243
+ <q-img :src="companyLogo" class="full-width">
244
+ <template v-slot:error>
245
+ <q-img src="https://raw.githubusercontent.com/HostLink/.github/master/profile/logo.webp" class="full-width" />
246
+ </template>
247
+ </q-img>
248
+ <div class="text-h6">
249
+ {{ company }}
250
+ </div>
251
+ <q-form ref="form1" v-if="passwordBasedEnabled">
252
+ <div class="q-gutter-sm">
253
+ <l-input color="primary" v-model.trim="data.username" label="Username"
254
+ :rules="[(v) => !!v || $t('Username is required')]" clearable :outlined="false" stackLabel
255
+ autocomplete="username">
256
+ <template v-slot:prepend>
257
+ <q-icon name="sym_o_person" />
258
+ </template>
259
+ </l-input>
260
+ <l-input color="primary" v-model="data.password" label="Password" type="password" clearable show-password
261
+ stackLabel :rules="[(v) => !!v || $t('Password is required')]" @keydown.enter.prevent="submit"
262
+ :outlined="false" autocomplete="off">
263
+ <template v-slot:prepend>
264
+ <q-icon name="sym_o_lock" />
265
+ </template>
266
+ </l-input>
267
+ <l-input color="primary" v-if="twoFactorAuthentication" v-model="data.code" label="2FA code"
268
+ :rules="[(v) => !!v || $t('2FA code is required')]" type="text" clearable stackLabel :outlined="false">
269
+ <template v-slot:prepend>
270
+ <q-icon name="sym_o_key" />
271
+ </template>
272
+ </l-input>
273
+ </div>
274
+ </q-form>
275
+ </q-card-section>
276
+ <q-card-actions>
277
+ <l-btn outline rounded color="primary" icon="sym_o_fingerprint" @click="bioLogin" />
278
+ <l-btn label="Login" outline rounded color="primary" icon="sym_o_login" @click="submit"
279
+ v-if="passwordBasedEnabled" />
280
+ <l-btn label="Forget password" outline rounded color="primary" icon="sym_o_lock_reset" @click="forgetPassword"
281
+ v-if="forgetPasswordEnabled" />
282
+ </q-card-actions>
283
+ <q-card-actions v-if="googleClientId">
284
+ <div>
285
+ <div id="g_id_signin"></div>
286
+ </div>
287
+ </q-card-actions>
288
+
289
+ <q-card-actions v-if="microsoftClientId">
290
+ <l-microsoft-button :client-id="microsoftClientId" :tenant-id="microsoftTenantId"
291
+ @login="microsoftLogin"></l-microsoft-button>
292
+ </q-card-actions>
293
+
294
+ <q-card-actions v-if="facebookAppId">
295
+ <l-facebook-button @login="facebookLogin" />
296
+ </q-card-actions>
297
+ </q-card>
298
298
  </template>
@@ -9,10 +9,6 @@ export interface LLoginProps {
9
9
  microsoftTenantId?: string;
10
10
  facebookAppId?: string;
11
11
  }
12
- declare const __VLS_export: import("vue").DefineComponent<LLoginProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- login: (...args: any[]) => void;
14
- }, string, import("vue").PublicProps, Readonly<LLoginProps> & Readonly<{
15
- onLogin?: ((...args: any[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: import("vue").DefineComponent<LLoginProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
13
  declare const _default: typeof __VLS_export;
18
14
  export default _default;
@@ -44,38 +44,37 @@ const hasChildLink = () => {
44
44
  </style>
45
45
 
46
46
  <template>
47
- <q-list class="menu-list" :dense="dense">
48
- <template v-for="menu in value">
49
-
50
- <q-expansion-item :default-opened="hasLink(menu)" :label="$t(menu.label)" :icon="menu.icon" :dense="dense"
51
- v-if="isShowExpansionItem(menu)" :group="group">
52
- <l-menu class="q-pl-md" :value="menu.children" :dense="dense"></l-menu>
53
- </q-expansion-item>
54
-
55
- <template v-else>
56
- <q-separator v-if="menu.type == 'separator'" :spaced="menu.spaced" />
57
- <q-item-label header v-if="menu.type == 'header'">{{ menu.label }}</q-item-label>
58
- <template v-if="menu.to && (menu.to.startsWith('http://') || menu.to.startsWith('https://'))">
59
- <q-item v-ripple :href="menu.to" v-if="!value.type" target="_blank">
60
- <q-item-section avatar>
61
- <q-icon :name="menu.icon" />
62
- </q-item-section>
63
- <q-item-section>{{ $t(menu.label) }}</q-item-section>
64
- </q-item>
65
- </template>
66
-
67
- <template v-else>
68
- <q-item v-ripple :to="menu.to" v-if="!value.type">
69
- <q-item-section avatar>
70
- <q-icon :name="menu.icon" />
71
- </q-item-section>
72
- <q-item-section>{{ $t(menu.label) }}</q-item-section>
73
- </q-item>
74
- </template>
75
-
76
-
77
- </template>
78
-
79
- </template>
80
- </q-list>
47
+ <q-list class="menu-list" :dense="dense">
48
+ <template v-for="menu in value">
49
+
50
+ <q-expansion-item :default-opened="hasLink(menu)" :label="$t(menu.label)" :icon="menu.icon" :dense="dense"
51
+ v-if="isShowExpansionItem(menu)" :group="group">
52
+ <l-menu class="q-pl-md" :value="menu.children" :dense="dense"></l-menu>
53
+ </q-expansion-item>
54
+
55
+ <template v-else>
56
+ <q-separator v-if="menu.type == 'separator'" :spaced="menu.spaced" />
57
+ <q-item-label header v-if="menu.type == 'header'">{{ menu.label }}</q-item-label>
58
+ <template v-if="menu.to && (menu.to.startsWith('http://') || menu.to.startsWith('https://'))">
59
+ <q-item v-ripple :href="menu.to" v-if="!value.type" target="_blank">
60
+ <q-item-section avatar>
61
+ <q-icon :name="menu.icon" />
62
+ </q-item-section>
63
+ <q-item-section>{{ $t(menu.label) }}</q-item-section>
64
+ </q-item>
65
+ </template>
66
+
67
+ <template v-else>
68
+ <q-item v-ripple :to="menu.to" v-if="!value.type">
69
+ <q-item-section avatar>
70
+ <q-icon :name="menu.icon" />
71
+ </q-item-section>
72
+ <q-item-section>{{ $t(menu.label) }}</q-item-section>
73
+ </q-item>
74
+ </template>
75
+
76
+ </template>
77
+
78
+ </template>
79
+ </q-list>
81
80
  </template>
@@ -4,16 +4,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
4
4
  required: true;
5
5
  };
6
6
  tenantId: StringConstructor;
7
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- login: (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
- clientId: {
11
- type: StringConstructor;
12
- required: true;
13
- };
14
- tenantId: StringConstructor;
15
- }>> & Readonly<{
16
- onLogin?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
8
  declare const _default: typeof __VLS_export;
19
9
  export default _default;
@@ -39,72 +39,72 @@ const onClick = async () => {
39
39
  </script>
40
40
 
41
41
  <template>
42
- <a @click="onClick" class="cursor-pointer">
43
- <svg xmlns="http://www.w3.org/2000/svg" width="215" height="41" viewBox="0 0 215 41">
44
- <title>MS-SymbolLockup</title>
45
- <rect width="215" height="41" fill="#fff" />
46
- <path d="M214,1V40H1V1H214m1-1H0V41H215V0Z" fill="#8c8c8c" />
47
- <path
48
- d="M45.812,25.082V23.288a2.849,2.849,0,0,0,.576.4,4.5,4.5,0,0,0,.707.3,5.513,5.513,0,0,0,.747.187,3.965,3.965,0,0,0,.688.065,2.937,2.937,0,0,0,1.637-.365,1.2,1.2,0,0,0,.538-1.062,1.16,1.16,0,0,0-.179-.649,1.928,1.928,0,0,0-.5-.5,5.355,5.355,0,0,0-.757-.435q-.437-.209-.935-.436c-.356-.19-.687-.383-1-.578a4.358,4.358,0,0,1-.8-.648,2.728,2.728,0,0,1-.534-.8,2.6,2.6,0,0,1-.194-1.047,2.416,2.416,0,0,1,.333-1.285,2.811,2.811,0,0,1,.879-.9,4.026,4.026,0,0,1,1.242-.528,5.922,5.922,0,0,1,1.42-.172,5.715,5.715,0,0,1,2.4.374v1.721a3.832,3.832,0,0,0-2.3-.645,4.106,4.106,0,0,0-.773.074,2.348,2.348,0,0,0-.689.241,1.5,1.5,0,0,0-.494.433,1.054,1.054,0,0,0-.19.637,1.211,1.211,0,0,0,.146.608,1.551,1.551,0,0,0,.429.468,4.276,4.276,0,0,0,.688.414c.271.134.584.28.942.436q.547.285,1.036.6a4.881,4.881,0,0,1,.856.7,3.015,3.015,0,0,1,.586.846,2.464,2.464,0,0,1,.217,1.058,2.635,2.635,0,0,1-.322,1.348,2.608,2.608,0,0,1-.868.892,3.82,3.82,0,0,1-1.257.5,6.988,6.988,0,0,1-1.5.155c-.176,0-.392-.014-.649-.04s-.518-.067-.787-.117a7.772,7.772,0,0,1-.761-.187A2.4,2.4,0,0,1,45.812,25.082Z"
49
- fill="#5e5e5e" />
50
- <path
51
- d="M55.129,16.426a1.02,1.02,0,0,1-.714-.272.89.89,0,0,1-.3-.688.916.916,0,0,1,.3-.7,1.008,1.008,0,0,1,.714-.278,1.039,1.039,0,0,1,.732.278.909.909,0,0,1,.3.7.9.9,0,0,1-.3.678A1.034,1.034,0,0,1,55.129,16.426Zm.842,9.074h-1.7V18h1.7Z"
52
- fill="#5e5e5e" />
53
- <path
54
- d="M65.017,24.9q0,4.131-4.153,4.131a6.187,6.187,0,0,1-2.556-.491V26.986a4.726,4.726,0,0,0,2.337.7,2.342,2.342,0,0,0,2.672-2.628V24.24h-.029a2.947,2.947,0,0,1-4.742.436,4.041,4.041,0,0,1-.838-2.684,4.738,4.738,0,0,1,.9-3.04,3,3,0,0,1,2.476-1.128,2.384,2.384,0,0,1,2.2,1.216h.029V18h1.7Zm-1.684-2.835v-.973a1.91,1.91,0,0,0-.524-1.352A1.718,1.718,0,0,0,61.5,19.18a1.793,1.793,0,0,0-1.512.714,3.217,3.217,0,0,0-.546,2,2.774,2.774,0,0,0,.524,1.769,1.678,1.678,0,0,0,1.387.662,1.805,1.805,0,0,0,1.429-.632A2.391,2.391,0,0,0,63.333,22.064Z"
55
- fill="#5e5e5e" />
56
- <path
57
- d="M73.908,25.5h-1.7V21.273q0-2.1-1.486-2.1a1.622,1.622,0,0,0-1.282.582,2.162,2.162,0,0,0-.5,1.469V25.5H67.229V18h1.707v1.245h.029A2.673,2.673,0,0,1,71.4,17.824a2.265,2.265,0,0,1,1.868.795,3.57,3.57,0,0,1,.644,2.3Z"
58
- fill="#5e5e5e" />
59
- <path
60
- d="M80.962,16.426a1.02,1.02,0,0,1-.714-.272.89.89,0,0,1-.3-.688.916.916,0,0,1,.3-.7,1.008,1.008,0,0,1,.714-.278,1.039,1.039,0,0,1,.732.278.909.909,0,0,1,.3.7.9.9,0,0,1-.3.678A1.034,1.034,0,0,1,80.962,16.426ZM81.8,25.5H80.1V18h1.7Z"
61
- fill="#5e5e5e" />
62
- <path
63
- d="M90.7,25.5H89V21.273q0-2.1-1.486-2.1a1.622,1.622,0,0,0-1.282.582,2.157,2.157,0,0,0-.506,1.469V25.5H84.023V18H85.73v1.245h.03a2.673,2.673,0,0,1,2.431-1.421,2.265,2.265,0,0,1,1.868.795,3.57,3.57,0,0,1,.644,2.3Z"
64
- fill="#5e5e5e" />
65
- <path
66
- d="M106.984,18l-2.212,7.5h-1.78l-1.361-5.083a3.215,3.215,0,0,1-.1-.659H101.5a3.069,3.069,0,0,1-.131.644l-1.48,5.1H98.145L95.939,18H97.7l1.363,5.405a3.16,3.16,0,0,1,.087.645H99.2a3.384,3.384,0,0,1,.117-.659L100.832,18h1.6l1.347,5.428a3.732,3.732,0,0,1,.095.644h.052a3.387,3.387,0,0,1,.11-.644L105.365,18Z"
67
- fill="#5e5e5e" />
68
- <path
69
- d="M109.1,16.426a1.018,1.018,0,0,1-.714-.272.886.886,0,0,1-.3-.688.912.912,0,0,1,.3-.7,1.006,1.006,0,0,1,.714-.278,1.039,1.039,0,0,1,.732.278.912.912,0,0,1,.3.7.9.9,0,0,1-.3.678A1.034,1.034,0,0,1,109.1,16.426Zm.841,9.074h-1.7V18h1.7Z"
70
- fill="#5e5e5e" />
71
- <path
72
- d="M116.117,25.42a2.955,2.955,0,0,1-1.31.248q-2.182,0-2.183-2.094V19.333h-1.253V18h1.253V16.264l1.7-.483V18h1.794v1.333h-1.794v3.75a1.484,1.484,0,0,0,.241.952,1.006,1.006,0,0,0,.807.285,1.167,1.167,0,0,0,.746-.248Z"
73
- fill="#5e5e5e" />
74
- <path
75
- d="M124.248,25.5h-1.7V21.4q0-2.226-1.487-2.226a1.556,1.556,0,0,0-1.26.644,2.568,2.568,0,0,0-.513,1.649V25.5h-1.707V14.4h1.707v4.849h.029a2.685,2.685,0,0,1,2.432-1.421q2.5,0,2.5,3.055Z"
76
- fill="#5e5e5e" />
77
- <path
78
- d="M141.907,25.5h-1.728V18.7q0-.835.1-2.043h-.029a6.992,6.992,0,0,1-.285.988L136.831,25.5h-1.2l-3.143-7.793a7.236,7.236,0,0,1-.277-1.047h-.029q.057.63.058,2.058V25.5h-1.611V15h2.453l2.762,7a10.884,10.884,0,0,1,.41,1.2h.036c.181-.551.327-.962.44-1.23L139.541,15h2.366Z"
79
- fill="#5e5e5e" />
80
- <path
81
- d="M145.158,16.426a1.022,1.022,0,0,1-.714-.272.89.89,0,0,1-.3-.688.916.916,0,0,1,.3-.7,1.009,1.009,0,0,1,.714-.278,1.043,1.043,0,0,1,.733.278.911.911,0,0,1,.3.7.9.9,0,0,1-.3.678A1.038,1.038,0,0,1,145.158,16.426ZM146,25.5h-1.7V18H146Z"
82
- fill="#5e5e5e" />
83
- <path
84
- d="M153.589,25.156a4.2,4.2,0,0,1-2.131.52,3.606,3.606,0,0,1-2.695-1.044,3.691,3.691,0,0,1-1.026-2.706,4.07,4.07,0,0,1,1.1-2.978,3.944,3.944,0,0,1,2.948-1.124,4.3,4.3,0,0,1,1.81.36v1.582a2.743,2.743,0,0,0-1.67-.586,2.32,2.32,0,0,0-1.766.728,2.665,2.665,0,0,0-.688,1.908,2.536,2.536,0,0,0,.648,1.838,2.3,2.3,0,0,0,1.739.674,2.716,2.716,0,0,0,1.729-.652Z"
85
- fill="#5e5e5e" />
86
- <path
87
- d="M159.625,19.619a1.4,1.4,0,0,0-.887-.242,1.513,1.513,0,0,0-1.259.682,3.04,3.04,0,0,0-.506,1.852V25.5h-1.7V18h1.7v1.545H157a2.606,2.606,0,0,1,.766-1.233,1.724,1.724,0,0,1,1.154-.444,1.432,1.432,0,0,1,.7.14Z"
88
- fill="#5e5e5e" />
89
- <path
90
- d="M164.02,25.676a3.719,3.719,0,0,1-2.773-1.051,3.8,3.8,0,0,1-1.036-2.787,3.7,3.7,0,0,1,3.991-4.014,3.6,3.6,0,0,1,2.739,1.033,3.986,3.986,0,0,1,.982,2.864,3.932,3.932,0,0,1-1.059,2.875A3.8,3.8,0,0,1,164.02,25.676Zm.08-6.5a1.938,1.938,0,0,0-1.575.7,2.913,2.913,0,0,0-.579,1.919,2.744,2.744,0,0,0,.586,1.856,1.965,1.965,0,0,0,1.568.678,1.87,1.87,0,0,0,1.542-.666,2.956,2.956,0,0,0,.538-1.9,3,3,0,0,0-.538-1.911A1.858,1.858,0,0,0,164.1,19.18Z"
91
- fill="#5e5e5e" />
92
- <path
93
- d="M169.182,25.266V23.691a3.392,3.392,0,0,0,2.1.725q1.539,0,1.538-.908a.714.714,0,0,0-.132-.436,1.241,1.241,0,0,0-.355-.318,2.784,2.784,0,0,0-.527-.25q-.3-.108-.677-.248a7.052,7.052,0,0,1-.832-.389,2.545,2.545,0,0,1-.615-.465,1.745,1.745,0,0,1-.37-.59,2.145,2.145,0,0,1-.125-.769,1.775,1.775,0,0,1,.256-.955,2.223,2.223,0,0,1,.69-.7,3.289,3.289,0,0,1,.98-.425,4.511,4.511,0,0,1,1.136-.143,5.181,5.181,0,0,1,1.86.315v1.487a3.136,3.136,0,0,0-1.816-.542,2.317,2.317,0,0,0-.582.066,1.472,1.472,0,0,0-.443.183.886.886,0,0,0-.286.282.669.669,0,0,0-.1.363.77.77,0,0,0,.1.41.93.93,0,0,0,.3.3,2.654,2.654,0,0,0,.483.234q.282.105.649.23a9.4,9.4,0,0,1,.867.4,2.886,2.886,0,0,1,.656.465,1.806,1.806,0,0,1,.417.6,2.034,2.034,0,0,1,.147.81,1.847,1.847,0,0,1-.264,1,2.205,2.205,0,0,1-.7.7,3.292,3.292,0,0,1-1.015.413,5.222,5.222,0,0,1-1.212.136A5.115,5.115,0,0,1,169.182,25.266Z"
94
- fill="#5e5e5e" />
95
- <path
96
- d="M179.443,25.676a3.717,3.717,0,0,1-2.772-1.051,3.793,3.793,0,0,1-1.036-2.787,3.7,3.7,0,0,1,3.991-4.014,3.6,3.6,0,0,1,2.739,1.033,3.986,3.986,0,0,1,.982,2.864,3.932,3.932,0,0,1-1.059,2.875A3.8,3.8,0,0,1,179.443,25.676Zm.08-6.5a1.936,1.936,0,0,0-1.574.7,2.908,2.908,0,0,0-.579,1.919,2.739,2.739,0,0,0,.586,1.856,1.964,1.964,0,0,0,1.567.678,1.868,1.868,0,0,0,1.542-.666,2.95,2.95,0,0,0,.539-1.9,2.99,2.99,0,0,0-.539-1.911A1.857,1.857,0,0,0,179.523,19.18Z"
97
- fill="#5e5e5e" />
98
- <path
99
- d="M189.067,15.781a1.533,1.533,0,0,0-.784-.2q-1.237,0-1.237,1.4V18h1.743v1.333h-1.736V25.5h-1.7V19.333h-1.282V18h1.282V16.784a2.362,2.362,0,0,1,.777-1.871,2.82,2.82,0,0,1,1.94-.684,2.879,2.879,0,0,1,1,.138Z"
100
- fill="#5e5e5e" />
101
- <path
102
- d="M194.23,25.42a2.955,2.955,0,0,1-1.31.248q-2.182,0-2.183-2.094V19.333h-1.253V18h1.253V16.264l1.7-.483V18h1.793v1.333h-1.793v3.75a1.484,1.484,0,0,0,.241.952,1,1,0,0,0,.806.285,1.165,1.165,0,0,0,.746-.248Z"
103
- fill="#5e5e5e" />
104
- <rect x="13" y="11" width="9" height="9" fill="#f25022" />
105
- <rect x="13" y="21" width="9" height="9" fill="#00a4ef" />
106
- <rect x="23" y="11" width="9" height="9" fill="#7fba00" />
107
- <rect x="23" y="21" width="9" height="9" fill="#ffb900" />
108
- </svg>
109
- </a>
42
+ <a @click="onClick" class="cursor-pointer">
43
+ <svg xmlns="http://www.w3.org/2000/svg" width="215" height="41" viewBox="0 0 215 41">
44
+ <title>MS-SymbolLockup</title>
45
+ <rect width="215" height="41" fill="#fff" />
46
+ <path d="M214,1V40H1V1H214m1-1H0V41H215V0Z" fill="#8c8c8c" />
47
+ <path
48
+ d="M45.812,25.082V23.288a2.849,2.849,0,0,0,.576.4,4.5,4.5,0,0,0,.707.3,5.513,5.513,0,0,0,.747.187,3.965,3.965,0,0,0,.688.065,2.937,2.937,0,0,0,1.637-.365,1.2,1.2,0,0,0,.538-1.062,1.16,1.16,0,0,0-.179-.649,1.928,1.928,0,0,0-.5-.5,5.355,5.355,0,0,0-.757-.435q-.437-.209-.935-.436c-.356-.19-.687-.383-1-.578a4.358,4.358,0,0,1-.8-.648,2.728,2.728,0,0,1-.534-.8,2.6,2.6,0,0,1-.194-1.047,2.416,2.416,0,0,1,.333-1.285,2.811,2.811,0,0,1,.879-.9,4.026,4.026,0,0,1,1.242-.528,5.922,5.922,0,0,1,1.42-.172,5.715,5.715,0,0,1,2.4.374v1.721a3.832,3.832,0,0,0-2.3-.645,4.106,4.106,0,0,0-.773.074,2.348,2.348,0,0,0-.689.241,1.5,1.5,0,0,0-.494.433,1.054,1.054,0,0,0-.19.637,1.211,1.211,0,0,0,.146.608,1.551,1.551,0,0,0,.429.468,4.276,4.276,0,0,0,.688.414c.271.134.584.28.942.436q.547.285,1.036.6a4.881,4.881,0,0,1,.856.7,3.015,3.015,0,0,1,.586.846,2.464,2.464,0,0,1,.217,1.058,2.635,2.635,0,0,1-.322,1.348,2.608,2.608,0,0,1-.868.892,3.82,3.82,0,0,1-1.257.5,6.988,6.988,0,0,1-1.5.155c-.176,0-.392-.014-.649-.04s-.518-.067-.787-.117a7.772,7.772,0,0,1-.761-.187A2.4,2.4,0,0,1,45.812,25.082Z"
49
+ fill="#5e5e5e" />
50
+ <path
51
+ d="M55.129,16.426a1.02,1.02,0,0,1-.714-.272.89.89,0,0,1-.3-.688.916.916,0,0,1,.3-.7,1.008,1.008,0,0,1,.714-.278,1.039,1.039,0,0,1,.732.278.909.909,0,0,1,.3.7.9.9,0,0,1-.3.678A1.034,1.034,0,0,1,55.129,16.426Zm.842,9.074h-1.7V18h1.7Z"
52
+ fill="#5e5e5e" />
53
+ <path
54
+ d="M65.017,24.9q0,4.131-4.153,4.131a6.187,6.187,0,0,1-2.556-.491V26.986a4.726,4.726,0,0,0,2.337.7,2.342,2.342,0,0,0,2.672-2.628V24.24h-.029a2.947,2.947,0,0,1-4.742.436,4.041,4.041,0,0,1-.838-2.684,4.738,4.738,0,0,1,.9-3.04,3,3,0,0,1,2.476-1.128,2.384,2.384,0,0,1,2.2,1.216h.029V18h1.7Zm-1.684-2.835v-.973a1.91,1.91,0,0,0-.524-1.352A1.718,1.718,0,0,0,61.5,19.18a1.793,1.793,0,0,0-1.512.714,3.217,3.217,0,0,0-.546,2,2.774,2.774,0,0,0,.524,1.769,1.678,1.678,0,0,0,1.387.662,1.805,1.805,0,0,0,1.429-.632A2.391,2.391,0,0,0,63.333,22.064Z"
55
+ fill="#5e5e5e" />
56
+ <path
57
+ d="M73.908,25.5h-1.7V21.273q0-2.1-1.486-2.1a1.622,1.622,0,0,0-1.282.582,2.162,2.162,0,0,0-.5,1.469V25.5H67.229V18h1.707v1.245h.029A2.673,2.673,0,0,1,71.4,17.824a2.265,2.265,0,0,1,1.868.795,3.57,3.57,0,0,1,.644,2.3Z"
58
+ fill="#5e5e5e" />
59
+ <path
60
+ d="M80.962,16.426a1.02,1.02,0,0,1-.714-.272.89.89,0,0,1-.3-.688.916.916,0,0,1,.3-.7,1.008,1.008,0,0,1,.714-.278,1.039,1.039,0,0,1,.732.278.909.909,0,0,1,.3.7.9.9,0,0,1-.3.678A1.034,1.034,0,0,1,80.962,16.426ZM81.8,25.5H80.1V18h1.7Z"
61
+ fill="#5e5e5e" />
62
+ <path
63
+ d="M90.7,25.5H89V21.273q0-2.1-1.486-2.1a1.622,1.622,0,0,0-1.282.582,2.157,2.157,0,0,0-.506,1.469V25.5H84.023V18H85.73v1.245h.03a2.673,2.673,0,0,1,2.431-1.421,2.265,2.265,0,0,1,1.868.795,3.57,3.57,0,0,1,.644,2.3Z"
64
+ fill="#5e5e5e" />
65
+ <path
66
+ d="M106.984,18l-2.212,7.5h-1.78l-1.361-5.083a3.215,3.215,0,0,1-.1-.659H101.5a3.069,3.069,0,0,1-.131.644l-1.48,5.1H98.145L95.939,18H97.7l1.363,5.405a3.16,3.16,0,0,1,.087.645H99.2a3.384,3.384,0,0,1,.117-.659L100.832,18h1.6l1.347,5.428a3.732,3.732,0,0,1,.095.644h.052a3.387,3.387,0,0,1,.11-.644L105.365,18Z"
67
+ fill="#5e5e5e" />
68
+ <path
69
+ d="M109.1,16.426a1.018,1.018,0,0,1-.714-.272.886.886,0,0,1-.3-.688.912.912,0,0,1,.3-.7,1.006,1.006,0,0,1,.714-.278,1.039,1.039,0,0,1,.732.278.912.912,0,0,1,.3.7.9.9,0,0,1-.3.678A1.034,1.034,0,0,1,109.1,16.426Zm.841,9.074h-1.7V18h1.7Z"
70
+ fill="#5e5e5e" />
71
+ <path
72
+ d="M116.117,25.42a2.955,2.955,0,0,1-1.31.248q-2.182,0-2.183-2.094V19.333h-1.253V18h1.253V16.264l1.7-.483V18h1.794v1.333h-1.794v3.75a1.484,1.484,0,0,0,.241.952,1.006,1.006,0,0,0,.807.285,1.167,1.167,0,0,0,.746-.248Z"
73
+ fill="#5e5e5e" />
74
+ <path
75
+ d="M124.248,25.5h-1.7V21.4q0-2.226-1.487-2.226a1.556,1.556,0,0,0-1.26.644,2.568,2.568,0,0,0-.513,1.649V25.5h-1.707V14.4h1.707v4.849h.029a2.685,2.685,0,0,1,2.432-1.421q2.5,0,2.5,3.055Z"
76
+ fill="#5e5e5e" />
77
+ <path
78
+ d="M141.907,25.5h-1.728V18.7q0-.835.1-2.043h-.029a6.992,6.992,0,0,1-.285.988L136.831,25.5h-1.2l-3.143-7.793a7.236,7.236,0,0,1-.277-1.047h-.029q.057.63.058,2.058V25.5h-1.611V15h2.453l2.762,7a10.884,10.884,0,0,1,.41,1.2h.036c.181-.551.327-.962.44-1.23L139.541,15h2.366Z"
79
+ fill="#5e5e5e" />
80
+ <path
81
+ d="M145.158,16.426a1.022,1.022,0,0,1-.714-.272.89.89,0,0,1-.3-.688.916.916,0,0,1,.3-.7,1.009,1.009,0,0,1,.714-.278,1.043,1.043,0,0,1,.733.278.911.911,0,0,1,.3.7.9.9,0,0,1-.3.678A1.038,1.038,0,0,1,145.158,16.426ZM146,25.5h-1.7V18H146Z"
82
+ fill="#5e5e5e" />
83
+ <path
84
+ d="M153.589,25.156a4.2,4.2,0,0,1-2.131.52,3.606,3.606,0,0,1-2.695-1.044,3.691,3.691,0,0,1-1.026-2.706,4.07,4.07,0,0,1,1.1-2.978,3.944,3.944,0,0,1,2.948-1.124,4.3,4.3,0,0,1,1.81.36v1.582a2.743,2.743,0,0,0-1.67-.586,2.32,2.32,0,0,0-1.766.728,2.665,2.665,0,0,0-.688,1.908,2.536,2.536,0,0,0,.648,1.838,2.3,2.3,0,0,0,1.739.674,2.716,2.716,0,0,0,1.729-.652Z"
85
+ fill="#5e5e5e" />
86
+ <path
87
+ d="M159.625,19.619a1.4,1.4,0,0,0-.887-.242,1.513,1.513,0,0,0-1.259.682,3.04,3.04,0,0,0-.506,1.852V25.5h-1.7V18h1.7v1.545H157a2.606,2.606,0,0,1,.766-1.233,1.724,1.724,0,0,1,1.154-.444,1.432,1.432,0,0,1,.7.14Z"
88
+ fill="#5e5e5e" />
89
+ <path
90
+ d="M164.02,25.676a3.719,3.719,0,0,1-2.773-1.051,3.8,3.8,0,0,1-1.036-2.787,3.7,3.7,0,0,1,3.991-4.014,3.6,3.6,0,0,1,2.739,1.033,3.986,3.986,0,0,1,.982,2.864,3.932,3.932,0,0,1-1.059,2.875A3.8,3.8,0,0,1,164.02,25.676Zm.08-6.5a1.938,1.938,0,0,0-1.575.7,2.913,2.913,0,0,0-.579,1.919,2.744,2.744,0,0,0,.586,1.856,1.965,1.965,0,0,0,1.568.678,1.87,1.87,0,0,0,1.542-.666,2.956,2.956,0,0,0,.538-1.9,3,3,0,0,0-.538-1.911A1.858,1.858,0,0,0,164.1,19.18Z"
91
+ fill="#5e5e5e" />
92
+ <path
93
+ d="M169.182,25.266V23.691a3.392,3.392,0,0,0,2.1.725q1.539,0,1.538-.908a.714.714,0,0,0-.132-.436,1.241,1.241,0,0,0-.355-.318,2.784,2.784,0,0,0-.527-.25q-.3-.108-.677-.248a7.052,7.052,0,0,1-.832-.389,2.545,2.545,0,0,1-.615-.465,1.745,1.745,0,0,1-.37-.59,2.145,2.145,0,0,1-.125-.769,1.775,1.775,0,0,1,.256-.955,2.223,2.223,0,0,1,.69-.7,3.289,3.289,0,0,1,.98-.425,4.511,4.511,0,0,1,1.136-.143,5.181,5.181,0,0,1,1.86.315v1.487a3.136,3.136,0,0,0-1.816-.542,2.317,2.317,0,0,0-.582.066,1.472,1.472,0,0,0-.443.183.886.886,0,0,0-.286.282.669.669,0,0,0-.1.363.77.77,0,0,0,.1.41.93.93,0,0,0,.3.3,2.654,2.654,0,0,0,.483.234q.282.105.649.23a9.4,9.4,0,0,1,.867.4,2.886,2.886,0,0,1,.656.465,1.806,1.806,0,0,1,.417.6,2.034,2.034,0,0,1,.147.81,1.847,1.847,0,0,1-.264,1,2.205,2.205,0,0,1-.7.7,3.292,3.292,0,0,1-1.015.413,5.222,5.222,0,0,1-1.212.136A5.115,5.115,0,0,1,169.182,25.266Z"
94
+ fill="#5e5e5e" />
95
+ <path
96
+ d="M179.443,25.676a3.717,3.717,0,0,1-2.772-1.051,3.793,3.793,0,0,1-1.036-2.787,3.7,3.7,0,0,1,3.991-4.014,3.6,3.6,0,0,1,2.739,1.033,3.986,3.986,0,0,1,.982,2.864,3.932,3.932,0,0,1-1.059,2.875A3.8,3.8,0,0,1,179.443,25.676Zm.08-6.5a1.936,1.936,0,0,0-1.574.7,2.908,2.908,0,0,0-.579,1.919,2.739,2.739,0,0,0,.586,1.856,1.964,1.964,0,0,0,1.567.678,1.868,1.868,0,0,0,1.542-.666,2.95,2.95,0,0,0,.539-1.9,2.99,2.99,0,0,0-.539-1.911A1.857,1.857,0,0,0,179.523,19.18Z"
97
+ fill="#5e5e5e" />
98
+ <path
99
+ d="M189.067,15.781a1.533,1.533,0,0,0-.784-.2q-1.237,0-1.237,1.4V18h1.743v1.333h-1.736V25.5h-1.7V19.333h-1.282V18h1.282V16.784a2.362,2.362,0,0,1,.777-1.871,2.82,2.82,0,0,1,1.94-.684,2.879,2.879,0,0,1,1,.138Z"
100
+ fill="#5e5e5e" />
101
+ <path
102
+ d="M194.23,25.42a2.955,2.955,0,0,1-1.31.248q-2.182,0-2.183-2.094V19.333h-1.253V18h1.253V16.264l1.7-.483V18h1.793v1.333h-1.793v3.75a1.484,1.484,0,0,0,.241.952,1,1,0,0,0,.806.285,1.165,1.165,0,0,0,.746-.248Z"
103
+ fill="#5e5e5e" />
104
+ <rect x="13" y="11" width="9" height="9" fill="#f25022" />
105
+ <rect x="13" y="21" width="9" height="9" fill="#00a4ef" />
106
+ <rect x="23" y="11" width="9" height="9" fill="#7fba00" />
107
+ <rect x="23" y="21" width="9" height="9" fill="#ffb900" />
108
+ </svg>
109
+ </a>
110
110
  </template>
@@ -4,16 +4,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
4
4
  required: true;
5
5
  };
6
6
  tenantId: StringConstructor;
7
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- login: (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
- clientId: {
11
- type: StringConstructor;
12
- required: true;
13
- };
14
- tenantId: StringConstructor;
15
- }>> & Readonly<{
16
- onLogin?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
8
  declare const _default: typeof __VLS_export;
19
9
  export default _default;
@@ -61,25 +61,25 @@ const lastPart = computed(() => {
61
61
  </script>
62
62
 
63
63
  <template>
64
- <q-page :padding="padding" class="q-pt-sm">
65
- <q-toolbar v-if="showToolbar">
66
- <l-back-btn v-if="backBtn" dense />
67
- <l-add-btn v-if="addBtn" dense />
68
- <l-edit-btn v-if="editBtn" dense />
69
- <l-delete-btn v-if="deleteBtn" @submit="onDelete" dense />
70
- <q-toolbar-title>{{ $t(title) }}</q-toolbar-title>
71
- <q-breadcrumbs v-if="breadcrumbs">
72
- <q-breadcrumbs-el :label="$t('Home')" to="/" icon="home" />
73
- <q-breadcrumbs-el :label="$t(title)" :to="'/' + route.path.split('/')[1]"
74
- v-if="route.path.split('/')[1]" />
75
- <q-breadcrumbs-el v-if="lastPart" :label="lastPart" :to="route.fullPath" />
76
- </q-breadcrumbs>
77
- </q-toolbar>
78
-
79
- <div :class="localClass">
80
- <slot name="header"></slot>
81
- <slot></slot>
82
- </div>
83
-
84
- </q-page>
64
+ <q-page :padding="padding" class="q-pt-sm">
65
+ <q-toolbar v-if="showToolbar">
66
+ <l-back-btn v-if="backBtn" dense />
67
+ <l-add-btn v-if="addBtn" dense />
68
+ <l-edit-btn v-if="editBtn" dense />
69
+ <l-delete-btn v-if="deleteBtn" @submit="onDelete" dense />
70
+ <q-toolbar-title>{{ $t(title) }}</q-toolbar-title>
71
+ <q-breadcrumbs v-if="breadcrumbs">
72
+ <q-breadcrumbs-el :label="$t('Home')" to="/" icon="home" />
73
+ <q-breadcrumbs-el :label="$t(title)" :to="'/' + route.path.split('/')[1]"
74
+ v-if="route.path.split('/')[1]" />
75
+ <q-breadcrumbs-el v-if="lastPart" :label="lastPart" :to="route.fullPath" />
76
+ </q-breadcrumbs>
77
+ </q-toolbar>
78
+
79
+ <div :class="localClass">
80
+ <slot name="header"></slot>
81
+ <slot></slot>
82
+ </div>
83
+
84
+ </q-page>
85
85
  </template>
@@ -18,9 +18,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
19
  type __VLS_Slots = {
20
20
  default?: ((props: {
21
- value: unknown;
22
- index: number;
23
- item: unknown;
21
+ value: any;
22
+ index: any;
23
+ item: any;
24
24
  }) => any) | undefined;
25
25
  };
26
26
  declare const emit: (event: "update:modelValue", ...args: any[]) => void;
@@ -115,39 +115,39 @@ const cursor = ref("cursor-grab");
115
115
  </style>
116
116
 
117
117
  <template>
118
- <div class="l-repeater">
119
- <q-list :bordered="bordered" :separator="separator" ref="parent">
120
- <q-item v-for="(item, index) in localValue" :key="index" :class="{ 'q-pa-xs': !dense, 'q-pa-none': dense }">
121
- <q-item-section avatar v-if="sortable">
122
- <div class="l-repeater-handle" :class="cursor" @mousedown="cursor = 'cursor-grabbing'"
123
- @mouseup="cursor = 'cursor-grab'" @mouseleave="cursor = 'cursor-grab'">
124
- <q-icon name="sym_o_drag_indicator" size="sm" />
125
- </div>
126
- </q-item-section>
127
-
128
- <q-item-section>
129
- <slot :value="localValue[index]" :index="index" :item="item"></slot>
130
- </q-item-section>
131
-
132
- <q-item-section side>
133
- <div class="column q-gutter-xs">
134
- <!-- Move up -->
135
- <q-btn type="button" @click="onMoveUp(index)" icon="sym_o_arrow_upward" color="primary"
136
- :dense="dense" flat :disable="!isAllowMoveUp(index)" size="sm" />
137
-
138
- <!-- Remove -->
139
- <q-btn type="button" @click="onRemove(index)" icon="sym_o_delete" color="negative"
140
- :dense="dense" flat :disable="!isAllowRemove" size="sm" />
141
-
142
- <!-- Move down -->
143
- <q-btn type="button" @click="onMoveDown(index)" icon="sym_o_arrow_downward" color="primary"
144
- :dense="dense" flat :disable="!isAllowMoveDown(index)" size="sm" />
145
- </div>
146
- </q-item-section>
147
- </q-item>
148
- </q-list>
149
-
150
- <q-btn @click="onAdd" :label="addLabel" icon="sym_o_add" color="primary" outline class="q-mt-sm"
151
- :disable="!isAllowAdd" :dense="dense" />
152
- </div>
118
+ <div class="l-repeater">
119
+ <q-list :bordered="bordered" :separator="separator" ref="parent">
120
+ <q-item v-for="(item, index) in localValue" :key="index" :class="{ 'q-pa-xs': !dense, 'q-pa-none': dense }">
121
+ <q-item-section avatar v-if="sortable">
122
+ <div class="l-repeater-handle" :class="cursor" @mousedown="cursor = 'cursor-grabbing'"
123
+ @mouseup="cursor = 'cursor-grab'" @mouseleave="cursor = 'cursor-grab'">
124
+ <q-icon name="sym_o_drag_indicator" size="sm" />
125
+ </div>
126
+ </q-item-section>
127
+
128
+ <q-item-section>
129
+ <slot :value="localValue[index]" :index="index" :item="item"></slot>
130
+ </q-item-section>
131
+
132
+ <q-item-section side>
133
+ <div class="column q-gutter-xs">
134
+ <!-- Move up -->
135
+ <q-btn type="button" @click="onMoveUp(index)" icon="sym_o_arrow_upward" color="primary"
136
+ :dense="dense" flat :disable="!isAllowMoveUp(index)" size="sm" />
137
+
138
+ <!-- Remove -->
139
+ <q-btn type="button" @click="onRemove(index)" icon="sym_o_delete" color="negative"
140
+ :dense="dense" flat :disable="!isAllowRemove" size="sm" />
141
+
142
+ <!-- Move down -->
143
+ <q-btn type="button" @click="onMoveDown(index)" icon="sym_o_arrow_downward" color="primary"
144
+ :dense="dense" flat :disable="!isAllowMoveDown(index)" size="sm" />
145
+ </div>
146
+ </q-item-section>
147
+ </q-item>
148
+ </q-list>
149
+
150
+ <q-btn @click="onAdd" :label="addLabel" icon="sym_o_add" color="primary" outline class="q-mt-sm"
151
+ :disable="!isAllowAdd" :dense="dense" />
152
+ </div>
153
153
  </template>
@@ -18,9 +18,9 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
19
  type __VLS_Slots = {
20
20
  default?: ((props: {
21
- value: unknown;
22
- index: number;
23
- item: unknown;
21
+ value: any;
22
+ index: any;
23
+ item: any;
24
24
  }) => any) | undefined;
25
25
  };
26
26
  declare const emit: (event: "update:modelValue", ...args: any[]) => void;
@@ -5,9 +5,9 @@ defineProps({
5
5
  </script>
6
6
 
7
7
  <template>
8
- <div>
9
- <div class="row" :class="`q-col-gutter-${gutter}`">
10
- <slot></slot>
11
- </div>
12
- </div>
8
+ <div>
9
+ <div class="row" :class="`q-col-gutter-${gutter}`">
10
+ <slot></slot>
11
+ </div>
12
+ </div>
13
13
  </template>
@@ -1,3 +1,3 @@
1
- <template>
2
- <l-btn icon="sym_o_save" label="Save" />
1
+ <template>
2
+ <l-btn icon="sym_o_save" label="Save" />
3
3
  </template>
@@ -160,5 +160,5 @@ const localClass = computed(() => {
160
160
  </script>
161
161
 
162
162
  <template>
163
- <q-select v-bind="$light.getInputProps($props)" :options="select_options" @filter="filterFn" :class="localClass" />
163
+ <q-select v-bind="$light.getInputProps($props)" :options="select_options" @filter="filterFn" :class="localClass" />
164
164
  </template>
@@ -15,13 +15,13 @@ const section_class = computed(() => {
15
15
  </script>
16
16
 
17
17
  <template>
18
- <q-item :class="item_class" class="no-wrap q-pa-none text-white">
19
- <q-item-section class="q-pa-lg q-mr-none text-white" :class="section_class" side>
20
- <q-icon :name="icon" size="2rem" />
21
- </q-item-section>
22
- <q-item-section class="q-pa-md q-ml-none">
23
- <q-item-label class="text-h6 text-white">{{ title }}</q-item-label>
24
- <q-item-label caption class="text-white">{{ subtitle }}</q-item-label>
25
- </q-item-section>
26
- </q-item>
18
+ <q-item :class="item_class" class="no-wrap q-pa-none text-white">
19
+ <q-item-section class="q-pa-lg q-mr-none text-white" :class="section_class" side>
20
+ <q-icon :name="icon" size="2rem" />
21
+ </q-item-section>
22
+ <q-item-section class="q-pa-md q-ml-none">
23
+ <q-item-label class="text-h6 text-white">{{ title }}</q-item-label>
24
+ <q-item-label caption class="text-white">{{ subtitle }}</q-item-label>
25
+ </q-item-section>
26
+ </q-item>
27
27
  </template>