pacvue-el-components 1.0.9 → 1.0.10
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/select/index.vue.d.ts +6 -6
- package/dist/index.d.ts +9 -9
- package/dist/pacvue-el-components.es.js +79 -85
- package/dist/pacvue-el-components.es.js.map +1 -1
- package/dist/pacvue-el-components.umd.js +1 -1
- package/dist/pacvue-el-components.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/button/index.vue +2 -2
- package/src/components/select/index.vue +5 -7
|
@@ -23,6 +23,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
23
23
|
type: import('vue').PropType<import('element-plus/es/components/select-v2/src/useProps.mjs').Props>;
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
|
+
placeholder: {
|
|
27
|
+
type: import('vue').PropType<string>;
|
|
28
|
+
};
|
|
26
29
|
ariaLabel: {
|
|
27
30
|
type: import('vue').PropType<string>;
|
|
28
31
|
};
|
|
@@ -108,9 +111,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
108
111
|
required: true;
|
|
109
112
|
default: number;
|
|
110
113
|
};
|
|
111
|
-
placeholder: {
|
|
112
|
-
type: import('vue').PropType<string>;
|
|
113
|
-
};
|
|
114
114
|
defaultFirstOption: {
|
|
115
115
|
type: import('vue').PropType<boolean>;
|
|
116
116
|
required: true;
|
|
@@ -233,6 +233,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
233
233
|
type: import('vue').PropType<import('element-plus/es/components/select-v2/src/useProps.mjs').Props>;
|
|
234
234
|
required: true;
|
|
235
235
|
};
|
|
236
|
+
placeholder: {
|
|
237
|
+
type: import('vue').PropType<string>;
|
|
238
|
+
};
|
|
236
239
|
ariaLabel: {
|
|
237
240
|
type: import('vue').PropType<string>;
|
|
238
241
|
};
|
|
@@ -318,9 +321,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
318
321
|
required: true;
|
|
319
322
|
default: number;
|
|
320
323
|
};
|
|
321
|
-
placeholder: {
|
|
322
|
-
type: import('vue').PropType<string>;
|
|
323
|
-
};
|
|
324
324
|
defaultFirstOption: {
|
|
325
325
|
type: import('vue').PropType<boolean>;
|
|
326
326
|
required: true;
|
package/dist/index.d.ts
CHANGED
|
@@ -312,6 +312,9 @@ declare const _default: {
|
|
|
312
312
|
type: import('vue').PropType<import('element-plus/es/components/select-v2/src/useProps.mjs').Props>;
|
|
313
313
|
required: true;
|
|
314
314
|
};
|
|
315
|
+
placeholder: {
|
|
316
|
+
type: import('vue').PropType<string>;
|
|
317
|
+
};
|
|
315
318
|
ariaLabel: {
|
|
316
319
|
type: import('vue').PropType<string>;
|
|
317
320
|
};
|
|
@@ -397,9 +400,6 @@ declare const _default: {
|
|
|
397
400
|
required: true;
|
|
398
401
|
default: number;
|
|
399
402
|
};
|
|
400
|
-
placeholder: {
|
|
401
|
-
type: import('vue').PropType<string>;
|
|
402
|
-
};
|
|
403
403
|
defaultFirstOption: {
|
|
404
404
|
type: import('vue').PropType<boolean>;
|
|
405
405
|
required: true;
|
|
@@ -557,6 +557,9 @@ declare const _default: {
|
|
|
557
557
|
type: import('vue').PropType<import('element-plus/es/components/select-v2/src/useProps.mjs').Props>;
|
|
558
558
|
required: true;
|
|
559
559
|
};
|
|
560
|
+
placeholder: {
|
|
561
|
+
type: import('vue').PropType<string>;
|
|
562
|
+
};
|
|
560
563
|
ariaLabel: {
|
|
561
564
|
type: import('vue').PropType<string>;
|
|
562
565
|
};
|
|
@@ -642,9 +645,6 @@ declare const _default: {
|
|
|
642
645
|
required: true;
|
|
643
646
|
default: number;
|
|
644
647
|
};
|
|
645
|
-
placeholder: {
|
|
646
|
-
type: import('vue').PropType<string>;
|
|
647
|
-
};
|
|
648
648
|
defaultFirstOption: {
|
|
649
649
|
type: import('vue').PropType<boolean>;
|
|
650
650
|
required: true;
|
|
@@ -791,6 +791,9 @@ declare const _default: {
|
|
|
791
791
|
type: import('vue').PropType<import('element-plus/es/components/select-v2/src/useProps.mjs').Props>;
|
|
792
792
|
required: true;
|
|
793
793
|
};
|
|
794
|
+
placeholder: {
|
|
795
|
+
type: import('vue').PropType<string>;
|
|
796
|
+
};
|
|
794
797
|
ariaLabel: {
|
|
795
798
|
type: import('vue').PropType<string>;
|
|
796
799
|
};
|
|
@@ -876,9 +879,6 @@ declare const _default: {
|
|
|
876
879
|
required: true;
|
|
877
880
|
default: number;
|
|
878
881
|
};
|
|
879
|
-
placeholder: {
|
|
880
|
-
type: import('vue').PropType<string>;
|
|
881
|
-
};
|
|
882
882
|
defaultFirstOption: {
|
|
883
883
|
type: import('vue').PropType<boolean>;
|
|
884
884
|
required: true;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as c, createBlock as f, openBlock as s, unref as r, mergeProps as m, withCtx as p, renderSlot as y, mergeModels as u, useModel as k } from "vue";
|
|
2
|
+
import { ElButton as C, ElSelect as V } from "element-plus";
|
|
3
|
+
const E = /* @__PURE__ */ c({
|
|
3
4
|
name: "PacvueElButton",
|
|
4
5
|
__name: "index",
|
|
5
6
|
props: {
|
|
@@ -27,36 +28,33 @@ const V = /* @__PURE__ */ s({
|
|
|
27
28
|
const t = l, n = (o) => {
|
|
28
29
|
t("click", o);
|
|
29
30
|
};
|
|
30
|
-
return (o,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
_: 3
|
|
51
|
-
}, 16, ["type", "size", "plain", "round", "circle", "loading", "disabled", "autofocus", "native-type", "icon", "color", "dark"]);
|
|
52
|
-
};
|
|
31
|
+
return (o, d) => (s(), f(r(C), m(o.$attrs, {
|
|
32
|
+
type: e.type,
|
|
33
|
+
size: e.size,
|
|
34
|
+
plain: e.plain,
|
|
35
|
+
round: e.round,
|
|
36
|
+
circle: e.circle,
|
|
37
|
+
loading: e.loading,
|
|
38
|
+
disabled: e.disabled,
|
|
39
|
+
autofocus: e.autofocus,
|
|
40
|
+
"native-type": e.nativeType,
|
|
41
|
+
icon: e.icon,
|
|
42
|
+
color: e.color,
|
|
43
|
+
dark: e.dark,
|
|
44
|
+
onClick: n
|
|
45
|
+
}), {
|
|
46
|
+
default: p(() => [
|
|
47
|
+
y(o.$slots, "default", {}, void 0, !0)
|
|
48
|
+
]),
|
|
49
|
+
_: 3
|
|
50
|
+
}, 16, ["type", "size", "plain", "round", "circle", "loading", "disabled", "autofocus", "native-type", "icon", "color", "dark"]));
|
|
53
51
|
}
|
|
54
|
-
}),
|
|
52
|
+
}), g = (e, l) => {
|
|
55
53
|
const t = e.__vccOpts || e;
|
|
56
54
|
for (const [n, o] of l)
|
|
57
55
|
t[n] = o;
|
|
58
56
|
return t;
|
|
59
|
-
}, h = /* @__PURE__ */
|
|
57
|
+
}, h = /* @__PURE__ */ g(E, [["__scopeId", "data-v-9564e8d7"]]), I = /* @__PURE__ */ c({
|
|
60
58
|
name: "PacvueElSelect",
|
|
61
59
|
__name: "index",
|
|
62
60
|
props: /* @__PURE__ */ u({
|
|
@@ -117,11 +115,11 @@ const V = /* @__PURE__ */ s({
|
|
|
117
115
|
}),
|
|
118
116
|
emits: /* @__PURE__ */ u(["update:modelValue", "change", "visible-change", "remove-tag", "clear", "blur", "focus"], ["update:modelValue"]),
|
|
119
117
|
setup(e, { emit: l }) {
|
|
120
|
-
const t = l, n =
|
|
118
|
+
const t = l, n = k(e, "modelValue"), o = (a) => {
|
|
121
119
|
t("change", a);
|
|
122
|
-
}, i = (a) => {
|
|
123
|
-
t("visible-change", a);
|
|
124
120
|
}, d = (a) => {
|
|
121
|
+
t("visible-change", a);
|
|
122
|
+
}, B = (a) => {
|
|
125
123
|
t("remove-tag", a);
|
|
126
124
|
}, b = () => {
|
|
127
125
|
t("clear");
|
|
@@ -130,70 +128,66 @@ const V = /* @__PURE__ */ s({
|
|
|
130
128
|
}, T = (a) => {
|
|
131
129
|
t("focus", a);
|
|
132
130
|
};
|
|
133
|
-
return (a,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
]),
|
|
180
|
-
_: 3
|
|
181
|
-
}, 16, ["modelValue", "multiple", "disabled", "value-key", "size", "clearable", "collapse-tags", "collapse-tags-tooltip", "multiple-limit", "name", "autocomplete", "placeholder", "filterable", "allow-create", "filter-method", "remote", "remote-method", "loading", "loading-text", "no-match-text", "no-data-text", "popper-class", "reserve-keyword", "default-first-option", "popper-append-to-body", "teleported", "persistent", "automatic-dropdown", "clear-icon", "fit-input-width", "suffix-icon", "tag-type", "validate-event"]);
|
|
182
|
-
};
|
|
131
|
+
return (a, i) => (s(), f(r(V), m(a.$attrs, {
|
|
132
|
+
modelValue: n.value,
|
|
133
|
+
"onUpdate:modelValue": i[0] || (i[0] = (w) => n.value = w),
|
|
134
|
+
multiple: e.multiple,
|
|
135
|
+
disabled: e.disabled,
|
|
136
|
+
"value-key": e.valueKey,
|
|
137
|
+
size: e.size,
|
|
138
|
+
clearable: e.clearable,
|
|
139
|
+
"collapse-tags": e.collapseTags,
|
|
140
|
+
"collapse-tags-tooltip": e.collapseTagsTooltip,
|
|
141
|
+
"multiple-limit": e.multipleLimit,
|
|
142
|
+
name: e.name,
|
|
143
|
+
autocomplete: e.autocomplete,
|
|
144
|
+
placeholder: e.placeholder,
|
|
145
|
+
filterable: e.filterable,
|
|
146
|
+
"allow-create": e.allowCreate,
|
|
147
|
+
"filter-method": e.filterMethod,
|
|
148
|
+
remote: e.remote,
|
|
149
|
+
"remote-method": e.remoteMethod,
|
|
150
|
+
loading: e.loading,
|
|
151
|
+
"loading-text": e.loadingText,
|
|
152
|
+
"no-match-text": e.noMatchText,
|
|
153
|
+
"no-data-text": e.noDataText,
|
|
154
|
+
"popper-class": e.popperClass,
|
|
155
|
+
"reserve-keyword": e.reserveKeyword,
|
|
156
|
+
"default-first-option": e.defaultFirstOption,
|
|
157
|
+
teleported: e.teleported,
|
|
158
|
+
persistent: e.persistent,
|
|
159
|
+
"automatic-dropdown": e.automaticDropdown,
|
|
160
|
+
"clear-icon": e.clearIcon,
|
|
161
|
+
"fit-input-width": e.fitInputWidth,
|
|
162
|
+
"suffix-icon": e.suffixIcon,
|
|
163
|
+
"tag-type": e.tagType,
|
|
164
|
+
"validate-event": e.validateEvent,
|
|
165
|
+
onChange: o,
|
|
166
|
+
onVisibleChange: d,
|
|
167
|
+
onRemoveTag: B,
|
|
168
|
+
onClear: b,
|
|
169
|
+
onBlur: x,
|
|
170
|
+
onFocus: T
|
|
171
|
+
}), {
|
|
172
|
+
default: p(() => [
|
|
173
|
+
y(a.$slots, "default", {}, void 0, !0)
|
|
174
|
+
]),
|
|
175
|
+
_: 3
|
|
176
|
+
}, 16, ["modelValue", "multiple", "disabled", "value-key", "size", "clearable", "collapse-tags", "collapse-tags-tooltip", "multiple-limit", "name", "autocomplete", "placeholder", "filterable", "allow-create", "filter-method", "remote", "remote-method", "loading", "loading-text", "no-match-text", "no-data-text", "popper-class", "reserve-keyword", "default-first-option", "teleported", "persistent", "automatic-dropdown", "clear-icon", "fit-input-width", "suffix-icon", "tag-type", "validate-event"]));
|
|
183
177
|
}
|
|
184
|
-
}),
|
|
178
|
+
}), v = /* @__PURE__ */ g(I, [["__scopeId", "data-v-27abb59a"]]), M = [h, v], z = (e) => {
|
|
185
179
|
M.forEach((l) => {
|
|
186
180
|
const t = l.name || l.__name;
|
|
187
181
|
t && e.component(t, l);
|
|
188
182
|
});
|
|
189
|
-
},
|
|
183
|
+
}, O = {
|
|
190
184
|
install: z,
|
|
191
185
|
PacvueElButton: h,
|
|
192
|
-
PacvueElSelect:
|
|
186
|
+
PacvueElSelect: v
|
|
193
187
|
};
|
|
194
188
|
export {
|
|
195
189
|
h as PacvueElButton,
|
|
196
|
-
|
|
197
|
-
|
|
190
|
+
v as PacvueElSelect,
|
|
191
|
+
O as default
|
|
198
192
|
};
|
|
199
193
|
//# sourceMappingURL=pacvue-el-components.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pacvue-el-components.es.js","sources":["../src/components/button/index.vue","../src/components/select/index.vue","../src/index.ts"],"sourcesContent":["<template>\r\n <el-button\r\n v-bind=\"$attrs\"\r\n :type=\"type\"\r\n :size=\"size\"\r\n :plain=\"plain\"\r\n :round=\"round\"\r\n :circle=\"circle\"\r\n :loading=\"loading\"\r\n :disabled=\"disabled\"\r\n :autofocus=\"autofocus\"\r\n :native-type=\"nativeType\"\r\n :icon=\"icon\"\r\n :color=\"color\"\r\n :dark=\"dark\"\r\n @click=\"handleClick\"\r\n >\r\n <slot></slot>\r\n </el-button>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\
|
|
1
|
+
{"version":3,"file":"pacvue-el-components.es.js","sources":["../src/components/button/index.vue","../src/components/select/index.vue","../src/index.ts"],"sourcesContent":["<template>\r\n <el-button\r\n v-bind=\"$attrs\"\r\n :type=\"type\"\r\n :size=\"size\"\r\n :plain=\"plain\"\r\n :round=\"round\"\r\n :circle=\"circle\"\r\n :loading=\"loading\"\r\n :disabled=\"disabled\"\r\n :autofocus=\"autofocus\"\r\n :native-type=\"nativeType\"\r\n :icon=\"icon\"\r\n :color=\"color\"\r\n :dark=\"dark\"\r\n @click=\"handleClick\"\r\n >\r\n <slot></slot>\r\n </el-button>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ElButton } from 'element-plus'\r\nimport type { ButtonProps } from './types'\r\n\r\nwithDefaults(defineProps<ButtonProps>(), {\r\n type: 'default',\r\n size: 'default',\r\n plain: false,\r\n round: false,\r\n circle: false,\r\n loading: false,\r\n disabled: false,\r\n autofocus: false,\r\n nativeType: 'button',\r\n dark: false,\r\n})\r\n\r\nconst emit = defineEmits<{\r\n click: [event: MouseEvent]\r\n}>()\r\n\r\nconst handleClick = (event: MouseEvent) => {\r\n emit('click', event)\r\n}\r\n\r\ndefineOptions({\r\n name: 'PacvueElButton',\r\n})\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n// 可以在这里添加自定义样式\r\n</style>\r\n\r\n","<template>\r\n <el-select\r\n v-bind=\"$attrs\"\r\n v-model=\"modelValue\"\r\n :multiple=\"multiple\"\r\n :disabled=\"disabled\"\r\n :value-key=\"valueKey\"\r\n :size=\"size\"\r\n :clearable=\"clearable\"\r\n :collapse-tags=\"collapseTags\"\r\n :collapse-tags-tooltip=\"collapseTagsTooltip\"\r\n :multiple-limit=\"multipleLimit\"\r\n :name=\"name\"\r\n :autocomplete=\"autocomplete\"\r\n :placeholder=\"placeholder\"\r\n :filterable=\"filterable\"\r\n :allow-create=\"allowCreate\"\r\n :filter-method=\"filterMethod\"\r\n :remote=\"remote\"\r\n :remote-method=\"remoteMethod\"\r\n :loading=\"loading\"\r\n :loading-text=\"loadingText\"\r\n :no-match-text=\"noMatchText\"\r\n :no-data-text=\"noDataText\"\r\n :popper-class=\"popperClass\"\r\n :reserve-keyword=\"reserveKeyword\"\r\n :default-first-option=\"defaultFirstOption\"\r\n :teleported=\"teleported\"\r\n :persistent=\"persistent\"\r\n :automatic-dropdown=\"automaticDropdown\"\r\n :clear-icon=\"clearIcon\"\r\n :fit-input-width=\"fitInputWidth\"\r\n :suffix-icon=\"suffixIcon\"\r\n :tag-type=\"tagType\"\r\n :validate-event=\"validateEvent\"\r\n @change=\"handleChange\"\r\n @visible-change=\"handleVisibleChange\"\r\n @remove-tag=\"handleRemoveTag\"\r\n @clear=\"handleClear\"\r\n @blur=\"handleBlur\"\r\n @focus=\"handleFocus\"\r\n >\r\n <slot></slot>\r\n </el-select>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ElSelect } from 'element-plus'\r\nimport type { SelectProps } from './types'\r\n\r\nwithDefaults(defineProps<SelectProps>(), {\r\n multiple: false,\r\n disabled: false,\r\n size: 'default',\r\n clearable: false,\r\n collapseTags: false,\r\n collapseTagsTooltip: false,\r\n multipleLimit: 0,\r\n autocomplete: 'off',\r\n filterable: false,\r\n allowCreate: false,\r\n remote: false,\r\n loading: false,\r\n reserveKeyword: false,\r\n defaultFirstOption: false,\r\n teleported: true,\r\n persistent: false,\r\n automaticDropdown: false,\r\n fitInputWidth: false,\r\n validateEvent: true,\r\n})\r\n\r\nconst emit = defineEmits<{\r\n 'update:modelValue': [value: any]\r\n change: [value: any]\r\n 'visible-change': [visible: boolean]\r\n 'remove-tag': [value: any]\r\n clear: []\r\n blur: [event: FocusEvent]\r\n focus: [event: FocusEvent]\r\n}>()\r\n\r\nconst modelValue = defineModel<any>()\r\n\r\nconst handleChange = (value: any) => {\r\n emit('change', value)\r\n}\r\n\r\nconst handleVisibleChange = (visible: boolean) => {\r\n emit('visible-change', visible)\r\n}\r\n\r\nconst handleRemoveTag = (value: any) => {\r\n emit('remove-tag', value)\r\n}\r\n\r\nconst handleClear = () => {\r\n emit('clear')\r\n}\r\n\r\nconst handleBlur = (event: FocusEvent) => {\r\n emit('blur', event)\r\n}\r\n\r\nconst handleFocus = (event: FocusEvent) => {\r\n emit('focus', event)\r\n}\r\n\r\ndefineOptions({\r\n name: 'PacvueElSelect',\r\n})\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n// 可以在这里添加自定义样式\r\n</style>\r\n\r\n","import type { App } from 'vue'\r\nimport PacvueElButton from './components/button/index.vue'\r\nimport PacvueElSelect from './components/select/index.vue'\r\nimport './style.css'\r\n\r\n// 导出所有组件\r\nexport { PacvueElButton, PacvueElSelect }\r\n\r\n// 导出组件类型\r\nexport type { ButtonProps } from './components/button/types'\r\nexport type { SelectProps } from './components/select/types'\r\n\r\n// 组件列表\r\nconst components = [PacvueElButton, PacvueElSelect]\r\n\r\n// 定义 install 方法\r\nconst install = (app: App) => {\r\n components.forEach((component) => {\r\n const name = component.name || component.__name\r\n if (name) {\r\n app.component(name, component)\r\n }\r\n })\r\n}\r\n\r\n// 支持按需引入\r\nexport default {\r\n install,\r\n PacvueElButton,\r\n PacvueElSelect,\r\n}\r\n\r\n"],"names":["emit","__emit","handleClick","event","_createBlock","_unref","ElButton","_mergeProps","_ctx","__props","_renderSlot","modelValue","_useModel","handleChange","value","handleVisibleChange","visible","handleRemoveTag","handleClear","handleBlur","handleFocus","ElSelect","$event","components","PacvueElButton","PacvueElSelect","install","app","component","name","index"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(o,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(o=typeof globalThis<"u"?globalThis:o||self,t(o.PacvueElComponents={},o.Vue))})(this,function(o,t){"use strict";const p=t.defineComponent({name:"PacvueElButton",__name:"index",props:{size:{default:"default"},disabled:{type:Boolean,default:!1},type:{default:"default"},icon:{},nativeType:{default:"button"},loading:{type:Boolean,default:!1},loadingIcon:{},plain:{type:Boolean,default:!1},text:{type:Boolean},link:{type:Boolean},bg:{type:Boolean},autofocus:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},color:{},dark:{type:Boolean,default:!1},autoInsertSpace:{type:Boolean},tag:{}},emits:["click"],setup(e,{emit:n}){const l=n,i
|
|
1
|
+
(function(o,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],t):(o=typeof globalThis<"u"?globalThis:o||self,t(o.PacvueElComponents={},o.Vue,o.ElementPlus))})(this,function(o,t,f){"use strict";const p=t.defineComponent({name:"PacvueElButton",__name:"index",props:{size:{default:"default"},disabled:{type:Boolean,default:!1},type:{default:"default"},icon:{},nativeType:{default:"button"},loading:{type:Boolean,default:!1},loadingIcon:{},plain:{type:Boolean,default:!1},text:{type:Boolean},link:{type:Boolean},bg:{type:Boolean},autofocus:{type:Boolean,default:!1},round:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},color:{},dark:{type:Boolean,default:!1},autoInsertSpace:{type:Boolean},tag:{}},emits:["click"],setup(e,{emit:n}){const l=n,d=i=>{l("click",i)};return(i,r)=>(t.openBlock(),t.createBlock(t.unref(f.ElButton),t.mergeProps(i.$attrs,{type:e.type,size:e.size,plain:e.plain,round:e.round,circle:e.circle,loading:e.loading,disabled:e.disabled,autofocus:e.autofocus,"native-type":e.nativeType,icon:e.icon,color:e.color,dark:e.dark,onClick:d}),{default:t.withCtx(()=>[t.renderSlot(i.$slots,"default",{},void 0,!0)]),_:3},16,["type","size","plain","round","circle","loading","disabled","autofocus","native-type","icon","color","dark"]))}}),s=(e,n)=>{const l=e.__vccOpts||e;for(const[d,i]of n)l[d]=i;return l},c=s(p,[["__scopeId","data-v-9564e8d7"]]),u=s(t.defineComponent({name:"PacvueElSelect",__name:"index",props:t.mergeModels({ariaLabel:{},emptyValues:{},valueOnClear:{},name:{},id:{},modelValue:{},autocomplete:{default:"off"},automaticDropdown:{type:Boolean,default:!1},size:{default:"default"},effect:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},allowCreate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},popperClass:{},popperStyle:{},popperOptions:{},remote:{type:Boolean,default:!1},debounce:{},loadingText:{},noMatchText:{},noDataText:{},remoteMethod:{},filterMethod:{},multiple:{type:Boolean,default:!1},multipleLimit:{default:0},placeholder:{},defaultFirstOption:{type:Boolean,default:!1},reserveKeyword:{type:Boolean,default:!1},valueKey:{},collapseTags:{type:Boolean,default:!1},collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{},teleported:{type:Boolean,default:!0},persistent:{type:Boolean,default:!1},clearIcon:{},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{},tagType:{},tagEffect:{},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean},showArrow:{type:Boolean},offset:{},placement:{},fallbackPlacements:{},tabindex:{},appendTo:{},options:{},props:{}},{modelValue:{},modelModifiers:{}}),emits:t.mergeModels(["update:modelValue","change","visible-change","remove-tag","clear","blur","focus"],["update:modelValue"]),setup(e,{emit:n}){const l=n,d=t.useModel(e,"modelValue"),i=a=>{l("change",a)},r=a=>{l("visible-change",a)},h=a=>{l("remove-tag",a)},B=()=>{l("clear")},b=a=>{l("blur",a)},v=a=>{l("focus",a)};return(a,m)=>(t.openBlock(),t.createBlock(t.unref(f.ElSelect),t.mergeProps(a.$attrs,{modelValue:d.value,"onUpdate:modelValue":m[0]||(m[0]=x=>d.value=x),multiple:e.multiple,disabled:e.disabled,"value-key":e.valueKey,size:e.size,clearable:e.clearable,"collapse-tags":e.collapseTags,"collapse-tags-tooltip":e.collapseTagsTooltip,"multiple-limit":e.multipleLimit,name:e.name,autocomplete:e.autocomplete,placeholder:e.placeholder,filterable:e.filterable,"allow-create":e.allowCreate,"filter-method":e.filterMethod,remote:e.remote,"remote-method":e.remoteMethod,loading:e.loading,"loading-text":e.loadingText,"no-match-text":e.noMatchText,"no-data-text":e.noDataText,"popper-class":e.popperClass,"reserve-keyword":e.reserveKeyword,"default-first-option":e.defaultFirstOption,teleported:e.teleported,persistent:e.persistent,"automatic-dropdown":e.automaticDropdown,"clear-icon":e.clearIcon,"fit-input-width":e.fitInputWidth,"suffix-icon":e.suffixIcon,"tag-type":e.tagType,"validate-event":e.validateEvent,onChange:i,onVisibleChange:r,onRemoveTag:h,onClear:B,onBlur:b,onFocus:v}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},16,["modelValue","multiple","disabled","value-key","size","clearable","collapse-tags","collapse-tags-tooltip","multiple-limit","name","autocomplete","placeholder","filterable","allow-create","filter-method","remote","remote-method","loading","loading-text","no-match-text","no-data-text","popper-class","reserve-keyword","default-first-option","teleported","persistent","automatic-dropdown","clear-icon","fit-input-width","suffix-icon","tag-type","validate-event"]))}}),[["__scopeId","data-v-27abb59a"]]),y=[c,u],g={install:e=>{y.forEach(n=>{const l=n.name||n.__name;l&&e.component(l,n)})},PacvueElButton:c,PacvueElSelect:u};o.PacvueElButton=c,o.PacvueElSelect=u,o.default=g,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
2
2
|
//# sourceMappingURL=pacvue-el-components.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pacvue-el-components.umd.js","sources":["../src/components/button/index.vue","../src/components/select/index.vue","../src/index.ts"],"sourcesContent":["<template>\r\n <el-button\r\n v-bind=\"$attrs\"\r\n :type=\"type\"\r\n :size=\"size\"\r\n :plain=\"plain\"\r\n :round=\"round\"\r\n :circle=\"circle\"\r\n :loading=\"loading\"\r\n :disabled=\"disabled\"\r\n :autofocus=\"autofocus\"\r\n :native-type=\"nativeType\"\r\n :icon=\"icon\"\r\n :color=\"color\"\r\n :dark=\"dark\"\r\n @click=\"handleClick\"\r\n >\r\n <slot></slot>\r\n </el-button>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\
|
|
1
|
+
{"version":3,"file":"pacvue-el-components.umd.js","sources":["../src/components/button/index.vue","../src/components/select/index.vue","../src/index.ts"],"sourcesContent":["<template>\r\n <el-button\r\n v-bind=\"$attrs\"\r\n :type=\"type\"\r\n :size=\"size\"\r\n :plain=\"plain\"\r\n :round=\"round\"\r\n :circle=\"circle\"\r\n :loading=\"loading\"\r\n :disabled=\"disabled\"\r\n :autofocus=\"autofocus\"\r\n :native-type=\"nativeType\"\r\n :icon=\"icon\"\r\n :color=\"color\"\r\n :dark=\"dark\"\r\n @click=\"handleClick\"\r\n >\r\n <slot></slot>\r\n </el-button>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ElButton } from 'element-plus'\r\nimport type { ButtonProps } from './types'\r\n\r\nwithDefaults(defineProps<ButtonProps>(), {\r\n type: 'default',\r\n size: 'default',\r\n plain: false,\r\n round: false,\r\n circle: false,\r\n loading: false,\r\n disabled: false,\r\n autofocus: false,\r\n nativeType: 'button',\r\n dark: false,\r\n})\r\n\r\nconst emit = defineEmits<{\r\n click: [event: MouseEvent]\r\n}>()\r\n\r\nconst handleClick = (event: MouseEvent) => {\r\n emit('click', event)\r\n}\r\n\r\ndefineOptions({\r\n name: 'PacvueElButton',\r\n})\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n// 可以在这里添加自定义样式\r\n</style>\r\n\r\n","<template>\r\n <el-select\r\n v-bind=\"$attrs\"\r\n v-model=\"modelValue\"\r\n :multiple=\"multiple\"\r\n :disabled=\"disabled\"\r\n :value-key=\"valueKey\"\r\n :size=\"size\"\r\n :clearable=\"clearable\"\r\n :collapse-tags=\"collapseTags\"\r\n :collapse-tags-tooltip=\"collapseTagsTooltip\"\r\n :multiple-limit=\"multipleLimit\"\r\n :name=\"name\"\r\n :autocomplete=\"autocomplete\"\r\n :placeholder=\"placeholder\"\r\n :filterable=\"filterable\"\r\n :allow-create=\"allowCreate\"\r\n :filter-method=\"filterMethod\"\r\n :remote=\"remote\"\r\n :remote-method=\"remoteMethod\"\r\n :loading=\"loading\"\r\n :loading-text=\"loadingText\"\r\n :no-match-text=\"noMatchText\"\r\n :no-data-text=\"noDataText\"\r\n :popper-class=\"popperClass\"\r\n :reserve-keyword=\"reserveKeyword\"\r\n :default-first-option=\"defaultFirstOption\"\r\n :teleported=\"teleported\"\r\n :persistent=\"persistent\"\r\n :automatic-dropdown=\"automaticDropdown\"\r\n :clear-icon=\"clearIcon\"\r\n :fit-input-width=\"fitInputWidth\"\r\n :suffix-icon=\"suffixIcon\"\r\n :tag-type=\"tagType\"\r\n :validate-event=\"validateEvent\"\r\n @change=\"handleChange\"\r\n @visible-change=\"handleVisibleChange\"\r\n @remove-tag=\"handleRemoveTag\"\r\n @clear=\"handleClear\"\r\n @blur=\"handleBlur\"\r\n @focus=\"handleFocus\"\r\n >\r\n <slot></slot>\r\n </el-select>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ElSelect } from 'element-plus'\r\nimport type { SelectProps } from './types'\r\n\r\nwithDefaults(defineProps<SelectProps>(), {\r\n multiple: false,\r\n disabled: false,\r\n size: 'default',\r\n clearable: false,\r\n collapseTags: false,\r\n collapseTagsTooltip: false,\r\n multipleLimit: 0,\r\n autocomplete: 'off',\r\n filterable: false,\r\n allowCreate: false,\r\n remote: false,\r\n loading: false,\r\n reserveKeyword: false,\r\n defaultFirstOption: false,\r\n teleported: true,\r\n persistent: false,\r\n automaticDropdown: false,\r\n fitInputWidth: false,\r\n validateEvent: true,\r\n})\r\n\r\nconst emit = defineEmits<{\r\n 'update:modelValue': [value: any]\r\n change: [value: any]\r\n 'visible-change': [visible: boolean]\r\n 'remove-tag': [value: any]\r\n clear: []\r\n blur: [event: FocusEvent]\r\n focus: [event: FocusEvent]\r\n}>()\r\n\r\nconst modelValue = defineModel<any>()\r\n\r\nconst handleChange = (value: any) => {\r\n emit('change', value)\r\n}\r\n\r\nconst handleVisibleChange = (visible: boolean) => {\r\n emit('visible-change', visible)\r\n}\r\n\r\nconst handleRemoveTag = (value: any) => {\r\n emit('remove-tag', value)\r\n}\r\n\r\nconst handleClear = () => {\r\n emit('clear')\r\n}\r\n\r\nconst handleBlur = (event: FocusEvent) => {\r\n emit('blur', event)\r\n}\r\n\r\nconst handleFocus = (event: FocusEvent) => {\r\n emit('focus', event)\r\n}\r\n\r\ndefineOptions({\r\n name: 'PacvueElSelect',\r\n})\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n// 可以在这里添加自定义样式\r\n</style>\r\n\r\n","import type { App } from 'vue'\r\nimport PacvueElButton from './components/button/index.vue'\r\nimport PacvueElSelect from './components/select/index.vue'\r\nimport './style.css'\r\n\r\n// 导出所有组件\r\nexport { PacvueElButton, PacvueElSelect }\r\n\r\n// 导出组件类型\r\nexport type { ButtonProps } from './components/button/types'\r\nexport type { SelectProps } from './components/select/types'\r\n\r\n// 组件列表\r\nconst components = [PacvueElButton, PacvueElSelect]\r\n\r\n// 定义 install 方法\r\nconst install = (app: App) => {\r\n components.forEach((component) => {\r\n const name = component.name || component.__name\r\n if (name) {\r\n app.component(name, component)\r\n }\r\n })\r\n}\r\n\r\n// 支持按需引入\r\nexport default {\r\n install,\r\n PacvueElButton,\r\n PacvueElSelect,\r\n}\r\n\r\n"],"names":["emit","__emit","handleClick","event","_createBlock","_unref","ElButton","_mergeProps","_ctx","__props","_renderSlot","modelValue","_useModel","handleChange","value","handleVisibleChange","visible","handleRemoveTag","handleClear","handleBlur","handleFocus","ElSelect","$event","components","PacvueElButton","PacvueElSelect","index","app","component","name"],"mappings":"i2BAsCA,MAAMA,EAAOC,EAIPC,EAAeC,GAAsB,CACzCH,EAAK,QAASG,CAAK,CACrB,8BA3CEC,EAAAA,YAiBYC,EAAAA,MAAAC,EAAAA,QAAA,EAjBZC,EAAAA,WAiBYC,EAAA,OAhBI,CACb,KAAMC,EAAA,KACN,KAAMA,EAAA,KACN,MAAOA,EAAA,MACP,MAAOA,EAAA,MACP,OAAQA,EAAA,OACR,QAASA,EAAA,QACT,SAAUA,EAAA,SACV,UAAWA,EAAA,UACX,cAAaA,EAAA,WACb,KAAMA,EAAA,KACN,MAAOA,EAAA,MACP,KAAMA,EAAA,KACN,QAAOP,CAAA,sBAER,IAAa,CAAbQ,EAAAA,WAAaF,EAAA,OAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,unDCuDjB,MAAMR,EAAOC,EAUPU,EAAaC,EAAAA,SAAgBH,EAAA,YAAC,EAE9BI,EAAgBC,GAAe,CACnCd,EAAK,SAAUc,CAAK,CACtB,EAEMC,EAAuBC,GAAqB,CAChDhB,EAAK,iBAAkBgB,CAAO,CAChC,EAEMC,EAAmBH,GAAe,CACtCd,EAAK,aAAcc,CAAK,CAC1B,EAEMI,EAAc,IAAM,CACxBlB,EAAK,OAAO,CACd,EAEMmB,EAAchB,GAAsB,CACxCH,EAAK,OAAQG,CAAK,CACpB,EAEMiB,EAAejB,GAAsB,CACzCH,EAAK,QAASG,CAAK,CACrB,8BAzGEC,EAAAA,YA0CYC,EAAAA,MAAAgB,EAAAA,QAAA,EA1CZd,EAAAA,WA0CYC,EAAA,OAzCI,YACLG,EAAA,2CAAAA,EAAU,MAAAW,GAClB,SAAUb,EAAA,SACV,SAAUA,EAAA,SACV,YAAWA,EAAA,SACX,KAAMA,EAAA,KACN,UAAWA,EAAA,UACX,gBAAeA,EAAA,aACf,wBAAuBA,EAAA,oBACvB,iBAAgBA,EAAA,cAChB,KAAMA,EAAA,KACN,aAAcA,EAAA,aACd,YAAaA,EAAA,YACb,WAAYA,EAAA,WACZ,eAAcA,EAAA,YACd,gBAAeA,EAAA,aACf,OAAQA,EAAA,OACR,gBAAeA,EAAA,aACf,QAASA,EAAA,QACT,eAAcA,EAAA,YACd,gBAAeA,EAAA,YACf,eAAcA,EAAA,WACd,eAAcA,EAAA,YACd,kBAAiBA,EAAA,eACjB,uBAAsBA,EAAA,mBACtB,WAAYA,EAAA,WACZ,WAAYA,EAAA,WACZ,qBAAoBA,EAAA,kBACpB,aAAYA,EAAA,UACZ,kBAAiBA,EAAA,cACjB,cAAaA,EAAA,WACb,WAAUA,EAAA,QACV,iBAAgBA,EAAA,cAChB,SAAQI,EACR,gBAAgBE,EAChB,YAAYE,EACZ,QAAOC,EACP,OAAMC,EACN,QAAOC,CAAA,sBAER,IAAa,CAAbV,EAAAA,WAAaF,EAAA,OAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,igBC7BXe,EAAa,CAACC,EAAgBC,CAAc,EAalDC,EAAe,CACb,QAXeC,GAAa,CAC5BJ,EAAW,QAASK,GAAc,CAChC,MAAMC,EAAOD,EAAU,MAAQA,EAAU,OACrCC,GACFF,EAAI,UAAUE,EAAMD,CAAS,CAEjC,CAAC,CACH,EAKE,eAAAJ,EACA,eAAAC,CACF"}
|
package/package.json
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script setup lang="ts">
|
|
23
|
-
|
|
23
|
+
import { ElButton } from 'element-plus'
|
|
24
24
|
import type { ButtonProps } from './types'
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
withDefaults(defineProps<ButtonProps>(), {
|
|
27
27
|
type: 'default',
|
|
28
28
|
size: 'default',
|
|
29
29
|
plain: false,
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
:popper-class="popperClass"
|
|
26
26
|
:reserve-keyword="reserveKeyword"
|
|
27
27
|
:default-first-option="defaultFirstOption"
|
|
28
|
-
:popper-append-to-body="popperAppendToBody"
|
|
29
28
|
:teleported="teleported"
|
|
30
29
|
:persistent="persistent"
|
|
31
30
|
:automatic-dropdown="automaticDropdown"
|
|
@@ -46,10 +45,10 @@
|
|
|
46
45
|
</template>
|
|
47
46
|
|
|
48
47
|
<script setup lang="ts">
|
|
49
|
-
|
|
48
|
+
import { ElSelect } from 'element-plus'
|
|
50
49
|
import type { SelectProps } from './types'
|
|
51
50
|
|
|
52
|
-
|
|
51
|
+
withDefaults(defineProps<SelectProps>(), {
|
|
53
52
|
multiple: false,
|
|
54
53
|
disabled: false,
|
|
55
54
|
size: 'default',
|
|
@@ -62,10 +61,9 @@ const props = withDefaults(defineProps<SelectProps>(), {
|
|
|
62
61
|
allowCreate: false,
|
|
63
62
|
remote: false,
|
|
64
63
|
loading: false,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
teleported: true,
|
|
64
|
+
reserveKeyword: false,
|
|
65
|
+
defaultFirstOption: false,
|
|
66
|
+
teleported: true,
|
|
69
67
|
persistent: false,
|
|
70
68
|
automaticDropdown: false,
|
|
71
69
|
fitInputWidth: false,
|