pv-design 1.0.20 → 1.0.21

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/dist/pv-design.js CHANGED
@@ -1,20 +1,21 @@
1
- import { lazy as d } from "react";
2
- import { jsxs as m, jsx as a } from "react/jsx-runtime";
3
- import { ConfigProvider as s, Modal as b } from "antd";
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("._iconButton_1fiji_1{color:#9d9d9d;cursor:pointer}._iconButton_1fiji_1._iconButton-primary_1fiji_5:hover{color:#2777e5}._iconButton_1fiji_1._iconButton-danger_1fiji_8:hover{color:#dc4446}._iconButton_1fiji_1._iconButton-disable_1fiji_11{color:#4f4f4f!important;cursor:not-allowed}._iconButton_1fiji_1._iconButton-disable_1fiji_11:hover{color:#4f4f4f!important}._iconButton_1fiji_1._iconButton-block_1fiji_18{display:block}")),document.head.appendChild(o)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
+ import { lazy as e } from "react";
3
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
4
+ import { ConfigProvider as m, Modal as b } from "antd";
4
5
  const v = ({ theme: o, ...t }) => {
5
- var e;
6
- const n = {
6
+ var r;
7
+ const d = {
7
8
  titleColor: "rgba(204,204,204,0.85)",
8
- ...((e = o == null ? void 0 : o.components) == null ? void 0 : e.Modal) || {}
9
+ ...((r = o == null ? void 0 : o.components) == null ? void 0 : r.Modal) || {}
9
10
  };
10
- return /* @__PURE__ */ m(
11
- s,
11
+ return /* @__PURE__ */ s(
12
+ m,
12
13
  {
13
14
  prefixCls: "pv-base-modal-third",
14
15
  theme: {
15
16
  ...o || {},
16
17
  components: {
17
- Modal: n
18
+ Modal: d
18
19
  }
19
20
  },
20
21
  children: [
@@ -80,19 +81,19 @@ const v = ({ theme: o, ...t }) => {
80
81
  }
81
82
  );
82
83
  }, p = ({ theme: o, ...t }) => {
83
- var e;
84
- const n = {
84
+ var r;
85
+ const d = {
85
86
  titleColor: "rgba(204,204,204,0.85)",
86
- ...((e = o == null ? void 0 : o.components) == null ? void 0 : e.Modal) || {}
87
+ ...((r = o == null ? void 0 : o.components) == null ? void 0 : r.Modal) || {}
87
88
  };
88
- return /* @__PURE__ */ m(
89
- s,
89
+ return /* @__PURE__ */ s(
90
+ m,
90
91
  {
91
92
  prefixCls: "pv-base-modal-default",
92
93
  theme: {
93
94
  ...o || {},
94
95
  components: {
95
- Modal: n
96
+ Modal: d
96
97
  }
97
98
  },
98
99
  children: [
@@ -167,44 +168,44 @@ const y = {
167
168
  default:
168
169
  return /* @__PURE__ */ a(p, { ...t });
169
170
  }
170
- }, _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
171
+ }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
171
172
  __proto__: null,
172
173
  ModalType: c,
173
174
  ModalTypeMap: y,
174
175
  default: g
175
- }, Symbol.toStringTag, { value: "Module" })), B = "index-module__iconButton__Y5V-H", r = {
176
- iconButton: B,
177
- "iconButton-primary": "index-module__iconButton-primary__NAYmJ",
178
- "iconButton-danger": "index-module__iconButton-danger__8mavX",
179
- "iconButton-disable": "index-module__iconButton-disable__F-gC-",
180
- "iconButton-block": "index-module__iconButton-block__yXYYN"
176
+ }, Symbol.toStringTag, { value: "Module" })), _ = "_iconButton_1fiji_1", n = {
177
+ iconButton: _,
178
+ "iconButton-primary": "_iconButton-primary_1fiji_5",
179
+ "iconButton-danger": "_iconButton-danger_1fiji_8",
180
+ "iconButton-disable": "_iconButton-disable_1fiji_11",
181
+ "iconButton-block": "_iconButton-block_1fiji_18"
181
182
  }, l = {
182
183
  primary: "primary",
183
184
  danger: "danger"
184
- }, M = ({ children: o, onClick: t, className: n, size: e = 12, disable: i = !1, type: u = l.primary, block: f = !1 }) => {
185
+ }, j = ({ children: o, onClick: t, className: d, size: r = 12, disable: i = !1, type: u = l.primary, block: f = !1 }) => {
185
186
  const x = () => {
186
187
  switch (u) {
187
188
  case l.primary:
188
- return r["iconButton-primary"];
189
+ return n["iconButton-primary"];
189
190
  case l.danger:
190
- return r["iconButton-danger"];
191
+ return n["iconButton-danger"];
191
192
  }
192
193
  }, h = () => {
193
194
  i || t == null || t();
194
195
  };
195
- return /* @__PURE__ */ a("span", { className: [r.iconButton, n, i && r["iconButton-disable"], x(), f && r["iconButton-block"]].join(" "), onClick: h, style: { fontSize: `${e}px` }, children: o });
196
- }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
196
+ return /* @__PURE__ */ a("span", { className: [n.iconButton, d, i && n["iconButton-disable"], x(), f && n["iconButton-block"]].join(" "), onClick: h, style: { fontSize: `${r}px` }, children: o });
197
+ }, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
197
198
  __proto__: null,
198
199
  IconButtonType: l,
199
- default: M
200
- }, Symbol.toStringTag, { value: "Module" })), N = d(() => import("./index-C5hvxSxS.js")), z = d(() => import("./index-Dyq3zBZo.js")), A = d(() => import("./index-FYoViA-E.js")), C = d(() => import("./index-CaYRL7KG.js")), S = d(() => Promise.resolve().then(() => _)), T = d(() => Promise.resolve().then(() => j));
200
+ default: j
201
+ }, Symbol.toStringTag, { value: "Module" })), z = e(() => import("./index-C5hvxSxS.js")), N = e(() => import("./index-Dyq3zBZo.js")), S = e(() => import("./index-FYoViA-E.js")), T = e(() => import("./index-CaYRL7KG.js")), A = e(() => Promise.resolve().then(() => B)), C = e(() => Promise.resolve().then(() => M));
201
202
  export {
202
- S as BaseModal,
203
- T as IconButton,
203
+ A as BaseModal,
204
+ C as IconButton,
204
205
  l as IconButtonType,
205
206
  y as ModalTypeMap,
206
- A as PvModal,
207
- z as PvTable,
208
- N as PvTabs,
209
- C as ThirdModal
207
+ S as PvModal,
208
+ N as PvTable,
209
+ z as PvTabs,
210
+ T as ThirdModal
210
211
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pv-design",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "pvmed ui design",
5
5
  "type": "module",
6
6
  "main": "./dist/pv-design.js",
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- .index-module__iconButton__Y5V-H{color:#9d9d9d;cursor:pointer}.index-module__iconButton__Y5V-H.index-module__iconButton-primary__NAYmJ:hover{color:#2777e5}.index-module__iconButton__Y5V-H.index-module__iconButton-danger__8mavX:hover{color:#dc4446}.index-module__iconButton__Y5V-H.index-module__iconButton-disable__F-gC-{color:#4f4f4f!important;cursor:not-allowed}.index-module__iconButton__Y5V-H.index-module__iconButton-disable__F-gC-:hover{color:#4f4f4f!important}.index-module__iconButton__Y5V-H.index-module__iconButton-block__yXYYN{display:block}