@deepinnet-components/pc 0.0.40 → 0.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.
@@ -141,7 +141,11 @@ var Index = function Index() {
141
141
  expandedRowKeys = _useState8[0],
142
142
  setExpandedRowKeys = _useState8[1];
143
143
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
144
- className: "text-[#f00] text-[20px] mb-[20px]"
144
+ style: {
145
+ color: '#f00',
146
+ fontSize: 20,
147
+ marginBottom: 20
148
+ }
145
149
  }, "\u8BE5\u529F\u80FD\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF0C\u975E\u5FC5\u8981\u4E0D\u53EF\u64CD\u4F5C\uFF0C\u64CD\u4F5C\u524D\u9700\u8BE2\u95EE\u5F00\u53D1\u3002"), /*#__PURE__*/React.createElement(ShenduTable, {
146
150
  actionRef: tableRef
147
151
  // search={{
@@ -13,11 +13,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
13
13
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
14
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
- import React, { useContext, useState, useMemo } from 'react';
17
- import { message, Button } from 'antd';
18
16
  import { Form, FormItem, Input, Select } from '@formily/antd-v5';
19
17
  import { createForm } from '@formily/core';
20
18
  import { createSchemaField } from '@formily/react';
19
+ import { Button, message } from 'antd';
20
+ import React, { useContext, useMemo, useState } from 'react';
21
21
  import { hashWithCryptoJS, sm4Encrypt } from "../utils";
22
22
  import ValueContext from "../context";
23
23
  var SchemaField = createSchemaField({
@@ -202,13 +202,25 @@ var Index = function Index() {
202
202
  return createForm({});
203
203
  }, []);
204
204
  return /*#__PURE__*/React.createElement("div", {
205
- className: "p-[20px]"
205
+ style: {
206
+ padding: 20
207
+ }
206
208
  }, /*#__PURE__*/React.createElement("div", {
207
- className: "text-[#f00] text-[20px] mb-[20px]"
209
+ style: {
210
+ color: '#f00',
211
+ fontSize: 20,
212
+ marginBottom: 20
213
+ }
208
214
  }, "\u521B\u5EFA\u8D85\u7BA1"), /*#__PURE__*/React.createElement("div", {
209
- className: "text-[#f00] text-[20px] mb-[20px]"
215
+ style: {
216
+ color: '#f00',
217
+ fontSize: 20,
218
+ marginBottom: 20
219
+ }
210
220
  }, "\u8BE5\u529F\u80FD\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF0C\u975E\u5FC5\u8981\u4E0D\u53EF\u64CD\u4F5C\uFF0C\u64CD\u4F5C\u524D\u9700\u8BE2\u95EE\u5F00\u53D1\u3002"), /*#__PURE__*/React.createElement("div", {
211
- className: "w-[400px]"
221
+ style: {
222
+ width: 400
223
+ }
212
224
  }, /*#__PURE__*/React.createElement(Form, {
213
225
  form: form,
214
226
  labelWidth: 100
@@ -218,7 +230,9 @@ var Index = function Index() {
218
230
  passwordConfig: passwordConfig
219
231
  }
220
232
  })), /*#__PURE__*/React.createElement("div", {
221
- className: "pl-[100px]"
233
+ style: {
234
+ paddingLeft: 100
235
+ }
222
236
  }, /*#__PURE__*/React.createElement(Button, {
223
237
  type: "primary",
224
238
  onClick: handleOk,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",