@fangzhongya/fang-ui 0.1.73 → 0.1.74
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/dist/components/index.cjs +112 -110
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +1 -0
- package/dist/components/right-key-no/index.cjs +9 -0
- package/dist/components/right-key-no/index.css +52 -0
- package/dist/components/right-key-no/index.d.ts +5 -0
- package/dist/components/right-key-no/index.js +9 -0
- package/dist/components/right-key-no/index.scss +36 -0
- package/dist/components/right-key-no/src/data.cjs +71 -0
- package/dist/components/right-key-no/src/data.d.ts +96 -0
- package/dist/components/right-key-no/src/data.js +71 -0
- package/dist/components/right-key-no/src/index.cjs +4 -0
- package/dist/components/right-key-no/src/index.js +4 -0
- package/dist/components/right-key-no/src/index2.cjs +240 -0
- package/dist/components/right-key-no/src/index2.js +240 -0
- package/dist/components/right-key-no/style/index2.scss +1 -0
- package/dist/css/index.css +29 -0
- package/dist/css/right-key-no.css +52 -0
- package/dist/expand/{chunk-OJ66KIK7.cjs → chunk-KYX3DANL.cjs} +2 -0
- package/dist/expand/{chunk-WDSWWSNJ.js → chunk-PMWCTNN6.js} +2 -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 +136 -134
- package/dist/index.css +29 -0
- package/dist/index.js +2 -0
- package/package.json +5 -5
- /package/dist/components/{global-config → draggable}/index.css +0 -0
- /package/dist/css/{global-config.css → draggable.css} +0 -0
|
@@ -79,61 +79,62 @@ const index$1T = require("./dialogs/index.cjs");
|
|
|
79
79
|
const index$1U = require("./full-screen/index.cjs");
|
|
80
80
|
const index$1V = require("./no-data/index.cjs");
|
|
81
81
|
const index$1W = require("./popup/index.cjs");
|
|
82
|
-
const index$1X = require("./right-key/index.cjs");
|
|
83
|
-
const index$1Y = require("./
|
|
84
|
-
const index$1Z = require("./
|
|
85
|
-
const index$1_ = require("./stick-
|
|
86
|
-
const index$1$ = require("./stick-
|
|
87
|
-
const index$20 = require("./window/index.cjs");
|
|
88
|
-
const index$21 = require("./
|
|
89
|
-
const index$22 = require("./
|
|
90
|
-
const index$23 = require("./icon/index.cjs");
|
|
91
|
-
const index$24 = require("./
|
|
92
|
-
const index$25 = require("./
|
|
93
|
-
const index$26 = require("./
|
|
94
|
-
const index$27 = require("./
|
|
95
|
-
const index$28 = require("./
|
|
96
|
-
const index$29 = require("./
|
|
97
|
-
const index$2a = require("./
|
|
98
|
-
const index$2b = require("./
|
|
99
|
-
const index$2c = require("./
|
|
100
|
-
const index$2d = require("./
|
|
101
|
-
const index$2e = require("./
|
|
102
|
-
const index$2f = require("./
|
|
103
|
-
const index$2g = require("./dates-
|
|
104
|
-
const index$2h = require("./dates/index.cjs");
|
|
105
|
-
const index$2i = require("./
|
|
106
|
-
const index$2j = require("./
|
|
107
|
-
const index$2k = require("./
|
|
108
|
-
const index$2l = require("./edit-data/index.cjs");
|
|
109
|
-
const index$2m = require("./edit-
|
|
110
|
-
const index$2n = require("./edit/index.cjs");
|
|
111
|
-
const index$2o = require("./
|
|
112
|
-
const index$2p = require("./
|
|
113
|
-
const index$2q = require("./input-
|
|
114
|
-
const index$2r = require("./input-
|
|
115
|
-
const index$2s = require("./input-
|
|
116
|
-
const index$2t = require("./
|
|
117
|
-
const index$2u = require("./
|
|
118
|
-
const index$2v = require("./
|
|
119
|
-
const index$2w = require("./
|
|
120
|
-
const index$2x = require("./
|
|
121
|
-
const index$2y = require("./
|
|
122
|
-
const index$2z = require("./
|
|
123
|
-
const index$2A = require("./
|
|
124
|
-
const index$2B = require("./
|
|
125
|
-
const index$2C = require("./
|
|
126
|
-
const index$2D = require("./
|
|
127
|
-
const index$2E = require("./
|
|
128
|
-
const index$2F = require("./
|
|
129
|
-
const index$2G = require("./
|
|
130
|
-
const index$2H = require("./
|
|
131
|
-
const index$2I = require("./
|
|
132
|
-
const index$2J = require("./
|
|
133
|
-
const index$2K = require("./
|
|
134
|
-
const index$2L = require("./
|
|
135
|
-
const index$2M = require("./
|
|
136
|
-
const index$2N = require("./
|
|
82
|
+
const index$1X = require("./right-key-no/index.cjs");
|
|
83
|
+
const index$1Y = require("./right-key/index.cjs");
|
|
84
|
+
const index$1Z = require("./seamless-scroll/index.cjs");
|
|
85
|
+
const index$1_ = require("./stick-div/index.cjs");
|
|
86
|
+
const index$1$ = require("./stick-edge/index.cjs");
|
|
87
|
+
const index$20 = require("./stick-window/index.cjs");
|
|
88
|
+
const index$21 = require("./window/index.cjs");
|
|
89
|
+
const index$22 = require("./global-config/index.cjs");
|
|
90
|
+
const index$23 = require("./icon-picker/index.cjs");
|
|
91
|
+
const index$24 = require("./icon/index.cjs");
|
|
92
|
+
const index$25 = require("./iframe/index.cjs");
|
|
93
|
+
const index$26 = require("./keep-com/index.cjs");
|
|
94
|
+
const index$27 = require("./menus/index.cjs");
|
|
95
|
+
const index$28 = require("./page/index.cjs");
|
|
96
|
+
const index$29 = require("./audios/index.cjs");
|
|
97
|
+
const index$2a = require("./images/index.cjs");
|
|
98
|
+
const index$2b = require("./videos/index.cjs");
|
|
99
|
+
const index$2c = require("./retract/index.cjs");
|
|
100
|
+
const index$2d = require("./buttons/index.cjs");
|
|
101
|
+
const index$2e = require("./cascaders/index.cjs");
|
|
102
|
+
const index$2f = require("./checks/index.cjs");
|
|
103
|
+
const index$2g = require("./dates-divide/index.cjs");
|
|
104
|
+
const index$2h = require("./dates-picker/index.cjs");
|
|
105
|
+
const index$2i = require("./dates/index.cjs");
|
|
106
|
+
const index$2j = require("./dates2/index.cjs");
|
|
107
|
+
const index$2k = require("./double/index.cjs");
|
|
108
|
+
const index$2l = require("./edit-data-add/index.cjs");
|
|
109
|
+
const index$2m = require("./edit-data/index.cjs");
|
|
110
|
+
const index$2n = require("./edit-float/index.cjs");
|
|
111
|
+
const index$2o = require("./edit/index.cjs");
|
|
112
|
+
const index$2p = require("./history/index.cjs");
|
|
113
|
+
const index$2q = require("./input-array/index.cjs");
|
|
114
|
+
const index$2r = require("./input-history/index.cjs");
|
|
115
|
+
const index$2s = require("./input-num/index.cjs");
|
|
116
|
+
const index$2t = require("./input-select/index.cjs");
|
|
117
|
+
const index$2u = require("./inputs/index.cjs");
|
|
118
|
+
const index$2v = require("./labels/index.cjs");
|
|
119
|
+
const index$2w = require("./select-scroll/index.cjs");
|
|
120
|
+
const index$2x = require("./selector/index.cjs");
|
|
121
|
+
const index$2y = require("./selects/index.cjs");
|
|
122
|
+
const index$2z = require("./sliders/index.cjs");
|
|
123
|
+
const index$2A = require("./switchs/index.cjs");
|
|
124
|
+
const index$2B = require("./texts/index.cjs");
|
|
125
|
+
const index$2C = require("./uploads/index.cjs");
|
|
126
|
+
const index$2D = require("./list/index.cjs");
|
|
127
|
+
const index$2E = require("./lists/index.cjs");
|
|
128
|
+
const index$2F = require("./listsp/index.cjs");
|
|
129
|
+
const index$2G = require("./listspd/index.cjs");
|
|
130
|
+
const index$2H = require("./paging/index.cjs");
|
|
131
|
+
const index$2I = require("./tables/index.cjs");
|
|
132
|
+
const index$2J = require("./tablesp/index.cjs");
|
|
133
|
+
const index$2K = require("./tablespd/index.cjs");
|
|
134
|
+
const index$2L = require("./tabless/index.cjs");
|
|
135
|
+
const index$2M = require("./tablesv/index.cjs");
|
|
136
|
+
const index$2N = require("./tablesvp/index.cjs");
|
|
137
|
+
const index$2O = require("./tablesvpd/index.cjs");
|
|
137
138
|
const index$2 = require("element-plus/es/components/button/index");
|
|
138
139
|
const index$4 = require("element-plus/es/components/card/index");
|
|
139
140
|
const index$6 = require("element-plus/es/components/color-picker/index");
|
|
@@ -257,61 +258,62 @@ exports.Dialogs = index$1T.Dialogs;
|
|
|
257
258
|
exports.FullScreen = index$1U.FullScreen;
|
|
258
259
|
exports.NoData = index$1V.NoData;
|
|
259
260
|
exports.Popup = index$1W.Popup;
|
|
260
|
-
exports.
|
|
261
|
-
exports.
|
|
262
|
-
exports.
|
|
263
|
-
exports.
|
|
264
|
-
exports.
|
|
265
|
-
exports.
|
|
266
|
-
exports.
|
|
267
|
-
exports.
|
|
268
|
-
exports.
|
|
269
|
-
exports.
|
|
270
|
-
exports.
|
|
271
|
-
exports.
|
|
272
|
-
exports.
|
|
273
|
-
exports.
|
|
274
|
-
exports.
|
|
275
|
-
exports.
|
|
276
|
-
exports.
|
|
277
|
-
exports.
|
|
278
|
-
exports.
|
|
279
|
-
exports.
|
|
280
|
-
exports.
|
|
281
|
-
exports.
|
|
282
|
-
exports.
|
|
283
|
-
exports.
|
|
284
|
-
exports.
|
|
285
|
-
exports.
|
|
286
|
-
exports.
|
|
287
|
-
exports.
|
|
288
|
-
exports.
|
|
289
|
-
exports.
|
|
290
|
-
exports.
|
|
291
|
-
exports.
|
|
292
|
-
exports.
|
|
293
|
-
exports.
|
|
294
|
-
exports.
|
|
295
|
-
exports.
|
|
296
|
-
exports.
|
|
297
|
-
exports.
|
|
298
|
-
exports.
|
|
299
|
-
exports.
|
|
300
|
-
exports.
|
|
301
|
-
exports.
|
|
302
|
-
exports.
|
|
303
|
-
exports.
|
|
304
|
-
exports.
|
|
305
|
-
exports.
|
|
306
|
-
exports.
|
|
307
|
-
exports.
|
|
308
|
-
exports.
|
|
309
|
-
exports.
|
|
310
|
-
exports.
|
|
311
|
-
exports.
|
|
312
|
-
exports.
|
|
313
|
-
exports.
|
|
314
|
-
exports.
|
|
261
|
+
exports.RightKeyNo = index$1X.RightKeyNo;
|
|
262
|
+
exports.RightKey = index$1Y.RightKey;
|
|
263
|
+
exports.SeamlessScroll = index$1Z.SeamlessScroll;
|
|
264
|
+
exports.StickDiv = index$1_.StickDiv;
|
|
265
|
+
exports.StickEdge = index$1$.StickEdge;
|
|
266
|
+
exports.StickWindow = index$20.StickWindow;
|
|
267
|
+
exports.Window = index$21.Window;
|
|
268
|
+
exports.GlobalConfig = index$22.GlobalConfig;
|
|
269
|
+
exports.IconPicker = index$23.IconPicker;
|
|
270
|
+
exports.Icon = index$24.Icon;
|
|
271
|
+
exports.Iframe = index$25.Iframe;
|
|
272
|
+
exports.KeepCom = index$26.KeepCom;
|
|
273
|
+
exports.Menus = index$27.Menus;
|
|
274
|
+
exports.Page = index$28.Page;
|
|
275
|
+
exports.Audios = index$29.Audios;
|
|
276
|
+
exports.Images = index$2a.Images;
|
|
277
|
+
exports.Videos = index$2b.Videos;
|
|
278
|
+
exports.Retract = index$2c.Retract;
|
|
279
|
+
exports.Buttons = index$2d.Buttons;
|
|
280
|
+
exports.Cascaders = index$2e.Cascaders;
|
|
281
|
+
exports.Checks = index$2f.Checks;
|
|
282
|
+
exports.DatesDivide = index$2g.DatesDivide;
|
|
283
|
+
exports.DatesPicker = index$2h.DatesPicker;
|
|
284
|
+
exports.Dates = index$2i.Dates;
|
|
285
|
+
exports.Dates2 = index$2j.Dates2;
|
|
286
|
+
exports.Double = index$2k.Double;
|
|
287
|
+
exports.EditDataAdd = index$2l.EditDataAdd;
|
|
288
|
+
exports.EditData = index$2m.EditData;
|
|
289
|
+
exports.EditFloat = index$2n.EditFloat;
|
|
290
|
+
exports.Edit = index$2o.Edit;
|
|
291
|
+
exports.History = index$2p.History;
|
|
292
|
+
exports.InputArray = index$2q.InputArray;
|
|
293
|
+
exports.InputHistory = index$2r.InputHistory;
|
|
294
|
+
exports.InputNum = index$2s.InputNum;
|
|
295
|
+
exports.InputSelect = index$2t.InputSelect;
|
|
296
|
+
exports.Inputs = index$2u.Inputs;
|
|
297
|
+
exports.Labels = index$2v.Labels;
|
|
298
|
+
exports.SelectScroll = index$2w.SelectScroll;
|
|
299
|
+
exports.Selector = index$2x.Selector;
|
|
300
|
+
exports.Selects = index$2y.Selects;
|
|
301
|
+
exports.Sliders = index$2z.Sliders;
|
|
302
|
+
exports.Switchs = index$2A.Switchs;
|
|
303
|
+
exports.Texts = index$2B.Texts;
|
|
304
|
+
exports.Uploads = index$2C.Uploads;
|
|
305
|
+
exports.List = index$2D.List;
|
|
306
|
+
exports.Lists = index$2E.Lists;
|
|
307
|
+
exports.Listsp = index$2F.Listsp;
|
|
308
|
+
exports.Listspd = index$2G.Listspd;
|
|
309
|
+
exports.Paging = index$2H.Paging;
|
|
310
|
+
exports.Tables = index$2I.Tables;
|
|
311
|
+
exports.Tablesp = index$2J.Tablesp;
|
|
312
|
+
exports.Tablespd = index$2K.Tablespd;
|
|
313
|
+
exports.Tabless = index$2L.Tabless;
|
|
314
|
+
exports.Tablesv = index$2M.Tablesv;
|
|
315
|
+
exports.Tablesvp = index$2N.Tablesvp;
|
|
316
|
+
exports.Tablesvpd = index$2O.Tablesvpd;
|
|
315
317
|
Object.keys(index$2).forEach((k) => {
|
|
316
318
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
317
319
|
enumerable: true,
|
|
@@ -76,6 +76,7 @@ export * from './dialogs/index';
|
|
|
76
76
|
export * from './full-screen/index';
|
|
77
77
|
export * from './no-data/index';
|
|
78
78
|
export * from './popup/index';
|
|
79
|
+
export * from './right-key-no/index';
|
|
79
80
|
export * from './right-key/index';
|
|
80
81
|
export * from './seamless-scroll/index';
|
|
81
82
|
export * from './stick-div/index';
|
package/dist/components/index.js
CHANGED
|
@@ -77,6 +77,7 @@ import { Dialogs } from "./dialogs/index.js";
|
|
|
77
77
|
import { FullScreen } from "./full-screen/index.js";
|
|
78
78
|
import { NoData } from "./no-data/index.js";
|
|
79
79
|
import { Popup } from "./popup/index.js";
|
|
80
|
+
import { RightKeyNo } from "./right-key-no/index.js";
|
|
80
81
|
import { RightKey } from "./right-key/index.js";
|
|
81
82
|
import { SeamlessScroll } from "./seamless-scroll/index.js";
|
|
82
83
|
import { StickDiv } from "./stick-div/index.js";
|
|
@@ -273,6 +274,7 @@ export {
|
|
|
273
274
|
RadioGroup,
|
|
274
275
|
Retract,
|
|
275
276
|
RightKey,
|
|
277
|
+
RightKeyNo,
|
|
276
278
|
Scrollbar,
|
|
277
279
|
SeamlessScroll,
|
|
278
280
|
Select,
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
@use './full-screen/index.scss' as *;
|
|
75
75
|
@use './no-data/index.scss' as *;
|
|
76
76
|
@use './popup/index.scss' as *;
|
|
77
|
+
@use './right-key-no/index.scss' as *;
|
|
77
78
|
@use './right-key/index.scss' as *;
|
|
78
79
|
@use './seamless-scroll/index.scss' as *;
|
|
79
80
|
@use './stick-div/index.scss' as *;
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
@use './full-screen/style/index2.scss' as *;
|
|
75
75
|
@use './no-data/style/index2.scss' as *;
|
|
76
76
|
@use './popup/style/index2.scss' as *;
|
|
77
|
+
@use './right-key-no/style/index2.scss' as *;
|
|
77
78
|
@use './right-key/style/index2.scss' as *;
|
|
78
79
|
@use './seamless-scroll/style/index2.scss' as *;
|
|
79
80
|
@use './stick-div/style/index2.scss' as *;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
require("./src/index.cjs");
|
|
5
|
+
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
6
|
+
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
7
|
+
const RightKeyNo = withInstall.withInstall(index_vue_vue_type_script_setup_true_lang.default, "RightKeyNo");
|
|
8
|
+
exports.RightKeyNo = RightKeyNo;
|
|
9
|
+
exports.default = RightKeyNo;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
3
|
+
--color-primary: #409eff;
|
|
4
|
+
--bag-primary: #409eff;
|
|
5
|
+
--bag-primary-text: #ffffff;
|
|
6
|
+
--border: #eee;
|
|
7
|
+
--layout-panel-gap: 10px;
|
|
8
|
+
--layout-panel-padding: 20px;
|
|
9
|
+
--layout-form-item-padding-right: var(
|
|
10
|
+
--layout-panel-gap
|
|
11
|
+
);
|
|
12
|
+
--g-main-bg: var(--bg-color-page);
|
|
13
|
+
--lable-array-height: 20px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.com-footer {
|
|
17
|
+
border-top: 1px solid var(--border);
|
|
18
|
+
padding: 20px 20px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.com-lable-array {
|
|
22
|
+
line-height: var(--lable-array-height);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.right-key-no-box {
|
|
26
|
+
width: 140px;
|
|
27
|
+
position: fixed;
|
|
28
|
+
padding: 10px;
|
|
29
|
+
z-index: 9999;
|
|
30
|
+
background: #ffffff;
|
|
31
|
+
border: 1px solid #cfd7e5;
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
34
|
+
}
|
|
35
|
+
.right-key-no-box-list-li:hover {
|
|
36
|
+
background: #ecf5ff;
|
|
37
|
+
color: #66b1ff;
|
|
38
|
+
}
|
|
39
|
+
.right-key-no-box-list-li {
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
height: 40px;
|
|
45
|
+
padding: 8px 14px 8px 10px;
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
.right-key-no-box-list-li i {
|
|
51
|
+
margin-right: 10px;
|
|
52
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use '../scss/common.scss' as *;
|
|
2
|
+
|
|
3
|
+
$right-key-no: 'right-key-no';
|
|
4
|
+
@include b($right-key-no) {
|
|
5
|
+
&-box {
|
|
6
|
+
width: 140px;
|
|
7
|
+
position: fixed;
|
|
8
|
+
padding: 10px;
|
|
9
|
+
z-index: 9999;
|
|
10
|
+
background: #ffffff;
|
|
11
|
+
border: 1px solid #cfd7e5;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
14
|
+
&-list {
|
|
15
|
+
&-li {
|
|
16
|
+
&:hover {
|
|
17
|
+
background: #ecf5ff;
|
|
18
|
+
color: #66b1ff;
|
|
19
|
+
}
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
height: 40px;
|
|
25
|
+
padding: 8px 14px 8px 10px;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
|
|
30
|
+
i {
|
|
31
|
+
margin-right: 10px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const data = require("../../box-teleport/src/data.cjs");
|
|
5
|
+
const name = "right-key-no";
|
|
6
|
+
const dataProps = buildProps.buildProps({
|
|
7
|
+
...data.dataProps,
|
|
8
|
+
/**
|
|
9
|
+
* @props { Array<string> } options= ( )
|
|
10
|
+
* 选择列表
|
|
11
|
+
*/
|
|
12
|
+
options: {
|
|
13
|
+
type: Array,
|
|
14
|
+
default() {
|
|
15
|
+
return [];
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* @props { String } domClass='' ( DOMString )
|
|
20
|
+
* 可以右键的元素的样式
|
|
21
|
+
*/
|
|
22
|
+
domClass: {
|
|
23
|
+
type: [String],
|
|
24
|
+
default: ""
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* @props { Number } level=5
|
|
28
|
+
* 向上查询层级
|
|
29
|
+
*/
|
|
30
|
+
level: {
|
|
31
|
+
type: Number,
|
|
32
|
+
default: 5
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* @props { String, Function } label=label
|
|
36
|
+
* 列表中展示名称
|
|
37
|
+
*/
|
|
38
|
+
label: {
|
|
39
|
+
type: [String, Function],
|
|
40
|
+
default: "label"
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @props { String } boxClass
|
|
44
|
+
* 添加弹框的样式
|
|
45
|
+
*/
|
|
46
|
+
boxClass: {
|
|
47
|
+
type: [String]
|
|
48
|
+
},
|
|
49
|
+
// /**
|
|
50
|
+
// * @props { String, Function } prop=value 列表中对比的内容
|
|
51
|
+
// */
|
|
52
|
+
// prop: {
|
|
53
|
+
// type: [String, Function],
|
|
54
|
+
// default: 'value',
|
|
55
|
+
// },
|
|
56
|
+
isSingle: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: false
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
const dataEmits = ["click-key", "click-right"];
|
|
62
|
+
const dataSlot = {
|
|
63
|
+
default: "default",
|
|
64
|
+
list: "list"
|
|
65
|
+
};
|
|
66
|
+
const dataExpose = {};
|
|
67
|
+
exports.dataEmits = dataEmits;
|
|
68
|
+
exports.dataExpose = dataExpose;
|
|
69
|
+
exports.dataProps = dataProps;
|
|
70
|
+
exports.dataSlot = dataSlot;
|
|
71
|
+
exports.name = name;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ObjAny } from '../../../types/index';
|
|
3
|
+
import { FunctConfig } from '../../../utils/enums';
|
|
4
|
+
/**
|
|
5
|
+
* @title {h3} right-key-no 右键菜单无包含
|
|
6
|
+
* @state 0
|
|
7
|
+
*/
|
|
8
|
+
export declare const name = "right-key-no";
|
|
9
|
+
export declare const dataProps: {
|
|
10
|
+
/**
|
|
11
|
+
* @props { Array<string> } options= ( )
|
|
12
|
+
* 选择列表
|
|
13
|
+
*/
|
|
14
|
+
options: {
|
|
15
|
+
type: {
|
|
16
|
+
(arrayLength: number): ObjAny[];
|
|
17
|
+
(...items: ObjAny[]): ObjAny[];
|
|
18
|
+
new (arrayLength: number): ObjAny[];
|
|
19
|
+
new (...items: ObjAny[]): ObjAny[];
|
|
20
|
+
isArray(arg: any): arg is any[];
|
|
21
|
+
readonly prototype: any[];
|
|
22
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
23
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
24
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
25
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
26
|
+
of<T>(...items: T[]): T[];
|
|
27
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
28
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
29
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
30
|
+
};
|
|
31
|
+
default(): never[];
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @props { String } domClass='' ( DOMString )
|
|
35
|
+
* 可以右键的元素的样式
|
|
36
|
+
*/
|
|
37
|
+
domClass: {
|
|
38
|
+
type: StringConstructor[];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @props { Number } level=5
|
|
43
|
+
* 向上查询层级
|
|
44
|
+
*/
|
|
45
|
+
level: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @props { String, Function } label=label
|
|
51
|
+
* 列表中展示名称
|
|
52
|
+
*/
|
|
53
|
+
label: {
|
|
54
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @props { String } boxClass
|
|
59
|
+
* 添加弹框的样式
|
|
60
|
+
*/
|
|
61
|
+
boxClass: {
|
|
62
|
+
type: StringConstructor[];
|
|
63
|
+
};
|
|
64
|
+
isSingle: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
to: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: FunctConfig;
|
|
71
|
+
};
|
|
72
|
+
disabled: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export type DataProps = ExtractPropTypes<typeof dataProps>;
|
|
77
|
+
/**
|
|
78
|
+
* @emits click-key (val:[String,Number, Object]当前key值, target:[EventTarget])
|
|
79
|
+
* 选中key时
|
|
80
|
+
*/
|
|
81
|
+
/**
|
|
82
|
+
* @emits click-right (target:[EventTarget])
|
|
83
|
+
* 点击右键弹框时
|
|
84
|
+
*/
|
|
85
|
+
export declare const dataEmits: string[];
|
|
86
|
+
export type DataEmits = typeof dataEmits;
|
|
87
|
+
/**
|
|
88
|
+
* @slot default 默认插槽
|
|
89
|
+
*/
|
|
90
|
+
export declare const dataSlot: {
|
|
91
|
+
default: string;
|
|
92
|
+
list: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
*/
|
|
96
|
+
export declare const dataExpose: {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
|
+
import { dataProps as dataProps$1 } from "../../box-teleport/src/data.js";
|
|
3
|
+
const name = "right-key-no";
|
|
4
|
+
const dataProps = buildProps({
|
|
5
|
+
...dataProps$1,
|
|
6
|
+
/**
|
|
7
|
+
* @props { Array<string> } options= ( )
|
|
8
|
+
* 选择列表
|
|
9
|
+
*/
|
|
10
|
+
options: {
|
|
11
|
+
type: Array,
|
|
12
|
+
default() {
|
|
13
|
+
return [];
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
/**
|
|
17
|
+
* @props { String } domClass='' ( DOMString )
|
|
18
|
+
* 可以右键的元素的样式
|
|
19
|
+
*/
|
|
20
|
+
domClass: {
|
|
21
|
+
type: [String],
|
|
22
|
+
default: ""
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @props { Number } level=5
|
|
26
|
+
* 向上查询层级
|
|
27
|
+
*/
|
|
28
|
+
level: {
|
|
29
|
+
type: Number,
|
|
30
|
+
default: 5
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* @props { String, Function } label=label
|
|
34
|
+
* 列表中展示名称
|
|
35
|
+
*/
|
|
36
|
+
label: {
|
|
37
|
+
type: [String, Function],
|
|
38
|
+
default: "label"
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* @props { String } boxClass
|
|
42
|
+
* 添加弹框的样式
|
|
43
|
+
*/
|
|
44
|
+
boxClass: {
|
|
45
|
+
type: [String]
|
|
46
|
+
},
|
|
47
|
+
// /**
|
|
48
|
+
// * @props { String, Function } prop=value 列表中对比的内容
|
|
49
|
+
// */
|
|
50
|
+
// prop: {
|
|
51
|
+
// type: [String, Function],
|
|
52
|
+
// default: 'value',
|
|
53
|
+
// },
|
|
54
|
+
isSingle: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: false
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
const dataEmits = ["click-key", "click-right"];
|
|
60
|
+
const dataSlot = {
|
|
61
|
+
default: "default",
|
|
62
|
+
list: "list"
|
|
63
|
+
};
|
|
64
|
+
const dataExpose = {};
|
|
65
|
+
export {
|
|
66
|
+
dataEmits,
|
|
67
|
+
dataExpose,
|
|
68
|
+
dataProps,
|
|
69
|
+
dataSlot,
|
|
70
|
+
name
|
|
71
|
+
};
|