@pisell/materials 3.0.12 → 3.0.13
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 +20 -20
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +20 -20
- package/es/components/page/index.js +1 -0
- package/es/index.d.ts +0 -3
- package/es/index.js +0 -3
- package/es/locales/en-US.d.ts +0 -2
- package/es/locales/en-US.js +1 -3
- package/es/locales/zh-CN.d.ts +0 -2
- package/es/locales/zh-CN.js +1 -3
- package/es/locales/zh-TW.d.ts +0 -2
- package/es/locales/zh-TW.js +1 -3
- package/lib/components/page/index.js +1 -0
- package/lib/index.d.ts +0 -3
- package/lib/index.js +0 -9
- package/lib/locales/en-US.d.ts +0 -2
- package/lib/locales/en-US.js +1 -3
- package/lib/locales/zh-CN.d.ts +0 -2
- package/lib/locales/zh-CN.js +1 -3
- package/lib/locales/zh-TW.d.ts +0 -2
- package/lib/locales/zh-TW.js +1 -3
- package/package.json +2 -2
- package/dist/umd/materials.min.css +0 -1
- package/dist/umd/materials.min.js +0 -1
- package/dist/umd/static/DotsSix.57d66266.svg +0 -1
- package/dist/umd/static/arrow-left.e542294f.svg +0 -1
- package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
- package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
- package/dist/umd/static/help-circle.31c9be40.svg +0 -1
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
- package/es/components/select-time/RightPanel/index.d.ts +0 -9
- package/es/components/select-time/RightPanel/index.js +0 -45
- package/es/components/select-time/RightPanel/index.less +0 -22
- package/es/components/select-time/index.d.ts +0 -14
- package/es/components/select-time/index.js +0 -115
- package/es/components/select-time/index.less +0 -16
- package/es/components/select-time/utils.d.ts +0 -9
- package/es/components/select-time/utils.js +0 -42
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -18
- package/es/components/virtual-keyboard/Keyboard/index.js +0 -51
- package/es/components/virtual-keyboard/Keyboard/index.less +0 -32
- package/es/components/virtual-keyboard/Time/index.d.ts +0 -13
- package/es/components/virtual-keyboard/Time/index.js +0 -124
- package/es/components/virtual-keyboard/Time/index.less +0 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +0 -10
- package/es/components/virtual-keyboard/Time/utils.js +0 -153
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -9
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +0 -76
- package/es/components/virtual-keyboard/VirtualKeyInput/index.less +0 -52
- package/es/components/virtual-keyboard/index.d.ts +0 -14
- package/es/components/virtual-keyboard/index.js +0 -85
- package/es/components/virtual-keyboard/index.less +0 -17
- package/lib/components/select-time/RightPanel/index.d.ts +0 -9
- package/lib/components/select-time/RightPanel/index.js +0 -78
- package/lib/components/select-time/RightPanel/index.less +0 -22
- package/lib/components/select-time/index.d.ts +0 -14
- package/lib/components/select-time/index.js +0 -145
- package/lib/components/select-time/index.less +0 -16
- package/lib/components/select-time/utils.d.ts +0 -9
- package/lib/components/select-time/utils.js +0 -71
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -18
- package/lib/components/virtual-keyboard/Keyboard/index.js +0 -81
- package/lib/components/virtual-keyboard/Keyboard/index.less +0 -32
- package/lib/components/virtual-keyboard/Time/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/Time/index.js +0 -166
- package/lib/components/virtual-keyboard/Time/index.less +0 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -10
- package/lib/components/virtual-keyboard/Time/utils.js +0 -162
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -9
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +0 -90
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.less +0 -52
- package/lib/components/virtual-keyboard/index.d.ts +0 -14
- package/lib/components/virtual-keyboard/index.js +0 -131
- package/lib/components/virtual-keyboard/index.less +0 -17
|
@@ -1,52 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,131 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|