jplan-pack 0.3.84 → 0.4.1
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/jplan-pack.cjs.js +20 -11
- package/dist/jplan-pack.css +1 -0
- package/dist/jplan-pack.es.js +29255 -27325
- package/dist/types/components/FormMetadata.d.ts +15 -0
- package/dist/types/components/JForm.d.ts +34 -0
- package/dist/types/components/JSelect.d.ts +29 -0
- package/dist/types/components/JTextArea.d.ts +20 -0
- package/dist/types/components/JTextField.d.ts +12 -5
- package/dist/types/components/ParentCard.d.ts +2 -0
- package/dist/types/components/ReadOnlyField.d.ts +6 -0
- package/dist/types/components/SearchBar.d.ts +13 -0
- package/dist/types/components/icon/IconSet.d.ts +9 -10
- package/dist/types/components/index.d.ts +28 -2
- package/dist/types/components/table/ColumnSettingsDialog.d.ts +7 -0
- package/dist/types/components/table/UiTable.d.ts +1 -1
- package/dist/types/types/Icon.d.ts +2 -0
- package/dist/types/types/Metadata.d.ts +11 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/sidebarItem.d.ts +6 -0
- package/package.json +3 -2
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Metadata } from '../types';
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
3
|
+
meta: Metadata;
|
4
|
+
id?: {
|
5
|
+
title: string;
|
6
|
+
key: keyof Metadata;
|
7
|
+
};
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
9
|
+
meta: Metadata;
|
10
|
+
id?: {
|
11
|
+
title: string;
|
12
|
+
key: keyof Metadata;
|
13
|
+
};
|
14
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
15
|
+
export default _default;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { Metadata } from '../types';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
default?(_: {}): any;
|
5
|
+
actions?(_: {}): any;
|
6
|
+
};
|
7
|
+
refs: {};
|
8
|
+
attrs: Partial<{}>;
|
9
|
+
};
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
12
|
+
title: string;
|
13
|
+
metadata?: Metadata & any;
|
14
|
+
id?: {
|
15
|
+
title: string;
|
16
|
+
key: keyof Metadata;
|
17
|
+
};
|
18
|
+
callback?: () => any | Promise<any[]>;
|
19
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
20
|
+
title: string;
|
21
|
+
metadata?: Metadata & any;
|
22
|
+
id?: {
|
23
|
+
title: string;
|
24
|
+
key: keyof Metadata;
|
25
|
+
};
|
26
|
+
callback?: () => any | Promise<any[]>;
|
27
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
29
|
+
export default _default;
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
31
|
+
new (): {
|
32
|
+
$slots: S;
|
33
|
+
};
|
34
|
+
};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { VSelect } from 'vuetify/components';
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
3
|
+
modelValue: any;
|
4
|
+
name?: string;
|
5
|
+
label?: string;
|
6
|
+
placeholder?: string;
|
7
|
+
readonly?: boolean;
|
8
|
+
items: any[];
|
9
|
+
itemTitle?: string;
|
10
|
+
itemValue?: string;
|
11
|
+
density?: VSelect["density"];
|
12
|
+
loading?: boolean;
|
13
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
15
|
+
}, string, import('vue').PublicProps, Readonly<{
|
16
|
+
modelValue: any;
|
17
|
+
name?: string;
|
18
|
+
label?: string;
|
19
|
+
placeholder?: string;
|
20
|
+
readonly?: boolean;
|
21
|
+
items: any[];
|
22
|
+
itemTitle?: string;
|
23
|
+
itemValue?: string;
|
24
|
+
density?: VSelect["density"];
|
25
|
+
loading?: boolean;
|
26
|
+
}> & Readonly<{
|
27
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
29
|
+
export default _default;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
|
+
modelValue: any;
|
3
|
+
name?: string;
|
4
|
+
label?: string;
|
5
|
+
readonly?: boolean;
|
6
|
+
rows: number | string;
|
7
|
+
hideDetails?: boolean;
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
9
|
+
"update:modelValue": (...args: any[]) => void;
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
11
|
+
modelValue: any;
|
12
|
+
name?: string;
|
13
|
+
label?: string;
|
14
|
+
readonly?: boolean;
|
15
|
+
rows: number | string;
|
16
|
+
hideDetails?: boolean;
|
17
|
+
}> & Readonly<{
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
20
|
+
export default _default;
|
@@ -1,18 +1,25 @@
|
|
1
|
+
import { VTextField } from 'vuetify/components';
|
1
2
|
declare const _default: import('vue').DefineComponent<{
|
2
|
-
modelValue: string;
|
3
|
+
modelValue: string | null | number | Date | undefined;
|
3
4
|
name?: string;
|
4
5
|
label?: string;
|
5
|
-
type
|
6
|
+
type?: "text" | "number" | "password" | "email" | "date";
|
7
|
+
readonly?: boolean;
|
8
|
+
density?: VTextField["density"];
|
9
|
+
rules?: VTextField["rules"];
|
6
10
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
7
11
|
"update:modelValue": (...args: any[]) => void;
|
8
12
|
}, string, import('vue').PublicProps, Readonly<{
|
9
|
-
modelValue: string;
|
13
|
+
modelValue: string | null | number | Date | undefined;
|
10
14
|
name?: string;
|
11
15
|
label?: string;
|
12
|
-
type
|
16
|
+
type?: "text" | "number" | "password" | "email" | "date";
|
17
|
+
readonly?: boolean;
|
18
|
+
density?: VTextField["density"];
|
19
|
+
rules?: VTextField["rules"];
|
13
20
|
}> & Readonly<{
|
14
21
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
15
22
|
}>, {
|
16
|
-
type: "text" | "password" | "email" | "date";
|
23
|
+
type: "text" | "number" | "password" | "email" | "date";
|
17
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
18
25
|
export default _default;
|
@@ -9,9 +9,11 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<{
|
10
10
|
title?: string;
|
11
11
|
height?: string;
|
12
|
+
loading?: boolean;
|
12
13
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
13
14
|
title?: string;
|
14
15
|
height?: string;
|
16
|
+
loading?: boolean;
|
15
17
|
}> & Readonly<{}>, {
|
16
18
|
height: string;
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
|
+
value: any;
|
3
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
4
|
+
value: any;
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
6
|
+
export default _default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { VTextField } from 'vuetify/components';
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
3
|
+
variant?: VTextField["variant"];
|
4
|
+
closesearch?: () => void;
|
5
|
+
onSearch?: (query: string) => void;
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
7
|
+
variant?: VTextField["variant"];
|
8
|
+
closesearch?: () => void;
|
9
|
+
onSearch?: (query: string) => void;
|
10
|
+
}> & Readonly<{}>, {
|
11
|
+
variant: VTextField["variant"];
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
13
|
+
export default _default;
|
@@ -1,23 +1,22 @@
|
|
1
|
-
import {
|
1
|
+
import { IconType } from '../../types/Icon';
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
3
|
-
item:
|
3
|
+
item: IconType | string;
|
4
4
|
level?: number;
|
5
5
|
size?: number;
|
6
|
-
stroke?: number;
|
6
|
+
stroke?: number | string;
|
7
7
|
color?: string;
|
8
|
-
svg?:
|
8
|
+
svg?: string | null;
|
9
9
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
10
|
-
item:
|
10
|
+
item: IconType | string;
|
11
11
|
level?: number;
|
12
12
|
size?: number;
|
13
|
-
stroke?: number;
|
13
|
+
stroke?: number | string;
|
14
14
|
color?: string;
|
15
|
-
svg?:
|
15
|
+
svg?: string | null;
|
16
16
|
}> & Readonly<{}>, {
|
17
17
|
size: number;
|
18
|
-
|
19
|
-
svg: SVGElement | null;
|
18
|
+
svg: string | null;
|
20
19
|
level: number;
|
21
|
-
stroke: number;
|
20
|
+
stroke: number | string;
|
22
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
23
22
|
export default _default;
|
@@ -2,11 +2,37 @@ import { default as CopyButton } from './CopyButton';
|
|
2
2
|
import { default as JIconBtn } from './JIconBtn';
|
3
3
|
import { default as JBtn } from './JBtn';
|
4
4
|
import { default as DotsMenu } from './DotsMenu';
|
5
|
-
import { default as IconSet } from './icon/IconSet';
|
6
5
|
import { default as UiTable } from './table/UiTable';
|
6
|
+
import { default as ColumnSettingsDialog } from './table/ColumnSettingsDialog';
|
7
7
|
import { default as ParentCard } from './ParentCard';
|
8
8
|
import { default as JDialog } from './JDialog';
|
9
9
|
import { default as ConfirmDialog } from './ConfirmDialog';
|
10
10
|
import { default as JTextField } from './JTextField';
|
11
|
+
import { default as JSelect } from './JSelect';
|
12
|
+
import { default as JTextArea } from './JTextArea';
|
13
|
+
import { default as JForm } from './JForm';
|
11
14
|
import { TablerIcons } from './icon/tabler';
|
12
|
-
export { CopyButton,
|
15
|
+
export { UiTable, ConfirmDialog, CopyButton, DotsMenu, FormMetadata, JBtn, JDialog, JIconBtn, JSelect, JTextArea, JTextField, JForm, TablerIcons, ParentCard, ColumnSettingsDialog, };
|
16
|
+
declare const _default: {
|
17
|
+
IconSet: import('vue').DefineComponent<{
|
18
|
+
item: import('..').IconType | string;
|
19
|
+
level?: number;
|
20
|
+
size?: number;
|
21
|
+
stroke?: number | string;
|
22
|
+
color?: string;
|
23
|
+
svg?: string | null;
|
24
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
25
|
+
item: import('..').IconType | string;
|
26
|
+
level?: number;
|
27
|
+
size?: number;
|
28
|
+
stroke?: number | string;
|
29
|
+
color?: string;
|
30
|
+
svg?: string | null;
|
31
|
+
}> & Readonly<{}>, {
|
32
|
+
size: number;
|
33
|
+
svg: string | null;
|
34
|
+
level: number;
|
35
|
+
stroke: number | string;
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
37
|
+
};
|
38
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { UiTableHeader } from '../../types';
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
3
|
+
columns: UiTableHeader[];
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
5
|
+
columns: UiTableHeader[];
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
7
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { ComputedRef } from 'vue';
|
2
|
+
export type Metadata = {
|
3
|
+
created_by: ComputedRef<string> | string;
|
4
|
+
created_at: ComputedRef<string> | string;
|
5
|
+
delegated_at: ComputedRef<string> | string;
|
6
|
+
delegated_by: ComputedRef<string> | string;
|
7
|
+
updated_at: ComputedRef<string> | string;
|
8
|
+
updated_by: ComputedRef<string> | string;
|
9
|
+
modified_at?: ComputedRef<string> | string;
|
10
|
+
modified_by?: ComputedRef<string> | string;
|
11
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "jplan-pack",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.4.1",
|
4
4
|
"main": "./dist/jplan-pack.cjs.js",
|
5
5
|
"module": "./dist/jplan-pack.es.js",
|
6
6
|
"types": "dist/types/index.d.ts",
|
@@ -28,6 +28,7 @@
|
|
28
28
|
"axios": "^1.7.7",
|
29
29
|
"lodash": "^4.17.21",
|
30
30
|
"pinia": "^2.2.6",
|
31
|
+
"vue-draggable-next": "^2.2.1",
|
31
32
|
"vue-tabler-icons": "^2.21.0"
|
32
33
|
},
|
33
34
|
"peerDependencies": {
|
@@ -41,7 +42,7 @@
|
|
41
42
|
"rimraf": "^5.0.1",
|
42
43
|
"sass": "^1.63.6",
|
43
44
|
"typescript": "^5.1.6",
|
44
|
-
"vite": "^
|
45
|
+
"vite": "^6.0.11",
|
45
46
|
"vite-plugin-dts": "^4.3.0",
|
46
47
|
"vite-plugin-vuetify": "^2.0.4",
|
47
48
|
"vitepress": "^1.5.0",
|