ylwl-cpscoms 1.0.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.
Files changed (80) hide show
  1. package/README.md +15 -0
  2. package/es/SlAlert/index.vue.js +58 -0
  3. package/es/SlAlert/index.vue2.js +37 -0
  4. package/es/SlAlert/index.vue3.js +6 -0
  5. package/es/SlDescriptions/index.vue.js +55 -0
  6. package/es/SlDescriptions/index.vue2.js +57 -0
  7. package/es/SlDescriptions/index.vue3.js +6 -0
  8. package/es/SlDescriptions/renderOptions.vue.js +25 -0
  9. package/es/SlDescriptions/renderOptions.vue2.js +31 -0
  10. package/es/SlDialog/dialogPlus.js +159 -0
  11. package/es/SlDialog/index.js +202 -0
  12. package/es/SlDrawer/index.js +54 -0
  13. package/es/SlForm/index.vue.js +26 -0
  14. package/es/SlForm/index.vue2.js +433 -0
  15. package/es/SlForm/index.vue3.js +6 -0
  16. package/es/SlForm/mixinRender.js +239 -0
  17. package/es/SlForm/otherItem/titleItem.vue.js +39 -0
  18. package/es/SlForm/otherItem/titleItem.vue2.js +20 -0
  19. package/es/SlForm/otherItem/titleItem.vue3.js +6 -0
  20. package/es/SlGuide/index.vue.js +38 -0
  21. package/es/SlGuide/index.vue2.js +133 -0
  22. package/es/SlGuide/index.vue3.js +6 -0
  23. package/es/SlGuide/index.vue4.js +6 -0
  24. package/es/SlMessageBox/index.js +46 -0
  25. package/es/SlPage/index.vue.js +147 -0
  26. package/es/SlPage/index.vue2.js +312 -0
  27. package/es/SlPage/index.vue3.js +6 -0
  28. package/es/SlTable/components/colSetting.vue.js +94 -0
  29. package/es/SlTable/components/colSetting.vue2.js +66 -0
  30. package/es/SlTable/components/colSetting.vue3.js +6 -0
  31. package/es/SlTable/index.vue.js +171 -0
  32. package/es/SlTable/index.vue2.js +390 -0
  33. package/es/SlTable/index.vue3.js +6 -0
  34. package/es/SlTitle/index.vue.js +41 -0
  35. package/es/SlTitle/index.vue2.js +26 -0
  36. package/es/SlTitle/index.vue3.js +6 -0
  37. package/es/_virtual/_rollupPluginBabelHelpers.js +247 -0
  38. package/es/index.js +41 -0
  39. package/es/node_modules/shepherd.js/dist/css/shepherd.css.js +7 -0
  40. package/es/node_modules/style-inject/dist/style-inject.es.js +28 -0
  41. package/es/node_modules/vue-runtime-helpers/dist/normalize-component.js +76 -0
  42. package/es/utils/index.js +51 -0
  43. package/package.json +106 -0
  44. package/src/SlAlert/SlAlert.stories.js +108 -0
  45. package/src/SlAlert/index.vue +54 -0
  46. package/src/SlAlert/remark.md +16 -0
  47. package/src/SlDescriptions/SlDescriptions.stories.js +119 -0
  48. package/src/SlDescriptions/index.vue +60 -0
  49. package/src/SlDescriptions/renderOptions.vue +27 -0
  50. package/src/SlDialog/README-PLUS.md +74 -0
  51. package/src/SlDialog/README.md +114 -0
  52. package/src/SlDialog/dialogPlus.js +160 -0
  53. package/src/SlDialog/index.js +170 -0
  54. package/src/SlDrawer/SlDrawer.stories.js +154 -0
  55. package/src/SlDrawer/index.js +62 -0
  56. package/src/SlForm/SlForm.stories.js +120 -0
  57. package/src/SlForm/index.css +141 -0
  58. package/src/SlForm/index.vue +365 -0
  59. package/src/SlForm/mixinRender.js +228 -0
  60. package/src/SlForm/otherItem/titleItem.vue +31 -0
  61. package/src/SlForm/remark.md +607 -0
  62. package/src/SlGuide/SlGuide.stories.js +100 -0
  63. package/src/SlGuide/index.vue +166 -0
  64. package/src/SlGuide/remark.md +90 -0
  65. package/src/SlMessageBox/index.js +35 -0
  66. package/src/SlPage/README.md +515 -0
  67. package/src/SlPage/SlPage.stories.js +125 -0
  68. package/src/SlPage/index.css +38 -0
  69. package/src/SlPage/index.vue +266 -0
  70. package/src/SlPage/remark.md +283 -0
  71. package/src/SlTable/SlTable.stories.js +118 -0
  72. package/src/SlTable/components/colSetting.vue +86 -0
  73. package/src/SlTable/index.vue +541 -0
  74. package/src/SlTitle/SlTitle.stories.js +98 -0
  75. package/src/SlTitle/index.vue +49 -0
  76. package/src/global.css +5 -0
  77. package/src/index.js +47 -0
  78. package/src/store/index.js +20 -0
  79. package/src/utils/index.js +47 -0
  80. package/src/utils/tableConfig.js +33 -0
@@ -0,0 +1,54 @@
1
+ import { objectSpread2 as _objectSpread2 } from '../_virtual/_rollupPluginBabelHelpers.js';
2
+ import Vue from 'vue';
3
+
4
+ function createCommandDrawer(options) {
5
+ var Constructor = Vue.extend({
6
+ data: function data() {
7
+ return _objectSpread2({
8
+ visible: true
9
+ }, options);
10
+ },
11
+ methods: {
12
+ handleClose: function handleClose(done) {
13
+ this.visible = false;
14
+ this.closeDrawer();
15
+ done();
16
+ }
17
+ },
18
+ render: function render(h) {
19
+ var _this = this;
20
+ var componentListeners = this.contentListeners || {};
21
+ return h('el-drawer', {
22
+ props: {
23
+ title: this.title,
24
+ size: this.size,
25
+ direction: this.direction,
26
+ beforeClose: this.handleClose,
27
+ visible: this.visible
28
+ },
29
+ on: {
30
+ input: function input(val) {
31
+ _this.visible = val;
32
+ }
33
+ }
34
+ }, [h(this.contentComponent, {
35
+ props: this.contentProps,
36
+ on: componentListeners
37
+ })]);
38
+ }
39
+ });
40
+ var instance = new Constructor().$mount();
41
+ document.body.appendChild(instance.$el);
42
+ instance.visible = true;
43
+ window.addEventListener('keydown', function (event) {
44
+ if (event.code === 'Space' || event.key === ' ') {
45
+ event.preventDefault();
46
+ }
47
+ });
48
+ instance.$once('close', function () {
49
+ instance.$destroy();
50
+ document.body.removeChild(instance.$el);
51
+ });
52
+ }
53
+
54
+ export { createCommandDrawer };
@@ -0,0 +1,26 @@
1
+ import script from './index.vue2.js';
2
+ import './index.vue3.js';
3
+ import normalizeComponent from '../node_modules/vue-runtime-helpers/dist/normalize-component.js';
4
+
5
+ /* script */
6
+ var __vue_script__ = script;
7
+ /* template */
8
+
9
+ /* style */
10
+ var __vue_inject_styles__ = undefined;
11
+ /* scoped */
12
+ var __vue_scope_id__ = "data-v-b94e832a";
13
+ /* module identifier */
14
+ var __vue_module_identifier__ = undefined;
15
+ /* functional template */
16
+ var __vue_is_functional_template__ = undefined;
17
+ /* style inject */
18
+
19
+ /* style inject SSR */
20
+
21
+ /* style inject shadow dom */
22
+
23
+ var __vue_component__ = /*#__PURE__*/normalizeComponent({}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
24
+ var SlForm = __vue_component__;
25
+
26
+ export { SlForm as default };
@@ -0,0 +1,433 @@
1
+ import { objectSpread2 as _objectSpread2, asyncToGenerator as _asyncToGenerator, regenerator as _regenerator } from '../_virtual/_rollupPluginBabelHelpers.js';
2
+ import { hasKey, typeOf, filterKey, transformName } from '../utils/index.js';
3
+ import EL from 'element-ui';
4
+ import mixinRender from './mixinRender.js';
5
+
6
+ var script = {
7
+ name: 'SlForm',
8
+ mixins: [mixinRender],
9
+ props: {
10
+ value: {
11
+ type: Object,
12
+ default: function _default() {
13
+ return {};
14
+ }
15
+ },
16
+ itemWidth: {
17
+ type: String,
18
+ default: ''
19
+ },
20
+ data: {
21
+ type: Array,
22
+ default: function _default() {
23
+ return [];
24
+ }
25
+ },
26
+ showlabel: {
27
+ type: Boolean,
28
+ default: true
29
+ },
30
+ drawer: {
31
+ type: Boolean,
32
+ default: false
33
+ },
34
+ // 开启抽屉模式
35
+ formProps: {
36
+ type: Object,
37
+ default: function _default() {
38
+ return {
39
+ inline: true
40
+ };
41
+ }
42
+ },
43
+ formItemProps: {
44
+ type: Object,
45
+ default: function _default() {
46
+ return {};
47
+ }
48
+ },
49
+ pipe: {
50
+ type: Object,
51
+ default: function _default() {
52
+ return {};
53
+ }
54
+ },
55
+ // 动态管道
56
+ freeData: {
57
+ type: Object,
58
+ default: function _default() {
59
+ return {};
60
+ }
61
+ },
62
+ // 游离的数据(将会合并到form一起返回)
63
+ initItem: {
64
+ type: Function,
65
+ default: function _default() {}
66
+ } // 初始化item的值
67
+ },
68
+ data: function data() {
69
+ var state = this.formateState();
70
+ return _objectSpread2(_objectSpread2({}, state), {}, {
71
+ isDrawerOpen: true,
72
+ boxHeight: 'auto',
73
+ firstitemHeight: '0',
74
+ selectOptions: {},
75
+ // 实时渲染的selectOptions
76
+ selectAllOptions: {},
77
+ // 初始化好的Select的Options
78
+ aggGameId: '123456'
79
+ });
80
+ },
81
+ mounted: function mounted() {
82
+ // console.log('mounted', this.form)
83
+ this.$emit('input', this.form);
84
+ this.initFirstHieght();
85
+ },
86
+ methods: {
87
+ // 重置
88
+ reset: function reset() {
89
+ var _JSON$parse = JSON.parse(JSON.stringify(this.catchInitValueData)),
90
+ form = _JSON$parse.form,
91
+ transfer = _JSON$parse.transfer;
92
+ this.form = form;
93
+ this.transfer = transfer;
94
+ this.$emit('input', this.form);
95
+ },
96
+ initFirstHieght: function initFirstHieght() {
97
+ var _ref = (this.$refs.firstItem || {}).$el || {},
98
+ _ref$offsetHeight = _ref.offsetHeight,
99
+ offsetHeight = _ref$offsetHeight === void 0 ? 0 : _ref$offsetHeight;
100
+ this.firstitemHeight = offsetHeight + 20 + 'px';
101
+ },
102
+ formateState: function formateState() {
103
+ var _this = this;
104
+ var _this$$props = this.$props,
105
+ data = _this$$props.data,
106
+ freeData = _this$$props.freeData;
107
+ var form = _objectSpread2({}, freeData);
108
+ var transfer = {};
109
+ var initData = data.reduce(function (pre, item) {
110
+ // debugger
111
+ if (hasKey(item, ['model', 'type'])) {
112
+ !item.props && (item.props = {});
113
+ item = _this.initItem(item) || item;
114
+ var _item = item,
115
+ callback = _item.callback,
116
+ model = _item.model,
117
+ value = _item.value;
118
+ var dispersed = typeOf(callback, 'function'); // 是否离散键(拆分model键)
119
+
120
+ var target = dispersed ? transfer : form; //
121
+ var valueSource = target[model] !== undefined ? target[model] : _this.$props.value[model] !== undefined ? _this.$props.value[model] : value !== undefined ? value : '';
122
+ if (dispersed) {
123
+ var res = callback(valueSource || '') || {};
124
+ Object.keys(res).forEach(function (key) {
125
+ res[key] === undefined && (res[key] = '');
126
+ // console.log(!hasKey(form, [key]), "form[key],", form, key, [key])
127
+ !hasKey(form, [key]) && (form[key] = res[key] || '');
128
+ });
129
+ }
130
+ // console.log(valueSource, "valueSource", !hasKey(target, [model]))
131
+ !hasKey(target, [model]) && (target[model] = valueSource);
132
+ pre.push(item);
133
+ // if (item.show === undefined || item.show === null) pre.push(item)
134
+ // else if (typeOf(item.show, 'function') && item.show()) pre.push(item)
135
+ // else if (typeOf(item.show, 'boolean') && item.show) pre.push(item)
136
+ }
137
+ return pre;
138
+ }, []);
139
+
140
+ // console.log(initData, "initData")
141
+ setTimeout(function () {
142
+ // 初始化后再watch
143
+ initData.forEach(function () {
144
+ return _this.watchValue.apply(_this, arguments);
145
+ });
146
+ });
147
+ // const aaa = {
148
+ // form,
149
+ // transfer,
150
+ // initData,
151
+ // catchInitValueData: {
152
+ // form: JSON.parse(JSON.stringify(form)),
153
+ // transfer: JSON.parse(JSON.stringify(transfer))
154
+ // }
155
+ // }
156
+ // console.log(aaa, "zxckxzcnxzkjc")
157
+ return {
158
+ form: form,
159
+ transfer: transfer,
160
+ initData: initData,
161
+ catchInitValueData: {
162
+ form: JSON.parse(JSON.stringify(form)),
163
+ transfer: JSON.parse(JSON.stringify(transfer))
164
+ }
165
+ };
166
+ },
167
+ // 联动变化监听
168
+ watchValue: function watchValue(item, i, ary) {
169
+ var callback = item.callback,
170
+ model = item.model,
171
+ linkSet = item.linkSet;
172
+ if (typeOf(linkSet, 'function')) {
173
+ var dispersed = typeOf(callback, 'function');
174
+ var target = dispersed ? this.transfer : this.form;
175
+ var targetstr = dispersed ? 'transfer' : 'form';
176
+ var watchCallback = /*#__PURE__*/function () {
177
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(val) {
178
+ var _this2 = this;
179
+ var getInfo, _t;
180
+ return _regenerator().w(function (_context) {
181
+ while (1) switch (_context.n) {
182
+ case 0:
183
+ _context.n = 1;
184
+ return linkSet(val || '');
185
+ case 1:
186
+ _t = _context.v;
187
+ if (_t) {
188
+ _context.n = 2;
189
+ break;
190
+ }
191
+ _t = {};
192
+ case 2:
193
+ getInfo = _t;
194
+ if (!Array.isArray(getInfo)) {
195
+ getInfo = [getInfo];
196
+ }
197
+ getInfo.forEach(function (setItem) {
198
+ _this2.$set(_this2.selectOptions, setItem.model, setItem.options || []);
199
+ var nextItem = {};
200
+ var tindex = ary.findIndex(function (item1) {
201
+ var flag = item1.model === setItem.model;
202
+ flag && (nextItem = item1);
203
+ return flag;
204
+ });
205
+ console.log('watchCallback', setItem, nextItem, ary, tindex, '----', _this2.initData);
206
+ var nextTarget = typeOf(nextItem.callback, 'function') ? _this2.transfer : _this2.form;
207
+ hasKey(setItem, 'value') && (nextTarget[setItem.model] = setItem.value);
208
+ tindex !== -1 && _this2.$set(ary, tindex, Object.assign(ary[tindex], setItem));
209
+ console.log('watchCallback22222', _this2.initData, ary);
210
+ // this.initData = ary.filter((item) => {
211
+ // console.log('watchCallback44444', item)
212
+ // if ((item.show === undefined || item.show === null) || (typeOf(item.show, 'function') && item.show()) || (typeOf(item.show, 'boolean') && item.show)) {
213
+ // nextTarget[setItem.model] = ''
214
+ // return true
215
+ // }
216
+ // return false
217
+ // })
218
+ console.log('watchCallback333333', _this2.initData);
219
+ });
220
+ case 3:
221
+ return _context.a(2);
222
+ }
223
+ }, _callee);
224
+ }));
225
+ return function watchCallback(_x) {
226
+ return _ref2.apply(this, arguments);
227
+ };
228
+ }();
229
+ this.$watch("".concat(targetstr, ".").concat(model), watchCallback);
230
+ watchCallback.call(this, target[model]); // 首次进行绑定执行
231
+ }
232
+ },
233
+ fomateValue: function fomateValue(item) {
234
+ var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : item.value;
235
+ var callback = item.callback;
236
+ console.log('fomateValue', typeOf(callback, 'function'), this.form);
237
+ if (typeOf(callback, 'function')) {
238
+ this.transfer[item.model] = value;
239
+ var res = callback(value || '') || {};
240
+ // console.log(res, 'res')
241
+ Object.keys(res).forEach(function (key) {
242
+ res[key] === undefined && (res[key] = '');
243
+ });
244
+ Object.assign(this.form, res);
245
+ console.log(this.form, 'this.form');
246
+ } else {
247
+ if (item.type === 'input') {
248
+ this.form[item.model] = value.replace(/^[ \t]+|[ \t]+$/g, '');
249
+ } else {
250
+ this.form[item.model] = value;
251
+ }
252
+ }
253
+ },
254
+ validate: function validate() {
255
+ return this.$refs.form.validate();
256
+ },
257
+ // 提交表单
258
+ submit: function submit() {
259
+ var _this3 = this;
260
+ return new Promise(function (res, rej) {
261
+ _this3.$refs.form.validate(function (isOk, msg) {
262
+ if (isOk) {
263
+ res(_this3.form);
264
+ } else {
265
+ rej(msg);
266
+ }
267
+ });
268
+ });
269
+ },
270
+ setItemValue: function setItemValue(item) {
271
+ var target = item.callback ? this.transfer : this.form;
272
+ target[item.model] = item.value;
273
+ },
274
+ initCommonProps: function initCommonProps(item) {
275
+ var _this4 = this;
276
+ var filters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
277
+ var privateProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
278
+ var privateAttrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
279
+ item.callback ? this.transfer : this.form;
280
+ // console.log('initCommonProps', item, target, this.value, item.callback ? '1' : '2', this.form)
281
+ // this.form[item.model] = ''
282
+ // console.log(this.form, 'this.form111', filterKey(item.props, filters), privateProps)
283
+ var _this$$props2 = this.$props,
284
+ itemWidth = _this$$props2.itemWidth,
285
+ showlabel = _this$$props2.showlabel;
286
+ return {
287
+ style: "width:".concat(showlabel ? '100%' : item.width || itemWidth, ";").concat(item.style),
288
+ props: Object.assign({
289
+ value: this.form[item.model],
290
+ clearable: true,
291
+ filterable: true,
292
+ placeholder: showlabel ? '请输入' + item.label : item.label
293
+ }, filterKey(item.props, filters), privateProps),
294
+ attrs: _objectSpread2({
295
+ placeholder: showlabel ? '请输入' + item.label : item.label
296
+ }, privateAttrs),
297
+ on: {
298
+ input: function input(value) {
299
+ _this4.fomateValue(item, value);
300
+ }
301
+ }
302
+ };
303
+ },
304
+ initOptions: function initOptions(item) {
305
+ var _this5 = this;
306
+ if (item.asycnOptions && typeOf(item.asycnOptions, 'function')) {
307
+ // console.log(item.asycnOptions, 'it-----em')
308
+ item.asycnOptions().then(function (result) {
309
+ // console.log(result, "result")
310
+ _this5.$set(_this5.selectOptions, item.model, result || []);
311
+ });
312
+ } else {
313
+ this.$set(this.selectOptions, item.model, item.options || []);
314
+ }
315
+ }
316
+ },
317
+ created: function created() {
318
+ var _this6 = this;
319
+ this.initData.forEach(function (item) {
320
+ if (['select', 'checkbox', 'radio'].includes(item.type)) {
321
+ _this6.initOptions(item);
322
+ }
323
+ });
324
+ },
325
+ render: function render(ce) {
326
+ var _this7 = this;
327
+ var _this$$props3 = this.$props,
328
+ showlabel = _this$$props3.showlabel,
329
+ itemWidth = _this$$props3.itemWidth,
330
+ drawer = _this$$props3.drawer;
331
+ // console.log('render', this.initData)
332
+ var updateInitData = this.initData.filter(function (item) {
333
+ if (item.show === undefined || item.show === null || typeOf(item.show, 'function') && item.show() || typeOf(item.show, 'boolean') && item.show) {
334
+ return true;
335
+ }
336
+ return false;
337
+ });
338
+ var formItems = updateInitData.map(function (item, ii) {
339
+ var _label = item.label,
340
+ model = item.model,
341
+ rules = item.rules,
342
+ type = item.type,
343
+ width = item.width,
344
+ labelTips = item.labelTips;
345
+ if (type === 'title') {
346
+ return _this7.renderTitle(ce, item);
347
+ }
348
+ // console.log(item, "itexxxxxxm", this)
349
+ if (type === 'slot' && item.slotName && _this7.$slots[item.slotName]) {
350
+ return ce('div', {
351
+ class: 'yl-form-slot-container',
352
+ style: item.style || ''
353
+ }, _this7.$slots[item.slotName]);
354
+ }
355
+ var itemBody = [_this7["render".concat(transformName(type))](ce, item)];
356
+ var itemClass = "yl-form-item ".concat(showlabel ? '' : 'yl-form-fullitem', " ").concat(item.className || '');
357
+ // if (!showlabel) {
358
+ // itemBody.unshift(ce('div', { class: 'yl-i-lebel' }, label))
359
+ // itemClass += 'yl-form-item-grid'
360
+ // }
361
+ if (item.rules && item.rules.find(function (_ref3) {
362
+ var required = _ref3.required;
363
+ return required;
364
+ }) && !showlabel) {
365
+ itemBody.unshift(ce('span', {
366
+ class: 'yl-r-icon'
367
+ }, '*'));
368
+ }
369
+ var itemSet = {
370
+ class: itemClass,
371
+ style: "width:".concat(width || itemWidth, ";").concat(item.style),
372
+ props: Object.assign({
373
+ label: showlabel ? _label : '',
374
+ prop: model,
375
+ rules: rules
376
+ }, _this7.formItemProps),
377
+ scopedSlots: {
378
+ label: function label() {
379
+ return ce('span', {
380
+ style: 'label-container'
381
+ }, [labelTips ? ce('el-tooltip', {
382
+ props: {
383
+ content: labelTips,
384
+ placement: 'top'
385
+ }
386
+ }, [ce('i', {
387
+ class: 'el-icon-info'
388
+ }, [])]) : '', ce('span', {
389
+ class: 'item-label',
390
+ domProps: {
391
+ title: _label
392
+ },
393
+ style: 'margin-left: 5px;'
394
+ }, _label + ':')]);
395
+ }
396
+ }
397
+ };
398
+ ii === 0 && (itemSet.ref = 'firstItem');
399
+ var ft = ce(EL.FormItem, itemSet, itemBody);
400
+ return ft;
401
+ });
402
+ // console.log(this, "this.$scopedSlots.default")
403
+ if (this.$slots.default || drawer) {
404
+ var element = [];
405
+ // this.$slots.default &&
406
+ // element.push(this.$slots.default(this.form))
407
+ drawer && element.push(this.renderDrawer(ce));
408
+ formItems.push(ce('div', {
409
+ class: "yl-form-drawericon ".concat(this.isDrawerOpen ? '' : 'yl-form-drawericon-float')
410
+ }, this.$slots.default));
411
+ }
412
+ // console.log(this.formProps, "this.formProps")
413
+ return ce(EL.Form, {
414
+ class: {
415
+ 'yl-form-box': true,
416
+ 'yl-form-box-shrink': !this.isDrawerOpen,
417
+ 'yl-form-box-inline': this.formProps.inline
418
+ },
419
+ style: "height:".concat(this.boxHeight),
420
+ props: Object.assign({
421
+ model: this.form
422
+ }, this.formProps),
423
+ ref: 'form',
424
+ nativeOn: {
425
+ submit: function submit(e) {
426
+ return e.preventDefault();
427
+ }
428
+ }
429
+ }, formItems);
430
+ }
431
+ };
432
+
433
+ export { script as default };
@@ -0,0 +1,6 @@
1
+ import styleInject from '../node_modules/style-inject/dist/style-inject.es.js';
2
+
3
+ var css_248z = ".yl-form-item{align-items:center;display:flex}::v-deep .el-form-item__content{display:flex;flex:1;margin:0!important}.yl-form-fullitem .el-form-item__content{flex:1}.yl-form-item{display:inline-flex!important}.yl-form-item .yl-form-item-grid .el-form-item__content{font-size:0}.content-box{background-color:hsla(0,0%,100%,.5);box-shadow:0 0 5px #dfdede;height:100%;padding:10px;position:absolute;right:0;top:0}.item-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;width:auto}.yl-form-box-shrink{background-color:#f1f1f1;overflow:hidden;padding:10px}.yl-form-drawericon{display:inline-block;vertical-align:top}.yl-form-drawericon-float{background-image:linear-gradient(270deg,#ffa140,hsla(0,0%,100%,0));opacity:.9;padding:10px 10px 10px 80px;position:absolute;right:0;top:0;z-index:10}.yl-i-lebel{background-color:#979797;border-radius:4px 4px 0 0;border-radius:0 4px 0 10px;color:#fff;font-size:12px;line-height:12px;padding:2px 8px 4px 10px;right:0;top:0;transform:scale(.8);transform-origin:100% 0;width:auto}.yl-i-lebel,.yl-r-icon{position:absolute;z-index:5}.yl-r-icon{color:red;left:0;line-height:35px;padding:5px;top:50%;transform:translateY(-50%)}.yl-form-slider{border:1px solid #dcdfe6;border-radius:4px;display:flex;line-height:35px;padding:0 20px 0 10px}.yl-form-slider-span{color:#c0c4cc;padding-right:15px}.yl-form-box{border-radius:4px;position:relative;transition:all .2s ease-out;white-space:normal}.yl-form-item{position:relative;white-space:nowrap}.yl-form-range-input{border:1px solid #dcdfe6;border-radius:4px;padding:0 10px}.yl-form-range-input input{border:none;border-radius:4px;height:100%;outline:none;padding:7px;text-align:center;width:70px}.yl-form-range-input input::placeholder{color:#c0c4cc}.el-radio{margin-bottom:0!important}";
4
+ styleInject(css_248z);
5
+
6
+ export { css_248z as default };