@pisell/materials 1.0.285 → 1.0.287
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +142 -142
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +21 -21
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +23 -23
- package/dist/umd/materials.min.css +1 -0
- package/dist/umd/materials.min.js +1 -0
- package/dist/umd/static/DotsSix.57d66266.svg +1 -0
- package/dist/umd/static/arrow-left.e542294f.svg +1 -0
- package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
- package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
- package/dist/umd/static/help-circle.31c9be40.svg +1 -0
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
- package/es/components/input-number-range/index.d.ts +2 -2
- package/es/components/input-number-range/index.js +2 -2
- package/es/components/select-time/RightPanel/index.d.ts +8 -0
- package/es/components/select-time/RightPanel/index.js +41 -0
- package/es/components/select-time/RightPanel/index.less +22 -0
- package/es/components/select-time/index.d.ts +13 -0
- package/es/components/select-time/index.js +81 -0
- package/es/components/select-time/index.less +0 -0
- package/es/components/select-time/utils.d.ts +9 -0
- package/es/components/select-time/utils.js +42 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +18 -0
- package/es/components/virtual-keyboard/Keyboard/index.js +46 -0
- package/es/components/virtual-keyboard/Keyboard/index.less +32 -0
- package/es/components/virtual-keyboard/Time/index.d.ts +13 -0
- package/es/components/virtual-keyboard/Time/index.js +123 -0
- package/es/components/virtual-keyboard/Time/index.less +0 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +10 -0
- package/es/components/virtual-keyboard/Time/utils.js +153 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +9 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +76 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.less +52 -0
- package/es/components/virtual-keyboard/index.d.ts +14 -0
- package/es/components/virtual-keyboard/index.js +85 -0
- package/es/components/virtual-keyboard/index.less +17 -0
- package/es/index.d.ts +3 -0
- package/es/index.js +3 -0
- package/lib/components/input-number-range/index.d.ts +2 -2
- package/lib/components/input-number-range/index.js +2 -2
- package/lib/components/select-time/RightPanel/index.d.ts +8 -0
- package/lib/components/select-time/RightPanel/index.js +76 -0
- package/lib/components/select-time/RightPanel/index.less +22 -0
- package/lib/components/select-time/index.d.ts +13 -0
- package/lib/components/select-time/index.js +109 -0
- package/lib/components/select-time/index.less +0 -0
- package/lib/components/select-time/utils.d.ts +9 -0
- package/lib/components/select-time/utils.js +71 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +18 -0
- package/lib/components/virtual-keyboard/Keyboard/index.js +77 -0
- package/lib/components/virtual-keyboard/Keyboard/index.less +32 -0
- package/lib/components/virtual-keyboard/Time/index.d.ts +13 -0
- package/lib/components/virtual-keyboard/Time/index.js +165 -0
- package/lib/components/virtual-keyboard/Time/index.less +0 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +10 -0
- package/lib/components/virtual-keyboard/Time/utils.js +162 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +9 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +90 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.less +52 -0
- package/lib/components/virtual-keyboard/index.d.ts +14 -0
- package/lib/components/virtual-keyboard/index.js +131 -0
- package/lib/components/virtual-keyboard/index.less +17 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +9 -0
- package/lowcode/select-time/meta.ts +55 -0
- package/lowcode/virtual-keyboard/meta.ts +55 -0
- package/lowcode/virtual-keyboard-time/meta.ts +55 -0
- package/package.json +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/virtual-keyboard/VirtualKeyInput/index.tsx
|
|
30
|
+
var VirtualKeyInput_exports = {};
|
|
31
|
+
__export(VirtualKeyInput_exports, {
|
|
32
|
+
default: () => VirtualKeyInput_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(VirtualKeyInput_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_antd = require("antd");
|
|
37
|
+
var import_icon = require("@pisell/icon");
|
|
38
|
+
var import_ahooks = require("ahooks");
|
|
39
|
+
var import_classnames = __toESM(require("classnames"));
|
|
40
|
+
var import_index = require("./index.less");
|
|
41
|
+
var list = ["Backspace"];
|
|
42
|
+
var VirtualKeyInput = (props) => {
|
|
43
|
+
const { previewValue = props.value, value } = props;
|
|
44
|
+
const [select, setSelect] = (0, import_react.useState)(false);
|
|
45
|
+
(0, import_ahooks.useEventListener)("keydown", (ev) => {
|
|
46
|
+
if (list.includes(ev.key)) {
|
|
47
|
+
_onDelete == null ? void 0 : _onDelete();
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
(0, import_react.useEffect)(() => {
|
|
51
|
+
if (value) {
|
|
52
|
+
setSelect(false);
|
|
53
|
+
}
|
|
54
|
+
}, [value]);
|
|
55
|
+
const _onDelete = () => {
|
|
56
|
+
var _a;
|
|
57
|
+
if (select) {
|
|
58
|
+
(_a = props.onChange) == null ? void 0 : _a.call(props, { target: { value: "" } });
|
|
59
|
+
setSelect(false);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
let _val = props.value + "";
|
|
63
|
+
_val = _val.slice(0, _val.length - 1);
|
|
64
|
+
props.onChange && props.onChange({ target: { value: _val } });
|
|
65
|
+
};
|
|
66
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "virtual-keyboard-input-wrap" }, props.renderInput ? /* @__PURE__ */ import_react.default.createElement(
|
|
67
|
+
"div",
|
|
68
|
+
{
|
|
69
|
+
className: (0, import_classnames.default)("virtual-keyboard-input", {
|
|
70
|
+
"virtual-keyboard-input-select": select
|
|
71
|
+
}),
|
|
72
|
+
onClick: () => {
|
|
73
|
+
if (value) {
|
|
74
|
+
setSelect(!select);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
props.renderInput(props)
|
|
79
|
+
) : /* @__PURE__ */ import_react.default.createElement(
|
|
80
|
+
import_antd.Input,
|
|
81
|
+
{
|
|
82
|
+
className: "virtual-keyboard-input",
|
|
83
|
+
bordered: false,
|
|
84
|
+
...props,
|
|
85
|
+
readOnly: true,
|
|
86
|
+
value: previewValue
|
|
87
|
+
}
|
|
88
|
+
), (value == null ? void 0 : value.length) ? /* @__PURE__ */ import_react.default.createElement("div", { className: "virtual-keyboard-input-delete", onClick: _onDelete }, /* @__PURE__ */ import_react.default.createElement(import_icon.Delete, { className: "virtual-keyboard-input-delete-icon" })) : null);
|
|
89
|
+
};
|
|
90
|
+
var VirtualKeyInput_default = VirtualKeyInput;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.virtual-keyboard-input-wrap {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100px;
|
|
4
|
+
margin-bottom: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background: var(--Base-White, #FFF);
|
|
7
|
+
box-shadow: 0px 1px 0px 0px #898A8D;
|
|
8
|
+
position: relative;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
|
|
14
|
+
.virtual-keyboard-input-delete {
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
bottom: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
padding-right: 30px;
|
|
20
|
+
padding-left: 12px;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
font-size: 50px;
|
|
23
|
+
background-color: #fff;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
user-select: none;
|
|
28
|
+
|
|
29
|
+
.virtual-keyboard-input-delete-icon {
|
|
30
|
+
font-size: 30px;
|
|
31
|
+
color: #000;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.virtual-keyboard-input {
|
|
36
|
+
height: 100%;
|
|
37
|
+
text-align: center;
|
|
38
|
+
color: var(--Base-Black, #000);
|
|
39
|
+
font-size: 60px;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
letter-spacing: -1.2px;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
user-select: none;
|
|
46
|
+
|
|
47
|
+
&.virtual-keyboard-input-select {
|
|
48
|
+
background-color: #7f56d938;
|
|
49
|
+
border-radius: 8px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { KeyboardProps } from "./Keyboard";
|
|
3
|
+
import { VirtualKeyInputProps } from "./VirtualKeyInput";
|
|
4
|
+
import "./index.less";
|
|
5
|
+
interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
keyboardProps?: KeyboardProps;
|
|
7
|
+
virtualKeyInputProps?: VirtualKeyInputProps;
|
|
8
|
+
rightPanel?: React.ReactNode;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
onChange?: (value?: any) => void;
|
|
11
|
+
value?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const VirtualKeyboard: (props: VirtualKeyboardProps) => React.JSX.Element;
|
|
14
|
+
export default VirtualKeyboard;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/virtual-keyboard/index.tsx
|
|
30
|
+
var virtual_keyboard_exports = {};
|
|
31
|
+
__export(virtual_keyboard_exports, {
|
|
32
|
+
default: () => virtual_keyboard_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(virtual_keyboard_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_Keyboard = __toESM(require("./Keyboard"));
|
|
37
|
+
var import_VirtualKeyInput = __toESM(require("./VirtualKeyInput"));
|
|
38
|
+
var import_index = require("./index.less");
|
|
39
|
+
var import_classnames = __toESM(require("classnames"));
|
|
40
|
+
var items = [
|
|
41
|
+
{
|
|
42
|
+
value: 1,
|
|
43
|
+
label: "1",
|
|
44
|
+
disabled: false,
|
|
45
|
+
type: "text"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
value: 2,
|
|
49
|
+
label: "2",
|
|
50
|
+
disabled: false,
|
|
51
|
+
type: "text"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
value: 3,
|
|
55
|
+
label: "3",
|
|
56
|
+
disabled: false,
|
|
57
|
+
type: "text"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
value: 4,
|
|
61
|
+
label: "4",
|
|
62
|
+
disabled: false,
|
|
63
|
+
type: "text"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
value: 5,
|
|
67
|
+
label: "5",
|
|
68
|
+
disabled: false,
|
|
69
|
+
type: "text"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
value: 6,
|
|
73
|
+
label: "6",
|
|
74
|
+
disabled: false,
|
|
75
|
+
type: "text"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
value: 7,
|
|
79
|
+
label: "7",
|
|
80
|
+
disabled: false,
|
|
81
|
+
type: "text"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
value: 8,
|
|
85
|
+
label: "8",
|
|
86
|
+
disabled: false,
|
|
87
|
+
type: "text"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
value: 9,
|
|
91
|
+
label: "9",
|
|
92
|
+
disabled: false,
|
|
93
|
+
type: "text"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
value: "0",
|
|
97
|
+
label: "0",
|
|
98
|
+
disabled: false,
|
|
99
|
+
type: "text"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
value: "ok",
|
|
103
|
+
label: "OK",
|
|
104
|
+
disabled: false,
|
|
105
|
+
type: "primary"
|
|
106
|
+
}
|
|
107
|
+
];
|
|
108
|
+
var VirtualKeyboard = (props) => {
|
|
109
|
+
const {
|
|
110
|
+
virtualKeyInputProps,
|
|
111
|
+
style,
|
|
112
|
+
className,
|
|
113
|
+
keyboardProps,
|
|
114
|
+
onChange,
|
|
115
|
+
value,
|
|
116
|
+
rightPanel
|
|
117
|
+
} = props;
|
|
118
|
+
(0, import_react.useEffect)(() => {
|
|
119
|
+
document.body.id = "body";
|
|
120
|
+
}, []);
|
|
121
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
122
|
+
"div",
|
|
123
|
+
{
|
|
124
|
+
className: (0, import_classnames.default)("virtual-keyboard-component", className),
|
|
125
|
+
style
|
|
126
|
+
},
|
|
127
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("virtual-keyboard-component-left") }, /* @__PURE__ */ import_react.default.createElement(import_VirtualKeyInput.default, { ...virtualKeyInputProps }), /* @__PURE__ */ import_react.default.createElement(import_Keyboard.default, { items, ...keyboardProps })),
|
|
128
|
+
rightPanel ? /* @__PURE__ */ import_react.default.createElement("div", { className: "virtual-keyboard-component-right" }, rightPanel) : null
|
|
129
|
+
);
|
|
130
|
+
};
|
|
131
|
+
var virtual_keyboard_default = VirtualKeyboard;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.virtual-keyboard-component {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 20px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.virtual-keyboard-component-left {
|
|
8
|
+
padding: 10px;
|
|
9
|
+
width: 380px;
|
|
10
|
+
border-radius: 10px;
|
|
11
|
+
background: var(--Gray-300, #D0D5DD);
|
|
12
|
+
backdrop-filter: blur(50px);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.virtual-keyboard-component-right {
|
|
16
|
+
align-self: stretch;
|
|
17
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -74,4 +74,7 @@ export { default as InputNumberRange } from "./components/input-number-range";
|
|
|
74
74
|
export { default as LowCodePage } from "./components/lowCodePage";
|
|
75
75
|
export { default as PickerView } from "./components/picker-view";
|
|
76
76
|
export { default as Segmented } from "./components/segmented";
|
|
77
|
+
export { default as VirtualKeyboard } from "./components/virtual-keyboard";
|
|
78
|
+
export { default as VirtualKeyboardTime } from "./components/virtual-keyboard/Time";
|
|
79
|
+
export { default as SelectTime } from "./components/select-time";
|
|
77
80
|
export { default as AutoCompleteNumber } from "./components/auto-complete-number";
|
package/lib/index.js
CHANGED
|
@@ -82,6 +82,7 @@ __export(src_exports, {
|
|
|
82
82
|
Row: () => import_antd28.Row,
|
|
83
83
|
Segmented: () => import_segmented.default,
|
|
84
84
|
Select: () => import_select.default,
|
|
85
|
+
SelectTime: () => import_select_time.default,
|
|
85
86
|
Skeleton: () => import_skeleton.default,
|
|
86
87
|
Slider: () => import_slider.default,
|
|
87
88
|
Sort: () => import_sort.default,
|
|
@@ -103,6 +104,8 @@ __export(src_exports, {
|
|
|
103
104
|
TreeSelect: () => import_tree_select.default,
|
|
104
105
|
Typography: () => import_typography.default,
|
|
105
106
|
Upload: () => import_upload.default,
|
|
107
|
+
VirtualKeyboard: () => import_virtual_keyboard.default,
|
|
108
|
+
VirtualKeyboardTime: () => import_Time.default,
|
|
106
109
|
message: () => import_antd17.message,
|
|
107
110
|
notification: () => import_antd21.notification,
|
|
108
111
|
version: () => import_antd38.version
|
|
@@ -184,6 +187,9 @@ var import_input_number_range = __toESM(require("./components/input-number-range
|
|
|
184
187
|
var import_lowCodePage = __toESM(require("./components/lowCodePage"));
|
|
185
188
|
var import_picker_view = __toESM(require("./components/picker-view"));
|
|
186
189
|
var import_segmented = __toESM(require("./components/segmented"));
|
|
190
|
+
var import_virtual_keyboard = __toESM(require("./components/virtual-keyboard"));
|
|
191
|
+
var import_Time = __toESM(require("./components/virtual-keyboard/Time"));
|
|
192
|
+
var import_select_time = __toESM(require("./components/select-time"));
|
|
187
193
|
var import_auto_complete_number = __toESM(require("./components/auto-complete-number"));
|
|
188
194
|
// Annotate the CommonJS export names for ESM import in node:
|
|
189
195
|
0 && (module.exports = {
|
|
@@ -240,6 +246,7 @@ var import_auto_complete_number = __toESM(require("./components/auto-complete-nu
|
|
|
240
246
|
Row,
|
|
241
247
|
Segmented,
|
|
242
248
|
Select,
|
|
249
|
+
SelectTime,
|
|
243
250
|
Skeleton,
|
|
244
251
|
Slider,
|
|
245
252
|
Sort,
|
|
@@ -261,6 +268,8 @@ var import_auto_complete_number = __toESM(require("./components/auto-complete-nu
|
|
|
261
268
|
TreeSelect,
|
|
262
269
|
Typography,
|
|
263
270
|
Upload,
|
|
271
|
+
VirtualKeyboard,
|
|
272
|
+
VirtualKeyboardTime,
|
|
264
273
|
message,
|
|
265
274
|
notification,
|
|
266
275
|
version
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentMetadata, Snippet } from "@alilc/lowcode-types";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const SelectTimeMeta: ComponentMetadata = {
|
|
5
|
+
componentName: "SelectTime",
|
|
6
|
+
title: "SelectTime",
|
|
7
|
+
docUrl: "",
|
|
8
|
+
screenshot: "",
|
|
9
|
+
devMode: "proCode",
|
|
10
|
+
npm: {
|
|
11
|
+
package: "@pisell/materials",
|
|
12
|
+
version: "1.0.3",
|
|
13
|
+
exportName: "SelectTime",
|
|
14
|
+
main: "src/index.tsx",
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: "",
|
|
17
|
+
},
|
|
18
|
+
props: [
|
|
19
|
+
{
|
|
20
|
+
title: "others",
|
|
21
|
+
name: "others",
|
|
22
|
+
setter: ["JsonSetter", "VariableSetter"],
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
configure: {
|
|
26
|
+
supports: {
|
|
27
|
+
style: true,
|
|
28
|
+
events: [
|
|
29
|
+
{
|
|
30
|
+
name: "onClick",
|
|
31
|
+
template:
|
|
32
|
+
"onClick(event,${extParams}){\n// 点击时的回调\nconsole.log('onClick', event);}",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
component: {
|
|
37
|
+
isContainer: true,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const snippets: Snippet[] = [
|
|
42
|
+
{
|
|
43
|
+
title: "SelectTime",
|
|
44
|
+
screenshot: "",
|
|
45
|
+
schema: {
|
|
46
|
+
componentName: "SelectTime",
|
|
47
|
+
props: {},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
...SelectTimeMeta,
|
|
54
|
+
snippets,
|
|
55
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentMetadata, Snippet } from "@alilc/lowcode-types";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const VirtualKeyboardMeta: ComponentMetadata = {
|
|
5
|
+
componentName: "VirtualKeyboard",
|
|
6
|
+
title: "VirtualKeyboard",
|
|
7
|
+
docUrl: "",
|
|
8
|
+
screenshot: "",
|
|
9
|
+
devMode: "proCode",
|
|
10
|
+
npm: {
|
|
11
|
+
package: "@pisell/materials",
|
|
12
|
+
version: "1.0.3",
|
|
13
|
+
exportName: "VirtualKeyboard",
|
|
14
|
+
main: "src/index.tsx",
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: "",
|
|
17
|
+
},
|
|
18
|
+
props: [
|
|
19
|
+
{
|
|
20
|
+
title: "others",
|
|
21
|
+
name: "others",
|
|
22
|
+
setter: ["JsonSetter", "VariableSetter"],
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
configure: {
|
|
26
|
+
supports: {
|
|
27
|
+
style: true,
|
|
28
|
+
events: [
|
|
29
|
+
{
|
|
30
|
+
name: "onClick",
|
|
31
|
+
template:
|
|
32
|
+
"onClick(event,${extParams}){\n// 点击时的回调\nconsole.log('onClick', event);}",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
component: {
|
|
37
|
+
isContainer: true,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const snippets: Snippet[] = [
|
|
42
|
+
{
|
|
43
|
+
title: "VirtualKeyboard",
|
|
44
|
+
screenshot: "",
|
|
45
|
+
schema: {
|
|
46
|
+
componentName: "VirtualKeyboard",
|
|
47
|
+
props: {},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
...VirtualKeyboardMeta,
|
|
54
|
+
snippets,
|
|
55
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentMetadata, Snippet } from "@alilc/lowcode-types";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const VirtualKeyboardTimeMeta: ComponentMetadata = {
|
|
5
|
+
componentName: "VirtualKeyboardTime",
|
|
6
|
+
title: "VirtualKeyboardTime",
|
|
7
|
+
docUrl: "",
|
|
8
|
+
screenshot: "",
|
|
9
|
+
devMode: "proCode",
|
|
10
|
+
npm: {
|
|
11
|
+
package: "@pisell/materials",
|
|
12
|
+
version: "1.0.3",
|
|
13
|
+
exportName: "VirtualKeyboardTime",
|
|
14
|
+
main: "src/index.tsx",
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: "",
|
|
17
|
+
},
|
|
18
|
+
props: [
|
|
19
|
+
{
|
|
20
|
+
title: "others",
|
|
21
|
+
name: "others",
|
|
22
|
+
setter: ["JsonSetter", "VariableSetter"],
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
configure: {
|
|
26
|
+
supports: {
|
|
27
|
+
style: true,
|
|
28
|
+
events: [
|
|
29
|
+
{
|
|
30
|
+
name: "onClick",
|
|
31
|
+
template:
|
|
32
|
+
"onClick(event,${extParams}){\n// 点击时的回调\nconsole.log('onClick', event);}",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
component: {
|
|
37
|
+
isContainer: true,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const snippets: Snippet[] = [
|
|
42
|
+
{
|
|
43
|
+
title: "VirtualKeyboardTime",
|
|
44
|
+
screenshot: "",
|
|
45
|
+
schema: {
|
|
46
|
+
componentName: "VirtualKeyboardTime",
|
|
47
|
+
props: {},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
...VirtualKeyboardTimeMeta,
|
|
54
|
+
snippets,
|
|
55
|
+
};
|