@panpanzhao/component-ui 0.0.1 → 0.0.3
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/component-ui.common.js +2882 -79
- package/lib/components/crud.js +426 -85
- package/lib/components/form-dialog.js +385 -52
- package/lib/components/form-group.js +43 -43
- package/lib/components/form-input.js +61 -49
- package/lib/components/form-item.js +8 -8
- package/lib/components/form-view-dialog.js +380 -47
- package/lib/components/form-view-group.js +37 -37
- package/lib/components/form-view.js +13 -12
- package/lib/components/form.js +19 -18
- package/lib/components/formula.js +2655 -0
- package/lib/components/table-column.js +14 -14
- package/lib/components/table-editable.js +16 -16
- package/lib/components/table-search.js +10 -10
- package/lib/components/table.js +12 -12
- package/lib/index.js +1 -1
- package/lib/styles/code-mirror.css +1 -0
- package/lib/styles/component-ui.css +6 -1
- package/lib/styles/crud.css +0 -0
- package/lib/styles/dialog.css +1 -0
- package/lib/styles/form-dialog.css +0 -0
- package/lib/styles/form-group.css +0 -0
- package/lib/styles/form-input.css +0 -0
- package/lib/styles/form-item.css +0 -0
- package/lib/styles/form-view-dialog.css +0 -0
- package/lib/styles/form-view-group.css +0 -0
- package/lib/styles/form-view.css +0 -0
- package/lib/styles/formula.css +6 -0
- package/lib/styles/index.css +6 -1
- package/lib/styles/table-column.css +0 -0
- package/lib/styles/table-search.css +0 -0
- package/lib/utils/formula/doc.js +1547 -0
- package/lib/utils/formula/evalutor.js +17 -17
- package/lib/utils/helper.js +48 -0
- package/package.json +3 -3
|
@@ -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 = 10);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -194,7 +194,7 @@ function normalizeComponent(
|
|
|
194
194
|
/* 2 */
|
|
195
195
|
/***/ (function(module, exports) {
|
|
196
196
|
|
|
197
|
-
module.exports = require("component-ui/lib/utils/formula");
|
|
197
|
+
module.exports = require("@panpanzhao/component-ui/lib/utils/formula");
|
|
198
198
|
|
|
199
199
|
/***/ }),
|
|
200
200
|
/* 3 */
|
|
@@ -205,7 +205,11 @@ module.exports = require("lodash");
|
|
|
205
205
|
/***/ }),
|
|
206
206
|
/* 4 */,
|
|
207
207
|
/* 5 */,
|
|
208
|
-
/* 6
|
|
208
|
+
/* 6 */,
|
|
209
|
+
/* 7 */,
|
|
210
|
+
/* 8 */,
|
|
211
|
+
/* 9 */,
|
|
212
|
+
/* 10 */
|
|
209
213
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
210
214
|
|
|
211
215
|
"use strict";
|
|
@@ -262,14 +266,14 @@ render._withStripped = true
|
|
|
262
266
|
// CONCATENATED MODULE: ./src/components/form-view/src/index.vue?vue&type=template&id=82a59c42&
|
|
263
267
|
|
|
264
268
|
// EXTERNAL MODULE: external "element-ui/lib/descriptions"
|
|
265
|
-
var descriptions_ = __webpack_require__(
|
|
269
|
+
var descriptions_ = __webpack_require__(17);
|
|
266
270
|
var descriptions_default = /*#__PURE__*/__webpack_require__.n(descriptions_);
|
|
267
271
|
|
|
268
272
|
// EXTERNAL MODULE: external "element-ui/lib/descriptions-item"
|
|
269
|
-
var descriptions_item_ = __webpack_require__(
|
|
273
|
+
var descriptions_item_ = __webpack_require__(18);
|
|
270
274
|
var descriptions_item_default = /*#__PURE__*/__webpack_require__.n(descriptions_item_);
|
|
271
275
|
|
|
272
|
-
// EXTERNAL MODULE: external "component-ui/lib/utils/formula"
|
|
276
|
+
// EXTERNAL MODULE: external "@panpanzhao/component-ui/lib/utils/formula"
|
|
273
277
|
var formula_ = __webpack_require__(2);
|
|
274
278
|
|
|
275
279
|
// EXTERNAL MODULE: external "lodash"
|
|
@@ -385,22 +389,19 @@ src.install = function (Vue) {
|
|
|
385
389
|
/* harmony default export */ var form_view = __webpack_exports__["default"] = (src);
|
|
386
390
|
|
|
387
391
|
/***/ }),
|
|
388
|
-
/* 7 */,
|
|
389
|
-
/* 8 */,
|
|
390
|
-
/* 9 */,
|
|
391
|
-
/* 10 */,
|
|
392
392
|
/* 11 */,
|
|
393
393
|
/* 12 */,
|
|
394
394
|
/* 13 */,
|
|
395
395
|
/* 14 */,
|
|
396
396
|
/* 15 */,
|
|
397
|
-
/* 16
|
|
397
|
+
/* 16 */,
|
|
398
|
+
/* 17 */
|
|
398
399
|
/***/ (function(module, exports) {
|
|
399
400
|
|
|
400
401
|
module.exports = require("element-ui/lib/descriptions");
|
|
401
402
|
|
|
402
403
|
/***/ }),
|
|
403
|
-
/*
|
|
404
|
+
/* 18 */
|
|
404
405
|
/***/ (function(module, exports) {
|
|
405
406
|
|
|
406
407
|
module.exports = require("element-ui/lib/descriptions-item");
|
package/lib/components/form.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 = 9);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -194,12 +194,16 @@ function normalizeComponent(
|
|
|
194
194
|
/* 2 */
|
|
195
195
|
/***/ (function(module, exports) {
|
|
196
196
|
|
|
197
|
-
module.exports = require("component-ui/lib/utils/formula");
|
|
197
|
+
module.exports = require("@panpanzhao/component-ui/lib/utils/formula");
|
|
198
198
|
|
|
199
199
|
/***/ }),
|
|
200
200
|
/* 3 */,
|
|
201
201
|
/* 4 */,
|
|
202
|
-
/* 5
|
|
202
|
+
/* 5 */,
|
|
203
|
+
/* 6 */,
|
|
204
|
+
/* 7 */,
|
|
205
|
+
/* 8 */,
|
|
206
|
+
/* 9 */
|
|
203
207
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
204
208
|
|
|
205
209
|
"use strict";
|
|
@@ -277,22 +281,22 @@ render._withStripped = true
|
|
|
277
281
|
// CONCATENATED MODULE: ./src/components/form/src/form.vue?vue&type=template&id=42f43bc0&
|
|
278
282
|
|
|
279
283
|
// EXTERNAL MODULE: external "element-ui/lib/form"
|
|
280
|
-
var form_ = __webpack_require__(
|
|
284
|
+
var form_ = __webpack_require__(13);
|
|
281
285
|
var form_default = /*#__PURE__*/__webpack_require__.n(form_);
|
|
282
286
|
|
|
283
287
|
// EXTERNAL MODULE: external "element-ui/lib/row"
|
|
284
|
-
var row_ = __webpack_require__(
|
|
288
|
+
var row_ = __webpack_require__(14);
|
|
285
289
|
var row_default = /*#__PURE__*/__webpack_require__.n(row_);
|
|
286
290
|
|
|
287
291
|
// EXTERNAL MODULE: external "element-ui/lib/col"
|
|
288
|
-
var col_ = __webpack_require__(
|
|
292
|
+
var col_ = __webpack_require__(15);
|
|
289
293
|
var col_default = /*#__PURE__*/__webpack_require__.n(col_);
|
|
290
294
|
|
|
291
|
-
// EXTERNAL MODULE: external "component-ui/lib/components/form-item"
|
|
292
|
-
var form_item_ = __webpack_require__(
|
|
295
|
+
// EXTERNAL MODULE: external "@panpanzhao/component-ui/lib/components/form-item"
|
|
296
|
+
var form_item_ = __webpack_require__(16);
|
|
293
297
|
var form_item_default = /*#__PURE__*/__webpack_require__.n(form_item_);
|
|
294
298
|
|
|
295
|
-
// EXTERNAL MODULE: external "component-ui/lib/utils/formula"
|
|
299
|
+
// EXTERNAL MODULE: external "@panpanzhao/component-ui/lib/utils/formula"
|
|
296
300
|
var formula_ = __webpack_require__(2);
|
|
297
301
|
|
|
298
302
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/form.vue?vue&type=script&lang=js&
|
|
@@ -462,34 +466,31 @@ src_form.install = function (Vue) {
|
|
|
462
466
|
/* harmony default export */ var components_form = __webpack_exports__["default"] = (src_form);
|
|
463
467
|
|
|
464
468
|
/***/ }),
|
|
465
|
-
/* 6 */,
|
|
466
|
-
/* 7 */,
|
|
467
|
-
/* 8 */,
|
|
468
|
-
/* 9 */,
|
|
469
469
|
/* 10 */,
|
|
470
470
|
/* 11 */,
|
|
471
|
-
/* 12
|
|
471
|
+
/* 12 */,
|
|
472
|
+
/* 13 */
|
|
472
473
|
/***/ (function(module, exports) {
|
|
473
474
|
|
|
474
475
|
module.exports = require("element-ui/lib/form");
|
|
475
476
|
|
|
476
477
|
/***/ }),
|
|
477
|
-
/*
|
|
478
|
+
/* 14 */
|
|
478
479
|
/***/ (function(module, exports) {
|
|
479
480
|
|
|
480
481
|
module.exports = require("element-ui/lib/row");
|
|
481
482
|
|
|
482
483
|
/***/ }),
|
|
483
|
-
/*
|
|
484
|
+
/* 15 */
|
|
484
485
|
/***/ (function(module, exports) {
|
|
485
486
|
|
|
486
487
|
module.exports = require("element-ui/lib/col");
|
|
487
488
|
|
|
488
489
|
/***/ }),
|
|
489
|
-
/*
|
|
490
|
+
/* 16 */
|
|
490
491
|
/***/ (function(module, exports) {
|
|
491
492
|
|
|
492
|
-
module.exports = require("component-ui/lib/components/form-item");
|
|
493
|
+
module.exports = require("@panpanzhao/component-ui/lib/components/form-item");
|
|
493
494
|
|
|
494
495
|
/***/ })
|
|
495
496
|
/******/ ]);
|