ai.touchui-vue 1.38.0 → 1.39.0
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/lib/ai.touchui-vue.common.js +337 -193
- package/lib/date-picker.js +22 -15
- package/lib/float.js +39 -9
- package/lib/import.js +19 -11
- package/lib/index.js +1 -1
- package/lib/input.js +4 -7
- package/lib/progress.js +8 -2
- package/lib/select.js +210 -96
- package/lib/theme/css/theme/B-Design.css +1 -1
- package/lib/theme/css/theme/aiplan.css +1 -1
- package/lib/theme/css/theme/aiplangd.css +1 -1
- package/lib/theme/css/theme/chbn.css +1 -1
- package/lib/theme/css/theme/default.css +1 -1
- package/lib/theme/css/theme/dt.css +1 -1
- package/lib/theme/css/theme/ecloud.css +1 -1
- package/lib/theme/css/theme/hongkong.css +1 -1
- package/lib/theme/css/theme/logistics.css +1 -1
- package/lib/theme/css/theme/narrow.css +1 -1
- package/lib/theme/css/theme/sdpf.css +1 -1
- package/lib/theme/css/theme/upc.css +1 -1
- package/lib/theme/css/theme/website.css +1 -1
- package/lib/theme/css/theme/workbench-gz.css +1 -1
- package/lib/theme/css/theme/zj.css +1 -1
- package/lib/utils/validate.js +4 -22
- package/package.json +1 -1
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/date-picker/src/date-picker.vue +15 -9
- package/packages/float/src/main.vue +37 -7
- package/packages/import/src/import.vue +1 -1
- package/packages/input/src/input.vue +2 -5
- package/packages/progress/src/progress.vue +5 -0
- package/packages/select/src/select.vue +95 -19
- package/packages/theme/lib/css/theme/B-Design.css +1 -1
- package/packages/theme/lib/css/theme/aiplan.css +1 -1
- package/packages/theme/lib/css/theme/aiplangd.css +1 -1
- package/packages/theme/lib/css/theme/chbn.css +1 -1
- package/packages/theme/lib/css/theme/default.css +1 -1
- package/packages/theme/lib/css/theme/dt.css +1 -1
- package/packages/theme/lib/css/theme/ecloud.css +1 -1
- package/packages/theme/lib/css/theme/hongkong.css +1 -1
- package/packages/theme/lib/css/theme/logistics.css +1 -1
- package/packages/theme/lib/css/theme/narrow.css +1 -1
- package/packages/theme/lib/css/theme/sdpf.css +1 -1
- package/packages/theme/lib/css/theme/upc.css +1 -1
- package/packages/theme/lib/css/theme/website.css +1 -1
- package/packages/theme/lib/css/theme/workbench-gz.css +1 -1
- package/packages/theme/lib/css/theme/zj.css +1 -1
- package/packages/theme/src/less/element/pic.less +1 -0
- package/packages/theme/src/less/element/progress.less +1 -1
- package/packages/theme/src/less/element/select.less +8 -0
- package/src/index.js +1 -1
- package/src/utils/validate.js +4 -22
package/lib/input.js
CHANGED
|
@@ -206,7 +206,7 @@ module.exports = require("ai.touchui-vue/lib/mixins/locale");
|
|
|
206
206
|
// ESM COMPAT FLAG
|
|
207
207
|
__webpack_require__.r(__webpack_exports__);
|
|
208
208
|
|
|
209
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=
|
|
209
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=50eba84f
|
|
210
210
|
var render = function () {
|
|
211
211
|
var _vm = this
|
|
212
212
|
var _h = _vm.$createElement
|
|
@@ -613,7 +613,7 @@ var staticRenderFns = []
|
|
|
613
613
|
render._withStripped = true
|
|
614
614
|
|
|
615
615
|
|
|
616
|
-
// CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=
|
|
616
|
+
// CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=50eba84f
|
|
617
617
|
|
|
618
618
|
// CONCATENATED MODULE: ./src/utils/string.js
|
|
619
619
|
function filter(chars, from) {
|
|
@@ -1031,11 +1031,7 @@ var tip_default = /*#__PURE__*/__webpack_require__.n(tip_);
|
|
|
1031
1031
|
if (this.desc) {
|
|
1032
1032
|
return this.desc;
|
|
1033
1033
|
} else if (this.ToFormItem && this.ToFormItem.label) {
|
|
1034
|
-
|
|
1035
|
-
return this.ToFormItem.label + '-label';
|
|
1036
|
-
} else {
|
|
1037
|
-
return this.ToFormItem.label;
|
|
1038
|
-
}
|
|
1034
|
+
return this.ToFormItem.label;
|
|
1039
1035
|
} else {
|
|
1040
1036
|
return '';
|
|
1041
1037
|
}
|
|
@@ -1106,6 +1102,7 @@ var tip_default = /*#__PURE__*/__webpack_require__.n(tip_);
|
|
|
1106
1102
|
}
|
|
1107
1103
|
},
|
|
1108
1104
|
mounted: function mounted() {
|
|
1105
|
+
// console.log('input mounted')
|
|
1109
1106
|
if (this.$platform === 'pc') {
|
|
1110
1107
|
this.$el.addEventListener('mouseover', this.showClear);
|
|
1111
1108
|
this.$el.addEventListener('mouseout', this.hideClear);
|
package/lib/progress.js
CHANGED
|
@@ -199,7 +199,7 @@ function normalizeComponent(
|
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=6ef9e39d
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -231,6 +231,7 @@ var render = function () {
|
|
|
231
231
|
}),
|
|
232
232
|
_c("circle", {
|
|
233
233
|
staticClass: "to-progressBar",
|
|
234
|
+
class: _vm.animation ? "animation" : "",
|
|
234
235
|
attrs: {
|
|
235
236
|
r: _vm.radius,
|
|
236
237
|
cy: _vm.offsetWidth / 2,
|
|
@@ -328,7 +329,7 @@ var staticRenderFns = []
|
|
|
328
329
|
render._withStripped = true
|
|
329
330
|
|
|
330
331
|
|
|
331
|
-
// CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=
|
|
332
|
+
// CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=6ef9e39d
|
|
332
333
|
|
|
333
334
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js
|
|
334
335
|
//
|
|
@@ -369,6 +370,7 @@ render._withStripped = true
|
|
|
369
370
|
//
|
|
370
371
|
//
|
|
371
372
|
//
|
|
373
|
+
//
|
|
372
374
|
|
|
373
375
|
/* harmony default export */ var progressvue_type_script_lang_js = ({
|
|
374
376
|
name: 'ToProgress',
|
|
@@ -451,6 +453,10 @@ render._withStripped = true
|
|
|
451
453
|
barSize: {
|
|
452
454
|
type: [Number, String],
|
|
453
455
|
default: 1
|
|
456
|
+
},
|
|
457
|
+
animation: {
|
|
458
|
+
type: Boolean,
|
|
459
|
+
default: true
|
|
454
460
|
}
|
|
455
461
|
},
|
|
456
462
|
data: function data() {
|