@bagelink/vue 0.0.247 → 0.0.254

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 (32) hide show
  1. package/dist/components/Btn.vue.d.ts.map +1 -1
  2. package/dist/components/form/BglForm.vue.d.ts.map +1 -1
  3. package/dist/components/form/ItemRef.vue.d.ts +0 -1
  4. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  5. package/dist/components/form/inputs/SelectField.vue.d.ts +4 -1
  6. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  7. package/dist/components/form/inputs/TextInput.vue.d.ts +2 -0
  8. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  9. package/dist/index.cjs +1701 -1713
  10. package/dist/index.mjs +1701 -1713
  11. package/dist/style.css +216 -193
  12. package/package.json +1 -1
  13. package/src/components/Btn.vue +41 -39
  14. package/src/components/Comments.vue +4 -4
  15. package/src/components/MaterialIcon.vue +1 -1
  16. package/src/components/NavBar.vue +5 -5
  17. package/src/components/TableSchema.vue +2 -2
  18. package/src/components/Title.vue +1 -1
  19. package/src/components/form/inputs/TableField.vue +4 -4
  20. package/src/components/form/inputs/TextInput.vue +26 -12
  21. package/src/components/formkit/FileUploader.vue +1 -1
  22. package/src/components/formkit/MiscFields.vue +2 -2
  23. package/src/styles/buttons.css +5 -5
  24. package/src/styles/dark.css +5 -5
  25. package/src/styles/inputs.css +4 -4
  26. package/src/styles/layout.css +16 -0
  27. package/src/styles/text.css +9 -1
  28. package/src/styles/theme.css +1 -1
  29. package/dist/components/Drop.vue.d.ts +0 -34
  30. package/dist/components/Drop.vue.d.ts.map +0 -1
  31. package/dist/components/FileUploader.vue.d.ts +0 -60
  32. package/dist/components/FileUploader.vue.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.247",
4
+ "version": "0.0.254",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -1,15 +1,17 @@
1
1
  <template>
2
- <component :is="to ? 'router-link' : is" :to="to" @click.stop="onClick" :type="type" :role="role" :disabled="disabled"
2
+ <component
3
+ :is="to ? 'router-link' : is" :to="to" @click.stop="onClick" :type="type" :role="role" :disabled="disabled"
3
4
  :class="{
4
- 'btn-icon': icon && !slots['default'] && !value,
5
- btn: !icon || slots['default'] || value,
5
+ 'bgl_btn-icon': icon && !slots['default'] && !value,
6
+ bgl_btn: !icon || slots['default'] || value,
6
7
  thin,
7
8
  round,
8
- 'flatBtn': flat,
9
- 'btn-border': border
10
- }">
9
+ 'bgl_flatBtn': flat,
10
+ 'bgl_btn-border': border
11
+ }"
12
+ >
11
13
  <div class="loading" v-if="loading" />
12
- <div v-else class="btn-flex">
14
+ <div v-else class="bgl_btn-flex">
13
15
  <MaterialIcon v-if="icon" :icon="icon" />
14
16
  <slot />
15
17
  <template v-if="!slots['default'] && value">
@@ -123,7 +125,7 @@ const computedBackgroundColor = $computed(
123
125
  }
124
126
  }
125
127
 
126
- .btn-icon {
128
+ .bgl_btn-icon {
127
129
  height: var(--btn-height);
128
130
  width: var(--btn-height);
129
131
  border-radius: 100%;
@@ -134,118 +136,118 @@ const computedBackgroundColor = $computed(
134
136
  transition: var(--bgl-transition);
135
137
  }
136
138
 
137
- .btn {
139
+ .bgl_btn {
138
140
  padding-left: var(--btn-padding);
139
141
  padding-right: var(--btn-padding);
140
142
  transition: var(--bgl-transition);
141
143
  text-decoration: none;
142
144
  }
143
145
 
144
- .btn[disabled="true"] {
146
+ .bgl_btn[disabled="true"] {
145
147
  opacity: 0.5;
146
148
  cursor: not-allowed;
147
149
  }
148
150
 
149
- .btn-flex {
151
+ .bgl_btn-flex {
150
152
  display: flex;
151
153
  align-items: center;
152
154
  gap: 0.5rem;
153
155
  justify-content: center;
154
156
  }
155
157
 
156
- .btn .icon-font {
158
+ .bgl_btn .bgl_.bgl_icon-font {
157
159
  font-size: calc(var(--input-font-size) * 1.3);
158
160
  }
159
161
 
160
- .btn,
161
- .btn-icon {
162
+ .bgl_btn,
163
+ .bgl_btn-icon {
162
164
  background-color: v-bind(computedBackgroundColor);
163
165
  color: v-bind(cumputedTextColor);
164
166
  }
165
167
 
166
- .btn:hover,
167
- .btn-icon:hover {
168
+ .bgl_btn:hover,
169
+ .bgl_btn-icon:hover {
168
170
  filter: var(--bgl-hover-filter);
169
171
  }
170
172
 
171
- .btn:active,
172
- .btn-icon:active {
173
+ .bgl_btn:active,
174
+ .bgl_btn-icon:active {
173
175
  filter: var(--bgl-active-filter);
174
176
  }
175
177
 
176
- .btn.flatBtn {
178
+ .bgl_btn.bgl_flatBtn {
177
179
  padding-left: var(--btn-padding);
178
180
  padding-right: var(--btn-padding);
179
181
  background: transparent;
180
182
  }
181
183
 
182
- .btn-icon.flatBtn {
184
+ .bgl_btn-icon.bgl_flatBtn {
183
185
  background: transparent;
184
186
  }
185
187
 
186
- .btn.flatBtn:hover,
187
- .btn-icon.flatBtn:hover {
188
+ .bgl_btn.bgl_flatBtn:hover,
189
+ .bgl_btn-icon.bgl_flatBtn:hover {
188
190
  filter: var(--bgl-active-filter);
189
191
  }
190
192
 
191
- .btn.flatBtn:active,
192
- .btn-icon.flatBtn:active {
193
+ .bgl_btn.bgl_flatBtn:active,
194
+ .bgl_btn-icon.bgl_flatBtn:active {
193
195
  background: var(--bgl-white);
194
196
  filter: var(--bgl-hover-filter);
195
197
  }
196
198
 
197
- .btn.flatBtn.red,
198
- .btn-icon.flatBtn.red {
199
+ .bgl_btn.bgl_flatBtn.red,
200
+ .bgl_btn-icon.bgl_flatBtn.red {
199
201
  color: var(--bgl-red);
200
202
  }
201
203
 
202
- .btn.flatBtn.light,
203
- .btn-icon.flatBtn.light {
204
+ .bgl_btn.bgl_flatBtn.light,
205
+ .bgl_btn-icon.bgl_flatBtn.light {
204
206
  color: var(--bgl-primary-tint);
205
207
  }
206
208
 
207
- .btn.flatBtn.black,
208
- .btn-icon.flatBtn.black {
209
+ .bgl_btn.bgl_flatBtn.black,
210
+ .bgl_btn-icon.bgl_flatBtn.black {
209
211
  color: var(--bgl-black);
210
212
  }
211
213
 
212
- .btn.flatBtn.gray,
213
- .btn-icon.flatBtn.gray {
214
+ .bgl_btn.bgl_flatBtn.gray,
215
+ .bgl_btn-icon.bgl_flatBtn.gray {
214
216
  color: var(--bgl-gray);
215
217
  }
216
218
 
217
- .btn.thin {
219
+ .bgl_btn.thin {
218
220
  padding-left: calc(var(--btn-padding) / 2);
219
221
  padding-right: calc(var(--btn-padding) / 2);
220
222
  }
221
223
 
222
- .btn.round {
224
+ .bgl_btn.round {
223
225
  border-radius: calc(var(--btn-border-radius) * 2);
224
226
  }
225
227
 
226
- .btn-icon.thin {
228
+ .bgl_btn-icon.thin {
227
229
  height: calc(var(--btn-height) / 1.5);
228
230
  width: calc(var(--btn-height) / 1.5);
229
231
  line-height: 1;
230
232
  }
231
233
 
232
- [dir="rtl"] .icon-font {
234
+ [dir="rtl"] .bgl_.bgl_icon-font {
233
235
  transform: rotateY(180deg);
234
236
  }
235
237
 
236
- .btn-border {
238
+ .bgl_btn-border {
237
239
  outline: 1px solid v-bind(computedBackgroundColor);
238
240
  color: v-bind(computedBackgroundColor);
239
241
  background: transparent;
240
242
  }
241
243
 
242
- .btn-border:hover {
244
+ .bgl_btn-border:hover {
243
245
  color: var(--bgl-white);
244
246
  background: v-bind(computedBackgroundColor);
245
247
  filter: brightness(100%);
246
248
  }
247
249
 
248
- .btn-border:active {
250
+ .bgl_btn-border:active {
249
251
  filter: brightness(80%);
250
252
  }
251
253
  </style>
@@ -225,13 +225,13 @@ const newComment = async () => {
225
225
  filter: brightness(70%);
226
226
  }
227
227
 
228
- .icon-font.delete,
229
- .icon-font.save {
228
+ .bgl_icon-font.delete,
229
+ .bgl_icon-font.save {
230
230
  display: none;
231
231
  }
232
232
 
233
- .editable .icon-font.delete,
234
- .editable .icon-font.save {
233
+ .editable .bgl_icon-font.delete,
234
+ .editable .bgl_icon-font.save {
235
235
  display: block;
236
236
  }
237
237
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="icon-font"
3
+ class="bgl_icon-font"
4
4
  :style="{ fontSize: `${size}rem` }"
5
5
  >
6
6
  {{ icon }}
@@ -158,7 +158,7 @@ withDefaults(
158
158
  pointer-events: all;
159
159
  }
160
160
 
161
- .nav-button .icon-font {
161
+ .nav-button .bgl_icon-font {
162
162
  font-size: 22px;
163
163
  margin: 0.25rem 10px;
164
164
  padding: 10px;
@@ -172,8 +172,8 @@ withDefaults(
172
172
  pointer-events: all;
173
173
  }
174
174
 
175
- .nav-button:hover .icon-font,
176
- .nav-button.router-link-active .icon-font {
175
+ .nav-button:hover .bgl_icon-font,
176
+ .nav-button.router-link-active .bgl_icon-font {
177
177
  background: var(--bgl-white);
178
178
  color: var(--bgl-primary);
179
179
  }
@@ -269,7 +269,7 @@ withDefaults(
269
269
  margin-inline-start: 0rem;
270
270
  }
271
271
 
272
- .nav.open .nav-button .icon-font {
272
+ .nav.open .nav-button .bgl_icon-font {
273
273
  margin: 0;
274
274
  background: transparent;
275
275
  }
@@ -334,7 +334,7 @@ withDefaults(
334
334
  margin: 12px 0.25rem;
335
335
  }
336
336
 
337
- .nav-button .icon-font {
337
+ .nav-button .bgl_icon-font {
338
338
  padding: 2px 0 0 0;
339
339
  margin: 0;
340
340
  height: 30px;
@@ -73,7 +73,7 @@ const sort = (fieldname: string) => {
73
73
  opacity: 0;
74
74
  }
75
75
 
76
- .list-arrows .icon-font {
76
+ .list-arrows .bgl_icon-font {
77
77
  transition: all ease-in-out 0.2s;
78
78
  }
79
79
 
@@ -153,7 +153,7 @@ th {
153
153
  text-overflow: ellipsis;
154
154
  }
155
155
 
156
- .col.check .icon-font {
156
+ .col.check .bgl_icon-font {
157
157
  border-radius: 100%;
158
158
  background: var(--bgl-blue-20);
159
159
  color: var(--bgl-primary);
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <component :is="tag">
3
- <slot />
4
3
  {{ label || value }}
4
+ <slot />
5
5
  </component>
6
6
  </template>
7
7
 
@@ -189,7 +189,7 @@ onMounted(() => {
189
189
  cursor: grab;
190
190
  }
191
191
 
192
- .btn.thin.flatBtn {
192
+ .bgl_btn.thin.bgl_flatBtn {
193
193
  margin-inline-start: -1rem;
194
194
  margin-top: 1rem;
195
195
  }
@@ -252,18 +252,18 @@ onMounted(() => {
252
252
  background: var(--border-color);
253
253
  }
254
254
 
255
- .table-action>.icon-font {
255
+ .table-action>.bgl_icon-font {
256
256
  padding: 11.4px;
257
257
  cursor: pointer;
258
258
  transition: var(--bgl-transition);
259
259
  }
260
260
 
261
- .table-action:hover>.icon-font {
261
+ .table-action:hover>.bgl_icon-font {
262
262
  background: var(--bgl-red);
263
263
  color: var(--bgl-white);
264
264
  }
265
265
 
266
- .table-action:active>.icon-font {
266
+ .table-action:active>.bgl_icon-font {
267
267
  filter: brightness(90%);
268
268
  }
269
269
 
@@ -1,22 +1,31 @@
1
1
  <template>
2
- <div class="bagel-input text-input"
3
- :class="{ small, shrink, toggleEdit, editMode, textInputIconWrap: icon, txtInputIconStart: iconStart, code }"
4
- :title="title">
2
+ <div
3
+ class="bagel-input text-input"
4
+ :class="{ dense, small, shrink, toggleEdit, editMode, textInputIconWrap: icon, txtInputIconStart: iconStart, code }"
5
+ :title="title"
6
+ >
5
7
  <label :for="id">
6
8
  {{ label }}
7
- <input :autocomplete="autocomplete" v-if="!multiline && !autoheight && !code" :id="id" v-model="inputVal"
8
- :type="type" :rows="1" ref="input" :placeholder="placeholder || label" :disabled="!editMode"
9
- :required="required" :pattern="pattern" v-bind="nativeInputAttrs" @dblclick="toggleEditAction">
10
- <textarea v-else :id="id" v-model="inputVal" :type="type" :rows="rows" ref="input"
9
+ <input
10
+ :title="title" :autocomplete="autocomplete" v-if="!multiline && !autoheight && !code" :id="id"
11
+ v-model="inputVal" :type="type" :rows="1" ref="input" :placeholder="placeholder || label"
12
+ :disabled="!editMode" :required="required" :pattern="pattern" v-bind="nativeInputAttrs"
13
+ @dblclick="toggleEditAction"
14
+ >
15
+ <textarea
16
+ :title="title" v-else :id="id" v-model="inputVal" :type="type" :rows="rows" ref="input"
11
17
  :placeholder="placeholder || label" :disabled="!editMode" :required="required" :pattern="pattern"
12
- v-bind="nativeInputAttrs" @dblclick="toggleEditAction" />
18
+ v-bind="nativeInputAttrs" @dblclick="toggleEditAction"
19
+ />
13
20
  <p v-if="helptext">{{ helptext }}</p>
14
21
  </label>
15
22
 
16
23
  <MaterialIcon class="iconStart" v-if="iconStart" :icon="iconStart" />
17
24
  <MaterialIcon v-if="icon" :icon="icon" />
18
- <Btn class="toggleEditBtn" v-if="toggleEdit" thin @click="toggleEditAction" :icon="editMode ? 'check' : 'edit'"
19
- flat />
25
+ <Btn
26
+ class="toggleEditBtn" v-if="toggleEdit" thin @click="toggleEditAction" :icon="editMode ? 'check' : 'edit'"
27
+ flat
28
+ />
20
29
  </div>
21
30
  </template>
22
31
 
@@ -36,6 +45,7 @@ const props = withDefaults(
36
45
  modelValue?: string | number;
37
46
  label?: string;
38
47
  small?: boolean;
48
+ dense?: boolean;
39
49
  required?: boolean;
40
50
  pattern?: string;
41
51
  shrink?: boolean;
@@ -130,7 +140,11 @@ watch(
130
140
  margin-bottom: 0;
131
141
  height: 30px;
132
142
  }
133
-
143
+ .bagel-input.dense label{
144
+ display: flex;
145
+ align-items: center;
146
+ gap: 0.5rem;
147
+ }
134
148
  .toggleEditBtn {
135
149
  position: absolute;
136
150
  right: -24px;
@@ -142,7 +156,7 @@ watch(
142
156
  position: relative;
143
157
  }
144
158
 
145
- .textInputIconWrap .icon-font {
159
+ .textInputIconWrap .bgl_icon-font {
146
160
  position: absolute;
147
161
  inset-inline-end: 0.7rem;
148
162
  bottom: 50%;
@@ -240,7 +240,7 @@ function onDrop(e: DragEvent) {
240
240
  .uploading {}
241
241
  */
242
242
 
243
- .img-label .icon-font {
243
+ .img-label .bgl_icon-font {
244
244
  font-size: 30px;
245
245
  margin-bottom: 10px;
246
246
  }
@@ -17,7 +17,7 @@
17
17
  </template>
18
18
 
19
19
  <script lang="ts" setup>
20
- import { Btn } from "@bagelink/vue";
20
+ import { Btn } from '@bagelink/vue';
21
21
 
22
22
  const props = defineProps<{
23
23
  context: Record<string, any>;
@@ -41,7 +41,7 @@ const addToField = (field: any) => {
41
41
  margin-bottom: auto;
42
42
  }
43
43
 
44
- .gray.thin.flatBtn.btn.add-btn {
44
+ .gray.thin.bgl_flatBtn.bgl_btn.add-btn {
45
45
  display: flex;
46
46
  gap: 0.5rem;
47
47
  align-items: center;
@@ -1,7 +1,7 @@
1
1
  button,
2
- .btn,
3
- .flatBtn,
4
- .btn-icon {
2
+ .bgl_btn,
3
+ .bgl_flatBtn,
4
+ .bgl_btn-icon {
5
5
  font-family: inherit;
6
6
  white-space: nowrap;
7
7
  cursor: pointer;
@@ -49,13 +49,13 @@ button,
49
49
  }
50
50
 
51
51
 
52
- .btn.thin {
52
+ .bgl_btn.thin {
53
53
  height: calc(var(--btn-height) * 0.7);
54
54
  line-height: calc(var(--btn-height) * 0.7);
55
55
  }
56
56
 
57
57
  @media screen and (max-width: 910px) {
58
- .btn {
58
+ .bgl_btn {
59
59
  padding: 0 20px;
60
60
  }
61
61
  }
@@ -77,10 +77,10 @@
77
77
  color: var(--bgl-gray-light);
78
78
  }
79
79
 
80
- [theme="dark"] .btn,
81
- [theme="dark"] .btn-icon,
82
- [theme="dark"] .primary-checkbox input:checked + span,
83
- [theme="dark"] .btn.light {
80
+ [theme="dark"] .bgl_btn,
81
+ [theme="dark"] .bgl_btn-icon,
82
+ [theme="dark"] .primary-checkbox input:checked+span,
83
+ [theme="dark"] .bgl_btn.light {
84
84
  color: var(--bgl-black);
85
85
  }
86
86
 
@@ -90,4 +90,4 @@
90
90
 
91
91
  [theme="dark"] .nav-expend {
92
92
  top: 67px;
93
- }
93
+ }
@@ -67,7 +67,7 @@ select {
67
67
  padding-inline-end: 2rem;
68
68
  }
69
69
 
70
- .bagel-input.search-wrap .icon-font {
70
+ .bagel-input.search-wrap .bgl_icon-font {
71
71
  margin-inline-start: -1.75rem;
72
72
  }
73
73
 
@@ -168,12 +168,12 @@ label.active {
168
168
  display: none;
169
169
  }
170
170
 
171
- .label-count-0 button.btn.flatBtn {
171
+ .label-count-0 button.bgl_btn.bgl_flatBtn {
172
172
  /* background: var(--bgl-blue-light); */
173
173
  margin-right: 5px;
174
174
  }
175
175
 
176
- .label-count-0 button.btn.flatBtn:hover {
176
+ .label-count-0 button.bgl_btn.bgl_flatBtn:hover {
177
177
  background: var(--bgl-hover-filter);
178
178
  }
179
179
 
@@ -218,4 +218,4 @@ input[type="color"]::-moz-color-swatch:hover {
218
218
  font-size: calc(var(--input-font-size) / 1.1);
219
219
  line-height: 1.2;
220
220
  }
221
- }
221
+ }
@@ -272,6 +272,10 @@
272
272
  flex: 1 1 33.33333%;
273
273
  }
274
274
 
275
+ .mb-auto {
276
+ margin-bottom: auto !important;
277
+ }
278
+
275
279
  .mb-0 {
276
280
  margin-bottom: 0rem !important;
277
281
  }
@@ -304,6 +308,10 @@
304
308
  margin-bottom: 4rem !important;
305
309
  }
306
310
 
311
+ .mt-auto {
312
+ margin-top: auto !important;
313
+ }
314
+
307
315
  .mt-0 {
308
316
  margin-top: 0rem !important;
309
317
  }
@@ -336,6 +344,10 @@
336
344
  margin-top: 4rem !important;
337
345
  }
338
346
 
347
+ .ms-auto {
348
+ margin-inline-start: auto !important;
349
+ }
350
+
339
351
  .ms-0 {
340
352
  margin-inline-start: 0rem !important;
341
353
  }
@@ -368,6 +380,10 @@
368
380
  margin-inline-start: 4rem !important;
369
381
  }
370
382
 
383
+ .me-auto {
384
+ margin-inline-end: auto !important;
385
+ }
386
+
371
387
  .me-0 {
372
388
  margin-inline-end: 0rem !important;
373
389
  }
@@ -23,6 +23,14 @@ h6 {}
23
23
  text-align: center;
24
24
  }
25
25
 
26
+ .txt-start {
27
+ text-align: start;
28
+ }
29
+
30
+ .txt-end {
31
+ text-align: end;
32
+ }
33
+
26
34
 
27
35
  .smalltxt {
28
36
  font-size: 12px;
@@ -104,7 +112,7 @@ h6 {}
104
112
  text-decoration: none;
105
113
  }
106
114
 
107
- .icon-font {
115
+ .bgl_icon-font {
108
116
  font-family: "Material Symbols Outlined", serif;
109
117
  }
110
118
 
@@ -155,7 +155,7 @@
155
155
  margin-top: 1rem;
156
156
  }
157
157
 
158
- .login-card .btn {
158
+ .login-card .bgl_btn {
159
159
  width: 100%;
160
160
  background: var(--bgl-primary);
161
161
  color: var(--bgl-white);
@@ -1,34 +0,0 @@
1
- type Option = {
2
- label: string;
3
- value: string;
4
- } | string | number;
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
- modelValue: string | number;
7
- options: Option[];
8
- placeholder?: string | undefined;
9
- label?: string | undefined;
10
- id: string;
11
- required: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:modelValue": (...args: any[]) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
- modelValue: string | number;
16
- options: Option[];
17
- placeholder?: string | undefined;
18
- label?: string | undefined;
19
- id: string;
20
- required: boolean;
21
- }>>> & {
22
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
- }, {}, {}>;
24
- export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- //# sourceMappingURL=Drop.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drop.vue.d.ts","sourceRoot":"","sources":["../../src/components/Drop.vue"],"names":[],"mappings":"AAcA;AAMA,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,GAAG,MAAM,CAAC;;gBA8KN,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;gBALL,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;AAXnB,wBAcG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,60 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id?: string | undefined;
3
- private?: 0 | 1 | undefined;
4
- singleFile?: boolean | undefined;
5
- beforeUpload?: (() => Promise<any>) | undefined;
6
- dragDropLabel?: string | undefined;
7
- browseLabel?: string | undefined;
8
- }>, {
9
- private: number;
10
- entity: string;
11
- id: string;
12
- beforeUpload: () => Promise<void>;
13
- dragDropLabel: string;
14
- browseLabel: string;
15
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- done: (...args: any[]) => void;
17
- complete: (...args: any[]) => void;
18
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
- id?: string | undefined;
20
- private?: 0 | 1 | undefined;
21
- singleFile?: boolean | undefined;
22
- beforeUpload?: (() => Promise<any>) | undefined;
23
- dragDropLabel?: string | undefined;
24
- browseLabel?: string | undefined;
25
- }>, {
26
- private: number;
27
- entity: string;
28
- id: string;
29
- beforeUpload: () => Promise<void>;
30
- dragDropLabel: string;
31
- browseLabel: string;
32
- }>>> & {
33
- onDone?: ((...args: any[]) => any) | undefined;
34
- onComplete?: ((...args: any[]) => any) | undefined;
35
- }, {
36
- id: string;
37
- private: 1 | 0;
38
- beforeUpload: () => Promise<any>;
39
- dragDropLabel: string;
40
- browseLabel: string;
41
- }, {}>;
42
- export default _default;
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToRuntimeProps<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
60
- //# sourceMappingURL=FileUploader.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAiDA;;;;;0BA6YuB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARtB,wBAeG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}