ai.touchui-vue 1.33.3 → 1.34.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/affix.js +2 -2
- package/lib/ai.touchui-vue.common.js +896 -909
- package/lib/align.js +2 -2
- package/lib/animation.js +2 -2
- package/lib/article.js +2 -2
- package/lib/box.js +2 -2
- package/lib/button.js +2 -2
- package/lib/calendar.js +2 -2
- package/lib/card-item.js +19 -19
- package/lib/card.js +178 -178
- package/lib/cascader.js +2 -2
- package/lib/center-scroll.js +2 -2
- package/lib/chat.js +4 -4
- package/lib/checkbox.js +11 -5
- package/lib/checkboxes.js +27 -5
- package/lib/collapse.js +768 -768
- package/lib/color.js +2 -2
- package/lib/countdown.js +2 -2
- package/lib/date-picker.js +1486 -1486
- package/lib/date-range.js +2 -2
- package/lib/dialog.js +27 -23
- package/lib/dis.js +2 -2
- package/lib/ellipsis.js +2 -2
- package/lib/emote.js +2 -2
- package/lib/export.js +10 -10
- package/lib/filter.js +2 -2
- package/lib/fix.js +2 -2
- package/lib/float.js +2 -2
- package/lib/flow.js +4 -4
- package/lib/form.js +2 -2
- package/lib/grid.js +2 -2
- package/lib/guider.js +2 -2
- package/lib/header.js +2 -2
- package/lib/hide.js +2 -2
- package/lib/icon.js +2 -2
- package/lib/import.js +12 -12
- package/lib/index.js +1 -1
- package/lib/input.js +2 -2
- package/lib/ip.js +2 -2
- package/lib/line.js +2 -2
- package/lib/loading.js +11 -11
- package/lib/longtap.js +2 -2
- package/lib/menu-icon.js +670 -673
- package/lib/message.js +2 -2
- package/lib/msg.js +19 -19
- package/lib/org.js +706 -706
- package/lib/padding.js +2 -2
- package/lib/page.js +4 -438
- package/lib/param.js +2 -2
- package/lib/pic.js +4 -4
- package/lib/popup.js +2 -2
- package/lib/progress.js +2 -2
- package/lib/range.js +1074 -1074
- package/lib/rate.js +2 -2
- package/lib/reverser.js +2 -2
- package/lib/scroll.js +2 -2
- package/lib/segment.js +2 -2
- package/lib/select.js +2 -2
- package/lib/size.js +2 -2
- package/lib/skeleton.js +2 -2
- package/lib/slide.js +2 -2
- package/lib/space.js +2 -2
- package/lib/step.js +2 -2
- package/lib/submit.js +2 -2
- package/lib/switch.js +2 -2
- package/lib/tab.js +2 -2
- package/lib/table.js +2 -2
- package/lib/tag.js +2 -2
- package/lib/theme/css/theme/workbench-gz.css +1 -0
- package/lib/timeline.js +2 -2
- package/lib/tip.js +2 -2
- package/lib/tooltip.js +2 -2
- package/lib/transfer.js +2 -2
- package/lib/tree.js +2 -2
- package/lib/upload.js +14 -14
- package/package.json +1 -1
- package/packages/checkbox/src/checkbox.vue +8 -2
- package/packages/checkboxes/src/checkboxes.vue +17 -1
- package/packages/dialog/src/dialog.vue +21 -18
- package/packages/page/src/page.vue +0 -22
- package/packages/tab/.DS_Store +0 -0
- package/packages/theme/lib/css/theme/workbench-gz.css +1 -0
- package/packages/theme/src/less/theme/workbench-gz.less +159 -0
- package/src/index.js +1 -1
package/lib/checkboxes.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 380);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,14 +192,14 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 380:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
|
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/checkboxes/src/checkboxes.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/checkboxes/src/checkboxes.vue?vue&type=template&id=73398aa6
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -235,7 +235,7 @@ var staticRenderFns = []
|
|
|
235
235
|
render._withStripped = true
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
// CONCATENATED MODULE: ./packages/checkboxes/src/checkboxes.vue?vue&type=template&id=
|
|
238
|
+
// CONCATENATED MODULE: ./packages/checkboxes/src/checkboxes.vue?vue&type=template&id=73398aa6
|
|
239
239
|
|
|
240
240
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkboxes/src/checkboxes.vue?vue&type=script&lang=js
|
|
241
241
|
//
|
|
@@ -281,7 +281,10 @@ render._withStripped = true
|
|
|
281
281
|
return {
|
|
282
282
|
maxId: -1,
|
|
283
283
|
options: [],
|
|
284
|
-
checks: []
|
|
284
|
+
checks: [],
|
|
285
|
+
removeItems: [],
|
|
286
|
+
isRemoving: false,
|
|
287
|
+
timer: null
|
|
285
288
|
};
|
|
286
289
|
},
|
|
287
290
|
|
|
@@ -336,6 +339,25 @@ render._withStripped = true
|
|
|
336
339
|
arr.push(el.value);
|
|
337
340
|
});
|
|
338
341
|
this.$emit('change', arr.join(','));
|
|
342
|
+
},
|
|
343
|
+
removeItemValue: function removeItemValue(itemOldValue) {
|
|
344
|
+
var _this = this;
|
|
345
|
+
|
|
346
|
+
clearTimeout(this.timer);
|
|
347
|
+
this.removeItems.push(itemOldValue);
|
|
348
|
+
|
|
349
|
+
this.timer = setTimeout(function () {
|
|
350
|
+
var arr = _this.value.split(',');
|
|
351
|
+
arr = arr.filter(function (item) {
|
|
352
|
+
return !_this.removeItems.includes(item);
|
|
353
|
+
});
|
|
354
|
+
_this.options = _this.options.filter(function (item) {
|
|
355
|
+
return !_this.removeItems.includes(item.value);
|
|
356
|
+
});
|
|
357
|
+
_this.$emit('change', arr.join(','));
|
|
358
|
+
console.log('★');
|
|
359
|
+
console.log(_this.options);
|
|
360
|
+
}, 1);
|
|
339
361
|
}
|
|
340
362
|
}
|
|
341
363
|
});
|