@vc-shell/framework 1.1.5 → 1.1.6

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 (227) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/core/plugins/modularity/loader.ts +31 -0
  3. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  4. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +2 -2
  5. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
  6. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +2 -2
  7. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
  8. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +2 -2
  9. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
  10. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +3 -3
  11. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  12. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
  13. package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
  14. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  15. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  16. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
  17. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
  18. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  19. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  20. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  21. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
  24. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  25. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  26. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  27. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  28. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
  29. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  30. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -2
  31. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  32. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  33. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  34. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
  35. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  36. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +3 -3
  37. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  38. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  39. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -3
  40. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  41. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +4 -4
  42. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  43. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +6 -34
  44. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  45. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +4 -0
  46. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -0
  47. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +171 -0
  48. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -0
  49. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
  50. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  51. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  52. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  53. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +2 -2
  54. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  55. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
  56. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  57. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
  58. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  59. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +2 -2
  60. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -1
  61. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +5 -5
  62. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
  63. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -3
  64. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  65. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
  66. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  67. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +1 -1
  68. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  69. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
  70. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  71. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  72. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
  73. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  74. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
  75. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  76. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  77. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  78. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  79. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
  80. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  81. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +1 -1
  82. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  83. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +4 -4
  84. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  85. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  86. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  87. package/package.json +4 -4
  88. package/shared/components/common/popup/vc-popup-error.vue +3 -3
  89. package/shared/components/common/popup/vc-popup-info.vue +3 -3
  90. package/shared/components/common/popup/vc-popup-warning.vue +3 -3
  91. package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +4 -4
  92. package/ui/components/atoms/vc-badge/vc-badge.vue +2 -2
  93. package/ui/components/atoms/vc-icon/vc-icon.stories.ts +1 -1
  94. package/ui/components/atoms/vc-label/vc-label.vue +3 -3
  95. package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
  96. package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +4 -4
  97. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
  98. package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
  99. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +36 -115
  100. package/ui/components/molecules/vc-input-dropdown/index.ts +4 -0
  101. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +763 -0
  102. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +268 -0
  103. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +2 -2
  104. package/ui/components/molecules/vc-rating/vc-rating.vue +2 -2
  105. package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
  106. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue +3 -3
  107. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +6 -6
  108. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +4 -4
  109. package/ui/components/organisms/vc-app/vc-app.vue +2 -3
  110. package/ui/components/organisms/vc-blade/vc-blade.vue +5 -5
  111. package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -2
  112. package/ui/components/organisms/vc-popup/vc-popup.vue +4 -4
  113. package/dist/apl-B2DGVGxc.js +0 -76
  114. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  115. package/dist/asn1-jKiBa2Ya.js +0 -95
  116. package/dist/asterisk-DS281yxp.js +0 -271
  117. package/dist/brainfuck-C_p9pTT8.js +0 -34
  118. package/dist/clike-BUuHEmgZ.js +0 -620
  119. package/dist/clojure-CCKyeQKf.js +0 -800
  120. package/dist/cmake-CuaCgAKt.js +0 -28
  121. package/dist/cobol-BlTKFDRj.js +0 -72
  122. package/dist/coffeescript-BVCvwO8I.js +0 -179
  123. package/dist/commonlisp-D_kxz07b.js +0 -75
  124. package/dist/crystal-D309uH6_.js +0 -217
  125. package/dist/css-bIlmDBTK.js +0 -1560
  126. package/dist/cypher-BMq4Fwjl.js +0 -68
  127. package/dist/d-BZcgY6La.js +0 -127
  128. package/dist/diff-Cg9d_RX2.js +0 -18
  129. package/dist/dockerfile-DIy8NleC.js +0 -194
  130. package/dist/dtd-CtLokQ-U.js +0 -84
  131. package/dist/dylan-QYeExnWK.js +0 -234
  132. package/dist/ebnf-DUPDuY4r.js +0 -78
  133. package/dist/ecl-CiXN-g_D.js +0 -121
  134. package/dist/eiffel-yQhjl4T1.js +0 -110
  135. package/dist/elm-CNT9vbN0.js +0 -108
  136. package/dist/erlang-CFOYdy9e.js +0 -487
  137. package/dist/factor-DDOC7X6P.js +0 -65
  138. package/dist/fcl-CPC2WYrI.js +0 -103
  139. package/dist/forth-BmxRyE9S.js +0 -60
  140. package/dist/fortran-9bvPyrOW.js +0 -442
  141. package/dist/framework.js +0 -288
  142. package/dist/gas-BdfkXJT_.js +0 -183
  143. package/dist/gherkin-CJuwpceU.js +0 -34
  144. package/dist/groovy-DZeT_VM-.js +0 -146
  145. package/dist/haskell-Bvt3Qq1t.js +0 -375
  146. package/dist/haxe-70NVW1pR.js +0 -359
  147. package/dist/http-D9LttvKF.js +0 -44
  148. package/dist/idl-B6TRFYjl.js +0 -947
  149. package/dist/index-BBHl6nap.js +0 -308
  150. package/dist/index-BG6N4UCY.js +0 -299
  151. package/dist/index-Bv5as3SI.js +0 -71
  152. package/dist/index-C4VyqVxv.js +0 -249
  153. package/dist/index-CKLiFGZ-.js +0 -98
  154. package/dist/index-CTmAMa_1.js +0 -265
  155. package/dist/index-CtGZgIiV.js +0 -75
  156. package/dist/index-D13Jcezf.js +0 -288
  157. package/dist/index-DbpKygJh.js +0 -611
  158. package/dist/index-DgCtSr4P.js +0 -58
  159. package/dist/index-Dh1XjfgY.js +0 -134
  160. package/dist/index-DpDbQQg6.js +0 -341
  161. package/dist/index-DwuQbDJG.js +0 -156
  162. package/dist/index-Fhuqbkq2.js +0 -93
  163. package/dist/index-JTAZpxKF.js +0 -137
  164. package/dist/index-MKD2CP5c.js +0 -147000
  165. package/dist/index-Q3k1PYzc.js +0 -538
  166. package/dist/index.css +0 -9
  167. package/dist/javascript-WMWNx-Vj.js +0 -690
  168. package/dist/jinja2-DnB6dQmV.js +0 -154
  169. package/dist/julia-DpvXAuO6.js +0 -241
  170. package/dist/livescript-CanGTf8u.js +0 -272
  171. package/dist/lua-XplVlWi_.js +0 -217
  172. package/dist/mathematica-jaRHnSxC.js +0 -35
  173. package/dist/mbox-BctzC1hL.js +0 -76
  174. package/dist/mirc-CFBPAOaF.js +0 -72
  175. package/dist/mllike-BSnXJBGA.js +0 -272
  176. package/dist/modelica-vUgVs--1.js +0 -93
  177. package/dist/mscgen-Cpl0NYLN.js +0 -104
  178. package/dist/mumps-CQoS1kWX.js +0 -25
  179. package/dist/nginx-zDPm3Z74.js +0 -89
  180. package/dist/nsis-fePjrhq7.js +0 -62
  181. package/dist/ntriples-CsNjv2QF.js +0 -79
  182. package/dist/octave-C8PmmSRH.js +0 -143
  183. package/dist/oz-Ce8aN8oE.js +0 -151
  184. package/dist/pascal-De0D6mP7.js +0 -77
  185. package/dist/perl-B4bSCe1C.js +0 -915
  186. package/dist/pig-D24Z8EXi.js +0 -54
  187. package/dist/powershell-DkYVfTzP.js +0 -249
  188. package/dist/properties-Dn9wna3M.js +0 -26
  189. package/dist/protobuf-BPIjwpzm.js +0 -49
  190. package/dist/pug-BqUR2bBq.js +0 -248
  191. package/dist/puppet-nyd4dhjf.js +0 -45
  192. package/dist/python-B5QdSKoL.js +0 -313
  193. package/dist/q-DXjKs-tC.js +0 -83
  194. package/dist/r-LKEuhEGI.js +0 -104
  195. package/dist/rpm-IznJm2Xc.js +0 -57
  196. package/dist/ruby-CcYfvIk6.js +0 -228
  197. package/dist/sas-7E8yHoCW.js +0 -105
  198. package/dist/scheme-DjibxsNh.js +0 -124
  199. package/dist/shell-C0C2sNA_.js +0 -182
  200. package/dist/sieve-Bwz7vjP5.js +0 -72
  201. package/dist/simple-mode-B0dvCdAA.js +0 -89
  202. package/dist/smalltalk-Bhddl2pB.js +0 -48
  203. package/dist/solr-BNlsLglM.js +0 -41
  204. package/dist/sparql-FarWu_Gb.js +0 -197
  205. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  206. package/dist/sql-mMre1Bo3.js +0 -282
  207. package/dist/stex-92raWT1r.js +0 -129
  208. package/dist/stylus-CAdqWld3.js +0 -250
  209. package/dist/swift-DSxqR9R6.js +0 -230
  210. package/dist/tcl-xfoLljhY.js +0 -81
  211. package/dist/textile-D1AWE-pc.js +0 -295
  212. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  213. package/dist/tiki-__Kn3CeS.js +0 -181
  214. package/dist/toml-BHiuTcfn.js +0 -49
  215. package/dist/troff-D2UO-fKf.js +0 -35
  216. package/dist/ttcn-Bsa4sfRm.js +0 -123
  217. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  218. package/dist/turtle-xwJUxoPV.js +0 -80
  219. package/dist/vb-c2kQGd6-.js +0 -74
  220. package/dist/vbscript-Dz1TtKsy.js +0 -324
  221. package/dist/velocity-DJd0pTTC.js +0 -96
  222. package/dist/verilog-C4VGD9n1.js +0 -263
  223. package/dist/vhdl-T9HkrbI2.js +0 -106
  224. package/dist/webidl-CjfDENEo.js +0 -155
  225. package/dist/xquery-BUQdORAS.js +0 -422
  226. package/dist/yacas-C0absKBh.js +0 -73
  227. package/dist/z80-C8rPtw-0.js +0 -61
@@ -0,0 +1,268 @@
1
+ <template>
2
+ <VcSelect
3
+ class="vc-input-dropdown"
4
+ :options="options"
5
+ :option-label="optionLabel"
6
+ :option-value="optionValue"
7
+ :searchable="searchable"
8
+ :debounce="debounce"
9
+ :disabled="disabled"
10
+ :label="label"
11
+ :required="required"
12
+ :model-value="option"
13
+ :tooltip="tooltip"
14
+ @update:model-value="$emit('update:option', $event)"
15
+ >
16
+ <template #control="{ toggleHandler }">
17
+ <VcInput
18
+ :placeholder="placeholder"
19
+ :hint="hint"
20
+ :clearable="clearable"
21
+ :prefix="prefix"
22
+ :suffix="suffix"
23
+ :name="name"
24
+ :model-value="modelValue"
25
+ :loading="loading"
26
+ :disabled="disabled"
27
+ :autofocus="autofocus"
28
+ :error="error"
29
+ :error-message="errorMessage"
30
+ :maxlength="maxlength"
31
+ :type="inputType"
32
+ class="vc-input-dropdown__input"
33
+ @update:model-value="$emit('update:model-value', $event)"
34
+ @blur="$emit('blur', $event)"
35
+ >
36
+ <template #append-inner>
37
+ <slot
38
+ name="button"
39
+ :toggle-handler="toggleHandler"
40
+ >
41
+ <template v-if="options && options.length">
42
+ <button
43
+ class="vc-input-dropdown__toggle-button"
44
+ tabindex="0"
45
+ @click.stop.prevent="toggleHandler"
46
+ @keydown.enter.stop.prevent="toggleHandler"
47
+ @keydown.space.stop.prevent="toggleHandler"
48
+ >
49
+ {{ unref(option) }}
50
+ </button>
51
+ </template>
52
+ </slot>
53
+ <slot
54
+ v-if="$slots['append-inner']"
55
+ name="append-inner"
56
+ ></slot>
57
+ </template>
58
+ <template
59
+ v-if="$slots.control"
60
+ #control="scope"
61
+ >
62
+ <slot
63
+ name="control"
64
+ v-bind="scope"
65
+ ></slot>
66
+ </template>
67
+ <template
68
+ v-if="$slots['prepend-inner']"
69
+ #prepend-inner
70
+ >
71
+ <slot name="prepend-inner"></slot>
72
+ </template>
73
+ <template
74
+ v-if="$slots['append']"
75
+ #append
76
+ >
77
+ <slot name="append"></slot>
78
+ </template>
79
+ <template
80
+ v-if="$slots['prepend']"
81
+ #prepend
82
+ >
83
+ <slot name="prepend"></slot>
84
+ </template>
85
+ </VcInput>
86
+ </template>
87
+ </VcSelect>
88
+ </template>
89
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
90
+ <script lang="ts" setup>
91
+ import { unref } from "vue";
92
+ import { VcSelect, VcInput } from "./../../";
93
+ import { OptionProp } from "../vc-select/vc-select.vue";
94
+
95
+ export interface Props {
96
+ /**
97
+ * Model of the input component
98
+ */
99
+ modelValue: unknown;
100
+ /**
101
+ * Input label text
102
+ */
103
+ label?: string;
104
+ /**
105
+ * Input placeholder text
106
+ */
107
+ placeholder?: string;
108
+ /**
109
+ * Input description (hint) text below input component
110
+ */
111
+ hint?: string;
112
+ /**
113
+ * Appends clearable icon when a value is set;
114
+ * When clicked, model becomes null
115
+ */
116
+ clearable?: boolean;
117
+ /**
118
+ * Prefix
119
+ */
120
+ prefix?: string;
121
+ /**
122
+ * Suffix
123
+ */
124
+ suffix?: string;
125
+ /**
126
+ * Used to specify the name of the control; If not specified, it takes the value 'Field'
127
+ */
128
+ name?: string;
129
+ /**
130
+ * Signals the user a process is in progress by displaying a spinner
131
+ */
132
+ loading?: boolean;
133
+ /**
134
+ * Debounce amount (in milliseconds) for search input
135
+ * Default: 0
136
+ */
137
+ debounce?: string | number;
138
+ /**
139
+ * Put component in disabled mode
140
+ */
141
+ disabled?: boolean;
142
+ /**
143
+ * Focus field on initial component render
144
+ */
145
+ autofocus?: boolean;
146
+ /**
147
+ * Does field have validation errors?
148
+ */
149
+ error?: boolean;
150
+ /**
151
+ * Validation error message (gets displayed only if 'error' is set to 'true')
152
+ */
153
+ errorMessage?: string;
154
+ /**
155
+ * Specify a max length of model
156
+ * Default value: 1024
157
+ */
158
+ maxlength?: string | number;
159
+ /**
160
+ * Input tooltip information
161
+ */
162
+ tooltip?: string;
163
+ /**
164
+ * Input required state
165
+ */
166
+ required?: boolean;
167
+ /**
168
+ * Option label
169
+ */
170
+ option?: unknown;
171
+ /**
172
+ * Available options that the user can select from.
173
+ * Default value: []
174
+ */
175
+ options?: unknown[];
176
+ /**
177
+ * Property of option which holds the 'value'
178
+ * Default value: id
179
+ * @param option The current option being processed
180
+ * @returns Value of the current option
181
+ */
182
+ optionValue?: OptionProp<unknown>;
183
+ /**
184
+ * Property of option which holds the 'label'
185
+ * Default value: title
186
+ * @param option The current option being processed
187
+ * @returns Label of the current option
188
+ */
189
+ optionLabel?: OptionProp<unknown>;
190
+ /**
191
+ * Enable search in dropdown
192
+ */
193
+ searchable?: boolean;
194
+ /**
195
+ * Type of the input field
196
+ * Default: text
197
+ */
198
+ inputType?: string;
199
+ }
200
+
201
+ export interface Emits {
202
+ (event: "update:model-value", value: unknown): void;
203
+ (event: "update:option", value: unknown): void;
204
+ (event: "change", value: unknown): void;
205
+ (event: "blur", value: Event): void;
206
+ }
207
+
208
+ const props = withDefaults(defineProps<Props>(), {
209
+ debounce: 0,
210
+ searchable: false,
211
+ inputType: "text",
212
+ });
213
+
214
+ defineSlots<{
215
+ /**
216
+ * Slot for custom dropdown open handler
217
+ */
218
+ button: (scope: {
219
+ /**
220
+ * Dropdown open/close handler
221
+ */
222
+ toggleHandler: () => void;
223
+ }) => unknown;
224
+ /**
225
+ * Slot for custom append-inner content
226
+ */
227
+ "append-inner": (props: any) => any;
228
+ /**
229
+ * Slot for custom prepend-inner content
230
+ */
231
+ "prepend-inner": (props: any) => any;
232
+ /**
233
+ * Slot for custom append content
234
+ */
235
+ append: (props: any) => any;
236
+ /**
237
+ * Slot for custom prepend content
238
+ */
239
+ prepend: (props: any) => any;
240
+ /**
241
+ * Slot for custom input control
242
+ */
243
+ control: (scope: {
244
+ placeholder: string;
245
+ focused: boolean;
246
+ modelValue: unknown;
247
+ emitValue: (value: unknown) => void;
248
+ }) => unknown;
249
+ }>();
250
+
251
+ defineEmits<Emits>();
252
+ </script>
253
+
254
+ <style lang="scss">
255
+ :root {
256
+ --input-dropdown-toggle-color: var(--primary-500);
257
+ }
258
+
259
+ .vc-input-dropdown {
260
+ &__input {
261
+ @apply tw-w-full;
262
+ }
263
+
264
+ &__toggle-button {
265
+ @apply tw-text-[color:var(--input-dropdown-toggle-color)] tw-not-italic tw-font-medium tw-text-sm tw-cursor-pointer;
266
+ }
267
+ }
268
+ </style>
@@ -231,8 +231,8 @@ const emit = defineEmits<Emits<T>>();
231
231
  defineSlots<{
232
232
  option: (args: { item: T }) => any;
233
233
  "selected-item": (args: { value: string | number | T[keyof T]; item: T; remove: () => void }) => any;
234
- hint: void;
235
- error: void;
234
+ hint: (props: any) => any;
235
+ error: (props: any) => any;
236
236
  }>();
237
237
 
238
238
  const dropdownToggleRef = ref();
@@ -51,7 +51,7 @@
51
51
  </div>
52
52
  </div>
53
53
  </template>
54
-
54
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
55
55
  <script lang="ts" setup>
56
56
  import { VNode } from "vue";
57
57
  import { VcLabel, VcIcon } from "./../../";
@@ -68,7 +68,7 @@ export interface Props {
68
68
  withDefaults(defineProps<Props>(), { max: 5, variant: "stars" });
69
69
 
70
70
  defineSlots<{
71
- details: VNode[];
71
+ details: (props: any) => VNode[];
72
72
  }>();
73
73
  </script>
74
74
 
@@ -51,7 +51,7 @@
51
51
  </slot>
52
52
  </div>
53
53
  </template>
54
-
54
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
55
55
  <script lang="ts" setup>
56
56
  import { ref } from "vue";
57
57
  import { VcHint, VcLabel } from "./../../";
@@ -76,7 +76,7 @@ export interface Emits {
76
76
  }
77
77
 
78
78
  defineSlots<{
79
- error: void;
79
+ error: (props: any) => any;
80
80
  }>();
81
81
 
82
82
  withDefaults(defineProps<Props>(), {
@@ -38,7 +38,7 @@
38
38
  </VcTooltip>
39
39
  </div>
40
40
  </template>
41
-
41
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
42
42
  <script lang="ts" setup>
43
43
  import { ref, computed, onMounted, type Component } from "vue";
44
44
  import { useAppBarWidgets } from "./../composables/useAppBarWidgets";
@@ -59,8 +59,8 @@ const props = defineProps<Props>();
59
59
  const emit = defineEmits<Emits>();
60
60
 
61
61
  defineSlots<{
62
- content: (props: { opened: boolean; toggle: () => void }) => void;
63
- trigger: (props: { isActive: boolean; toggle: () => void }) => void;
62
+ content: (props: { opened: boolean; toggle: () => void }) => any;
63
+ trigger: (props: { isActive: boolean; toggle: () => void }) => any;
64
64
  }>();
65
65
 
66
66
  const { toggleWidget, currentWidget } = useAppBarWidgets();
@@ -62,7 +62,7 @@
62
62
  </template>
63
63
  </Sidebar>
64
64
  </template>
65
-
65
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
66
66
  <script lang="ts" setup>
67
67
  import { Sidebar } from "../../../../../../../shared/components/sidebar";
68
68
  import { CrossSignIcon } from "../../../../../atoms/vc-icon/icons";
@@ -78,11 +78,11 @@ defineEmits<{
78
78
  }>();
79
79
 
80
80
  defineSlots<{
81
- navmenu: () => void;
82
- "user-dropdown": () => void;
83
- "app-switcher": () => void;
84
- "widgets-active-content": () => void;
85
- widgets: () => void;
81
+ navmenu: (props: any) => any;
82
+ "user-dropdown": (props: any) => any;
83
+ "app-switcher": (props: any) => any;
84
+ "widgets-active-content": (props: any) => any;
85
+ widgets: (props: any) => any;
86
86
  }>();
87
87
  </script>
88
88
 
@@ -108,7 +108,7 @@
108
108
  </div>
109
109
  </div>
110
110
  </template>
111
-
111
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
112
112
  <script lang="ts" setup>
113
113
  import { VcIcon } from "../../../../";
114
114
  import { ChevronLeftIcon, ChevronRightIcon } from "../../../../atoms/vc-icon/icons";
@@ -133,9 +133,9 @@ export interface Emits {
133
133
  }
134
134
 
135
135
  interface Slots {
136
- "app-switcher": () => void;
137
- navmenu: () => void;
138
- "user-dropdown": () => void;
136
+ "app-switcher": (props: any) => any;
137
+ navmenu: (props: any) => any;
138
+ "user-dropdown": (props: any) => any;
139
139
  }
140
140
 
141
141
  defineProps<Props>();
@@ -65,7 +65,7 @@
65
65
  </div>
66
66
  </div>
67
67
  </template>
68
-
68
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
69
69
  <script lang="ts" setup>
70
70
  import { inject, provide, useAttrs, watch, ref, onUnmounted, computed } from "vue";
71
71
  import VcAppBar from "./_internal/vc-app-bar/vc-app-bar.vue";
@@ -115,8 +115,7 @@ defineOptions({
115
115
  });
116
116
 
117
117
  defineSlots<{
118
- "app-switcher": void;
119
- // toolbar: void;
118
+ "app-switcher": (props: any) => any;
120
119
  }>();
121
120
 
122
121
  const props = defineProps<Props>();
@@ -123,7 +123,7 @@
123
123
  </div>
124
124
  </div>
125
125
  </template>
126
-
126
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
127
127
  <script lang="ts" setup>
128
128
  import { computed, ref, toValue, inject, useSlots, defineComponent, h } from "vue";
129
129
  import { IBladeToolbar } from "../../../../core/types";
@@ -168,8 +168,8 @@ withDefaults(defineProps<Props>(), {
168
168
  });
169
169
 
170
170
  const slots = defineSlots<{
171
- actions: void;
172
- default: void;
171
+ actions: (props: any) => any;
172
+ default: (props: any) => any;
173
173
  /**
174
174
  * @deprecated
175
175
  * Use `useWidgets` composable instead
@@ -197,8 +197,8 @@ const slots = defineSlots<{
197
197
  * }
198
198
  * });
199
199
  */
200
- widgets: void;
201
- backButton: void;
200
+ widgets: (props: any) => any;
201
+ backButton: (props: any) => any;
202
202
  }>();
203
203
 
204
204
  const emit = defineEmits<Emits>();
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </div>
22
22
  </template>
23
-
23
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
24
24
  <script lang="ts" setup>
25
25
  import { computed } from "vue";
26
26
  import { useRouter } from "vue-router";
@@ -36,7 +36,7 @@ const props = withDefaults(defineProps<Props>(), {
36
36
  });
37
37
 
38
38
  defineSlots<{
39
- default: void;
39
+ default: (props: any) => any;
40
40
  }>();
41
41
 
42
42
  const router = useRouter();
@@ -119,7 +119,7 @@
119
119
  </Dialog>
120
120
  </TransitionRoot>
121
121
  </template>
122
-
122
+ <!-- eslint-disable @typescript-eslint/no-explicit-any -->
123
123
  <script lang="ts" setup>
124
124
  import { Ref, computed, inject } from "vue";
125
125
  import { TransitionRoot, TransitionChild, Dialog, DialogPanel, DialogTitle } from "@headlessui/vue";
@@ -146,9 +146,9 @@ const props = withDefaults(defineProps<Props>(), {
146
146
  const emit = defineEmits<Emits>();
147
147
 
148
148
  defineSlots<{
149
- header: void;
150
- content: void;
151
- footer: (props: { close: () => void }) => void;
149
+ header: (props: any) => any;
150
+ content: (props: any) => any;
151
+ footer: (props: { close: () => void }) => any;
152
152
  }>();
153
153
 
154
154
  const isMobile = inject("isMobile") as Ref<boolean>;
@@ -1,76 +0,0 @@
1
- var l = {
2
- "+": ["conjugate", "add"],
3
- "−": ["negate", "subtract"],
4
- "×": ["signOf", "multiply"],
5
- "÷": ["reciprocal", "divide"],
6
- "⌈": ["ceiling", "greaterOf"],
7
- "⌊": ["floor", "lesserOf"],
8
- "∣": ["absolute", "residue"],
9
- "⍳": ["indexGenerate", "indexOf"],
10
- "?": ["roll", "deal"],
11
- "⋆": ["exponentiate", "toThePowerOf"],
12
- "⍟": ["naturalLog", "logToTheBase"],
13
- "○": ["piTimes", "circularFuncs"],
14
- "!": ["factorial", "binomial"],
15
- "⌹": ["matrixInverse", "matrixDivide"],
16
- "<": [null, "lessThan"],
17
- "≤": [null, "lessThanOrEqual"],
18
- "=": [null, "equals"],
19
- ">": [null, "greaterThan"],
20
- "≥": [null, "greaterThanOrEqual"],
21
- "≠": [null, "notEqual"],
22
- "≡": ["depth", "match"],
23
- "≢": [null, "notMatch"],
24
- "∈": ["enlist", "membership"],
25
- "⍷": [null, "find"],
26
- "∪": ["unique", "union"],
27
- "∩": [null, "intersection"],
28
- "∼": ["not", "without"],
29
- "∨": [null, "or"],
30
- "∧": [null, "and"],
31
- "⍱": [null, "nor"],
32
- "⍲": [null, "nand"],
33
- "⍴": ["shapeOf", "reshape"],
34
- ",": ["ravel", "catenate"],
35
- "⍪": [null, "firstAxisCatenate"],
36
- "⌽": ["reverse", "rotate"],
37
- "⊖": ["axis1Reverse", "axis1Rotate"],
38
- "⍉": ["transpose", null],
39
- "↑": ["first", "take"],
40
- "↓": [null, "drop"],
41
- "⊂": ["enclose", "partitionWithAxis"],
42
- "⊃": ["diclose", "pick"],
43
- "⌷": [null, "index"],
44
- "⍋": ["gradeUp", null],
45
- "⍒": ["gradeDown", null],
46
- "⊤": ["encode", null],
47
- "⊥": ["decode", null],
48
- "⍕": ["format", "formatByExample"],
49
- "⍎": ["execute", null],
50
- "⊣": ["stop", "left"],
51
- "⊢": ["pass", "right"]
52
- }, t = /[\.\/⌿⍀¨⍣]/, a = /⍬/, i = /[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/, u = /←/, o = /[⍝#].*$/, s = function(r) {
53
- var n;
54
- return n = !1, function(e) {
55
- return n = e, e === r ? n === "\\" : !0;
56
- };
57
- };
58
- const f = {
59
- name: "apl",
60
- startState: function() {
61
- return {
62
- prev: !1,
63
- func: !1,
64
- op: !1,
65
- string: !1,
66
- escape: !1
67
- };
68
- },
69
- token: function(r, n) {
70
- var e;
71
- return r.eatSpace() ? null : (e = r.next(), e === '"' || e === "'" ? (r.eatWhile(s(e)), r.next(), n.prev = !0, "string") : /[\[{\(]/.test(e) ? (n.prev = !1, null) : /[\]}\)]/.test(e) ? (n.prev = !0, null) : a.test(e) ? (n.prev = !1, "atom") : /[¯\d]/.test(e) ? (n.func ? (n.func = !1, n.prev = !1) : n.prev = !0, r.eatWhile(/[\w\.]/), "number") : t.test(e) || u.test(e) ? "operator" : i.test(e) ? (n.func = !0, n.prev = !1, l[e] ? "variableName.function.standard" : "variableName.function") : o.test(e) ? (r.skipToEnd(), "comment") : e === "∘" && r.peek() === "." ? (r.next(), "variableName.function") : (r.eatWhile(/[\w\$_]/), n.prev = !0, "keyword"));
72
- }
73
- };
74
- export {
75
- f as apl
76
- };
@@ -1,34 +0,0 @@
1
- function t(e) {
2
- var r = e.match(/^\s*\S/);
3
- return e.skipToEnd(), r ? "error" : null;
4
- }
5
- const i = {
6
- name: "asciiarmor",
7
- token: function(e, r) {
8
- var n;
9
- if (r.state == "top")
10
- return e.sol() && (n = e.match(/^-----BEGIN (.*)?-----\s*$/)) ? (r.state = "headers", r.type = n[1], "tag") : t(e);
11
- if (r.state == "headers") {
12
- if (e.sol() && e.match(/^\w+:/))
13
- return r.state = "header", "atom";
14
- var o = t(e);
15
- return o && (r.state = "body"), o;
16
- } else {
17
- if (r.state == "header")
18
- return e.skipToEnd(), r.state = "headers", "string";
19
- if (r.state == "body")
20
- return e.sol() && (n = e.match(/^-----END (.*)?-----\s*$/)) ? n[1] != r.type ? "error" : (r.state = "end", "tag") : e.eatWhile(/[A-Za-z0-9+\/=]/) ? null : (e.next(), "error");
21
- if (r.state == "end")
22
- return t(e);
23
- }
24
- },
25
- blankLine: function(e) {
26
- e.state == "headers" && (e.state = "body");
27
- },
28
- startState: function() {
29
- return { state: "top", type: null };
30
- }
31
- };
32
- export {
33
- i as asciiArmor
34
- };
@@ -1,95 +0,0 @@
1
- function u(i) {
2
- for (var s = {}, c = i.split(" "), T = 0; T < c.length; ++T) s[c[T]] = !0;
3
- return s;
4
- }
5
- const o = {
6
- keywords: u("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),
7
- cmipVerbs: u("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),
8
- compareTypes: u("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),
9
- status: u("current deprecated mandatory obsolete"),
10
- tags: u("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),
11
- storage: u("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),
12
- modifier: u("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),
13
- accessTypes: u("not-accessible accessible-for-notify read-only read-create read-write"),
14
- multiLineStrings: !0
15
- };
16
- function g(i) {
17
- var s = i.keywords || o.keywords, c = i.cmipVerbs || o.cmipVerbs, T = i.compareTypes || o.compareTypes, N = i.status || o.status, d = i.tags || o.tags, f = i.storage || o.storage, m = i.modifier || o.modifier, C = i.accessTypes || o.accessTypes;
18
- i.multiLineStrings || o.multiLineStrings;
19
- var R = i.indentStatements !== !1, A = /[\|\^]/, E;
20
- function y(e, n) {
21
- var t = e.next();
22
- if (t == '"' || t == "'")
23
- return n.tokenize = D(t), n.tokenize(e, n);
24
- if (/[\[\]\(\){}:=,;]/.test(t))
25
- return E = t, "punctuation";
26
- if (t == "-" && e.eat("-"))
27
- return e.skipToEnd(), "comment";
28
- if (/\d/.test(t))
29
- return e.eatWhile(/[\w\.]/), "number";
30
- if (A.test(t))
31
- return e.eatWhile(A), "operator";
32
- e.eatWhile(/[\w\-]/);
33
- var r = e.current();
34
- return s.propertyIsEnumerable(r) ? "keyword" : c.propertyIsEnumerable(r) ? "variableName" : T.propertyIsEnumerable(r) ? "atom" : N.propertyIsEnumerable(r) ? "comment" : d.propertyIsEnumerable(r) ? "typeName" : f.propertyIsEnumerable(r) || m.propertyIsEnumerable(r) || C.propertyIsEnumerable(r) ? "modifier" : "variableName";
35
- }
36
- function D(e) {
37
- return function(n, t) {
38
- for (var r = !1, S, O = !1; (S = n.next()) != null; ) {
39
- if (S == e && !r) {
40
- var I = n.peek();
41
- I && (I = I.toLowerCase(), (I == "b" || I == "h" || I == "o") && n.next()), O = !0;
42
- break;
43
- }
44
- r = !r && S == "\\";
45
- }
46
- return O && (t.tokenize = null), "string";
47
- };
48
- }
49
- function p(e, n, t, r, S) {
50
- this.indented = e, this.column = n, this.type = t, this.align = r, this.prev = S;
51
- }
52
- function a(e, n, t) {
53
- var r = e.indented;
54
- return e.context && e.context.type == "statement" && (r = e.context.indented), e.context = new p(r, n, t, null, e.context);
55
- }
56
- function l(e) {
57
- var n = e.context.type;
58
- return (n == ")" || n == "]" || n == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
59
- }
60
- return {
61
- name: "asn1",
62
- startState: function() {
63
- return {
64
- tokenize: null,
65
- context: new p(-2, 0, "top", !1),
66
- indented: 0,
67
- startOfLine: !0
68
- };
69
- },
70
- token: function(e, n) {
71
- var t = n.context;
72
- if (e.sol() && (t.align == null && (t.align = !1), n.indented = e.indentation(), n.startOfLine = !0), e.eatSpace()) return null;
73
- E = null;
74
- var r = (n.tokenize || y)(e, n);
75
- if (r == "comment") return r;
76
- if (t.align == null && (t.align = !0), (E == ";" || E == ":" || E == ",") && t.type == "statement")
77
- l(n);
78
- else if (E == "{") a(n, e.column(), "}");
79
- else if (E == "[") a(n, e.column(), "]");
80
- else if (E == "(") a(n, e.column(), ")");
81
- else if (E == "}") {
82
- for (; t.type == "statement"; ) t = l(n);
83
- for (t.type == "}" && (t = l(n)); t.type == "statement"; ) t = l(n);
84
- } else E == t.type ? l(n) : R && ((t.type == "}" || t.type == "top") && E != ";" || t.type == "statement" && E == "newstatement") && a(n, e.column(), "statement");
85
- return n.startOfLine = !1, r;
86
- },
87
- languageData: {
88
- indentOnInput: /^\s*[{}]$/,
89
- commentTokens: { line: "--" }
90
- }
91
- };
92
- }
93
- export {
94
- g as asn1
95
- };