eoss-mobiles 0.1.93 → 0.1.94
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/eoss-mobile.common.js +72 -29
- package/lib/field.js +33 -4
- package/lib/index.js +1 -1
- package/lib/picker.js +28 -14
- package/lib/theme-chalk/field.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.scss +24 -4
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/package.json +1 -1
- package/packages/field/src/main.vue +22 -6
- package/packages/picker/src/main.vue +10 -1
- package/packages/theme-chalk/lib/field.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.scss +24 -4
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/src/field.scss +9 -4
- package/packages/theme-chalk/src/fonts/iconfont.scss +24 -4
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/src/index.js +1 -1
|
@@ -4273,8 +4273,8 @@ selector_src_main.install = function (Vue) {
|
|
|
4273
4273
|
};
|
|
4274
4274
|
|
|
4275
4275
|
/* harmony default export */ var selector = (selector_src_main);
|
|
4276
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=
|
|
4277
|
-
var
|
|
4276
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=template&id=43d95499&
|
|
4277
|
+
var mainvue_type_template_id_43d95499_render = function () {
|
|
4278
4278
|
var _vm = this
|
|
4279
4279
|
var _h = _vm.$createElement
|
|
4280
4280
|
var _c = _vm._self._c || _h
|
|
@@ -4297,7 +4297,7 @@ var mainvue_type_template_id_653b46a0_render = function () {
|
|
|
4297
4297
|
? _vm.rules[0].required
|
|
4298
4298
|
: _vm.rules.required)) &&
|
|
4299
4299
|
_vm.requiredPosition != "right",
|
|
4300
|
-
"is-left-icon": _vm
|
|
4300
|
+
"is-left-icon": _vm.leftIcon,
|
|
4301
4301
|
},
|
|
4302
4302
|
attrs: {
|
|
4303
4303
|
autocomplete: "new-password",
|
|
@@ -4323,6 +4323,7 @@ var mainvue_type_template_id_653b46a0_render = function () {
|
|
|
4323
4323
|
"right-icon": _vm.$attrs["right-icon"] || _vm.getRightIcon,
|
|
4324
4324
|
"label-align": _vm.labelAlign,
|
|
4325
4325
|
type: _vm.newType,
|
|
4326
|
+
"left-icon": _vm.leftIcon,
|
|
4326
4327
|
rules: Array.isArray(_vm.rules) ? _vm.rules : [],
|
|
4327
4328
|
},
|
|
4328
4329
|
on: {
|
|
@@ -4346,6 +4347,18 @@ var mainvue_type_template_id_653b46a0_render = function () {
|
|
|
4346
4347
|
_vm.$listeners
|
|
4347
4348
|
),
|
|
4348
4349
|
[
|
|
4350
|
+
!_vm.$slots["left-icon"] && _vm.leftIcon
|
|
4351
|
+
? _c("template", { slot: "left-icon" }, [
|
|
4352
|
+
_c("i", {
|
|
4353
|
+
class:
|
|
4354
|
+
"" +
|
|
4355
|
+
(_vm.leftIcon.indexOf("icon-") == -1
|
|
4356
|
+
? "van-icon van-icon-" + _vm.leftIcon
|
|
4357
|
+
: "iconfont " + _vm.leftIcon),
|
|
4358
|
+
staticStyle: { color: "#9399A5" },
|
|
4359
|
+
}),
|
|
4360
|
+
])
|
|
4361
|
+
: _vm._e(),
|
|
4349
4362
|
!_vm.$slots.label
|
|
4350
4363
|
? _c("template", { slot: "label" }, [
|
|
4351
4364
|
_c(
|
|
@@ -4374,11 +4387,11 @@ var mainvue_type_template_id_653b46a0_render = function () {
|
|
|
4374
4387
|
1
|
|
4375
4388
|
)
|
|
4376
4389
|
}
|
|
4377
|
-
var
|
|
4378
|
-
|
|
4390
|
+
var mainvue_type_template_id_43d95499_staticRenderFns = []
|
|
4391
|
+
mainvue_type_template_id_43d95499_render._withStripped = true
|
|
4379
4392
|
|
|
4380
4393
|
|
|
4381
|
-
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=
|
|
4394
|
+
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=43d95499&
|
|
4382
4395
|
|
|
4383
4396
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=script&lang=js&
|
|
4384
4397
|
//
|
|
@@ -4430,6 +4443,19 @@ mainvue_type_template_id_653b46a0_render._withStripped = true
|
|
|
4430
4443
|
//
|
|
4431
4444
|
//
|
|
4432
4445
|
//
|
|
4446
|
+
//
|
|
4447
|
+
//
|
|
4448
|
+
//
|
|
4449
|
+
//
|
|
4450
|
+
//
|
|
4451
|
+
//
|
|
4452
|
+
//
|
|
4453
|
+
//
|
|
4454
|
+
//
|
|
4455
|
+
//
|
|
4456
|
+
//
|
|
4457
|
+
//
|
|
4458
|
+
//
|
|
4433
4459
|
|
|
4434
4460
|
/* harmony default export */ var field_src_mainvue_type_script_lang_js_ = ({
|
|
4435
4461
|
name: 'EmInput',
|
|
@@ -4488,6 +4514,10 @@ mainvue_type_template_id_653b46a0_render._withStripped = true
|
|
|
4488
4514
|
requiredPosition: {
|
|
4489
4515
|
type: String,
|
|
4490
4516
|
default: 'left'
|
|
4517
|
+
},
|
|
4518
|
+
leftIcon: {
|
|
4519
|
+
type: String,
|
|
4520
|
+
default: ''
|
|
4491
4521
|
}
|
|
4492
4522
|
},
|
|
4493
4523
|
data: function data() {
|
|
@@ -4527,7 +4557,6 @@ mainvue_type_template_id_653b46a0_render._withStripped = true
|
|
|
4527
4557
|
}
|
|
4528
4558
|
},
|
|
4529
4559
|
mounted: function mounted() {
|
|
4530
|
-
console.log(this.$slots, 's');
|
|
4531
4560
|
this.newType = this.type;
|
|
4532
4561
|
this.newPlaceholder = this.$attrs.placeholder;
|
|
4533
4562
|
this.newErrorMessage = this.errorMessage;
|
|
@@ -4598,8 +4627,8 @@ mainvue_type_template_id_653b46a0_render._withStripped = true
|
|
|
4598
4627
|
|
|
4599
4628
|
var field_src_main_component = normalizeComponent(
|
|
4600
4629
|
packages_field_src_mainvue_type_script_lang_js_,
|
|
4601
|
-
|
|
4602
|
-
|
|
4630
|
+
mainvue_type_template_id_43d95499_render,
|
|
4631
|
+
mainvue_type_template_id_43d95499_staticRenderFns,
|
|
4603
4632
|
false,
|
|
4604
4633
|
null,
|
|
4605
4634
|
null,
|
|
@@ -4879,8 +4908,8 @@ radio_src_main.install = function (Vue) {
|
|
|
4879
4908
|
};
|
|
4880
4909
|
|
|
4881
4910
|
/* harmony default export */ var packages_radio = (radio_src_main);
|
|
4882
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=
|
|
4883
|
-
var
|
|
4911
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=400a3f79&
|
|
4912
|
+
var mainvue_type_template_id_400a3f79_render = function () {
|
|
4884
4913
|
var _vm = this
|
|
4885
4914
|
var _h = _vm.$createElement
|
|
4886
4915
|
var _c = _vm._self._c || _h
|
|
@@ -4918,18 +4947,23 @@ var mainvue_type_template_id_4bb4da5a_render = function () {
|
|
|
4918
4947
|
)
|
|
4919
4948
|
: _c(
|
|
4920
4949
|
"em-input",
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4950
|
+
_vm._b(
|
|
4951
|
+
{
|
|
4952
|
+
attrs: {
|
|
4953
|
+
readonly: "",
|
|
4954
|
+
clickable: "",
|
|
4955
|
+
label: _vm.label,
|
|
4956
|
+
required: _vm.required,
|
|
4957
|
+
disabled: _vm.disabled || _vm.readonly,
|
|
4958
|
+
"label-width": _vm.labelWidth,
|
|
4959
|
+
hideLabel: _vm.hideLabel,
|
|
4960
|
+
},
|
|
4961
|
+
on: { click: _vm.handlePicker },
|
|
4930
4962
|
},
|
|
4931
|
-
|
|
4932
|
-
|
|
4963
|
+
"em-input",
|
|
4964
|
+
_vm.$attrs,
|
|
4965
|
+
false
|
|
4966
|
+
),
|
|
4933
4967
|
[
|
|
4934
4968
|
_c("template", { slot: "input" }, [
|
|
4935
4969
|
_c(
|
|
@@ -5142,11 +5176,11 @@ var mainvue_type_template_id_4bb4da5a_render = function () {
|
|
|
5142
5176
|
1
|
|
5143
5177
|
)
|
|
5144
5178
|
}
|
|
5145
|
-
var
|
|
5146
|
-
|
|
5179
|
+
var mainvue_type_template_id_400a3f79_staticRenderFns = []
|
|
5180
|
+
mainvue_type_template_id_400a3f79_render._withStripped = true
|
|
5147
5181
|
|
|
5148
5182
|
|
|
5149
|
-
// CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=
|
|
5183
|
+
// CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=400a3f79&
|
|
5150
5184
|
|
|
5151
5185
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=script&lang=js&
|
|
5152
5186
|
var src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -5272,6 +5306,7 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5272
5306
|
//
|
|
5273
5307
|
//
|
|
5274
5308
|
//
|
|
5309
|
+
//
|
|
5275
5310
|
|
|
5276
5311
|
|
|
5277
5312
|
|
|
@@ -5320,6 +5355,10 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5320
5355
|
type: Boolean,
|
|
5321
5356
|
default: false
|
|
5322
5357
|
},
|
|
5358
|
+
linkTag: {
|
|
5359
|
+
type: Boolean,
|
|
5360
|
+
default: false
|
|
5361
|
+
},
|
|
5323
5362
|
// 展示标题
|
|
5324
5363
|
label: {
|
|
5325
5364
|
type: String,
|
|
@@ -5465,7 +5504,11 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5465
5504
|
|
|
5466
5505
|
methods: {
|
|
5467
5506
|
handleClick: function handleClick(val) {
|
|
5468
|
-
this
|
|
5507
|
+
if (this.linkTag) {
|
|
5508
|
+
this.$emit('tagClick', val);
|
|
5509
|
+
} else {
|
|
5510
|
+
this.showPicker = true;
|
|
5511
|
+
}
|
|
5469
5512
|
},
|
|
5470
5513
|
onLoad: function onLoad() {
|
|
5471
5514
|
if ((this.sysAppCode || this.url) && this.newColumns.length != this.total && this.isCheck) {
|
|
@@ -5675,8 +5718,8 @@ var mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
5675
5718
|
|
|
5676
5719
|
var picker_src_main_component = normalizeComponent(
|
|
5677
5720
|
packages_picker_src_mainvue_type_script_lang_js_,
|
|
5678
|
-
|
|
5679
|
-
|
|
5721
|
+
mainvue_type_template_id_400a3f79_render,
|
|
5722
|
+
mainvue_type_template_id_400a3f79_staticRenderFns,
|
|
5680
5723
|
false,
|
|
5681
5724
|
null,
|
|
5682
5725
|
null,
|
|
@@ -18055,7 +18098,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
18055
18098
|
}
|
|
18056
18099
|
|
|
18057
18100
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
18058
|
-
version: '0.1.
|
|
18101
|
+
version: '0.1.94',
|
|
18059
18102
|
install: install,
|
|
18060
18103
|
Button: packages_button,
|
|
18061
18104
|
ButtonGroup: button_group,
|
package/lib/field.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/field/src/main.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/field/src/main.vue?vue&type=template&id=43d95499&
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -223,7 +223,7 @@ var render = function () {
|
|
|
223
223
|
? _vm.rules[0].required
|
|
224
224
|
: _vm.rules.required)) &&
|
|
225
225
|
_vm.requiredPosition != "right",
|
|
226
|
-
"is-left-icon": _vm
|
|
226
|
+
"is-left-icon": _vm.leftIcon,
|
|
227
227
|
},
|
|
228
228
|
attrs: {
|
|
229
229
|
autocomplete: "new-password",
|
|
@@ -249,6 +249,7 @@ var render = function () {
|
|
|
249
249
|
"right-icon": _vm.$attrs["right-icon"] || _vm.getRightIcon,
|
|
250
250
|
"label-align": _vm.labelAlign,
|
|
251
251
|
type: _vm.newType,
|
|
252
|
+
"left-icon": _vm.leftIcon,
|
|
252
253
|
rules: Array.isArray(_vm.rules) ? _vm.rules : [],
|
|
253
254
|
},
|
|
254
255
|
on: {
|
|
@@ -272,6 +273,18 @@ var render = function () {
|
|
|
272
273
|
_vm.$listeners
|
|
273
274
|
),
|
|
274
275
|
[
|
|
276
|
+
!_vm.$slots["left-icon"] && _vm.leftIcon
|
|
277
|
+
? _c("template", { slot: "left-icon" }, [
|
|
278
|
+
_c("i", {
|
|
279
|
+
class:
|
|
280
|
+
"" +
|
|
281
|
+
(_vm.leftIcon.indexOf("icon-") == -1
|
|
282
|
+
? "van-icon van-icon-" + _vm.leftIcon
|
|
283
|
+
: "iconfont " + _vm.leftIcon),
|
|
284
|
+
staticStyle: { color: "#9399A5" },
|
|
285
|
+
}),
|
|
286
|
+
])
|
|
287
|
+
: _vm._e(),
|
|
275
288
|
!_vm.$slots.label
|
|
276
289
|
? _c("template", { slot: "label" }, [
|
|
277
290
|
_c(
|
|
@@ -304,7 +317,7 @@ var staticRenderFns = []
|
|
|
304
317
|
render._withStripped = true
|
|
305
318
|
|
|
306
319
|
|
|
307
|
-
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=
|
|
320
|
+
// CONCATENATED MODULE: ./packages/field/src/main.vue?vue&type=template&id=43d95499&
|
|
308
321
|
|
|
309
322
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/field/src/main.vue?vue&type=script&lang=js&
|
|
310
323
|
//
|
|
@@ -356,6 +369,19 @@ render._withStripped = true
|
|
|
356
369
|
//
|
|
357
370
|
//
|
|
358
371
|
//
|
|
372
|
+
//
|
|
373
|
+
//
|
|
374
|
+
//
|
|
375
|
+
//
|
|
376
|
+
//
|
|
377
|
+
//
|
|
378
|
+
//
|
|
379
|
+
//
|
|
380
|
+
//
|
|
381
|
+
//
|
|
382
|
+
//
|
|
383
|
+
//
|
|
384
|
+
//
|
|
359
385
|
|
|
360
386
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
361
387
|
name: 'EmInput',
|
|
@@ -414,6 +440,10 @@ render._withStripped = true
|
|
|
414
440
|
requiredPosition: {
|
|
415
441
|
type: String,
|
|
416
442
|
default: 'left'
|
|
443
|
+
},
|
|
444
|
+
leftIcon: {
|
|
445
|
+
type: String,
|
|
446
|
+
default: ''
|
|
417
447
|
}
|
|
418
448
|
},
|
|
419
449
|
data: function data() {
|
|
@@ -453,7 +483,6 @@ render._withStripped = true
|
|
|
453
483
|
}
|
|
454
484
|
},
|
|
455
485
|
mounted: function mounted() {
|
|
456
|
-
console.log(this.$slots, 's');
|
|
457
486
|
this.newType = this.type;
|
|
458
487
|
this.newPlaceholder = this.$attrs.placeholder;
|
|
459
488
|
this.newErrorMessage = this.errorMessage;
|