@pisell/materials 3.0.39 → 3.0.41
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 +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +46 -12
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +48 -14
- package/es/components/page/index.js +4 -2
- package/es/components/pisell-config-provider/index.js +2 -0
- package/es/components/pisellModal/components/functions/index.d.ts +23 -5
- package/es/components/pisellModal/components/functions/index.js +7 -2
- package/es/components/pisellModal/index.d.ts +20 -5
- package/lib/components/page/index.js +3 -2
- package/lib/components/pisell-config-provider/index.js +2 -0
- package/lib/components/pisellModal/components/functions/index.d.ts +23 -5
- package/lib/components/pisellModal/components/functions/index.js +13 -7
- package/lib/components/pisellModal/index.d.ts +20 -5
- package/lowcode/page/meta.ts +1 -0
- package/package.json +3 -3
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
var _excluded = ["children", "style", "locale"];
|
|
2
|
+
var _excluded = ["children", "style", "className", "locale"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -47,6 +47,7 @@ var Page = function Page(props) {
|
|
|
47
47
|
var _context$appHelper, _context$engine, _context$engine$props, _localeDateMap;
|
|
48
48
|
var children = props.children,
|
|
49
49
|
style = props.style,
|
|
50
|
+
className = props.className,
|
|
50
51
|
propsLocale = props.locale,
|
|
51
52
|
others = _objectWithoutProperties(props, _excluded);
|
|
52
53
|
var context = useEngineContext();
|
|
@@ -252,7 +253,8 @@ var Page = function Page(props) {
|
|
|
252
253
|
}, /*#__PURE__*/React.createElement("div", {
|
|
253
254
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
254
255
|
'--theme-color': themeColor || '#7F56D9'
|
|
255
|
-
})
|
|
256
|
+
}),
|
|
257
|
+
className: className
|
|
256
258
|
}, children)))))));
|
|
257
259
|
};
|
|
258
260
|
export default Page;
|
|
@@ -4,6 +4,7 @@ import PisellContext, { globalConfig } from "./context";
|
|
|
4
4
|
import { useResponsive } from "../../hooks";
|
|
5
5
|
import useEngineContext from "../../hooks/useEngineContext";
|
|
6
6
|
import { setMessage } from "../pisellMessage";
|
|
7
|
+
import { setModal } from "../pisellModal/components/functions";
|
|
7
8
|
var platformMap = {
|
|
8
9
|
phone: 'h5',
|
|
9
10
|
pc: 'pc',
|
|
@@ -28,6 +29,7 @@ var PisellConfigProvider = function PisellConfigProvider(props) {
|
|
|
28
29
|
};
|
|
29
30
|
var staticFunction = App.useApp();
|
|
30
31
|
setMessage(staticFunction.message);
|
|
32
|
+
setModal(staticFunction.modal);
|
|
31
33
|
globalConfig.setConfig(config);
|
|
32
34
|
return /*#__PURE__*/React.createElement(PisellContext.Provider, {
|
|
33
35
|
value: config
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import { ModalFuncProps } from 'antd';
|
|
2
|
+
import { useAppProps } from 'antd/es/app/context';
|
|
2
3
|
import { PisellContextType } from '../../../pisell-config-provider/context';
|
|
3
4
|
import './index.less';
|
|
5
|
+
declare const setModal: (m: useAppProps['modal']) => void;
|
|
4
6
|
export interface PisellModalFuncProps extends ModalFuncProps {
|
|
5
7
|
platform?: PisellContextType['platform'];
|
|
6
8
|
}
|
|
7
|
-
export declare const info: (props: PisellModalFuncProps) =>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
export declare const info: (props: PisellModalFuncProps) => {
|
|
10
|
+
destroy: () => void;
|
|
11
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const success: (props: PisellModalFuncProps) => {
|
|
14
|
+
destroy: () => void;
|
|
15
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const error: (props: PisellModalFuncProps) => {
|
|
18
|
+
destroy: () => void;
|
|
19
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
20
|
+
};
|
|
21
|
+
export declare const warning: (props: PisellModalFuncProps) => {
|
|
22
|
+
destroy: () => void;
|
|
23
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
24
|
+
};
|
|
11
25
|
export declare const warn: (props: PisellModalFuncProps) => any;
|
|
12
|
-
export declare const confirm: (props: PisellModalFuncProps) =>
|
|
26
|
+
export declare const confirm: (props: PisellModalFuncProps) => {
|
|
27
|
+
destroy: () => void;
|
|
28
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
29
|
+
};
|
|
30
|
+
export { setModal };
|
|
@@ -4,15 +4,19 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
6
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
-
import Modal from "../../../modal";
|
|
8
7
|
import classNames from 'classnames';
|
|
9
8
|
import { globalConfig } from "../../../pisell-config-provider/context";
|
|
10
9
|
import "./index.less";
|
|
10
|
+
var Modal;
|
|
11
|
+
var setModal = function setModal(m) {
|
|
12
|
+
Modal = m;
|
|
13
|
+
};
|
|
11
14
|
var genConfig = function genConfig(props) {
|
|
12
15
|
var _globalConfig$getConf = globalConfig.getConfig(),
|
|
13
16
|
platform = _globalConfig$getConf.platform;
|
|
14
17
|
return _objectSpread(_objectSpread({}, props), {}, {
|
|
15
18
|
wrapClassName: classNames('pisell-modal-function-wrap', _defineProperty({}, 'pisell-modal-mobile-function-wrap', platform === 'h5')),
|
|
19
|
+
transitionName: "pisell-move-down",
|
|
16
20
|
cancelButtonProps: _objectSpread({
|
|
17
21
|
block: true,
|
|
18
22
|
size: 'large'
|
|
@@ -41,4 +45,5 @@ export var warn = function warn(props) {
|
|
|
41
45
|
};
|
|
42
46
|
export var confirm = function confirm(props) {
|
|
43
47
|
return Modal.confirm(genConfig(props));
|
|
44
|
-
};
|
|
48
|
+
};
|
|
49
|
+
export { setModal };
|
|
@@ -32,12 +32,27 @@ export interface PisellModalProps extends ModalProps {
|
|
|
32
32
|
}
|
|
33
33
|
declare const PisellModal: {
|
|
34
34
|
(props: PisellModalProps): React.JSX.Element;
|
|
35
|
-
confirm: (props: import("./components/functions").PisellModalFuncProps) =>
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
confirm: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
36
|
+
destroy: () => void;
|
|
37
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
38
|
+
};
|
|
39
|
+
info: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
40
|
+
destroy: () => void;
|
|
41
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
42
|
+
};
|
|
43
|
+
error: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
44
|
+
destroy: () => void;
|
|
45
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
46
|
+
};
|
|
38
47
|
warn: (props: import("./components/functions").PisellModalFuncProps) => any;
|
|
39
|
-
warning: (props: import("./components/functions").PisellModalFuncProps) =>
|
|
40
|
-
|
|
48
|
+
warning: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
49
|
+
destroy: () => void;
|
|
50
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
51
|
+
};
|
|
52
|
+
success: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
53
|
+
destroy: () => void;
|
|
54
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
55
|
+
};
|
|
41
56
|
Information: (props: import("./components/Information").InformationProps) => React.JSX.Element;
|
|
42
57
|
};
|
|
43
58
|
export default PisellModal;
|
|
@@ -69,7 +69,7 @@ var localeDateMap = {
|
|
|
69
69
|
};
|
|
70
70
|
var Page = (props) => {
|
|
71
71
|
var _a, _b, _c, _d;
|
|
72
|
-
const { children, style, locale: propsLocale, ...others } = props;
|
|
72
|
+
const { children, style, className, locale: propsLocale, ...others } = props;
|
|
73
73
|
const context = (0, import_useEngineContext.default)();
|
|
74
74
|
const { platform, themeColor } = ((_a = context.appHelper) == null ? void 0 : _a.constants) || {};
|
|
75
75
|
const locale = propsLocale || ((_c = (_b = context == null ? void 0 : context.engine) == null ? void 0 : _b.props) == null ? void 0 : _c.locale) || "en";
|
|
@@ -271,7 +271,8 @@ var Page = (props) => {
|
|
|
271
271
|
/* @__PURE__ */ import_react.default.createElement(import_date_picker.ThemeProvider, { theme: datePickerTheme }, /* @__PURE__ */ import_react.default.createElement(import_date_picker.LocaleProvider, { value: { locale } }, /* @__PURE__ */ import_react.default.createElement(import_pisell_config_provider.default, { locale }, /* @__PURE__ */ import_react.default.createElement(
|
|
272
272
|
"div",
|
|
273
273
|
{
|
|
274
|
-
style: { ...style, "--theme-color": themeColor || "#7F56D9" }
|
|
274
|
+
style: { ...style, "--theme-color": themeColor || "#7F56D9" },
|
|
275
|
+
className
|
|
275
276
|
},
|
|
276
277
|
children
|
|
277
278
|
))))
|
|
@@ -38,6 +38,7 @@ var import_context = __toESM(require("./context"));
|
|
|
38
38
|
var import_hooks = require("../../hooks");
|
|
39
39
|
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
40
40
|
var import_pisellMessage = require("../pisellMessage");
|
|
41
|
+
var import_functions = require("../pisellModal/components/functions");
|
|
41
42
|
var platformMap = {
|
|
42
43
|
phone: "h5",
|
|
43
44
|
pc: "pc",
|
|
@@ -63,6 +64,7 @@ var PisellConfigProvider = (props) => {
|
|
|
63
64
|
};
|
|
64
65
|
const staticFunction = import_antd.App.useApp();
|
|
65
66
|
(0, import_pisellMessage.setMessage)(staticFunction.message);
|
|
67
|
+
(0, import_functions.setModal)(staticFunction.modal);
|
|
66
68
|
import_context.globalConfig.setConfig(config);
|
|
67
69
|
return /* @__PURE__ */ import_react.default.createElement(import_context.default.Provider, { value: config }, children);
|
|
68
70
|
};
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import { ModalFuncProps } from 'antd';
|
|
2
|
+
import { useAppProps } from 'antd/es/app/context';
|
|
2
3
|
import { PisellContextType } from '../../../pisell-config-provider/context';
|
|
3
4
|
import './index.less';
|
|
5
|
+
declare const setModal: (m: useAppProps['modal']) => void;
|
|
4
6
|
export interface PisellModalFuncProps extends ModalFuncProps {
|
|
5
7
|
platform?: PisellContextType['platform'];
|
|
6
8
|
}
|
|
7
|
-
export declare const info: (props: PisellModalFuncProps) =>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
export declare const info: (props: PisellModalFuncProps) => {
|
|
10
|
+
destroy: () => void;
|
|
11
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const success: (props: PisellModalFuncProps) => {
|
|
14
|
+
destroy: () => void;
|
|
15
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const error: (props: PisellModalFuncProps) => {
|
|
18
|
+
destroy: () => void;
|
|
19
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
20
|
+
};
|
|
21
|
+
export declare const warning: (props: PisellModalFuncProps) => {
|
|
22
|
+
destroy: () => void;
|
|
23
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
24
|
+
};
|
|
11
25
|
export declare const warn: (props: PisellModalFuncProps) => any;
|
|
12
|
-
export declare const confirm: (props: PisellModalFuncProps) =>
|
|
26
|
+
export declare const confirm: (props: PisellModalFuncProps) => {
|
|
27
|
+
destroy: () => void;
|
|
28
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
29
|
+
};
|
|
30
|
+
export { setModal };
|
|
@@ -32,15 +32,19 @@ __export(functions_exports, {
|
|
|
32
32
|
confirm: () => confirm,
|
|
33
33
|
error: () => error,
|
|
34
34
|
info: () => info,
|
|
35
|
+
setModal: () => setModal,
|
|
35
36
|
success: () => success,
|
|
36
37
|
warn: () => warn,
|
|
37
38
|
warning: () => warning
|
|
38
39
|
});
|
|
39
40
|
module.exports = __toCommonJS(functions_exports);
|
|
40
|
-
var import_modal = __toESM(require("../../../modal"));
|
|
41
41
|
var import_classnames = __toESM(require("classnames"));
|
|
42
42
|
var import_context = require("../../../pisell-config-provider/context");
|
|
43
43
|
var import_index = require("./index.less");
|
|
44
|
+
var Modal;
|
|
45
|
+
var setModal = (m) => {
|
|
46
|
+
Modal = m;
|
|
47
|
+
};
|
|
44
48
|
var genConfig = (props) => {
|
|
45
49
|
const { platform } = import_context.globalConfig.getConfig();
|
|
46
50
|
return {
|
|
@@ -48,6 +52,7 @@ var genConfig = (props) => {
|
|
|
48
52
|
wrapClassName: (0, import_classnames.default)("pisell-modal-function-wrap", {
|
|
49
53
|
["pisell-modal-mobile-function-wrap"]: platform === "h5"
|
|
50
54
|
}),
|
|
55
|
+
transitionName: "pisell-move-down",
|
|
51
56
|
cancelButtonProps: {
|
|
52
57
|
block: true,
|
|
53
58
|
size: "large",
|
|
@@ -62,28 +67,29 @@ var genConfig = (props) => {
|
|
|
62
67
|
};
|
|
63
68
|
};
|
|
64
69
|
var info = (props) => {
|
|
65
|
-
return
|
|
70
|
+
return Modal.info(genConfig(props));
|
|
66
71
|
};
|
|
67
72
|
var success = (props) => {
|
|
68
|
-
return
|
|
73
|
+
return Modal.success(genConfig(props));
|
|
69
74
|
};
|
|
70
75
|
var error = (props) => {
|
|
71
|
-
return
|
|
76
|
+
return Modal.error(genConfig(props));
|
|
72
77
|
};
|
|
73
78
|
var warning = (props) => {
|
|
74
|
-
return
|
|
79
|
+
return Modal.warning(genConfig(props));
|
|
75
80
|
};
|
|
76
81
|
var warn = (props) => {
|
|
77
|
-
return
|
|
82
|
+
return Modal.warn(genConfig(props));
|
|
78
83
|
};
|
|
79
84
|
var confirm = (props) => {
|
|
80
|
-
return
|
|
85
|
+
return Modal.confirm(genConfig(props));
|
|
81
86
|
};
|
|
82
87
|
// Annotate the CommonJS export names for ESM import in node:
|
|
83
88
|
0 && (module.exports = {
|
|
84
89
|
confirm,
|
|
85
90
|
error,
|
|
86
91
|
info,
|
|
92
|
+
setModal,
|
|
87
93
|
success,
|
|
88
94
|
warn,
|
|
89
95
|
warning
|
|
@@ -32,12 +32,27 @@ export interface PisellModalProps extends ModalProps {
|
|
|
32
32
|
}
|
|
33
33
|
declare const PisellModal: {
|
|
34
34
|
(props: PisellModalProps): React.JSX.Element;
|
|
35
|
-
confirm: (props: import("./components/functions").PisellModalFuncProps) =>
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
confirm: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
36
|
+
destroy: () => void;
|
|
37
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
38
|
+
};
|
|
39
|
+
info: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
40
|
+
destroy: () => void;
|
|
41
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
42
|
+
};
|
|
43
|
+
error: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
44
|
+
destroy: () => void;
|
|
45
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
46
|
+
};
|
|
38
47
|
warn: (props: import("./components/functions").PisellModalFuncProps) => any;
|
|
39
|
-
warning: (props: import("./components/functions").PisellModalFuncProps) =>
|
|
40
|
-
|
|
48
|
+
warning: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
49
|
+
destroy: () => void;
|
|
50
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
51
|
+
};
|
|
52
|
+
success: (props: import("./components/functions").PisellModalFuncProps) => {
|
|
53
|
+
destroy: () => void;
|
|
54
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
55
|
+
};
|
|
41
56
|
Information: (props: import("./components/Information").InformationProps) => React.JSX.Element;
|
|
42
57
|
};
|
|
43
58
|
export default PisellModal;
|
package/lowcode/page/meta.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.41",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
64
64
|
"crypto-js": "^4.2.0",
|
|
65
65
|
"@zxing/library": "0.21.2",
|
|
66
|
-
"@pisell/
|
|
66
|
+
"@pisell/utils": "1.0.29",
|
|
67
67
|
"@pisell/icon": "0.0.11",
|
|
68
|
-
"@pisell/
|
|
68
|
+
"@pisell/date-picker": "1.0.98"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}
|