ci-plus 1.8.0 → 1.8.2

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 CHANGED
@@ -45,7 +45,6 @@
45
45
  "sortablejs": "^1.15.1", # 拖拽库
46
46
  "vite-plugin-svg-icons": "^2.0.1", # svg图标库
47
47
  "jsbarcode": "^3.11.6", # 条形码库
48
- "dayjs": "^1.11.9", # 日期处理库
49
48
  "vue-draggable-plus": "^0.4.0", # 拖拽库
50
49
  "qrcode": "^1.5.3", #二维码库
51
50
 
package/index.ts CHANGED
@@ -5,7 +5,7 @@ import { default as Fn } from './src/utils'
5
5
  export default {
6
6
  install: (app: App) => {
7
7
  // 注册所有组件
8
- console.log('注册所有ci-plus组件1.7.7: ', components)
8
+ console.log('注册所有ci-plus组件1.8.2: ', components)
9
9
  for (const c in components) {
10
10
  app.use(components[c])
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-plus",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "ci组件库",
5
5
  "main": "./index.ts",
6
6
  "scripts": {
@@ -20,7 +20,13 @@
20
20
  },
21
21
  "license": "ISC",
22
22
  "dependencies": {
23
- "vue-i18n": "^11.1.3"
23
+ "vue-i18n": ">=11.0.0",
24
+ "less": ">=4.0.0",
25
+ "element-plus": ">=2.7.0",
26
+ "vite-plugin-svg-icons": ">=2.0.0",
27
+ "sortablejs": ">=1.0.0",
28
+ "lodash": ">=4.10.0",
29
+ "lodash-es": ">=4.10.0"
24
30
  },
25
31
  "devDependencies": {},
26
32
  "peerDependencies": {},
@@ -24,8 +24,10 @@
24
24
  // return dayjs(date).format(geshi)
25
25
  // }
26
26
  let dayjs = 2
27
- export const setDate = () => { }
27
+ export const setDate = (val) => {
28
+ return val
29
+ }
28
30
  // 格式化日期时间
29
- export const setDateTime = () => { }
30
-
31
- export default dayjs
31
+ export const setDateTime = (val) => {
32
+ return val
33
+ }
@@ -6,7 +6,6 @@ import withInstall from './withinstall/index'
6
6
  import { cardPrint, setCardList } from './cardPrint'
7
7
  import apis from './baseApi'
8
8
  import { setDate, setDateTime } from './Dayjs'
9
- import dayjs from './Dayjs'
10
9
  import ajaxBox from './ajaxBox' // 处理文件下载方法
11
10
  import getAffiliationOptions from './getAffiliationOptions' // 处理文件下载方法
12
11
 
@@ -18,7 +17,6 @@ let func = {
18
17
  setDateTime,
19
18
  getAffiliationOptions,
20
19
  apis,
21
- dayjs,
22
20
  ajaxBox
23
21
  }
24
22
  // 导出 所有方法