ablok-components 0.3.19 → 0.3.21

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.
@@ -0,0 +1,159 @@
1
+ declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: (StringConstructor | BooleanConstructor | DateConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ type: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ name: {
11
+ type: StringConstructor;
12
+ default: () => string;
13
+ };
14
+ id: {
15
+ type: StringConstructor;
16
+ default: () => string;
17
+ };
18
+ label: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ placeholder: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ variant: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ readOnly: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ required: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ maxlength: {
43
+ type: NumberConstructor;
44
+ };
45
+ pattern: {
46
+ type: StringConstructor;
47
+ default: null;
48
+ };
49
+ role: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ autocomplete: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ passcodeMatch: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ confirm: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ splitInput: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ }>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
70
+ "update:modelValue": (...args: any[]) => void;
71
+ }, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
72
+ modelValue: {
73
+ type: (StringConstructor | BooleanConstructor | DateConstructor | NumberConstructor)[];
74
+ default: string;
75
+ };
76
+ type: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ name: {
81
+ type: StringConstructor;
82
+ default: () => string;
83
+ };
84
+ id: {
85
+ type: StringConstructor;
86
+ default: () => string;
87
+ };
88
+ label: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ placeholder: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ variant: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ disabled: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ readOnly: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ required: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ maxlength: {
113
+ type: NumberConstructor;
114
+ };
115
+ pattern: {
116
+ type: StringConstructor;
117
+ default: null;
118
+ };
119
+ role: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ autocomplete: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ passcodeMatch: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ confirm: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ splitInput: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ }>> & Readonly<{
140
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
141
+ }>, {
142
+ type: string;
143
+ label: string;
144
+ pattern: string;
145
+ required: boolean;
146
+ variant: string;
147
+ id: string;
148
+ modelValue: string | number | boolean | Date;
149
+ disabled: boolean;
150
+ name: string;
151
+ placeholder: string;
152
+ readOnly: boolean;
153
+ role: string;
154
+ autocomplete: string;
155
+ passcodeMatch: string;
156
+ confirm: boolean;
157
+ splitInput: boolean;
158
+ }, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
159
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export interface CameraFilterProps {
2
+ filter: string;
3
+ tintColor: string;
4
+ tintIntensity: number;
5
+ }
6
+ export declare function useCameraFilter(props: CameraFilterProps): {
7
+ tintRgb: import('../../vue/dist/vue.esm-bundler.js').ComputedRef<{
8
+ r: number;
9
+ g: number;
10
+ b: number;
11
+ } | null>;
12
+ applyFilterToCanvas: (context: CanvasRenderingContext2D, width: number, height: number) => void;
13
+ };
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export { default as InputTextarea } from './components/atoms/input-textarea/inpu
11
11
  export { default as InputCheckbox } from './components/atoms/input-checkbox/input-checkbox.vue';
12
12
  export { default as InputDatetime } from './components/atoms/input-datetime/input-datetime.vue';
13
13
  export { default as InputDatepicker } from './components/molecules/input-datepicker/input-datepicker.vue';
14
+ export { default as InputPasscode } from './components/atoms/input-passcode/input-passcode.vue';
14
15
  export { default as InputPassword } from './components/atoms/input-password/input-password.vue';
15
16
  export { default as CheckGroup } from './components/atoms/check-group/check-group.vue';
16
17
  export { default as RadioGroup } from './components/atoms/radio-group/radio-group.vue';
@@ -45,3 +46,5 @@ export { default as ImageCrop } from './components/molecules/image-crop/image-cr
45
46
  export { default as ImageResize } from './components/molecules/image-resize/image-resize.vue';
46
47
  export { default as ImageCropResize } from './components/molecules/image-crop-resize/image-crop-resize.vue';
47
48
  export { default as ImageUpload } from './components/molecules/image-upload/image-upload.vue';
49
+ export { useCameraFilter } from './composables/useCameraFilter';
50
+ export type { CameraFilterProps } from './composables/useCameraFilter';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ablok-components",
3
3
  "private": false,
4
- "version": "0.3.19",
4
+ "version": "0.3.21",
5
5
  "scripts": {
6
6
  "dev": "vite --host",
7
7
  "story:dev": "histoire dev",