@expcat/tigercat-vue 0.0.1 → 0.0.57
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/chunk-4FUWM7WP.js +105 -0
- package/dist/chunk-SUM4V2WN.mjs +102 -0
- package/dist/components/Code.d.mts +71 -0
- package/dist/components/Code.d.ts +71 -0
- package/dist/components/Code.js +16 -0
- package/dist/components/Code.mjs +1 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +32 -27
- package/dist/index.mjs +8 -7
- package/package.json +2 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var tigercatCore = require('@expcat/tigercat-core');
|
|
5
|
+
|
|
6
|
+
// src/components/Code.ts
|
|
7
|
+
var Code = vue.defineComponent({
|
|
8
|
+
name: "TigerCode",
|
|
9
|
+
inheritAttrs: false,
|
|
10
|
+
props: {
|
|
11
|
+
code: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true
|
|
14
|
+
},
|
|
15
|
+
copyable: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: true
|
|
18
|
+
},
|
|
19
|
+
copyLabel: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "\u590D\u5236"
|
|
22
|
+
},
|
|
23
|
+
copiedLabel: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "\u5DF2\u590D\u5236"
|
|
26
|
+
},
|
|
27
|
+
className: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: void 0
|
|
30
|
+
},
|
|
31
|
+
style: {
|
|
32
|
+
type: Object,
|
|
33
|
+
default: void 0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
emits: ["copy"],
|
|
37
|
+
setup(props, { emit, attrs }) {
|
|
38
|
+
const isCopied = vue.ref(false);
|
|
39
|
+
const timerRef = vue.ref(null);
|
|
40
|
+
const containerClasses = vue.computed(() => {
|
|
41
|
+
const attrsRecord = attrs;
|
|
42
|
+
return tigercatCore.classNames(
|
|
43
|
+
tigercatCore.codeBlockContainerClasses,
|
|
44
|
+
props.className,
|
|
45
|
+
tigercatCore.coerceClassValue(attrsRecord.class)
|
|
46
|
+
);
|
|
47
|
+
});
|
|
48
|
+
const copyButtonClasses = vue.computed(() => {
|
|
49
|
+
return tigercatCore.classNames(
|
|
50
|
+
tigercatCore.codeBlockCopyButtonBaseClasses,
|
|
51
|
+
isCopied.value && tigercatCore.codeBlockCopyButtonCopiedClasses
|
|
52
|
+
);
|
|
53
|
+
});
|
|
54
|
+
const clearTimer = () => {
|
|
55
|
+
if (timerRef.value != null) {
|
|
56
|
+
window.clearTimeout(timerRef.value);
|
|
57
|
+
timerRef.value = null;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
const handleCopy = async () => {
|
|
61
|
+
if (!props.copyable) return;
|
|
62
|
+
const ok = await tigercatCore.copyTextToClipboard(props.code);
|
|
63
|
+
if (!ok) return;
|
|
64
|
+
isCopied.value = true;
|
|
65
|
+
emit("copy", props.code);
|
|
66
|
+
clearTimer();
|
|
67
|
+
timerRef.value = window.setTimeout(() => {
|
|
68
|
+
isCopied.value = false;
|
|
69
|
+
timerRef.value = null;
|
|
70
|
+
}, 1500);
|
|
71
|
+
};
|
|
72
|
+
vue.onBeforeUnmount(() => {
|
|
73
|
+
clearTimer();
|
|
74
|
+
});
|
|
75
|
+
return () => {
|
|
76
|
+
const attrsRecord = attrs;
|
|
77
|
+
const attrsStyle = attrsRecord.style;
|
|
78
|
+
return vue.h(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
...attrs,
|
|
82
|
+
class: containerClasses.value,
|
|
83
|
+
style: tigercatCore.mergeStyleValues(attrsStyle, props.style)
|
|
84
|
+
},
|
|
85
|
+
[
|
|
86
|
+
vue.h("pre", { class: tigercatCore.codeBlockPreClasses }, [vue.h("code", { class: "block" }, props.code)]),
|
|
87
|
+
props.copyable ? vue.h(
|
|
88
|
+
"button",
|
|
89
|
+
{
|
|
90
|
+
type: "button",
|
|
91
|
+
class: copyButtonClasses.value,
|
|
92
|
+
onClick: handleCopy,
|
|
93
|
+
"aria-label": isCopied.value ? props.copiedLabel : props.copyLabel
|
|
94
|
+
},
|
|
95
|
+
isCopied.value ? props.copiedLabel : props.copyLabel
|
|
96
|
+
) : null
|
|
97
|
+
]
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
var Code_default = Code;
|
|
103
|
+
|
|
104
|
+
exports.Code = Code;
|
|
105
|
+
exports.Code_default = Code_default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, onBeforeUnmount, h } from 'vue';
|
|
2
|
+
import { classNames, codeBlockContainerClasses, coerceClassValue, codeBlockCopyButtonBaseClasses, codeBlockCopyButtonCopiedClasses, mergeStyleValues, codeBlockPreClasses, copyTextToClipboard } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
// src/components/Code.ts
|
|
5
|
+
var Code = defineComponent({
|
|
6
|
+
name: "TigerCode",
|
|
7
|
+
inheritAttrs: false,
|
|
8
|
+
props: {
|
|
9
|
+
code: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
copyable: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: true
|
|
16
|
+
},
|
|
17
|
+
copyLabel: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "\u590D\u5236"
|
|
20
|
+
},
|
|
21
|
+
copiedLabel: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "\u5DF2\u590D\u5236"
|
|
24
|
+
},
|
|
25
|
+
className: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: void 0
|
|
28
|
+
},
|
|
29
|
+
style: {
|
|
30
|
+
type: Object,
|
|
31
|
+
default: void 0
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
emits: ["copy"],
|
|
35
|
+
setup(props, { emit, attrs }) {
|
|
36
|
+
const isCopied = ref(false);
|
|
37
|
+
const timerRef = ref(null);
|
|
38
|
+
const containerClasses = computed(() => {
|
|
39
|
+
const attrsRecord = attrs;
|
|
40
|
+
return classNames(
|
|
41
|
+
codeBlockContainerClasses,
|
|
42
|
+
props.className,
|
|
43
|
+
coerceClassValue(attrsRecord.class)
|
|
44
|
+
);
|
|
45
|
+
});
|
|
46
|
+
const copyButtonClasses = computed(() => {
|
|
47
|
+
return classNames(
|
|
48
|
+
codeBlockCopyButtonBaseClasses,
|
|
49
|
+
isCopied.value && codeBlockCopyButtonCopiedClasses
|
|
50
|
+
);
|
|
51
|
+
});
|
|
52
|
+
const clearTimer = () => {
|
|
53
|
+
if (timerRef.value != null) {
|
|
54
|
+
window.clearTimeout(timerRef.value);
|
|
55
|
+
timerRef.value = null;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const handleCopy = async () => {
|
|
59
|
+
if (!props.copyable) return;
|
|
60
|
+
const ok = await copyTextToClipboard(props.code);
|
|
61
|
+
if (!ok) return;
|
|
62
|
+
isCopied.value = true;
|
|
63
|
+
emit("copy", props.code);
|
|
64
|
+
clearTimer();
|
|
65
|
+
timerRef.value = window.setTimeout(() => {
|
|
66
|
+
isCopied.value = false;
|
|
67
|
+
timerRef.value = null;
|
|
68
|
+
}, 1500);
|
|
69
|
+
};
|
|
70
|
+
onBeforeUnmount(() => {
|
|
71
|
+
clearTimer();
|
|
72
|
+
});
|
|
73
|
+
return () => {
|
|
74
|
+
const attrsRecord = attrs;
|
|
75
|
+
const attrsStyle = attrsRecord.style;
|
|
76
|
+
return h(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
...attrs,
|
|
80
|
+
class: containerClasses.value,
|
|
81
|
+
style: mergeStyleValues(attrsStyle, props.style)
|
|
82
|
+
},
|
|
83
|
+
[
|
|
84
|
+
h("pre", { class: codeBlockPreClasses }, [h("code", { class: "block" }, props.code)]),
|
|
85
|
+
props.copyable ? h(
|
|
86
|
+
"button",
|
|
87
|
+
{
|
|
88
|
+
type: "button",
|
|
89
|
+
class: copyButtonClasses.value,
|
|
90
|
+
onClick: handleCopy,
|
|
91
|
+
"aria-label": isCopied.value ? props.copiedLabel : props.copyLabel
|
|
92
|
+
},
|
|
93
|
+
isCopied.value ? props.copiedLabel : props.copyLabel
|
|
94
|
+
) : null
|
|
95
|
+
]
|
|
96
|
+
);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
var Code_default = Code;
|
|
101
|
+
|
|
102
|
+
export { Code, Code_default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { CodeProps } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueCodeProps extends CodeProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: Record<string, string | number>;
|
|
8
|
+
}
|
|
9
|
+
declare const Code: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
10
|
+
code: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
copyable: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
copyLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
copiedLabel: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
className: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
style: {
|
|
31
|
+
type: PropType<Record<string, string | number>>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "copy"[], "copy", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
37
|
+
code: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
copyable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
copyLabel: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
copiedLabel: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
className: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
style: {
|
|
58
|
+
type: PropType<Record<string, string | number>>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{
|
|
62
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
style: Record<string, string | number>;
|
|
65
|
+
className: string;
|
|
66
|
+
copyable: boolean;
|
|
67
|
+
copyLabel: string;
|
|
68
|
+
copiedLabel: string;
|
|
69
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
|
|
71
|
+
export { Code, type VueCodeProps, Code as default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { CodeProps } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueCodeProps extends CodeProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: Record<string, string | number>;
|
|
8
|
+
}
|
|
9
|
+
declare const Code: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
10
|
+
code: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
copyable: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
copyLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
copiedLabel: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
className: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
style: {
|
|
31
|
+
type: PropType<Record<string, string | number>>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "copy"[], "copy", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
37
|
+
code: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
copyable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
copyLabel: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
copiedLabel: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
className: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
style: {
|
|
58
|
+
type: PropType<Record<string, string | number>>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{
|
|
62
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
style: Record<string, string | number>;
|
|
65
|
+
className: string;
|
|
66
|
+
copyable: boolean;
|
|
67
|
+
copyLabel: string;
|
|
68
|
+
copiedLabel: string;
|
|
69
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
|
|
71
|
+
export { Code, type VueCodeProps, Code as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunk4FUWM7WP_js = require('../chunk-4FUWM7WP.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Code", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk4FUWM7WP_js.Code; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk4FUWM7WP_js.Code_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Code, Code_default as default } from '../chunk-SUM4V2WN.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from '@expcat/tigercat-core';
|
|
2
|
+
export { DrawerPlacement, DrawerSize, ListItem, TableColumn, TreeNode, UploadFile } from '@expcat/tigercat-core';
|
|
2
3
|
export { default as ConfigProvider, useTigerConfig } from './components/ConfigProvider.mjs';
|
|
3
4
|
export { default as Button, VueButtonProps } from './components/Button.mjs';
|
|
4
5
|
export { default as Slider, VueSliderProps } from './components/Slider.mjs';
|
|
@@ -24,6 +25,7 @@ export { Col, VueColProps } from './components/Col.mjs';
|
|
|
24
25
|
export { default as Container } from './components/Container.mjs';
|
|
25
26
|
export { default as Link } from './components/Link.mjs';
|
|
26
27
|
export { default as Text, VueTextProps } from './components/Text.mjs';
|
|
28
|
+
export { default as Code, VueCodeProps } from './components/Code.mjs';
|
|
27
29
|
export { default as Icon, VueIconProps } from './components/Icon.mjs';
|
|
28
30
|
export { default as DatePicker, VueDatePickerModelValue, VueDatePickerProps } from './components/DatePicker.mjs';
|
|
29
31
|
export { default as TimePicker, VueTimePickerModelValue, VueTimePickerProps } from './components/TimePicker.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from '@expcat/tigercat-core';
|
|
2
|
+
export { DrawerPlacement, DrawerSize, ListItem, TableColumn, TreeNode, UploadFile } from '@expcat/tigercat-core';
|
|
2
3
|
export { default as ConfigProvider, useTigerConfig } from './components/ConfigProvider.js';
|
|
3
4
|
export { default as Button, VueButtonProps } from './components/Button.js';
|
|
4
5
|
export { default as Slider, VueSliderProps } from './components/Slider.js';
|
|
@@ -24,6 +25,7 @@ export { Col, VueColProps } from './components/Col.js';
|
|
|
24
25
|
export { default as Container } from './components/Container.js';
|
|
25
26
|
export { default as Link } from './components/Link.js';
|
|
26
27
|
export { default as Text, VueTextProps } from './components/Text.js';
|
|
28
|
+
export { default as Code, VueCodeProps } from './components/Code.js';
|
|
27
29
|
export { default as Icon, VueIconProps } from './components/Icon.js';
|
|
28
30
|
export { default as DatePicker, VueDatePickerModelValue, VueDatePickerProps } from './components/DatePicker.js';
|
|
29
31
|
export { default as TimePicker, VueTimePickerModelValue, VueTimePickerProps } from './components/TimePicker.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkDONDDWQU_js = require('./chunk-DONDDWQU.js');
|
|
3
4
|
var chunkCCI3RIZU_js = require('./chunk-CCI3RIZU.js');
|
|
4
5
|
var chunkI7GSAVM7_js = require('./chunk-I7GSAVM7.js');
|
|
5
6
|
var chunkSF63KE5T_js = require('./chunk-SF63KE5T.js');
|
|
@@ -7,30 +8,31 @@ var chunkUZMGKLJE_js = require('./chunk-UZMGKLJE.js');
|
|
|
7
8
|
var chunkWO332QT2_js = require('./chunk-WO332QT2.js');
|
|
8
9
|
var chunk5K74VD2K_js = require('./chunk-5K74VD2K.js');
|
|
9
10
|
var chunkHWHMM3QE_js = require('./chunk-HWHMM3QE.js');
|
|
10
|
-
var
|
|
11
|
+
var chunkSZA7QYD2_js = require('./chunk-SZA7QYD2.js');
|
|
11
12
|
var chunk5GWL2UTZ_js = require('./chunk-5GWL2UTZ.js');
|
|
12
13
|
var chunkYIRWZYD3_js = require('./chunk-YIRWZYD3.js');
|
|
13
14
|
var chunkPDRPZ3SX_js = require('./chunk-PDRPZ3SX.js');
|
|
14
15
|
var chunkP2DJR6YG_js = require('./chunk-P2DJR6YG.js');
|
|
15
16
|
var chunkYLILPFDU_js = require('./chunk-YLILPFDU.js');
|
|
16
17
|
var chunkZIG34M2R_js = require('./chunk-ZIG34M2R.js');
|
|
17
|
-
var chunkJLHOX3YI_js = require('./chunk-JLHOX3YI.js');
|
|
18
18
|
var chunkXKTQJXVN_js = require('./chunk-XKTQJXVN.js');
|
|
19
|
+
var chunkJLHOX3YI_js = require('./chunk-JLHOX3YI.js');
|
|
20
|
+
var chunk4LGW73OD_js = require('./chunk-4LGW73OD.js');
|
|
19
21
|
var chunkRUD3FPP2_js = require('./chunk-RUD3FPP2.js');
|
|
20
22
|
var chunkJHOTXOGL_js = require('./chunk-JHOTXOGL.js');
|
|
21
23
|
var chunkU5VOJ4G2_js = require('./chunk-U5VOJ4G2.js');
|
|
22
24
|
var chunkY7DJJOCW_js = require('./chunk-Y7DJJOCW.js');
|
|
23
25
|
var chunkHSXPJCRK_js = require('./chunk-HSXPJCRK.js');
|
|
24
26
|
var chunkQJWFKTRQ_js = require('./chunk-QJWFKTRQ.js');
|
|
25
|
-
var chunkSZA7QYD2_js = require('./chunk-SZA7QYD2.js');
|
|
26
27
|
var chunkHOJP5HTJ_js = require('./chunk-HOJP5HTJ.js');
|
|
28
|
+
var chunkWEFTEDUS_js = require('./chunk-WEFTEDUS.js');
|
|
27
29
|
var chunkGLW3P75K_js = require('./chunk-GLW3P75K.js');
|
|
28
30
|
var chunkZASXBDMT_js = require('./chunk-ZASXBDMT.js');
|
|
29
31
|
var chunkPNXVPGYV_js = require('./chunk-PNXVPGYV.js');
|
|
30
32
|
var chunkHXHMGLWX_js = require('./chunk-HXHMGLWX.js');
|
|
31
33
|
var chunkJI5MFFKJ_js = require('./chunk-JI5MFFKJ.js');
|
|
32
34
|
var chunk7PCCJR4X_js = require('./chunk-7PCCJR4X.js');
|
|
33
|
-
var
|
|
35
|
+
var chunkFOQHXUHK_js = require('./chunk-FOQHXUHK.js');
|
|
34
36
|
var chunk3JANYZE3_js = require('./chunk-3JANYZE3.js');
|
|
35
37
|
var chunkEE3KTSR6_js = require('./chunk-EE3KTSR6.js');
|
|
36
38
|
var chunk6TFEYMWQ_js = require('./chunk-6TFEYMWQ.js');
|
|
@@ -38,7 +40,7 @@ var chunkU2JWZTDN_js = require('./chunk-U2JWZTDN.js');
|
|
|
38
40
|
var chunkYFMXWX6H_js = require('./chunk-YFMXWX6H.js');
|
|
39
41
|
var chunkRNZZQWX7_js = require('./chunk-RNZZQWX7.js');
|
|
40
42
|
var chunkZK26QLSW_js = require('./chunk-ZK26QLSW.js');
|
|
41
|
-
var
|
|
43
|
+
var chunk3VTOJCER_js = require('./chunk-3VTOJCER.js');
|
|
42
44
|
var chunkBXFYOGMO_js = require('./chunk-BXFYOGMO.js');
|
|
43
45
|
var chunk4R45JF3W_js = require('./chunk-4R45JF3W.js');
|
|
44
46
|
require('./chunk-UTHNPU5T.js');
|
|
@@ -46,17 +48,16 @@ var chunk7ZEFGIDX_js = require('./chunk-7ZEFGIDX.js');
|
|
|
46
48
|
var chunkZW36GTA3_js = require('./chunk-ZW36GTA3.js');
|
|
47
49
|
var chunkN5I5Y5JG_js = require('./chunk-N5I5Y5JG.js');
|
|
48
50
|
var chunkLGKMVPIB_js = require('./chunk-LGKMVPIB.js');
|
|
49
|
-
var chunkFOQHXUHK_js = require('./chunk-FOQHXUHK.js');
|
|
50
51
|
var chunkQIS3MLLN_js = require('./chunk-QIS3MLLN.js');
|
|
51
52
|
var chunkKQOJTNUP_js = require('./chunk-KQOJTNUP.js');
|
|
52
53
|
var chunkQ4MH333P_js = require('./chunk-Q4MH333P.js');
|
|
54
|
+
var chunk4FUWM7WP_js = require('./chunk-4FUWM7WP.js');
|
|
53
55
|
var chunkY6C455RB_js = require('./chunk-Y6C455RB.js');
|
|
54
56
|
var chunkIQA52MC4_js = require('./chunk-IQA52MC4.js');
|
|
55
57
|
var chunkLUN3PRLX_js = require('./chunk-LUN3PRLX.js');
|
|
56
58
|
var chunkEQX22NAR_js = require('./chunk-EQX22NAR.js');
|
|
57
59
|
var chunkQKKXUTDF_js = require('./chunk-QKKXUTDF.js');
|
|
58
60
|
var chunkWPWMXSXK_js = require('./chunk-WPWMXSXK.js');
|
|
59
|
-
var chunk3VTOJCER_js = require('./chunk-3VTOJCER.js');
|
|
60
61
|
var chunkGGV4STQD_js = require('./chunk-GGV4STQD.js');
|
|
61
62
|
var chunkU65XZCPB_js = require('./chunk-U65XZCPB.js');
|
|
62
63
|
var chunkF6TZCXCL_js = require('./chunk-F6TZCXCL.js');
|
|
@@ -68,6 +69,10 @@ var tigercatCore = require('@expcat/tigercat-core');
|
|
|
68
69
|
|
|
69
70
|
var version = "0.0.1";
|
|
70
71
|
|
|
72
|
+
Object.defineProperty(exports, "Upload", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkDONDDWQU_js.Upload; }
|
|
75
|
+
});
|
|
71
76
|
Object.defineProperty(exports, "Tag", {
|
|
72
77
|
enumerable: true,
|
|
73
78
|
get: function () { return chunkCCI3RIZU_js.Tag; }
|
|
@@ -96,9 +101,9 @@ Object.defineProperty(exports, "Tree", {
|
|
|
96
101
|
enumerable: true,
|
|
97
102
|
get: function () { return chunkHWHMM3QE_js.Tree; }
|
|
98
103
|
});
|
|
99
|
-
Object.defineProperty(exports, "
|
|
104
|
+
Object.defineProperty(exports, "Slider", {
|
|
100
105
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkSZA7QYD2_js.Slider; }
|
|
102
107
|
});
|
|
103
108
|
Object.defineProperty(exports, "Space", {
|
|
104
109
|
enumerable: true,
|
|
@@ -124,13 +129,17 @@ Object.defineProperty(exports, "TabPane", {
|
|
|
124
129
|
enumerable: true,
|
|
125
130
|
get: function () { return chunkZIG34M2R_js.TabPane; }
|
|
126
131
|
});
|
|
132
|
+
Object.defineProperty(exports, "Tabs", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkXKTQJXVN_js.Tabs; }
|
|
135
|
+
});
|
|
127
136
|
Object.defineProperty(exports, "Table", {
|
|
128
137
|
enumerable: true,
|
|
129
138
|
get: function () { return chunkJLHOX3YI_js.Table; }
|
|
130
139
|
});
|
|
131
|
-
Object.defineProperty(exports, "
|
|
140
|
+
Object.defineProperty(exports, "Popover", {
|
|
132
141
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunk4LGW73OD_js.Popover; }
|
|
134
143
|
});
|
|
135
144
|
Object.defineProperty(exports, "Progress", {
|
|
136
145
|
enumerable: true,
|
|
@@ -156,14 +165,14 @@ Object.defineProperty(exports, "Skeleton", {
|
|
|
156
165
|
enumerable: true,
|
|
157
166
|
get: function () { return chunkQJWFKTRQ_js.Skeleton; }
|
|
158
167
|
});
|
|
159
|
-
Object.defineProperty(exports, "Slider", {
|
|
160
|
-
enumerable: true,
|
|
161
|
-
get: function () { return chunkSZA7QYD2_js.Slider; }
|
|
162
|
-
});
|
|
163
168
|
Object.defineProperty(exports, "MenuItem", {
|
|
164
169
|
enumerable: true,
|
|
165
170
|
get: function () { return chunkHOJP5HTJ_js.MenuItem; }
|
|
166
171
|
});
|
|
172
|
+
Object.defineProperty(exports, "Menu", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunkWEFTEDUS_js.Menu; }
|
|
175
|
+
});
|
|
167
176
|
Object.defineProperty(exports, "MenuItemGroup", {
|
|
168
177
|
enumerable: true,
|
|
169
178
|
get: function () { return chunkGLW3P75K_js.MenuItemGroup; }
|
|
@@ -196,9 +205,9 @@ Object.defineProperty(exports, "Popconfirm", {
|
|
|
196
205
|
enumerable: true,
|
|
197
206
|
get: function () { return chunk7PCCJR4X_js.Popconfirm; }
|
|
198
207
|
});
|
|
199
|
-
Object.defineProperty(exports, "
|
|
208
|
+
Object.defineProperty(exports, "FormItem", {
|
|
200
209
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkFOQHXUHK_js.FormItem; }
|
|
202
211
|
});
|
|
203
212
|
Object.defineProperty(exports, "Header", {
|
|
204
213
|
enumerable: true,
|
|
@@ -228,9 +237,9 @@ Object.defineProperty(exports, "Loading", {
|
|
|
228
237
|
enumerable: true,
|
|
229
238
|
get: function () { return chunkZK26QLSW_js.Loading; }
|
|
230
239
|
});
|
|
231
|
-
Object.defineProperty(exports, "
|
|
240
|
+
Object.defineProperty(exports, "Descriptions", {
|
|
232
241
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunk3VTOJCER_js.Descriptions; }
|
|
234
243
|
});
|
|
235
244
|
Object.defineProperty(exports, "Divider", {
|
|
236
245
|
enumerable: true,
|
|
@@ -256,10 +265,6 @@ Object.defineProperty(exports, "Footer", {
|
|
|
256
265
|
enumerable: true,
|
|
257
266
|
get: function () { return chunkLGKMVPIB_js.Footer; }
|
|
258
267
|
});
|
|
259
|
-
Object.defineProperty(exports, "FormItem", {
|
|
260
|
-
enumerable: true,
|
|
261
|
-
get: function () { return chunkFOQHXUHK_js.FormItem; }
|
|
262
|
-
});
|
|
263
268
|
Object.defineProperty(exports, "Form", {
|
|
264
269
|
enumerable: true,
|
|
265
270
|
get: function () { return chunkQIS3MLLN_js.Form; }
|
|
@@ -272,6 +277,10 @@ Object.defineProperty(exports, "CheckboxGroup", {
|
|
|
272
277
|
enumerable: true,
|
|
273
278
|
get: function () { return chunkQ4MH333P_js.CheckboxGroup; }
|
|
274
279
|
});
|
|
280
|
+
Object.defineProperty(exports, "Code", {
|
|
281
|
+
enumerable: true,
|
|
282
|
+
get: function () { return chunk4FUWM7WP_js.Code; }
|
|
283
|
+
});
|
|
275
284
|
Object.defineProperty(exports, "Col", {
|
|
276
285
|
enumerable: true,
|
|
277
286
|
get: function () { return chunkY6C455RB_js.Col; }
|
|
@@ -300,10 +309,6 @@ Object.defineProperty(exports, "DatePicker", {
|
|
|
300
309
|
enumerable: true,
|
|
301
310
|
get: function () { return chunkWPWMXSXK_js.DatePicker; }
|
|
302
311
|
});
|
|
303
|
-
Object.defineProperty(exports, "Descriptions", {
|
|
304
|
-
enumerable: true,
|
|
305
|
-
get: function () { return chunk3VTOJCER_js.Descriptions; }
|
|
306
|
-
});
|
|
307
312
|
Object.defineProperty(exports, "Alert", {
|
|
308
313
|
enumerable: true,
|
|
309
314
|
get: function () { return chunkGGV4STQD_js.Alert; }
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Upload } from './chunk-3JWW6FIN.mjs';
|
|
1
2
|
export { Tag } from './chunk-LNQYYW3E.mjs';
|
|
2
3
|
export { Text } from './chunk-BWKN2DGI.mjs';
|
|
3
4
|
export { Textarea } from './chunk-E6LSCXQM.mjs';
|
|
@@ -5,30 +6,31 @@ export { TimePicker } from './chunk-CQJQJERX.mjs';
|
|
|
5
6
|
export { Timeline } from './chunk-ZCPYALXT.mjs';
|
|
6
7
|
export { Tooltip } from './chunk-Z4KMMJFD.mjs';
|
|
7
8
|
export { Tree } from './chunk-TT2SIKZ2.mjs';
|
|
8
|
-
export {
|
|
9
|
+
export { Slider } from './chunk-W7YFSJ3Z.mjs';
|
|
9
10
|
export { Space } from './chunk-K7JDJXM5.mjs';
|
|
10
11
|
export { StepsItem } from './chunk-464XWWNR.mjs';
|
|
11
12
|
export { Steps } from './chunk-SMCWBSUR.mjs';
|
|
12
13
|
export { SubMenu } from './chunk-CJYWTPAS.mjs';
|
|
13
14
|
export { Switch } from './chunk-HPTXW2VK.mjs';
|
|
14
15
|
export { TabPane } from './chunk-LW4Y2WHI.mjs';
|
|
15
|
-
export { Table } from './chunk-NFOFNZ5O.mjs';
|
|
16
16
|
export { Tabs } from './chunk-BJNHG4Z4.mjs';
|
|
17
|
+
export { Table } from './chunk-NFOFNZ5O.mjs';
|
|
18
|
+
export { Popover } from './chunk-Q3JTXSIR.mjs';
|
|
17
19
|
export { Progress } from './chunk-XLSGZUPU.mjs';
|
|
18
20
|
export { Radio } from './chunk-I77ACTTI.mjs';
|
|
19
21
|
export { RadioGroup } from './chunk-SHXM2ZXC.mjs';
|
|
20
22
|
export { Select } from './chunk-OVXJFNLE.mjs';
|
|
21
23
|
export { Sidebar } from './chunk-XS7OPLPB.mjs';
|
|
22
24
|
export { Skeleton } from './chunk-6WIVOHTB.mjs';
|
|
23
|
-
export { Slider } from './chunk-W7YFSJ3Z.mjs';
|
|
24
25
|
export { MenuItem } from './chunk-CF5D36KB.mjs';
|
|
26
|
+
export { Menu } from './chunk-FKON56SN.mjs';
|
|
25
27
|
export { MenuItemGroup } from './chunk-JHY57P4P.mjs';
|
|
26
28
|
export { MessageContainer, message } from './chunk-B2H5JDVV.mjs';
|
|
27
29
|
export { Modal } from './chunk-YHI3NT6N.mjs';
|
|
28
30
|
export { NotificationContainer, notification } from './chunk-3ZXOARGD.mjs';
|
|
29
31
|
export { Pagination } from './chunk-AQ2G46JA.mjs';
|
|
30
32
|
export { Popconfirm } from './chunk-AHH2SBO4.mjs';
|
|
31
|
-
export {
|
|
33
|
+
export { FormItem } from './chunk-P4NVBKE6.mjs';
|
|
32
34
|
export { Header } from './chunk-WSMKQUNB.mjs';
|
|
33
35
|
export { Icon } from './chunk-6U2T3W7T.mjs';
|
|
34
36
|
export { Input } from './chunk-NKQMEF2R.mjs';
|
|
@@ -36,7 +38,7 @@ export { Layout } from './chunk-VWPHAKBA.mjs';
|
|
|
36
38
|
export { Link } from './chunk-5MKAKQK6.mjs';
|
|
37
39
|
export { List } from './chunk-CFS7HBMY.mjs';
|
|
38
40
|
export { Loading } from './chunk-6E73XACM.mjs';
|
|
39
|
-
export {
|
|
41
|
+
export { Descriptions } from './chunk-EK7Z226S.mjs';
|
|
40
42
|
export { Divider } from './chunk-T3TN26BD.mjs';
|
|
41
43
|
export { Drawer } from './chunk-6IXWIYWS.mjs';
|
|
42
44
|
import './chunk-FIPIHUJQ.mjs';
|
|
@@ -44,17 +46,16 @@ export { DropdownItem } from './chunk-2TX7EINR.mjs';
|
|
|
44
46
|
export { Dropdown } from './chunk-X27KNXVN.mjs';
|
|
45
47
|
export { DropdownMenu } from './chunk-AN3HKOCS.mjs';
|
|
46
48
|
export { Footer } from './chunk-X5BEVY5O.mjs';
|
|
47
|
-
export { FormItem } from './chunk-P4NVBKE6.mjs';
|
|
48
49
|
export { Form } from './chunk-TTZDVYGX.mjs';
|
|
49
50
|
export { Checkbox } from './chunk-YLP24JN3.mjs';
|
|
50
51
|
export { CheckboxGroup } from './chunk-CPV7INZ4.mjs';
|
|
52
|
+
export { Code } from './chunk-SUM4V2WN.mjs';
|
|
51
53
|
export { Col } from './chunk-7SCADPTJ.mjs';
|
|
52
54
|
export { Row } from './chunk-74P7RUAY.mjs';
|
|
53
55
|
export { ConfigProvider, useTigerConfig } from './chunk-TRDG56CB.mjs';
|
|
54
56
|
export { Container } from './chunk-YMXAQ35E.mjs';
|
|
55
57
|
export { Content } from './chunk-SZD2UCM5.mjs';
|
|
56
58
|
export { DatePicker } from './chunk-ENBDEPNV.mjs';
|
|
57
|
-
export { Descriptions } from './chunk-EK7Z226S.mjs';
|
|
58
59
|
export { Alert } from './chunk-6NWG6SG3.mjs';
|
|
59
60
|
export { Avatar } from './chunk-U5ZMB6RE.mjs';
|
|
60
61
|
export { Badge } from './chunk-H4NZLUJ4.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.57",
|
|
4
4
|
"description": "Vue 3 components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@expcat/tigercat-core": "0.0.
|
|
42
|
+
"@expcat/tigercat-core": "0.0.57"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^25.0.3",
|