@nokecy/qc-ui 1.1.55 → 1.1.56
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.
|
@@ -27,7 +27,7 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
|
|
|
27
27
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
28
28
|
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; }
|
|
29
29
|
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; } }
|
|
30
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
30
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } // @author nokecy
|
|
31
31
|
var FormRender = function FormRender(props) {
|
|
32
32
|
var className = props.className,
|
|
33
33
|
gridApi = props.gridApi,
|
|
@@ -67,6 +67,7 @@ var FormRender = function FormRender(props) {
|
|
|
67
67
|
components: {
|
|
68
68
|
QueryForm: _queryForm.default,
|
|
69
69
|
Input: _antdV.Input,
|
|
70
|
+
Select: _antdV.Select,
|
|
70
71
|
DatePicker: _antdV.DatePicker,
|
|
71
72
|
FormItem: _antdV.FormItem,
|
|
72
73
|
FormGrid: _antdV.FormGrid,
|
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
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; }
|
|
11
11
|
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; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
-
import { DatePicker, FormButtonGroup, FormGrid, FormItem, Form, Input, Submit } from '@formily/antd-v5';
|
|
13
|
+
import { DatePicker, FormButtonGroup, FormGrid, FormItem, Form, Input, Select, Submit } from '@formily/antd-v5'; // @author nokecy
|
|
14
14
|
import { createForm } from '@formily/core';
|
|
15
15
|
import { onFieldInit } from '@formily/core';
|
|
16
16
|
import { createSchemaField } from '@formily/react';
|
|
@@ -59,6 +59,7 @@ var FormRender = function FormRender(props) {
|
|
|
59
59
|
components: {
|
|
60
60
|
QueryForm: QueryForm,
|
|
61
61
|
Input: Input,
|
|
62
|
+
Select: Select,
|
|
62
63
|
DatePicker: DatePicker,
|
|
63
64
|
FormItem: FormItem,
|
|
64
65
|
FormGrid: FormGrid,
|