@fangzhongya/fang-ui 0.0.46 → 0.0.47
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/alert/src/data.d.ts +2 -2
- package/dist/components/autocomplete/index.cjs +9 -0
- package/dist/components/autocomplete/index.d.ts +2 -0
- package/dist/components/autocomplete/index.js +9 -0
- package/dist/components/autocomplete/index.scss +5 -0
- package/dist/components/autocomplete/src/data.cjs +11 -0
- package/dist/components/autocomplete/src/data.d.ts +14 -0
- package/dist/components/autocomplete/src/data.js +11 -0
- package/dist/components/autocomplete/src/index.cjs +4 -0
- package/dist/components/autocomplete/src/index.js +4 -0
- package/dist/components/autocomplete/src/index2.cjs +46 -0
- package/dist/components/autocomplete/src/index2.js +46 -0
- package/dist/components/autocomplete/style/index2.scss +2 -0
- package/dist/components/button/src/data.d.ts +1 -1
- package/dist/components/card/src/data.d.ts +1 -1
- package/dist/components/cascader/src/data.d.ts +2 -2
- package/dist/components/cascader-panel/src/data.d.ts +2 -2
- package/dist/components/checkbox/src/data.d.ts +2 -2
- package/dist/components/checkbox-group/src/data.d.ts +2 -2
- package/dist/components/collapse/src/data.d.ts +2 -2
- package/dist/components/collapse-item/src/data.d.ts +2 -2
- package/dist/components/color-picker/src/data.d.ts +1 -1
- package/dist/components/common/use.cjs +1 -1
- package/dist/components/common/use.js +2 -2
- package/dist/components/config-provider/src/data.d.ts +1 -1
- package/dist/components/date-picker/src/data.d.ts +2 -2
- package/dist/components/dialog/src/data.d.ts +2 -2
- package/dist/components/divider/src/data.d.ts +2 -2
- package/dist/components/drawer/src/data.d.ts +2 -2
- package/dist/components/dropdown/src/data.d.ts +2 -2
- package/dist/components/dropdown-item/src/data.d.ts +2 -2
- package/dist/components/dropdown-menu/src/data.d.ts +2 -2
- package/dist/components/form/src/data.d.ts +2 -2
- package/dist/components/form-item/src/data.d.ts +2 -2
- package/dist/components/iframe/src/data.cjs +0 -16
- package/dist/components/iframe/src/data.d.ts +0 -16
- package/dist/components/iframe/src/data.js +0 -16
- package/dist/components/iframe/src/index2.cjs +2 -10
- package/dist/components/iframe/src/index2.js +3 -11
- package/dist/components/image/src/data.d.ts +1 -1
- package/dist/components/index.cjs +172 -164
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +8 -0
- package/dist/components/index.scss +4 -0
- package/dist/components/index2.scss +4 -0
- package/dist/components/input/src/data.d.ts +2 -2
- package/dist/components/input-number/src/data.d.ts +2 -2
- package/dist/components/input-tag/index.cjs +9 -0
- package/dist/components/input-tag/index.d.ts +2 -0
- package/dist/components/input-tag/index.js +9 -0
- package/dist/components/input-tag/index.scss +5 -0
- package/dist/components/input-tag/src/data.cjs +11 -0
- package/dist/components/input-tag/src/data.d.ts +14 -0
- package/dist/components/input-tag/src/data.js +11 -0
- package/dist/components/input-tag/src/index.cjs +4 -0
- package/dist/components/input-tag/src/index.js +4 -0
- package/dist/components/input-tag/src/index2.cjs +46 -0
- package/dist/components/input-tag/src/index2.js +46 -0
- package/dist/components/input-tag/style/index2.scss +2 -0
- package/dist/components/mention/index.cjs +9 -0
- package/dist/components/mention/index.d.ts +2 -0
- package/dist/components/mention/index.js +9 -0
- package/dist/components/mention/index.scss +5 -0
- package/dist/components/mention/src/data.cjs +11 -0
- package/dist/components/mention/src/data.d.ts +14 -0
- package/dist/components/mention/src/data.js +11 -0
- package/dist/components/mention/src/index.cjs +4 -0
- package/dist/components/mention/src/index.js +4 -0
- package/dist/components/mention/src/index2.cjs +46 -0
- package/dist/components/mention/src/index2.js +46 -0
- package/dist/components/mention/style/index2.scss +2 -0
- package/dist/components/option-group/src/data.d.ts +2 -2
- package/dist/components/pagination/src/data.d.ts +1 -1
- package/dist/components/popconfirm/src/data.d.ts +2 -2
- package/dist/components/popover/src/data.d.ts +2 -2
- package/dist/components/radio/src/data.d.ts +2 -2
- package/dist/components/radio-group/src/data.d.ts +2 -2
- package/dist/components/select/src/data.d.ts +2 -2
- package/dist/components/slider/src/data.d.ts +2 -2
- package/dist/components/switch/src/data.d.ts +2 -2
- package/dist/components/tab-pane/src/data.d.ts +2 -2
- package/dist/components/tabs/src/data.d.ts +2 -2
- package/dist/components/time-picker/src/data.d.ts +2 -2
- package/dist/components/time-select/src/data.d.ts +2 -2
- package/dist/components/tooltip/src/data.d.ts +2 -2
- package/dist/components/transfer/index.cjs +9 -0
- package/dist/components/transfer/index.d.ts +2 -0
- package/dist/components/transfer/index.js +9 -0
- package/dist/components/transfer/index.scss +5 -0
- package/dist/components/transfer/src/data.cjs +11 -0
- package/dist/components/transfer/src/data.d.ts +14 -0
- package/dist/components/transfer/src/data.js +11 -0
- package/dist/components/transfer/src/index.cjs +4 -0
- package/dist/components/transfer/src/index.js +4 -0
- package/dist/components/transfer/src/index2.cjs +46 -0
- package/dist/components/transfer/src/index2.js +46 -0
- package/dist/components/transfer/style/index2.scss +2 -0
- package/dist/components/tree/src/data.d.ts +2 -2
- package/dist/components/tree-select/src/data.d.ts +2 -2
- package/dist/components/upload/src/data.d.ts +2 -2
- package/dist/expand/{chunk-WXZESOPO.js → chunk-QTEP33RI.js} +8 -0
- package/dist/expand/{chunk-J3OWSCOI.cjs → chunk-SJZOTUWF.cjs} +8 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/icons/index.json +1 -1
- package/dist/index.cjs +190 -182
- package/dist/index.js +8 -0
- package/package.json +6 -6
- /package/dist/components/{image → input}/index.css +0 -0
- /package/dist/css/{image.css → input.css} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent, ref, useAttrs, useSlots, createElementBlock, openBlock, mergeProps, unref, createVNode, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
|
+
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
|
+
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
6
|
+
import { ElInputTag } from "element-plus/es/components/input-tag/index";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: dataProps,
|
|
10
|
+
emits: dataEmits,
|
|
11
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
|
+
const refEl = ref();
|
|
13
|
+
const attrs = useInherit(useAttrs());
|
|
14
|
+
const slots = useSlots();
|
|
15
|
+
const cs = useCssName("input-tag");
|
|
16
|
+
const { getLocale } = useLocale();
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
19
|
+
__expose({
|
|
20
|
+
...dataExpose,
|
|
21
|
+
refEl
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
25
|
+
class: unref(cs).z()
|
|
26
|
+
}, unref(attrs).root), [
|
|
27
|
+
createVNode(unref(ElInputTag), mergeProps(unref(attrs).assem, {
|
|
28
|
+
ref_key: "refEl",
|
|
29
|
+
ref: refEl
|
|
30
|
+
}), createSlots({ _: 2 }, [
|
|
31
|
+
renderList(Object.keys(unref(slots)), (k, i) => {
|
|
32
|
+
return {
|
|
33
|
+
name: k,
|
|
34
|
+
fn: withCtx((scope) => [
|
|
35
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
36
|
+
])
|
|
37
|
+
};
|
|
38
|
+
})
|
|
39
|
+
]), 1040)
|
|
40
|
+
], 16);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
_sfc_main as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
|
+
require("./src/index.cjs");
|
|
6
|
+
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
7
|
+
const Mention = withInstall.withInstall(index_vue_vue_type_script_setup_true_lang.default, "Mention");
|
|
8
|
+
exports.Mention = Mention;
|
|
9
|
+
exports.default = Mention;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const dataProps = buildProps.buildProps({});
|
|
5
|
+
const dataEmits = [];
|
|
6
|
+
const dataSlot = {};
|
|
7
|
+
const dataExpose = {};
|
|
8
|
+
exports.dataEmits = dataEmits;
|
|
9
|
+
exports.dataExpose = dataExpose;
|
|
10
|
+
exports.dataProps = dataProps;
|
|
11
|
+
exports.dataSlot = dataSlot;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* @title {h3} Mention 提及
|
|
4
|
+
* @text 目前完全继承 element-plus 中 el-mention
|
|
5
|
+
*/
|
|
6
|
+
export declare const dataProps: {};
|
|
7
|
+
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
8
|
+
export declare const dataEmits: never[];
|
|
9
|
+
export type DataEmits = typeof dataEmits;
|
|
10
|
+
export declare const dataSlot: {};
|
|
11
|
+
/**
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
|
+
*/
|
|
14
|
+
export declare const dataExpose: {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const data = require("./data.cjs");
|
|
5
|
+
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
|
+
const index$2 = require("../../../hooks/locale/index.cjs");
|
|
7
|
+
const index = require("../../../hooks/inherit/index.cjs");
|
|
8
|
+
const index$3 = require("element-plus/es/components/mention/index");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: data.dataProps,
|
|
12
|
+
emits: data.dataEmits,
|
|
13
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
|
+
const refEl = vue.ref();
|
|
15
|
+
const attrs = index.useInherit(vue.useAttrs());
|
|
16
|
+
const slots = vue.useSlots();
|
|
17
|
+
const cs = index$1.useCssName("mention");
|
|
18
|
+
const { getLocale } = index$2.useLocale();
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emit = __emit;
|
|
21
|
+
__expose({
|
|
22
|
+
...data.dataExpose,
|
|
23
|
+
refEl
|
|
24
|
+
});
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
27
|
+
class: vue.unref(cs).z()
|
|
28
|
+
}, vue.unref(attrs).root), [
|
|
29
|
+
vue.createVNode(vue.unref(index$3.ElMention), vue.mergeProps(vue.unref(attrs).assem, {
|
|
30
|
+
ref_key: "refEl",
|
|
31
|
+
ref: refEl
|
|
32
|
+
}), vue.createSlots({ _: 2 }, [
|
|
33
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
34
|
+
return {
|
|
35
|
+
name: k,
|
|
36
|
+
fn: vue.withCtx((scope) => [
|
|
37
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
38
|
+
])
|
|
39
|
+
};
|
|
40
|
+
})
|
|
41
|
+
]), 1040)
|
|
42
|
+
], 16);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent, ref, useAttrs, useSlots, createElementBlock, openBlock, mergeProps, unref, createVNode, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
|
+
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
|
+
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
6
|
+
import { ElMention } from "element-plus/es/components/mention/index";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: dataProps,
|
|
10
|
+
emits: dataEmits,
|
|
11
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
|
+
const refEl = ref();
|
|
13
|
+
const attrs = useInherit(useAttrs());
|
|
14
|
+
const slots = useSlots();
|
|
15
|
+
const cs = useCssName("mention");
|
|
16
|
+
const { getLocale } = useLocale();
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
19
|
+
__expose({
|
|
20
|
+
...dataExpose,
|
|
21
|
+
refEl
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
25
|
+
class: unref(cs).z()
|
|
26
|
+
}, unref(attrs).root), [
|
|
27
|
+
createVNode(unref(ElMention), mergeProps(unref(attrs).assem, {
|
|
28
|
+
ref_key: "refEl",
|
|
29
|
+
ref: refEl
|
|
30
|
+
}), createSlots({ _: 2 }, [
|
|
31
|
+
renderList(Object.keys(unref(slots)), (k, i) => {
|
|
32
|
+
return {
|
|
33
|
+
name: k,
|
|
34
|
+
fn: withCtx((scope) => [
|
|
35
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
36
|
+
])
|
|
37
|
+
};
|
|
38
|
+
})
|
|
39
|
+
]), 1040)
|
|
40
|
+
], 16);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
_sfc_main as default
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} OptionGroup
|
|
3
|
+
* @title {h3} OptionGroup 选择器-分组
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-option-group
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Popconfirm
|
|
3
|
+
* @title {h3} Popconfirm 气泡确认框
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-popconfirm
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Popover
|
|
3
|
+
* @title {h3} Popover 弹出框
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-popover
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Radio
|
|
3
|
+
* @title {h3} Radio 单选框
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-radio
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} RadioGroup
|
|
3
|
+
* @title {h3} RadioGroup 单选框-分组
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-radio-group
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Select
|
|
3
|
+
* @title {h3} Select 选择器
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-select
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Slider
|
|
3
|
+
* @title {h3} Slider 滑块
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-slider
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Switch
|
|
3
|
+
* @title {h3} Switch 开关
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-switch
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} TabPane
|
|
3
|
+
* @title {h3} TabPane 标签页-子标签
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-tab-pane
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Tabs
|
|
3
|
+
* @title {h3} Tabs 标签页
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-tabs
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} TimePicker
|
|
3
|
+
* @title {h3} TimePicker 时间选择器
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-time-picker
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} TimeSelect
|
|
3
|
+
* @title {h3} TimeSelect 时间选择
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-time-select
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} Tooltip
|
|
3
|
+
* @title {h3} Tooltip 文字提示
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-tooltip
|
|
5
5
|
*/
|
|
6
6
|
export declare const dataProps: {};
|
|
@@ -9,6 +9,6 @@ export declare const dataEmits: never[];
|
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
11
11
|
/**
|
|
12
|
-
* @expose refEl 获取当前组件在element-plus中暴露的方法
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
13
|
*/
|
|
14
14
|
export declare const dataExpose: {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
|
+
require("./src/index.cjs");
|
|
6
|
+
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
7
|
+
const Transfer = withInstall.withInstall(index_vue_vue_type_script_setup_true_lang.default, "Transfer");
|
|
8
|
+
exports.Transfer = Transfer;
|
|
9
|
+
exports.default = Transfer;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const dataProps = buildProps.buildProps({});
|
|
5
|
+
const dataEmits = [];
|
|
6
|
+
const dataSlot = {};
|
|
7
|
+
const dataExpose = {};
|
|
8
|
+
exports.dataEmits = dataEmits;
|
|
9
|
+
exports.dataExpose = dataExpose;
|
|
10
|
+
exports.dataProps = dataProps;
|
|
11
|
+
exports.dataSlot = dataSlot;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* @title {h3} Transfer 穿梭框
|
|
4
|
+
* @text 目前完全继承 element-plus 中 el-transfer
|
|
5
|
+
*/
|
|
6
|
+
export declare const dataProps: {};
|
|
7
|
+
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
8
|
+
export declare const dataEmits: never[];
|
|
9
|
+
export type DataEmits = typeof dataEmits;
|
|
10
|
+
export declare const dataSlot: {};
|
|
11
|
+
/**
|
|
12
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
13
|
+
*/
|
|
14
|
+
export declare const dataExpose: {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const data = require("./data.cjs");
|
|
5
|
+
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
|
+
const index$2 = require("../../../hooks/locale/index.cjs");
|
|
7
|
+
const index = require("../../../hooks/inherit/index.cjs");
|
|
8
|
+
const index$3 = require("element-plus/es/components/transfer/index");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: data.dataProps,
|
|
12
|
+
emits: data.dataEmits,
|
|
13
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
|
+
const refEl = vue.ref();
|
|
15
|
+
const attrs = index.useInherit(vue.useAttrs());
|
|
16
|
+
const slots = vue.useSlots();
|
|
17
|
+
const cs = index$1.useCssName("transfer");
|
|
18
|
+
const { getLocale } = index$2.useLocale();
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emit = __emit;
|
|
21
|
+
__expose({
|
|
22
|
+
...data.dataExpose,
|
|
23
|
+
refEl
|
|
24
|
+
});
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
27
|
+
class: vue.unref(cs).z()
|
|
28
|
+
}, vue.unref(attrs).root), [
|
|
29
|
+
vue.createVNode(vue.unref(index$3.ElTransfer), vue.mergeProps(vue.unref(attrs).assem, {
|
|
30
|
+
ref_key: "refEl",
|
|
31
|
+
ref: refEl
|
|
32
|
+
}), vue.createSlots({ _: 2 }, [
|
|
33
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
34
|
+
return {
|
|
35
|
+
name: k,
|
|
36
|
+
fn: vue.withCtx((scope) => [
|
|
37
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
38
|
+
])
|
|
39
|
+
};
|
|
40
|
+
})
|
|
41
|
+
]), 1040)
|
|
42
|
+
], 16);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent, ref, useAttrs, useSlots, createElementBlock, openBlock, mergeProps, unref, createVNode, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
|
+
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
|
+
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
6
|
+
import { ElTransfer } from "element-plus/es/components/transfer/index";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: dataProps,
|
|
10
|
+
emits: dataEmits,
|
|
11
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
|
+
const refEl = ref();
|
|
13
|
+
const attrs = useInherit(useAttrs());
|
|
14
|
+
const slots = useSlots();
|
|
15
|
+
const cs = useCssName("transfer");
|
|
16
|
+
const { getLocale } = useLocale();
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
19
|
+
__expose({
|
|
20
|
+
...dataExpose,
|
|
21
|
+
refEl
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
25
|
+
class: unref(cs).z()
|
|
26
|
+
}, unref(attrs).root), [
|
|
27
|
+
createVNode(unref(ElTransfer), mergeProps(unref(attrs).assem, {
|
|
28
|
+
ref_key: "refEl",
|
|
29
|
+
ref: refEl
|
|
30
|
+
}), createSlots({ _: 2 }, [
|
|
31
|
+
renderList(Object.keys(unref(slots)), (k, i) => {
|
|
32
|
+
return {
|
|
33
|
+
name: k,
|
|
34
|
+
fn: withCtx((scope) => [
|
|
35
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
36
|
+
])
|
|
37
|
+
};
|
|
38
|
+
})
|
|
39
|
+
]), 1040)
|
|
40
|
+
], 16);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
_sfc_main as default
|
|
46
|
+
};
|