nubomed-ui 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
package/nubomed-ui.umd.js CHANGED
@@ -264,7 +264,7 @@ module.exports = function (i) {
264
264
 
265
265
  /***/ }),
266
266
 
267
- /***/ 4875:
267
+ /***/ 6216:
268
268
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
269
269
 
270
270
  "use strict";
@@ -273,10 +273,10 @@ __webpack_require__.r(__webpack_exports__);
273
273
 
274
274
  // EXPORTS
275
275
  __webpack_require__.d(__webpack_exports__, {
276
- "default": function() { return /* binding */ components_NBBottomActionBar; }
276
+ "default": function() { return /* binding */ NBBottomActionBar; }
277
277
  });
278
278
 
279
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBottomActionBar/index.vue?vue&type=template&id=af624e72&scoped=true
279
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBottomActionBar/src/index.vue?vue&type=template&id=0a727022&scoped=true
280
280
  var render = function render() {
281
281
  var _vm = this,
282
282
  _c = _vm._self._c;
@@ -293,15 +293,15 @@ var render = function render() {
293
293
  attrs: {
294
294
  "src": __webpack_require__(3875)
295
295
  }
296
- }) : _vm._e(), _vm.icon === 'error' ? _c('svg-icon', {
296
+ }) : _vm._e(), _vm.icon === 'success' ? _c('img', {
297
297
  staticClass: "nb-bottom-action-bar__icon",
298
298
  attrs: {
299
- "icon-class": 'check_error'
299
+ "src": __webpack_require__(584)
300
300
  }
301
- }) : _vm._e(), _vm.icon === 'success' ? _c('svg-icon', {
301
+ }) : _vm._e(), _vm.icon === 'error' ? _c('img', {
302
302
  staticClass: "nb-bottom-action-bar__icon",
303
303
  attrs: {
304
- "icon-class": 'check_success'
304
+ "src": __webpack_require__(5907)
305
305
  }
306
306
  }) : _vm._e(), _vm._t("left", function () {
307
307
  return [_c('span', {
@@ -316,10 +316,10 @@ var render = function render() {
316
316
  };
317
317
  var staticRenderFns = [];
318
318
 
319
- ;// ./packages/components/NBBottomActionBar/index.vue?vue&type=template&id=af624e72&scoped=true
319
+ ;// ./packages/components/NBBottomActionBar/src/index.vue?vue&type=template&id=0a727022&scoped=true
320
320
 
321
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBottomActionBar/index.vue?vue&type=script&lang=js
322
- /* harmony default export */ var NBBottomActionBarvue_type_script_lang_js = ({
321
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBBottomActionBar/src/index.vue?vue&type=script&lang=js
322
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
323
323
  name: 'NBBottomActionBar',
324
324
  props: {
325
325
  // 类型:success 检测正常 / info 正常操作提示 / loading 检测中 / error 检测异常 / tips 提示语
@@ -329,7 +329,7 @@ var staticRenderFns = [];
329
329
  },
330
330
  // 文字
331
331
  text: {
332
- type: String,
332
+ type: [String],
333
333
  default: ''
334
334
  },
335
335
  // 固定位置:bottom 底部
@@ -339,11 +339,11 @@ var staticRenderFns = [];
339
339
  }
340
340
  }
341
341
  });
342
- ;// ./packages/components/NBBottomActionBar/index.vue?vue&type=script&lang=js
343
- /* harmony default export */ var components_NBBottomActionBarvue_type_script_lang_js = (NBBottomActionBarvue_type_script_lang_js);
342
+ ;// ./packages/components/NBBottomActionBar/src/index.vue?vue&type=script&lang=js
343
+ /* harmony default export */ var NBBottomActionBar_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
344
344
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
345
345
  var componentNormalizer = __webpack_require__(1656);
346
- ;// ./packages/components/NBBottomActionBar/index.vue
346
+ ;// ./packages/components/NBBottomActionBar/src/index.vue
347
347
 
348
348
 
349
349
 
@@ -352,35 +352,35 @@ var componentNormalizer = __webpack_require__(1656);
352
352
  /* normalize component */
353
353
  ;
354
354
  var component = (0,componentNormalizer/* default */.A)(
355
- components_NBBottomActionBarvue_type_script_lang_js,
355
+ NBBottomActionBar_srcvue_type_script_lang_js,
356
356
  render,
357
357
  staticRenderFns,
358
358
  false,
359
359
  null,
360
- "af624e72",
360
+ "0a727022",
361
361
  null
362
362
 
363
363
  )
364
364
 
365
- /* harmony default export */ var NBBottomActionBar = (component.exports);
365
+ /* harmony default export */ var src = (component.exports);
366
366
  ;// ./packages/components/NBBottomActionBar/index.js
367
367
  /*
368
368
  * @Author: chenghuan.dong
369
369
  * @Date: 2024-11-11 19:58:31
370
- * @LastEditTime: 2024-11-11 19:58:48
370
+ * @LastEditTime: 2024-11-12 09:57:29
371
371
  * @LastEditors: chenghuan.dong
372
- * @Description:
372
+ * @Description:
373
373
  * @FilePath: \nubomed-ui\packages\components\NBBottomActionBar\index.js
374
374
  */
375
375
 
376
- NBBottomActionBar.install = function (Vue) {
377
- Vue.component('nb-bottom-action-bar', NBBottomActionBar);
376
+ src.install = function (Vue) {
377
+ Vue.component('nb-bottom-action-bar', src);
378
378
  };
379
- /* harmony default export */ var components_NBBottomActionBar = (NBBottomActionBar);
379
+ /* harmony default export */ var NBBottomActionBar = (src);
380
380
 
381
381
  /***/ }),
382
382
 
383
- /***/ 8538:
383
+ /***/ 5864:
384
384
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
385
385
 
386
386
  "use strict";
@@ -392,32 +392,17 @@ __webpack_require__.d(__webpack_exports__, {
392
392
  "default": function() { return /* binding */ NBEmpty; }
393
393
  });
394
394
 
395
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBEmpty/src/index.vue?vue&type=template&id=148fd2b6
395
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBEmpty/src/index.vue?vue&type=template&id=ca7e3928
396
396
  var render = function render() {
397
397
  var _vm = this,
398
398
  _c = _vm._self._c;
399
399
  return _c('div', {
400
400
  staticClass: "nb-empty",
401
401
  class: [`nb-empty--${_vm.size}`, _vm.center ? 'nb-empty--center' : '']
402
- }, [_vm.icon === 'none' ? _c('img', {
403
- staticClass: "nb-empty__icon",
404
- attrs: {
405
- "src": "/packages/images/empty-none.png"
406
- }
407
- }) : _vm._e(), _vm.icon === 'search' ? _c('img', {
408
- staticClass: "nb-empty__icon",
409
- attrs: {
410
- "src": __webpack_require__(6274)
411
- }
412
- }) : _vm._e(), _vm.icon === 'error' ? _c('img', {
402
+ }, [_vm.icon ? _c('img', {
413
403
  staticClass: "nb-empty__icon",
414
404
  attrs: {
415
- "src": __webpack_require__(530)
416
- }
417
- }) : _vm._e(), _vm.icon === 'scan' ? _c('img', {
418
- staticClass: "nb-empty__icon",
419
- attrs: {
420
- "src": __webpack_require__(1069)
405
+ "src": __webpack_require__(2553)(`./empty-${_vm.icon}.png`)
421
406
  }
422
407
  }) : _vm._e(), _vm.text ? _c('div', {
423
408
  staticClass: "nb-empty__text"
@@ -427,7 +412,7 @@ var render = function render() {
427
412
  };
428
413
  var staticRenderFns = [];
429
414
 
430
- ;// ./packages/components/NBEmpty/src/index.vue?vue&type=template&id=148fd2b6
415
+ ;// ./packages/components/NBEmpty/src/index.vue?vue&type=template&id=ca7e3928
431
416
 
432
417
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBEmpty/src/index.vue?vue&type=script&lang=js
433
418
  /* harmony default export */ var srcvue_type_script_lang_js = ({
@@ -2481,8 +2466,8 @@ function applyToTag (styleElement, obj) {
2481
2466
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2482
2467
 
2483
2468
  var map = {
2484
- "./NBBottomActionBar/index.js": 4875,
2485
- "./NBEmpty/index.js": 8538,
2469
+ "./NBBottomActionBar/index.js": 6216,
2470
+ "./NBEmpty/index.js": 5864,
2486
2471
  "./NBHeader/index.js": 2309,
2487
2472
  "./NBPagination/index.js": 9165,
2488
2473
  "./NBTag/index.js": 7996,
@@ -2511,6 +2496,54 @@ webpackContext.id = 2162;
2511
2496
 
2512
2497
  /***/ }),
2513
2498
 
2499
+ /***/ 2553:
2500
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2501
+
2502
+ var map = {
2503
+ "./empty-error.png": 530,
2504
+ "./empty-none.png": 6364,
2505
+ "./empty-scan.png": 1069,
2506
+ "./empty-search.png": 6274
2507
+ };
2508
+
2509
+
2510
+ function webpackContext(req) {
2511
+ var id = webpackContextResolve(req);
2512
+ return __webpack_require__(id);
2513
+ }
2514
+ function webpackContextResolve(req) {
2515
+ if(!__webpack_require__.o(map, req)) {
2516
+ var e = new Error("Cannot find module '" + req + "'");
2517
+ e.code = 'MODULE_NOT_FOUND';
2518
+ throw e;
2519
+ }
2520
+ return map[req];
2521
+ }
2522
+ webpackContext.keys = function webpackContextKeys() {
2523
+ return Object.keys(map);
2524
+ };
2525
+ webpackContext.resolve = webpackContextResolve;
2526
+ module.exports = webpackContext;
2527
+ webpackContext.id = 2553;
2528
+
2529
+ /***/ }),
2530
+
2531
+ /***/ 5907:
2532
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2533
+
2534
+ "use strict";
2535
+ module.exports = __webpack_require__.p + "img/check-error.509b7a84.svg";
2536
+
2537
+ /***/ }),
2538
+
2539
+ /***/ 584:
2540
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2541
+
2542
+ "use strict";
2543
+ module.exports = __webpack_require__.p + "img/check-success.cbd442a6.svg";
2544
+
2545
+ /***/ }),
2546
+
2514
2547
  /***/ 530:
2515
2548
  /***/ (function(module) {
2516
2549
 
@@ -2519,6 +2552,14 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAMAAAD8
2519
2552
 
2520
2553
  /***/ }),
2521
2554
 
2555
+ /***/ 6364:
2556
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2557
+
2558
+ "use strict";
2559
+ module.exports = __webpack_require__.p + "img/empty-none.4b2f6d4c.png";
2560
+
2561
+ /***/ }),
2562
+
2522
2563
  /***/ 1069:
2523
2564
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2524
2565