pb-sxp-ui 1.0.65 → 1.0.66

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/index.js CHANGED
@@ -5,7 +5,6 @@ import React, { useContext, useMemo, createContext, memo, useState, useRef, useE
5
5
  import qs from 'qs';
6
6
  import EventEmitter from 'eventemitter3';
7
7
  import { css } from '@emotion/css';
8
- import { BetaSchemaForm } from '@ant-design/pro-components';
9
8
  import * as ReactDOM from 'react-dom';
10
9
 
11
10
  /******************************************************************************
@@ -1160,7 +1159,7 @@ const AppointForm$1 = (_a) => {
1160
1159
  key: '4'
1161
1160
  }
1162
1161
  ], []);
1163
- const columnsData = useMemo(() => {
1162
+ useMemo(() => {
1164
1163
  if (layoutType === undefined) {
1165
1164
  const list = cloneDeep(columns) || defaultColumns;
1166
1165
  return list === null || list === void 0 ? void 0 : list.map((obj) => (Object.assign(Object.assign({}, obj), { title: undefined, fieldProps: { placeholder: obj === null || obj === void 0 ? void 0 : obj.title } })));
@@ -1203,8 +1202,7 @@ const AppointForm$1 = (_a) => {
1203
1202
  return (React.createElement("div", { className: 'pb-appoint-form' },
1204
1203
  React.createElement("div", { className: `pb-appoint-form-title ${css(Object.assign({}, textStyle))}` }, title),
1205
1204
  React.createElement("div", Object.assign({ className: css(Object.assign({}, style)) }, props),
1206
- React.createElement("div", { className: 'pb-appoint-form-container' },
1207
- React.createElement(BetaSchemaForm, { columns: columnsData, submitter: false, layout: layoutType, autoFocusFirstInput: false, size: 'large', formRef: formRef, className: 'panel-reset' }))),
1205
+ React.createElement("div", { className: 'pb-appoint-form-container' })),
1208
1206
  React.createElement("div", { className: 'pb-appoint-form-btn-wrapper' },
1209
1207
  React.createElement("button", { onClick: handleSubmit, className: 'pb-appoint-form-btn', style: {
1210
1208
  color: submitColor,