cja-phoenix 1.0.13 → 1.2.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.d.mts +1 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +0 -1
- package/dist/runtime/components/form/CheckboxInputList.vue.d.ts +1 -1
- package/dist/runtime/components/form/DateInput.vue.d.ts +1 -1
- package/dist/runtime/components/form/RadioInputList.vue.d.ts +1 -1
- package/dist/runtime/components/form/SelectInput.vue.d.ts +1 -1
- package/dist/runtime/components/form/SelectionTiles.vue.d.ts +1 -1
- package/dist/runtime/composables/useFunnelSummary.d.ts +1 -1
- package/dist/runtime/types/Form.d.ts +34 -0
- package/dist/runtime/types/index.d.ts +4 -0
- package/dist/runtime/types/index.js +4 -0
- package/dist/runtime/utils/formValidations.d.ts +1 -2
- package/dist/types.d.mts +2 -0
- package/package.json +3 -3
- package/dist/runtime/types/CheckboxOption.d.ts +0 -6
- package/dist/runtime/types/CheckboxOption.js +0 -0
- package/dist/runtime/types/DateFormat.d.ts +0 -1
- package/dist/runtime/types/DateFormat.js +0 -0
- package/dist/runtime/types/FileInput.d.ts +0 -7
- package/dist/runtime/types/RadioOption.d.ts +0 -6
- package/dist/runtime/types/RadioOption.js +0 -0
- package/dist/runtime/types/SelectOption.d.ts +0 -8
- package/dist/runtime/types/SelectOption.js +0 -0
- /package/dist/runtime/types/{FileInput.js → Form.js} +0 -0
package/dist/module.d.mts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -21,7 +21,6 @@ const module = defineNuxtModule({
|
|
|
21
21
|
addImportsDir(resolve("./runtime/composables"));
|
|
22
22
|
addImportsDir(resolve("./runtime/utils"));
|
|
23
23
|
addImportsDir(resolve("./runtime/data"));
|
|
24
|
-
addImportsDir(resolve("./runtime/types"));
|
|
25
24
|
addComponentsDir({
|
|
26
25
|
path: resolve("./runtime/components")
|
|
27
26
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectOption } from '../types/
|
|
1
|
+
import type { SelectOption } from '../types/Form.js';
|
|
2
2
|
import type { StepData } from '../types/JourneyConfig.js';
|
|
3
3
|
import type { ComputedRef } from 'vue';
|
|
4
4
|
export declare const useFunnelSummary: (options: {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, SelectHTMLAttributes } from 'vue';
|
|
2
|
+
export interface SelectOption {
|
|
3
|
+
value: SelectHTMLAttributes['value'];
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
altLabel?: string;
|
|
7
|
+
searchTags?: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface CheckboxOption {
|
|
10
|
+
value: InputHTMLAttributes['value'];
|
|
11
|
+
label: string;
|
|
12
|
+
disabled?: InputHTMLAttributes['disabled'];
|
|
13
|
+
}
|
|
14
|
+
export interface RadioOption {
|
|
15
|
+
value: InputHTMLAttributes['value'];
|
|
16
|
+
label: string;
|
|
17
|
+
disabled?: InputHTMLAttributes['disabled'];
|
|
18
|
+
}
|
|
19
|
+
export interface TileOption {
|
|
20
|
+
value: any;
|
|
21
|
+
label: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
descriptionLong?: string;
|
|
24
|
+
tooltip?: string;
|
|
25
|
+
image?: string;
|
|
26
|
+
}
|
|
27
|
+
export type DateFormat = 'DD/MM/YYYY' | 'MM/YYYY' | 'YYYY' | 'YYYY/MM/DD' | 'YYYY/MM';
|
|
28
|
+
export declare class FileModel {
|
|
29
|
+
name?: string;
|
|
30
|
+
extension?: string;
|
|
31
|
+
src?: string;
|
|
32
|
+
file?: File;
|
|
33
|
+
constructor(raw?: string);
|
|
34
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { DateFormat } from '../types/
|
|
1
|
+
import type { DateFormat, FileModel } from '../types/Form.js';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
3
|
import type { Ref } from 'vue';
|
|
4
|
-
import type { FileModel } from '../types/FileInput.js';
|
|
5
4
|
export declare const formValidation: {
|
|
6
5
|
string: (messages: {
|
|
7
6
|
required?: string;
|
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cja-phoenix",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Phoenix utility",
|
|
5
5
|
"repository": "comparaja/phoenix",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"dev": "npm run dev:prepare && nuxi dev playground",
|
|
30
30
|
"dev:build": "nuxi build playground",
|
|
31
31
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
32
|
-
"release": "npm run lint && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
32
|
+
"release": "npm run lint && npm run prepack && changelogen --minor --release && npm publish && git push --follow-tags",
|
|
33
33
|
"lint": "eslint . --fix",
|
|
34
34
|
"link": "npm run prepack && npm link"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nuxt/kit": "^4.
|
|
37
|
+
"@nuxt/kit": "^4.1.1",
|
|
38
38
|
"@popperjs/core": "^2.11.8",
|
|
39
39
|
"maska": "^3.0.4",
|
|
40
40
|
"v-calendar": "^3.1.2",
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type DateFormat = 'DD/MM/YYYY' | 'MM/YYYY' | 'YYYY' | 'YYYY/MM/DD' | 'YYYY/MM';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|