@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.
Files changed (81) 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/es/components/page/index.js +1 -0
  12. package/es/index.d.ts +0 -3
  13. package/es/index.js +0 -3
  14. package/es/locales/en-US.d.ts +0 -2
  15. package/es/locales/en-US.js +1 -3
  16. package/es/locales/zh-CN.d.ts +0 -2
  17. package/es/locales/zh-CN.js +1 -3
  18. package/es/locales/zh-TW.d.ts +0 -2
  19. package/es/locales/zh-TW.js +1 -3
  20. package/lib/components/page/index.js +1 -0
  21. package/lib/index.d.ts +0 -3
  22. package/lib/index.js +0 -9
  23. package/lib/locales/en-US.d.ts +0 -2
  24. package/lib/locales/en-US.js +1 -3
  25. package/lib/locales/zh-CN.d.ts +0 -2
  26. package/lib/locales/zh-CN.js +1 -3
  27. package/lib/locales/zh-TW.d.ts +0 -2
  28. package/lib/locales/zh-TW.js +1 -3
  29. package/package.json +2 -2
  30. package/dist/umd/materials.min.css +0 -1
  31. package/dist/umd/materials.min.js +0 -1
  32. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  33. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  34. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  35. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  36. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  37. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  38. package/es/components/select-time/RightPanel/index.d.ts +0 -9
  39. package/es/components/select-time/RightPanel/index.js +0 -45
  40. package/es/components/select-time/RightPanel/index.less +0 -22
  41. package/es/components/select-time/index.d.ts +0 -14
  42. package/es/components/select-time/index.js +0 -115
  43. package/es/components/select-time/index.less +0 -16
  44. package/es/components/select-time/utils.d.ts +0 -9
  45. package/es/components/select-time/utils.js +0 -42
  46. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -18
  47. package/es/components/virtual-keyboard/Keyboard/index.js +0 -51
  48. package/es/components/virtual-keyboard/Keyboard/index.less +0 -32
  49. package/es/components/virtual-keyboard/Time/index.d.ts +0 -13
  50. package/es/components/virtual-keyboard/Time/index.js +0 -124
  51. package/es/components/virtual-keyboard/Time/index.less +0 -0
  52. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -10
  53. package/es/components/virtual-keyboard/Time/utils.js +0 -153
  54. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -9
  55. package/es/components/virtual-keyboard/VirtualKeyInput/index.js +0 -76
  56. package/es/components/virtual-keyboard/VirtualKeyInput/index.less +0 -52
  57. package/es/components/virtual-keyboard/index.d.ts +0 -14
  58. package/es/components/virtual-keyboard/index.js +0 -85
  59. package/es/components/virtual-keyboard/index.less +0 -17
  60. package/lib/components/select-time/RightPanel/index.d.ts +0 -9
  61. package/lib/components/select-time/RightPanel/index.js +0 -78
  62. package/lib/components/select-time/RightPanel/index.less +0 -22
  63. package/lib/components/select-time/index.d.ts +0 -14
  64. package/lib/components/select-time/index.js +0 -145
  65. package/lib/components/select-time/index.less +0 -16
  66. package/lib/components/select-time/utils.d.ts +0 -9
  67. package/lib/components/select-time/utils.js +0 -71
  68. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -18
  69. package/lib/components/virtual-keyboard/Keyboard/index.js +0 -81
  70. package/lib/components/virtual-keyboard/Keyboard/index.less +0 -32
  71. package/lib/components/virtual-keyboard/Time/index.d.ts +0 -13
  72. package/lib/components/virtual-keyboard/Time/index.js +0 -166
  73. package/lib/components/virtual-keyboard/Time/index.less +0 -0
  74. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -10
  75. package/lib/components/virtual-keyboard/Time/utils.js +0 -162
  76. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -9
  77. package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +0 -90
  78. package/lib/components/virtual-keyboard/VirtualKeyInput/index.less +0 -52
  79. package/lib/components/virtual-keyboard/index.d.ts +0 -14
  80. package/lib/components/virtual-keyboard/index.js +0 -131
  81. 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
- }