@ddwl/ddwl-ui 1.0.1 → 1.0.5

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/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ ## [1.0.5](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.4...v1.0.5) (2025-07-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * d-table drag图标替换 ([d7c71d5](https://121.40.23.60:51888/frontend/ddwl-ui/commits/d7c71d5be5abe51b73a8443442d9772622d3970d))
7
+
8
+
9
+
10
+ ## 1.0.4 (2025-07-04)
11
+
12
+
13
+ ### Features
14
+
15
+ * ddwl-ui基础组件库 ([e948fbc](https://121.40.23.60:51888/frontend/ddwl-ui/commits/e948fbcafaf5143d7145de55ca2a72bd75b3f892))
16
+
17
+
18
+
19
+ ## 1.0.2 (2025-07-04)
20
+
21
+
22
+
package/bump.config.js ADDED
@@ -0,0 +1,6 @@
1
+ import { defineConfig } from 'bumpp'
2
+
3
+ export default defineConfig({
4
+ all: true,
5
+ execute: 'conventional-changelog -p angular -i CHANGELOG.md -s && npm publish --access=public',
6
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddwl/ddwl-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.5",
4
4
  "private": false,
5
5
  "main": "src/main.js",
6
6
  "description": "ddwl组件库",
@@ -8,12 +8,14 @@
8
8
  "license": "MIT",
9
9
  "scripts": {
10
10
  "dev": "vue-cli-service serve",
11
- "build": "vue-cli-service build"
11
+ "build": "vue-cli-service build",
12
+ "release": "bumpp -r"
12
13
  },
13
14
  "dependencies": {
14
15
  "@vue/eslint-config-standard": "^8.0.1",
15
16
  "core-js": "^3.8.3",
16
17
  "crypto-js": "^4.2.0",
18
+ "dayjs": "^1.11.13",
17
19
  "element-ui": "2.15.14",
18
20
  "lodash": "^4.17.21",
19
21
  "sass": "^1.22.10",
@@ -21,8 +23,7 @@
21
23
  "sass-resources-loader": "^2.2.5",
22
24
  "sortablejs": "^1.15.3",
23
25
  "svg-sprite-loader": "^6.0.11",
24
- "vue": "^2.7.14",
25
- "dayjs": "^1.11.13"
26
+ "vue": "^2.7.14"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@babel/core": "^7.12.16",
@@ -31,6 +32,8 @@
31
32
  "@vue/cli-plugin-eslint": "~5.0.0",
32
33
  "@vue/cli-service": "~5.0.0",
33
34
  "babel-eslint": "^10.1.0",
35
+ "bumpp": "^10.2.0",
36
+ "conventional-changelog-cli": "^5.0.0",
34
37
  "eslint": "^7.32.0",
35
38
  "eslint-plugin-vue": "^8.0.3",
36
39
  "vue-template-compiler": "^2.6.14"
@@ -5,7 +5,7 @@
5
5
  <!-- image -->
6
6
  <img v-if="type === 'image'" class="icon-image" :src="icon" alt="">
7
7
  <!-- svg -->
8
- <svg-icon v-else-if="type === 'svg'" :style="{ color }" class="icon-svg" :icon-class="icon" />
8
+ <svg-icon v-else-if="type === 'svg'" :style="{ color }" class="icon-svg" :icon="icon" />
9
9
  <!-- iconfont -->
10
10
  <i v-else class="icon-iconfont" :style="{ color }" :class="`${icon}`"></i>
11
11
  </div>
@@ -14,9 +14,10 @@
14
14
  </template>
15
15
 
16
16
  <script>
17
+ import SvgIcon from '../../packages/svg-icon'
17
18
  export default {
18
- name: 'Icon',
19
- components: {},
19
+ name: 'IconSlot',
20
+ components: { SvgIcon },
20
21
  props: {
21
22
  row: {
22
23
  type: Object,
Binary file
@@ -65,10 +65,10 @@
65
65
  width="55"
66
66
  align="center"
67
67
  >
68
- <svg-icon
68
+ <img
69
69
  class="table-drag-icon"
70
- icon-class="drag"
71
- />
70
+ src="./drag.png"
71
+ >
72
72
  </el-table-column>
73
73
  </el-table>
74
74
  <!-- 分页器 -->
@@ -241,7 +241,7 @@ export default {
241
241
  async uploadRequest (data) {
242
242
  const formData = new FormData()
243
243
  formData.append('file', data.file)
244
- const res = await this.$DDWL_UI.upload(formData)
244
+ const res = await this.$DDWL.upload(formData)
245
245
  return res
246
246
  },
247
247
  beforeUpload (file) {