@a2simcode/ui 0.0.122 → 0.0.124
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/components/index.d.ts +2 -1
- package/dist/components/now-time/index.d.ts +89 -0
- package/dist/components/now-time/src/now-time.vue.d.ts +74 -0
- package/dist/simcode-ui.es.js +1576 -1530
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/meta/table.ts +5 -0
- package/docs/examples/form/basic.vue +25 -5
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { default as JButtons } from './buttons';
|
|
|
4
4
|
import { default as JInput } from './input';
|
|
5
5
|
import { default as JDate } from './date';
|
|
6
6
|
import { default as JTime } from './time';
|
|
7
|
+
import { default as JNowTime } from './now-time';
|
|
7
8
|
import { default as JIcon } from './icon';
|
|
8
9
|
import { default as JRadio } from './radio';
|
|
9
10
|
import { default as JSelect } from './select';
|
|
@@ -56,7 +57,7 @@ import { default as JCollapse } from './collapse';
|
|
|
56
57
|
import { default as JEditor } from './editor';
|
|
57
58
|
import { default as JWorkflowViewer, JWorkflow } from './workflow-viewer';
|
|
58
59
|
import { default as JInputCards } from './input-cards';
|
|
59
|
-
export { JButton, JButtons, JInput, JDate, JTime, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JInputCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
|
|
60
|
+
export { JButton, JButtons, JInput, JDate, JTime, JNowTime, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JInputCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JTreeSelect, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JInputLayer, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, JWorkflow, JPanel, JInputCards, };
|
|
60
61
|
export * from '../core';
|
|
61
62
|
export type { ButtonProps } from './button/src/button.vue';
|
|
62
63
|
export type { DateProps } from './date/src/date.vue';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare const JNowTime: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
readonly: BooleanConstructor;
|
|
8
|
+
size: {
|
|
9
|
+
type: import('vue').PropType<"small" | "large" | "default">;
|
|
10
|
+
};
|
|
11
|
+
mode: {
|
|
12
|
+
type: import('vue').PropType<"create" | "modify">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
isEditState: BooleanConstructor;
|
|
16
|
+
}>> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (...args: any[]) => void;
|
|
21
|
+
change: (...args: any[]) => void;
|
|
22
|
+
}, import('vue').PublicProps, {
|
|
23
|
+
mode: "create" | "modify";
|
|
24
|
+
modelValue: string;
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
isEditState: boolean;
|
|
27
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
28
|
+
P: {};
|
|
29
|
+
B: {};
|
|
30
|
+
D: {};
|
|
31
|
+
C: {};
|
|
32
|
+
M: {};
|
|
33
|
+
Defaults: {};
|
|
34
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: import('vue').PropType<string>;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
readonly: BooleanConstructor;
|
|
40
|
+
size: {
|
|
41
|
+
type: import('vue').PropType<"small" | "large" | "default">;
|
|
42
|
+
};
|
|
43
|
+
mode: {
|
|
44
|
+
type: import('vue').PropType<"create" | "modify">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
isEditState: BooleanConstructor;
|
|
48
|
+
}>> & Readonly<{
|
|
49
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {}, {}, {}, {}, {
|
|
52
|
+
mode: "create" | "modify";
|
|
53
|
+
modelValue: string;
|
|
54
|
+
readonly: boolean;
|
|
55
|
+
isEditState: boolean;
|
|
56
|
+
}>;
|
|
57
|
+
__isFragment?: never;
|
|
58
|
+
__isTeleport?: never;
|
|
59
|
+
__isSuspense?: never;
|
|
60
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
61
|
+
modelValue: {
|
|
62
|
+
type: import('vue').PropType<string>;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
readonly: BooleanConstructor;
|
|
66
|
+
size: {
|
|
67
|
+
type: import('vue').PropType<"small" | "large" | "default">;
|
|
68
|
+
};
|
|
69
|
+
mode: {
|
|
70
|
+
type: import('vue').PropType<"create" | "modify">;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
isEditState: BooleanConstructor;
|
|
74
|
+
}>> & Readonly<{
|
|
75
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
78
|
+
"update:modelValue": (...args: any[]) => void;
|
|
79
|
+
change: (...args: any[]) => void;
|
|
80
|
+
}, string, {
|
|
81
|
+
mode: "create" | "modify";
|
|
82
|
+
modelValue: string;
|
|
83
|
+
readonly: boolean;
|
|
84
|
+
isEditState: boolean;
|
|
85
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
86
|
+
install: (app: import('vue').App) => void;
|
|
87
|
+
};
|
|
88
|
+
export default JNowTime;
|
|
89
|
+
export * from './src/now-time.vue';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* @zh 输入值
|
|
5
|
+
* @vModel
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @zh 是否禁用。
|
|
13
|
+
*/
|
|
14
|
+
readonly: BooleanConstructor;
|
|
15
|
+
/**
|
|
16
|
+
* @zh 选框尺寸
|
|
17
|
+
*/
|
|
18
|
+
size: {
|
|
19
|
+
type: PropType<"small" | "large" | "default">;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @zh 模式,用于区分编辑人员还是创建人员
|
|
23
|
+
*/
|
|
24
|
+
mode: {
|
|
25
|
+
type: PropType<"create" | "modify">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @zh 是否编辑状态(相对于新建),对于编辑人员还是创建人员有用
|
|
30
|
+
*/
|
|
31
|
+
isEditState: BooleanConstructor;
|
|
32
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (...args: any[]) => void;
|
|
34
|
+
change: (...args: any[]) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
/**
|
|
37
|
+
* @zh 输入值
|
|
38
|
+
* @vModel
|
|
39
|
+
*/
|
|
40
|
+
modelValue: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @zh 是否禁用。
|
|
46
|
+
*/
|
|
47
|
+
readonly: BooleanConstructor;
|
|
48
|
+
/**
|
|
49
|
+
* @zh 选框尺寸
|
|
50
|
+
*/
|
|
51
|
+
size: {
|
|
52
|
+
type: PropType<"small" | "large" | "default">;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @zh 模式,用于区分编辑人员还是创建人员
|
|
56
|
+
*/
|
|
57
|
+
mode: {
|
|
58
|
+
type: PropType<"create" | "modify">;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @zh 是否编辑状态(相对于新建),对于编辑人员还是创建人员有用
|
|
63
|
+
*/
|
|
64
|
+
isEditState: BooleanConstructor;
|
|
65
|
+
}>> & Readonly<{
|
|
66
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
mode: "create" | "modify";
|
|
70
|
+
modelValue: string;
|
|
71
|
+
readonly: boolean;
|
|
72
|
+
isEditState: boolean;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
export default _default;
|