@unizhen/ui 0.0.1
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/README.md +39 -0
- package/lib/components/actionButton/factory.d.ts +41 -0
- package/lib/components/actionButton/function.d.ts +15 -0
- package/lib/components/actionButton/index.d.ts +4 -0
- package/lib/components/actionButton/index.vue.d.ts +60 -0
- package/lib/components/actionButton/interface.d.ts +23 -0
- package/lib/components/api.d.ts +6 -0
- package/lib/components/back/index.d.ts +1 -0
- package/lib/components/back/index.vue.d.ts +1503 -0
- package/lib/components/camera/index.d.ts +1 -0
- package/lib/components/camera/index.vue.d.ts +3484 -0
- package/lib/components/circle/index.d.ts +1 -0
- package/lib/components/circle/index.vue.d.ts +398 -0
- package/lib/components/common.d.ts +15 -0
- package/lib/components/components.d.ts +14 -0
- package/lib/components/create.d.ts +18 -0
- package/lib/components/fetch.d.ts +8 -0
- package/lib/components/form/draggable.vue.d.ts +24818 -0
- package/lib/components/form/image.vue.d.ts +885 -0
- package/lib/components/form/index.d.ts +6 -0
- package/lib/components/form/index.vue.d.ts +24742 -0
- package/lib/components/form/interface.d.ts +262 -0
- package/lib/components/form/item.vue.d.ts +17896 -0
- package/lib/components/form/upload.vue.d.ts +5901 -0
- package/lib/components/hooks/index.d.ts +4 -0
- package/lib/components/hooks/memoryCache.d.ts +50 -0
- package/lib/components/hooks/useDebounceFn.d.ts +15 -0
- package/lib/components/hooks/useLocalStorage.d.ts +29 -0
- package/lib/components/hooks/useQuery.d.ts +77 -0
- package/lib/components/hooks/useThrottleFn.d.ts +15 -0
- package/lib/components/icon/factory.d.ts +125 -0
- package/lib/components/icon/index.d.ts +4 -0
- package/lib/components/icon/index.vue.d.ts +17 -0
- package/lib/components/icon/svg/AccessPoint.vue.d.ts +3 -0
- package/lib/components/icon/svg/Activity.vue.d.ts +3 -0
- package/lib/components/icon/svg/Adjustments.vue.d.ts +3 -0
- package/lib/components/icon/svg/AdjustmentsHorizontal.vue.d.ts +3 -0
- package/lib/components/icon/svg/Affiliate.vue.d.ts +3 -0
- package/lib/components/icon/svg/Alarm.vue.d.ts +3 -0
- package/lib/components/icon/svg/AlertCircle.vue.d.ts +3 -0
- package/lib/components/icon/svg/ApiApp.vue.d.ts +3 -0
- package/lib/components/icon/svg/AppWindow.vue.d.ts +3 -0
- package/lib/components/icon/svg/Apps.vue.d.ts +3 -0
- package/lib/components/icon/svg/Archive.vue.d.ts +3 -0
- package/lib/components/icon/svg/ArrowNarrowLeft.vue.d.ts +3 -0
- package/lib/components/icon/svg/AspectRatio.vue.d.ts +3 -0
- package/lib/components/icon/svg/Atom.vue.d.ts +3 -0
- package/lib/components/icon/svg/Atom2.vue.d.ts +3 -0
- package/lib/components/icon/svg/Award.vue.d.ts +3 -0
- package/lib/components/icon/svg/Barcode.vue.d.ts +3 -0
- package/lib/components/icon/svg/Basket.vue.d.ts +3 -0
- package/lib/components/icon/svg/Bell.vue.d.ts +3 -0
- package/lib/components/icon/svg/Bluetooth.vue.d.ts +3 -0
- package/lib/components/icon/svg/Book2.vue.d.ts +3 -0
- package/lib/components/icon/svg/Books.vue.d.ts +3 -0
- package/lib/components/icon/svg/Box.vue.d.ts +3 -0
- package/lib/components/icon/svg/BrandAsana.vue.d.ts +3 -0
- package/lib/components/icon/svg/BrandStackoverflow.vue.d.ts +3 -0
- package/lib/components/icon/svg/Briefcase.vue.d.ts +3 -0
- package/lib/components/icon/svg/Building.vue.d.ts +3 -0
- package/lib/components/icon/svg/BuildingArch.vue.d.ts +3 -0
- package/lib/components/icon/svg/BuildingWarehouse.vue.d.ts +3 -0
- package/lib/components/icon/svg/Calculator.vue.d.ts +3 -0
- package/lib/components/icon/svg/Calendar.vue.d.ts +3 -0
- package/lib/components/icon/svg/CalendarPlus.vue.d.ts +3 -0
- package/lib/components/icon/svg/CalendarStats.vue.d.ts +3 -0
- package/lib/components/icon/svg/Camera.vue.d.ts +3 -0
- package/lib/components/icon/svg/CaretDown.vue.d.ts +3 -0
- package/lib/components/icon/svg/CaretUp.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartArea.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartBar.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartBubble.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartDonut.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartLine.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartPie.vue.d.ts +3 -0
- package/lib/components/icon/svg/ChartRadar.vue.d.ts +3 -0
- package/lib/components/icon/svg/Checkbox.vue.d.ts +3 -0
- package/lib/components/icon/svg/CheckupList.vue.d.ts +3 -0
- package/lib/components/icon/svg/CircleMinus.vue.d.ts +3 -0
- package/lib/components/icon/svg/Clipboard.vue.d.ts +3 -0
- package/lib/components/icon/svg/ClipboardCheck.vue.d.ts +3 -0
- package/lib/components/icon/svg/ClipboardList.vue.d.ts +3 -0
- package/lib/components/icon/svg/ClipboardPlus.vue.d.ts +3 -0
- package/lib/components/icon/svg/Clock.vue.d.ts +3 -0
- package/lib/components/icon/svg/Cloud.vue.d.ts +3 -0
- package/lib/components/icon/svg/CloudDownload.vue.d.ts +3 -0
- package/lib/components/icon/svg/CloudUpload.vue.d.ts +3 -0
- package/lib/components/icon/svg/Command.vue.d.ts +3 -0
- package/lib/components/icon/svg/Confetti.vue.d.ts +3 -0
- package/lib/components/icon/svg/Container.vue.d.ts +3 -0
- package/lib/components/icon/svg/Copy.vue.d.ts +3 -0
- package/lib/components/icon/svg/CreditCard.vue.d.ts +3 -0
- package/lib/components/icon/svg/Crosshair.vue.d.ts +3 -0
- package/lib/components/icon/svg/CurrencyYen.vue.d.ts +3 -0
- package/lib/components/icon/svg/Dashboard.vue.d.ts +3 -0
- package/lib/components/icon/svg/Database.vue.d.ts +3 -0
- package/lib/components/icon/svg/DatabaseExport.vue.d.ts +3 -0
- package/lib/components/icon/svg/DatabaseImport.vue.d.ts +3 -0
- package/lib/components/icon/svg/DeviceAnalytics.vue.d.ts +3 -0
- package/lib/components/icon/svg/DeviceDesktop.vue.d.ts +3 -0
- package/lib/components/icon/svg/DeviceDesktopAnalytics.vue.d.ts +3 -0
- package/lib/components/icon/svg/DeviceLaptop.vue.d.ts +3 -0
- package/lib/components/icon/svg/DeviceMobile.vue.d.ts +3 -0
- package/lib/components/icon/svg/Diamond.vue.d.ts +3 -0
- package/lib/components/icon/svg/Dots.vue.d.ts +3 -0
- package/lib/components/icon/svg/DotsVertical.vue.d.ts +3 -0
- package/lib/components/icon/svg/Edit.vue.d.ts +3 -0
- package/lib/components/icon/svg/Eraser.vue.d.ts +3 -0
- package/lib/components/icon/svg/Eye.vue.d.ts +3 -0
- package/lib/components/icon/svg/File.vue.d.ts +3 -0
- package/lib/components/icon/svg/FileAlert.vue.d.ts +3 -0
- package/lib/components/icon/svg/FileAnalytics.vue.d.ts +3 -0
- package/lib/components/icon/svg/FileText.vue.d.ts +3 -0
- package/lib/components/icon/svg/Filter.vue.d.ts +3 -0
- package/lib/components/icon/svg/GitCompare.vue.d.ts +3 -0
- package/lib/components/icon/svg/GitPullRequest.vue.d.ts +3 -0
- package/lib/components/icon/svg/GridDots.vue.d.ts +3 -0
- package/lib/components/icon/svg/Home.vue.d.ts +3 -0
- package/lib/components/icon/svg/Id.vue.d.ts +3 -0
- package/lib/components/icon/svg/LayoutSidebarLeftCollapse.vue.d.ts +3 -0
- package/lib/components/icon/svg/LayoutSidebarLeftExpand.vue.d.ts +3 -0
- package/lib/components/icon/svg/Link.vue.d.ts +3 -0
- package/lib/components/icon/svg/List.vue.d.ts +3 -0
- package/lib/components/icon/svg/ListCheck.vue.d.ts +3 -0
- package/lib/components/icon/svg/ListDetails.vue.d.ts +3 -0
- package/lib/components/icon/svg/Mail.vue.d.ts +3 -0
- package/lib/components/icon/svg/Map.vue.d.ts +3 -0
- package/lib/components/icon/svg/MapPin.vue.d.ts +3 -0
- package/lib/components/icon/svg/Menu2.vue.d.ts +3 -0
- package/lib/components/icon/svg/Message2.vue.d.ts +3 -0
- package/lib/components/icon/svg/MinusRound.vue.d.ts +3 -0
- package/lib/components/icon/svg/MoonStars.vue.d.ts +3 -0
- package/lib/components/icon/svg/Paperclip.vue.d.ts +3 -0
- package/lib/components/icon/svg/Photo.vue.d.ts +3 -0
- package/lib/components/icon/svg/PhotoOff.vue.d.ts +3 -0
- package/lib/components/icon/svg/Plus.vue.d.ts +3 -0
- package/lib/components/icon/svg/Presentation.vue.d.ts +3 -0
- package/lib/components/icon/svg/PresentationAnalytics.vue.d.ts +3 -0
- package/lib/components/icon/svg/Printer.vue.d.ts +3 -0
- package/lib/components/icon/svg/Qrcode.vue.d.ts +3 -0
- package/lib/components/icon/svg/Refresh.vue.d.ts +3 -0
- package/lib/components/icon/svg/Report.vue.d.ts +3 -0
- package/lib/components/icon/svg/ReportAnalytics.vue.d.ts +3 -0
- package/lib/components/icon/svg/ReportMoney.vue.d.ts +3 -0
- package/lib/components/icon/svg/ReportSearch.vue.d.ts +3 -0
- package/lib/components/icon/svg/Search.vue.d.ts +3 -0
- package/lib/components/icon/svg/Settings.vue.d.ts +3 -0
- package/lib/components/icon/svg/SmartHome.vue.d.ts +3 -0
- package/lib/components/icon/svg/Sun.vue.d.ts +3 -0
- package/lib/components/icon/svg/TransferIn.vue.d.ts +3 -0
- package/lib/components/icon/svg/TransferOut.vue.d.ts +3 -0
- package/lib/components/icon/svg/Trash.vue.d.ts +3 -0
- package/lib/components/icon/svg/User.vue.d.ts +3 -0
- package/lib/components/icon/svg/UserCircle.vue.d.ts +3 -0
- package/lib/components/icon/svg/UserMinus.vue.d.ts +3 -0
- package/lib/components/icon/svg/UserPlus.vue.d.ts +3 -0
- package/lib/components/icon/svg/Users.vue.d.ts +3 -0
- package/lib/components/icon/svg/X.vue.d.ts +3 -0
- package/lib/components/index.d.ts +11 -0
- package/lib/components/interface.d.ts +34 -0
- package/lib/components/local/en-US.d.ts +33 -0
- package/lib/components/local/index.d.ts +68 -0
- package/lib/components/local/zh-CN.d.ts +33 -0
- package/lib/components/localStorage.d.ts +13 -0
- package/lib/components/monitor.d.ts +2 -0
- package/lib/components/numberRoll/index.d.ts +1 -0
- package/lib/components/numberRoll/index.vue.d.ts +47 -0
- package/lib/components/preset.d.ts +5 -0
- package/lib/components/router.d.ts +3 -0
- package/lib/components/scale.d.ts +6 -0
- package/lib/components/searchBar/components/index.d.ts +1 -0
- package/lib/components/searchBar/components/timePickRange.vue.d.ts +2540 -0
- package/lib/components/searchBar/index.d.ts +3 -0
- package/lib/components/searchBar/index.vue.d.ts +22710 -0
- package/lib/components/searchBar/interface.d.ts +45 -0
- package/lib/components/searchBar/mobile.vue.d.ts +21554 -0
- package/lib/components/spin/index.d.ts +1 -0
- package/lib/components/spin/index.vue.d.ts +1806 -0
- package/lib/components/store/common.d.ts +13 -0
- package/lib/components/store/index.d.ts +2 -0
- package/lib/components/store/thumbnail.d.ts +29 -0
- package/lib/components/table/child.vue.d.ts +8391 -0
- package/lib/components/table/child_quest.vue.d.ts +6568 -0
- package/lib/components/table/drawer.vue.d.ts +5809 -0
- package/lib/components/table/factory.d.ts +220 -0
- package/lib/components/table/index.d.ts +7 -0
- package/lib/components/table/index.vue.d.ts +16622 -0
- package/lib/components/table/interface.d.ts +105 -0
- package/lib/components/table/list.vue.d.ts +36 -0
- package/lib/components/table/mobile.vue.d.ts +4080 -0
- package/lib/components/table/ocr.vue.d.ts +3454 -0
- package/lib/components/theme.d.ts +4 -0
- package/lib/components/thumbnail/index.d.ts +1 -0
- package/lib/components/thumbnail/index.vue.d.ts +4275 -0
- package/lib/components/version.d.ts +1 -0
- package/lib/components/wrap/index.d.ts +1 -0
- package/lib/components/wrap/index.vue.d.ts +223 -0
- package/lib/index.d.ts +6 -0
- package/lib/ui.css +1 -0
- package/lib/ui.js +10690 -0
- package/package.json +93 -0
- package/volar.d.ts +26 -0
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@unizhen/ui",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"author": {
|
|
5
|
+
"name": "Donovan"
|
|
6
|
+
},
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib",
|
|
10
|
+
"volar.d.ts",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"types": "lib/index.d.ts",
|
|
15
|
+
"module": "lib/ui.js",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": {
|
|
19
|
+
"types": "./lib/index.d.ts",
|
|
20
|
+
"default": "./lib/ui.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"./css": {
|
|
24
|
+
"import": {
|
|
25
|
+
"default": "./lib/ui.css"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"dev": "vite",
|
|
31
|
+
"build:dist": "pnpm run cleanDist && run-p type-check \"build-only {@}\" --",
|
|
32
|
+
"build:local": "pnpm run cleanLib && run-p type-check && vite build --config ./build.config.ts",
|
|
33
|
+
"build:prod": "pnpm run build:local && pnpm run pub",
|
|
34
|
+
"build-only": "vite build",
|
|
35
|
+
"type-check": "vue-tsc --build --force",
|
|
36
|
+
"cleanLib": "rimraf lib",
|
|
37
|
+
"cleanDist": "rimraf dist",
|
|
38
|
+
"au": "npm adduser",
|
|
39
|
+
"lg": "npm login",
|
|
40
|
+
"pub": "npm publish"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"axios": "^1.10.0",
|
|
44
|
+
"csstype": "^3.1.3",
|
|
45
|
+
"md5": "^2.3.0",
|
|
46
|
+
"naive-ui": "^2.42.0",
|
|
47
|
+
"vue": "^3.5.17",
|
|
48
|
+
"vue-i18n": "^10.0.7",
|
|
49
|
+
"vue-router": "^4.5.1"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@guolao/vue-monaco-editor": "^1.5.5",
|
|
53
|
+
"@rushstack/eslint-patch": "^1.11.0",
|
|
54
|
+
"@tailwindcss/postcss": "^4.1.10",
|
|
55
|
+
"@tailwindcss/vite": "^4.1.10",
|
|
56
|
+
"@tsconfig/node20": "^20.1.6",
|
|
57
|
+
"@types/lodash": "^4.17.18",
|
|
58
|
+
"@types/md5": "^2.3.5",
|
|
59
|
+
"@types/node": "^22.15.32",
|
|
60
|
+
"@types/sortablejs": "^1.15.8",
|
|
61
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
62
|
+
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
|
63
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
64
|
+
"@vue/eslint-config-typescript": "^14.5.1",
|
|
65
|
+
"@vue/tsconfig": "^0.5.1",
|
|
66
|
+
"autoprefixer": "^10.4.21",
|
|
67
|
+
"dayjs": "^1.11.13",
|
|
68
|
+
"eslint": "^9.29.0",
|
|
69
|
+
"eslint-plugin-vue": "^9.33.0",
|
|
70
|
+
"highlight.js": "^11.11.1",
|
|
71
|
+
"json5": "^2.2.3",
|
|
72
|
+
"jsqr": "^1.4.0",
|
|
73
|
+
"lodash": "^4.17.21",
|
|
74
|
+
"monaco-editor": "^0.52.2",
|
|
75
|
+
"npm-run-all2": "^7.0.2",
|
|
76
|
+
"postcss": "^8.5.6",
|
|
77
|
+
"prettier": "^3.6.0",
|
|
78
|
+
"rimraf": "^6.0.1",
|
|
79
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
80
|
+
"sass": "^1.89.2",
|
|
81
|
+
"sortablejs": "^1.15.6",
|
|
82
|
+
"tailwindcss": "^4.1.10",
|
|
83
|
+
"tesseract.js": "^5.1.1",
|
|
84
|
+
"typescript": "~5.6.3",
|
|
85
|
+
"vite": "^6.3.5",
|
|
86
|
+
"vite-plugin-compression": "^0.5.1",
|
|
87
|
+
"vite-plugin-dts": "^4.5.4",
|
|
88
|
+
"vue-clipboard3": "^2.0.0",
|
|
89
|
+
"vue-global-api": "^0.4.1",
|
|
90
|
+
"vue-tsc": "^2.2.10",
|
|
91
|
+
"vuedraggable": "^4.1.0"
|
|
92
|
+
}
|
|
93
|
+
}
|
package/volar.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
export interface GlobalComponents {
|
|
3
|
+
QxActionButton: (typeof import('@unizhen/ui'))['QxActionButton']
|
|
4
|
+
QxBack: (typeof import('@unizhen/ui'))['QxBack']
|
|
5
|
+
QxDraggableForm: (typeof import('@unizhen/ui'))['QxDraggableForm']
|
|
6
|
+
QxForm: (typeof import('@unizhen/ui'))['QxForm']
|
|
7
|
+
QxIcon: (typeof import('@unizhen/ui'))['QxIcon']
|
|
8
|
+
QxNumberRoll: (typeof import('@unizhen/ui'))['QxNumberRoll']
|
|
9
|
+
QxSearchBar: (typeof import('@unizhen/ui'))['QxSearchBar']
|
|
10
|
+
QxSpin: (typeof import('@unizhen/ui'))['QxSpin']
|
|
11
|
+
QxTable: (typeof import('@unizhen/ui'))['QxTable']
|
|
12
|
+
QxTableChild: (typeof import('@unizhen/ui'))['QxTableChild']
|
|
13
|
+
QxThumbnail: (typeof import('@unizhen/ui'))['QxThumbnail']
|
|
14
|
+
QxWrap: (typeof import('@unizhen/ui'))['QxWrap']
|
|
15
|
+
commonStore: (typeof import('@unizhen/ui'))['commonStore']
|
|
16
|
+
fnAddThumbnail: (typeof import('@unizhen/ui'))['fnAddThumbnail']
|
|
17
|
+
fnClearAllThumbnail: (typeof import('@unizhen/ui'))['fnClearAllThumbnail']
|
|
18
|
+
fnDeleteThumbnail: (typeof import('@unizhen/ui'))['fnDeleteThumbnail']
|
|
19
|
+
fnRenderAction: (typeof import('@unizhen/ui'))['fnRenderAction']
|
|
20
|
+
fnSetLang: (typeof import('@unizhen/ui'))['fnSetLang']
|
|
21
|
+
fnSetTheme: (typeof import('@unizhen/ui'))['fnSetTheme']
|
|
22
|
+
fnSetThumbnail: (typeof import('@unizhen/ui'))['fnSetThumbnail']
|
|
23
|
+
i18n: (typeof import('@unizhen/ui'))['i18n']
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export {}
|