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 CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
+ export * from '../dist/runtime/types/index.js';
2
3
 
3
4
  declare const _default: _nuxt_schema.NuxtModule<_nuxt_schema.ModuleOptions, _nuxt_schema.ModuleOptions, false>;
4
5
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
3
  "configKey": "cja-phoenix",
4
- "version": "1.0.13",
4
+ "version": "1.2.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
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,5 +1,5 @@
1
1
  import type { InputHTMLAttributes } from 'vue';
2
- import type { CheckboxOption } from '../../types/CheckboxOption.js';
2
+ import type { CheckboxOption } from '../../types/Form.js';
3
3
  import type { Lazy, Schema } from 'yup';
4
4
  type __VLS_Props = {
5
5
  title?: string;
@@ -1,5 +1,5 @@
1
1
  import { type InputHTMLAttributes } from 'vue';
2
- import type { DateFormat } from '../../types/DateFormat.js';
2
+ import type { DateFormat } from '../../types/Form.js';
3
3
  import type { Lazy, Schema } from 'yup';
4
4
  type __VLS_Props = {
5
5
  title?: string;
@@ -1,5 +1,5 @@
1
1
  import { type InputHTMLAttributes } from 'vue';
2
- import type { RadioOption } from '../../types/RadioOption.js';
2
+ import type { RadioOption } from '../../types/Form.js';
3
3
  import type { Lazy, Schema } from 'yup';
4
4
  type __VLS_Props = {
5
5
  title?: string;
@@ -1,4 +1,4 @@
1
- import type { SelectOption } from '../../types/SelectOption.js';
1
+ import type { SelectOption } from '../../types/Form.js';
2
2
  import { type InputHTMLAttributes } from 'vue';
3
3
  import type { Lazy, Schema } from 'yup';
4
4
  type __VLS_Props = {
@@ -1,5 +1,5 @@
1
1
  import type { Icon } from '../../types/Icon.js';
2
- import type { TileOption } from '../../types/TileOption.js';
2
+ import type { TileOption } from '../../types/Form.js';
3
3
  import type { Lazy, Schema } from 'yup';
4
4
  type __VLS_Props = {
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import type { SelectOption } from '../types/SelectOption.js';
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
+ }
@@ -0,0 +1,4 @@
1
+ export * from './Form.js';
2
+ export * from './Grid.js';
3
+ export * from './Icon.js';
4
+ export * from './JourneyConfig.js';
@@ -0,0 +1,4 @@
1
+ export * from "./Form.js";
2
+ export * from "./Grid.js";
3
+ export * from "./Icon.js";
4
+ export * from "./JourneyConfig.js";
@@ -1,7 +1,6 @@
1
- import type { DateFormat } from '../types/DateFormat.js';
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
@@ -5,3 +5,5 @@ import type { default as Module } from './module.mjs'
5
5
  export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
6
 
7
7
  export { default } from './module.mjs'
8
+
9
+ export * from '../dist/runtime/types/index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
- "version": "1.0.13",
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.0.3",
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",
@@ -1,6 +0,0 @@
1
- import type { InputHTMLAttributes } from 'vue';
2
- export interface CheckboxOption {
3
- value: InputHTMLAttributes['value'];
4
- label: string;
5
- disabled?: InputHTMLAttributes['disabled'];
6
- }
File without changes
@@ -1 +0,0 @@
1
- export type DateFormat = 'DD/MM/YYYY' | 'MM/YYYY' | 'YYYY' | 'YYYY/MM/DD' | 'YYYY/MM';
File without changes
@@ -1,7 +0,0 @@
1
- export declare class FileModel {
2
- name?: string;
3
- extension?: string;
4
- src?: string;
5
- file?: File;
6
- constructor(raw?: string);
7
- }
@@ -1,6 +0,0 @@
1
- import type { InputHTMLAttributes } from 'vue';
2
- export interface RadioOption {
3
- value: InputHTMLAttributes['value'];
4
- label: string;
5
- disabled?: InputHTMLAttributes['disabled'];
6
- }
File without changes
@@ -1,8 +0,0 @@
1
- import type { SelectHTMLAttributes } from 'vue';
2
- export interface SelectOption {
3
- value: SelectHTMLAttributes['value'];
4
- label: string;
5
- disabled?: boolean;
6
- altLabel?: string;
7
- searchTags?: string[];
8
- }
File without changes
File without changes