sard-uniapp 1.10.3 → 1.10.4
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 +9 -0
- package/components/_template/_template.vue +1 -1
- package/components/accordion/accordion.vue +1 -1
- package/components/accordion-item/accordion-item.vue +1 -1
- package/components/action-sheet/action-sheet.vue +1 -1
- package/components/alert/alert.vue +1 -1
- package/components/avatar/avatar.vue +1 -1
- package/components/back-top/back-top.vue +1 -1
- package/components/badge/badge.vue +1 -1
- package/components/button/button.vue +1 -1
- package/components/calendar/calendar.vue +10 -7
- package/components/calendar-month/calendar-month.vue +1 -1
- package/components/card/card.vue +1 -1
- package/components/cascader/cascader.vue +1 -1
- package/components/check-icon/check-icon.vue +1 -1
- package/components/checkbox/checkbox.vue +1 -1
- package/components/checkbox-group/checkbox-group.vue +1 -1
- package/components/checkbox-input/checkbox-input.vue +1 -1
- package/components/col/col.vue +1 -1
- package/components/collapse/collapse.vue +1 -1
- package/components/dialog/dialog.vue +1 -1
- package/components/dropdown/dropdown.vue +1 -1
- package/components/dropdown-item/dropdown-item.vue +1 -1
- package/components/empty/empty.vue +1 -1
- package/components/fab/fab.vue +1 -1
- package/components/floating-bubble/floating-bubble.vue +1 -1
- package/components/form/form.vue +1 -1
- package/components/form-item/form-item.vue +1 -1
- package/components/grid/grid.vue +1 -1
- package/components/grid-item/grid-item.vue +1 -1
- package/components/icon/icon.vue +1 -1
- package/components/indexes/indexes.vue +1 -1
- package/components/indexes-anchor/indexes-anchor.vue +1 -1
- package/components/indexes-nav/indexes-nav.vue +1 -1
- package/components/input/index.scss +1 -0
- package/components/input/input.vue +2 -1
- package/components/keyboard/keyboard.vue +1 -1
- package/components/list/list.vue +1 -1
- package/components/list-item/list-item.vue +1 -1
- package/components/load-more/load-more.vue +1 -1
- package/components/loading/loading.vue +1 -1
- package/components/marquee/marquee.vue +1 -1
- package/components/menu/menu.vue +1 -1
- package/components/menu-item/menu-item.vue +1 -1
- package/components/navbar/navbar.vue +1 -1
- package/components/navbar-item/navbar-item.vue +1 -1
- package/components/notice-bar/notice-bar.vue +1 -1
- package/components/notify/notify.vue +1 -1
- package/components/overlay/overlay.vue +1 -1
- package/components/pagination/pagination.vue +1 -1
- package/components/password-input/password-input.vue +1 -1
- package/components/picker/picker.vue +1 -1
- package/components/popout/popout.vue +16 -15
- package/components/popout-input/popout-input.vue +1 -1
- package/components/popover/popover.vue +1 -1
- package/components/popup/popup.vue +1 -1
- package/components/progress-bar/progress-bar.vue +1 -1
- package/components/progress-circle/progress-circle.vue +1 -1
- package/components/pull-down-refresh/pull-down-refresh.vue +1 -1
- package/components/qrcode/qrcode.vue +2 -2
- package/components/radio/radio.vue +1 -1
- package/components/radio-group/radio-group.vue +1 -1
- package/components/radio-input/radio-input.vue +1 -1
- package/components/rate/rate.vue +1 -1
- package/components/result/result.vue +1 -1
- package/components/row/row.vue +1 -1
- package/components/search/search.vue +1 -1
- package/components/share-sheet/share-sheet.vue +1 -1
- package/components/skeleton/skeleton.vue +1 -1
- package/components/skeleton-avatar/skeleton-avatar.vue +1 -1
- package/components/skeleton-block/skeleton-block.vue +1 -1
- package/components/skeleton-paragraph/skeleton-paragraph.vue +1 -1
- package/components/skeleton-title/skeleton-title.vue +1 -1
- package/components/slider/slider.vue +1 -1
- package/components/space/space.vue +1 -1
- package/components/stepper/stepper.vue +1 -1
- package/components/steps/steps.vue +1 -1
- package/components/swiper-dot/swiper-dot.vue +1 -1
- package/components/switch/switch.vue +1 -1
- package/components/tab/tab.vue +1 -1
- package/components/tabbar/tabbar.vue +1 -1
- package/components/tabbar-item/tabbar-item.vue +1 -1
- package/components/table/table.vue +1 -1
- package/components/table-cell/table-cell.vue +1 -1
- package/components/table-fixation/table-fixation.vue +1 -1
- package/components/table-row/table-row.vue +1 -1
- package/components/tabs/tabs.vue +1 -1
- package/components/tag/tag.vue +1 -1
- package/components/timeline/timeline.vue +1 -1
- package/components/timeline-item/timeline-item.vue +1 -1
- package/components/toast/toast.vue +1 -1
- package/components/tree/tree.vue +1 -1
- package/components/tree-node/tree-node.vue +1 -1
- package/components/upload/upload.vue +1 -1
- package/components/upload-preview/upload-preview.vue +1 -1
- package/package.json +27 -24
package/changelog.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.10.4](https://github.com/sutras/sard-uniapp/compare/v1.10.3...v1.10.4) (2025-02-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 使用 [@import](https://github.com/import) 导入scss, 兼容mp-alipay ([1830610](https://github.com/sutras/sard-uniapp/commit/1830610e17b29fd5f7e362d5c04a0ebcbb1ac772))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.10.3](https://github.com/sutras/sard-uniapp/compare/v1.10.1...v1.10.3) (2025-02-19)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -67,12 +67,15 @@
|
|
|
67
67
|
type="compact"
|
|
68
68
|
@confirm="onPickerConfirm"
|
|
69
69
|
>
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
<template #visible="{ already }">
|
|
71
|
+
<sar-datetime-picker
|
|
72
|
+
v-if="already"
|
|
73
|
+
type="yM"
|
|
74
|
+
v-model="pickerValue"
|
|
75
|
+
:min="minDate"
|
|
76
|
+
:max="maxDate"
|
|
77
|
+
/>
|
|
78
|
+
</template>
|
|
76
79
|
</sar-popout>
|
|
77
80
|
</template>
|
|
78
81
|
|
|
@@ -337,5 +340,5 @@ export default _defineComponent({
|
|
|
337
340
|
</script>
|
|
338
341
|
|
|
339
342
|
<style lang="scss">
|
|
340
|
-
@
|
|
343
|
+
@import './index.scss';
|
|
341
344
|
</style>
|
package/components/card/card.vue
CHANGED
package/components/col/col.vue
CHANGED
package/components/fab/fab.vue
CHANGED
package/components/form/form.vue
CHANGED
package/components/grid/grid.vue
CHANGED
package/components/icon/icon.vue
CHANGED
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
@keyboardheightchange="onKeyboardheightchange"
|
|
55
55
|
:auto-height="autoHeight"
|
|
56
56
|
:style="controlStyle"
|
|
57
|
+
:show-count="false"
|
|
57
58
|
/>
|
|
58
59
|
<input
|
|
59
60
|
v-else
|
|
@@ -316,5 +317,5 @@ export default _defineComponent({
|
|
|
316
317
|
</script>
|
|
317
318
|
|
|
318
319
|
<style lang="scss">
|
|
319
|
-
@
|
|
320
|
+
@import './index.scss';
|
|
320
321
|
</style>
|
package/components/list/list.vue
CHANGED
package/components/menu/menu.vue
CHANGED
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
:loading="loading.cancel"
|
|
19
19
|
@click="onCancel"
|
|
20
20
|
>
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
</
|
|
21
|
+
<template v-if="cancelText">{{ cancelText }}</template>
|
|
22
|
+
<slot v-else-if="$slots.cancel" name="cancel"></slot>
|
|
23
|
+
<template v-else>{{ t('cancel') }}</template>
|
|
24
24
|
</sar-button>
|
|
25
25
|
</view>
|
|
26
26
|
<view :class="bem.e('title')">
|
|
27
|
-
<
|
|
27
|
+
<template v-if="title">
|
|
28
28
|
<text :class="bem.e('title-text')">{{ title }}</text>
|
|
29
|
-
</
|
|
29
|
+
</template>
|
|
30
|
+
<slot v-else-if="$slots.title" name="title"></slot>
|
|
30
31
|
</view>
|
|
31
32
|
<view v-if="type === 'compact'" :class="bem.e('button-wrap')">
|
|
32
33
|
<sar-button
|
|
@@ -37,9 +38,9 @@
|
|
|
37
38
|
:disabled="confirmDisabled"
|
|
38
39
|
@click="onConfirm"
|
|
39
40
|
>
|
|
40
|
-
<
|
|
41
|
-
|
|
42
|
-
</
|
|
41
|
+
<template v-if="confirmText">{{ confirmText }}</template>
|
|
42
|
+
<slot v-else-if="$slots.confirm" name="confirm"></slot>
|
|
43
|
+
<template v-else>{{ t('confirm') }}</template>
|
|
43
44
|
</sar-button>
|
|
44
45
|
</view>
|
|
45
46
|
<view
|
|
@@ -63,9 +64,9 @@
|
|
|
63
64
|
:loading="loading.cancel"
|
|
64
65
|
@click="onCancel"
|
|
65
66
|
>
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
</
|
|
67
|
+
<template v-if="cancelText">{{ cancelText }}</template>
|
|
68
|
+
<slot v-else-if="$slots.cancel" name="cancel"></slot>
|
|
69
|
+
<template v-else>{{ t('cancel') }}</template>
|
|
69
70
|
</sar-button>
|
|
70
71
|
<sar-button
|
|
71
72
|
v-if="showConfirm"
|
|
@@ -76,9 +77,9 @@
|
|
|
76
77
|
:disabled="confirmDisabled"
|
|
77
78
|
@click="onConfirm"
|
|
78
79
|
>
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
</
|
|
80
|
+
<template v-if="confirmText">{{ confirmText }}</template>
|
|
81
|
+
<slot v-else-if="$slots.confirm" name="confirm"></slot>
|
|
82
|
+
<template v-else>{{ t('confirm') }}</template>
|
|
82
83
|
</sar-button>
|
|
83
84
|
</view>
|
|
84
85
|
</view>
|
|
@@ -212,5 +213,5 @@ export default _defineComponent({
|
|
|
212
213
|
</script>
|
|
213
214
|
|
|
214
215
|
<style lang="scss">
|
|
215
|
-
@
|
|
216
|
+
@import './index.scss';
|
|
216
217
|
</style>
|
|
@@ -119,7 +119,7 @@ export default _defineComponent({
|
|
|
119
119
|
const moduleSize = size / (map.length + props.quietZoneModules * 2);
|
|
120
120
|
const margin = moduleSize * props.quietZoneModules;
|
|
121
121
|
const context = canvas.getContext("2d");
|
|
122
|
-
const path2D = canvas.createPath2D ? canvas.createPath2D() : new Path2D();
|
|
122
|
+
const path2D = context.createPath2D ? context.createPath2D() : canvas.createPath2D ? canvas.createPath2D() : new Path2D();
|
|
123
123
|
map.forEach((row, rowIndex) => {
|
|
124
124
|
row.forEach((col, colIndex) => {
|
|
125
125
|
if (col === 1) {
|
|
@@ -184,5 +184,5 @@ export default _defineComponent({
|
|
|
184
184
|
</script>
|
|
185
185
|
|
|
186
186
|
<style lang="scss">
|
|
187
|
-
@
|
|
187
|
+
@import './index.scss';
|
|
188
188
|
</style>
|
package/components/rate/rate.vue
CHANGED
package/components/row/row.vue
CHANGED
package/components/tab/tab.vue
CHANGED
package/components/tabs/tabs.vue
CHANGED
package/components/tag/tag.vue
CHANGED
package/components/tree/tree.vue
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "sard-uniapp",
|
|
3
3
|
"name": "sard-uniapp",
|
|
4
4
|
"displayName": "sard-uniapp",
|
|
5
|
-
"version": "1.10.
|
|
5
|
+
"version": "1.10.4",
|
|
6
6
|
"description": "sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"scripts": {
|
|
@@ -71,24 +71,24 @@
|
|
|
71
71
|
"@commitlint/config-conventional": "^17.8.1",
|
|
72
72
|
"@commitlint/prompt-cli": "^17.8.1",
|
|
73
73
|
"@dcloudio/types": "^3.4.14",
|
|
74
|
-
"@dcloudio/uni-app": "3.0.0-
|
|
75
|
-
"@dcloudio/uni-app-plus": "3.0.0-
|
|
76
|
-
"@dcloudio/uni-automator": "3.0.0-
|
|
77
|
-
"@dcloudio/uni-cli-shared": "3.0.0-
|
|
78
|
-
"@dcloudio/uni-components": "3.0.0-
|
|
79
|
-
"@dcloudio/uni-h5": "3.0.0-
|
|
80
|
-
"@dcloudio/uni-mp-alipay": "3.0.0-
|
|
81
|
-
"@dcloudio/uni-mp-baidu": "3.0.0-
|
|
82
|
-
"@dcloudio/uni-mp-jd": "3.0.0-
|
|
83
|
-
"@dcloudio/uni-mp-kuaishou": "3.0.0-
|
|
84
|
-
"@dcloudio/uni-mp-lark": "3.0.0-
|
|
85
|
-
"@dcloudio/uni-mp-qq": "3.0.0-
|
|
86
|
-
"@dcloudio/uni-mp-toutiao": "3.0.0-
|
|
87
|
-
"@dcloudio/uni-mp-weixin": "3.0.0-
|
|
88
|
-
"@dcloudio/uni-mp-xhs": "3.0.0-
|
|
89
|
-
"@dcloudio/uni-quickapp-webview": "3.0.0-
|
|
90
|
-
"@dcloudio/uni-stacktracey": "3.0.0-
|
|
91
|
-
"@dcloudio/vite-plugin-uni": "3.0.0-
|
|
74
|
+
"@dcloudio/uni-app": "3.0.0-4040520250104002",
|
|
75
|
+
"@dcloudio/uni-app-plus": "3.0.0-4040520250104002",
|
|
76
|
+
"@dcloudio/uni-automator": "3.0.0-4040520250104002",
|
|
77
|
+
"@dcloudio/uni-cli-shared": "3.0.0-4040520250104002",
|
|
78
|
+
"@dcloudio/uni-components": "3.0.0-4040520250104002",
|
|
79
|
+
"@dcloudio/uni-h5": "3.0.0-4040520250104002",
|
|
80
|
+
"@dcloudio/uni-mp-alipay": "3.0.0-4040520250104002",
|
|
81
|
+
"@dcloudio/uni-mp-baidu": "3.0.0-4040520250104002",
|
|
82
|
+
"@dcloudio/uni-mp-jd": "3.0.0-4040520250104002",
|
|
83
|
+
"@dcloudio/uni-mp-kuaishou": "3.0.0-4040520250104002",
|
|
84
|
+
"@dcloudio/uni-mp-lark": "3.0.0-4040520250104002",
|
|
85
|
+
"@dcloudio/uni-mp-qq": "3.0.0-4040520250104002",
|
|
86
|
+
"@dcloudio/uni-mp-toutiao": "3.0.0-4040520250104002",
|
|
87
|
+
"@dcloudio/uni-mp-weixin": "3.0.0-4040520250104002",
|
|
88
|
+
"@dcloudio/uni-mp-xhs": "3.0.0-4040520250104002",
|
|
89
|
+
"@dcloudio/uni-quickapp-webview": "3.0.0-4040520250104002",
|
|
90
|
+
"@dcloudio/uni-stacktracey": "3.0.0-4040520250104002",
|
|
91
|
+
"@dcloudio/vite-plugin-uni": "3.0.0-4040520250104002",
|
|
92
92
|
"@esbuild/darwin-x64": "^0.21.5",
|
|
93
93
|
"@gunny/perf-test": "^0.1.3",
|
|
94
94
|
"@rollup/rollup-darwin-x64": "^4.24.0",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@typescript-eslint/parser": "^5.62.0",
|
|
100
100
|
"@vitejs/plugin-vue": "^4.6.2",
|
|
101
101
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
102
|
-
"@vue/runtime-core": "^3.5.
|
|
102
|
+
"@vue/runtime-core": "^3.5.13",
|
|
103
103
|
"@vue/test-utils": "^2.4.6",
|
|
104
104
|
"consola": "^3.2.3",
|
|
105
105
|
"conventional-changelog-cli": "^4.1.0",
|
|
@@ -116,17 +116,17 @@
|
|
|
116
116
|
"prettier": "^2.8.8",
|
|
117
117
|
"region-data": "^1.2.3",
|
|
118
118
|
"sard-cli": "^1.0.9",
|
|
119
|
-
"sass": "^1.
|
|
119
|
+
"sass": "^1.69.7",
|
|
120
120
|
"tel-area-code": "^1.0.1",
|
|
121
121
|
"ts-custom-error": "^3.3.1",
|
|
122
122
|
"tsx": "^4.19.2",
|
|
123
123
|
"typescript": "~5.6.2",
|
|
124
124
|
"typescript-eslint": "^8.17.0",
|
|
125
|
-
"vite": "
|
|
125
|
+
"vite": "5.2.8",
|
|
126
126
|
"vite-plugin-eslint": "^1.8.1",
|
|
127
127
|
"vitest": "^1.6.0",
|
|
128
|
-
"vue": "^3.5.
|
|
129
|
-
"vue-i18n": "^9.14.
|
|
128
|
+
"vue": "^3.5.13",
|
|
129
|
+
"vue-i18n": "^9.14.2",
|
|
130
130
|
"vue-tsc": "^2.0.29"
|
|
131
131
|
},
|
|
132
132
|
"author": "wuzhitao",
|
|
@@ -219,5 +219,8 @@
|
|
|
219
219
|
},
|
|
220
220
|
"pnpm": {
|
|
221
221
|
"overrides": {}
|
|
222
|
+
},
|
|
223
|
+
"dependencies": {
|
|
224
|
+
"@dcloudio/uni-app-harmony": "3.0.0-4040520250104002"
|
|
222
225
|
}
|
|
223
226
|
}
|