sprintify-ui 0.6.35 → 0.6.37
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.
- package/dist/sprintify-ui.es.js +2 -0
- package/dist/types/src/components/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/src/components/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/src/types/TimelineItem.d.ts +0 -9
- package/dist/types/src/types/index.d.ts +9 -0
- package/package.json +1 -1
- package/src/components/BaseAutocomplete.vue +1 -0
- package/src/components/BaseDataIterator.vue +1 -0
- package/src/components/BaseTimeline.vue +1 -1
- package/src/components/BaseTimelineItem.vue +1 -1
- package/src/types/TimelineItem.ts +0 -9
- package/src/types/index.ts +11 -1
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -7443,6 +7443,7 @@ const Xm = /* @__PURE__ */ pi(Sx, [["render", Cx]]), Tx = { class: "relative w-f
|
|
|
7443
7443
|
ref_key: "inputElement",
|
|
7444
7444
|
ref: p,
|
|
7445
7445
|
"model-value": T(h),
|
|
7446
|
+
required: !1,
|
|
7446
7447
|
type: "text",
|
|
7447
7448
|
"visible-focus": n.visibleFocus,
|
|
7448
7449
|
placeholder: n.placeholder ? n.placeholder : T(ze)("sui.autocomplete_placeholder"),
|
|
@@ -24251,6 +24252,7 @@ const RO = { class: "grow" }, MO = {
|
|
|
24251
24252
|
placeholder: T(ze)("sui.autocomplete_placeholder"),
|
|
24252
24253
|
size: T(c).size.value,
|
|
24253
24254
|
class: "w-full",
|
|
24255
|
+
required: !1,
|
|
24254
24256
|
"icon-left": "heroicons:magnifying-glass",
|
|
24255
24257
|
"icon-right": T(v) ? "heroicons:x-mark" : void 0,
|
|
24256
24258
|
onIconRightClick: Ce[1] || (Ce[1] = (I) => {
|
|
@@ -209,3 +209,12 @@ export interface BaseCropperConfig {
|
|
|
209
209
|
presetOptions?: Record<string, any>;
|
|
210
210
|
saveOptions?: ResultOptions;
|
|
211
211
|
}
|
|
212
|
+
export interface TimelineItem {
|
|
213
|
+
title: string;
|
|
214
|
+
icon: string;
|
|
215
|
+
description?: null | string;
|
|
216
|
+
date?: string | null;
|
|
217
|
+
color?: string | null;
|
|
218
|
+
onEdit?: () => void | Promise<void>;
|
|
219
|
+
onDelete?: () => void | Promise<void>;
|
|
220
|
+
}
|
package/package.json
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
:placeholder="t('sui.autocomplete_placeholder')"
|
|
29
29
|
:size="sizeInternal.size.value"
|
|
30
30
|
class="w-full"
|
|
31
|
+
:required="false"
|
|
31
32
|
icon-left="heroicons:magnifying-glass"
|
|
32
33
|
:icon-right="searchQuery ? 'heroicons:x-mark' : undefined"
|
|
33
34
|
@icon-right-click="searchQuery = ''; onSearch('');"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
</template>
|
|
61
61
|
|
|
62
62
|
<script lang="ts" setup>
|
|
63
|
-
import { TimelineItem } from '../types
|
|
63
|
+
import { TimelineItem } from '../types';
|
|
64
64
|
import { PropType } from 'vue';
|
|
65
65
|
import { Icon as BaseIcon } from '@iconify/vue';
|
|
66
66
|
import { getColorConfig } from '@/utils/colors';
|
package/src/types/index.ts
CHANGED
|
@@ -255,4 +255,14 @@ export interface BaseCropperConfig {
|
|
|
255
255
|
preset?: CropperPreset;
|
|
256
256
|
presetOptions?: Record<string, any>;
|
|
257
257
|
saveOptions?: ResultOptions;
|
|
258
|
-
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export interface TimelineItem {
|
|
261
|
+
title: string;
|
|
262
|
+
icon: string;
|
|
263
|
+
description?: null | string;
|
|
264
|
+
date?: string | null;
|
|
265
|
+
color?: string | null;
|
|
266
|
+
onEdit?: () => void | Promise<void>;
|
|
267
|
+
onDelete?: () => void | Promise<void>;
|
|
268
|
+
}
|