@fangzhongya/fang-ui 0.1.51 → 0.1.53
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/bin/fang-ui.js +2 -2
- package/dist/components/box-fun/index.cjs +1 -0
- package/dist/components/box-fun/index.js +1 -0
- package/dist/components/box-fun/index.scss +8 -0
- package/dist/components/box-fun/style/index2.scss +4 -0
- package/dist/components/buttons/src/data.d.ts +14 -11
- package/dist/components/cascaders/src/data.d.ts +14 -11
- package/dist/components/cascaders/src/index2.cjs +15 -8
- package/dist/components/cascaders/src/index2.js +15 -8
- package/dist/components/checks/src/data.d.ts +14 -11
- package/dist/components/checks/src/index2.cjs +6 -6
- package/dist/components/checks/src/index2.js +6 -6
- package/dist/components/common/list.cjs +34 -15
- package/dist/components/common/list.d.ts +25 -12
- package/dist/components/common/list.js +34 -15
- package/dist/components/common/use.cjs +9 -5
- package/dist/components/common/use.js +9 -5
- package/dist/components/dates/src/data.d.ts +14 -11
- package/dist/components/dates2/src/data.d.ts +14 -11
- package/dist/components/draggable/style/index2.scss +1 -0
- package/dist/components/edit-data/index.cjs +9 -0
- package/dist/components/edit-data/index.d.ts +5 -0
- package/dist/components/edit-data/index.js +9 -0
- package/dist/components/edit-data/index.scss +95 -0
- package/dist/components/edit-data/src/area/array-json.cjs +4 -0
- package/dist/components/edit-data/src/area/array-json.js +4 -0
- package/dist/components/edit-data/src/area/array-json2.cjs +109 -0
- package/dist/components/edit-data/src/area/array-json2.js +109 -0
- package/dist/components/edit-data/src/area/array.cjs +4 -0
- package/dist/components/edit-data/src/area/array.js +4 -0
- package/dist/components/edit-data/src/area/array2.cjs +135 -0
- package/dist/components/edit-data/src/area/array2.js +135 -0
- package/dist/components/edit-data/src/area/code.cjs +4 -0
- package/dist/components/edit-data/src/area/code.js +4 -0
- package/dist/components/edit-data/src/area/code2.cjs +52 -0
- package/dist/components/edit-data/src/area/code2.js +52 -0
- package/dist/components/edit-data/src/area/editor.cjs +4 -0
- package/dist/components/edit-data/src/area/editor.js +4 -0
- package/dist/components/edit-data/src/area/editor2.cjs +170 -0
- package/dist/components/edit-data/src/area/editor2.js +170 -0
- package/dist/components/edit-data/src/area/general.cjs +4 -0
- package/dist/components/edit-data/src/area/general.js +4 -0
- package/dist/components/edit-data/src/area/general2.cjs +88 -0
- package/dist/components/edit-data/src/area/general2.js +88 -0
- package/dist/components/edit-data/src/area/object-json.cjs +4 -0
- package/dist/components/edit-data/src/area/object-json.js +4 -0
- package/dist/components/edit-data/src/area/object-json2.cjs +109 -0
- package/dist/components/edit-data/src/area/object-json2.js +109 -0
- package/dist/components/edit-data/src/area/object.cjs +4 -0
- package/dist/components/edit-data/src/area/object.js +4 -0
- package/dist/components/edit-data/src/area/object2.cjs +116 -0
- package/dist/components/edit-data/src/area/object2.js +116 -0
- package/dist/components/edit-data/src/data/array.cjs +4 -0
- package/dist/components/edit-data/src/data/array.js +4 -0
- package/dist/components/edit-data/src/data/array2.cjs +68 -0
- package/dist/components/edit-data/src/data/array2.js +68 -0
- package/dist/components/edit-data/src/data/bigint.cjs +4 -0
- package/dist/components/edit-data/src/data/bigint.js +4 -0
- package/dist/components/edit-data/src/data/bigint2.cjs +42 -0
- package/dist/components/edit-data/src/data/bigint2.js +42 -0
- package/dist/components/edit-data/src/data/boolean.cjs +4 -0
- package/dist/components/edit-data/src/data/boolean.js +4 -0
- package/dist/components/edit-data/src/data/boolean2.cjs +53 -0
- package/dist/components/edit-data/src/data/boolean2.js +53 -0
- package/dist/components/edit-data/src/data/function.cjs +4 -0
- package/dist/components/edit-data/src/data/function.js +4 -0
- package/dist/components/edit-data/src/data/function2.cjs +61 -0
- package/dist/components/edit-data/src/data/function2.js +61 -0
- package/dist/components/edit-data/src/data/not.cjs +4 -0
- package/dist/components/edit-data/src/data/not.js +4 -0
- package/dist/components/edit-data/src/data/not2.cjs +56 -0
- package/dist/components/edit-data/src/data/not2.js +56 -0
- package/dist/components/edit-data/src/data/null.cjs +4 -0
- package/dist/components/edit-data/src/data/null.js +4 -0
- package/dist/components/edit-data/src/data/null2.cjs +24 -0
- package/dist/components/edit-data/src/data/null2.js +24 -0
- package/dist/components/edit-data/src/data/number.cjs +4 -0
- package/dist/components/edit-data/src/data/number.js +4 -0
- package/dist/components/edit-data/src/data/number2.cjs +42 -0
- package/dist/components/edit-data/src/data/number2.js +42 -0
- package/dist/components/edit-data/src/data/object.cjs +4 -0
- package/dist/components/edit-data/src/data/object.js +4 -0
- package/dist/components/edit-data/src/data/object2.cjs +68 -0
- package/dist/components/edit-data/src/data/object2.js +68 -0
- package/dist/components/edit-data/src/data/other.cjs +4 -0
- package/dist/components/edit-data/src/data/other.js +4 -0
- package/dist/components/edit-data/src/data/other2.cjs +59 -0
- package/dist/components/edit-data/src/data/other2.js +59 -0
- package/dist/components/edit-data/src/data/string.cjs +4 -0
- package/dist/components/edit-data/src/data/string.js +4 -0
- package/dist/components/edit-data/src/data/string2.cjs +43 -0
- package/dist/components/edit-data/src/data/string2.js +43 -0
- package/dist/components/edit-data/src/data/symbol.cjs +4 -0
- package/dist/components/edit-data/src/data/symbol.js +4 -0
- package/dist/components/edit-data/src/data/symbol2.cjs +55 -0
- package/dist/components/edit-data/src/data/symbol2.js +55 -0
- package/dist/components/edit-data/src/data/undefined.cjs +4 -0
- package/dist/components/edit-data/src/data/undefined.js +4 -0
- package/dist/components/edit-data/src/data/undefined2.cjs +24 -0
- package/dist/components/edit-data/src/data/undefined2.js +24 -0
- package/dist/components/edit-data/src/data.cjs +57 -0
- package/dist/components/edit-data/src/data.d.ts +131 -0
- package/dist/components/edit-data/src/data.js +57 -0
- package/dist/components/edit-data/src/index.cjs +4 -0
- package/dist/components/edit-data/src/index.js +4 -0
- package/dist/components/edit-data/src/index2.cjs +134 -0
- package/dist/components/edit-data/src/index2.js +134 -0
- package/dist/components/edit-data/src/util.cjs +99 -0
- package/dist/components/edit-data/src/util.d.ts +1 -0
- package/dist/components/edit-data/src/util.js +99 -0
- package/dist/components/edit-data/style/index2.scss +13 -0
- package/dist/components/edit-data-add/index.cjs +9 -0
- package/dist/components/edit-data-add/index.css +144 -0
- package/dist/components/edit-data-add/index.d.ts +5 -0
- package/dist/components/edit-data-add/index.js +9 -0
- package/dist/components/edit-data-add/index.scss +5 -0
- package/dist/components/edit-data-add/src/data.cjs +24 -0
- package/dist/components/edit-data-add/src/data.d.ts +36 -0
- package/dist/components/edit-data-add/src/data.js +24 -0
- package/dist/components/edit-data-add/src/index.cjs +4 -0
- package/dist/components/edit-data-add/src/index.js +4 -0
- package/dist/components/edit-data-add/src/index2.cjs +241 -0
- package/dist/components/edit-data-add/src/index2.js +241 -0
- package/dist/components/edit-data-add/style/comm.scss +38 -0
- package/dist/components/edit-data-add/style/index2.scss +2 -0
- package/dist/components/history/src/data.cjs +9 -1
- package/dist/components/history/src/data.d.ts +13 -1
- package/dist/components/history/src/data.js +9 -1
- package/dist/components/history/src/index2.cjs +27 -9
- package/dist/components/history/src/index2.js +27 -9
- package/dist/components/index.cjs +60 -56
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.scss +3 -0
- package/dist/components/index2.scss +5 -2
- package/dist/components/labels/src/data.d.ts +14 -11
- package/dist/components/labels/src/index2.cjs +13 -2
- package/dist/components/labels/src/index2.js +13 -2
- package/dist/components/page/index.css +8 -0
- package/dist/components/retract/index.css +20 -0
- package/dist/components/retract/index.scss +24 -0
- package/dist/components/retract/src/data.cjs +10 -0
- package/dist/components/retract/src/data.d.ts +10 -0
- package/dist/components/retract/src/data.js +10 -0
- package/dist/components/retract/src/index2.cjs +24 -4
- package/dist/components/retract/src/index2.js +23 -3
- package/dist/components/retract/style/index2.scss +1 -0
- package/dist/components/selects/src/data.d.ts +14 -11
- package/dist/components/selects/src/index2.cjs +1 -1
- package/dist/components/selects/src/index2.js +1 -1
- package/dist/components/switchs/src/data.d.ts +14 -11
- package/dist/components/switchs/src/index2.cjs +9 -5
- package/dist/components/switchs/src/index2.js +9 -5
- package/dist/components/tables/common/com-limit.cjs +4 -0
- package/dist/components/tables/common/com-limit.js +4 -0
- package/dist/components/tables/common/com-limit2.cjs +103 -0
- package/dist/components/tables/common/com-limit2.js +103 -0
- package/dist/components/tables/common/com.scss +12 -0
- package/dist/components/tables/index.css +9 -0
- package/dist/components/tables/index.scss +2 -0
- package/dist/components/tables/src/columns2.cjs +3 -1
- package/dist/components/tables/src/columns2.js +7 -5
- package/dist/components/tablesp/index.css +9 -0
- package/dist/components/tablespd/index.css +9 -0
- package/dist/components/uploads/src/data.d.ts +14 -11
- package/dist/css/edit-data-add.css +144 -0
- package/dist/css/index.css +149 -0
- package/dist/css/page.css +8 -0
- package/dist/css/retract.css +20 -0
- package/dist/css/tables.css +9 -0
- package/dist/css/tablesp.css +9 -0
- package/dist/css/tablespd.css +9 -0
- package/dist/directives/adjust/index.cjs +14 -6
- package/dist/directives/adjust/index.js +14 -6
- package/dist/directives/adjustment/index.cjs +622 -0
- package/dist/directives/adjustment/index.d.ts +7 -0
- package/dist/directives/adjustment/index.js +622 -0
- package/dist/directives/index.cjs +18 -16
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/index.js +16 -14
- package/dist/expand/{chunk-A7IW6WRD.cjs → chunk-BJVT6JH7.cjs} +6 -0
- package/dist/expand/{chunk-L4FI5HCY.js → chunk-I5UJEJJB.js} +6 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/icons/index.json +1 -1
- package/dist/index.cjs +84 -78
- package/dist/index.css +149 -0
- package/dist/index.js +20 -14
- package/dist/utils/util.cjs +1 -1
- package/dist/utils/util.js +2 -2
- package/dist/utils/vues/withInstall.cjs +2 -1
- package/dist/utils/vues/withInstall.js +2 -1
- package/package.json +12 -11
- /package/dist/components/{draggable → keep-com}/index.css +0 -0
- /package/dist/css/{draggable.css → keep-com.css} +0 -0
|
@@ -105,6 +105,8 @@ var config_default = {
|
|
|
105
105
|
"dates2",
|
|
106
106
|
"double",
|
|
107
107
|
"edit",
|
|
108
|
+
"edit-data",
|
|
109
|
+
"edit-data-add",
|
|
108
110
|
"edit-float",
|
|
109
111
|
"history",
|
|
110
112
|
"input-array",
|
|
@@ -135,6 +137,7 @@ var config_default = {
|
|
|
135
137
|
],
|
|
136
138
|
"directives": [
|
|
137
139
|
"adjust",
|
|
140
|
+
"adjustment",
|
|
138
141
|
"drag",
|
|
139
142
|
"expose",
|
|
140
143
|
"inserted",
|
|
@@ -159,6 +162,7 @@ var config_default = {
|
|
|
159
162
|
"forms-items",
|
|
160
163
|
"box",
|
|
161
164
|
"box-adjust",
|
|
165
|
+
"box-fun",
|
|
162
166
|
"box-local",
|
|
163
167
|
"box-mask",
|
|
164
168
|
"box-title",
|
|
@@ -242,6 +246,8 @@ var config_default = {
|
|
|
242
246
|
"dates-picker",
|
|
243
247
|
"dates2",
|
|
244
248
|
"edit",
|
|
249
|
+
"edit-data",
|
|
250
|
+
"edit-data-add",
|
|
245
251
|
"edit-float",
|
|
246
252
|
"cascader",
|
|
247
253
|
"cascader-panel",
|
|
@@ -105,6 +105,8 @@ var config_default = {
|
|
|
105
105
|
"dates2",
|
|
106
106
|
"double",
|
|
107
107
|
"edit",
|
|
108
|
+
"edit-data",
|
|
109
|
+
"edit-data-add",
|
|
108
110
|
"edit-float",
|
|
109
111
|
"history",
|
|
110
112
|
"input-array",
|
|
@@ -135,6 +137,7 @@ var config_default = {
|
|
|
135
137
|
],
|
|
136
138
|
"directives": [
|
|
137
139
|
"adjust",
|
|
140
|
+
"adjustment",
|
|
138
141
|
"drag",
|
|
139
142
|
"expose",
|
|
140
143
|
"inserted",
|
|
@@ -159,6 +162,7 @@ var config_default = {
|
|
|
159
162
|
"forms-items",
|
|
160
163
|
"box",
|
|
161
164
|
"box-adjust",
|
|
165
|
+
"box-fun",
|
|
162
166
|
"box-local",
|
|
163
167
|
"box-mask",
|
|
164
168
|
"box-title",
|
|
@@ -242,6 +246,8 @@ var config_default = {
|
|
|
242
246
|
"dates-picker",
|
|
243
247
|
"dates2",
|
|
244
248
|
"edit",
|
|
249
|
+
"edit-data",
|
|
250
|
+
"edit-data-add",
|
|
245
251
|
"edit-float",
|
|
246
252
|
"cascader",
|
|
247
253
|
"cascader-panel",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBJVT6JH7cjs = require('./chunk-BJVT6JH7.cjs');
|
|
4
4
|
|
|
5
5
|
// expand/components.ts
|
|
6
6
|
var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
|
|
@@ -35,11 +35,11 @@ function getFrom(mc, type, conf) {
|
|
|
35
35
|
const p = config.prefix ? config.prefix + "-" : "";
|
|
36
36
|
const filename = p ? mc.replace(new RegExp("^" + p), "") : mc;
|
|
37
37
|
if (type == 1) {
|
|
38
|
-
if (
|
|
38
|
+
if (_chunkBJVT6JH7cjs.config_default.components.includes(filename)) {
|
|
39
39
|
const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
|
|
40
40
|
const from = `${config.name}/components/${filename}/index`;
|
|
41
41
|
let sideEffects;
|
|
42
|
-
if (
|
|
42
|
+
if (_chunkBJVT6JH7cjs.config_default.sideEffects.includes(filename)) {
|
|
43
43
|
if (conf.css) {
|
|
44
44
|
sideEffects = `${config.name}/components/${filename}/style/index${conf.css || 2}.scss`;
|
|
45
45
|
} else {
|
|
@@ -55,14 +55,14 @@ function getFrom(mc, type, conf) {
|
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
} else {
|
|
58
|
-
if (
|
|
58
|
+
if (_chunkBJVT6JH7cjs.config_default.directives.includes(filename)) {
|
|
59
59
|
const name = "default";
|
|
60
60
|
const from = `${config.name}/directives/${filename}/index`;
|
|
61
61
|
return {
|
|
62
62
|
name,
|
|
63
63
|
from
|
|
64
64
|
};
|
|
65
|
-
} else if (
|
|
65
|
+
} else if (_chunkBJVT6JH7cjs.config_default.directives.includes("v-" + filename)) {
|
|
66
66
|
const name = "default";
|
|
67
67
|
const from = `${config.name}/directives/${"v-" + filename}/index`;
|
|
68
68
|
return {
|
package/dist/expand/config.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBJVT6JH7cjs = require('./chunk-BJVT6JH7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.default =
|
|
6
|
+
exports.default = _chunkBJVT6JH7cjs.config_default;
|
package/dist/expand/config.js
CHANGED
package/dist/icons/index.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const index$
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
3
|
+
const index$2Y = require("./components/index.cjs");
|
|
4
|
+
const index$2Z = require("./directives/index.cjs");
|
|
5
|
+
const index$2_ = require("./icons/index.cjs");
|
|
6
6
|
const index$1 = require("./components/draggable/index.cjs");
|
|
7
7
|
const index$3 = require("element-plus/es/components/button/index");
|
|
8
8
|
const index$2 = require("./components/button/index.cjs");
|
|
@@ -151,55 +151,58 @@ const index$2h = require("./components/dates-picker/index.cjs");
|
|
|
151
151
|
const index$2i = require("./components/dates/index.cjs");
|
|
152
152
|
const index$2j = require("./components/dates2/index.cjs");
|
|
153
153
|
const index$2k = require("./components/double/index.cjs");
|
|
154
|
-
const index$2l = require("./components/edit-
|
|
155
|
-
const index$2m = require("./components/edit/index.cjs");
|
|
156
|
-
const index$2n = require("./components/
|
|
157
|
-
const index$2o = require("./components/
|
|
158
|
-
const index$2p = require("./components/
|
|
159
|
-
const index$2q = require("./components/input-
|
|
160
|
-
const index$2r = require("./components/input-
|
|
161
|
-
const index$2s = require("./components/
|
|
162
|
-
const index$2t = require("./components/
|
|
163
|
-
const index$2u = require("./components/
|
|
164
|
-
const index$2v = require("./components/
|
|
165
|
-
const index$2w = require("./components/
|
|
166
|
-
const index$2x = require("./components/
|
|
167
|
-
const index$2y = require("./components/
|
|
168
|
-
const index$2z = require("./components/
|
|
169
|
-
const index$2A = require("./components/
|
|
170
|
-
const index$2B = require("./components/
|
|
171
|
-
const index$2C = require("./components/
|
|
172
|
-
const index$2D = require("./components/
|
|
173
|
-
const index$2E = require("./components/
|
|
174
|
-
const index$2F = require("./components/
|
|
175
|
-
const index$2G = require("./components/
|
|
176
|
-
const index$2H = require("./components/
|
|
177
|
-
const index$2I = require("./components/
|
|
178
|
-
const index$2J = require("./components/
|
|
179
|
-
const index$2K = require("./components/
|
|
180
|
-
const index$2L = require("./components/
|
|
181
|
-
const index$2M = require("./components/
|
|
182
|
-
const index$2N = require("./
|
|
183
|
-
const index$2O = require("./
|
|
184
|
-
const index$2P = require("./directives/
|
|
185
|
-
const index$2Q = require("./directives/
|
|
186
|
-
const index$2R = require("./directives/
|
|
187
|
-
const index$2S = require("./directives/
|
|
188
|
-
const index$2T = require("./directives/
|
|
189
|
-
const index$2U = require("./directives/
|
|
154
|
+
const index$2l = require("./components/edit-data-add/index.cjs");
|
|
155
|
+
const index$2m = require("./components/edit-data/index.cjs");
|
|
156
|
+
const index$2n = require("./components/edit-float/index.cjs");
|
|
157
|
+
const index$2o = require("./components/edit/index.cjs");
|
|
158
|
+
const index$2p = require("./components/history/index.cjs");
|
|
159
|
+
const index$2q = require("./components/input-array/index.cjs");
|
|
160
|
+
const index$2r = require("./components/input-history/index.cjs");
|
|
161
|
+
const index$2s = require("./components/input-num/index.cjs");
|
|
162
|
+
const index$2t = require("./components/input-select/index.cjs");
|
|
163
|
+
const index$2u = require("./components/inputs/index.cjs");
|
|
164
|
+
const index$2v = require("./components/labels/index.cjs");
|
|
165
|
+
const index$2w = require("./components/select-scroll/index.cjs");
|
|
166
|
+
const index$2x = require("./components/selector/index.cjs");
|
|
167
|
+
const index$2y = require("./components/selects/index.cjs");
|
|
168
|
+
const index$2z = require("./components/sliders/index.cjs");
|
|
169
|
+
const index$2A = require("./components/switchs/index.cjs");
|
|
170
|
+
const index$2B = require("./components/texts/index.cjs");
|
|
171
|
+
const index$2C = require("./components/uploads/index.cjs");
|
|
172
|
+
const index$2D = require("./components/list/index.cjs");
|
|
173
|
+
const index$2E = require("./components/lists/index.cjs");
|
|
174
|
+
const index$2F = require("./components/listsp/index.cjs");
|
|
175
|
+
const index$2G = require("./components/listspd/index.cjs");
|
|
176
|
+
const index$2H = require("./components/paging/index.cjs");
|
|
177
|
+
const index$2I = require("./components/tables/index.cjs");
|
|
178
|
+
const index$2J = require("./components/tablesp/index.cjs");
|
|
179
|
+
const index$2K = require("./components/tablespd/index.cjs");
|
|
180
|
+
const index$2L = require("./components/tabless/index.cjs");
|
|
181
|
+
const index$2M = require("./components/tablesv/index.cjs");
|
|
182
|
+
const index$2N = require("./components/tablesvp/index.cjs");
|
|
183
|
+
const index$2O = require("./components/tablesvpd/index.cjs");
|
|
184
|
+
const index$2P = require("./directives/adjust/index.cjs");
|
|
185
|
+
const index$2Q = require("./directives/adjustment/index.cjs");
|
|
186
|
+
const index$2R = require("./directives/drag/index.cjs");
|
|
187
|
+
const index$2S = require("./directives/expose/index.cjs");
|
|
188
|
+
const index$2T = require("./directives/inserted/index.cjs");
|
|
189
|
+
const index$2U = require("./directives/locus/index.cjs");
|
|
190
|
+
const index$2V = require("./directives/scroll/index.cjs");
|
|
191
|
+
const index$2W = require("./directives/sortable/index.cjs");
|
|
192
|
+
const index$2X = require("./directives/stick/index.cjs");
|
|
190
193
|
const index = {
|
|
191
194
|
install: function(app) {
|
|
192
|
-
const com = index$
|
|
195
|
+
const com = index$2Y;
|
|
193
196
|
for (const key of Object.keys(com)) {
|
|
194
197
|
if (com[key].install) {
|
|
195
198
|
com[key].install(app);
|
|
196
199
|
}
|
|
197
200
|
}
|
|
198
|
-
const dire = index$
|
|
201
|
+
const dire = index$2Z;
|
|
199
202
|
for (const key of Object.keys(dire)) {
|
|
200
203
|
app.directive(key, dire[key]);
|
|
201
204
|
}
|
|
202
|
-
index$
|
|
205
|
+
index$2_.default(app);
|
|
203
206
|
}
|
|
204
207
|
};
|
|
205
208
|
exports.Draggable = index$1.Draggable;
|
|
@@ -309,42 +312,45 @@ exports.DatesPicker = index$2h.DatesPicker;
|
|
|
309
312
|
exports.Dates = index$2i.Dates;
|
|
310
313
|
exports.Dates2 = index$2j.Dates2;
|
|
311
314
|
exports.Double = index$2k.Double;
|
|
312
|
-
exports.
|
|
313
|
-
exports.
|
|
314
|
-
exports.
|
|
315
|
-
exports.
|
|
316
|
-
exports.
|
|
317
|
-
exports.
|
|
318
|
-
exports.
|
|
319
|
-
exports.
|
|
320
|
-
exports.
|
|
321
|
-
exports.
|
|
322
|
-
exports.
|
|
323
|
-
exports.
|
|
324
|
-
exports.
|
|
325
|
-
exports.
|
|
326
|
-
exports.
|
|
327
|
-
exports.
|
|
328
|
-
exports.
|
|
329
|
-
exports.
|
|
330
|
-
exports.
|
|
331
|
-
exports.
|
|
332
|
-
exports.
|
|
333
|
-
exports.
|
|
334
|
-
exports.
|
|
335
|
-
exports.
|
|
336
|
-
exports.
|
|
337
|
-
exports.
|
|
338
|
-
exports.
|
|
339
|
-
exports.
|
|
340
|
-
exports.
|
|
341
|
-
exports.
|
|
342
|
-
exports.
|
|
343
|
-
exports.
|
|
344
|
-
exports.
|
|
345
|
-
exports.
|
|
346
|
-
exports.
|
|
347
|
-
exports.
|
|
315
|
+
exports.EditDataAdd = index$2l.EditDataAdd;
|
|
316
|
+
exports.EditData = index$2m.EditData;
|
|
317
|
+
exports.EditFloat = index$2n.EditFloat;
|
|
318
|
+
exports.Edit = index$2o.Edit;
|
|
319
|
+
exports.History = index$2p.History;
|
|
320
|
+
exports.InputArray = index$2q.InputArray;
|
|
321
|
+
exports.InputHistory = index$2r.InputHistory;
|
|
322
|
+
exports.InputNum = index$2s.InputNum;
|
|
323
|
+
exports.InputSelect = index$2t.InputSelect;
|
|
324
|
+
exports.Inputs = index$2u.Inputs;
|
|
325
|
+
exports.Labels = index$2v.Labels;
|
|
326
|
+
exports.SelectScroll = index$2w.SelectScroll;
|
|
327
|
+
exports.Selector = index$2x.Selector;
|
|
328
|
+
exports.Selects = index$2y.Selects;
|
|
329
|
+
exports.Sliders = index$2z.Sliders;
|
|
330
|
+
exports.Switchs = index$2A.Switchs;
|
|
331
|
+
exports.Texts = index$2B.Texts;
|
|
332
|
+
exports.Uploads = index$2C.Uploads;
|
|
333
|
+
exports.List = index$2D.List;
|
|
334
|
+
exports.Lists = index$2E.Lists;
|
|
335
|
+
exports.Listsp = index$2F.Listsp;
|
|
336
|
+
exports.Listspd = index$2G.Listspd;
|
|
337
|
+
exports.Paging = index$2H.Paging;
|
|
338
|
+
exports.Tables = index$2I.Tables;
|
|
339
|
+
exports.Tablesp = index$2J.Tablesp;
|
|
340
|
+
exports.Tablespd = index$2K.Tablespd;
|
|
341
|
+
exports.Tabless = index$2L.Tabless;
|
|
342
|
+
exports.Tablesv = index$2M.Tablesv;
|
|
343
|
+
exports.Tablesvp = index$2N.Tablesvp;
|
|
344
|
+
exports.Tablesvpd = index$2O.Tablesvpd;
|
|
345
|
+
exports.Adjust = index$2P.default;
|
|
346
|
+
exports.Adjustment = index$2Q.default;
|
|
347
|
+
exports.Drag = index$2R.default;
|
|
348
|
+
exports.Expose = index$2S.default;
|
|
349
|
+
exports.Inserted = index$2T.default;
|
|
350
|
+
exports.Locus = index$2U.default;
|
|
351
|
+
exports.Scroll = index$2V.default;
|
|
352
|
+
exports.Sortable = index$2W.default;
|
|
353
|
+
exports.Stick = index$2X.default;
|
|
348
354
|
exports.default = index;
|
|
349
355
|
Object.keys(index$3).forEach((k) => {
|
|
350
356
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
package/dist/index.css
CHANGED
|
@@ -1095,6 +1095,14 @@
|
|
|
1095
1095
|
white-space: pre-wrap;
|
|
1096
1096
|
}
|
|
1097
1097
|
|
|
1098
|
+
.com-limit.is-tooltip {
|
|
1099
|
+
max-height: var(--com-limit-max-height);
|
|
1100
|
+
display: -webkit-box;
|
|
1101
|
+
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
1102
|
+
-webkit-box-orient: vertical;
|
|
1103
|
+
text-overflow: ellipsis;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1098
1106
|
.tables {
|
|
1099
1107
|
width: 100%;
|
|
1100
1108
|
min-height: var(--tables-min-height, 70px);
|
|
@@ -1452,9 +1460,17 @@
|
|
|
1452
1460
|
.retract {
|
|
1453
1461
|
position: relative;
|
|
1454
1462
|
}
|
|
1463
|
+
.retract-div.left, .retract-div.right {
|
|
1464
|
+
height: 100%;
|
|
1465
|
+
display: flex;
|
|
1466
|
+
}
|
|
1467
|
+
.retract-div.top, .retract-div.bottom {
|
|
1468
|
+
width: 100%;
|
|
1469
|
+
}
|
|
1455
1470
|
.retract .retract-but {
|
|
1456
1471
|
position: absolute;
|
|
1457
1472
|
background-color: rgba(201, 201, 201, 0.5);
|
|
1473
|
+
z-index: 1000;
|
|
1458
1474
|
}
|
|
1459
1475
|
.retract .retract-but .retract-icon {
|
|
1460
1476
|
width: 100%;
|
|
@@ -1477,6 +1493,9 @@
|
|
|
1477
1493
|
margin-top: -25px;
|
|
1478
1494
|
left: -20px;
|
|
1479
1495
|
}
|
|
1496
|
+
.retract .retract-but.is-left.is-adjust {
|
|
1497
|
+
left: -10px;
|
|
1498
|
+
}
|
|
1480
1499
|
.retract .retract-but.is-left .retract-icon {
|
|
1481
1500
|
transform: rotate(0);
|
|
1482
1501
|
}
|
|
@@ -1490,6 +1509,9 @@
|
|
|
1490
1509
|
margin-top: -25px;
|
|
1491
1510
|
right: -20px;
|
|
1492
1511
|
}
|
|
1512
|
+
.retract .retract-but.is-right.is-adjust {
|
|
1513
|
+
right: -10px;
|
|
1514
|
+
}
|
|
1493
1515
|
.retract .retract-but.is-right .retract-icon {
|
|
1494
1516
|
transform: rotate(-180deg);
|
|
1495
1517
|
}
|
|
@@ -1503,6 +1525,9 @@
|
|
|
1503
1525
|
margin-left: -25px;
|
|
1504
1526
|
top: -20px;
|
|
1505
1527
|
}
|
|
1528
|
+
.retract .retract-but.is-top.is-adjust {
|
|
1529
|
+
top: -10px;
|
|
1530
|
+
}
|
|
1506
1531
|
.retract .retract-but.is-top .retract-icon {
|
|
1507
1532
|
transform: rotate(90deg);
|
|
1508
1533
|
}
|
|
@@ -1516,6 +1541,9 @@
|
|
|
1516
1541
|
margin-left: -25px;
|
|
1517
1542
|
bottom: -20px;
|
|
1518
1543
|
}
|
|
1544
|
+
.retract .retract-but.is-bottom.is-adjust {
|
|
1545
|
+
bottom: -10px;
|
|
1546
|
+
}
|
|
1519
1547
|
.retract .retract-but.is-bottom .retract-icon {
|
|
1520
1548
|
transform: rotate(-90deg);
|
|
1521
1549
|
}
|
|
@@ -1540,6 +1568,127 @@
|
|
|
1540
1568
|
width: 120px;
|
|
1541
1569
|
}
|
|
1542
1570
|
|
|
1571
|
+
.edit-data-add {
|
|
1572
|
+
width: 100%;
|
|
1573
|
+
height: 100%;
|
|
1574
|
+
display: flex;
|
|
1575
|
+
flex-direction: column;
|
|
1576
|
+
}
|
|
1577
|
+
.edit-data-add-main {
|
|
1578
|
+
flex: 1;
|
|
1579
|
+
width: 100%;
|
|
1580
|
+
display: flex;
|
|
1581
|
+
flex-direction: column;
|
|
1582
|
+
}
|
|
1583
|
+
.edit-data-add-main-top {
|
|
1584
|
+
width: 100%;
|
|
1585
|
+
}
|
|
1586
|
+
.edit-data-add-main-top-li {
|
|
1587
|
+
display: flex;
|
|
1588
|
+
align-items: center;
|
|
1589
|
+
padding: 10px;
|
|
1590
|
+
}
|
|
1591
|
+
.edit-data-add-main-top-li-value {
|
|
1592
|
+
flex: 1;
|
|
1593
|
+
}
|
|
1594
|
+
.edit-data-add-main-content {
|
|
1595
|
+
flex: 1;
|
|
1596
|
+
width: 100%;
|
|
1597
|
+
margin: 10px;
|
|
1598
|
+
}
|
|
1599
|
+
.edit-data-add-main-content-name {
|
|
1600
|
+
margin-bottom: 10px;
|
|
1601
|
+
}
|
|
1602
|
+
.edit-data-add-footer {
|
|
1603
|
+
padding-top: 20px;
|
|
1604
|
+
text-align: right;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
.edit-data-general-set {
|
|
1608
|
+
display: flex;
|
|
1609
|
+
align-items: center;
|
|
1610
|
+
}
|
|
1611
|
+
.edit-data-editor {
|
|
1612
|
+
width: 100%;
|
|
1613
|
+
height: 100%;
|
|
1614
|
+
display: flex;
|
|
1615
|
+
flex-direction: column;
|
|
1616
|
+
}
|
|
1617
|
+
.edit-data-editor-main {
|
|
1618
|
+
flex: 1;
|
|
1619
|
+
position: relative;
|
|
1620
|
+
}
|
|
1621
|
+
.edit-data-editor-content {
|
|
1622
|
+
position: absolute;
|
|
1623
|
+
inset: 0;
|
|
1624
|
+
overflow-y: auto;
|
|
1625
|
+
}
|
|
1626
|
+
.edit-data-editor-content .edit-data-code {
|
|
1627
|
+
height: 100%;
|
|
1628
|
+
width: 100%;
|
|
1629
|
+
}
|
|
1630
|
+
.edit-data-editor-content .edit-data-code .inputs {
|
|
1631
|
+
height: 100%;
|
|
1632
|
+
width: 100%;
|
|
1633
|
+
}
|
|
1634
|
+
.edit-data-editor-content .edit-data-code .inputs textarea {
|
|
1635
|
+
height: 100%;
|
|
1636
|
+
width: 100%;
|
|
1637
|
+
}
|
|
1638
|
+
.edit-data-editor-footer {
|
|
1639
|
+
padding-top: 20px;
|
|
1640
|
+
text-align: right;
|
|
1641
|
+
}
|
|
1642
|
+
.edit-data-area-array, .edit-data-area-object {
|
|
1643
|
+
width: 100%;
|
|
1644
|
+
height: 100%;
|
|
1645
|
+
display: flex;
|
|
1646
|
+
flex-direction: column;
|
|
1647
|
+
}
|
|
1648
|
+
.edit-data-area-array-main, .edit-data-area-object-main {
|
|
1649
|
+
flex: 1;
|
|
1650
|
+
width: 100%;
|
|
1651
|
+
position: relative;
|
|
1652
|
+
}
|
|
1653
|
+
.edit-data-area-array-content, .edit-data-area-object-content {
|
|
1654
|
+
position: absolute;
|
|
1655
|
+
inset: 0;
|
|
1656
|
+
overflow-y: auto;
|
|
1657
|
+
}
|
|
1658
|
+
.edit-data-area-array-json, .edit-data-area-object-json {
|
|
1659
|
+
width: 100%;
|
|
1660
|
+
height: 100%;
|
|
1661
|
+
}
|
|
1662
|
+
.edit-data-area-array-json .tabs, .edit-data-area-object-json .tabs {
|
|
1663
|
+
width: 100%;
|
|
1664
|
+
height: 100%;
|
|
1665
|
+
}
|
|
1666
|
+
.edit-data-area-array-json .tabs .tab-pane, .edit-data-area-object-json .tabs .tab-pane {
|
|
1667
|
+
position: absolute;
|
|
1668
|
+
inset: 0;
|
|
1669
|
+
overflow-y: auto;
|
|
1670
|
+
}
|
|
1671
|
+
.edit-data-area-array-add, .edit-data-area-object-add {
|
|
1672
|
+
margin-bottom: 10px;
|
|
1673
|
+
}
|
|
1674
|
+
.edit-data-area-comp {
|
|
1675
|
+
width: 100%;
|
|
1676
|
+
}
|
|
1677
|
+
.edit-data-area-comp-li {
|
|
1678
|
+
min-height: 40px;
|
|
1679
|
+
display: flex;
|
|
1680
|
+
align-items: center;
|
|
1681
|
+
justify-content: space-between;
|
|
1682
|
+
}
|
|
1683
|
+
.edit-data-area-comp-li-div {
|
|
1684
|
+
flex: 1;
|
|
1685
|
+
display: flex;
|
|
1686
|
+
align-items: center;
|
|
1687
|
+
}
|
|
1688
|
+
.edit-data-area-comp-li-name {
|
|
1689
|
+
padding: 0 10px;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1543
1692
|
.edit-float-body {
|
|
1544
1693
|
display: inline-flex;
|
|
1545
1694
|
align-items: center;
|
package/dist/index.js
CHANGED
|
@@ -150,6 +150,8 @@ import { DatesPicker } from "./components/dates-picker/index.js";
|
|
|
150
150
|
import { Dates } from "./components/dates/index.js";
|
|
151
151
|
import { Dates2 } from "./components/dates2/index.js";
|
|
152
152
|
import { Double } from "./components/double/index.js";
|
|
153
|
+
import { EditDataAdd } from "./components/edit-data-add/index.js";
|
|
154
|
+
import { EditData } from "./components/edit-data/index.js";
|
|
153
155
|
import { EditFloat } from "./components/edit-float/index.js";
|
|
154
156
|
import { Edit } from "./components/edit/index.js";
|
|
155
157
|
import { History } from "./components/history/index.js";
|
|
@@ -179,13 +181,14 @@ import { Tablesv } from "./components/tablesv/index.js";
|
|
|
179
181
|
import { Tablesvp } from "./components/tablesvp/index.js";
|
|
180
182
|
import { Tablesvpd } from "./components/tablesvpd/index.js";
|
|
181
183
|
import { default as default2 } from "./directives/adjust/index.js";
|
|
182
|
-
import { default as default3 } from "./directives/
|
|
183
|
-
import { default as default4 } from "./directives/
|
|
184
|
-
import { default as default5 } from "./directives/
|
|
185
|
-
import { default as default6 } from "./directives/
|
|
186
|
-
import { default as default7 } from "./directives/
|
|
187
|
-
import { default as default8 } from "./directives/
|
|
188
|
-
import { default as default9 } from "./directives/
|
|
184
|
+
import { default as default3 } from "./directives/adjustment/index.js";
|
|
185
|
+
import { default as default4 } from "./directives/drag/index.js";
|
|
186
|
+
import { default as default5 } from "./directives/expose/index.js";
|
|
187
|
+
import { default as default6 } from "./directives/inserted/index.js";
|
|
188
|
+
import { default as default7 } from "./directives/locus/index.js";
|
|
189
|
+
import { default as default8 } from "./directives/scroll/index.js";
|
|
190
|
+
import { default as default9 } from "./directives/sortable/index.js";
|
|
191
|
+
import { default as default10 } from "./directives/stick/index.js";
|
|
189
192
|
const index = {
|
|
190
193
|
install: function(app) {
|
|
191
194
|
const com = index$K;
|
|
@@ -203,6 +206,7 @@ const index = {
|
|
|
203
206
|
};
|
|
204
207
|
export {
|
|
205
208
|
default2 as Adjust,
|
|
209
|
+
default3 as Adjustment,
|
|
206
210
|
Alert,
|
|
207
211
|
Audios,
|
|
208
212
|
Autocomplete,
|
|
@@ -237,15 +241,17 @@ export {
|
|
|
237
241
|
Dialogs,
|
|
238
242
|
Divider,
|
|
239
243
|
Double,
|
|
240
|
-
|
|
244
|
+
default4 as Drag,
|
|
241
245
|
Draggable,
|
|
242
246
|
Drawer,
|
|
243
247
|
Dropdown,
|
|
244
248
|
DropdownItem,
|
|
245
249
|
DropdownMenu,
|
|
246
250
|
Edit,
|
|
251
|
+
EditData,
|
|
252
|
+
EditDataAdd,
|
|
247
253
|
EditFloat,
|
|
248
|
-
|
|
254
|
+
default5 as Expose,
|
|
249
255
|
Form,
|
|
250
256
|
FormItem,
|
|
251
257
|
Forms,
|
|
@@ -270,7 +276,7 @@ export {
|
|
|
270
276
|
InputSelect,
|
|
271
277
|
InputTag,
|
|
272
278
|
Inputs,
|
|
273
|
-
|
|
279
|
+
default6 as Inserted,
|
|
274
280
|
KeepCom,
|
|
275
281
|
Labels,
|
|
276
282
|
List,
|
|
@@ -278,7 +284,7 @@ export {
|
|
|
278
284
|
Listsp,
|
|
279
285
|
Listspd,
|
|
280
286
|
Loading,
|
|
281
|
-
|
|
287
|
+
default7 as Locus,
|
|
282
288
|
Mention,
|
|
283
289
|
Menu,
|
|
284
290
|
MenuItem,
|
|
@@ -300,7 +306,7 @@ export {
|
|
|
300
306
|
RadioGroup,
|
|
301
307
|
Retract,
|
|
302
308
|
RightKey,
|
|
303
|
-
|
|
309
|
+
default8 as Scroll,
|
|
304
310
|
Scrollbar,
|
|
305
311
|
SeamlessScroll,
|
|
306
312
|
Select,
|
|
@@ -309,8 +315,8 @@ export {
|
|
|
309
315
|
Selects,
|
|
310
316
|
Slider,
|
|
311
317
|
Sliders,
|
|
312
|
-
|
|
313
|
-
|
|
318
|
+
default9 as Sortable,
|
|
319
|
+
default10 as Stick,
|
|
314
320
|
StickDiv,
|
|
315
321
|
StickEdge,
|
|
316
322
|
StickWindow,
|
package/dist/utils/util.cjs
CHANGED
|
@@ -51,7 +51,7 @@ function getNextValue(obj, currentValue) {
|
|
|
51
51
|
function executionMethod(fun, ...arr) {
|
|
52
52
|
var _a;
|
|
53
53
|
if (typeof fun === "string") {
|
|
54
|
-
return (_a = getContent.
|
|
54
|
+
return (_a = getContent.getContents(fun)) == null ? void 0 : _a(...arr);
|
|
55
55
|
} else {
|
|
56
56
|
return fun(...arr);
|
|
57
57
|
}
|
package/dist/utils/util.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { setObjValue, getObjValue } from "@fangzhongya/utils/basic/object/objValue";
|
|
2
|
-
import {
|
|
2
|
+
import { getContents } from "@fangzhongya/utils/basic/string/getContent";
|
|
3
3
|
function getFathers(obj, arr) {
|
|
4
4
|
if (obj.father) {
|
|
5
5
|
arr.unshift(obj.father);
|
|
@@ -49,7 +49,7 @@ function getNextValue(obj, currentValue) {
|
|
|
49
49
|
function executionMethod(fun, ...arr) {
|
|
50
50
|
var _a;
|
|
51
51
|
if (typeof fun === "string") {
|
|
52
|
-
return (_a =
|
|
52
|
+
return (_a = getContents(fun)) == null ? void 0 : _a(...arr);
|
|
53
53
|
} else {
|
|
54
54
|
return fun(...arr);
|
|
55
55
|
}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
function withInstall(component, name) {
|
|
4
4
|
const comp = component;
|
|
5
|
-
comp.install = (app,
|
|
5
|
+
comp.install = (app, options = {}) => {
|
|
6
|
+
const { prefix = "" } = options;
|
|
6
7
|
const m = name || comp.name || comp.displayName;
|
|
7
8
|
app.component(prefix + m, component);
|
|
8
9
|
};
|