@pisell/materials 3.0.13 → 3.0.14

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.
Files changed (82) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +142 -142
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +20 -20
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +20 -20
  11. package/dist/umd/materials.min.css +1 -0
  12. package/dist/umd/materials.min.js +1 -0
  13. package/dist/umd/static/DotsSix.57d66266.svg +1 -0
  14. package/dist/umd/static/arrow-left.e542294f.svg +1 -0
  15. package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
  16. package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
  17. package/dist/umd/static/help-circle.31c9be40.svg +1 -0
  18. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
  19. package/es/components/page/index.js +12 -9
  20. package/es/components/select-time/RightPanel/index.d.ts +9 -0
  21. package/es/components/select-time/RightPanel/index.js +45 -0
  22. package/es/components/select-time/RightPanel/index.less +22 -0
  23. package/es/components/select-time/index.d.ts +14 -0
  24. package/es/components/select-time/index.js +115 -0
  25. package/es/components/select-time/index.less +16 -0
  26. package/es/components/select-time/utils.d.ts +9 -0
  27. package/es/components/select-time/utils.js +42 -0
  28. package/es/components/virtual-keyboard/Keyboard/index.d.ts +18 -0
  29. package/es/components/virtual-keyboard/Keyboard/index.js +51 -0
  30. package/es/components/virtual-keyboard/Keyboard/index.less +32 -0
  31. package/es/components/virtual-keyboard/Time/index.d.ts +13 -0
  32. package/es/components/virtual-keyboard/Time/index.js +124 -0
  33. package/es/components/virtual-keyboard/Time/index.less +0 -0
  34. package/es/components/virtual-keyboard/Time/utils.d.ts +10 -0
  35. package/es/components/virtual-keyboard/Time/utils.js +153 -0
  36. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +9 -0
  37. package/es/components/virtual-keyboard/VirtualKeyInput/index.js +76 -0
  38. package/es/components/virtual-keyboard/VirtualKeyInput/index.less +52 -0
  39. package/es/components/virtual-keyboard/index.d.ts +14 -0
  40. package/es/components/virtual-keyboard/index.js +85 -0
  41. package/es/components/virtual-keyboard/index.less +17 -0
  42. package/es/index.d.ts +3 -0
  43. package/es/index.js +3 -0
  44. package/es/locales/en-US.d.ts +2 -0
  45. package/es/locales/en-US.js +3 -1
  46. package/es/locales/zh-CN.d.ts +2 -0
  47. package/es/locales/zh-CN.js +3 -1
  48. package/es/locales/zh-TW.d.ts +2 -0
  49. package/es/locales/zh-TW.js +3 -1
  50. package/lib/components/page/index.js +6 -7
  51. package/lib/components/select-time/RightPanel/index.d.ts +9 -0
  52. package/lib/components/select-time/RightPanel/index.js +78 -0
  53. package/lib/components/select-time/RightPanel/index.less +22 -0
  54. package/lib/components/select-time/index.d.ts +14 -0
  55. package/lib/components/select-time/index.js +145 -0
  56. package/lib/components/select-time/index.less +16 -0
  57. package/lib/components/select-time/utils.d.ts +9 -0
  58. package/lib/components/select-time/utils.js +71 -0
  59. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +18 -0
  60. package/lib/components/virtual-keyboard/Keyboard/index.js +81 -0
  61. package/lib/components/virtual-keyboard/Keyboard/index.less +32 -0
  62. package/lib/components/virtual-keyboard/Time/index.d.ts +13 -0
  63. package/lib/components/virtual-keyboard/Time/index.js +166 -0
  64. package/lib/components/virtual-keyboard/Time/index.less +0 -0
  65. package/lib/components/virtual-keyboard/Time/utils.d.ts +10 -0
  66. package/lib/components/virtual-keyboard/Time/utils.js +162 -0
  67. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +9 -0
  68. package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +90 -0
  69. package/lib/components/virtual-keyboard/VirtualKeyInput/index.less +52 -0
  70. package/lib/components/virtual-keyboard/index.d.ts +14 -0
  71. package/lib/components/virtual-keyboard/index.js +131 -0
  72. package/lib/components/virtual-keyboard/index.less +17 -0
  73. package/lib/index.d.ts +3 -0
  74. package/lib/index.js +9 -0
  75. package/lib/locales/en-US.d.ts +2 -0
  76. package/lib/locales/en-US.js +3 -1
  77. package/lib/locales/zh-CN.d.ts +2 -0
  78. package/lib/locales/zh-CN.js +3 -1
  79. package/lib/locales/zh-TW.d.ts +2 -0
  80. package/lib/locales/zh-TW.js +3 -1
  81. package/lowcode/select-time/meta.ts +8 -8
  82. package/package.json +1 -1
@@ -0,0 +1,162 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/virtual-keyboard/Time/utils.tsx
20
+ var utils_exports = {};
21
+ __export(utils_exports, {
22
+ fn: () => fn,
23
+ formatStringToTime: () => formatStringToTime
24
+ });
25
+ module.exports = __toCommonJS(utils_exports);
26
+ var getStringAtPosition = (str, pos) => {
27
+ if (pos < 0 || pos >= str.length) {
28
+ return void 0;
29
+ }
30
+ return str.charAt(pos);
31
+ };
32
+ var getNum1 = (arr, str) => {
33
+ let num1 = getStringAtPosition(str, 0);
34
+ if (Number(num1) < 3) {
35
+ arr[0] = num1;
36
+ return arr;
37
+ }
38
+ arr[0] = "0";
39
+ arr[1] = num1;
40
+ return arr;
41
+ };
42
+ var getNum2 = (arr, num2) => {
43
+ let num1 = arr[0];
44
+ if (arr.length < 2) {
45
+ if (Number(num1) < 2) {
46
+ arr[1] = num2;
47
+ return arr;
48
+ } else {
49
+ if (Number(num1) === 2) {
50
+ if (Number(num2) < 4) {
51
+ arr[1] = num2;
52
+ return arr;
53
+ } else {
54
+ if (Number(num2) <= 5) {
55
+ arr[1] = "0";
56
+ arr[2] = num2;
57
+ return arr;
58
+ }
59
+ arr[1] = "0";
60
+ arr[2] = "0";
61
+ arr[3] = num2;
62
+ return arr;
63
+ }
64
+ }
65
+ }
66
+ }
67
+ if (Number(num2) < 6) {
68
+ arr[2] = num2;
69
+ return arr;
70
+ } else {
71
+ arr[2] = "0";
72
+ arr[3] = num2;
73
+ return arr;
74
+ }
75
+ };
76
+ var getNum3 = (arr, num3) => {
77
+ if (arr.length === 2) {
78
+ if (Number(num3) < 6) {
79
+ arr[2] = num3;
80
+ return arr;
81
+ } else {
82
+ arr[2] = "0";
83
+ arr[3] = num3;
84
+ return arr;
85
+ }
86
+ }
87
+ arr[3] = num3;
88
+ return arr;
89
+ };
90
+ var getNum4 = (arr, num4) => {
91
+ arr[3] = num4;
92
+ return arr;
93
+ };
94
+ var formatArray = (arr) => {
95
+ let _arr = [...arr];
96
+ while (_arr.length < 4) {
97
+ _arr.push("0");
98
+ }
99
+ _arr.splice(2, "0", ":");
100
+ return _arr;
101
+ };
102
+ var formatRes = (arr) => {
103
+ let valueArray = [...arr];
104
+ let previewValueArray = formatArray(arr);
105
+ let previewValueArrayDom = null;
106
+ if (valueArray.length > 2) {
107
+ valueArray.splice(2, "0", ":");
108
+ }
109
+ previewValueArrayDom = previewValueArray.map((d, i) => {
110
+ if (valueArray[i]) {
111
+ return /* @__PURE__ */ React.createElement("span", null, d);
112
+ } else {
113
+ return /* @__PURE__ */ React.createElement("span", { style: { color: "#98A2B3" } }, d);
114
+ }
115
+ });
116
+ return {
117
+ valueArray,
118
+ valueString: arr.join(""),
119
+ previewValueArray: formatArray(arr),
120
+ previewValueArrayDom,
121
+ previewValueString: formatArray(arr).join(""),
122
+ disabled: []
123
+ };
124
+ };
125
+ var formatStringToTime = (value) => {
126
+ let arr = [];
127
+ let str = value.replace(":", "");
128
+ if (str.length >= 5) {
129
+ str = "";
130
+ }
131
+ let num2 = getStringAtPosition(str, 1);
132
+ let num3 = getStringAtPosition(str, 2);
133
+ let num4 = getStringAtPosition(str, 3);
134
+ if (!str.length) {
135
+ return formatRes(arr);
136
+ }
137
+ arr = getNum1(arr, str);
138
+ if (num2 !== void 0) {
139
+ arr = getNum2(arr, num2);
140
+ if (arr.length === 4) {
141
+ return formatRes(arr);
142
+ }
143
+ }
144
+ if (num3 !== void 0) {
145
+ arr = getNum3(arr, num3);
146
+ if (arr.length === 4) {
147
+ return formatRes(arr);
148
+ }
149
+ }
150
+ if (num4 !== void 0) {
151
+ arr = getNum4(arr, num4);
152
+ return formatRes(arr);
153
+ }
154
+ return formatRes(arr);
155
+ };
156
+ var fn = () => {
157
+ };
158
+ // Annotate the CommonJS export names for ESM import in node:
159
+ 0 && (module.exports = {
160
+ fn,
161
+ formatStringToTime
162
+ });
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { InputProps } from "antd";
3
+ import "./index.less";
4
+ export interface VirtualKeyInputProps extends InputProps {
5
+ previewValue?: string;
6
+ renderInput?: (props: any) => any;
7
+ }
8
+ declare const VirtualKeyInput: (props: VirtualKeyInputProps) => React.JSX.Element;
9
+ export default VirtualKeyInput;
@@ -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
@@ -73,4 +73,7 @@ export { default as Sort } from "./components/sort";
73
73
  export { default as InputNumberRange } from "./components/input-number-range";
74
74
  export { default as LowCodePage } from "./components/lowCodePage";
75
75
  export { default as Segmented } from "./components/segmented";
76
+ export { default as VirtualKeyboard } from "./components/virtual-keyboard";
77
+ export { default as VirtualKeyboardTime } from "./components/virtual-keyboard/Time";
78
+ export { default as SelectTime } from "./components/select-time";
76
79
  export { default as AutoCompleteNumber } from "./components/auto-complete-number";
package/lib/index.js CHANGED
@@ -81,6 +81,7 @@ __export(src_exports, {
81
81
  Row: () => import_antd28.Row,
82
82
  Segmented: () => import_segmented.default,
83
83
  Select: () => import_select.default,
84
+ SelectTime: () => import_select_time.default,
84
85
  Skeleton: () => import_skeleton.default,
85
86
  Slider: () => import_slider.default,
86
87
  Sort: () => import_sort.default,
@@ -102,6 +103,8 @@ __export(src_exports, {
102
103
  TreeSelect: () => import_tree_select.default,
103
104
  Typography: () => import_typography.default,
104
105
  Upload: () => import_upload.default,
106
+ VirtualKeyboard: () => import_virtual_keyboard.default,
107
+ VirtualKeyboardTime: () => import_Time.default,
105
108
  message: () => import_antd17.message,
106
109
  notification: () => import_antd21.notification,
107
110
  version: () => import_antd38.version
@@ -182,6 +185,9 @@ var import_sort = __toESM(require("./components/sort"));
182
185
  var import_input_number_range = __toESM(require("./components/input-number-range"));
183
186
  var import_lowCodePage = __toESM(require("./components/lowCodePage"));
184
187
  var import_segmented = __toESM(require("./components/segmented"));
188
+ var import_virtual_keyboard = __toESM(require("./components/virtual-keyboard"));
189
+ var import_Time = __toESM(require("./components/virtual-keyboard/Time"));
190
+ var import_select_time = __toESM(require("./components/select-time"));
185
191
  var import_auto_complete_number = __toESM(require("./components/auto-complete-number"));
186
192
  // Annotate the CommonJS export names for ESM import in node:
187
193
  0 && (module.exports = {
@@ -237,6 +243,7 @@ var import_auto_complete_number = __toESM(require("./components/auto-complete-nu
237
243
  Row,
238
244
  Segmented,
239
245
  Select,
246
+ SelectTime,
240
247
  Skeleton,
241
248
  Slider,
242
249
  Sort,
@@ -258,6 +265,8 @@ var import_auto_complete_number = __toESM(require("./components/auto-complete-nu
258
265
  TreeSelect,
259
266
  Typography,
260
267
  Upload,
268
+ VirtualKeyboard,
269
+ VirtualKeyboardTime,
261
270
  message,
262
271
  notification,
263
272
  version
@@ -35,5 +35,7 @@ declare const _default: {
35
35
  "table-action-range-picker-presets-last-14-day": string;
36
36
  "table-action-range-picker-presets-last-30-day": string;
37
37
  "table-action-range-picker-presets-last-90-day": string;
38
+ "virtual-keyboard-time-now": string;
39
+ "virtual-keyboard-time-ok": string;
38
40
  };
39
41
  export default _default;
@@ -58,5 +58,7 @@ var en_US_default = {
58
58
  "table-action-range-picker-presets-last-7-day": "Last 7 Days",
59
59
  "table-action-range-picker-presets-last-14-day": "Last 14 Days",
60
60
  "table-action-range-picker-presets-last-30-day": "Last 30 Days",
61
- "table-action-range-picker-presets-last-90-day": "Last 90 Days"
61
+ "table-action-range-picker-presets-last-90-day": "Last 90 Days",
62
+ "virtual-keyboard-time-now": "Now",
63
+ "virtual-keyboard-time-ok": "OK"
62
64
  };
@@ -35,5 +35,7 @@ declare const _default: {
35
35
  "table-action-range-picker-presets-last-14-day": string;
36
36
  "table-action-range-picker-presets-last-30-day": string;
37
37
  "table-action-range-picker-presets-last-90-day": string;
38
+ "virtual-keyboard-time-now": string;
39
+ "virtual-keyboard-time-ok": string;
38
40
  };
39
41
  export default _default;
@@ -58,5 +58,7 @@ var zh_CN_default = {
58
58
  "table-action-range-picker-presets-last-7-day": "过去7天",
59
59
  "table-action-range-picker-presets-last-14-day": "过去14天",
60
60
  "table-action-range-picker-presets-last-30-day": "过去30天",
61
- "table-action-range-picker-presets-last-90-day": "过去90天"
61
+ "table-action-range-picker-presets-last-90-day": "过去90天",
62
+ "virtual-keyboard-time-now": "此刻",
63
+ "virtual-keyboard-time-ok": "确定"
62
64
  };
@@ -35,5 +35,7 @@ declare const _default: {
35
35
  "table-action-range-picker-presets-last-14-day": string;
36
36
  "table-action-range-picker-presets-last-30-day": string;
37
37
  "table-action-range-picker-presets-last-90-day": string;
38
+ "virtual-keyboard-time-now": string;
39
+ "virtual-keyboard-time-ok": string;
38
40
  };
39
41
  export default _default;
@@ -58,5 +58,7 @@ var zh_TW_default = {
58
58
  "table-action-range-picker-presets-last-7-day": "過去7天",
59
59
  "table-action-range-picker-presets-last-14-day": "過去14天",
60
60
  "table-action-range-picker-presets-last-30-day": "過去30天",
61
- "table-action-range-picker-presets-last-90-day": "過去90天"
61
+ "table-action-range-picker-presets-last-90-day": "過去90天",
62
+ "virtual-keyboard-time-now": "此刻",
63
+ "virtual-keyboard-time-ok": "確定"
62
64
  };
@@ -22,23 +22,23 @@ const SelectTimeMeta: ComponentMetadata = {
22
22
  setter: ["JsonSetter", "VariableSetter"],
23
23
  },
24
24
  {
25
- title: "popoverProps",
26
- name: "弹层的配置项",
25
+ title: "弹层的配置项",
26
+ name: "popoverProps",
27
27
  setter: ["JsonSetter", "VariableSetter"],
28
28
  },
29
29
  {
30
- title: "timePickerProps",
31
- name: "虚拟键盘的配置项",
30
+ title: "虚拟键盘的配置项",
31
+ name: "timePickerProps",
32
32
  setter: ["JsonSetter", "VariableSetter"],
33
33
  },
34
34
  {
35
- title: "timeProps",
36
- name: "时间input框的配置项",
35
+ title: "时间input框的配置项",
36
+ name: "timeProps",
37
37
  setter: ["JsonSetter", "VariableSetter"],
38
38
  },
39
39
  {
40
- title: "slice",
41
- name: "时间切片",
40
+ title: "时间切片",
41
+ name: "slice",
42
42
  setter: ["JsonSetter", "VariableSetter"],
43
43
  },
44
44
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",