@pungfe/element 0.0.1-alpha.18 → 0.0.1-alpha.21
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/LICENSE +21 -21
- package/README.md +20 -1
- package/dist/cjs/Button-Dkqk8lXH.cjs +2 -0
- package/dist/cjs/Button-Dkqk8lXH.cjs.map +1 -0
- package/dist/cjs/Button.cjs +1 -0
- package/dist/cjs/ButtonPopconfirm.cjs +1 -0
- package/dist/cjs/ConfigProvider-lII820wO.cjs +2 -0
- package/dist/cjs/ConfigProvider-lII820wO.cjs.map +1 -0
- package/dist/cjs/ConfigProvider.cjs +1 -0
- package/dist/cjs/DatePicker-DvW11A5y.cjs +2 -0
- package/dist/cjs/DatePicker-DvW11A5y.cjs.map +1 -0
- package/dist/cjs/DatePicker.cjs +1 -0
- package/dist/cjs/Dialog-C3uo50Lk.cjs +2 -0
- package/dist/cjs/Dialog-C3uo50Lk.cjs.map +1 -0
- package/dist/cjs/Dialog.cjs +1 -0
- package/dist/cjs/Form-269B6UNo.cjs +2 -0
- package/dist/cjs/Form-269B6UNo.cjs.map +1 -0
- package/dist/cjs/Form.cjs +1 -0
- package/dist/cjs/FormItem-Dr0G-5Q4.cjs +2 -0
- package/dist/cjs/FormItem-Dr0G-5Q4.cjs.map +1 -0
- package/dist/cjs/FormItem.cjs +1 -0
- package/dist/cjs/Input-DuZALrON.cjs +2 -0
- package/dist/cjs/Input-DuZALrON.cjs.map +1 -0
- package/dist/cjs/Input.cjs +1 -0
- package/dist/cjs/InputNumber-DPd4h9mJ.cjs +2 -0
- package/dist/cjs/InputNumber-DPd4h9mJ.cjs.map +1 -0
- package/dist/cjs/InputNumber.cjs +1 -0
- package/dist/cjs/Pagination-C6JSioze.cjs +2 -0
- package/dist/cjs/Pagination-C6JSioze.cjs.map +1 -0
- package/dist/cjs/Pagination.cjs +1 -0
- package/dist/cjs/Select-C-b-Biw3.cjs +2 -0
- package/dist/cjs/Select-C-b-Biw3.cjs.map +1 -0
- package/dist/cjs/Select.cjs +1 -0
- package/dist/cjs/TabPane-6xH7oG0B.cjs +2 -0
- package/dist/cjs/TabPane-6xH7oG0B.cjs.map +1 -0
- package/dist/cjs/TabPane.cjs +1 -0
- package/dist/cjs/Table-DpQglHP2.cjs +2 -0
- package/dist/cjs/Table-DpQglHP2.cjs.map +1 -0
- package/dist/cjs/Table.cjs +1 -0
- package/dist/cjs/Tabs-BjfrK6HM.cjs +2 -0
- package/dist/cjs/Tabs-BjfrK6HM.cjs.map +1 -0
- package/dist/cjs/Tabs.cjs +1 -0
- package/dist/cjs/Upload-CXRSAOCS.cjs +2 -0
- package/dist/cjs/Upload-CXRSAOCS.cjs.map +1 -0
- package/dist/cjs/Upload.cjs +1 -0
- package/dist/cjs/components-Xete52W-.cjs +2 -0
- package/dist/cjs/components-Xete52W-.cjs.map +1 -0
- package/dist/cjs/constants-C1UtNKNR.cjs +2 -0
- package/dist/cjs/constants-C1UtNKNR.cjs.map +1 -0
- package/dist/cjs/dist-jkU1Ff2x.cjs +2 -0
- package/dist/cjs/dist-jkU1Ff2x.cjs.map +1 -0
- package/dist/cjs/en-B0d-nlXX.cjs +2 -0
- package/dist/cjs/en-B0d-nlXX.cjs.map +1 -0
- package/dist/cjs/en.cjs +1 -0
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index2.cjs +1 -0
- package/dist/cjs/resolver.cjs +2 -0
- package/dist/cjs/resolver.cjs.map +1 -0
- package/dist/cjs/zh-cn-DsaoBOfv.cjs +2 -0
- package/dist/cjs/zh-cn-DsaoBOfv.cjs.map +1 -0
- package/dist/cjs/zh-cn.cjs +1 -0
- package/dist/es/Button-BgxatYKq.js +37 -0
- package/dist/es/Button-BgxatYKq.js.map +1 -0
- package/dist/es/Button.js +2 -0
- package/dist/es/ButtonPopconfirm.js +18 -0
- package/dist/es/ConfigProvider-BlRc251T.js +16 -0
- package/dist/es/ConfigProvider-BlRc251T.js.map +1 -0
- package/dist/es/ConfigProvider.js +4 -0
- package/dist/es/DatePicker-BDjnMA3B.js +69 -0
- package/dist/es/DatePicker-BDjnMA3B.js.map +1 -0
- package/dist/es/DatePicker.js +2 -0
- package/dist/es/Dialog-BahbAebJ.js +54 -0
- package/dist/es/Dialog-BahbAebJ.js.map +1 -0
- package/dist/es/Dialog.js +2 -0
- package/dist/es/Form-wBMmnwZj.js +44 -0
- package/dist/es/Form-wBMmnwZj.js.map +1 -0
- package/dist/es/Form.js +2 -0
- package/dist/es/FormItem--C1bP0wY.js +37 -0
- package/dist/es/FormItem--C1bP0wY.js.map +1 -0
- package/dist/es/FormItem.js +2 -0
- package/dist/es/Input-JT0g3gkf.js +86 -0
- package/dist/es/Input-JT0g3gkf.js.map +1 -0
- package/dist/es/Input.js +2 -0
- package/dist/es/InputNumber-CFTLdulD.js +70 -0
- package/dist/es/InputNumber-CFTLdulD.js.map +1 -0
- package/dist/es/InputNumber.js +2 -0
- package/dist/es/Pagination-CGeelxQR.js +44 -0
- package/dist/es/Pagination-CGeelxQR.js.map +1 -0
- package/dist/es/Pagination.js +2 -0
- package/dist/es/Select-BKdDBeJC.js +110 -0
- package/dist/es/Select-BKdDBeJC.js.map +1 -0
- package/dist/es/Select.js +2 -0
- package/dist/es/TabPane-CzInYf67.js +34 -0
- package/dist/es/TabPane-CzInYf67.js.map +1 -0
- package/dist/es/TabPane.js +2 -0
- package/dist/es/Table-Cm_Dki-c.js +104 -0
- package/dist/es/Table-Cm_Dki-c.js.map +1 -0
- package/dist/es/Table.js +2 -0
- package/dist/es/Tabs-CKIkuQ81.js +40 -0
- package/dist/es/Tabs-CKIkuQ81.js.map +1 -0
- package/dist/es/Tabs.js +2 -0
- package/dist/es/Upload-DCnEcRkL.js +52 -0
- package/dist/es/Upload-DCnEcRkL.js.map +1 -0
- package/dist/es/Upload.js +2 -0
- package/dist/es/components-DKoUIsFy.js +91 -0
- package/dist/es/components-DKoUIsFy.js.map +1 -0
- package/dist/es/constants-TVJ7auaC.js +6 -0
- package/dist/es/constants-TVJ7auaC.js.map +1 -0
- package/dist/es/dist-BPi3_vgC.js +30 -0
- package/dist/es/dist-BPi3_vgC.js.map +1 -0
- package/dist/es/en-BAY1fB2Q.js +197 -0
- package/dist/es/en-BAY1fB2Q.js.map +1 -0
- package/dist/es/en.js +2 -0
- package/dist/es/index.js +28 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/index2.js +3 -0
- package/dist/es/resolver.js +39 -0
- package/dist/es/resolver.js.map +1 -0
- package/dist/es/zh-cn-UaM4b5St.js +197 -0
- package/dist/es/zh-cn-UaM4b5St.js.map +1 -0
- package/dist/es/zh-cn.js +2 -0
- package/dist/{basic/XButton.vue.d.ts → types/components/Button.vue.d.ts} +10 -5
- package/dist/{basic/XReconfirm.vue.d.ts → types/components/ButtonPopconfirm.vue.d.ts} +4 -3
- package/dist/types/components/ConfigProvider.vue.d.ts +21 -0
- package/dist/{basic/XDatePicker.vue.d.ts → types/components/DatePicker.vue.d.ts} +13 -5
- package/dist/{basic/XDialog.vue.d.ts → types/components/Dialog.vue.d.ts} +17 -9
- package/dist/types/components/Form.vue.d.ts +29 -0
- package/dist/types/components/FormItem.vue.d.ts +33 -0
- package/dist/types/components/Input.vue.d.ts +44 -0
- package/dist/types/components/InputNumber.vue.d.ts +48 -0
- package/dist/types/components/Pagination.vue.d.ts +40 -0
- package/dist/types/components/Select.vue.d.ts +45 -0
- package/dist/types/components/TabPane.vue.d.ts +32 -0
- package/dist/types/components/Table.vue.d.ts +89 -0
- package/dist/{basic/XTabs.vue.d.ts → types/components/Tabs.vue.d.ts} +4 -12
- package/dist/types/components/Upload.vue.d.ts +40 -0
- package/dist/types/components/index.d.ts +50 -0
- package/dist/types/constants/index.d.ts +15 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/install.d.ts +2 -0
- package/dist/types/locales/en.d.ts +2 -0
- package/dist/types/locales/index.d.ts +2 -0
- package/dist/types/locales/zh-cn.d.ts +2 -0
- package/dist/{resolver.d.ts → types/resolver.d.ts} +1 -1
- package/dist/types/src/components/Button.vue.d.ts +31 -0
- package/dist/types/src/components/ButtonPopconfirm.vue.d.ts +27 -0
- package/dist/types/src/components/ConfigProvider.vue.d.ts +21 -0
- package/dist/types/src/components/DatePicker.vue.d.ts +34 -0
- package/dist/types/src/components/Dialog.vue.d.ts +44 -0
- package/dist/{basic/XForm.vue.d.ts → types/src/components/Form.vue.d.ts} +9 -27
- package/dist/types/src/components/FormItem.vue.d.ts +33 -0
- package/dist/types/src/components/Input.vue.d.ts +44 -0
- package/dist/types/src/components/InputNumber.vue.d.ts +48 -0
- package/dist/types/src/components/Pagination.vue.d.ts +40 -0
- package/dist/{basic/XSelect.vue.d.ts → types/src/components/Select.vue.d.ts} +19 -5
- package/dist/types/src/components/TabPane.vue.d.ts +32 -0
- package/dist/types/src/components/Table.vue.d.ts +89 -0
- package/dist/types/src/components/Tabs.vue.d.ts +26 -0
- package/dist/types/src/components/Upload.vue.d.ts +27 -0
- package/dist/types/src/components/index.d.ts +15 -0
- package/dist/types/src/constants/index.d.ts +15 -0
- package/dist/types/src/index.d.ts +2 -0
- package/dist/types/src/locales/en.d.ts +2 -0
- package/dist/types/src/locales/index.d.ts +2 -0
- package/dist/types/src/locales/zh-cn.d.ts +2 -0
- package/dist/types/src/resolver.d.ts +3 -0
- package/dist/types/test/table.test.d.ts +1 -0
- package/package.json +32 -26
- package/dist/basic/XCascader.vue.d.ts +0 -26
- package/dist/basic/XCheckbox.vue.d.ts +0 -28
- package/dist/basic/XColorPicker.vue.d.ts +0 -21
- package/dist/basic/XDivider.vue.d.ts +0 -20
- package/dist/basic/XImage.vue.d.ts +0 -5
- package/dist/basic/XInput.vue.d.ts +0 -30
- package/dist/basic/XInputNumber.vue.d.ts +0 -38
- package/dist/basic/XPagination.vue.d.ts +0 -21
- package/dist/basic/XRate.vue.d.ts +0 -20
- package/dist/basic/XScrollbar.vue.d.ts +0 -553
- package/dist/basic/XSpace.vue.d.ts +0 -20
- package/dist/basic/XTable.vue.d.ts +0 -57
- package/dist/basic/XTag.vue.d.ts +0 -28
- package/dist/basic/XText.vue.d.ts +0 -23
- package/dist/basic/XUpload.vue.d.ts +0 -41
- package/dist/components.d.ts +0 -43
- package/dist/constants.d.ts +0 -12
- package/dist/index.d.ts +0 -7
- package/dist/index.mjs +0 -1297
- package/dist/resolver.mjs +0 -42
- package/dist/vendor-pRyQDb6F.js +0 -102
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-BAY1fB2Q.js","names":[],"sources":["../../node_modules/element-plus/es/locale/lang/en.mjs","../../src/locales/en.ts"],"sourcesContent":["//#region ../../packages/locale/lang/en.ts\nvar en_default = {\n\tname: \"en\",\n\tel: {\n\t\tbreadcrumb: { label: \"Breadcrumb\" },\n\t\tcolorpicker: {\n\t\t\tconfirm: \"OK\",\n\t\t\tclear: \"Clear\",\n\t\t\tdefaultLabel: \"color picker\",\n\t\t\tdescription: \"current color is {color}. press enter to select a new color.\",\n\t\t\talphaLabel: \"pick alpha value\",\n\t\t\talphaDescription: \"alpha {alpha}, current color is {color}\",\n\t\t\thueLabel: \"pick hue value\",\n\t\t\thueDescription: \"hue {hue}, current color is {color}\",\n\t\t\tsvLabel: \"pick saturation and brightness value\",\n\t\t\tsvDescription: \"saturation {saturation}, brightness {brightness}, current color is {color}\",\n\t\t\tpredefineDescription: \"select {value} as the color\"\n\t\t},\n\t\tdatepicker: {\n\t\t\tnow: \"Now\",\n\t\t\ttoday: \"Today\",\n\t\t\tcancel: \"Cancel\",\n\t\t\tclear: \"Clear\",\n\t\t\tconfirm: \"OK\",\n\t\t\tdateTablePrompt: \"Use the arrow keys and enter to select the day of the month\",\n\t\t\tmonthTablePrompt: \"Use the arrow keys and enter to select the month\",\n\t\t\tyearTablePrompt: \"Use the arrow keys and enter to select the year\",\n\t\t\tselectedDate: \"Selected date\",\n\t\t\tselectDate: \"Select date\",\n\t\t\tselectTime: \"Select time\",\n\t\t\tstartDate: \"Start Date\",\n\t\t\tstartTime: \"Start Time\",\n\t\t\tendDate: \"End Date\",\n\t\t\tendTime: \"End Time\",\n\t\t\tprevYear: \"Previous Year\",\n\t\t\tnextYear: \"Next Year\",\n\t\t\tprevMonth: \"Previous Month\",\n\t\t\tnextMonth: \"Next Month\",\n\t\t\tyear: \"\",\n\t\t\tmonth1: \"January\",\n\t\t\tmonth2: \"February\",\n\t\t\tmonth3: \"March\",\n\t\t\tmonth4: \"April\",\n\t\t\tmonth5: \"May\",\n\t\t\tmonth6: \"June\",\n\t\t\tmonth7: \"July\",\n\t\t\tmonth8: \"August\",\n\t\t\tmonth9: \"September\",\n\t\t\tmonth10: \"October\",\n\t\t\tmonth11: \"November\",\n\t\t\tmonth12: \"December\",\n\t\t\tweeks: {\n\t\t\t\tsun: \"Sun\",\n\t\t\t\tmon: \"Mon\",\n\t\t\t\ttue: \"Tue\",\n\t\t\t\twed: \"Wed\",\n\t\t\t\tthu: \"Thu\",\n\t\t\t\tfri: \"Fri\",\n\t\t\t\tsat: \"Sat\"\n\t\t\t},\n\t\t\tweeksFull: {\n\t\t\t\tsun: \"Sunday\",\n\t\t\t\tmon: \"Monday\",\n\t\t\t\ttue: \"Tuesday\",\n\t\t\t\twed: \"Wednesday\",\n\t\t\t\tthu: \"Thursday\",\n\t\t\t\tfri: \"Friday\",\n\t\t\t\tsat: \"Saturday\"\n\t\t\t},\n\t\t\tmonths: {\n\t\t\t\tjan: \"Jan\",\n\t\t\t\tfeb: \"Feb\",\n\t\t\t\tmar: \"Mar\",\n\t\t\t\tapr: \"Apr\",\n\t\t\t\tmay: \"May\",\n\t\t\t\tjun: \"Jun\",\n\t\t\t\tjul: \"Jul\",\n\t\t\t\taug: \"Aug\",\n\t\t\t\tsep: \"Sep\",\n\t\t\t\toct: \"Oct\",\n\t\t\t\tnov: \"Nov\",\n\t\t\t\tdec: \"Dec\"\n\t\t\t}\n\t\t},\n\t\tinputNumber: {\n\t\t\tdecrease: \"decrease number\",\n\t\t\tincrease: \"increase number\"\n\t\t},\n\t\tselect: {\n\t\t\tloading: \"Loading\",\n\t\t\tnoMatch: \"No matching data\",\n\t\t\tnoData: \"No data\",\n\t\t\tplaceholder: \"Select\"\n\t\t},\n\t\tmention: { loading: \"Loading\" },\n\t\tdropdown: { toggleDropdown: \"Toggle Dropdown\" },\n\t\tcascader: {\n\t\t\tnoMatch: \"No matching data\",\n\t\t\tloading: \"Loading\",\n\t\t\tplaceholder: \"Select\",\n\t\t\tnoData: \"No data\"\n\t\t},\n\t\tpagination: {\n\t\t\tgoto: \"Go to\",\n\t\t\tpagesize: \"/page\",\n\t\t\ttotal: \"Total {total}\",\n\t\t\tpageClassifier: \"\",\n\t\t\tpage: \"Page\",\n\t\t\tprev: \"Go to previous page\",\n\t\t\tnext: \"Go to next page\",\n\t\t\tcurrentPage: \"page {pager}\",\n\t\t\tprevPages: \"Previous {pager} pages\",\n\t\t\tnextPages: \"Next {pager} pages\",\n\t\t\tdeprecationWarning: \"Deprecated usages detected, please refer to the el-pagination documentation for more details\"\n\t\t},\n\t\tdialog: { close: \"Close this dialog\" },\n\t\tdrawer: { close: \"Close this dialog\" },\n\t\tmessagebox: {\n\t\t\ttitle: \"Message\",\n\t\t\tconfirm: \"OK\",\n\t\t\tcancel: \"Cancel\",\n\t\t\terror: \"Illegal input\",\n\t\t\tclose: \"Close this dialog\"\n\t\t},\n\t\tupload: {\n\t\t\tdeleteTip: \"press delete to remove\",\n\t\t\tdelete: \"Delete\",\n\t\t\tpreview: \"Preview\",\n\t\t\tcontinue: \"Continue\"\n\t\t},\n\t\tslider: {\n\t\t\tdefaultLabel: \"slider between {min} and {max}\",\n\t\t\tdefaultRangeStartLabel: \"pick start value\",\n\t\t\tdefaultRangeEndLabel: \"pick end value\"\n\t\t},\n\t\ttable: {\n\t\t\temptyText: \"No Data\",\n\t\t\tconfirmFilter: \"Confirm\",\n\t\t\tresetFilter: \"Reset\",\n\t\t\tclearFilter: \"All\",\n\t\t\tsumText: \"Sum\",\n\t\t\tselectAllLabel: \"Select all rows\",\n\t\t\tselectRowLabel: \"Select this row\",\n\t\t\texpandRowLabel: \"Expand this row\",\n\t\t\tcollapseRowLabel: \"Collapse this row\",\n\t\t\tsortLabel: \"Sort by {column}\",\n\t\t\tfilterLabel: \"Filter by {column}\"\n\t\t},\n\t\ttag: { close: \"Close this tag\" },\n\t\ttour: {\n\t\t\tnext: \"Next\",\n\t\t\tprevious: \"Previous\",\n\t\t\tfinish: \"Finish\",\n\t\t\tclose: \"Close this dialog\"\n\t\t},\n\t\ttree: { emptyText: \"No Data\" },\n\t\ttransfer: {\n\t\t\tnoMatch: \"No matching data\",\n\t\t\tnoData: \"No data\",\n\t\t\ttitles: [\"List 1\", \"List 2\"],\n\t\t\tfilterPlaceholder: \"Enter keyword\",\n\t\t\tnoCheckedFormat: \"{total} items\",\n\t\t\thasCheckedFormat: \"{checked}/{total} checked\"\n\t\t},\n\t\timage: { error: \"FAILED\" },\n\t\tpageHeader: { title: \"Back\" },\n\t\tpopconfirm: {\n\t\t\tconfirmButtonText: \"Yes\",\n\t\t\tcancelButtonText: \"No\"\n\t\t},\n\t\tcarousel: {\n\t\t\tleftArrow: \"Carousel arrow left\",\n\t\t\trightArrow: \"Carousel arrow right\",\n\t\t\tindicator: \"Carousel switch to index {index}\"\n\t\t}\n\t}\n};\n\n//#endregion\nexport { en_default as default };\n//# sourceMappingURL=en.mjs.map","import en from 'element-plus/es/locale/lang/en'\r\n\r\nObject.assign(en.el, {\r\n input: {\r\n placeholder: 'Please input'\r\n },\r\n inputNumber: {\r\n ...en.el.inputNumber,\r\n placeholder: 'Please input'\r\n },\r\n datepicker: {\r\n ...en.el.datepicker,\r\n placeholder: 'Please select',\r\n startPlaceholder: 'Start Date',\r\n endPlaceholder: 'End Date'\r\n },\r\n select: {\r\n ...en.el.select\r\n }\r\n})\r\n\r\nexport { en }\r\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
package/dist/es/en.js
ADDED
package/dist/es/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { n as e, t } from "./components-DKoUIsFy.js";
|
|
2
|
+
import { t as n } from "./Button-BgxatYKq.js";
|
|
3
|
+
import { t as r } from "./en-BAY1fB2Q.js";
|
|
4
|
+
import { t as i } from "./zh-cn-UaM4b5St.js";
|
|
5
|
+
import "./index2.js";
|
|
6
|
+
import { t as a } from "./ConfigProvider-BlRc251T.js";
|
|
7
|
+
import { t as o } from "./DatePicker-BDjnMA3B.js";
|
|
8
|
+
import { t as s } from "./Dialog-BahbAebJ.js";
|
|
9
|
+
import { t as c } from "./Form-wBMmnwZj.js";
|
|
10
|
+
import { t as l } from "./FormItem--C1bP0wY.js";
|
|
11
|
+
import { t as u } from "./Input-JT0g3gkf.js";
|
|
12
|
+
import { t as d } from "./InputNumber-CFTLdulD.js";
|
|
13
|
+
import { t as f } from "./Pagination-CGeelxQR.js";
|
|
14
|
+
import { t as p } from "./Select-BKdDBeJC.js";
|
|
15
|
+
import { t as m } from "./Table-Cm_Dki-c.js";
|
|
16
|
+
import { t as h } from "./TabPane-CzInYf67.js";
|
|
17
|
+
import { t as g } from "./Tabs-CKIkuQ81.js";
|
|
18
|
+
import { t as _ } from "./Upload-DCnEcRkL.js";
|
|
19
|
+
//#region src/install.ts
|
|
20
|
+
var v = (e) => {
|
|
21
|
+
Object.entries(t).forEach(([t, n]) => {
|
|
22
|
+
e.component(t, n);
|
|
23
|
+
});
|
|
24
|
+
}, y = v;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { n as XButton, e as XButtonPopconfirm, a as XConfigProvider, o as XDatePicker, s as XDialog, c as XForm, l as XFormItem, u as XInput, d as XInputNumber, f as XPagination, p as XSelect, h as XTabPane, m as XTable, g as XTabs, _ as XUpload, y as default, r as en, v as install, i as zhCn };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/install.ts","../../src/index.ts"],"sourcesContent":["import type { App, Component } from 'vue'\r\n\r\nimport * as components from '@/components'\r\n\r\nexport const install = (app: App) => {\r\n Object.entries(components).forEach(([name, component]) => {\r\n app.component(name, component as Component)\r\n })\r\n}\r\n","import { install } from './install'\r\n\r\nexport * from './components'\r\nexport * from './install'\r\nexport * from './locales'\r\n\r\nexport default install\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,IAAa,KAAW,MAAa;AACnC,QAAO,QAAQ,EAAW,CAAC,SAAS,CAAC,GAAM,OAAe;AACxD,IAAI,UAAU,GAAM,EAAuB;GAC3C;GCDJ,IAAe"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//#region src/resolver.ts
|
|
2
|
+
var e = ["element-plus/es/components/base/style/css"], t = {
|
|
3
|
+
XButton: [...e, "element-plus/es/components/button/style/css"],
|
|
4
|
+
XButtonPopconfirm: [
|
|
5
|
+
...e,
|
|
6
|
+
"element-plus/es/components/button/style/css",
|
|
7
|
+
"element-plus/es/components/popconfirm/style/css"
|
|
8
|
+
],
|
|
9
|
+
XConfigProvider: [],
|
|
10
|
+
XDatePicker: [...e, "element-plus/es/components/date-picker/style/css"],
|
|
11
|
+
XDialog: [...e, "element-plus/es/components/dialog/style/css"],
|
|
12
|
+
XForm: [...e, "element-plus/es/components/form/style/css"],
|
|
13
|
+
XFormItem: [...e, "element-plus/es/components/form-item/style/css"],
|
|
14
|
+
XInput: [...e, "element-plus/es/components/input/style/css"],
|
|
15
|
+
XInputNumber: [...e, "element-plus/es/components/input-number/style/css"],
|
|
16
|
+
XPagination: [...e, "element-plus/es/components/pagination/style/css"],
|
|
17
|
+
XSelect: [...e, "element-plus/es/components/select/style/css"],
|
|
18
|
+
XTable: [
|
|
19
|
+
...e,
|
|
20
|
+
"element-plus/es/components/table/style/css",
|
|
21
|
+
"element-plus/es/components/table-column/style/css"
|
|
22
|
+
],
|
|
23
|
+
XTabs: [...e, "element-plus/es/components/tabs/style/css"],
|
|
24
|
+
XTabPane: [...e, "element-plus/es/components/tab-pane/style/css"],
|
|
25
|
+
XUpload: [...e, "element-plus/es/components/upload/style/css"]
|
|
26
|
+
}, n = () => ({
|
|
27
|
+
type: "component",
|
|
28
|
+
resolve: (e) => {
|
|
29
|
+
if (e in t) return {
|
|
30
|
+
name: e,
|
|
31
|
+
from: "@pungfe/element",
|
|
32
|
+
sideEffects: t[e]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { n as default };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=resolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolver.js","names":[],"sources":["../../src/resolver.ts"],"sourcesContent":["import type { ComponentResolver } from 'unplugin-vue-components'\r\n\r\nconst base = ['element-plus/es/components/base/style/css']\r\n\r\nconst XResolve: Record<string, string[]> = {\r\n XButton: [...base, 'element-plus/es/components/button/style/css'],\r\n XButtonPopconfirm: [...base, 'element-plus/es/components/button/style/css', 'element-plus/es/components/popconfirm/style/css'],\r\n XConfigProvider: [],\r\n XDatePicker: [...base, 'element-plus/es/components/date-picker/style/css'],\r\n XDialog: [...base, 'element-plus/es/components/dialog/style/css'],\r\n XForm: [...base, 'element-plus/es/components/form/style/css'],\r\n XFormItem: [...base, 'element-plus/es/components/form-item/style/css'],\r\n XInput: [...base, 'element-plus/es/components/input/style/css'],\r\n XInputNumber: [...base, 'element-plus/es/components/input-number/style/css'],\r\n XPagination: [...base, 'element-plus/es/components/pagination/style/css'],\r\n XSelect: [...base, 'element-plus/es/components/select/style/css'],\r\n XTable: [...base, 'element-plus/es/components/table/style/css', 'element-plus/es/components/table-column/style/css'],\r\n XTabs: [...base, 'element-plus/es/components/tabs/style/css'],\r\n XTabPane: [...base, 'element-plus/es/components/tab-pane/style/css'],\r\n XUpload: [...base, 'element-plus/es/components/upload/style/css']\r\n}\r\n\r\nexport default () => {\r\n return {\r\n type: 'component',\r\n resolve: (name) => {\r\n if (name in XResolve) {\r\n return {\r\n name,\r\n from: '@pungfe/element',\r\n sideEffects: XResolve[name]\r\n }\r\n }\r\n }\r\n } as ComponentResolver\r\n}\r\n"],"mappings":";AAEA,IAAM,IAAO,CAAC,4CAA4C,EAEpD,IAAqC;CACzC,SAAS,CAAC,GAAG,GAAM,8CAA8C;CACjE,mBAAmB;EAAC,GAAG;EAAM;EAA+C;EAAkD;CAC9H,iBAAiB,EAAE;CACnB,aAAa,CAAC,GAAG,GAAM,mDAAmD;CAC1E,SAAS,CAAC,GAAG,GAAM,8CAA8C;CACjE,OAAO,CAAC,GAAG,GAAM,4CAA4C;CAC7D,WAAW,CAAC,GAAG,GAAM,iDAAiD;CACtE,QAAQ,CAAC,GAAG,GAAM,6CAA6C;CAC/D,cAAc,CAAC,GAAG,GAAM,oDAAoD;CAC5E,aAAa,CAAC,GAAG,GAAM,kDAAkD;CACzE,SAAS,CAAC,GAAG,GAAM,8CAA8C;CACjE,QAAQ;EAAC,GAAG;EAAM;EAA8C;EAAoD;CACpH,OAAO,CAAC,GAAG,GAAM,4CAA4C;CAC7D,UAAU,CAAC,GAAG,GAAM,gDAAgD;CACpE,SAAS,CAAC,GAAG,GAAM,8CAA8C;CAClE,EAED,WACS;CACL,MAAM;CACN,UAAU,MAAS;AACjB,MAAI,KAAQ,EACV,QAAO;GACL;GACA,MAAM;GACN,aAAa,EAAS;GACvB;;CAGN"}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
//#region node_modules/element-plus/es/locale/lang/zh-cn.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
name: "zh-cn",
|
|
4
|
+
el: {
|
|
5
|
+
breadcrumb: { label: "面包屑" },
|
|
6
|
+
colorpicker: {
|
|
7
|
+
confirm: "确定",
|
|
8
|
+
clear: "清空",
|
|
9
|
+
defaultLabel: "颜色选择器",
|
|
10
|
+
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
11
|
+
alphaLabel: "选择透明度的值",
|
|
12
|
+
alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
|
|
13
|
+
hueLabel: "选择色相值",
|
|
14
|
+
hueDescription: "色相 {hue}, 当前颜色 {color}",
|
|
15
|
+
svLabel: "选择饱和度与明度的值",
|
|
16
|
+
svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
|
|
17
|
+
predefineDescription: "选择 {value} 作为颜色"
|
|
18
|
+
},
|
|
19
|
+
datepicker: {
|
|
20
|
+
now: "此刻",
|
|
21
|
+
today: "今天",
|
|
22
|
+
cancel: "取消",
|
|
23
|
+
clear: "清空",
|
|
24
|
+
confirm: "确定",
|
|
25
|
+
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
26
|
+
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
27
|
+
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
28
|
+
selectedDate: "已选日期",
|
|
29
|
+
selectDate: "选择日期",
|
|
30
|
+
selectTime: "选择时间",
|
|
31
|
+
startDate: "开始日期",
|
|
32
|
+
startTime: "开始时间",
|
|
33
|
+
endDate: "结束日期",
|
|
34
|
+
endTime: "结束时间",
|
|
35
|
+
prevYear: "前一年",
|
|
36
|
+
nextYear: "后一年",
|
|
37
|
+
prevMonth: "上个月",
|
|
38
|
+
nextMonth: "下个月",
|
|
39
|
+
year: "年",
|
|
40
|
+
month1: "1 月",
|
|
41
|
+
month2: "2 月",
|
|
42
|
+
month3: "3 月",
|
|
43
|
+
month4: "4 月",
|
|
44
|
+
month5: "5 月",
|
|
45
|
+
month6: "6 月",
|
|
46
|
+
month7: "7 月",
|
|
47
|
+
month8: "8 月",
|
|
48
|
+
month9: "9 月",
|
|
49
|
+
month10: "10 月",
|
|
50
|
+
month11: "11 月",
|
|
51
|
+
month12: "12 月",
|
|
52
|
+
weeks: {
|
|
53
|
+
sun: "日",
|
|
54
|
+
mon: "一",
|
|
55
|
+
tue: "二",
|
|
56
|
+
wed: "三",
|
|
57
|
+
thu: "四",
|
|
58
|
+
fri: "五",
|
|
59
|
+
sat: "六"
|
|
60
|
+
},
|
|
61
|
+
weeksFull: {
|
|
62
|
+
sun: "星期日",
|
|
63
|
+
mon: "星期一",
|
|
64
|
+
tue: "星期二",
|
|
65
|
+
wed: "星期三",
|
|
66
|
+
thu: "星期四",
|
|
67
|
+
fri: "星期五",
|
|
68
|
+
sat: "星期六"
|
|
69
|
+
},
|
|
70
|
+
months: {
|
|
71
|
+
jan: "一月",
|
|
72
|
+
feb: "二月",
|
|
73
|
+
mar: "三月",
|
|
74
|
+
apr: "四月",
|
|
75
|
+
may: "五月",
|
|
76
|
+
jun: "六月",
|
|
77
|
+
jul: "七月",
|
|
78
|
+
aug: "八月",
|
|
79
|
+
sep: "九月",
|
|
80
|
+
oct: "十月",
|
|
81
|
+
nov: "十一月",
|
|
82
|
+
dec: "十二月"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
inputNumber: {
|
|
86
|
+
decrease: "减少数值",
|
|
87
|
+
increase: "增加数值"
|
|
88
|
+
},
|
|
89
|
+
select: {
|
|
90
|
+
loading: "加载中",
|
|
91
|
+
noMatch: "无匹配数据",
|
|
92
|
+
noData: "无数据",
|
|
93
|
+
placeholder: "请选择"
|
|
94
|
+
},
|
|
95
|
+
mention: { loading: "加载中" },
|
|
96
|
+
dropdown: { toggleDropdown: "切换下拉选项" },
|
|
97
|
+
cascader: {
|
|
98
|
+
noMatch: "无匹配数据",
|
|
99
|
+
loading: "加载中",
|
|
100
|
+
placeholder: "请选择",
|
|
101
|
+
noData: "暂无数据"
|
|
102
|
+
},
|
|
103
|
+
pagination: {
|
|
104
|
+
goto: "前往",
|
|
105
|
+
pagesize: "条/页",
|
|
106
|
+
total: "共 {total} 条",
|
|
107
|
+
pageClassifier: "页",
|
|
108
|
+
page: "页",
|
|
109
|
+
prev: "上一页",
|
|
110
|
+
next: "下一页",
|
|
111
|
+
currentPage: "第 {pager} 页",
|
|
112
|
+
prevPages: "向前 {pager} 页",
|
|
113
|
+
nextPages: "向后 {pager} 页",
|
|
114
|
+
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
115
|
+
},
|
|
116
|
+
dialog: { close: "关闭此对话框" },
|
|
117
|
+
drawer: { close: "关闭此对话框" },
|
|
118
|
+
messagebox: {
|
|
119
|
+
title: "提示",
|
|
120
|
+
confirm: "确定",
|
|
121
|
+
cancel: "取消",
|
|
122
|
+
error: "输入的数据不合法!",
|
|
123
|
+
close: "关闭此对话框"
|
|
124
|
+
},
|
|
125
|
+
upload: {
|
|
126
|
+
deleteTip: "按 Delete 键可删除",
|
|
127
|
+
delete: "删除",
|
|
128
|
+
preview: "查看图片",
|
|
129
|
+
continue: "继续上传"
|
|
130
|
+
},
|
|
131
|
+
slider: {
|
|
132
|
+
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
133
|
+
defaultRangeStartLabel: "选择起始值",
|
|
134
|
+
defaultRangeEndLabel: "选择结束值"
|
|
135
|
+
},
|
|
136
|
+
table: {
|
|
137
|
+
emptyText: "暂无数据",
|
|
138
|
+
confirmFilter: "筛选",
|
|
139
|
+
resetFilter: "重置",
|
|
140
|
+
clearFilter: "全部",
|
|
141
|
+
sumText: "合计",
|
|
142
|
+
selectAllLabel: "选择所有行",
|
|
143
|
+
selectRowLabel: "选择当前行",
|
|
144
|
+
expandRowLabel: "展开当前行",
|
|
145
|
+
collapseRowLabel: "收起当前行",
|
|
146
|
+
sortLabel: "按 {column} 排序",
|
|
147
|
+
filterLabel: "按 {column} 过滤"
|
|
148
|
+
},
|
|
149
|
+
tag: { close: "关闭此标签" },
|
|
150
|
+
tour: {
|
|
151
|
+
next: "下一步",
|
|
152
|
+
previous: "上一步",
|
|
153
|
+
finish: "结束导览",
|
|
154
|
+
close: "关闭此对话框"
|
|
155
|
+
},
|
|
156
|
+
tree: { emptyText: "暂无数据" },
|
|
157
|
+
transfer: {
|
|
158
|
+
noMatch: "无匹配数据",
|
|
159
|
+
noData: "无数据",
|
|
160
|
+
titles: ["列表 1", "列表 2"],
|
|
161
|
+
filterPlaceholder: "请输入搜索内容",
|
|
162
|
+
noCheckedFormat: "共 {total} 项",
|
|
163
|
+
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
164
|
+
},
|
|
165
|
+
image: { error: "加载失败" },
|
|
166
|
+
pageHeader: { title: "返回" },
|
|
167
|
+
popconfirm: {
|
|
168
|
+
confirmButtonText: "确定",
|
|
169
|
+
cancelButtonText: "取消"
|
|
170
|
+
},
|
|
171
|
+
carousel: {
|
|
172
|
+
leftArrow: "上一张幻灯片",
|
|
173
|
+
rightArrow: "下一张幻灯片",
|
|
174
|
+
indicator: "幻灯片切换至索引 {index}"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region src/locales/zh-cn.ts
|
|
180
|
+
Object.assign(e.el, {
|
|
181
|
+
input: { placeholder: "请输入" },
|
|
182
|
+
inputNumber: {
|
|
183
|
+
...e.el.inputNumber,
|
|
184
|
+
placeholder: "请输入"
|
|
185
|
+
},
|
|
186
|
+
datepicker: {
|
|
187
|
+
...e.el.datepicker,
|
|
188
|
+
placeholder: "请选择日期",
|
|
189
|
+
startPlaceholder: "开始日期",
|
|
190
|
+
endPlaceholder: "结束日期"
|
|
191
|
+
},
|
|
192
|
+
select: { ...e.el.select }
|
|
193
|
+
});
|
|
194
|
+
//#endregion
|
|
195
|
+
export { e as t };
|
|
196
|
+
|
|
197
|
+
//# sourceMappingURL=zh-cn-UaM4b5St.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh-cn-UaM4b5St.js","names":[],"sources":["../../node_modules/element-plus/es/locale/lang/zh-cn.mjs","../../src/locales/zh-cn.ts"],"sourcesContent":["//#region ../../packages/locale/lang/zh-cn.ts\nvar zh_cn_default = {\n\tname: \"zh-cn\",\n\tel: {\n\t\tbreadcrumb: { label: \"面包屑\" },\n\t\tcolorpicker: {\n\t\t\tconfirm: \"确定\",\n\t\t\tclear: \"清空\",\n\t\t\tdefaultLabel: \"颜色选择器\",\n\t\t\tdescription: \"当前颜色 {color},按 Enter 键选择新颜色\",\n\t\t\talphaLabel: \"选择透明度的值\",\n\t\t\talphaDescription: \"透明度 {alpha}, 当前颜色 {color}\",\n\t\t\thueLabel: \"选择色相值\",\n\t\t\thueDescription: \"色相 {hue}, 当前颜色 {color}\",\n\t\t\tsvLabel: \"选择饱和度与明度的值\",\n\t\t\tsvDescription: \"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}\",\n\t\t\tpredefineDescription: \"选择 {value} 作为颜色\"\n\t\t},\n\t\tdatepicker: {\n\t\t\tnow: \"此刻\",\n\t\t\ttoday: \"今天\",\n\t\t\tcancel: \"取消\",\n\t\t\tclear: \"清空\",\n\t\t\tconfirm: \"确定\",\n\t\t\tdateTablePrompt: \"使用方向键与 Enter 键可选择日期\",\n\t\t\tmonthTablePrompt: \"使用方向键与 Enter 键可选择月份\",\n\t\t\tyearTablePrompt: \"使用方向键与 Enter 键可选择年份\",\n\t\t\tselectedDate: \"已选日期\",\n\t\t\tselectDate: \"选择日期\",\n\t\t\tselectTime: \"选择时间\",\n\t\t\tstartDate: \"开始日期\",\n\t\t\tstartTime: \"开始时间\",\n\t\t\tendDate: \"结束日期\",\n\t\t\tendTime: \"结束时间\",\n\t\t\tprevYear: \"前一年\",\n\t\t\tnextYear: \"后一年\",\n\t\t\tprevMonth: \"上个月\",\n\t\t\tnextMonth: \"下个月\",\n\t\t\tyear: \"年\",\n\t\t\tmonth1: \"1 月\",\n\t\t\tmonth2: \"2 月\",\n\t\t\tmonth3: \"3 月\",\n\t\t\tmonth4: \"4 月\",\n\t\t\tmonth5: \"5 月\",\n\t\t\tmonth6: \"6 月\",\n\t\t\tmonth7: \"7 月\",\n\t\t\tmonth8: \"8 月\",\n\t\t\tmonth9: \"9 月\",\n\t\t\tmonth10: \"10 月\",\n\t\t\tmonth11: \"11 月\",\n\t\t\tmonth12: \"12 月\",\n\t\t\tweeks: {\n\t\t\t\tsun: \"日\",\n\t\t\t\tmon: \"一\",\n\t\t\t\ttue: \"二\",\n\t\t\t\twed: \"三\",\n\t\t\t\tthu: \"四\",\n\t\t\t\tfri: \"五\",\n\t\t\t\tsat: \"六\"\n\t\t\t},\n\t\t\tweeksFull: {\n\t\t\t\tsun: \"星期日\",\n\t\t\t\tmon: \"星期一\",\n\t\t\t\ttue: \"星期二\",\n\t\t\t\twed: \"星期三\",\n\t\t\t\tthu: \"星期四\",\n\t\t\t\tfri: \"星期五\",\n\t\t\t\tsat: \"星期六\"\n\t\t\t},\n\t\t\tmonths: {\n\t\t\t\tjan: \"一月\",\n\t\t\t\tfeb: \"二月\",\n\t\t\t\tmar: \"三月\",\n\t\t\t\tapr: \"四月\",\n\t\t\t\tmay: \"五月\",\n\t\t\t\tjun: \"六月\",\n\t\t\t\tjul: \"七月\",\n\t\t\t\taug: \"八月\",\n\t\t\t\tsep: \"九月\",\n\t\t\t\toct: \"十月\",\n\t\t\t\tnov: \"十一月\",\n\t\t\t\tdec: \"十二月\"\n\t\t\t}\n\t\t},\n\t\tinputNumber: {\n\t\t\tdecrease: \"减少数值\",\n\t\t\tincrease: \"增加数值\"\n\t\t},\n\t\tselect: {\n\t\t\tloading: \"加载中\",\n\t\t\tnoMatch: \"无匹配数据\",\n\t\t\tnoData: \"无数据\",\n\t\t\tplaceholder: \"请选择\"\n\t\t},\n\t\tmention: { loading: \"加载中\" },\n\t\tdropdown: { toggleDropdown: \"切换下拉选项\" },\n\t\tcascader: {\n\t\t\tnoMatch: \"无匹配数据\",\n\t\t\tloading: \"加载中\",\n\t\t\tplaceholder: \"请选择\",\n\t\t\tnoData: \"暂无数据\"\n\t\t},\n\t\tpagination: {\n\t\t\tgoto: \"前往\",\n\t\t\tpagesize: \"条/页\",\n\t\t\ttotal: \"共 {total} 条\",\n\t\t\tpageClassifier: \"页\",\n\t\t\tpage: \"页\",\n\t\t\tprev: \"上一页\",\n\t\t\tnext: \"下一页\",\n\t\t\tcurrentPage: \"第 {pager} 页\",\n\t\t\tprevPages: \"向前 {pager} 页\",\n\t\t\tnextPages: \"向后 {pager} 页\",\n\t\t\tdeprecationWarning: \"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档\"\n\t\t},\n\t\tdialog: { close: \"关闭此对话框\" },\n\t\tdrawer: { close: \"关闭此对话框\" },\n\t\tmessagebox: {\n\t\t\ttitle: \"提示\",\n\t\t\tconfirm: \"确定\",\n\t\t\tcancel: \"取消\",\n\t\t\terror: \"输入的数据不合法!\",\n\t\t\tclose: \"关闭此对话框\"\n\t\t},\n\t\tupload: {\n\t\t\tdeleteTip: \"按 Delete 键可删除\",\n\t\t\tdelete: \"删除\",\n\t\t\tpreview: \"查看图片\",\n\t\t\tcontinue: \"继续上传\"\n\t\t},\n\t\tslider: {\n\t\t\tdefaultLabel: \"滑块介于 {min} 至 {max}\",\n\t\t\tdefaultRangeStartLabel: \"选择起始值\",\n\t\t\tdefaultRangeEndLabel: \"选择结束值\"\n\t\t},\n\t\ttable: {\n\t\t\temptyText: \"暂无数据\",\n\t\t\tconfirmFilter: \"筛选\",\n\t\t\tresetFilter: \"重置\",\n\t\t\tclearFilter: \"全部\",\n\t\t\tsumText: \"合计\",\n\t\t\tselectAllLabel: \"选择所有行\",\n\t\t\tselectRowLabel: \"选择当前行\",\n\t\t\texpandRowLabel: \"展开当前行\",\n\t\t\tcollapseRowLabel: \"收起当前行\",\n\t\t\tsortLabel: \"按 {column} 排序\",\n\t\t\tfilterLabel: \"按 {column} 过滤\"\n\t\t},\n\t\ttag: { close: \"关闭此标签\" },\n\t\ttour: {\n\t\t\tnext: \"下一步\",\n\t\t\tprevious: \"上一步\",\n\t\t\tfinish: \"结束导览\",\n\t\t\tclose: \"关闭此对话框\"\n\t\t},\n\t\ttree: { emptyText: \"暂无数据\" },\n\t\ttransfer: {\n\t\t\tnoMatch: \"无匹配数据\",\n\t\t\tnoData: \"无数据\",\n\t\t\ttitles: [\"列表 1\", \"列表 2\"],\n\t\t\tfilterPlaceholder: \"请输入搜索内容\",\n\t\t\tnoCheckedFormat: \"共 {total} 项\",\n\t\t\thasCheckedFormat: \"已选 {checked}/{total} 项\"\n\t\t},\n\t\timage: { error: \"加载失败\" },\n\t\tpageHeader: { title: \"返回\" },\n\t\tpopconfirm: {\n\t\t\tconfirmButtonText: \"确定\",\n\t\t\tcancelButtonText: \"取消\"\n\t\t},\n\t\tcarousel: {\n\t\t\tleftArrow: \"上一张幻灯片\",\n\t\t\trightArrow: \"下一张幻灯片\",\n\t\t\tindicator: \"幻灯片切换至索引 {index}\"\n\t\t}\n\t}\n};\n\n//#endregion\nexport { zh_cn_default as default };\n//# sourceMappingURL=zh-cn.mjs.map","import zhCn from 'element-plus/es/locale/lang/zh-cn'\r\n\r\nObject.assign(\r\n zhCn.el,\r\n {\r\n input: { placeholder: '请输入' },\r\n inputNumber: {\r\n ...zhCn.el.inputNumber,\r\n placeholder: '请输入'\r\n },\r\n datepicker: {\r\n ...zhCn.el.datepicker,\r\n placeholder: '请选择日期',\r\n startPlaceholder: '开始日期',\r\n endPlaceholder: '结束日期'\r\n },\r\n select: {\r\n ...zhCn.el.select\r\n }\r\n }\r\n)\r\n\r\nexport { zhCn }\r\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
package/dist/es/zh-cn.js
ADDED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import { ButtonProps } from 'element-plus';
|
|
2
|
-
export interface XButtonProps
|
|
1
|
+
import { ButtonProps, ButtonType } from 'element-plus';
|
|
2
|
+
export interface XButtonProps {
|
|
3
|
+
disabled?: ButtonProps['disabled'];
|
|
4
|
+
link?: ButtonProps['link'];
|
|
5
|
+
size?: ButtonProps['size'];
|
|
6
|
+
text?: ButtonProps['text'];
|
|
7
|
+
type?: ButtonProps['type'];
|
|
8
|
+
icon?: ButtonProps['icon'];
|
|
3
9
|
}
|
|
10
|
+
export type XButtonType = ButtonType;
|
|
4
11
|
declare function __VLS_template(): {
|
|
5
12
|
attrs: Partial<{}>;
|
|
6
13
|
slots: {
|
|
@@ -14,9 +21,7 @@ declare const __VLS_component: import('vue').DefineComponent<XButtonProps, {}, {
|
|
|
14
21
|
click: (e: MouseEvent) => any;
|
|
15
22
|
}, string, import('vue').PublicProps, Readonly<XButtonProps> & Readonly<{
|
|
16
23
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
26
|
export default _default;
|
|
22
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { XButtonProps } from './Button.vue';
|
|
2
|
+
export interface XButtonPopconfirmProps extends XButtonProps {
|
|
2
3
|
title?: string;
|
|
3
4
|
}
|
|
4
5
|
declare function __VLS_template(): {
|
|
@@ -10,10 +11,10 @@ declare function __VLS_template(): {
|
|
|
10
11
|
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<XButtonPopconfirmProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
15
|
cancel: () => any;
|
|
15
16
|
confirm: () => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<XButtonPopconfirmProps> & Readonly<{
|
|
17
18
|
onCancel?: (() => any) | undefined;
|
|
18
19
|
onConfirm?: (() => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ConfigProviderProps } from 'element-plus';
|
|
2
|
+
export interface XConfigProviderProps {
|
|
3
|
+
locale?: ConfigProviderProps['locale'];
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<XConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { DatePickerProps } from 'element-plus';
|
|
2
|
-
export interface XDatePickerProps
|
|
2
|
+
export interface XDatePickerProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
disabledDate?: DatePickerProps['disabledDate'];
|
|
5
|
+
endPlaceholder?: DatePickerProps['endPlaceholder'];
|
|
6
|
+
placeholder?: DatePickerProps['placeholder'];
|
|
7
|
+
shortcuts?: DatePickerProps['shortcuts'];
|
|
8
|
+
startPlaceholder?: DatePickerProps['startPlaceholder'];
|
|
9
|
+
type?: DatePickerProps['type'];
|
|
10
|
+
valueFormat?: DatePickerProps['valueFormat'];
|
|
3
11
|
}
|
|
4
12
|
declare const _default: <V extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
13
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
14
|
readonly "onUpdate:modelValue"?: ((value: V) => any) | undefined;
|
|
7
|
-
readonly onBlur?: (() => any) | undefined;
|
|
8
|
-
readonly onChange?: ((value: V | V[] | undefined) => any) | undefined;
|
|
9
15
|
readonly "onUpdate:start"?: ((value: V) => any) | undefined;
|
|
10
16
|
readonly "onUpdate:end"?: ((value: V) => any) | undefined;
|
|
11
|
-
|
|
17
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
18
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
19
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue" | "onUpdate:start" | "onUpdate:end"> & ({
|
|
12
20
|
modelValue?: V;
|
|
13
21
|
start?: V;
|
|
14
22
|
end?: V;
|
|
@@ -16,7 +24,7 @@ declare const _default: <V extends string>(__VLS_props: NonNullable<Awaited<type
|
|
|
16
24
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
17
25
|
attrs: any;
|
|
18
26
|
slots: {};
|
|
19
|
-
emit: (((evt: "blur") => void) & ((evt: "
|
|
27
|
+
emit: (((evt: "blur", e: FocusEvent) => void) & ((evt: "focus", e: FocusEvent) => void)) & (((evt: "update:modelValue", value: V) => void) & ((evt: "update:start", value: V) => void) & ((evt: "update:end", value: V) => void));
|
|
20
28
|
}>) => import('vue').VNode & {
|
|
21
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
30
|
};
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DialogProps } from 'element-plus';
|
|
2
|
+
import { VNodeChild } from 'vue';
|
|
2
3
|
export interface XDialogProps {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
bodyClass?: DialogProps['bodyClass'];
|
|
5
|
+
width?: DialogProps['width'];
|
|
6
|
+
showClose?: DialogProps['showClose'];
|
|
7
|
+
title?: DialogProps['title'];
|
|
8
|
+
center?: DialogProps['center'];
|
|
9
|
+
alignCenter?: DialogProps['alignCenter'];
|
|
10
|
+
draggable?: DialogProps['draggable'];
|
|
11
|
+
closeOnClickModal?: DialogProps['closeOnClickModal'];
|
|
12
|
+
closeOnPressEscape?: DialogProps['closeOnPressEscape'];
|
|
5
13
|
}
|
|
6
14
|
type __VLS_Props = XDialogProps;
|
|
7
15
|
type __VLS_PublicProps = {
|
|
@@ -10,13 +18,13 @@ type __VLS_PublicProps = {
|
|
|
10
18
|
declare function __VLS_template(): {
|
|
11
19
|
attrs: Partial<{}>;
|
|
12
20
|
slots: Readonly<{
|
|
13
|
-
default?: () =>
|
|
14
|
-
header?: () =>
|
|
15
|
-
footer?: () =>
|
|
21
|
+
default?: () => VNodeChild;
|
|
22
|
+
header?: () => VNodeChild;
|
|
23
|
+
footer?: () => VNodeChild;
|
|
16
24
|
}> & {
|
|
17
|
-
default?: () =>
|
|
18
|
-
header?: () =>
|
|
19
|
-
footer?: () =>
|
|
25
|
+
default?: () => VNodeChild;
|
|
26
|
+
header?: () => VNodeChild;
|
|
27
|
+
footer?: () => VNodeChild;
|
|
20
28
|
};
|
|
21
29
|
refs: {};
|
|
22
30
|
rootEl: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
export interface XFormProps<D> {
|
|
3
|
+
content?: (scope: {
|
|
4
|
+
data: D;
|
|
5
|
+
}) => VNodeChild;
|
|
6
|
+
data?: D;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
labelPosition?: 'left' | 'right' | 'top';
|
|
10
|
+
labelSuffix?: string;
|
|
11
|
+
labelWidth?: number | string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: <D extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
14
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & XFormProps<D> & Partial<{}>> & import('vue').PublicProps;
|
|
15
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
16
|
+
clearValidate: () => void;
|
|
17
|
+
data: D | undefined;
|
|
18
|
+
validate: () => boolean;
|
|
19
|
+
}>): void;
|
|
20
|
+
attrs: any;
|
|
21
|
+
slots: {};
|
|
22
|
+
emit: {};
|
|
23
|
+
}>) => import('vue').VNode & {
|
|
24
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_PrettifyLocal<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
export interface XFormItemProps {
|
|
3
|
+
content?: () => VNodeChild;
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
validator?: () => string | void;
|
|
7
|
+
}
|
|
8
|
+
export interface XFormItemValidation {
|
|
9
|
+
clearValidate: () => void;
|
|
10
|
+
label?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
validate: () => boolean;
|
|
13
|
+
validator?: () => string | void;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: <D extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
16
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & XFormItemProps & Partial<{}>> & import('vue').PublicProps;
|
|
17
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: Readonly<{
|
|
20
|
+
default: () => VNodeChild;
|
|
21
|
+
label: () => VNodeChild;
|
|
22
|
+
}> & {
|
|
23
|
+
default: () => VNodeChild;
|
|
24
|
+
label: () => VNodeChild;
|
|
25
|
+
};
|
|
26
|
+
emit: {};
|
|
27
|
+
}>) => import('vue').VNode & {
|
|
28
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_PrettifyLocal<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { InputProps } from 'element-plus';
|
|
2
|
+
import { VNode } from 'vue';
|
|
3
|
+
export interface XInputProps {
|
|
4
|
+
clearable?: InputProps['clearable'];
|
|
5
|
+
disabled?: InputProps['disabled'];
|
|
6
|
+
size?: InputProps['size'];
|
|
7
|
+
type?: InputProps['type'];
|
|
8
|
+
showPassword?: InputProps['showPassword'];
|
|
9
|
+
autocomplete?: InputProps['autocomplete'];
|
|
10
|
+
autosize?: InputProps['autosize'];
|
|
11
|
+
placeholder?: InputProps['placeholder'];
|
|
12
|
+
prefixIcon?: InputProps['prefixIcon'];
|
|
13
|
+
suffixIcon?: InputProps['suffixIcon'];
|
|
14
|
+
}
|
|
15
|
+
declare const _default: <MV extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
16
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
17
|
+
readonly "onUpdate:modelValue"?: ((value: MV) => any) | undefined;
|
|
18
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
19
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
20
|
+
readonly onChange?: ((e: MV) => any) | undefined;
|
|
21
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:modelValue"> & ({
|
|
22
|
+
modelValue?: MV;
|
|
23
|
+
} & XInputProps) & Partial<{}>> & import('vue').PublicProps;
|
|
24
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
25
|
+
attrs: any;
|
|
26
|
+
slots: Readonly<{
|
|
27
|
+
append: () => VNode;
|
|
28
|
+
prefix: () => VNode;
|
|
29
|
+
prepend: () => VNode;
|
|
30
|
+
suffix: () => VNode;
|
|
31
|
+
}> & {
|
|
32
|
+
append: () => VNode;
|
|
33
|
+
prefix: () => VNode;
|
|
34
|
+
prepend: () => VNode;
|
|
35
|
+
suffix: () => VNode;
|
|
36
|
+
};
|
|
37
|
+
emit: (((evt: "blur", e: FocusEvent) => void) & ((evt: "focus", e: FocusEvent) => void) & ((evt: "change", e: MV) => void)) & ((evt: "update:modelValue", value: MV) => void);
|
|
38
|
+
}>) => import('vue').VNode & {
|
|
39
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { InputNumberProps } from 'element-plus';
|
|
2
|
+
import { VNode } from 'vue';
|
|
3
|
+
export interface XInputNumberProps {
|
|
4
|
+
align?: InputNumberProps['align'];
|
|
5
|
+
controls?: InputNumberProps['controls'];
|
|
6
|
+
disabled?: InputNumberProps['disabled'];
|
|
7
|
+
inputmode?: InputNumberProps['inputmode'];
|
|
8
|
+
max?: InputNumberProps['max'];
|
|
9
|
+
min?: InputNumberProps['min'];
|
|
10
|
+
placeholder?: InputNumberProps['placeholder'];
|
|
11
|
+
precision?: InputNumberProps['precision'];
|
|
12
|
+
size?: InputNumberProps['size'];
|
|
13
|
+
step?: InputNumberProps['step'];
|
|
14
|
+
stepStrictly?: InputNumberProps['stepStrictly'];
|
|
15
|
+
}
|
|
16
|
+
type __VLS_Props = XInputNumberProps;
|
|
17
|
+
type __VLS_PublicProps = {
|
|
18
|
+
modelValue?: number;
|
|
19
|
+
} & __VLS_Props;
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: Readonly<{
|
|
23
|
+
prefix: () => VNode;
|
|
24
|
+
suffix: () => VNode;
|
|
25
|
+
}> & {
|
|
26
|
+
prefix: () => VNode;
|
|
27
|
+
suffix: () => VNode;
|
|
28
|
+
};
|
|
29
|
+
refs: {};
|
|
30
|
+
rootEl: any;
|
|
31
|
+
};
|
|
32
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
"update:modelValue": (value: number) => any;
|
|
35
|
+
blur: (e: FocusEvent) => any;
|
|
36
|
+
focus: (e: FocusEvent) => any;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
38
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
39
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
40
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|