@next-bricks/form-platform 0.6.0 → 0.6.1
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/bricks.json +6 -6
- package/dist/chunks/6223.ef1a783e.js.map +1 -1
- package/dist/chunks/eo-user-or-user-group-select.b49b99a5.js.map +1 -1
- package/dist/chunks/{main.dadcb141.js → main.0e8ed5c0.js} +2 -2
- package/dist/chunks/{main.dadcb141.js.map → main.0e8ed5c0.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/index.1c21b41c.js +2 -0
- package/dist/{index.d4f23f12.js.map → index.1c21b41c.js.map} +1 -1
- package/dist/manifest.json +111 -109
- package/docs/eo-user-or-user-group-select.md +120 -3
- package/docs/eo-user-or-user-group-select.react.md +126 -0
- package/package.json +2 -2
- package/dist/index.d4f23f12.js +0 -2
|
@@ -1,14 +1,131 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
tagName: eo-user-or-user-group-select
|
|
3
|
+
displayName: WrappedEoUserOrUserGroupSelect
|
|
4
|
+
description: 用户(组)选择器
|
|
5
|
+
category: form-input-business
|
|
6
|
+
source: "@next-bricks/form-platform"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# eo-user-or-user-group-select
|
|
10
|
+
|
|
11
|
+
> 用户(组)选择器
|
|
12
|
+
|
|
13
|
+
## Props
|
|
14
|
+
|
|
15
|
+
| 属性 | 类型 | 必填 | 默认值 | 说明 |
|
|
16
|
+
| ---------------- | --------------------------------------- | ---- | -------- | ----------------------------------------------------------------------------------- |
|
|
17
|
+
| name | `string` | 否 | - | 字段名称 |
|
|
18
|
+
| label | `string` | 否 | - | 字段说明 |
|
|
19
|
+
| required | `boolean` | 否 | - | 是否必填 |
|
|
20
|
+
| placeholder | `string` | 否 | - | 字段placeholder |
|
|
21
|
+
| value | `string[]` | 否 | - | 值 |
|
|
22
|
+
| objectList | `Partial<CmdbModels.ModelCmdbObject>[]` | 否 | - | 模型列表(按需传递 USER/USER_GROUP 的模型定义,用于显示对应实例名称) |
|
|
23
|
+
| query | `Record<string, any>` | 否 | - | 用户和用户组 `search` 接口的 `query`,此参数比较适用于两者接口需要参数相同的情况 |
|
|
24
|
+
| userQuery | `Record<string, any>` | 否 | - | 针对 `USER/instance/_search` 接口的 `query`,可能只需要针对用户做筛选的情况 |
|
|
25
|
+
| userGroupQuery | `Record<string, any>` | 否 | - | 针对 `USER_GROUP/instance/_search` 接口的 `query`,可能只需要针对用户组做筛选的情况 |
|
|
26
|
+
| userKey | `"name" \| "instanceId"` | 否 | `"name"` | 用户对象的唯一标识字段,即:value 使用的字段名 |
|
|
27
|
+
| optionsMode | `"user" \| "group" \| "all"` | 是 | `"all"` | 支持选择用户、用户组或者两者 |
|
|
28
|
+
| disabled | `boolean` | 否 | - | 是否禁用 |
|
|
29
|
+
| isMultiple | `boolean` | 是 | `true` | 是否多选,默认为多选 |
|
|
30
|
+
| staticList | `string[]` | 否 | - | 固定白名单列表,该列表中的值用户不能取消 |
|
|
31
|
+
| hideAddMeQuickly | `boolean` | 是 | `true` | 快速选择我 |
|
|
32
|
+
| themeVariant | `"default" \| "elevo"` | 否 | - | 主题变体 |
|
|
33
|
+
|
|
34
|
+
## Events
|
|
35
|
+
|
|
36
|
+
| 事件 | detail | 说明 |
|
|
37
|
+
| ------ | ------------------------------------------------- | ------------ |
|
|
38
|
+
| change | `string[]` — 当前选中的用户名或用户组实例 ID 列表 | 值变化时触发 |
|
|
2
39
|
|
|
3
40
|
## Examples
|
|
4
41
|
|
|
5
42
|
### Basic
|
|
6
43
|
|
|
44
|
+
基础用法,默认支持选择用户和用户组,多选模式。
|
|
45
|
+
|
|
46
|
+
```yaml preview
|
|
47
|
+
- brick: eo-user-or-user-group-select
|
|
48
|
+
properties:
|
|
49
|
+
label: 负责人
|
|
50
|
+
name: user
|
|
51
|
+
placeholder: 请选择用户或用户组
|
|
52
|
+
isMultiple: true
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### User Only Mode
|
|
56
|
+
|
|
57
|
+
仅选择用户模式,不显示用户组选项。
|
|
58
|
+
|
|
7
59
|
```yaml preview
|
|
8
60
|
- brick: eo-user-or-user-group-select
|
|
9
61
|
properties:
|
|
10
|
-
label:
|
|
62
|
+
label: 用户
|
|
11
63
|
name: user
|
|
12
|
-
placeholder:
|
|
64
|
+
placeholder: 请选择用户
|
|
65
|
+
optionsMode: user
|
|
13
66
|
isMultiple: true
|
|
67
|
+
events:
|
|
68
|
+
change:
|
|
69
|
+
- action: console.log
|
|
70
|
+
args:
|
|
71
|
+
- <% EVENT.detail %>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Single Select with Quick Add Me
|
|
75
|
+
|
|
76
|
+
单选模式,并显示"快速选择我"按钮。
|
|
77
|
+
|
|
78
|
+
```yaml preview
|
|
79
|
+
- brick: eo-user-or-user-group-select
|
|
80
|
+
properties:
|
|
81
|
+
label: 操作人
|
|
82
|
+
name: operator
|
|
83
|
+
placeholder: 请选择用户
|
|
84
|
+
optionsMode: user
|
|
85
|
+
isMultiple: false
|
|
86
|
+
hideAddMeQuickly: false
|
|
87
|
+
events:
|
|
88
|
+
change:
|
|
89
|
+
- action: console.log
|
|
90
|
+
args:
|
|
91
|
+
- <% EVENT.detail %>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### With Form Integration
|
|
95
|
+
|
|
96
|
+
在表单中使用,支持必填校验和表单提交。
|
|
97
|
+
|
|
98
|
+
```yaml preview
|
|
99
|
+
- brick: eo-form
|
|
100
|
+
events:
|
|
101
|
+
validate.success:
|
|
102
|
+
- action: console.log
|
|
103
|
+
values.change:
|
|
104
|
+
- action: console.log
|
|
105
|
+
children:
|
|
106
|
+
- brick: eo-user-or-user-group-select
|
|
107
|
+
properties:
|
|
108
|
+
name: members
|
|
109
|
+
label: 成员
|
|
110
|
+
required: true
|
|
111
|
+
placeholder: 请选择成员
|
|
112
|
+
isMultiple: true
|
|
113
|
+
optionsMode: all
|
|
114
|
+
- brick: eo-submit-buttons
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Disabled Mode
|
|
118
|
+
|
|
119
|
+
禁用状态,展示已选中的值但不可更改。
|
|
120
|
+
|
|
121
|
+
```yaml preview
|
|
122
|
+
- brick: eo-user-or-user-group-select
|
|
123
|
+
properties:
|
|
124
|
+
label: 归属用户
|
|
125
|
+
name: owner
|
|
126
|
+
disabled: true
|
|
127
|
+
value:
|
|
128
|
+
- admin
|
|
129
|
+
isMultiple: false
|
|
130
|
+
optionsMode: user
|
|
14
131
|
```
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
tagName: eo-user-or-user-group-select
|
|
3
|
+
displayName: WrappedEoUserOrUserGroupSelect
|
|
4
|
+
description: 用户(组)选择器
|
|
5
|
+
category: form-input-business
|
|
6
|
+
source: "@next-bricks/form-platform"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# WrappedEoUserOrUserGroupSelect
|
|
10
|
+
|
|
11
|
+
> 用户(组)选择器
|
|
12
|
+
|
|
13
|
+
## 导入
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { WrappedEoUserOrUserGroupSelect } from "@easyops/wrapped-components";
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Props
|
|
20
|
+
|
|
21
|
+
| 属性 | 类型 | 必填 | 默认值 | 说明 |
|
|
22
|
+
| ---------------- | --------------------------------------- | ---- | -------- | ----------------------------------------------------------------------------------- |
|
|
23
|
+
| name | `string` | 否 | - | 字段名称 |
|
|
24
|
+
| label | `string` | 否 | - | 字段说明 |
|
|
25
|
+
| required | `boolean` | 否 | - | 是否必填 |
|
|
26
|
+
| placeholder | `string` | 否 | - | 字段placeholder |
|
|
27
|
+
| value | `string[]` | 否 | - | 值 |
|
|
28
|
+
| objectList | `Partial<CmdbModels.ModelCmdbObject>[]` | 否 | - | 模型列表(按需传递 USER/USER_GROUP 的模型定义,用于显示对应实例名称) |
|
|
29
|
+
| query | `Record<string, any>` | 否 | - | 用户和用户组 `search` 接口的 `query`,此参数比较适用于两者接口需要参数相同的情况 |
|
|
30
|
+
| userQuery | `Record<string, any>` | 否 | - | 针对 `USER/instance/_search` 接口的 `query`,可能只需要针对用户做筛选的情况 |
|
|
31
|
+
| userGroupQuery | `Record<string, any>` | 否 | - | 针对 `USER_GROUP/instance/_search` 接口的 `query`,可能只需要针对用户组做筛选的情况 |
|
|
32
|
+
| userKey | `"name" \| "instanceId"` | 否 | `"name"` | 用户对象的唯一标识字段,即:value 使用的字段名 |
|
|
33
|
+
| optionsMode | `"user" \| "group" \| "all"` | 是 | `"all"` | 支持选择用户、用户组或者两者 |
|
|
34
|
+
| disabled | `boolean` | 否 | - | 是否禁用 |
|
|
35
|
+
| isMultiple | `boolean` | 是 | `true` | 是否多选,默认为多选 |
|
|
36
|
+
| staticList | `string[]` | 否 | - | 固定白名单列表,该列表中的值用户不能取消 |
|
|
37
|
+
| hideAddMeQuickly | `boolean` | 是 | `true` | 快速选择我 |
|
|
38
|
+
| themeVariant | `"default" \| "elevo"` | 否 | - | 主题变体 |
|
|
39
|
+
|
|
40
|
+
## Events
|
|
41
|
+
|
|
42
|
+
| 事件 | detail | 说明 |
|
|
43
|
+
| -------- | ------------------------------------------------- | ------------ |
|
|
44
|
+
| onChange | `string[]` — 当前选中的用户名或用户组实例 ID 列表 | 值变化时触发 |
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
### Basic
|
|
49
|
+
|
|
50
|
+
基础用法,默认支持选择用户和用户组,多选模式。
|
|
51
|
+
|
|
52
|
+
```tsx
|
|
53
|
+
<WrappedEoUserOrUserGroupSelect
|
|
54
|
+
label="负责人"
|
|
55
|
+
name="user"
|
|
56
|
+
placeholder="请选择用户或用户组"
|
|
57
|
+
isMultiple={true}
|
|
58
|
+
/>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### User Only Mode
|
|
62
|
+
|
|
63
|
+
仅选择用户模式,不显示用户组选项。
|
|
64
|
+
|
|
65
|
+
```tsx
|
|
66
|
+
<WrappedEoUserOrUserGroupSelect
|
|
67
|
+
label="用户"
|
|
68
|
+
name="user"
|
|
69
|
+
placeholder="请选择用户"
|
|
70
|
+
optionsMode="user"
|
|
71
|
+
isMultiple={true}
|
|
72
|
+
onChange={(e) => console.log(e.detail)}
|
|
73
|
+
/>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Single Select with Quick Add Me
|
|
77
|
+
|
|
78
|
+
单选模式,并显示"快速选择我"按钮。
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
<WrappedEoUserOrUserGroupSelect
|
|
82
|
+
label="操作人"
|
|
83
|
+
name="operator"
|
|
84
|
+
placeholder="请选择用户"
|
|
85
|
+
optionsMode="user"
|
|
86
|
+
isMultiple={false}
|
|
87
|
+
hideAddMeQuickly={false}
|
|
88
|
+
onChange={(e) => console.log(e.detail)}
|
|
89
|
+
/>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### With Form Integration
|
|
93
|
+
|
|
94
|
+
在表单中使用,支持必填校验和表单提交。
|
|
95
|
+
|
|
96
|
+
```tsx
|
|
97
|
+
<WrappedEoForm
|
|
98
|
+
onValidateSuccess={(e) => console.log(e.detail)}
|
|
99
|
+
onValuesChange={(e) => console.log(e.detail)}
|
|
100
|
+
>
|
|
101
|
+
<WrappedEoUserOrUserGroupSelect
|
|
102
|
+
name="members"
|
|
103
|
+
label="成员"
|
|
104
|
+
required={true}
|
|
105
|
+
placeholder="请选择成员"
|
|
106
|
+
isMultiple={true}
|
|
107
|
+
optionsMode="all"
|
|
108
|
+
/>
|
|
109
|
+
<WrappedEoSubmitButtons />
|
|
110
|
+
</WrappedEoForm>
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Disabled Mode
|
|
114
|
+
|
|
115
|
+
禁用状态,展示已选中的值但不可更改。
|
|
116
|
+
|
|
117
|
+
```tsx
|
|
118
|
+
<WrappedEoUserOrUserGroupSelect
|
|
119
|
+
label="归属用户"
|
|
120
|
+
name="owner"
|
|
121
|
+
disabled={true}
|
|
122
|
+
value={["admin"]}
|
|
123
|
+
isMultiple={false}
|
|
124
|
+
optionsMode="user"
|
|
125
|
+
/>
|
|
126
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/form-platform",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/form-platform",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@next-bricks/form": "*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "2670992c377a46bcaed4f3ed70431bb5441c4bb7"
|
|
48
48
|
}
|
package/dist/index.d4f23f12.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var e,t,r,n,o,a,l,i,s,c,u,d,f,h,p,m,b,v,g,x,y,P,w,k={39:(e,t,r)=>{var n={"./eo-user-or-user-group-select":()=>Promise.all([r.e(563),r.e(8769),r.e(1361),r.e(870),r.e(981),r.e(4419),r.e(9113),r.e(1938)]).then((()=>()=>r(4688))),"./eo-cmdb-instance-select":()=>Promise.all([r.e(7895),r.e(563),r.e(7177),r.e(8769),r.e(1361),r.e(6305),r.e(870),r.e(9435),r.e(981),r.e(4419),r.e(6941),r.e(1531)]).then((()=>()=>r(2037)))},o=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),a=(e,t)=>{if(r.S){var n="default",o=r.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[n]=e,r.I(n,t)}};r.d(t,{get:()=>o,init:()=>a})}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return k[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=k,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+({1531:"eo-cmdb-instance-select",1938:"eo-user-or-user-group-select"}[e]||e)+"."+{114:"ab3d79c9",726:"6f61afa3",871:"1860e3ba",948:"dec6ad6a",1045:"70643206",1122:"ab9b8222",1370:"237efa45",1531:"eca25616",1889:"b59510a4",1938:"b49b99a5",1940:"58fd4c3a",2052:"22b87711",2277:"515ba4ae",3144:"0f338617",3171:"508feb36",3426:"ae005049",4041:"8fec28b4",4306:"9e660727",4658:"167196bb",4765:"1aa093b2",4837:"c71e7277",5250:"6ab61935",5384:"9178beda",5399:"8264e057",5552:"5757fe37",6046:"d0b3cfb1",6519:"e8b11534",6580:"ab4ba4d4",6773:"e8d537a7",6941:"66e34b74",7146:"e0bf703b",7218:"16427ab5",7304:"593cf3e0",7721:"802d535c",7733:"6bb39aa4",7895:"0c6c8882",8989:"8eb7605c",9515:"ad9edd90",9559:"4caeaf28",9844:"72d6bae1"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/form-platform:",S.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==o)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var u=s[c];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){l=u;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+o),l.src=r),e[r]=[n];var d=(t,n)=>{l.onerror=l.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(n))),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,n)=>{n||(n=[]);var o=t[r];if(o||(o=t[r]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var a=S.S[r],l="@next-bricks/form-platform",i=(e,t,r,n)=>{var o=a[e]=a[e]||{},i=o[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(o[t]={get:r,from:l,eager:!!n})},s=[];return"default"===r&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(6773))))),i("@easyops-cn/brick-next-pipes","0.7.6",(()=>Promise.all([S.e(4306),S.e(563),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),i("@next-core/cook","2.5.12",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(1122))))),i("@next-core/easyops-runtime","0.15.23",(()=>Promise.all([S.e(6046),S.e(563),S.e(9523),S.e(7177),S.e(9933),S.e(1361),S.e(6305),S.e(1321),S.e(44),S.e(5310),S.e(6580)]).then((()=>()=>S(6046))))),i("@next-core/element","1.2.19",(()=>S.e(1045).then((()=>()=>S(1045))))),i("@next-core/http","1.2.14",(()=>S.e(8989).then((()=>()=>S(8989))))),i("@next-core/i18n","1.0.87",(()=>Promise.all([S.e(9523),S.e(7177),S.e(671),S.e(5552)]).then((()=>()=>S(5552))))),i("@next-core/inject","1.0.62",(()=>Promise.all([S.e(563),S.e(9933),S.e(2277)]).then((()=>()=>S(2277))))),i("@next-core/loader","1.6.17",(()=>S.e(5399).then((()=>()=>S(5399))))),i("@next-core/pipes","2.0.36",(()=>S.e(6519).then((()=>()=>S(6519))))),i("@next-core/react-element","1.0.38",(()=>Promise.all([S.e(8769),S.e(870),S.e(9435),S.e(114)]).then((()=>()=>S(114))))),i("@next-core/react-runtime","1.7.43",(()=>Promise.all([S.e(563),S.e(8769),S.e(6305),S.e(981),S.e(4837)]).then((()=>()=>S(4837))))),i("@next-core/runtime","1.71.4",(()=>Promise.all([S.e(948),S.e(563),S.e(9523),S.e(7177),S.e(1361),S.e(1321),S.e(44),S.e(1916),S.e(668)]).then((()=>()=>S(948))))),i("@next-core/supply","2.3.9",(()=>Promise.all([S.e(563),S.e(9933),S.e(1916),S.e(9559)]).then((()=>()=>S(9559))))),i("@next-core/theme","1.6.1",(()=>Promise.all([S.e(1889),S.e(2052)]).then((()=>()=>S(1889))))),i("@next-core/utils/general","1.8.8",(()=>S.e(871).then((()=>()=>S(871))))),i("@next-core/utils/storyboard","1.8.8",(()=>Promise.all([S.e(563),S.e(9523),S.e(1321),S.e(7146)]).then((()=>()=>S(7146))))),i("history","4.10.1",(()=>S.e(5384).then((()=>()=>S(5384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(726))))),i("i18next","22.5.1",(()=>S.e(7304).then((()=>()=>S(7304))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(9515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(3144))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(4041)))))),e[r]=s.length?Promise.all(s).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var o=e[n],a=(typeof o)[0];if(n>=t.length)return"u"==a;var l=t[n],i=(typeof l)[0];if(a!=i)return"o"==a&&"n"==i||"s"==i||"u"==a;if("o"!=a&&"u"!=a&&o!=l)return o<l;n++}},o=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(i=e[a]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(a=1;a<e.length;a++){var i=e[a];l.push(0===i?"not("+s()+")":1===i?"("+s()+" || "+s()+")":2===i?l.pop()+" "+l.pop():o(i))}return s();function s(){return l.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,t)=>{if(0 in e){t=r(t);var n=e[0],o=n<0;o&&(n=-n-1);for(var l=0,i=1,s=!0;;i++,l++){var c,u,d=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(u=(typeof(c=t[l]))[0]))return!s||("u"==d?i>n&&!o:""==d!=o);if("u"==u){if(!s||"u"!=d)return!1}else if(s)if(d==u)if(i<=n){if(c!=e[i])return!1}else{if(o?c>e[i]:c<e[i])return!1;c!=e[i]&&(s=!1)}else if("s"!=d&&"n"!=d){if(o||i<=n)return!1;s=!1,i--}else{if(i<=n||u<d!=o)return!1;s=!1}else"s"!=d&&"n"!=d&&(s=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var p=e[l];f.push(1==p?h()|h():2==p?h()&h():p?a(p,t):!h())}return!!h()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),s=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),c=(e,t,r,o)=>{var l=o?s(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!a(r,t)||e&&!n(e,t)?e:t),0))&&l[t]},u=(e,t,r)=>{var o=r?s(e[t]):e[t];return Object.keys(o).reduce(((e,t)=>!e||!o[e].loaded&&n(e,t)?t:e),0)},d=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(n)+")",f=(e,t,r,n,a)=>{var l=e[r];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(m=e=>function(t,r,n,o,a){var l=S.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,S.S[t],r,!1,o,a)):e(t,S.S[t],r,n,o,a)})(((e,t,r,n,o,a)=>{if(!l(t,r))return b(e,r,a);var s=c(t,r,o,n);return s?i(s):a?a():void h(f(t,e,r,o,n))})),g=m(((e,t,r,n,o,s)=>{if(!l(t,r))return b(e,r,s);var c=u(t,r,n);return a(o,c)||p(d(t,r,c,o)),i(t[r][c])})),x={},y={563:()=>g("default","lodash",!1,[0],(()=>S.e(5250).then((()=>()=>S(5250))))),1916:()=>g("default","moment",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),5310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(9515))))),580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(6773))))),9523:()=>g("default","@next-core/utils/general",!1,[0],(()=>S.e(871).then((()=>()=>S(871))))),7177:()=>g("default","@next-core/i18n",!1,[1,1,0,87],(()=>Promise.all([S.e(9523),S.e(671),S.e(3171)]).then((()=>()=>S(5552))))),9933:()=>g("default","@next-core/pipes",!1,[0],(()=>S.e(6519).then((()=>()=>S(6519))))),1361:()=>g("default","@next-core/http",!1,[0],(()=>S.e(1370).then((()=>()=>S(8989))))),6305:()=>g("default","@next-core/runtime",!1,[0],(()=>Promise.all([S.e(948),S.e(9523),S.e(7177),S.e(1361),S.e(1321),S.e(44),S.e(1916),S.e(668)]).then((()=>()=>S(948))))),1321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(1122))))),1732:()=>g("default","history",!1,[0],(()=>S.e(5384).then((()=>()=>S(5384))))),5801:()=>g("default","@next-core/utils/storyboard",!1,[0],(()=>S.e(4765).then((()=>()=>S(7146))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(726))))),5630:()=>g("default","i18next",!1,[0],(()=>S.e(7304).then((()=>()=>S(7304))))),8377:()=>g("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(563),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),8769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(4041))))),870:()=>v("default","@next-core/element",!1,[1,1,2,19],(()=>S.e(3426).then((()=>()=>S(1045))))),9435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(3144))))),981:()=>v("default","@next-core/react-element",!1,[1,1,0,38],(()=>Promise.all([S.e(870),S.e(9435),S.e(7733)]).then((()=>()=>S(114))))),1858:()=>g("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),4167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(9559))))),5599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(5399))))),9283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(2277))))),4419:()=>g("default","@next-core/theme",!1,[1,1,6,1],(()=>S.e(1889).then((()=>()=>S(1889))))),9113:()=>g("default","@next-core/easyops-runtime",!1,[0],(()=>Promise.all([S.e(6046),S.e(9523),S.e(7177),S.e(9933),S.e(6305),S.e(1321),S.e(44),S.e(5310)]).then((()=>()=>S(6046))))),4986:()=>v("default","@next-core/react-runtime",!1,[1,1,0,0],(()=>S.e(7218).then((()=>()=>S(4837)))))},P={44:[1732,5801],563:[563],580:[580],668:[1858,4167,5599,9283],671:[848,5630],870:[870],981:[981],1321:[1321],1361:[1361],1916:[1916],4419:[4419],5310:[5310],6305:[6305],6519:[8377],6941:[4986],7177:[7177],8769:[8769],9113:[9113],9435:[9435],9523:[9523],9933:[9933]},w={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(x,e))return t.push(x[e]);if(!w[e]){var r=t=>{x[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};w[e]=!0;var n=t=>{delete x[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var o=y[e]();o.then?t.push(x[e]=o.then(r).catch(n)):r(o)}catch(e){n(e)}}}))},(()=>{var e={4854:0};S.f.j=(t,r)=>{var n=S.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(321|361|916)|44(|19)|5(310|63|80)|6(305|68|71)|87(0|69)|9((11|52|93)3|435|81)|7177)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var a=S.p+S.u(t),l=new Error;S.l(a,(r=>{if(S.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[a,l,i]=r,s=0;if(a.some((t=>0!==e[t]))){for(n in l)S.o(l,n)&&(S.m[n]=l[n]);i&&i(S)}for(t&&t(r);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_next_bricks_form_platform=globalThis.webpackChunk_next_bricks_form_platform||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0;var E=S(39);window["bricks/form-platform"]=E})();
|
|
2
|
-
//# sourceMappingURL=index.d4f23f12.js.map
|