pukaad-ui-lib 1.251.0 → 1.252.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.
- package/dist/module.json +1 -1
- package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
- package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-checkbox.vue +12 -10
- package/dist/runtime/components/input/input-radio.vue +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
-
background: boolean;
|
|
68
|
-
modal: boolean;
|
|
69
67
|
responsive: boolean;
|
|
70
68
|
restore: boolean;
|
|
71
69
|
checkCrossOrigin: boolean;
|
|
72
70
|
checkOrientation: boolean;
|
|
73
71
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
+
modal: boolean;
|
|
74
73
|
guides: boolean;
|
|
75
74
|
highlight: boolean;
|
|
75
|
+
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
-
background: boolean;
|
|
68
|
-
modal: boolean;
|
|
69
67
|
responsive: boolean;
|
|
70
68
|
restore: boolean;
|
|
71
69
|
checkCrossOrigin: boolean;
|
|
72
70
|
checkOrientation: boolean;
|
|
73
71
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
+
modal: boolean;
|
|
74
73
|
guides: boolean;
|
|
75
74
|
highlight: boolean;
|
|
75
|
+
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<ShadFormField :name="props.name" :rules="props.rules || defaultRules" v-slot="{ componentField }">
|
|
3
3
|
<ShadFormItem>
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
<ShadFormLabel
|
|
5
|
+
class="flex gap-2 items-center font-body-medium text-black leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer"
|
|
6
|
+
:class="[
|
|
6
7
|
props.labelPosition === 'left' ? 'flex-row-reverse justify-between w-full' : ''
|
|
7
|
-
]"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
]"
|
|
9
|
+
>
|
|
10
|
+
<ShadFormControl>
|
|
11
|
+
<ShadCheckbox v-bind="componentField" v-model="modelValue" :indeterminate="props.indeterminate"
|
|
12
|
+
:style="{ width: `${props.size}px`, height: `${props.size}px` }" />
|
|
13
|
+
</ShadFormControl>
|
|
14
|
+
<span
|
|
12
15
|
:class="[
|
|
13
16
|
props.labelPosition === 'left' ? 'flex-1' : ''
|
|
14
17
|
]">
|
|
15
18
|
{{ props.label }}
|
|
16
|
-
</
|
|
17
|
-
</
|
|
18
|
-
</ShadFormControl>
|
|
19
|
+
</span>
|
|
20
|
+
</ShadFormLabel>
|
|
19
21
|
</ShadFormItem>
|
|
20
22
|
</ShadFormField>
|
|
21
23
|
</template>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<input v-bind="field"
|
|
21
|
-
:class="['appearance-none rounded-full border border-black bg-white
|
|
21
|
+
:class="['appearance-none rounded-full border border-black bg-white checked:border-primary checked:bg-primary checked:shadow-[inset_0_0_0_2px_white] cursor-pointer shrink-0', cursor]"
|
|
22
22
|
type="radio" :name="props.name" :style="{ width: `${props.size}px`, height: `${props.size}px` }"
|
|
23
23
|
:value="typeof item === 'object' ? item.value : item" :disabled="
|
|
24
24
|
props.disabled || typeof item === 'object' && item.disabled
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
</template>
|
|
49
49
|
|
|
50
50
|
<input v-bind="field"
|
|
51
|
-
:class="['appearance-none rounded-full border border-black bg-white
|
|
51
|
+
:class="['appearance-none rounded-full border border-black bg-white checked:border-primary checked:bg-primary checked:shadow-[inset_0_0_0_2px_white] cursor-pointer shrink-0', cursor]"
|
|
52
52
|
type="radio" :name="props.name" :style="{ width: `${props.size}px`, height: `${props.size}px` }"
|
|
53
53
|
:value="item" :disabled="props.disabled" />
|
|
54
54
|
|