@nocobase/client 2.1.0-alpha.26 → 2.1.0-alpha.27
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/es/index.d.ts +1 -1
- package/es/index.mjs +3 -3
- package/lib/index.js +4 -4
- package/package.json +7 -7
package/es/index.mjs
CHANGED
|
@@ -136,7 +136,7 @@ import*as e from"@ant-design/cssinjs";import*as t from"@ant-design/icons";import
|
|
|
136
136
|
display: flex;
|
|
137
137
|
margin: 5px 0px;
|
|
138
138
|
}
|
|
139
|
-
`,defaultValue:"h:mm a",formats:["hh:mm:ss a","HH:mm:ss"],timeFormat:!0},default:"HH:mm:ss",enum:[{label:(0,a.b)({format:"hh:mm:ss a"}),value:"hh:mm:ss a"},{label:(0,a.b)({format:"HH:mm:ss"}),value:"HH:mm:ss"},{label:"custom",value:"custom"}]}},_={type:"array",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"ArrayTable","x-component-props":{pagination:{pageSize:1e3}},items:{type:"object",properties:{column1:{type:"void","x-component":"ArrayTable.Column","x-component-props":{width:50,title:"",align:"center"},properties:{sort:{type:"void","x-component":"ArrayTable.SortHandle"}}},column2:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option value")}}'},properties:{value:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input","x-reactions":e=>{e.initialValue||e.initialized||(e.initialValue=(0,l.uid)(),e.setValue((0,l.uid)()))}}}},column3:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option label")}}'},properties:{label:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input"}}},column4:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Color")}}'},properties:{color:{type:"string","x-decorator":"FormItem","x-component":"ColorSelect"}}},column5:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:"",dataIndex:"operations",fixed:"right"},properties:{item:{type:"void","x-component":"FormItem",properties:{remove:{type:"void","x-component":"ArrayTable.Remove"}}}}}}},properties:{add:{type:"void","x-component":"ArrayTable.Addition","x-component-props":{randomValue:!0},title:"{{t('Add option')}}"}}},f={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"}},g={type:"void",title:'{{ t("View record") }}',"x-component":"RecordPicker.Viewer","x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}},b={type:"string",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},enum:"{{collections}}"}},40919(e,t,o){o.r(t),o.d(t,{array:()=>n,bigField:()=>h,boolean:()=>c,collection:()=>m,datetime:()=>r,enumType:()=>d,id:()=>s,number:()=>i,object:()=>a,string:()=>l,tableoid:()=>p,time:()=>u});let l=[{label:'{{t("contains")}}',value:"$includes",selected:!0},{label:'{{t("does not contain")}}',value:"$notIncludes"},{label:'{{t("is")}}',value:"$eq"},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],n=[{label:'{{t("is")}}',value:"$match",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is not")}}',value:"$notMatch",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is any of")}}',value:"$anyOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$noneOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],a=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"}],r=[{label:"{{ t('is') }}",value:"$dateOn",selected:!0,schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is not') }}",value:"$dateNotOn",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is before') }}",value:"$dateBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is after') }}",value:"$dateAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or after') }}",value:"$dateNotBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or before') }}",value:"$dateNotAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is between') }}",value:"$dateBetween",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!0}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],i=[{label:'{{t("=")}}',value:"$eq",selected:!0},{label:'{{t("≠")}}',value:"$ne"},{label:'{{t(">")}}',value:"$gt"},{label:'{{t("≥")}}',value:"$gte"},{label:'{{t("<")}}',value:"$lt"},{label:'{{t("≤")}}',value:"$lte"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],s=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("exists")}}',value:"$exists",noValue:!0},{label:'{{t("not exists")}}',value:"$notExists",noValue:!0}],d=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],u=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$neq"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],c=[{label:'{{t("Yes")}}',value:"$isTruly",selected:!0,noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:'{{t("No")}}',value:"$isFalsy",noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],p=[{label:'{{t("is any of")}}',value:"$childIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$childNotIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}}],m=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],h=[{label:'{{t("contains")}}',value:"$includes",selected:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("does not contain")}}',value:"$notIncludes",schema:{type:"string","x-component":"Input"}},{label:'{{t("is")}}',value:"$eq",schema:{type:"string","x-component":"Input"}},{label:'{{t("is not")}}',value:"$ne",schema:{type:"string","x-component":"Input"}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0,schema:{type:"string","x-component":"Input"}}]},63586(e,t,o){o.d(t,{Jq:()=>p,T8:()=>m,ds:()=>c,hu:()=>u});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44374),s=o(16211);let d={name:"fields",targetKey:"name",fields:[{type:"string",name:"type",interface:"input",uiSchema:{title:'{{ t("Storage type") }}',type:"string","x-component":"Select",enum:[{label:"String",value:"string"}],required:!0}},{type:"string",name:"interface",interface:"input",uiSchema:{title:'{{ t("Field interface") }}',type:"string","x-component":"Select",enum:"{{interfaces}}"}},{type:"string",name:"title",interface:"input",uiSchema:{title:'{{ t("Field display name") }}',type:"string","x-component":"Input",required:!0}},{type:"string",name:"name",interface:"input",uiSchema:{title:'{{ t("Field name") }}',type:"string","x-component":"Input"}}]},u=(0,r.createContext)(null);u.displayName="DataSourceContext_deprecated";let c={useSelectedRowKeys:()=>{let e=(0,r.useContext)(u);return[e.selectedRowKeys,e.setSelectedRowKeys]},useDataSource_deprecated:e=>{let t=(0,r.useContext)(u);return(0,i.useRequest)(()=>Promise.resolve({data:t.dataSource}),{...e,refreshDeps:[JSON.stringify(t.dataSource)]})},useCreateAction:()=>{let e=(0,r.useContext)(u),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)();return{async run(){console.log("form.values",t.values);let l=e.dataSource||[];l.push((0,a.cloneDeep)(t.values)),e.setDataSource([...l]),o(!1),await t.reset()}}},useBulkDestroyAction:()=>{let e=(0,r.useContext)(u),{selectedRowKeys:t,setSelectedRowKeys:o}=e;return{async run(){let l=e.dataSource||[];e.setDataSource(l.filter((e,o)=>!t.includes(o))),o([])}}},useUpdateAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)(),l=(0,r.useContext)(u);return{async run(){let n=((null==l?void 0:l.dataSource)||[]).map((o,l)=>l===e?{...t.values}:o);l.setDataSource([...n]),o(!1)}}},useDestroyAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,r.useContext)(u);return{async run(){let o=t.dataSource||[];t.setDataSource(o.filter((t,o)=>e!==o))}}}},p=(0,n.observer)(e=>{let[t,o]=(0,r.useState)([]),[n,a]=(0,r.useState)([]),c=(0,i.useRecord)(),p=(0,s.VB)(),m=(0,i.useRequest)(()=>{if("subTable"===c.interface){var e;return(null==c||null==(e=c.children)?void 0:e.length)?Promise.resolve({data:(null==c?void 0:c.children)||[]}):p.resource("fields").list({paginate:!1,sort:"sort",filter:{parentKey:c.key}}).then(e=>null==e?void 0:e.data)}return Promise.resolve({data:[]})},{onSuccess(e){console.log("dataSource1",null==e?void 0:e.data),a(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:d,children:(0,l.jsx)(u.Provider,{value:{rowKey:"name",service:m,dataSource:n,setDataSource:a,selectedRowKeys:t,setSelectedRowKeys:o},children:e.children})})},{displayName:"SubFieldDataSourceProvider_deprecated"}),m=(0,n.observer)(e=>{let{rowKey:t,collection:o,association:n}=e,[a,d]=(0,r.useState)([]),[c,p]=(0,r.useState)([]),m=(0,i.useRecord)(),h=(0,s.VB)(),{getCollection:x}=(0,i.useCollectionManager_deprecated)(),v=x(o),_=null==m?void 0:m[n.targetKey||"id"],f=(0,i.useRequest)(()=>{if(_){var e,t;return h.request({resource:`${n.collectionName}.${n.name}`,resourceOf:_,action:"list",params:{appends:null==v||null==(t=v.fields)||null==(e=t.filter(e=>e.target))?void 0:e.map(e=>e.name)}}).then(e=>e.data)}return Promise.resolve({data:(null==m?void 0:m[n.name])||[]})},{onSuccess(e){p(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:v,children:(0,l.jsx)(u.Provider,{value:{rowKey:t,service:f,dataSource:c,setDataSource:p,selectedRowKeys:a,setSelectedRowKeys:d},children:e.children})})},{displayName:"DataSourceProvider_deprecated"})},85162(e,t,o){o.d(t,{b:()=>i});var l=o(71178),n=o(52793);o(51649);var a=o(77843),r=o(38356);let i=()=>{let e=(0,r.useNavigate)(),{t}=(0,a.useTranslation)();return(0,l.jsx)(n.Result,{status:"404",title:"404",subTitle:t("Sorry, the page you visited does not exist."),extra:(0,l.jsx)(n.Button,{onClick:()=>e("/",{replace:!0}),type:"primary",children:"Back Home"})})}},25180(e,t,o){o.d(t,{$:()=>r});var l=o(71178),n=o(52793),a=o(51649);function r(e){let{title:t,defaultValue:o,onChange:r,options:i,fieldNames:s,...d}=e,[u,c]=(0,a.useState)(!1),p=(0,a.useRef)(null);return(0,l.jsxs)("div",{style:{alignItems:"center",display:"flex",justifyContent:"space-between"},onClick:e=>{e.stopPropagation(),c(e=>!e)},onMouseLeave:()=>{p.current=setTimeout(()=>{c(!1)},200)},children:[t,(0,l.jsx)(n.Select,{...d,open:u,"data-testid":`select-${t}`,popupMatchSelectWidth:!1,bordered:!1,defaultValue:o,onChange:r,popupClassName:`select-popup-${t.replaceAll(" ","-")}`,fieldNames:s,options:i,style:{textAlign:"right",minWidth:100},onMouseEnter:()=>{clearTimeout(p.current)}})]})}},52081(e,t,o){o.d(t,{W:()=>a});var l=o(83489),n=o(4627);let a=async(e,t)=>{if(!e)return e;let{evaluate:o}=l.evaluators.get("string"),{exp:a,scope:r}=await (0,n.qk)(e,t);return o(a,{now:()=>new Date().toString(),...r})}},53770(e,t,o){o.d(t,{$d:()=>n.$,Wu:()=>r.W,bM:()=>l.b,qA:()=>a.q});var l=o(85162),n=o(25180),a=o(57359),r=o(52081)},57359(e,t,o){o.d(t,{q:()=>i});var l=o(56920),n=o(46724),a=o(31574),r=o(32221);function i(){var e,t,o,i;let{fieldSchema:s,collectionField:d}=(0,r.BC)(),u=(0,l.useField)(),c=(0,a.oA)(),p=(0,l.useFieldSchema)(),m=(0,n.E1)(),h=s||p,x=d||m,v=(null==h||null==(e=h["x-component-props"])?void 0:e.mode)||(null==u||null==(t=u.componentProps)?void 0:t.mode)||(c?"FileManager":"")||(null==h||null==(o=h["x-component-props"])?void 0:o.component)||(null==x||null==(i=x.uiSchema)?void 0:i["x-component"]);return({AssociationField:"Select"})[v]||v}},85906(e,t,o){o.d(t,{t:()=>n});var l=o(51649);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,l.useRef)(0);return(0,l.useEffect)(()=>{let e=e=>{let{clientY:o}=e;t.current=Math.max(o,window.innerHeight-o)};return window.addEventListener("mousemove",e),()=>{window.removeEventListener("mousemove",e)}},[]),(0,l.useMemo)(()=>t.current-40,e)}},25739(e,t,o){o.d(t,{B:()=>s});var l=o(72741),n=o(51649),a=o(13975),r=o(52793);let i=e=>{let{children:t}=e,{token:o}=r.theme.useToken(),i=o.colorFillTertiary,s=new l.TinyColor(o.colorFill).onBackground(o.colorFillSecondary).toHexShortString(),d=new l.TinyColor(o.colorFill).onBackground(o.colorFill).toHexShortString(),u=new l.TinyColor(o.colorFill).onBackground(o.colorFill).onBackground(o.colorFill).toHexShortString();return(0,n.useEffect)(()=>{document.body.style.setProperty("--nb-spacing",`${o.marginLG}px`),document.body.style.setProperty("--nb-designer-offset",`${o.marginXS}px`),document.body.style.setProperty("--nb-header-height",`${o.sizeXXL-2}px`),document.body.style.setProperty("--nb-box-bg",o.colorBgLayout),document.body.style.setProperty("--colorBgLayout",o.colorBgLayout),document.body.style.setProperty("--colorBgContainer",o.colorBgContainer),document.body.style.setProperty("--controlHeightLG",`${o.controlHeightLG}px`),document.body.style.setProperty("--paddingContentVerticalSM",`${o.paddingContentVerticalSM}px`),document.body.style.setProperty("--marginSM",`${o.marginSM}px`),document.body.style.setProperty("--colorInfoBg",o.colorInfoBg),document.body.style.setProperty("--colorInfoBorder",o.colorInfoBorder),document.body.style.setProperty("--colorWarningBg",o.colorWarningBg),document.body.style.setProperty("--colorWarningBorder",o.colorWarningBorder),document.body.style.setProperty("--colorText",o.colorText),document.body.style.setProperty("--colorTextHeaderMenu",o.colorTextHeaderMenu),document.body.style.setProperty("--colorPrimaryText",o.colorPrimaryText),document.body.style.setProperty("--colorPrimaryTextActive",o.colorPrimaryTextActive),document.body.style.setProperty("--colorPrimaryTextHover",o.colorPrimaryTextHover),document.body.style.setProperty("--colorBgSider",o.colorBgSider),document.body.style.setProperty("--colorBgSiderMenuHover",o.colorBgSiderMenuHover),document.body.style.setProperty("--colorBgSiderMenuActive",o.colorBgSiderMenuActive),document.body.style.setProperty("--colorTextSiderMenu",o.colorTextSiderMenu),document.body.style.setProperty("--colorTextSiderMenuHover",o.colorTextSiderMenuHover),document.body.style.setProperty("--colorTextSiderMenuActive",o.colorTextSiderMenuActive),document.body.style.setProperty("--colorBgScrollTrack",i),document.body.style.setProperty("--colorBgScrollBar",s),document.body.style.setProperty("--colorBgScrollBarHover",d),document.body.style.setProperty("--colorBgScrollBarActive",u),document.body.style.setProperty("--colorSettings",o.colorSettings||a.defaultTheme.token.colorSettings),document.body.style.setProperty("--colorBgSettingsHover",o.colorBgSettingsHover),document.body.style.setProperty("--colorTemplateBgSettingsHover",o.colorTemplateBgSettingsHover),document.body.style.setProperty("--colorBorderSettingsHover",o.colorBorderSettingsHover),document.body.style.setProperty("--colorBgMenuItemSelected",o.colorBgHeaderMenuActive),document.body.style.setProperty("background-color",o.colorBgContainer)},[s,u,d,i,o.colorBgContainer,o.colorBgLayout,o.colorBgSettingsHover,o.colorTemplateBgSettingsHover,o.colorBorderSettingsHover,o.colorInfoBg,o.colorInfoBorder,o.colorPrimaryText,o.colorPrimaryTextActive,o.colorPrimaryTextHover,o.colorSettings,o.colorText,o.colorWarningBg,o.colorWarningBorder,o.controlHeightLG,o.marginLG,o.marginSM,o.marginXS,o.paddingContentVerticalSM,o.sizeXXL,o.colorTextHeaderMenu,o.colorBgSider,o.colorBgSiderMenuHover,o.colorBgSiderMenuActive,o.colorTextSiderMenu,o.colorTextSiderMenuHover,o.colorTextSiderMenuActive,o.colorBgHeaderMenuActive]),t};i.displayName="CSSVariableProvider";let s=i},29928(e,t,o){o.d(t,{y:()=>r});var l=o(77583),n=o(99982),a=o(63526);class r{addComponentOption(e){if(!this.componentOptions){var t,o,n,r,i,s;this.componentOptions=[];let e=null==(o=this.default)||null==(t=o.uiSchema)?void 0:t["x-component"],d=null==(r=this.default)||null==(n=r.uiSchema)?void 0:n["x-component-props"];if(e){let t=(null==(s=this.default)||null==(i=s.uiSchema)?void 0:i.type)||"string",o=(0,a.tval)(e.startsWith("Input")?(0,l.capitalize)(t):e.split(".").pop());this.componentOptions=[{label:o,value:e,useProps:()=>d||{}}]}}this.componentOptions.push(e)}getConfigureFormProperties(e){let t=this.hasDefaultValue?this.getDefaultValueProperty():{};this.availableValidationOptions.push("required");let o=null==e?void 0:e.view,a=(null==e?void 0:e.template)==="sql"||(null==e?void 0:e.sql),r=o||a||!this.validationType?{}:{validation:{title:'{{ t("Validation") }}',required:!1,"x-decorator":"FormItem","x-component":"FieldValidation","x-component-props":{type:this.validationType,availableValidationOptions:[...new Set(this.availableValidationOptions)],excludeValidationOptions:[...new Set(this.excludeValidationOptions)],isAssociation:this.isAssociation}}};return{...(0,l.cloneDeep)({...n.defaultProps,...null===this||void 0===this?void 0:this.properties}),...t,...r}}getDefaultValueProperty(){var e,t;return{defaultValue:{...(0,l.cloneDeep)(null===this||void 0===this||null==(e=this.default)?void 0:e.uiSchema),...null===this||void 0===this||null==(t=this.properties)?void 0:t.uiSchema,required:!1,title:'{{ t("Default value") }}',"x-decorator":"FormItem","x-reactions":[{dependencies:["uiSchema.x-component-props.gmt","uiSchema.x-component-props.showTime","uiSchema.x-component-props.dateFormat","uiSchema.x-component-props.timeFormat","uiSchema.x-component-props.picker","uiSchema.x-component-props.format"],fulfill:{state:{componentProps:{gmt:"{{$deps[0]}}",showTime:"{{$deps[1]}}",dateFormat:"{{$deps[2]}}",timeFormat:"{{$deps[3]}}",picker:"{{$deps[4]}}",format:"{{$deps[5]}}"}}}},{dependencies:["uiSchema.x-component-props.picker"],fulfill:{state:{value:null}}},{dependencies:["primaryKey","unique","autoIncrement","defaultToCurrentTime"],when:"{{$deps[0]||$deps[1]||$deps[2]||$deps[3]}}",fulfill:{state:{hidden:!0,value:null}},otherwise:{state:{hidden:!1}}},{dependencies:["uiSchema.enum"],fulfill:{state:{dataSource:"{{$deps[0]}}"}}}]}}}addOperator(e){(0,l.set)(this,"filterable.operators",[...this.filterable.operators||[]]),this.filterable.operators.find(t=>t.value===e.value)||this.filterable.operators.push(e)}constructor(e){this.collectionFieldInterfaceManager=e,this.availableValidationOptions=[]}}},32799(e,t,o){o.d(t,{y:()=>l.y,L:()=>n});var l=o(29928);class n{addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,Array.isArray(this.actionList[o.name])&&(this.actionList[o.name].forEach(e=>{o[e.type](e.data)}),this.actionList[o.name]=void 0),e},{});Object.assign(this.collectionFieldInterfaceInstances,t)}addFieldInterfaceComponentOption(e,t){let o=this.getFieldInterface(e);if(!o){this.actionList[e]||(this.actionList[e]=[]),this.actionList[e].push({type:"addComponentOption",data:t});return}o.addComponentOption(t)}addFieldInterfaceOperator(e,t){let o=this.getFieldInterface(e);null==o||o.addOperator(t)}getFieldInterface(e){return this.collectionFieldInterfaceInstances[e]}getFieldInterfaces(e){return Object.values(this.collectionFieldInterfaceInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)})}addFieldInterfaceGroups(e){Object.assign(this.collectionFieldGroups,e)}getFieldInterfaceGroups(){return this.collectionFieldGroups}getFieldInterfaceGroup(e){return this.collectionFieldGroups[e]}constructor(e,t,o){this.dataSourceManager=o,this.collectionFieldInterfaceInstances={},this.collectionFieldGroups={},this.actionList={},this.addFieldInterfaces(e),this.addFieldInterfaceGroups(t)}}},42219(e,t,o){o.d(t,{J:()=>g});var l=o(71178),n=o(56920),a=o(2314),r=o(27404),i=o(77583),s=o(51649),d=o(69412),u=o(30644),c=o(80461),p=o(82924),m=o(83508),h=o(59896),x=o(46724);let v=(e,t,o)=>{(0,a.untracked)(()=>{void 0===e[t]&&(e[t]=o)})},_=e=>{var t;let o=(0,p.lum)(),a=(0,n.useField)(),u=(0,n.useFieldSchema)(),{uiSchema:h,defaultValue:_}=(0,x.E1)(),{isAllowToSetDefaultValue:f}=(0,m.eT)(),g=(0,p.xZI)((null==(t=u["x-component-props"])?void 0:t.component)||(null==h?void 0:h["x-component"])||"Input"),b=(0,d.Es)(),y=(0,c.S)(null==h?void 0:h["x-use-component-props"],e);return((0,s.useEffect)(()=>{if(!h)return;let e=o(h);if(v(a,"content",e["x-content"]),v(a,"title",e.title),v(a,"description",e.description),null==b?void 0:b.form){let e=f()?u.default||_:void 0;null!=e&&v(a,"initialValue",e)}!a.validator&&(e["x-validator"]||u["x-validator"])&&(a.validator=(0,i.concat)([],e["x-validator"]||[],u["x-validator"]||[])),!0===u["x-disabled"]&&(a.disabled=!0),!0===u["x-read-pretty"]&&(a.readPretty=!0),void 0===u.required&&(a.required=!!e.required),a.dataSource=e.enum,a.data=a.data||{},a.data.dataSource=null==e?void 0:e.enum;let t=o(e["x-component-props"])||{};a.componentProps=(0,r.merge)(t,a.componentProps||{},y||{})},[h]),h)?(0,l.jsx)(g,{...e,...y}):null},f=e=>{var t;let o=(0,n.useField)(),a=(0,n.useFieldSchema)(),{uiSchema:r}=(0,u.ZC)(),i=(0,p.xZI)((null==(t=a["x-component-props"])?void 0:t.component)||(null==r?void 0:r["x-component"])||"Input"),d=(0,c.S)(null==r?void 0:r["x-use-component-props"],e);if((0,s.useEffect)(()=>{!0!==a["x-read-pretty"]||o.readPretty||(o.readPretty=!0),!0===a["x-disabled"]&&(o.disabled=!0),o.data=o.data||{},o.data.dataSource=null==r?void 0:r.enum},[o,a]),!r)return null;let m={...e,...d};return(0,h.DZ)(m.value)&&m.value===a.default&&(m.value=void 0),(0,l.jsx)(i,{...m})},g=(0,n.connect)(e=>{let t=(0,n.useFieldSchema)(),o=(0,u.IC)();return(0,l.jsx)(x.Ey,{name:t.name,children:o?(0,l.jsx)(f,{...e}):(0,l.jsx)(_,{...e})})});g.displayName="CollectionField"},46724(e,t,o){o.d(t,{E1:()=>c,Ey:()=>d,bJ:()=>u,yn:()=>s});var l=o(71178),n=o(51649),a=o(56920),r=o(40829),i=o(52968);let s=(0,n.createContext)(null);s.displayName="CollectionFieldContext";let d=e=>{let{name:t,children:o,allowNull:d}=e,u=(0,a.useFieldSchema)(),c=(0,r.Ge)(),p=(0,r.r2)(),m=(0,n.useMemo)(()=>{var e;if(!c)return null;let o=null==u||null==(e=u["x-component-props"])?void 0:e.field;return p.getCollectionField(null==u?void 0:u["x-collection-field"])||o||c.getField((null==o?void 0:o.name)||t)},[c,u,p,t]);return!m&&d?(0,l.jsx)(l.Fragment,{children:o}):m?(0,l.jsx)(s.Provider,{value:m,children:o}):(0,l.jsx)(i.x,{type:"Field",name:t})},u=e=>(0,l.jsx)(s.Provider,{value:null,children:e.children}),c=()=>(0,n.useContext)(s)},78813(e,t,o){o.d(t,{o:()=>l});class l{setData(e){this.data=e}setParentRecord(e){this.parentRecord=e}constructor(e){let{data:t,parentRecord:o,isNew:l}=e;this.isNew=l,this.data=t,this.parentRecord=o}}},35432(e,t,o){o.d(t,{Jw:()=>i,PD:()=>s,Vm:()=>u,tH:()=>r,vt:()=>c,zv:()=>d});var l=o(71178),n=o(51649),a=o(78813);let r=(0,n.createContext)(null);r.displayName="CollectionRecordContext";let i=n.default.memo(e=>{let{isNew:t,record:o,parentRecord:i,children:s}=e,d=(0,n.useMemo)(()=>i?i instanceof a.o?i:new a.o({data:i}):o instanceof a.o?o.parentRecord:void 0,[i,o]),u=(0,n.useMemo)(()=>{let e;return o?o instanceof a.o?(e=o).isNew=o.isNew||t:e=new a.o({data:o,isNew:t}):e=new a.o({isNew:t}),e.setParentRecord(d),e},[o,d,t]);return(0,l.jsx)(r.Provider,{value:u,children:s})});function s(){return(0,n.useContext)(r)}function d(){let e=s();return null==e?void 0:e.data}function u(){let e=s();return null==e?void 0:e.parentRecord}function c(){var e;let t=s();return null==t||null==(e=t.parentRecord)?void 0:e.data}i.displayName="CollectionRecordProvider"},66110(e,t,o){o.d(t,{Jw:()=>n.Jw,PD:()=>n.PD,Vm:()=>n.Vm,ol:()=>l.o,tH:()=>n.tH,vt:()=>n.vt,zv:()=>n.zv});var l=o(78813),n=o(35432)},14469(e,t,o){o.d(t,{$:()=>i,_:()=>r});var l=o(2314),n=o(77583);let a="__isNewRecord__",r=e=>(0,l.untracked)(()=>!!(null==e?void 0:e[a])),i=e=>{if(!(0,n.isObject)(e))throw Error("markRecordAsNew: record must be an object");return e[a]=!0,e}},83339(e,t,o){o.d(t,{T:()=>l});class l{constructor(e){this.collectionTemplateManager=e}}},86960(e,t,o){o.d(t,{C:()=>l});class l{addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,e},{});return Object.assign(this.collectionTemplateInstances,t),this.dataSourceManager.getDataSources().forEach(e=>{let o=e.collectionManager.getCollections(e=>t[e.template]);e.collectionManager.reAddCollections(o)}),t}getCollectionTemplate(e){return this.collectionTemplateInstances[e]}getCollectionTemplates(e){return Object.values(this.collectionTemplateInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)}).sort((e,t)=>(e.order||0)-(t.order||0))}constructor(e,t){this.dataSourceManager=t,this.collectionTemplateInstances={},this.addCollectionTemplates(e)}}},94138(e,t,o){o.d(t,{$z:()=>p,KY:()=>c,UJ:()=>m});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174),s=o(49621);let d=(0,n.createContext)(null);d.displayName="ParentCollectionContext";let u=e=>{let t=(0,s.Ge)();return(0,l.jsx)(d.Provider,{value:t,children:e.children})},c=()=>(0,n.useContext)(d),p=e=>{let{name:t,children:o}=e,n=(0,i.r2)().getCollectionName(t);return n?(0,l.jsx)(s.Yz,{name:String(t).split(".")[0],children:(0,l.jsx)(u,{children:(0,l.jsx)(a.Ey,{name:t,children:(0,l.jsx)(s.Yz,{name:n,children:o})})})}):(0,l.jsx)(r.x,{type:"Collection",name:t})},m=()=>{let e=(0,a.E1)();return(null==e?void 0:e.target)?`${e.collectionName}.${e.name}`:null}},21086(e,t,o){o.d(t,{p:()=>n});var l=o(77583);class n{get fields(){return this.options.fields||[]}get app(){return this.collectionManager.app}get dataSource(){return this.options.dataSource}get sourceKey(){return this.options.sourceKey}get name(){return this.options.name}get key(){return this.options.key}get title(){return this.options.title}get inherit(){return this.options.inherit}get hidden(){return this.options.hidden}get description(){return this.options.description}get duplicator(){return this.options.duplicator}get category(){return this.options.category}get targetKey(){return this.options.targetKey}get model(){return this.options.model}get createdBy(){return this.options.createdBy}get updatedBy(){return this.options.updatedBy}get logging(){return this.options.logging}get from(){return this.options.from}get rawTitle(){return this.options.rawTitle}getPrimaryKey(){if(this.primaryKey)return this.primaryKey;if(this.options.targetKey)return this.options.targetKey;let e=this.getFields({primaryKey:!0})[0];return this.primaryKey=null==e?void 0:e.name,this.primaryKey}getFilterTargetKey(){return this.filterTargetKey||this.getPrimaryKey()||"id"}get inherits(){return this.options.inherits||[]}get titleField(){return this.hasField(this.options.titleField)?this.options.titleField:this.getPrimaryKey()}get sources(){return this.options.sources||[]}get template(){return this.options.template}get tableName(){return this.options.tableName}get viewName(){return this.options.viewName}get writableView(){return this.options.writableView}get filterTargetKey(){return this.options.filterTargetKey}get sortable(){return this.options.sortable}get autoGenId(){return this.options.autoGenId}get magicAttribute(){return this.options.magicAttribute}get tree(){return this.options.tree}get isThrough(){return this.options.isThrough}get autoCreate(){return this.options.autoCreate}get resource(){return this.options.resource}setOption(e,t){return this.options[e]=t,this}getOptions(){return this.options}getOption(e){return this.options[e]}getFields(e){return e?(0,l.filter)(this.fields,e):this.fields}getAllFields(e){return this.getFields(e)}getFieldsMap(){return this.fieldsMap||(this.fieldsMap=this.getFields().reduce((e,t)=>(e[t.name]=t,e),{})),this.fieldsMap}getFieldByAssociationName(e){let t=this.getFieldsMap(),[o,...l]=String(e).split("."),n=t[o];if(!n)return;let a=null==n?void 0:n.target;if(!a)return;let r=this.collectionManager.getCollection(a);if(r)return r.getField(l.join("."))}getField(e){if(!e)return;let t=this.getFieldsMap();if(String(e).split(".").length>1){let t=this.getFieldByAssociationName(e);return t||("string"==typeof e&&e.startsWith(`${this.name}.`)?(e=e.replace(`${this.name}.`,""),this.getField(e)):void 0)}return t[e]}hasField(e){return!!this.getField(e)}isTitleField(e){var t;return null==(t=this.app.dataSourceManager.collectionFieldInterfaceManager.getFieldInterface(e.interface))?void 0:t.titleUsable}isInherited(){return this.inherits.length>0}constructor(e,t){this.options=e,this.collectionManager=t}}},26174(e,t,o){o.d(t,{Jr:()=>i,Pf:()=>d,Xd:()=>c,r2:()=>u});var l=o(71178),n=o(51649),a=o(23460),r=o(17544);let i=(0,n.createContext)(null);i.displayName="CollectionManagerContext";let s=e=>{let{instance:t,children:o}=e,s=(0,a.xw)(),d=(0,r.h_)(),u=(0,n.useMemo)(()=>t||(null==s?void 0:s.collectionManager),[t,s]),[c,p]=n.default.useState(Math.random());(0,n.useEffect)(()=>{u.dataSource.addReloadCallback(()=>{p(Math.random())})},[u]);let m=(0,n.useMemo)(()=>(null==d?void 0:d.length)?u.clone(d):u,[u,d,c]);return(0,l.jsx)(i.Provider,{value:m,children:o})},d=e=>{let{instance:t,dataSource:o,children:n}=e;return(0,l.jsx)(a.tc,{dataSource:o,children:(0,l.jsx)(s,{instance:t,children:n})})};function u(){return(0,n.useContext)(i)}let c=e=>{let t=u();return(0,n.useMemo)(()=>t.getCollections(e),[t,e])}},49621(e,t,o){o.d(t,{$h:()=>p,CQ:()=>s,Ge:()=>c,N5:()=>u,Yz:()=>d});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174);let s=(0,n.createContext)(null);s.displayName="CollectionContext";let d=e=>{let{name:t,children:o,allowNull:a}=e,d=(0,i.r2)(),u=(0,n.useMemo)(()=>null==d?void 0:d.getCollection(t),[d,t]);return!u&&a?(0,l.jsx)(l.Fragment,{children:e.children}):u||a?(0,l.jsx)(s.Provider,{value:u,children:o}):(0,l.jsx)(r.x,{type:"Collection",name:t})},u=e=>(0,l.jsx)(a.yn.Provider,{value:null,children:(0,l.jsx)(d,{...e})});function c(){return(0,n.useContext)(s)}let p=e=>{let t=c();return(0,n.useMemo)(()=>t.getFields(e),[t,e])}},17544(e,t,o){o.d(t,{Jl:()=>s,h_:()=>d,pi:()=>i});var l=o(71178),n=o(51649),a=o(23460),r=o(26174);let i=(0,n.createContext)(null);i.displayName="ExtendCollectionsContext";let s=e=>{let{children:t,collections:o}=e,s=d(),u=(0,n.useMemo)(()=>s?[...s,...o]:o,[s,o]),c=(0,a.Mp)();return(0,l.jsx)(i.Provider,{value:u,children:(0,l.jsx)(r.Pf,{dataSource:c,children:t})})};function d(){return(0,n.useContext)(i)}},40829(e,t,o){o.d(t,{pM:()=>l.p,r2:()=>u.r2,Jr:()=>u.Jr,Pf:()=>u.Pf,$z:()=>a.$z,UJ:()=>a.UJ,h_:()=>c.h_,pi:()=>c.pi,Jl:()=>c.Jl,qG:()=>d,KY:()=>a.KY,N5:()=>n.N5,Yz:()=>n.Yz,Xd:()=>u.Xd,$h:()=>n.$h,CQ:()=>n.CQ,Ge:()=>n.Ge});var l=o(21086),n=o(49621),a=o(94138),r=o(42966),i=o(7271);let s=(e,t)=>{let{rawTitle:o,title:l,fields:n=[],...a}=e,r=(o,l)=>{var n,a;if(e.disableTranslation)return o;if(null==(n=t.context)?void 0:n.t)return t.context.t(o,l);let r=t.i18n||(null==(a=t.getOptions)?void 0:a.call(t).i18n)||i.Ru;return(null==r?void 0:r.t)?r.t(o,l):o};return{...a,title:o?l:r(l,{ns:"lm-collections"}),rawTitle:o||l,fields:null==n?void 0:n.map(e=>{let{uiSchema:t,...o}=e;if(null==t?void 0:t.title){let e=t.title;t.title=t.rawTitle?e:r(e,{ns:"lm-collections"}),t.rawTitle=t.rawTitle||e}return Array.isArray(null==t?void 0:t.enum)&&(t.enum=t.enum.map(e=>({...e,value:(null==e?void 0:e.value)===void 0?e:e.value,label:e.rawLabel?e.label:r(e.label,{ns:"lm-collections"}),rawLabel:e.rawLabel||e.label}))),{uiSchema:t,...o}})}};class d{get dataSourceManager(){return this.dataSource.dataSourceManager}get app(){return this.dataSourceManager.app}getCollectionInstance(e){var t,o;let n,a=this.dataSource.dataSourceManager.collectionTemplateManager.getCollectionTemplate(e.template),r=(null==a?void 0:a.Collection)||l.p,i=null==a?void 0:a.transform,d={...i?i(s(e,this.app),this.app):s(e,this.dataSource.dataSourceManager.app),dataSource:this.dataSource.key};return t=this.dataSourceManager.collectionMixins,o=this,n=new r(d,o),t.forEach(e=>{let t=new e(d,o);Object.getOwnPropertyNames(t).forEach(e=>{let o=Object.getOwnPropertyDescriptor(t,e);o?Object.defineProperty(n,e,o):n[e]=t[e]}),Object.getOwnPropertyNames(e.prototype).forEach(t=>{"constructor"!==t&&(n.__proto__[t]=e.prototype[t])})}),n}getInstancesMap(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>this.getCollectionInstance(e)).reduce((e,t)=>(e[t.name]=t,e),{})}addCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.getInstancesMap(e);this.collectionInstancesMap={...this.collectionInstancesMap,...t},this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}setCollections(e){this.collectionInstancesMap=this.getInstancesMap(e),this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}reAddCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.collectionInstancesArr,t=e.map(e=>e.getOptions());this.addCollections(t)}getCollection(e){if(e){if("object"==typeof e)return e.disableTranslation=!0,this.getCollectionInstance(e);if(String(e).split(".").length>1){let t=this.getCollectionField(e);if(!t)return;return this.getCollection(t.target)}return this.collectionInstancesMap[e]}}getCollections(e){return e?this.collectionInstancesArr.filter(e):this.collectionInstancesArr}getCollectionName(e){let t=this.getCollection(e);return null==t?void 0:t.name}getCollectionField(e){if(!e)return;if("object"==typeof e)return e;if(String(e).split(".").length<2)return void console.error(`[@nocobase/client]: CollectionManager.getField() path "${e}" is invalid`);let[t,...o]=String(e).split("."),l=this.getCollection(t);if(l)return l.getField(o.join("."))}getCollectionFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getFields(t))||[]}getCollectionAllFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getAllFields(t))||[]}getFilterByTK(e,t){if(!e||!t)return void console.error("@nocobase/client]: CollectionManager.getFilterByTK() collectionOrAssociation or collectionRecordOrAssociationRecord is invalid");let o=(e,t)=>{if(!Array.isArray(e))return t[e];{let o={};return e.forEach(e=>{o[e]=t[e]}),r.default.stringify(o)}};if(e instanceof l.p)return o(e.getFilterTargetKey(),t);if(e.includes(".")){let l=this.getCollectionField(e);if(!l)return void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() field "${e}" is invalid`);let n=this.getCollection(l.target);if(n)return o(n.getFilterTargetKey(),t);if(l.targetKey)return t[l.targetKey]}let n=this.getCollection(e);return n?o(n.getFilterTargetKey(),t):void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() collection "${e}" is invalid`)}getSourceKeyByAssociation(e){if(!e)return;let t=this.getCollectionField(e);if(!t)return;if(t.sourceKey)return t.sourceKey;let o=this.getCollection(e.split(".")[0]);if(o)return o.filterTargetKey||o.getPrimaryKey()||"id"}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=new d([],this.dataSource);return t.collectionInstancesArr=this.collectionInstancesArr,t.collectionInstancesMap=this.collectionInstancesMap,t.addCollections(e),t}constructor(e,t){this.dataSource=t,this.collectionInstancesMap={},this.collectionInstancesArr=[],this.addCollections(e)}}var u=o(26174),c=o(17544)},92719(e,t,o){o.d(t,{I:()=>c});var l=o(56920),n=o(77583),a=o(77843),r=o(14669),i=o(46724),s=o(32221),d=o(61013),u=o(95951);let c={name:"fieldComponent",type:"select",useVisible(){let e=(0,i.E1)(),t=(0,r.m6)();if(!e)return!1;let o=t.collectionFieldInterfaceManager.getFieldInterface(null==e?void 0:e.interface);return Array.isArray(null==o?void 0:o.componentOptions)&&o.componentOptions.length>1&&o.componentOptions.filter(e=>!e.useVisible||e.useVisible()).length>1},useComponentProps(){var e,t,o,c;let{t:p}=(0,a.useTranslation)(),m=(0,l.useField)(),h=(0,l.useFieldSchema)(),x=(0,i.E1)(),v=(0,r.m6)().collectionFieldInterfaceManager.getFieldInterface(null==x?void 0:x.interface),{fieldSchema:_}=(0,s.BC)(),f=_||h,{dn:g}=(0,u.er)(),b=(0,d.l)(),y=(null==v||null==(t=v.componentOptions)||null==(e=t.filter(e=>!e.useVisible||e.useVisible()))?void 0:e.map(e=>({label:b(e.label),value:e.value,useProps:e.useProps})))||[];return{title:p("Field component"),options:y,value:(null==(o=f["x-component-props"])?void 0:o.component)||(null==(c=y[0])?void 0:c.value),onChange(e){var t;let o=y.find(t=>t.value===e),l={component:e,...(null==o||null==(t=o.useProps)?void 0:t.call(o))||{},...e===x.uiSchema["x-component"]?x.uiSchema["x-component-props"]:{}};n.default.set(f,"x-component-props",l),m.componentProps=l,g.emit("patch",{schema:{"x-uid":f["x-uid"],"x-component-props":l}})}}}}},52968(e,t,o){o.d(t,{b:()=>v,x:()=>h});var l=o(71178),n=o(52793),a=o(51649),r=o(77843),i=o(82924),s=o(23460),d=o(2490),u=o(67574),c=o(40829),p=o(71226);let{Text:m}=n.Typography,h=e=>{let{type:t,name:o,message:h}=e,{designable:x,dn:v}=(0,i.erX)(),{modal:_}=n.App.useApp(),{t:f}=(0,r.useTranslation)(),g=(0,s.xw)(),b=(0,i.lum)(),y=(0,c.Ge)(),S=(0,d.m6)(),k=(0,a.useMemo)(()=>{if("Data Source"===t)return o;let e=(null==S?void 0:S.getDataSources().length)>=1&&g&&g.key!==u.Ze?`${b(g.displayName||g.key)} > `:"";if("Collection"===t)return`${e}${o}`;let l=y?`${b(y.title)||y.name||y.tableName} > `:"";return`${e}${l}${o}`},[]),C=(0,a.useMemo)(()=>"Field"===t?"Field":"Block",[t]),M=(0,a.useMemo)(()=>o?h?`${f(t)} "${k}" ${h}`:f('The {{type}} "{{name}}" may have been deleted. Please remove this {{blockType}}.',{type:f(t).toLocaleLowerCase(),name:k,blockType:f(C).toLocaleLowerCase()}).replaceAll(">",">"):`${f(t)} name is required`,[h,k,t,f,C]);return x?"Field"===t?(0,l.jsx)(i.R_2,{ellipsis:!0,children:(0,l.jsx)(m,{type:"secondary",children:M})}):(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:M,extra:(0,l.jsx)(n.Button,{onClick:()=>_.confirm({title:f("Delete block"),content:f("Are you sure you want to delete it?"),...confirm,onOk(){v.remove(null,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}),v.refresh({refreshParentSchema:!0})}}),children:f("Delete")},"Delete")})}):null},x=()=>{let{t:e}=(0,r.useTranslation)(),t=(0,s.xw)(),o=(0,i.lum)(),m=(0,c.Ge)(),h=(0,d.m6)(),x=(0,a.useMemo)(()=>{let e=(null==h?void 0:h.getDataSources().length)>=1&&t&&t.key!==u.Ze?`${o(t.displayName||t.key)} > `:"";if(m)return`${e}${m.name}`;let l=m?`${o(m.title)||m.name||m.tableName} > `:"";return`${e}${l}${m.name}`},[]),v=(0,a.useMemo)(()=>e('The current user only has the UI configuration permission, but don\'t have view permission for collection "{{name}}"',{name:x}).replaceAll(">",">"),[x,e]);return(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:v})})},v=()=>{let{designable:e}=(0,i.erX)();return e?(0,l.jsx)(x,{}):null}},62248(e,t,o){o.d(t,{N:()=>r});var l=o(71178);o(51649);var n=o(14669),a=o(26174);let r=e=>{let{children:t,dataSourceManager:o,...r}=e;return(0,l.jsx)(n.e1,{dataSourceManager:o,children:(0,l.jsx)(a.Pf,{...r,children:t})})}},32444(e,t,o){o.d(t,{$$:()=>b,Kx:()=>S,Qj:()=>_,R6:()=>x,T4:()=>g,h6:()=>y,uG:()=>f});var l=o(71178),n=o(51649),a=o(42536),r=o(11482),i=o(80461),s=o(95951),d=o(40829),u=o(14187),c=o(46776),p=o(38892),m=o(76460),h=o(56920);let x=(0,n.createContext)({});x.displayName="DataBlockContext";let v=(0,n.createContext)(null),_=e=>{let{children:t}=e,[o,a]=n.default.useState(!1),r=(0,n.useMemo)(()=>({rerenderDataBlock:()=>{a(!0),setTimeout(()=>{a(!1)})}}),[]);return o?null:(0,l.jsx)(v.Provider,{value:r,children:t})},f=e=>{let{collection:t,association:o,allowNull:a=!1}=e,r=(0,n.useMemo)(()=>o?{Component:d.$z,name:o}:{Component:d.N5,name:t},[t,o]);return(0,l.jsx)(r.Component,{name:r.name,allowNull:a,children:e.children})},g=(0,i.T)(n.default.memo(e=>{let{collection:t,association:o,dataSource:n,children:i,hidden:v,...g}=e,{dn:b}=(0,s.er)(),y=(0,h.useFieldSchema)();return v?null:(0,l.jsx)(m.j0,{scopeId:null==y?void 0:y["x-uid"],type:"dataBlock",children:(0,l.jsx)(x.Provider,{value:{dn:b,props:{...g,collection:t,association:o,dataSource:n}},children:(0,l.jsx)(d.Pf,{dataSource:n,children:(0,l.jsx)(f,{collection:t,association:o,children:(0,l.jsx)(a.yb,{children:(0,l.jsx)(p._,{children:(0,l.jsx)(c.Fr,{children:(0,l.jsx)(u.Yu,{children:(0,l.jsx)(r.Pt,{params:e.params,children:(0,l.jsx)(_,{children:i})})})})})})})})})})}),{displayName:"DataBlockProvider"}),b=()=>{let e=(0,n.useContext)(x);if(!e)throw Error("useDataBlock() must be used within a DataBlockProvider");return e},y=()=>b().props,S=()=>{let e=(0,n.useContext)(v);if(!e)throw Error("useRerenderDataBlock() must be used within a DataBlockProvider");return e}},14187(e,t,o){o.d(t,{$G:()=>b,NB:()=>y,OO:()=>f,YE:()=>M,Yu:()=>S,ZK:()=>C,_J:()=>k});var l=o(71178),n=o(51649),a=o(77583),r=o(16211),i=o(41897),s=o(70136),d=o(43873),u=o(67242),c=o(79647),p=o(67285),m=o(66110),h=o(29558),x=o(32444),v=o(46776);let _=(0,n.createContext)(null);_.displayName="BlockRequestRefContext";let f=(0,n.createContext)(!1);f.displayName="BlockRequestLoadingContext";let g=(0,n.createContext)(null);async function b(e){let{sourceId:t,association:o,parentRecord:l,api:n,headers:a,sourceKey:r}=e;if(l)return Promise.resolve({data:l});if(!o||!r||!t)return Promise.resolve({data:void 0});let i=o.split("."),s=`${i[0]}:get?filter[${r}]=${t}`;return(await n.request({url:s,headers:a})).data}g.displayName="BlockRequestDataContext";let y=e=>{var t,o,r,s,d,u;let p=(0,n.useRef)(e.recordRequest),m=(0,n.useRef)(null==(t=e.recordRequest)?void 0:t.data),{active:h}=(0,c.Y)(),v=(0,i.$Q)(),b=(0,n.useRef)(h),y=(0,n.useRef)(v),S=(0,n.useDeferredValue)(h),k=(0,x.h6)(),C=b.current;return S&&!C&&y.current===v&&(a.default.isNil(k.dataLoadingMode)||"auto"===k.dataLoadingMode)&&(null==(d=e.recordRequest)||d.refresh()),!S||!C||(null==(o=e.recordRequest)?void 0:o.loading)||a.default.isEqual(m.current,null==(r=e.recordRequest)?void 0:r.data)||(m.current=null==(u=e.recordRequest)?void 0:u.data),h&&C&&(y.current=v),S!==C&&(b.current=S),p.current=e.recordRequest,(0,l.jsx)(_.Provider,{value:p,children:(0,l.jsx)(f.Provider,{value:null==(s=e.recordRequest)?void 0:s.loading,children:(0,l.jsx)(g.Provider,{value:m.current,children:e.children})})})},S=n.default.memo(e=>{var t,o;let{children:i}=e,{action:c,filterByTk:_,sourceId:f,params:g=p.M,association:S,collection:k,record:C,parentRecord:M,requestOptions:w,requestService:F}=(0,x.h6)(),P=function(e){let t=(0,d.fY)(),o=(0,v.jz)(),{action:l,params:i={},record:c,requestService:p,requestOptions:m,sourceId:_,association:f,parentRecord:g}=e,y=(0,r.VB)(),S=(0,x.h6)(),k=(0,h.TF)(S.dataSource),C=(0,u.i)(f),[M,w]=(0,n.useMemo)(()=>[JSON.stringify(i),JSON.stringify(c)],[i,c]),{isBlockTemplate:F,templateFinished:P}=(0,s.y)(),j=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(null==F?void 0:F())&&!P?null:(p||(e=>{var t;if(c)return Promise.resolve({data:c});if(!l)throw Error("[nocobase]: The 'action' parameter is missing in the 'DataBlockRequestProvider' component");if("get"===l&&a.default.isNil(i.filterByTk))return console.warn('[nocobase]: The "filterByTk" parameter is missing in the "DataBlockRequestProvider" component');let n={...void 0===i.filterByTk?a.default.omit(i,"filterByTk"):i,...e};return null==(t=o[l])?void 0:t.call(o,n).then(e=>e.data)}))(...t)},A=async function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let[l,n]=await Promise.all([j(...t),b({sourceId:_,association:f,parentRecord:g,api:y,headers:k,sourceKey:C})]);return l&&(l.parentRecord=null==n?void 0:n.data),l},I=(0,r.bP)(A,{...m,manual:"manual"===t,ready:!!l,refreshDeps:[l,M,w,o,f,g,_,P]});return I._defaultParams=i,I}({action:c,sourceId:f,record:C,association:S,collection:k,requestOptions:w,requestService:F,params:(0,n.useMemo)(()=>({...g,filterByTk:_||g.filterByTk}),[_,g]),parentRecord:M}),j=null==(t=P.data)?void 0:t.parentRecord,A=(0,n.useMemo)(()=>j&&new m.ol({isNew:!1,data:j instanceof m.ol?j.data:j}),[j]);return(0,l.jsx)(y,{recordRequest:P,children:"list"!==c?(0,l.jsx)(m.Jw,{isNew:null==c,record:(null==(o=P.data)?void 0:o.data)||C,parentRecord:A||M,children:i}):(0,l.jsx)(m.Jw,{isNew:!1,record:null,parentRecord:A||M,children:i})})});S.displayName="DataBlockRequestProvider";let k=()=>{let e=(0,n.useContext)(_),t=(0,n.useContext)(f),o=(0,n.useContext)(g);return(0,n.useMemo)(()=>e?{...e.current,loading:t,data:o}:null,[e,o,t])},C=()=>{let e=(0,n.useContext)(_);return(0,n.useMemo)(()=>({getDataBlockRequest:()=>e?e.current:null}),[e])},M=()=>(0,n.useContext)(g)},46776(e,t,o){o.d(t,{Fr:()=>p,RE:()=>c,jz:()=>m});var l=o(71178),n=o(77583),a=o(51649),r=o(16211),i=o(40829),s=o(66110),d=o(29558),u=o(32444);let c=(0,a.createContext)(null);c.displayName="DataBlockResourceContext";let p=e=>{let{children:t}=e,o=(0,u.h6)(),p=(0,i.r2)(),{association:m,collection:h,dataSource:x,sourceId:v,parentRecord:_}=o,f=(0,r.VB)(),g=(0,d.TF)(x),b=(0,a.useMemo)(()=>"string"==typeof h?h:null==h?void 0:h.name,[h]),y=(0,a.useMemo)(()=>{if(v)return v;if(m&&_){let e=p.getSourceKeyByAssociation(m),t=_ instanceof s.ol?_.data:_;if(!(0,n.isArray)(e))return t[e];{let o={};for(let l of e)o[l]=null==t?void 0:t[l];return encodeURIComponent(JSON.stringify(o))}}},[m,v,_]),S=(0,a.useMemo)(()=>m?f.resource(m,y,g,!y):f.resource(b,void 0,g),[f,m,h,y,g]);return(0,l.jsx)(c.Provider,{value:S,children:t})};function m(){let e=(0,a.useContext)(c);if(!e)throw Error("useDataBlockResource() must be used within a DataBlockResourceProvider");return e}},593(e,t,o){o.d(t,{h:()=>a,q:()=>n});var l=o(40829);class n{get app(){return this.dataSourceManager.app}get key(){return this.options.key}get displayName(){return this.options.displayName}get status(){return this.options.status}get errorMessage(){return this.options.errorMessage}get collections(){return this.collectionManager.getCollections()||[]}getOptions(){return this.options}setOptions(e){Object.assign(this.options,e)}getOption(e){return this.options[e]}addReloadCallback(e){this.reloadCallbacks.includes(e)||this.reloadCallbacks.push(e)}removeReloadCallback(e){this.reloadCallbacks=this.reloadCallbacks.filter(t=>t!==e)}get flowEngineDataSourceManager(){var e;return null==(e=this.app.flowEngine)?void 0:e.context.dataSourceManager}async reload(){let e=await this.getDataSource(),t=this.flowEngineDataSourceManager;return t&&(t.upsertDataSource(this.options),t.getDataSource(this.key).upsertCollections(e.collections||[],{clearFields:!0})),this.setOptions(e),this.collectionManager.setCollections(e.collections||[]),this.reloadCallbacks.forEach(t=>t(e.collections)),this.options}constructor(e,t){this.options=e,this.dataSourceManager=t,this.reloadCallbacks=[],this.collectionManager=new l.qG(e.collections,this)}}class a extends n{getDataSource(){return{collections:this.collections}}}},67574(e,t,o){o.d(t,{Ze:()=>i,gP:()=>s,zA:()=>d});var l=o(593),n=o(86960),a=o(32799),r=o(77583);let i="main",s='{{t("Main")}}';class d{addCollectionMixins(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>!this.collectionMixins.includes(e));t.length&&(this.collectionMixins.push(...t),this.getDataSources().forEach(e=>e.collectionManager.reAddCollections()))}getDataSources(e){let t=Object.values(this.dataSourceInstancesMap);return e?r.default.filter(t,e):t}setDataSources(e){let t=r.default.keyBy(e,"key");Object.keys(this.dataSourceInstancesMap).forEach(e=>{let o=t[e];o&&this.dataSourceInstancesMap[e].setOptions({displayName:o.displayName,status:o.status})})}getDataSource(e){return e?this.dataSourceInstancesMap[e]:this.dataSourceInstancesMap[i]}removeDataSources(e){e.forEach(e=>{delete this.dataSourceInstancesMap[e]})}addDataSource(e,t){let o=new e(t,this);return this.dataSourceInstancesMap[o.key]=o,o}async addDataSources(e,t){this.multiDataSources.some(o=>{let[l,n]=o;return l===e&&n===t})||this.multiDataSources.push([e,t])}getAllCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{filterCollection:t,filterDataSource:o}=e;return this.getDataSources(o).reduce((e,o)=>(e.push({...o.getOptions(),collections:o.collectionManager.getCollections(t)}),e),[])}addFieldInterfaceGroups(e){this.collectionFieldInterfaceManager.addFieldInterfaceGroups(e)}addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionTemplateManager.addCollectionTemplates(e)}addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionFieldInterfaceManager.addFieldInterfaces(e)}async reload(){return await Promise.all(this.multiDataSources.map(async e=>{let[t,o]=e;(await t()).map(e=>this.addDataSource(o,e))})),Promise.all(this.getDataSources().map(e=>e.reload()))}constructor(e={},t){this.options=e,this.app=t,this.dataSourceInstancesMap={},this.multiDataSources=[],this.collectionMixins=[],this.collectionTemplateManager=new n.C(e.collectionTemplates,this),this.collectionFieldInterfaceManager=new a.L(e.fieldInterfaces,e.fieldInterfaceGroups,this),this.collectionMixins.push(...e.collectionMixins||[]),this.addDataSource(l.h,{key:i,displayName:s,collections:e.collections||[],status:"loaded"}),(e.dataSources||[]).forEach(e=>{this.addDataSource(l.h,e)})}}},14669(e,t,o){o.d(t,{LQ:()=>s,e1:()=>r,m6:()=>i,oc:()=>a});var l=o(71178),n=o(51649);let a=(0,n.createContext)(null);a.displayName="DataSourceManagerContext";let r=e=>{let{children:t,dataSourceManager:o}=e;return(0,l.jsx)(a.Provider,{value:o,children:t})};function i(){return(0,n.useContext)(a)}function s(){let e=i();return{getAllCollectionsInheritChain:(0,n.useCallback)((t,o)=>{var l,n,a;return null==e||null==(a=e.getDataSource(o))||null==(n=a.collectionManager)||null==(l=n.getCollection(t))?void 0:l.getInheritChain()},[e])}}},23460(e,t,o){o.d(t,{Mp:()=>h,Vl:()=>c,tc:()=>p,xw:()=>m});var l=o(71178),n=o(51649),a=o(14669),r=o(52968),i=o(82924),s=o(52793),d=o(82113),u=o(77843);let c=(0,n.createContext)(null);c.displayName="DataSourceContext";let p=e=>{let{children:t,dataSource:o}=e,p=(0,a.m6)(),{t:m}=(0,u.useTranslation)(),{refresh:h}=(0,i.Fag)(),[x,v]=n.default.useState(0),_=null==p?void 0:p.getDataSource(o);return _?"loading-failed"===_.status?(0,l.jsx)(r.x,{type:"Data Source",name:_.displayName||o,message:_.errorMessage||"loading failed"}):"loading"===_.status||"reloading"===_.status?(0,l.jsx)(i.oVU,{children:(0,l.jsx)(s.Result,{icon:(0,l.jsx)(d.LoadingOutlined,{}),title:`${_.displayName||o} ${m("data source")} ${m("loading")}...`,extra:(0,l.jsx)(s.Button,{type:"primary",onClick:()=>_.reload().then(()=>{h(),v(Math.random())}),children:m("Refresh")})})}):(0,l.jsx)(c.Provider,{value:_,children:t}):(0,l.jsx)(r.x,{type:"Data Source",name:o})};function m(){return(0,n.useContext)(c)}function h(){let e=(0,n.useContext)(c);return null==e?void 0:e.key}},2490(e,t,o){o.d(t,{LQ:()=>r.LQ,Mp:()=>a.Mp,Vl:()=>a.Vl,Ze:()=>n.Ze,e1:()=>r.e1,gP:()=>n.gP,h0:()=>l.h,m6:()=>r.m6,oc:()=>r.oc,qS:()=>l.q,tc:()=>a.tc,xw:()=>a.xw,zA:()=>n.zA});var l=o(593),n=o(67574),a=o(23460),r=o(14669)},28227(e,t,o){o.d(t,{pM:()=>l.pM,I1:()=>N.I,qS:()=>h.qS,tH:()=>x.tH,$z:()=>l.$z,bC:()=>B,Pf:()=>l.Pf,T0:()=>i.T,SG:()=>L,UJ:()=>l.UJ,yz:()=>r.y,Ey:()=>a.Ey,C1:()=>s.C,R6:()=>m.R6,$G:()=>p.$G,Vm:()=>x.Vm,h6:()=>m.h6,YE:()=>p.YE,ZK:()=>p.ZK,tc:()=>h.tc,Qj:()=>m.Qj,bJ:()=>a.bJ,NB:()=>p.NB,_J:()=>p._J,Fr:()=>c.Fr,jz:()=>c.jz,LQ:()=>h.LQ,Ln:()=>r.L,N5:()=>l.N5,OO:()=>p.OO,$$:()=>m.$$,h0:()=>h.h0,xw:()=>h.xw,vt:()=>x.vt,JL:()=>n.J,b:()=>d.b,gP:()=>h.gP,Dk:()=>Y,r2:()=>l.r2,CQ:()=>l.CQ,Nd:()=>u.N,Jr:()=>l.Jr,h_:()=>l.h_,Kx:()=>m.Kx,oc:()=>h.oc,pi:()=>l.pi,Mp:()=>h.Mp,ol:()=>x.ol,qG:()=>l.qG,zv:()=>x.zv,KY:()=>l.KY,Yu:()=>p.Yu,Vl:()=>h.Vl,ji:()=>v.ji,Jy:()=>T,yn:()=>a.yn,Xd:()=>l.Xd,m6:()=>h.m6,E1:()=>a.E1,Ge:()=>l.Ge,PD:()=>x.PD,Jw:()=>x.Jw,Ze:()=>h.Ze,zA:()=>h.zA,Jl:()=>l.Jl,T4:()=>m.T4,RE:()=>c.RE,kb:()=>v.kb,xd:()=>d.x,uG:()=>m.uG,Yz:()=>l.Yz,e1:()=>h.e1,TF:()=>v.TF,$h:()=>l.$h});var l=o(40829),n=o(42219),a=o(46724),r=o(32799),i=o(83339),s=o(86960),d=o(52968),u=o(62248),c=o(46776),p=o(14187),m=o(32444),h=o(2490),x=o(66110),v=o(29558),_=o(71178);function f(e,t,o){var l;let{block:n,isReadPretty:a=e=>{let{form:t}=e;return t.readPretty},filter:r=()=>!0,getInitializerItem:i=()=>({}),getSchema:s=()=>({})}=e,{collectionManager:d,collection:u,dataSourceManager:c,actionContext:p}=o,m=null==(l=p.fieldSchema)?void 0:l["x-action"];return u?t.map(e=>{let t=d.getCollection(e.target),l=c.collectionFieldInterfaceManager.getFieldInterface(e.interface);return{collectionField:e,context:{...o,targetCollection:t,collectionFieldInterface:l}}}).filter(e=>{let{collectionField:t}=e;return t.interface}).filter(e=>{let{collectionField:t,context:o}=e;return r(t,o)}).map(e=>{var t,o;let{collectionField:l,context:n}=e,a={type:"string",title:(null==l||null==(t=l.uiSchema)?void 0:t.title)||l.name,name:l.name,"x-component":"CollectionField","x-collection-field":`${u.name}.${l.name}`,"x-read-pretty":null==l||null==(o=l.uiSchema)?void 0:o["x-read-pretty"]},r=s(l,{...n,defaultSchema:a}),i={...a,...r||{}};return{collectionField:l,schema:i,context:{...n,schema:i}}}).map(e=>{var t;let{collectionField:o,context:l}=e,r={type:"item",name:o.name,title:(null==o||null==(t=o.uiSchema)?void 0:t.title)||o.name,Component:"CollectionFieldInitializer",schemaInitialize:e=>{var t,r;null==(r=l.collectionFieldInterface)||null==(t=r.schemaInitialize)||t.call(r,e,{field:o,block:n,readPretty:null==a?void 0:a(l),action:m,targetCollection:l.targetCollection})},schema:l.schema};return{collectionField:o,context:l,defaultInitializerItem:r}}).map(e=>{let{collectionField:t,defaultInitializerItem:o,context:l}=e,n=i(t,{...l,defaultInitializerItem:o});return{...o,...n||{}}}):[]}o(51649);var g=o(56920),b=o(77843),y=o(49621),S=o(23460),k=o(78562),C=o(26174),M=o(14669),w=o(82924);function F(){let{t:e}=(0,b.useTranslation)(),t=(0,y.Ge)(),o=(0,M.m6)(),l=(0,k.D5)(),n=(0,S.xw)(),a=(0,g.useForm)(),r=(0,g.useFieldSchema)(),i=(0,C.r2)();return{t:e,compile:(0,w.lum)(),actionContext:l,fieldSchema:r,collection:t,dataSource:n,form:a,collectionManager:i,dataSourceManager:o}}var P=o(96023);let j=e=>{let t=F(),{t:o,collection:l}=t,n=f(e,l.getFields(),t);return(0,_.jsx)(P.G0,{title:o("Display fields"),children:n})},A=e=>{let t=F(),{collection:o,t:l,collectionManager:n}=t,a=o.getParentCollectionsName();if(!a.length)return null;let r=a.map(e=>{let t=o.getParentCollectionFields(e);return 0===t.length?null:{parentCollection:n.getCollection(e),parentCollectionFields:t}}).filter(Boolean).map(o=>{let{parentCollection:n,parentCollectionFields:a}=o,r={...t,collection:n};return{type:"itemGroup",divider:!0,title:l("Parent collection fields")+"("+t.compile(n.title)+")",children:f(e,a,r)}});return(0,_.jsx)(P.ZI,{children:r})},I=e=>{let{filterAssociationField:t,filterSelfField:o=()=>!0,getSchema:l,...n}=e,{collection:a,t:r,collectionManager:i}=e.context,s=a.getFields(),d=["o2o","oho","obo","m2o"],u=s.filter(e=>d.includes(e.interface)).filter(t=>o(t,e.context));if(!u.length)return null;let c=u.map(e=>{let t=i.getCollection(e.target);if(!t)return null;let o=null==t?void 0:t.getAllFields();return o.length?{associationField:e,associationCollection:t,associationCollectionFields:o}:null}).filter(Boolean).map(o=>{var r,i;let{associationField:s,associationCollection:d,associationCollectionFields:u}=o,c={...e.context,collection:d};return{type:"subMenu",name:null==(r=s.uiSchema)?void 0:r.title,title:null==(i=s.uiSchema)?void 0:i.title,children:f({...n,filter:t,getSchema:(e,t)=>({...l(e,t)||{},"x-read-pretty":!0,name:`${s.name}.${e.name}`,"x-collection-field":`${a.name}.${s.name}.${e.name}`})},u,c)}});return c.length?(0,_.jsx)(P.G0,{title:r("Display association fields"),children:c}):null},T=e=>{let{selfField:t,parentField:o,associationField:l,block:n}=e,a=F();return a.collection?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(j,{block:n,...t,context:{...a,collection:a.collection}}),o&&(0,_.jsx)(A,{block:n,...o,context:{...a,collection:a.collection}}),l&&(0,_.jsx)(I,{block:n,...l,context:{...a,collection:a.collection}})]}):null};var D=o(81936);let L=(e,t,o)=>{let l=(0,D.Rg)(e,"x-component","Kanban");return(0,D.Rg)(l,t,o)},Y=e=>{let t=(null==e?void 0:e.block)||"Form",o={"x-toolbar":"FormItemSchemaToolbar","x-settings":"fieldSettings:FormItem","x-decorator":"FormItem"},l={remove:D.AZ};return(0,_.jsx)(T,{block:t,selfField:{filter:e=>!e.treeChildren,getSchema:(e,t)=>{var l,n;let{targetCollection:a}=t,r=(null==a?void 0:a.template)==="file",i=null==e||null==(n=e.uiSchema)||null==(l=n["x-component-props"])?void 0:l.fieldNames;return{...o,"x-component-props":r?{fieldNames:{label:"preview",value:"id"}}:a&&i?{fieldNames:{...i,label:(null==a?void 0:a.titleField)||i.label}}:{}}},getInitializerItem:()=>({...l,find:(null==e?void 0:e.block)==="Kanban"?L:void 0})},parentField:{getSchema:()=>o,getInitializerItem:()=>l},associationField:{filterSelfField:e=>"Form"!==t||(null==e?void 0:e.interface)==="m2o",filterAssociationField:e=>(null==e?void 0:e.interface)&&!["subTable"].includes(null==e?void 0:e.interface)&&!e.treeChildren,getSchema:()=>o,getInitializerItem:()=>l}})},R=["attachment","textarea","markdown","json","richText","polygon","circle","point","lineString"],B=e=>{function t(e){let{fieldSchema:t,form:o}=e;return"AssociationField.SubTable"!==t["x-component"]||o.readPretty}return(0,_.jsx)(T,{block:"Table",selfField:{isReadPretty:t,filter:e=>"subTable"!==e.interface&&!e.treeChildren,getSchema:(e,o)=>{var l,n;let{targetCollection:a,fieldSchema:r,form:i}=o,s=(null==a?void 0:a.template)==="file",d=(null==(l=e.uiSchema)?void 0:l["x-component"])==="Preview",u="AssociationField.SubTable"===r["x-component"];return{"x-component-props":s?{fieldNames:{label:"preview",value:"id"}}:d?{size:"small"}:{},"x-read-pretty":t({fieldSchema:r,form:i})||(null==(n=e.uiSchema)?void 0:n["x-read-pretty"]),"x-decorator":u?R.includes(e.interface)||s?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({find:D.Oo,remove:D.nt})},parentField:{isReadPretty:t,getSchema(e,o){var l;let{targetCollection:n,fieldSchema:a,form:r}=o,i=(null==n?void 0:n.template)==="file",s="AssociationField.SubTable"===a["x-component"];return{"x-component-props":i?{fieldNames:{label:"preview",value:"id"}}:{},"x-read-pretty":t({fieldSchema:a,form:r})||(null==(l=e.uiSchema)?void 0:l["x-read-pretty"]),"x-decorator":s?R.includes(e.interface)||i?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({remove:D.AZ})},associationField:{filterAssociationField:e=>!["subTable"].includes(e.interface)&&!e.treeChildren,getSchema:()=>({}),getInitializerItem:()=>({find:D.Oo,remove:D.nt})}})};var N=o(92719)},29558(e,t,o){o.d(t,{TF:()=>i,ji:()=>r,kb:()=>s});var l=o(51649),n=o(67574);let a="x-data-source",r=(e,t)=>{var o;return null==(o=e.collectionFieldInterfaceManager.getFieldInterface(t.interface))?void 0:o.titleUsable},i=e=>(0,l.useMemo)(()=>{if(e&&e!==n.Ze)return{[a]:e}},[e]),s=e=>e&&e!==n.Ze?{[a]:e}:{}},50255(e,t,o){o.d(t,{L2:()=>m,er:()=>p,pf:()=>d,rN:()=>c,to:()=>s,vB:()=>u});var l=o(71178),n=o(51649),a=o(83468),r=o(86393),i=o(504);let s=(0,n.createContext)({getTitle:()=>"",setTitle:()=>{}});s.displayName="DocumentTitleContext";let d=n.default.memo(e=>{let{addonBefore:t,addonAfter:o}=e,a=(0,i.useFlowEngineContext)(),r=a.t.bind(a),d=e=>a.t(e,{ns:"lm-desktop-routes"}),u=e=>a.t(e,{ns:"lm-collections"}),c=n.default.useRef(""),p=(0,n.useCallback)(()=>c.current,[]),m=(0,n.useCallback)(e=>{setTimeout(()=>{document.title=c.current=`${t?` - ${r(t)}`:""}${d(e||"")}${o?` - ${u(o)}`:""}`})},[o,t,r,d,u]),h=(0,n.useMemo)(()=>({getTitle:p,setTitle:m}),[p,m]);return(0,l.jsx)(s.Provider,{value:h,children:e.children})});d.displayName="DocumentTitleProvider";let u=e=>{var t,o;let n=(0,r.e6)();return(0,l.jsx)(d,{addonAfter:null==n||null==(o=n.data)||null==(t=o.data)?void 0:t.title,children:e.children})},c=()=>(0,n.useContext)(s),p=e=>{let{setTitle:t}=c();(0,n.useEffect)(()=>{t(e)},[t,e])};class m extends a.k{async load(){this.app.use(u,this.options)}}},11482(e,t,o){o.d(t,{$3:()=>h,Pt:()=>x,xZ:()=>v});var l=o(71178),n=o(56920),a=o(77583),r=o(49621),i=o(14187),s=o(43873),d=o(82924),u=o(58980),c=o(51649),p=o(50570);let m=(0,c.createContext)(null);m.displayName="FilterContext";let h=c.default.memo(e=>{let{children:t}=e,o=c.default.useRef([]),n=(0,c.useCallback)(e=>{"function"==typeof e?o.current=e(o.current):o.current=e},[]),a=(0,c.useCallback)(()=>o.current,[]),r=(0,c.useMemo)(()=>({getDataBlocks:a,setDataBlocks:n}),[a,n]);return(0,l.jsx)(m.Provider,{value:r,children:t})});h.displayName="FilterBlockProvider";let x=e=>{let{children:t,params:o}=e,a=(0,r.Ge)(),{recordDataBlocks:p}=v(),{getDataBlockRequest:m}=(0,i.ZK)(),h=(0,n.useField)(),x=(0,n.useFieldSchema)(),_=(0,u.ze)(),f=(0,c.useRef)(null),g=(0,s.fY)(),b=h&&"FilterFormBlockProvider"!==h.decoratorType&&"FormBlockProvider"!==h.decoratorType&&"filter"!==h.decoratorProps.blockType,y=(0,c.useCallback)(()=>{let e=m();p({uid:x["x-uid"],title:h.componentProps.title,doFilter:e.runAsync,collection:a,associatedFields:_,foreignKeyFields:null==a?void 0:a.getFields("isForeignKey"),defaultFilter:(null==o?void 0:o.filter)||{},service:e,dom:f.current,dataLoadingMode:g,clearFilter(e){var t,l,n;let a=(null==(t=this.service.params)?void 0:t[0])||{},r=(null==(n=this.service.params)||null==(l=n[1])?void 0:l.filters)||{};delete r[e];let i=(0,u.Dj)([...Object.values(r).map(e=>(0,d.pA3)(e)),(null==o?void 0:o.filter)||{}]);this.service.run({...a,page:1,filter:i},{filters:r})},clearData(){this.service.mutate(void 0)},clearSelection(){if(h){var e,t;null==(t=h.data)||null==(e=t.clearSelectedRowKeys)||e.call(t)}},highlightBlock(){var e;let t=f.current;if(!t)return;let o=t.querySelector(".ant-nb-schema-toolbar");o&&o.classList.remove("hidden"),t.style.boxShadow="0 3px 12px rgba(0, 0, 0, 0.15)",t.style.transition="box-shadow 0.3s ease, transform 0.2s ease",null==(e=t.scrollIntoView)||e.call(t,{behavior:"smooth",block:"start"})},unhighlightBlock(){let e=f.current;if(!e)return;let t=e.querySelector(".ant-nb-schema-toolbar");t&&t.classList.add("hidden"),e.style.boxShadow="none",e.style.transition="box-shadow 0.3s ease, transform 0.2s ease"}})},[_,a,g,x,null==o?void 0:o.filter,p,m,h]);return(0,c.useEffect)(()=>{b&&y()},[y,b]),(0,l.jsx)("div",{ref:f,children:t})},v=()=>{let e=c.default.useContext(m),t=(0,p.dW)(),o=(0,c.useCallback)(()=>(null==e?void 0:e.getDataBlocks())||[],[e]),l=(0,c.useCallback)(o=>{t.recordDataBlocks(o);let l=null==e?void 0:e.getDataBlocks().find(e=>e.uid===o.uid);l?Object.assign(l,o):null==e||e.setDataBlocks(e=>[...e,o])},[e]),n=(0,c.useCallback)(o=>{t.removeDataBlock(o),null!=e&&e.getDataBlocks().every(e=>e.uid!==o)||null==e||e.setDataBlocks(e=>e.filter(e=>e.uid!==o))},[e]);return e?{recordDataBlocks:l,getDataBlocks:o,removeDataBlock:n,inProvider:!0}:{inProvider:!1,recordDataBlocks:a.default.noop,getDataBlocks:o,removeDataBlock:a.default.noop}}},65613(e,t,o){o.d(t,{$3:()=>l.$3,Dj:()=>n.Dj,I1:()=>n.I1,Lt:()=>n.Lt,Pt:()=>l.Pt,Rm:()=>n.Rm,SU:()=>n.SU,TQ:()=>n.TQ,Uf:()=>n.Uf,W0:()=>n.W0,eB:()=>n.eB,vc:()=>n.vc,xZ:()=>l.xZ,ze:()=>n.ze});var l=o(11482),n=o(58980)},58980(e,t,o){o.d(t,{Dj:()=>h,I1:()=>m,Lt:()=>x,Rm:()=>v,SU:()=>f,TQ:()=>y,Uf:()=>_,W0:()=>b,eB:()=>S,vc:()=>k,ze:()=>g});var l,n=o(56920),a=o(63526),r=o(77583),i=o(51649),s=o(73761),d=o(49621),u=o(14669),c=o(82924),p=o(11482),m=((l={})[l.FORM=0]="FORM",l[l.TABLE=1]="TABLE",l[l.TREE=2]="TREE",l[l.COLLAPSE=3]="COLLAPSE",l);let h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$and",o=e.filter(e=>{if(e&&"object"==typeof e&&!Array.isArray(e))return Object.values(e).filter(e=>void 0!==e).length});return 0===o.length?{}:1===o.length?o[0]:{[t]:o}},x=(e,t)=>{var o;return null==(o=t.associatedFields)?void 0:o.filter(t=>null==e?void 0:e.some(e=>e===t.target))},v=(e,t)=>{var o;return null==(o=t.foreignKeyFields)?void 0:o.filter(t=>e.fields.some(e=>"belongsTo"!==e.type&&e.foreignKey===t.name&&e.target===t.collectionName))},_=e=>{let{getDataBlocks:t}=(0,p.xZ)(),o=(0,n.useFieldSchema)(),l=(0,d.Ge)(),{getAllCollectionsInheritChain:a}=(0,u.LQ)();return 0===e||3===e?t().filter(e=>y(e.collection,l)):1===e||2===e?t().filter(e=>{var t,n;return o["x-uid"]!==e.uid&&(y(e.collection,l)||(null==(t=x(a(l.name,l.dataSource),e))?void 0:t.length)||(null==(n=v(l,e))?void 0:n.length))}):void 0},f=(e,t,o,l)=>({$and:Object.keys(e=(0,a.flatten)(e,{breakOn(e){let{value:n,path:a}=e;if(["$match","$notMatch","$anyOf","$noneOf","$childIn","$childNotIn","$dateBetween","$in","$notIn"].includes(t[a]))return!0;let r=o(`${l}.${a}`);if(["datetime","datetimeNoTz","date","unixTimestamp","createdAt","updatedAt"].includes(null==r?void 0:r.interface))return!0;if(null==r?void 0:r.target){if(Array.isArray(n))return!0;let e=r.targetKey||"id";if(n&&null!=n[e])return!0}return!1}})).map(n=>{let i=r.default.get(e,n),s=o(`${l}.${n}`);return((null==s?void 0:s.target)&&["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(s.type)&&(i=(0,a.getValuesByPath)(i,s.targetKey||"id"),n=`${n}.${s.targetKey||"id"}`,(null==s?void 0:s.interface)==="chinaRegion"&&(i=r.default.last(i))),i||0===i||!1===i)?{[n]:{[t[n]||"$eq"]:i}}:null}).filter(Boolean)}),g=()=>{var e;return(null==(e=(0,d.Ge)())?void 0:e.fields.filter(e=>b(e)))||[]},b=e=>["o2o","oho","obo","m2o","createdBy","updatedBy","o2m","m2m","linkTo","chinaRegion","mbm"].includes(null==e?void 0:e.interface),y=(e,t)=>e.name===t.name&&e.dataSource===t.dataSource,S=()=>{let e=(0,n.useFieldSchema)(),{getDataBlocks:t}=(0,p.xZ)(),{targets:o,uid:l}=(0,s.findFilterTargets)(e),a=t(),[d,u]=(0,i.useState)(()=>o&&o.some(e=>a.some(t=>t.uid===e.uid))),m=Object.keys(o||{});return(0,i.useEffect)(()=>{u(o&&o.some(e=>a.some(t=>t.uid===e.uid)))},[m.length,o,a]),{isConnected:d,doFilter:(0,i.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$eq",s=a.find(t=>t.uid===e.parent["x-uid"]);a.forEach(e=>{var a,d,u,p,m,x,v,_,f;let g,b=n,y=o.find(t=>t.uid===e.uid);if(!y)return;r.default.isFunction(t)&&(t=t(y,e,(m=s,x=y.field,(null==(g=null==m||null==(v=m.associatedFields)?void 0:v.find(e=>e.foreignKey===x))?void 0:g.sourceKey)||(null==x||null==(f=x.split)||null==(_=f.call(x,"."))?void 0:_[1])))),r.default.isFunction(n)&&(b=n(y,e)),r.default.isFunction(i)&&(i=i(y));let S=(null==(a=e.service.params)?void 0:a[0])||{},k=(null==(u=e.service.params)||null==(d=u[1])?void 0:d.filters)||{};if(null!=t)k[l]={$and:[{[b]:{[i]:t}}]};else if(null==(p=e.clearSelection)||p.call(e),delete k[l],"manual"===e.dataLoadingMode)return e.clearData();let C=h([...Object.values(k).map(e=>(0,c.pA3)(e)),e.defaultFilter]);e.doFilter({...S,page:1,filter:C},{filters:k})})},[a,o,l,e])}},k=e=>{for(;e;){if(e["x-filter-targets"])return"FilterFormBlockProvider"===e["x-decorator"];e=e.parent}return!1}},4658(e,t,o){o.d(t,{I:()=>n,U:()=>a});var l=o(71178);let n=o(51649).default.createContext(null),a=e=>(0,l.jsx)(n.Provider,{value:e,children:e.children})},92619(e,t,o){o.d(t,{_:()=>a});var l=o(51649),n=o(4658);let a=()=>(0,l.useContext)(n.I)||{}},69575(e,t,o){o.d(t,{Im:()=>l.I,UU:()=>l.U,_P:()=>n._});var l=o(4658),n=o(92619)},30644(e,t,o){o.d(t,{ZC:()=>C,E0:()=>y,cQ:()=>S,dw:()=>A,Tu:()=>M,Bs:()=>P,IC:()=>j,o8:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(77583),s=o(51649),d=o(26174),u=o(49621),c=o(93726),p=o(67285),m=o(61013);let h=e=>{var t;let o,r,i=(0,s.useContext)(n.SchemaComponentsContext),d=e.field,u=((e,t)=>{if((e||t)&&!(0,a.isFn)(e))return(0,l.jsxs)(s.Fragment,{children:[e,t]})})((o=e.children,r=d.form,(0,a.isFn)(o)?o(d,r):o),d.content??d.componentProps.children);if("visible"!==d.display)return null;let c=e=>e&&("object"==typeof e||"function"==typeof e)?e:a.FormPath.getIn(i,e)??e;return t=d.componentType?s.default.createElement(c(d.componentType),{...d.componentProps,value:d.value},u):u,d.decoratorType?s.default.createElement(c(d.decoratorType),d.decoratorProps,t):(0,l.jsx)(s.Fragment,{children:t})};h.displayName="NocoBaseReactiveInternal",h.displayName="NocoBaseReactiveField";class x{initialize(){var e,t,o,l,n,r,s,d,u,c,p,m,h,x,v,_,f,g,b,y;let S=this.props.compile;this.pattern="readPretty",this.readPretty=!0,this.initialized=!0,this.loading=!1,this.validating=!1,this.submitting=!1,this.selfModified=!1,this.active=!1,this.visited=!0,this.mounted=!0,this.unmounted=!1,this.inputValues=[],this.inputValue=null,this.feedbacks=[],this.title=S(this.props.title||(null==(e=this.props.schema)?void 0:e.title)),this.description=S(this.props.description||(null==(t=this.props.schema)?void 0:t.description)),this.display="visible",this.editable=this.props.editable||(null==(o=this.props.schema)?void 0:o["x-editable"]),this.disabled=this.props.disabled||(null==(l=this.props.schema)?void 0:l["x-disabled"]),this.readOnly=this.props.readOnly||(null==(n=this.props.schema)?void 0:n["x-read-only"]),this.visible=this.props.visible||(null==(r=this.props.schema)?void 0:r["x-visible"]),this.hidden=this.props.hidden||(null==(s=this.props.schema)?void 0:s["x-hidden"]),this.dataSource=S(this.props.dataSource||(null==(d=this.props.schema)?void 0:d.enum)),this.validator=this.props.validator,this.required=this.props.required||!!(null==(u=this.props.schema)?void 0:u.required),this.content=S(this.props.content||(null==(c=this.props.schema)?void 0:c["x-content"])),this.initialValue=S(this.props.initialValue||(null==(p=this.props.schema)?void 0:p.default)),this.value=S(this.props.value),this.data=this.props.data||(null==(m=this.props.schema)?void 0:m["x-data"]),this.decorator=this.props.decorator?(0,a.toArr)(this.props.decorator):[null==(h=this.props.schema)?void 0:h["x-decorator"],null==(x=this.props.schema)?void 0:x["x-decorator-props"]],this.component=this.props.component?(0,a.toArr)(this.props.component):[null==(v=this.props.schema)?void 0:v["x-component"],null==(_=this.props.schema)?void 0:_["x-component-props"]],this.decoratorProps=(null==(f=this.props.schema)?void 0:f["x-decorator-props"])||{},this.componentProps=(null==(g=this.props.schema)?void 0:g["x-component-props"])||{},this.decoratorType=null==(b=this.props.schema)?void 0:b["x-decorator"],this.componentType=null==(y=this.props.schema)?void 0:y["x-component"],this.path={},this.form={},this.address={concat:i.default.noop}}constructor(e){this.props=e,this.initialize()}}let v=e=>{let t=(0,m.l)(),o=(0,n.useFieldSchema)(),a=(0,s.useMemo)(()=>new x({...e,compile:t}),[]);return Object.assign(a.componentProps,o["x-component-props"]),a.value=e.value,(0,l.jsx)(n.FieldContext.Provider,{value:a,children:(0,l.jsx)(h,{field:a,children:e.children})})},_=s.default.createContext({}),f=s.default.createContext(i.default.noop),g=e=>{let{children:t,refresh:o}=e,n=k(),a=(0,s.useCallback)(e=>{o(),(null==e?void 0:e.refreshParentSchema)&&(null==n||n())},[n,o]);return(0,l.jsx)(f.Provider,{value:a,children:t})},b=s.default.createContext(i.default.noop),y=e=>{let{children:t,refresh:o}=e;return(0,l.jsx)(b.Provider,{value:o,children:t})},S=()=>s.default.useContext(b),k=()=>s.default.useContext(f),C=()=>s.default.useContext(_)||{},M=e=>{let{children:t,fieldSchema:o}=e,n=(0,u.Ge)(),a=(0,d.r2)(),r=null==o?void 0:o.name,i=(0,s.useMemo)(()=>{var e;if(!n)return null;let t=null==o||null==(e=o["x-component-props"])?void 0:e.field;return a.getCollectionField(null==o?void 0:o["x-collection-field"])||t||n.getField((null==t?void 0:t.name)||r)},[n,a,o,r]);return(0,l.jsx)(_.Provider,{value:i,children:t})},w=i.default.memoize((e,t)=>e.toFieldProps({scope:t})),F=(e,t,o)=>{let l=e.toJSON();if(o){if(!l.properties)return e;let o=Object.keys(l.properties)[0],r=Object.values(l.properties)[0];return l.properties[o]=(0,a.merge)(i.default.omit(t,"type","x-read-pretty"),r),new n.Schema(l)}return new n.Schema((0,a.merge)(i.default.omit(t,"type","x-read-pretty"),l))},P=s.default.createContext(!1),j=()=>s.default.useContext(P),A=s.default.memo(e=>{let{schema:t,name:o,onlyRenderProperties:d,onlyRenderSelf:u,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b=!0,uiSchema:y,parentSchema:S}=e,k=(e=>{let t=(0,n.useField)();if(e.onlyRenderProperties){var o;return e.basePath||(null==t||null==(o=t.address)?void 0:o.concat(e.name))}return e.basePath||(null==t?void 0:t.address)})(e),j=(0,s.useRef)(null),I=(0,s.useMemo)(()=>(j.current=null,new n.Schema(t)),[t]),{uiSchema:T,defaultValue:D}=C(),L=(0,r.useUpdate)(),{onChange:Y}=(0,s.useContext)(c.D),R=j.current||I;if(!R.parent&&S){var B,N;R.parent=S,(null==(N=R.parent)||null==(B=N.properties)?void 0:B[R.name])||!R.name||i.default.set(R.parent,`properties.${R.name}`,R)}let E=(0,s.useCallback)(()=>{let e=R.parent;j.current=new n.Schema(R.toJSON(),e),(null==e?void 0:e.properties)&&Object.keys(e.properties).forEach(t=>{t===R.name&&(e.properties[t]=j.current)}),L(),null==Y||Y()},[R,Y,L]),$=(0,s.useMemo)(()=>y?F(R,y,d):T?(T.default=D,F(R,T,d)):R,[T,D,R,d,y]),z=w($,(0,n.useExpressionScope)()),O=e=>{if(!u)return(e=>{let{schema:t,field:o,basePath:r,mapProperties:d,filterProperties:u,propsRecursion:c,values:m,isUseFormilyField:h}=e,x=n.Schema.getOrderProperties(t);return x.length?(0,l.jsx)(s.Fragment,{children:x.map((e,t)=>{let{schema:n,key:s}=e,x=(null==o?void 0:o.address)||r,v=n;if((0,a.isFn)(d)){let e=d(n,s);e&&(v=e)}if((0,a.isFn)(u)&&!1===u(v,s))return null;let f=(0,a.isBool)(c)&&c?(0,l.jsx)(A,{propsRecursion:!0,filterProperties:u,mapProperties:d,schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h}):(0,l.jsx)(A,{schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h});return"CollectionField"===v["x-component"]?(0,l.jsx)(P.Provider,{value:!0,children:(0,l.jsx)(M,{fieldSchema:v,children:f})},`${t}-${s}`):(0,l.jsx)(P.Provider,{value:!1,children:(0,l.jsx)(_.Provider,{value:p.M,children:f})},`${t}-${s}`)})}):null})({schema:R,field:e,basePath:k,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b})};return R?(0,l.jsx)(n.SchemaContext.Provider,{value:R,children:(0,l.jsx)(g,{refresh:E,children:(0,a.isValid)(o)?"object"===$.type?d?O():(0,l.jsx)(n.ObjectField,{...z,name:o,basePath:k,children:O}):"array"===$.type?(0,l.jsx)(n.ArrayField,{...z,name:o,basePath:k}):"void"===$.type?d?O():(0,l.jsx)(n.VoidField,{...z,name:o,basePath:k,children:O}):b?(0,l.jsx)(n.Field,{...z,name:o,basePath:k}):(0,l.jsx)(v,{name:o,value:f,initialValue:f,basePath:k,schema:$}):O()})}):(0,l.jsx)(s.Fragment,{})});A.displayName="NocoBaseRecursionField"},79980(e,t,o){o.d(t,{Ne:()=>l.compatOldTheme,Og:()=>l.AntdAppProvider,U_:()=>l.GlobalThemeProvider,_l:()=>l.addCustomAlgorithmToTheme,my:()=>l.useGlobalTheme,zQ:()=>l.defaultTheme,ze:()=>l.customAlgorithm});var l=o(13975)},80461(e,t,o){o.d(t,{S:()=>c,T:()=>p});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(52793),s=o(95951);let d=()=>void 0,u=(e,t,o)=>{let l;return a.default.isFunction(e)?l=e:(l=t[e])||console.error(`${o} is not registered`),l||d};function c(e,t){return((e,t)=>{let o;if(!e)return d;if(a.default.isFunction(e))return e;for(let l of e.split("."))o=u(l,o||t,e);return o})(e,(0,n.useExpressionScope)())(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.displayName||e.displayName||e.name,n=t=>{let{dn:o,findComponent:a}=(0,s.er)(),d=c((0,r.useMemo)(()=>{let e=o.getSchemaAttribute("x-component"),t=o.getSchemaAttribute("x-decorator"),l=o.getSchemaAttribute("x-use-component-props"),r=o.getSchemaAttribute("x-use-decorator-props");return e&&l&&a(e)===n?l:t&&r&&a(t)===n?r:void 0},[o]),t),u=(0,r.useMemo)(()=>({...t,...d}),[d,t]);return(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(i.Spin,{}),children:(0,l.jsx)(e,{...u,children:t.children})})};return e.displayName=o,n.displayName=`withSchemaProps(${o})`,n}},99847(e,t,o){o.d(t,{t:()=>s});var l=o(71178),n=o(52793),a=o(14187),r=o(51649);let i=()=>{var e;return!!(null==(e=(0,a._J)())?void 0:e.loading)},s=(e,t)=>{let{useLoading:o=i,displayName:a,SkeletonComponent:s=n.Skeleton}=t||{},d=r.default.memo(t=>{let n=o(),a=(0,r.useRef)(!1),i=(0,r.useDeferredValue)(n);return!a.current&&i?(0,l.jsx)(s,{}):(a.current=!0,(0,l.jsx)(e,{...t}))});return d.displayName=a||`${e.displayName}(withSkeletonComponent)`||`${e.name}(withSkeletonComponent)`,d}},7775(e,t,o){o.d(t,{L:()=>i});var l=o(71178);o(51649);var n=o(52793),a=o(82113);let r={display:"flex",alignItems:"center",gap:4},i=e=>t=>{let{tooltip:o}=t;return o?(0,l.jsxs)("div",{style:r,children:[(0,l.jsx)(e,{...t}),(0,l.jsx)(n.Tooltip,{title:o,children:(0,l.jsx)(a.QuestionCircleOutlined,{style:{zIndex:1}})})]}):(0,l.jsx)(e,{...t})}},18226(e,t,o){o.d(t,{w:()=>l,k:()=>a});let l=()=>"nocobase-admin-menu";var n=o(51649);function a(){let e,t,{metaRef:o,restore:l}=(e=(0,n.useRef)("initial-scale=0.1"),t=(0,n.useRef)(),(0,n.useEffect)(()=>{let o=document.querySelector('meta[name="viewport"]');o?e.current=o.content:(o=document.createElement("meta")).name="viewport",o&&(o.content="width=device-width, initial-scale=1, user-scalable=0",t.current=o)},[]),{metaRef:t,restore:()=>{t.current&&(t.current.content=e.current)}});(0,n.useEffect)(()=>{if(o.current)return document.head.insertBefore(o.current,document.head.firstChild),()=>{l()}},[])}},33750(e,t,o){o.d(t,{Os:()=>u,co:()=>s,re:()=>d});var l=o(71178),n=o(77583),a=o(51649);let r=(0,a.createContext)(null);r.displayName="GetMenuItemContext";let i=(0,a.createContext)(null);i.displayName="GetMenuItemsContext";let s=()=>(0,a.useContext)(r)||{},d=()=>(0,a.useContext)(i)||{},u=()=>{let e=(0,a.useRef)([]),t=(0,a.useRef)(null),o=(0,a.useRef)(!1),s=(0,a.useCallback)(n=>{let{limitCount:a}=n;return o.current?(o.current=!1,t.current)?t.current():a&&e.current.length>a?(0,l.jsx)(l.Fragment,{children:e.current.slice(0,a).map((e,t)=>(0,l.jsx)(e,{},t))}):(0,l.jsx)(l.Fragment,{children:e.current.map((e,t)=>(0,l.jsx)(e,{},t))}):null},[]),d=(0,a.useCallback)(e=>{let a=[],r=e=>{a.push(e),a.sort((e,t)=>(e.order||0)-(t.order||0))};return o.current=!0,t.current=()=>{let t=a.filter(e=>e.notdelete).map(e=>n.default.omit(e,"notdelete"));return a.length=0,a.push(...t),(0,l.jsx)(i.Provider,{value:{pushMenuItem:r},children:e()})},a},[]);return{Component:s,getMenuItems:d,getMenuItem:(0,a.useCallback)(t=>{let n={},a=e=>{Object.assign(n,e)};return o.current=!0,e.current.push(()=>(0,l.jsx)(r.Provider,{value:{collectMenuItem:a},children:t()})),n},[]),clean:(0,a.useCallback)(()=>{e.current=[]},[])}}},60070(e,t,o){o.d(t,{J:()=>i});var l=o(51649),n=o(43923),a=o(99300);let{evaluate:r}=o(83489).evaluators.get("formula.js"),i=e=>{let t=(0,n.$l)(),o=(0,n.gp)(),[i,s]=(0,l.useState)();return(0,l.useEffect)(()=>{(async()=>{if(null==e||""===e)return s(void 0);let{exp:l,scope:n}=await (0,a.qk)(e,{variables:t,localVariables:o});try{let e=r(l,{now:()=>new Date().toString(),...n});s(e)}catch(e){console.error(e)}})()},[t.parseVariable,e,o]),i}},24943(e,t,o){o.d(t,{r:()=>d});var l=o(71178),n=o(82113),a=o(52793);o(51649);var r=o(16211),i=o(28601),s=o(86393);function d(){var e,t,o;let{data:d}=(0,s.e6)()||{},u=(0,r.VB)();return(null==d||null==(e=d.data)?void 0:e.enabledLanguages.length)>1&&(0,l.jsx)(a.Dropdown,{menu:{onClick(e){u.auth.setLocale(e.key),window.location.reload()},selectable:!0,defaultSelectedKeys:[u.auth.locale],items:null==d||null==(o=d.data)||null==(t=o.enabledLanguages)?void 0:t.filter(e=>i.Ay[e]).map(e=>({key:e,label:i.Ay[e].label}))},children:(0,l.jsx)(n.TranslationOutlined,{style:{fontSize:24}})})}},839(e,t,o){o.d(t,{z:()=>l});let l="ui-schema-storage"},7271(e,t,o){o.d(t,{Ru:()=>i,ul:()=>r,zg:()=>d.z});var l=o(23977),n=o(77843),a=o(28601);function r(e,t){return t?`{{t(${JSON.stringify(e)}, ${JSON.stringify(t)})}}`:`{{t(${JSON.stringify(e)})}}`}let i=l.default.createInstance(),s={};Object.keys(a.Ay).forEach(e=>{s[e]=a.Ay[e].resources}),i.use(n.initReactI18next).init({lng:"en-US",defaultNS:"client",resources:{},keySeparator:!1,nsSeparator:!1});var d=o(839)},37679(e,t,o){let l;o.d(t,{In:()=>u,K1:()=>d,Pt:()=>r,cE:()=>s,pU:()=>i});var n=o(71178),a=o(82113);o(51649);let r=new Map;function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;r.set(e.toLowerCase(),t)}function s(e){return!!e&&r.has(e.toLowerCase())}function d(e){Object.keys(e).forEach(t=>{i(t,e[t])})}Object.keys(a).forEach(e=>{i(e,a[e])});let u=e=>{let{type:t="",component:o,...i}=e;if(o)return(0,n.jsx)(a.default,{component:o,...i});if(t&&r.has(t.toLowerCase())){let e=r.get(t.toLowerCase());return(0,n.jsx)(e,{...i})}return t&&l?(0,n.jsx)(l,{type:t}):null};u.createFromIconfontCN=e=>{l=(0,a.createFromIconfontCN)(e)},u.register=e=>{d(e)}},60430(e,t,o){o.d(t,{In:()=>l.In,K1:()=>l.K1,Pt:()=>l.Pt,cE:()=>l.cE,pU:()=>l.pU});var l=o(37679)},44374(e,t,o){o.r(t),o.d(t,{ACLActionParamsContext:()=>r.gU,ACLActionProvider:()=>r.aK,ACLCollectionFieldProvider:()=>r.mu,ACLCollectionProvider:()=>r.yb,ACLContext:()=>r.w0,ACLCustomContext:()=>r.j,ACLMenuItemProvider:()=>r.Ik,ACLPane:()=>r.tA,ACLPlugin:()=>r.gt,ACLProvider:()=>r.AY,ACLRolesCheckProvider:()=>r.rR,ADMIN_SETTINGS_KEY:()=>u.w$,ADMIN_SETTINGS_PATH:()=>u.wq,AIManager:()=>ec._T,APIClient:()=>s.Q9,APIClientContext:()=>s.j8,APIClientProvider:()=>s.nd,AccessControl:()=>B.kx,Action:()=>D.rcl,ActionBar:()=>D.E76,ActionBarAssociationFilterAction:()=>Y.pB,ActionBarProvider:()=>D.xqq,ActionContext:()=>D.yVm,ActionContextNoRerender:()=>D.Wis,ActionContextProvider:()=>D.z45,ActionDesigner:()=>D.U6o,ActionGroupModel:()=>a.ActionGroupModel,ActionInitializer:()=>Y.LF,ActionInitializerItem:()=>Y.E2,ActionModel:()=>a.ActionModel,ActionSceneEnum:()=>a.ActionSceneEnum,ActionType:()=>B.X2,AddCollection:()=>h.qS,AddCollectionAction:()=>h.IE,AddCollectionField:()=>h.qQ,AddFieldAction:()=>h.g,AddNewActionModel:()=>a.AddNewActionModel,AddSubFieldAction:()=>h.w3,AdminDynamicPage:()=>T.Y4,AdminLayout:()=>T.Ui,AdminLayoutMenuItemModel:()=>T.xF,AdminLayoutPlugin:()=>T.NC,AdminProvider:()=>T.X7,AdminSettingsLayout:()=>j.dj,AdminSettingsLayoutModel:()=>j.C_,AfterSuccess:()=>D.Kql,AllDataBlocksContext:()=>D.rrz,AllDataBlocksProvider:()=>D.J3t,AntdAppProvider:()=>y.Og,AntdConfigPlugin:()=>i.j,AntdConfigProvider:()=>i.Rk,AntdSchemaComponentPlugin:()=>D.bkX,AntdSchemaComponentProvider:()=>D.TDj,AppLangContext:()=>i.P4,AppNotFound:()=>x.bM,AppendsTreeSelect:()=>D.m$h,Application:()=>u.lg,ApplicationContext:()=>u.gD,AssignFormModel:()=>a.AssignFormModel,AssignedFieldValues:()=>D.TB2,AssociatedFields:()=>Y.Ag,AssociationField:()=>D.m2w,AssociationFieldMode:()=>D.Bnf,AssociationFieldModeProvider:()=>D.o8F,AssociationFilter:()=>Y.AO,AssociationFilterDesignerDelete:()=>Y.um,AssociationFilterDesignerDisplayField:()=>Y.xc,AssociationFilterPlugin:()=>Y.PB,AssociationOrCollectionProvider:()=>_.uG,AssociationProvider:()=>_.$z,AssociationSelect:()=>D.i_F,AsyncDataContext:()=>c.IC,AsyncDataProvider:()=>c.Gd,AttachmentList:()=>D._sT,AutoComplete:()=>D.j9R,BackButtonUsedInSubPage:()=>D.hsK,BaseVariableProvider:()=>B.jr,BlankComponent:()=>u.ct,Block:()=>D.eBw,BlockAssociationContext:()=>m.qM,BlockConfigsContext:()=>p.U1,BlockConfigsProvider:()=>p.AZ,BlockContext:()=>m.zL,BlockGridModel:()=>a.BlockGridModel,BlockInitializer:()=>Y.yl,BlockItem:()=>D.Z0V,BlockItemCard:()=>D.tn0,BlockItemCardContext:()=>D.AQf,BlockItemInitializer:()=>Y.z6,BlockModel:()=>a.BlockModel,BlockProvider:()=>m.VL,BlockRequestContextProvider:()=>_.NB,BlockRequestContext_deprecated:()=>m.cM,BlockRequestLoadingContext:()=>_.OO,BlockRequestProvider:()=>_.Yu,BlockRequestProvider_deprecated:()=>m.ge,BlockResourceContext:()=>m.fh,BlockSceneEnum:()=>a.BlockSceneEnum,BlockSchemaComponentPlugin:()=>m.tv,BlockSchemaComponentProvider:()=>m.hS,BlockSchemaToolbar:()=>W.C,BlockTemplateContext:()=>N.V5,BlockTemplateDetails:()=>N.YU,BlockTemplatePage:()=>N.BZ,BlockTemplateProvider:()=>N.XZ,BlockTemplatesPane:()=>N.NV,BlocksSelector:()=>D.Gjn,ButtonEditor:()=>D.Ypd,CSSVariableProvider:()=>v.B,CardItem:()=>D.oVU,Cascader:()=>D.vxQ,Checkbox:()=>D.Sc0,CheckboxFieldInterface:()=>h.jc,CheckboxGroupFieldInterface:()=>h.sf,ChildPageModel:()=>a.ChildPageModel,ChildPageTabModel:()=>a.ChildPageTabModel,ClearCollectionFieldContext:()=>_.bJ,ClickableFieldModel:()=>a.ClickableFieldModel,CodeEditor:()=>a.CodeEditor,CodeEditorExtension:()=>a.CodeEditorExtension,Collection:()=>_.pM,CollectionActionGroupModel:()=>a.CollectionActionGroupModel,CollectionActionModel:()=>a.CollectionActionModel,CollectionBlockModel:()=>a.CollectionBlockModel,CollectionCategoriesContext:()=>h.CI,CollectionCategoriesProvider:()=>h.q0,CollectionCategory:()=>h.F8,CollectionContext:()=>_.CQ,CollectionDeletedPlaceholder:()=>_.xd,CollectionField:()=>_.JL,CollectionFieldContext:()=>_.yn,CollectionFieldInterface:()=>_.yz,CollectionFieldInterfaceManager:()=>_.Ln,CollectionFieldInterfaceTag:()=>h.Mi,CollectionFieldProvider:()=>_.Ey,CollectionFieldUISchemaProvider:()=>ei.Tu,CollectionFieldsToFormInitializerItems:()=>_.Dk,CollectionFieldsToInitializerItems:()=>_.Jy,CollectionFieldsToTableInitializerItems:()=>_.bC,CollectionHistoryProvider:()=>h.US,CollectionManager:()=>_.qG,CollectionManagerContext:()=>_.Jr,CollectionManagerProvider:()=>_.Pf,CollectionManagerProvider_deprecated:()=>h.nq,CollectionManagerSchemaComponentProvider:()=>h.Xm,CollectionNotAllowViewPlaceholder:()=>_.b,CollectionPlugin:()=>h.Kf,CollectionProvider:()=>_.Yz,CollectionProvider_deprecated:()=>h.io,CollectionRecord:()=>_.ol,CollectionRecordContext:()=>_.tH,CollectionRecordProvider:()=>_.Jw,CollectionSelect:()=>D.vzL,CollectionSelectFieldInterface:()=>h.CF,CollectionTemplate:()=>_.T0,CollectionTemplateManager:()=>_.C1,CollectionTemplateTag:()=>h.xq,ColorFieldInterface:()=>h.h1,ColorPicker:()=>D.skP,ColorSelect:()=>D.qy5,CommonItemModel:()=>a.CommonItemModel,CompatibleSchemaInitializer:()=>u.__,CreateFilterActionInitializer:()=>Y.z8,CreateFormModel:()=>a.CreateFormModel,CreateResetActionInitializer:()=>Y.uj,CreatedAtFieldInterface:()=>h.vv,CreatedByFieldInterface:()=>h.VA,Cron:()=>D.l46,CronSet:()=>D.hbv,CurrentAppInfoContext:()=>d.G0,CurrentAppInfoProvider:()=>d.qm,CurrentPageUidContext:()=>u.MR,CurrentPageUidProvider:()=>u.tu,CurrentRouteProvider:()=>T.yb,CurrentTabUidContext:()=>u.EB,CurrentTabUidProvider:()=>u.sn,CurrentUserContext:()=>O.Ip,CurrentUserProvider:()=>O.Qd,CurrentUserSettingsMenuProvider:()=>O.Y,CustomRouterContextProvider:()=>u.Jr,CustomizeActionInitializer:()=>Y.A4,DEBOUNCE_WAIT:()=>q.wU,DEFAULT_DATA_SOURCE_KEY:()=>_.Ze,DEFAULT_DATA_SOURCE_TITLE:()=>_.gP,DataBlockCollector:()=>g.Pt,DataBlockContext:()=>_.R6,DataBlockInitializer:()=>Y.kq,DataBlockModel:()=>a.DataBlockModel,DataBlockProvider:()=>_.T4,DataBlockResourceContext:()=>_.RE,DataBlockResourceProvider:()=>_.Fr,DataSource:()=>_.qS,DataSourceApplicationProvider:()=>_.Nd,DataSourceCollectionCascader:()=>D.C4D,DataSourceContext:()=>_.Vl,DataSourceContext_deprecated:()=>h.hu,DataSourceManager:()=>_.zA,DataSourceManagerContext:()=>_.oc,DataSourceManagerProvider:()=>_.e1,DataSourceProvider:()=>_.tc,DataSourceProvider_deprecated:()=>h.T8,DataSourceSelect:()=>D.qy$,DateFieldInterface:()=>h.W5,DateFilterDynamicComponent:()=>D.dVP,DateFormatCom:()=>D.b2W,DatePicker:()=>D.lrV,DatePickerProvider:()=>D.QoO,DatetimeFieldInterface:()=>h.Nr,DatetimeNoTzFieldInterface:()=>h.a1,DefaultToolsManager:()=>ec.eY,DefaultValueProvider:()=>B.UY,DeleteCollection:()=>h.Ik,DeleteCollectionAction:()=>h.A9,Designable:()=>D.d1R,DesignableSwitch:()=>D.N3p,Details:()=>D.B_g,DetailsAssociationFieldGroupModel:()=>a.DetailsAssociationFieldGroupModel,DetailsBlockContext:()=>m.R6,DetailsBlockModel:()=>a.DetailsBlockModel,DetailsBlockProvider:()=>m.f0,DetailsCustomItemModel:()=>a.DetailsCustomItemModel,DetailsDesigner:()=>D.CqQ,DetailsGridModel:()=>a.DetailsGridModel,DetailsItemModel:()=>a.DetailsItemModel,DisplaySubTableFieldModel:()=>a.DisplaySubTableFieldModel,DisplayTextFieldModel:()=>a.DisplayTextFieldModel,DisplayTitleFieldModel:()=>a.DisplayTitleFieldModel,Divider:()=>D.cGx,DndContext:()=>D.Mp5,DocumentTitleContext:()=>f.to,DocumentTitleProvider:()=>f.pf,DragHandler:()=>D.L3t,DraggableContext:()=>D.X_,DropdownVisibleContext:()=>O.R2,EMPTY_OBJECT:()=>q.Ml,EditCollection:()=>h.V,EditCollectionAction:()=>h.Jx,EditCollectionField:()=>h.jY,EditComponent:()=>D.iI7,EditDefaultValue:()=>D.tvd,EditDescription:()=>D.JQe,EditFieldAction:()=>h.pA,EditFormModel:()=>a.EditFormModel,EditOperator:()=>D.B4G,EditPattern:()=>D.$t1,EditRequired:()=>D.QpY,EditSortField:()=>D.jgC,EditSubFieldAction:()=>h.Lj,EditTable:()=>D.j0_,EditTableAction:()=>D.vjx,EditTableActionContext:()=>D.uc_,EditTitle:()=>D.Xzy,EditTitleField:()=>D.Ff5,EditTooltip:()=>D.IJ7,EditValidationRules:()=>D.vPC,Editable:()=>D.FoY,EllipsisWithTooltip:()=>D.R_2,EmailFieldInterface:()=>h.em,ErrorFallback:()=>D.xPi,Expand:()=>D.JaO,ExpiresRadio:()=>D.S5r,ExtendCollectionsContext:()=>_.pi,ExtendCollectionsProvider:()=>_.Jl,FieldModel:()=>a.FieldModel,FieldModelRenderer:()=>es.FieldModelRenderer,FieldSummary:()=>h.fn,FieldValidation:()=>h.g7,FieldsTreeSelect:()=>D.ARu,Fieldset:()=>D.LBS,Filter:()=>D.dJT,FilterAction:()=>D.BsJ,FilterActionContext:()=>D.SOm,FilterActionModel:()=>a.FilterActionModel,FilterAssociatedFields:()=>Y.Q3,FilterBlockModel:()=>a.FilterBlockModel,FilterBlockProvider:()=>g.$3,FilterBlockType:()=>g.I1,FilterContext:()=>D.gM2,FilterDynamicComponent:()=>D.N$k,FilterFormActionGroupModel:()=>a.FilterFormActionGroupModel,FilterFormBlockModel:()=>a.FilterFormBlockModel,FilterFormBlockProvider:()=>m.JZ,FilterFormItemModel:()=>a.FilterFormItemModel,FilterGroup:()=>a.FilterGroup,FilterLogicContext:()=>D.c_d,FilterParentCollectionFields:()=>Y.gE,FlagContext:()=>b.Im,FlagProvider:()=>b.UU,ForeignKey:()=>h.mJ,Form:()=>D.lVW,FormActionGroupModel:()=>a.FormActionGroupModel,FormActionModel:()=>a.FormActionModel,FormActiveFieldsProvider:()=>m.Xz,FormAssociationFieldGroupModel:()=>a.FormAssociationFieldGroupModel,FormBlockContext:()=>m.JD,FormBlockInitializer:()=>J.yU,FormBlockModel:()=>a.FormBlockModel,FormBlockProvider:()=>m.r1,FormComponent:()=>a.FormComponent,FormDialog:()=>D.RD4,FormDrawer:()=>D.wA7,FormField:()=>D.zBI,FormFieldContext:()=>m.wh,FormFieldProvider:()=>m.UJ,FormGridModel:()=>a.FormGridModel,FormItem:()=>L.e,FormItemModel:()=>a.FormItemModel,FormItemSchemaToolbar:()=>J.iz,FormProvider:()=>D.OpO,FormSubmitActionModel:()=>a.FormSubmitActionModel,FormV2:()=>D.htN,G2Plot:()=>D.D6h,G2PlotInitializer:()=>Y.PV,G2PlotRenderer:()=>D.ic7,GeneralSchemaDesigner:()=>B.xK,GeneralSchemaItems:()=>R.g$,GlobalThemeProvider:()=>y.U_,Grid:()=>D.xA9,GridCard:()=>D.RLS,GridModel:()=>a.GridModel,GridRowContext:()=>D.mz8,HTMLEncode:()=>D.mJi,HeightMode:()=>B.Dn,ICON_POPUP_Z_INDEX:()=>D.b6K,Icon:()=>C.In,IconFieldInterface:()=>h.Po,IconPicker:()=>D.arW,IdFieldInterface:()=>h.Xk,InheritanceCollectionMixin:()=>h.WW,InitializerWithSwitch:()=>Y.Nl,Input:()=>D.pde,InputFieldInterface:()=>h.Yf,InputFieldModel:()=>a.InputFieldModel,InputNumber:()=>D.YIz,InputReadPretty:()=>D.FZR,InputRecordPicker:()=>D.qKt,IntegerFieldInterface:()=>h.Kv,InternalAdminSettingsLayout:()=>j.Q7,IsInNocoBaseRecursionFieldContext:()=>ei.Bs,IsSubPageClosedByPageMenuContext:()=>u.C1,IsSubPageClosedByPageMenuProvider:()=>u.Cj,JSActionModel:()=>a.JSActionModel,Json:()=>D.LMh,JsonFieldInterface:()=>h.UF,KeepAlive:()=>T.PR,LAZY_COMPONENT_KEY:()=>M.PE,LOADING_DELAY:()=>q.fG,Layout:()=>B.PE,LayoutContent:()=>T.A1,LinkActionModel:()=>a.LinkActionModel,LinkToFieldInterface:()=>h.Li,LinkageFilter:()=>D.ccy,LinkageRuleCategory:()=>B.Od,LinkageRuleDataKeyMap:()=>B.bx,List:()=>D.B8B,LocalDataSource:()=>_.h0,LocationSearchContext:()=>u.bR,M2MFieldInterface:()=>h.Em,M2OFieldInterface:()=>h.ms,Markdown:()=>D.ozN,MarkdownFieldInterface:()=>h.B9,MarkdownReadPretty:()=>D.wN6,MaybeCollectionProvider:()=>m.oe,Menu:()=>D.W1t,MenuConfigure:()=>r.MO,MockFlowModelRepository:()=>a.MockFlowModelRepository,ModalActionSchemaInitializerItem:()=>Y.Au,MultipleSelectFieldInterface:()=>h.if,NAMESPACE_UI_SCHEMA:()=>k.zg,NanoIDInput:()=>D.Q00,NanoidFieldInterface:()=>h.fZ,NocoBaseBuildInPlugin:()=>F.x,NocoBaseDesktopRouteType:()=>T.q2,NocoBaseRecursionField:()=>ei.dw,NocoBaseRouteContext:()=>T.dI,NumberFieldInterface:()=>h.Nj,O2MFieldInterface:()=>h.IL,O2OFieldInterface:()=>h.SB,OBOFieldInterface:()=>h.Sd,OHOFieldInterface:()=>h.Si,OpenModeProvider:()=>eo.R,OverridingCollectionField:()=>h.oO,OverridingFieldAction:()=>h.yu,PMPlugin:()=>j.V_,Page:()=>D.YW0,PagePopups:()=>D.rNg,PageTabs:()=>D.Y2j,Pagination:()=>D.dKS,ParentCollectionFields:()=>Y.y8,ParentRouteContext:()=>D.Zy6,Password:()=>D._22,PasswordFieldInterface:()=>h.NL,Percent:()=>D.QEB,PercentFieldInterface:()=>h.$N,PermissionContext:()=>r.dg,PermissionProvider:()=>r.XI,PhoneFieldInterface:()=>h.wv,PinnedListPlugin:()=>P._,PinnedPluginList:()=>P.i6,PinnedPluginListContext:()=>P.DW,PinnedPluginListProvider:()=>P.P7,Plugin:()=>u.k_,PluginManager:()=>j.R0,PluginManagerLink:()=>j.X1,PluginSettingsManager:()=>u.mz,PopupActionModel:()=>a.PopupActionModel,PopupContextProvider:()=>el.P,PopupSettingsProvider:()=>D.T$Q,PopupSubTableFormActionGroupModel:()=>a.PopupSubTableFormActionGroupModel,PoweredBy:()=>A.G,Preview:()=>D.lNE,QuickEdit:()=>D.gt0,REGEX_OF_VARIABLE:()=>q.vV,REGEX_OF_VARIABLE_IN_EXPRESSION:()=>q.qe,Radio:()=>D.sxL,RadioGroupFieldInterface:()=>h.QZ,ReadPretty:()=>D.hqJ,ReadPrettyRecordPicker:()=>D.w2W,RecordActionGroupModel:()=>a.RecordActionGroupModel,RecordAssociationBlockInitializer:()=>Y.Cg,RecordAssociationDetailsBlockInitializer:()=>Y.QP,RecordAssociationFormBlockInitializer:()=>Y.we,RecordAssociationGridCardBlockInitializer:()=>Y.Q2,RecordAssociationListBlockInitializer:()=>Y.kv,RecordContext_deprecated:()=>I.Ze,RecordFormBlockInitializer:()=>J.BM,RecordIndexContext:()=>I.t9,RecordIndexProvider:()=>I.l2,RecordLink:()=>m.Ur,RecordPicker:()=>D.O$4,RecordPickerContent:()=>a.RecordPickerContent,RecordPickerContext:()=>D.pEl,RecordPickerProvider:()=>D.bee,RecordProvider:()=>I.B4,RecordReadPrettyAssociationFormBlockInitializer:()=>Y.SL,RecordSelectFieldModel:()=>a.RecordSelectFieldModel,RecordSimpleProvider:()=>I.RP,RefreshActionModel:()=>a.RefreshActionModel,RefreshComponentProvider:()=>ei.E0,RefreshDataBlockRequest:()=>D.ud1,RemoteCollectionManagerProvider:()=>h.Ho,RemoteDocumentTitlePlugin:()=>f.L2,RemoteDocumentTitleProvider:()=>f.vB,RemoteSchemaComponent:()=>D.DYS,RemoteSchemaTemplateManagerPlugin:()=>N.IU,RemoteSchemaTemplateManagerProvider:()=>N.sx,RemoteSelect:()=>D.lTd,RemoveButton:()=>D.d09,RemoveConditionContext:()=>D.b7u,RenderChildrenWithAssociationFilter:()=>m.hJ,RequestSettings:()=>D.RhU,RerenderDataBlockProvider:()=>_.Qj,Resizable:()=>X.cM,ResourceActionContext:()=>h.aB,ResourceActionProvider:()=>h.mD,RichText:()=>D.sDQ,RichTextFieldInterface:()=>h.X6,RoleConfigure:()=>r.jc,RoleResourceCollectionContext:()=>r.mW,RoleTable:()=>r.PO,RolesResourcesActions:()=>r.WH,RouteSchemaComponent:()=>T.yU,RouterContextCleaner:()=>u.PK,RouterManager:()=>u.pZ,SNIPPET_PREFIX:()=>u.tJ,SanitizedCollectionProvider:()=>_.N5,SchemaComponent:()=>D.HvB,SchemaComponentContext:()=>D.u4V,SchemaComponentOnChangeContext:()=>D.Doh,SchemaComponentOptions:()=>D.t6u,SchemaComponentPlugin:()=>D.GD6,SchemaComponentProvider:()=>D.OAH,SchemaInitializer:()=>u.IY,SchemaInitializerActionModal:()=>u.z3,SchemaInitializerActionModalInternal:()=>u.Yx,SchemaInitializerChild:()=>u.wp,SchemaInitializerChildren:()=>u.ZI,SchemaInitializerContext:()=>u.dQ,SchemaInitializerDivider:()=>u.Z$,SchemaInitializerItem:()=>u.rR,SchemaInitializerItemContext:()=>u.G8,SchemaInitializerItemGroup:()=>u.G0,SchemaInitializerItemGroupInternal:()=>u.JL,SchemaInitializerItemInternal:()=>u.KK,SchemaInitializerItems:()=>u.e1,SchemaInitializerManager:()=>u.FE,SchemaInitializerMenu:()=>u.$l,SchemaInitializerMenuProvider:()=>u.Ix,SchemaInitializerOpenModeSchemaItems:()=>R.yF,SchemaInitializerPlugin:()=>Y.X1,SchemaInitializerSelect:()=>u.S3,SchemaInitializerSelectInternal:()=>u.Vf,SchemaInitializerSubMenu:()=>u.zw,SchemaInitializerSubMenuInternal:()=>u.gc,SchemaInitializerSwitch:()=>u.qX,SchemaInitializerSwitchInternal:()=>u.NH,SchemaSettingAccessControl:()=>B.Xh,SchemaSettingItemContext:()=>u.KY,SchemaSettingOpenModeSchemaItems:()=>R.sm,SchemaSettings:()=>u.RT,SchemaSettingsActionLinkItem:()=>G.i,SchemaSettingsActionModalItem:()=>B.l,SchemaSettingsBlockHeightItem:()=>B._M,SchemaSettingsBlockTitleItem:()=>B.Pp,SchemaSettingsCascaderItem:()=>B.Wk,SchemaSettingsChild:()=>u.T2,SchemaSettingsChildren:()=>u.Ah,SchemaSettingsConnectDataBlocks:()=>B.$r,SchemaSettingsDataScope:()=>B.Zy,SchemaSettingsDataTemplates:()=>B.iJ,SchemaSettingsDateFormat:()=>B.AH,SchemaSettingsDefaultSortingRules:()=>B.lZ,SchemaSettingsDefaultValue:()=>B.Jw,SchemaSettingsDivider:()=>B.kT,SchemaSettingsDropdown:()=>B.QA,SchemaSettingsEnableChildCollections:()=>B.DE,SchemaSettingsFixed:()=>X.$e,SchemaSettingsFormItemTemplate:()=>B.Sm,SchemaSettingsItem:()=>B.iU,SchemaSettingsItemGroup:()=>B.NT,SchemaSettingsLayoutItem:()=>B.qj,SchemaSettingsLinkageRules:()=>B.f9,SchemaSettingsManager:()=>u.mh,SchemaSettingsModalItem:()=>B.fY,SchemaSettingsNumberFormat:()=>B.vv,SchemaSettingsPlugin:()=>B.SA,SchemaSettingsPopupItem:()=>B.QN,SchemaSettingsProvider:()=>B.Kd,SchemaSettingsRemove:()=>B.d$,SchemaSettingsRenderEngine:()=>B.Fs,SchemaSettingsSelectItem:()=>B.Al,SchemaSettingsSortingRule:()=>B.bO,SchemaSettingsSubMenu:()=>B.OO,SchemaSettingsSwitchItem:()=>B.Qd,SchemaSettingsTemplate:()=>B.lC,SchemaSettingsWrapper:()=>u.OD,SchemaTemplateManagerContext:()=>N.cC,SchemaToolbar:()=>B.Bw,SchemaToolbarContext:()=>u.OI,SchemaToolbarProvider:()=>u.y6,SchemaToolbarVisibleContext:()=>B.Oy,ScopeSelect:()=>r.dn,SearchCollections:()=>Y.Cl,SecondConFirm:()=>D.VXI,Select:()=>D.l6P,SelectActionInitializer:()=>Y.J_,SelectFieldInterface:()=>h.ur,SelectWithTitle:()=>x.$d,SetDataLoadingMode:()=>Q.yz,SettingCenterPermissionProvider:()=>r.kL,SettingCenterProvider:()=>r.$k,SettingsCenterConfigure:()=>r.$S,SettingsCenterContext:()=>j.WS,SettingsCenterDropdown:()=>j.wj,SettingsMenuProvider:()=>O.mn,ShowFormData:()=>D.a1G,SkeletonFallback:()=>a.SkeletonFallback,SkipValidation:()=>D.zN,SnowflakeIdFieldInterface:()=>h.xS,Sortable:()=>D.L1H,SortableContext:()=>D.gBZ,SortableItem:()=>D.UqM,SortableProvider:()=>D.gBz,SourceCollection:()=>h.sN,SourceForeignKey:()=>h.l7,SourceKey:()=>h.D0,Space:()=>D.$xS,StablePopover:()=>D.$mi,StrategyActions:()=>r.T,SubFieldDataSourceProvider_deprecated:()=>h.Jq,SubTableColumnModel:()=>a.SubTableColumnModel,SubTableFieldInterface:()=>h.OA,SubTableFieldModel:()=>a.SubTableFieldModel,SubmitActionInitializer:()=>Y.pW,SwitchLanguage:()=>U.r,SyncFieldsAction:()=>h.xG,SyncFieldsActionCom:()=>h.Yy,SyncSQLFieldsAction:()=>h.BK,SystemSettingsPane:()=>$.nS,SystemSettingsPlugin:()=>$.Cz,SystemSettingsSource:()=>$.or,Table:()=>D.XIK,TableActionColumnInitializer:()=>Y.rb,TableAssociationFieldGroupModel:()=>a.TableAssociationFieldGroupModel,TableBlockContext:()=>m.V3,TableBlockDesigner:()=>D.v93,TableBlockInitializer:()=>X.IB,TableBlockModel:()=>a.TableBlockModel,TableBlockProvider:()=>m.to,TableColumnModel:()=>a.TableColumnModel,TableColumnSchemaToolbar:()=>X.lI,TableField:()=>D.Bmi,TableFieldContext:()=>m.G8,TableFieldProvider:()=>m.Cc,TableFieldResource:()=>m.vv,TableSelectorContext:()=>m.$1,TableSelectorDesigner:()=>D.p9h,TableSelectorInitializer:()=>Z.w,TableSelectorParamsProvider:()=>m.bp,TableSelectorProvider:()=>m.j4,TableV2:()=>D.Hi5,TableoidFieldInterface:()=>h.YK,Tabs:()=>D.tUM,TabsContextProvider:()=>D.hY7,TargetForeignKey:()=>h.Pg,TargetKey:()=>h.n0,TemplateBlockProvider:()=>m.lm,TemplateSummary:()=>h.N8,Templates:()=>D.I5x,TestDesigner:()=>D.qIn,TextAreaWithContextSelector:()=>a.TextAreaWithContextSelector,TextAreaWithGlobalScope:()=>D.Ur4,TextareaFieldInterface:()=>h.OK,ThroughCollection:()=>h.Uq,ThroughForeignKey:()=>h.P$,TimeFieldInterface:()=>h.ju,TimePicker:()=>D.AG,TreeSelect:()=>D.f7I,UUIDFieldInterface:()=>h.nF,UnSupportFields:()=>h.u6,UnixTimestamp:()=>D.zVE,UnixTimestampFieldInterface:()=>h.qT,UpdateRecordActionModel:()=>a.UpdateRecordActionModel,UpdatedAtFieldInterface:()=>h.A8,UpdatedByFieldInterface:()=>h.CT,Upload:()=>D._OO,Uploader:()=>D.d9b,UrlFieldInterface:()=>h.Nc,Variable:()=>D.rTt,VariableFilterItem:()=>a.VariableFilterItem,VariableInput:()=>B.P8,VariablePopupRecordProvider:()=>ea.P3,VariableScope:()=>q.j0,VariableScopeProvider:()=>D.sIN,VariableSelect:()=>D.PnP,VariablesContext:()=>q.jT,VariablesProvider:()=>q.fK,ViewCollectionField:()=>h.w7,ViewFieldAction:()=>h.YG,WithoutFormFieldResource:()=>m.vi,WithoutTableFieldResource:()=>m.nI,actionSettings:()=>D.Sh8,actionSettingsItems:()=>D.MoU,addCustomAlgorithmToTheme:()=>y._l,allowAddNew:()=>D.lE3,appendQueryStringToUrl:()=>m.gN,applyCollectionFieldUiSchemaToDefaultValueSchema:()=>B.Ux,applyMobilePaginationProps:()=>a.applyMobilePaginationProps,attachmentFileTypes:()=>D.lNX,autoFill:()=>h.l5,autoIncrement:()=>h.N1,canMakeAssociationBlock:()=>Y.xj,collectionDataSource:()=>h.C8,compatOldTheme:()=>y.Ne,completeURL:()=>m.Dg,compose:()=>u.Zz,constraintsProps:()=>h.jg,createCompactSimpleItemRender:()=>a.createCompactSimpleItemRender,createCreateFormBlockUISchema:()=>J.U9,createDesignable:()=>D.pxY,createDetailsBlockSchema:()=>Y.DJ,createFormActionInitializers:()=>J.CQ,createFormActionInitializers_deprecated:()=>J.E9,createFormBlockSchema:()=>Y.je,createFormBlockSettings:()=>J.NO,createModalSettingsItem:()=>u.IN,createReadPrettyFormBlockSchema:()=>Y.TA,createRouterManager:()=>u.xd,createSelectSchemaSettingsItem:()=>u.IF,createStyles:()=>E.r,createSwitchSettingsItem:()=>u.$c,createTableBlockSchema:()=>Y.JP,createTableBlockUISchema:()=>X.DJ,createTextSettingsItem:()=>u.pi,customAlgorithm:()=>y.ze,customFormItemInitializers:()=>Y.qf,customFormItemInitializers_deprecated:()=>Y.KL,dataSource:()=>h.Ex,dateTimeProps:()=>h.E2,defaultFieldNames:()=>D.KDQ,defaultInputStyle:()=>B.D0,defaultProps:()=>h.Gs,defaultTheme:()=>y.zQ,dispatchEventDeep:()=>a.dispatchEventDeep,ds:()=>h.ds,editFormBlockSettings:()=>J.RG,editMarkdownFlow:()=>a.editMarkdownFlow,fetchTemplateData:()=>D.rlt,fieldComponentSettingsItem:()=>_.I1,fieldSettingsFormItem:()=>J.ln,fileSizeSetting:()=>er.oc,fillParentFields:()=>m.Rg,filterFormItemSettings:()=>D.Dgp,findByUid:()=>D.X6x,findFilterTargets:()=>m.OP,findFirstPageRoute:()=>T.sj,findFormBlock:()=>m.r9,findKanbanFormItem:()=>_.SG,findKeysByUid:()=>D.VFg,findMenuItem:()=>D.OZ6,findParentFieldSchema:()=>B.Jq,findRouteBySchemaUid:()=>T.bl,formActionInitializers:()=>J.eI,formDetailsSettings:()=>D.QIX,formItemInitializers:()=>J.rj,formItemInitializers_deprecated:()=>J.Lm,formItemSettings:()=>D.DVX,formSettings:()=>D.UyB,formV1Settings:()=>D.$Eq,genStyleHook:()=>D.fDF,getAppends:()=>m.c3,getAssociationPath:()=>m.jh,getCardItemSchema:()=>m.Km,getCollectionTitle:()=>W.R,getConfigurableProperties:()=>h.TC,getCurrentOptions:()=>D.oMF,getDataSourceHeaders:()=>_.kb,getDateExact:()=>D.Q2z,getDatePickerLabels:()=>D.Mwt,getDateRanges:()=>D.fDM,getFieldDefaultValue:()=>B.lD,getFilterByTkByCollection:()=>m.g7,getFlowPageMenuSchema:()=>eu.g,getFormValues:()=>m.ru,getIdsWithChildren:()=>m.O6,getLabelFormatValue:()=>D.PB5,getLabelWithTooltip:()=>B.YO,getPageMenuSchema:()=>et.my,getPageSchema:()=>m.RN,getPinnedPluginListKeys:()=>P.k4,getPopupPathFromParams:()=>D.C5g,getRenderContent:()=>D.a2g,getSchemaSettingsConfirmZIndex:()=>B.rf,getSchemaSettingsDialogZIndex:()=>B.tN,getShouldChange:()=>B.io,getSimpleModePaginationClassName:()=>a.getSimpleModePaginationClassName,getStoredPopupContext:()=>D.lSn,getSupportFieldsByAssociation:()=>g.Lt,getSupportFieldsByForeignKey:()=>g.Rm,getTabSchema:()=>D.jZb,getURLSearchParams:()=>B._V,getURLSearchParamsChildren:()=>B.B_,getUniqueKeyFromCollection:()=>h.$e,getUnknownCountPaginationTotal:()=>a.getUnknownCountPaginationTotal,getVariableComponentWithScope:()=>K.Iy,getVariableValue:()=>x.Wu,getVariablesFromExpression:()=>q.e3,getZIndex:()=>D.flR,gridRowColWrap:()=>Y.xH,handleDateChangeOnForm:()=>D.QD_,hasIcon:()=>C.cE,i18n:()=>k.Ru,icons:()=>C.Pt,inferPickerType:()=>D.Pnr,interfacesOfUnsupportedDefaultValue:()=>B.lM,interfacesProperties:()=>h.q,isAssocField:()=>g.W0,isBulkEditAction:()=>D.PSc,isDeleteButtonDisabled:()=>h.WL,isFileCollection:()=>D.XOn,isInFilterFormBlock:()=>g.vc,isInitializersSame:()=>u.qt,isMobile:()=>D.FrL,isPatternDisabled:()=>B.h2,isSameCollection:()=>g.TQ,isShowFilePicker:()=>D.GmQ,isSystemField:()=>B.kr,isTabPage:()=>D.nKd,isTitleField:()=>_.ji,isVariable:()=>q.DZ,isWriteEmailAction:()=>D.cWk,itemsMerge:()=>Y.jz,joinCollectionName:()=>h.Sv,joinUrlSearch:()=>a.joinUrlSearch,languageCodes:()=>w.XK,lazy:()=>M.RZ,locale:()=>w.Ay,mapDatePicker:()=>D.x1p,mapRangePicker:()=>D.UTu,mapTimeFormat:()=>D.JDj,matchMimetype:()=>D._bM,mergeFilter:()=>g.Dj,mergePaginationClassName:()=>a.mergePaginationClassName,mockAPIClient:()=>z.a,moment2str:()=>D.msY,navigateToTab:()=>D.s23,navigateWithinSelf:()=>m.Ff,normalizeContainer:()=>u.Bv,openViewFlow:()=>a.openViewFlow,operators:()=>h.II,pageSettings:()=>D.fM,pageTabSettings:()=>D.uUT,parseCollectionName:()=>h.Hu,parseVariablesAndChangeParamsToQueryString:()=>m.iz,primaryKey:()=>h.ie,readPrettyFormSettings:()=>D.ud$,recordBlockInitializers:()=>Y.o$,recordBlockInitializers_deprecated:()=>Y.GA,recordPickerViewer:()=>h.mK,recursiveParent:()=>m.H2,reduceValueSize:()=>m.hu,registerIcon:()=>C.pU,registerIcons:()=>C.K1,registerInitializerMenusGenerator:()=>Y.LR,relationshipType:()=>h.B1,removeNullCondition:()=>D.pA3,replaceVariableValue:()=>m.WY,replaceVariables:()=>B.qk,requestParentRecordData:()=>_.$G,resolveFilterPickerFormat:()=>D.CEt,reverseFieldProperties:()=>h.Mw,schemaSettingsLabelLayout:()=>B.jN,setDataLoadingModeSettingsItem:()=>Q.qm,setDefaultSortingRulesSchemaSettingsItem:()=>B.ez,setTheDataScopeSchemaSettingsItem:()=>B.dh,shouldRenderIconInTitle:()=>T.Uc,showFileName:()=>er.FU,splitWrapSchema:()=>D.kBD,storePopupContext:()=>D.NVg,subTableActionInitializers:()=>Y.cj,subTableActionInitializers_deprecated:()=>Y.m,systemKeys:()=>B.Kg,tabPaneInitializers:()=>Y.fq,tabPaneInitializersForBulkEditFormBlock:()=>Y.BM,tabPaneInitializersForRecordBlock:()=>Y.C6,tabPaneInitializers_deprecated:()=>Y.DP,tableActionColumnInitializers:()=>X.Wf,tableActionColumnInitializers_deprecated:()=>X.Wd,tableActionInitializers:()=>X.kL,tableActionInitializers_deprecated:()=>X.Wc,tableBlockSettings:()=>X.Fe,tableColumnInitializers:()=>X.Cg,tableColumnInitializers_deprecated:()=>X.UH,tableColumnSettings:()=>X._s,tableSelectorBlockSettings:()=>Z.A,timeProps:()=>h.kg,titleField:()=>a.titleField,toToolsMap:()=>ec.f,transformFilter:()=>ed.transformFilter,transformToFilter:()=>g.SU,transformVariableValue:()=>q.Ap,tval:()=>k.ul,type:()=>h.NW,unique:()=>h.Am,updateFilterTargets:()=>m.Ez,updateFormActionInitializers:()=>J.Zg,updateFormActionInitializers_deprecated:()=>J.T,useACLActionParamsContext:()=>r.Zj,useACLContext:()=>r.bq,useACLFieldWhitelist:()=>r.xy,useACLRoleContext:()=>r.v6,useACLRolesCheck:()=>r.X0,useAPIClient:()=>s.VB,useAPITokenVariable:()=>B.ff,useAclSnippets:()=>u.K3,useActionAvailable:()=>Q.$R,useActionBarContext:()=>D.MIq,useActionContext:()=>D.D50,useAdminSchemaUid:()=>S.w,useAfterSuccessOptions:()=>D.bZ4,useAllAccessDesktopRoutes:()=>T.nr,useAllCollectionsInheritChainGetter:()=>_.LQ,useAllDataBlocks:()=>D.dWC,useApp:()=>u.nm,useAppLangContext:()=>i.IK,useAppSpin:()=>u.vk,useAriaAttributeOfMenuItem:()=>u.yb,useAssociatedFields:()=>g.ze,useAssociatedFormItemInitializerFields:()=>Y.aY,useAssociatedTableColumnInitializerFields:()=>Y.vP,useAssociationCreateActionProps:()=>m.Pj,useAssociationFieldContext:()=>D.G2C,useAssociationFieldModeContext:()=>D.Xjr,useAssociationFilterBlockProps:()=>m.UN,useAssociationFilterProps:()=>m.L1,useAssociationName:()=>_.UJ,useAssociationNames:()=>m.Ry,useAsyncData:()=>c.e6,useAttach:()=>D.TDH,useBackButton:()=>D.zEg,useBaseVariable:()=>B.de,useBlockAssociationContext:()=>m.Ps,useBlockConfigs:()=>p.oL,useBlockContext:()=>m.MX,useBlockHeight:()=>D.a97,useBlockHeightProps:()=>m.es,useBlockRequestContext:()=>m.J6,useBlockResource:()=>m.V0,useBlockTemplateContext:()=>N.kU,useBuiltinVariables:()=>q.c7,useBulkDestroyAction:()=>h.ZC,useBulkDestroyActionAndRefreshCM:()=>h.uq,useBulkDestroyActionProps:()=>m.Y0,useCancelAction:()=>h.Y7,useCloseAction:()=>D.GjU,useCollectValuesToSubmit:()=>m.TJ,useCollection:()=>_.Ge,useCollectionDataSource:()=>h.LF,useCollectionDataSourceItems:()=>Y.nG,useCollectionField:()=>_.E1,useCollectionFieldFormValues:()=>h.mY,useCollectionField_deprecated:()=>h.gp,useCollectionFields:()=>_.$h,useCollectionFieldsOptions:()=>h.Tt,useCollectionFilterOptions:()=>h.OU,useCollectionHistory:()=>h.W,useCollectionManager:()=>_.r2,useCollectionManager_deprecated:()=>h.nj,useCollectionParentRecord:()=>_.Vm,useCollectionParentRecordData:()=>_.vt,useCollectionRecord:()=>_.PD,useCollectionRecordData:()=>_.zv,useCollectionState:()=>B.lI,useCollection_deprecated:()=>h.k7,useCollections:()=>_.Xd,useColumnSchema:()=>D.BCL,useColumnSettings:()=>D.dbD,useCompatOldVariables:()=>B.aw,useCompile:()=>D.lum,useComponent:()=>D.xZI,useContextAssociationFields:()=>B.JV,useContextVariable:()=>q.Rr,useCreateActionProps:()=>m.wx,useCreateAssociationDetailsBlock:()=>Y.ug,useCreateAssociationDetailsWithoutPagination:()=>Y.Xr,useCreateAssociationFormBlock:()=>Y.MG,useCreateAssociationGridCardBlock:()=>Y.EC,useCreateAssociationListBlock:()=>Y.Q9,useCreateAssociationTableBlock:()=>Y.m5,useCreateEditFormBlock:()=>J.fi,useCreateFormBlock:()=>J.tH,useCreateTableBlock:()=>X.Hb,useCurrentAppInfo:()=>d.gL,useCurrentDocumentTitle:()=>f.er,useCurrentPageUid:()=>u.es,useCurrentPopupContext:()=>D.IX0,useCurrentPopupRecord:()=>ea.EZ,useCurrentRoleMode:()=>r.GL,useCurrentRoleVariable:()=>B.TV,useCurrentRoles:()=>O._N,useCurrentRoute:()=>T.K7,useCurrentSchema:()=>Y.oK,useCurrentSearchParams:()=>u.dT,useCurrentTabUid:()=>u.CR,useCurrentUserContext:()=>O.BW,useCurrentUserSettingsMenu:()=>O.Gg,useCurrentUserVariable:()=>B.oW,useCustomizeBulkUpdateActionProps:()=>m.qj,useCustomizeRequestActionProps:()=>m.Bq,useCustomizeUpdateActionProps:()=>m.Gb,useDataBlock:()=>_.$$,useDataBlockHeight:()=>D.mhY,useDataBlockParentRecord:()=>m.Q7,useDataBlockProps:()=>_.h6,useDataBlockRequest:()=>_._J,useDataBlockRequestData:()=>_.YE,useDataBlockRequestGetter:()=>_.ZK,useDataBlockResource:()=>_.jz,useDataLoadingMode:()=>Q.fY,useDataSource:()=>_.xw,useDataSourceFromRAC:()=>h.PN,useDataSourceHeaders:()=>_.TF,useDataSourceKey:()=>_.Mp,useDataSourceManager:()=>_.m6,useDataTemplates:()=>B.dF,useDatePickerContext:()=>D.nxV,useDateVariable:()=>B.Yv,useDatetimeVariable:()=>B.hY,useDatetimeVariableContext:()=>B.U$,useDeleteRouteSchema:()=>T.NH,useDesignable:()=>D.erX,useDesigner:()=>D.Hbp,useDestroyAction:()=>h.YZ,useDestroyActionAndRefreshCM:()=>h.uk,useDestroyActionProps:()=>m.eZ,useDetailsBlockContext:()=>m.gU,useDetailsBlockProps:()=>m.nw,useDetailsDecoratorProps:()=>Q.DM,useDetailsPaginationProps:()=>m.EV,useDetailsParentRecord:()=>Q.lJ,useDetailsProps:()=>Q.Yb,useDetailsWithPaginationBlockParams:()=>Q.lO,useDetailsWithPaginationDecoratorProps:()=>Q.Bd,useDetailsWithPaginationProps:()=>Q.ys,useDisassociateActionProps:()=>m.wY,useDocumentTitle:()=>f.rN,useDownloadLogs:()=>D.nu1,useEditTableActionProps:()=>m.Il,useEnsureOperatorsValid:()=>D.lhV,useExactDateVariable:()=>B.vm,useExactDateVariableContext:()=>B.gQ,useExtendCollections:()=>_.h_,useFieldComponentName:()=>x.qA,useFieldComponentOptions:()=>D.xB5,useFieldInterfaceOptions:()=>h.nO,useFieldMode:()=>D.J1,useFieldModeOptions:()=>D.jE9,useFieldNames:()=>D.gZ,useFieldProps:()=>D.OJX,useFieldTitle:()=>D.Us6,useFilterAPI:()=>g.eB,useFilterActionProps:()=>D.Um,useFilterBlock:()=>g.xZ,useFilterBlockActionProps:()=>m.B6,useFilterByTk:()=>m.E6,useFilterFieldOptions:()=>D.g9w,useFilterFieldProps:()=>D.yGk,useFilterOptions:()=>D.uwA,useFindComponent:()=>D.QIi,useFlag:()=>b._P,useFormActiveFields:()=>m.dW,useFormBlockContext:()=>m.Es,useFormBlockProps:()=>m.xp,useFormBlockType:()=>m.zE,useFormDataTemplates:()=>D.nlx,useFormFieldContext:()=>m.bt,useFormFieldProps:()=>m.U5,useFormItemInitializerFields:()=>Y.g_,useGetAriaLabelOfAction:()=>D.U8O,useGetAriaLabelOfDesigner:()=>B.$X,useGetAriaLabelOfDrawer:()=>D.HPy,useGetAriaLabelOfModal:()=>D.tO8,useGetAriaLabelOfPopover:()=>D.l2i,useGetFilterFieldOptions:()=>D.OqW,useGetFilterOptions:()=>D.wnJ,useGetSchemaInitializerMenuItems:()=>u.q9,useGlobalTheme:()=>y.my,useGlobalVariable:()=>u.$q,useGlobalVariableCtx:()=>u.i0,useGridContext:()=>D.ZB7,useGridRowContext:()=>D.FVw,useHistoryCollectionsByNames:()=>h.gV,useInheritsTableColumnInitializerFields:()=>Y.FJ,useInsertPageSchema:()=>et.rP,useIsAddNewForm:()=>D.TNL,useIsAdminPage:()=>u.MJ,useIsAllowToSetDefaultValue:()=>B.eT,useIsAssociationField:()=>D.xq$,useIsDetailBlock:()=>m.yH,useIsFieldReadPretty:()=>D.U5u,useIsFileField:()=>D.oAT,useIsFormReadPretty:()=>D.q7s,useIsInSettingsPage:()=>u.JY,useIsLoggedIn:()=>O.DB,useIsSameOrChildCollection:()=>B.j6,useIsSelectFieldMode:()=>D.jeY,useIsSubPageClosedByPageMenu:()=>u.ol,useKeepAlive:()=>T.Y,useLabelUiSchema:()=>D.RB3,useLazy:()=>M._P,useLinkActionProps:()=>m.Su,useLinkageAction:()=>D.LtX,useLinkageCollectionFilterOptions:()=>h.NU,useListBlockContext:()=>D.cl6,useLocalVariables:()=>q.gp,useLocalVariablesWithoutCustomVariable:()=>q.T_,useLocationNoUpdate:()=>u.zd,useLocationSearch:()=>u.$Q,useMenuDragEnd:()=>D.yt2,useMenuSearch:()=>Y.Fh,useMenuTranslation:()=>D.Qgm,useMobileLayout:()=>T.mY,useNavigateNoUpdate:()=>u.vx,useNocoBaseRoutes:()=>D.Ob5,useOpenModeContext:()=>eo.k,useOptionalFieldList:()=>m._q,useParamsFromRecord:()=>m.DQ,useParentCollection:()=>_.KY,useParentRecordCommon:()=>ee.M,useParentRoute:()=>D.TrS,useParseDataScopeFilter:()=>B.hJ,useParseURLAndParams:()=>m.Zj,useParsedFilter:()=>m.jY,usePickActionProps:()=>m.RH,usePlugin:()=>u.nu,usePopupSettings:()=>D.X43,usePopupUtils:()=>en.H,usePopupVariable:()=>B.GL,usePopupVariableContext:()=>B.hK,useProps:()=>D.YYe,useRecord:()=>I.pE,useRecordCollectionDataSourceItems:()=>Y.aU,useRecordIndex:()=>I.Hg,useRecordIsOwn:()=>I.BH,useRecordPkValue:()=>r.fr,useRefreshActionProps:()=>m.tG,useRefreshFieldSchema:()=>ei.o8,useRemoteCollectionManagerLoading:()=>h.RH,useRemoveActionProps:()=>m.Gg,useRemoveGridFormItem:()=>Y.l,useRequest:()=>s.bP,useRerenderDataBlock:()=>_.Kx,useResetBlockActionProps:()=>m.yE,useResource:()=>s.qK,useResourceActionContext:()=>h.br,useResourceContext:()=>h.xh,useRoleRecheck:()=>r.N5,useRoleVariable:()=>B._K,useRolesResourcesScopesSelectedRowKeys:()=>r.OV,useRouter:()=>u.rd,useRouterBasename:()=>u.$y,useSchemaComponentContext:()=>D.Fag,useSchemaInitializer:()=>u.fx,useSchemaInitializerItem:()=>u.eL,useSchemaInitializerMenuItems:()=>u.AK,useSchemaInitializerRender:()=>u.vt,useSchemaInitializerStyles:()=>u.Lm,useSchemaInitializerSubMenuContext:()=>u.Zk,useSchemaOptionsContext:()=>D.MqW,useSchemaSettings:()=>B.KR,useSchemaSettingsItem:()=>u.vr,useSchemaSettingsRender:()=>u.y$,useSchemaTemplate:()=>N.D$,useSchemaTemplateManager:()=>N.ov,useSchemaToolbar:()=>u.C5,useSchemaToolbarRender:()=>u.s6,useSortFields:()=>h.lY,useSourceId:()=>Q.YF,useSourceIdFromParentRecord:()=>m.hY,useSourceIdFromRecord:()=>m.ZC,useStyles:()=>D.ISS,useSupportedBlocks:()=>g.Uf,useSyncFromForm:()=>B.r3,useSystemSettings:()=>$.e6,useSystemSettingsVariable:()=>B.G,useTableBlockContext:()=>m.El,useTableBlockContextBasicValue:()=>m.Vb,useTableBlockDecoratorProps:()=>X.Av,useTableBlockParams:()=>X.Lu,useTableBlockProps:()=>X.ZI,useTableColumnInitializerFields:()=>Y.HG,useTableColumnIntegration:()=>D.i_r,useTableColumns:()=>m.XS,useTableFieldContext:()=>m.tt,useTableFieldProps:()=>m.cY,useTableSelectorContext:()=>m.K8,useTableSelectorProps:()=>m.fX,useTableSize:()=>D.LjE,useTabsContext:()=>D.f2z,useTemplateBlockContext:()=>m.yn,useTitleFieldOptions:()=>D.kDr,useToken:()=>E.K,useUIConfigurationPermissions:()=>r.uM,useURLAndHTMLSchema:()=>K.my,useURLSearchParamsCtx:()=>B.yu,useURLSearchParamsVariable:()=>B.hx,useUpdateActionProps:()=>m.f2,useUpdateCollectionActionAndRefreshCM:()=>h.ry,useUploadStyles:()=>D.dF1,useUserVariable:()=>B.vY,useValidateSchema:()=>D.doK,useValuesFromRecord:()=>h.Jn,useVariableOptions:()=>B._R,useVariableScope:()=>D.ami,useVariableScopeInfo:()=>q.g5,useVariables:()=>q.$l,useViewport:()=>S.k,useZIndexContext:()=>D.$5j,withDynamicSchemaProps:()=>V.T,withInitializer:()=>u.Vr,withSearchParams:()=>D.tXY,withSkeletonComponent:()=>H.t,zIndexContext:()=>D.Eaz}),o(37260),o(60339),o(65132),o(43017),o(38694),o(95836),o(26362),o(45814),o(29663),o(36519);var l=o(10691),n={};for(let e in l)0>["EditFormModel","PopupSubTableFormActionGroupModel","InputFieldModel","PopupContextProvider","usePopupUtils","LinkActionModel","BlockModel","FormSubmitActionModel","joinUrlSearch","FilterFormBlockModel","FormActionGroupModel","RecordSelectFieldModel","DetailsCustomItemModel","GridModel","RefreshActionModel","CollectionBlockModel","DetailsBlockModel","JSActionModel","PopupActionModel","getUnknownCountPaginationTotal","openViewFlow","OpenModeProvider","FormAssociationFieldGroupModel","withDynamicSchemaProps","FilterFormItemModel","languageCodes","getVariableComponentWithScope","AssignFormModel","DisplayTextFieldModel","FilterActionModel","transformFilter","useOpenModeContext","SubTableColumnModel","ActionModel","BlockGridModel","FieldModel","CollectionActionGroupModel","DetailsGridModel","CollectionActionModel","AddNewActionModel","ActionSceneEnum","ClickableFieldModel","editMarkdownFlow","FormItem","useInsertPageSchema","ChildPageModel","getSimpleModePaginationClassName","dispatchEventDeep","VariablePopupRecordProvider","CreateFormModel","IsInNocoBaseRecursionFieldContext","FieldModelRenderer","DisplayTitleFieldModel","locale","DataBlockModel","ActionGroupModel","CodeEditorExtension","withSkeletonComponent","RecordActionGroupModel","SubTableFieldModel","titleField","SwitchLanguage","getPageMenuSchema","FilterGroup","UpdateRecordActionModel","CollectionFieldUISchemaProvider","FormGridModel","TableColumnModel","NocoBaseRecursionField","ChildPageTabModel","FormBlockModel","VariableFilterItem","RefreshComponentProvider","MockFlowModelRepository","fileSizeSetting","default","FilterBlockModel","useRefreshFieldSchema","DetailsItemModel","TextAreaWithContextSelector","CommonItemModel","FormActionModel","FormComponent","CodeEditor","SkeletonFallback","applyMobilePaginationProps","createCompactSimpleItemRender","TableBlockModel","RecordPickerContent","TableAssociationFieldGroupModel","FilterFormActionGroupModel","DisplaySubTableFieldModel","BlockSceneEnum","useCurrentPopupRecord","FormItemModel","DetailsAssociationFieldGroupModel","SchemaSettingsActionLinkItem","showFileName","useURLAndHTMLSchema","mergePaginationClassName"].indexOf(e)&&(n[e]=()=>l[e]);o.d(t,n);var a=o(13975),r=o(41906),i=o(51771),s=o(16211),d=o(94702),u=o(20629),c=o(13274),p=o(29594),m=o(18111),h=o(43288),x=o(53770),v=o(25739),_=o(28227),f=o(50255),g=o(65613),b=o(69575),y=o(79980),S=o(18226),k=o(7271),C=o(60430),M=o(88448),w=o(28601),F=o(21676),P=o(6997),j=o(76028),A=o(92627),I=o(41944),T=o(93160),D=o(82924),L=o(2046),Y=o(12556),R=o(18272),B=o(99300),N=o(96932),E=o(49948),$=o(86393),z=o(48245),O=o(84693),q=o(43923),V=o(80461),H=o(99847),U=o(24943),G=o(39315),K=o(1590),W=o(56250),J=o(12416),X=o(77526),Z=o(92452),Q=o(97173),ee=o(14696),et=o(52973),eo=o(38693),el=o(47851),en=o(84313),ea=o(39888),er=o(15701),ei=o(30644),es=o(504),ed=o(63526),eu=o(40854),ec=o(83249)},88448(e,t,o){o.d(t,{PE:()=>i,RZ:()=>d,_P:()=>u});var l=o(71178),n=o(51649),a=o(52793),r=o(77583);let i=Symbol("LAZY_COMPONENT_KEY"),s=new Map;function d(e){for(var t=arguments.length,o=Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];if(0===o.length){let t=(0,n.lazy)(()=>e().then(e=>{let t=e.default;return o[i]=t,{default:t}})),o=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(t,{...e})});return o}return o.reduce((t,o)=>{let s=(0,n.lazy)(()=>e().then(e=>{let l=(0,r.get)(e,o);return t[o][i]=l,{default:l}}));return t[o]=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(s,{...e})}),t},{})}function u(e,t){let o="function"==typeof t?t:e=>e[t],l=e.toString(),n=s.get(l);if(null==n?void 0:n.error)throw n.error;if(null==n?void 0:n.module)return o(n.module);if(!(null==n?void 0:n.promise)){let t=n||{};throw t.promise=e().then(e=>(t.module=e,e)).catch(e=>{throw t.error=e,e}),s.set(l,t),t.promise}throw n.promise}},28601(e,t,o){o.d(t,{At:()=>l,Ay:()=>a,XK:()=>n});let l={"ar-EG":"ar","az-AZ":"az","bg-BG":"bg","bn-BD":"bn-bd","by-BY":"en","ca-ES":"ca","cs-CZ":"cs","da-DK":"da","de-DE":"de","el-GR":"el","en-GB":"en-gb","en-US":"en","es-ES":"es","et-EE":"et","fa-IR":"fa","fi-FI":"fi","fr-BE":"fr","fr-CA":"fr","fr-FR":"fr","ga-IE":"ga","gl-ES":"gl","he-IL":"he","hi-IN":"hi","hr-HR":"hr","hu-HU":"hu","hy-AM":"hy-am","id-ID":"id","is-IS":"is","it-IT":"it","ja-JP":"ja","ka-GE":"ka","kk-KZ":"kk","km-KH":"km","kn-IN":"kn","ko-KR":"ko","ku-IQ":"ku","lt-LT":"lt","lv-LV":"lv","mk-MK":"mk","ml-IN":"ml","mn-MN":"mn","ms-MY":"ms","nb-NO":"nb","ne-NP":"ne","nl-BE":"nl-be","nl-NL":"nl","pl-PL":"pl","pt-BR":"pt-br","pt-PT":"pt","ro-RO":"ro","ru-RU":"ru","si-LK":"si","sk-SK":"sk","sl-SI":"sl","sr-RS":"sr","sv-SE":"sv","ta-IN":"ta","th-TH":"th","tk-TK":"tk","tr-TR":"tr","uk-UA":"uk","ur-PK":"ur","vi-VN":"vi","zh-CN":"zh-cn","zh-HK":"zh-hk","zh-TW":"zh-tw"},n={"ar-EG":{label:"العربية"},"az-AZ":{label:"Azərbaycan dili"},"bg-BG":{label:"Български"},"bn-BD":{label:"Bengali"},"by-BY":{label:"Беларускі"},"ca-ES":{label:"Сatal\xe0/Espanya"},"cs-CZ":{label:"Česky"},"da-DK":{label:"Dansk"},"de-DE":{label:"Deutsch"},"el-GR":{label:"Ελληνικά"},"en-GB":{label:"English(GB)"},"en-US":{label:"English"},"es-ES":{label:"Espa\xf1ol"},"et-EE":{label:"Estonian (Eesti)"},"fa-IR":{label:"فارسی"},"fi-FI":{label:"Suomi"},"fr-BE":{label:"Fran\xe7ais(BE)"},"fr-CA":{label:"Fran\xe7ais(CA)"},"fr-FR":{label:"Fran\xe7ais"},"ga-IE":{label:"Gaeilge"},"gl-ES":{label:"Galego"},"he-IL":{label:"עברית"},"hi-IN":{label:"हिन्दी"},"hr-HR":{label:"Hrvatski jezik"},"hu-HU":{label:"Magyar"},"hy-AM":{label:"Հայերեն"},"id-ID":{label:"Bahasa Indonesia"},"is-IS":{label:"\xcdslenska"},"it-IT":{label:"Italiano"},"ja-JP":{label:"日本語"},"ka-GE":{label:"ქართული"},"kk-KZ":{label:"Қазақ тілі"},"km-KH":{label:"ភាសាខ្មែរ"},"kn-IN":{label:"ಕನ್ನಡ"},"ko-KR":{label:"한국어"},"ku-IQ":{label:"کوردی"},"lt-LT":{label:"lietuvių"},"lv-LV":{label:"Latviešu valoda"},"mk-MK":{label:"македонски јазик"},"ml-IN":{label:"മലയാളം"},"mn-MN":{label:"Монгол хэл"},"ms-MY":{label:"بهاس ملايو"},"nb-NO":{label:"Norsk bokm\xe5l"},"ne-NP":{label:"नेपाली"},"nl-BE":{label:"Vlaams"},"nl-NL":{label:"Nederlands"},"pl-PL":{label:"Polski"},"pt-BR":{label:"Portugu\xeas brasileiro"},"pt-PT":{label:"Portugu\xeas"},"ro-RO":{label:"Rom\xe2nia"},"ru-RU":{label:"Русский"},"si-LK":{label:"සිංහල"},"sk-SK":{label:"Slovenčina"},"sl-SI":{label:"Slovenščina"},"sr-RS":{label:"српски језик"},"sv-SE":{label:"Svenska"},"ta-IN":{label:"Tamil"},"th-TH":{label:"ภาษาไทย"},"tk-TK":{label:"Turkmen"},"tr-TR":{label:"T\xfcrk\xe7e"},"uk-UA":{label:"Українська"},"ur-PK":{label:"Oʻzbekcha"},"vi-VN":{label:"Tiếng Việt"},"zh-CN":{label:"简体中文"},"zh-HK":{label:"繁體中文(香港)"},"zh-TW":{label:"繁體中文(台湾)"}},a=n},39315(e,t,o){o.d(t,{V:()=>v,i:()=>x});var l=o(71178),n=o(56220),a=o(56920);o(51649);var r=o(77843),i=o(44374),s=o(20629),d=o(38951),u=o(45036),c=o(43288),p=o(99300),m=o(1590),h=o(28227);let x=()=>{let e=(0,a.useField)(),t=(0,a.useFieldSchema)(),{dn:o}=(0,i.useDesignable)(),{t:s}=(0,r.useTranslation)(),{urlSchema:d,paramsSchema:u,openInNewWindowSchema:c}=(0,m.my)(),h=t["x-component-props"]||{},x={url:h.url,params:h.params||[{}],openInNewWindow:h.openInNewWindow};return(0,l.jsx)(p.fY,{title:s("Edit link"),components:{ArrayItems:n.ArrayItems},schema:{type:"object",title:s("Edit link"),properties:{url:{...d,required:!0},params:u,openInNewWindow:c}},onSubmit:l=>{let{url:n,params:a,openInNewWindow:r}=l;h.url=n,h.params=a,h.openInNewWindow=r,t["x-component-props"]=h,e.componentProps.url=n,e.componentProps.params=a,e.componentProps.openInNewWindow=r,o.emit("patch",{schema:{"x-uid":t["x-uid"],"x-component-props":h}}),o.refresh()},initialValues:x})},v=new d.R({name:"actionSettings:link",items:[{name:"editButton",Component:u.Yp,useComponentProps(){let{buttonEditorProps:e}=(0,s.C5)();return e}},{name:"editLink",Component:x},{name:"linkageRules",Component:p.f9,useComponentProps(){let{linkageRulesProps:e}=(0,s.C5)(),{association:t}=(0,h.h6)()||{},{getCollectionField:o}=(0,c.nj)();return o(t),{...e}}},p.Xh,{name:"remove",sort:100,Component:u.d0,useComponentProps(){let{removeButtonProps:e}=(0,s.C5)();return e}}]})},1590(e,t,o){o.d(t,{Iy:()=>m,my:()=>h});var l=o(71178),n=o(10691),a=o(56920),r=o(51649),i=o(77843),s=o(69412),d=o(41944),u=o(7122),c=o(96123),p=o(45560);let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o=>{let n=(0,a.useFieldSchema)(),{form:r}=(0,s.Es)(),i=(0,d.pE)(),u=(0,c._)({collectionField:{uiSchema:n},form:r,record:i,uiSchema:n,noDisabled:!0});return(0,l.jsx)(e,{...o,scope:t.concat(u).filter(Boolean)})}},h=()=>{let{t:e}=(0,i.useTranslation)(),t=(()=>{let e=(0,p.$)("$env"),t=(0,r.useMemo)(()=>e?JSON.stringify((e.children||[]).map(e=>({name:null==e?void 0:e.name,type:null==e?void 0:e.type,title:null==e?void 0:e.title}))):null,[e]),o=(0,r.useRef)(null),l=(0,r.useRef)(null);if(!e)return o.current=null,l.current=null,null;if(l.current!==t){let{children:n=[]}=e;o.current={...e,children:n.filter(e=>"default"===e.type)},l.current=t}return o.current})(),o=(0,r.useMemo)(()=>m(u.rT.TextArea,t?[t]:[]),[t]),l=(0,r.useMemo)(()=>({title:e("URL"),type:"string","x-decorator":"FormItem","x-component":o,description:e("Do not concatenate search params in the URL"),"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "html"}}'}}}}),[e,o]),a=(0,r.useMemo)(()=>({title:'{{t("Mode")}}',"x-component":"Radio.Group","x-decorator":"FormItem",default:"url",enum:[{value:"url",label:e("URL")},{value:"html",label:e("HTML")}]}),[e]),s=(0,r.useMemo)(()=>({title:e("html"),type:"string","x-decorator":"FormItem","x-component":m(u.rT.RawTextArea),"x-component-props":{rows:10},"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "url"}}'}}}}),[e]);return{urlSchema:l,paramsSchema:(0,r.useMemo)(()=>({type:"array","x-component":"ArrayItems","x-decorator":"FormItem",title:'{{t("Search parameters")}}',items:{type:"object",properties:{space:{type:"void","x-component":"Space","x-component-props":{style:{flexWrap:"nowrap",maxWidth:"100%"},className:(0,n.css)`
|
|
139
|
+
`,defaultValue:"h:mm a",formats:["hh:mm:ss a","HH:mm:ss"],timeFormat:!0},default:"HH:mm:ss",enum:[{label:(0,a.b)({format:"hh:mm:ss a"}),value:"hh:mm:ss a"},{label:(0,a.b)({format:"HH:mm:ss"}),value:"HH:mm:ss"},{label:"custom",value:"custom"}]}},_={type:"array",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"ArrayTable","x-component-props":{pagination:{pageSize:1e3}},items:{type:"object",properties:{column1:{type:"void","x-component":"ArrayTable.Column","x-component-props":{width:50,title:"",align:"center"},properties:{sort:{type:"void","x-component":"ArrayTable.SortHandle"}}},column2:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option value")}}'},properties:{value:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input","x-reactions":e=>{e.initialValue||e.initialized||(e.initialValue=(0,l.uid)(),e.setValue((0,l.uid)()))}}}},column3:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Option label")}}'},properties:{label:{type:"string",required:!0,"x-decorator":"FormItem","x-component":"Input"}}},column4:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:'{{t("Color")}}'},properties:{color:{type:"string","x-decorator":"FormItem","x-component":"ColorSelect"}}},column5:{type:"void","x-component":"ArrayTable.Column","x-component-props":{title:"",dataIndex:"operations",fixed:"right"},properties:{item:{type:"void","x-component":"FormItem",properties:{remove:{type:"void","x-component":"ArrayTable.Remove"}}}}}}},properties:{add:{type:"void","x-component":"ArrayTable.Addition","x-component-props":{randomValue:!0},title:"{{t('Add option')}}"}}},f={"uiSchema.title":{type:"string",title:'{{t("Field display name")}}',required:!0,"x-decorator":"FormItem","x-component":"Input"},name:{type:"string",title:'{{t("Field name")}}',required:!0,"x-disabled":"{{ !createOnly }}","x-decorator":"FormItem","x-component":"Input","x-validator":"uid",description:"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"}},g={type:"void",title:'{{ t("View record") }}',"x-component":"RecordPicker.Viewer","x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}},b={type:"string",title:'{{t("Options")}}',"x-decorator":"FormItem","x-component":"Select","x-component-props":{multiple:!0},enum:"{{collections}}"}},40919(e,t,o){o.r(t),o.d(t,{array:()=>n,bigField:()=>h,boolean:()=>c,collection:()=>m,datetime:()=>r,enumType:()=>d,id:()=>s,number:()=>i,object:()=>a,string:()=>l,tableoid:()=>p,time:()=>u});let l=[{label:'{{t("contains")}}',value:"$includes",selected:!0},{label:'{{t("does not contain")}}',value:"$notIncludes"},{label:'{{t("is")}}',value:"$eq"},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],n=[{label:'{{t("is")}}',value:"$match",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is not")}}',value:"$notMatch",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is any of")}}',value:"$anyOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$noneOf",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],a=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"}],r=[{label:"{{ t('is') }}",value:"$dateOn",selected:!0,schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is not') }}",value:"$dateNotOn",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is before') }}",value:"$dateBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is after') }}",value:"$dateAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or after') }}",value:"$dateNotBefore",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is on or before') }}",value:"$dateNotAfter",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!1}},onlyFilterAction:!0},{label:"{{ t('is between') }}",value:"$dateBetween",schema:{"x-component":"DateFilterDynamicComponent","x-component-props":{isRange:!0}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],i=[{label:'{{t("=")}}',value:"$eq",selected:!0},{label:'{{t("≠")}}',value:"$ne"},{label:'{{t(">")}}',value:"$gt"},{label:'{{t("≥")}}',value:"$gte"},{label:'{{t("<")}}',value:"$lt"},{label:'{{t("≤")}}',value:"$lte"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],s=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$ne"},{label:'{{t("exists")}}',value:"$exists",noValue:!0},{label:'{{t("not exists")}}',value:"$notExists",noValue:!0}],d=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"Select","x-component-props":{mode:null}}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"Select","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],u=[{label:'{{t("is")}}',value:"$eq",selected:!0},{label:'{{t("is not")}}',value:"$neq"},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],c=[{label:'{{t("Yes")}}',value:"$isTruly",selected:!0,noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:'{{t("No")}}',value:"$isFalsy",noValue:!0,schema:{"x-component":"Select","x-component-props":{multiple:!1,options:[{label:'{{t("Yes")}}',value:!0},{label:'{{t("No")}}',value:!1}]}}},{label:"{{ t('is empty') }}",value:"$empty",noValue:!0},{label:"{{ t('is not empty') }}",value:"$notEmpty",noValue:!0}],p=[{label:'{{t("is any of")}}',value:"$childIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$childNotIn",schema:{"x-component":"CollectionSelect","x-component-props":{mode:"tags"}}}],m=[{label:'{{t("is")}}',value:"$eq",selected:!0,schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is not")}}',value:"$ne",schema:{"x-component":"DataSourceCollectionCascader"}},{label:'{{t("is any of")}}',value:"$in",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is none of")}}',value:"$notIn",schema:{"x-component":"DataSourceCollectionCascader","x-component-props":{mode:"tags"}}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0}],h=[{label:'{{t("contains")}}',value:"$includes",selected:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("does not contain")}}',value:"$notIncludes",schema:{type:"string","x-component":"Input"}},{label:'{{t("is")}}',value:"$eq",schema:{type:"string","x-component":"Input"}},{label:'{{t("is not")}}',value:"$ne",schema:{type:"string","x-component":"Input"}},{label:'{{t("is empty")}}',value:"$empty",noValue:!0,schema:{type:"string","x-component":"Input"}},{label:'{{t("is not empty")}}',value:"$notEmpty",noValue:!0,schema:{type:"string","x-component":"Input"}}]},63586(e,t,o){o.d(t,{Jq:()=>p,T8:()=>m,ds:()=>c,hu:()=>u});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44374),s=o(16211);let d={name:"fields",targetKey:"name",fields:[{type:"string",name:"type",interface:"input",uiSchema:{title:'{{ t("Storage type") }}',type:"string","x-component":"Select",enum:[{label:"String",value:"string"}],required:!0}},{type:"string",name:"interface",interface:"input",uiSchema:{title:'{{ t("Field interface") }}',type:"string","x-component":"Select",enum:"{{interfaces}}"}},{type:"string",name:"title",interface:"input",uiSchema:{title:'{{ t("Field display name") }}',type:"string","x-component":"Input",required:!0}},{type:"string",name:"name",interface:"input",uiSchema:{title:'{{ t("Field name") }}',type:"string","x-component":"Input"}}]},u=(0,r.createContext)(null);u.displayName="DataSourceContext_deprecated";let c={useSelectedRowKeys:()=>{let e=(0,r.useContext)(u);return[e.selectedRowKeys,e.setSelectedRowKeys]},useDataSource_deprecated:e=>{let t=(0,r.useContext)(u);return(0,i.useRequest)(()=>Promise.resolve({data:t.dataSource}),{...e,refreshDeps:[JSON.stringify(t.dataSource)]})},useCreateAction:()=>{let e=(0,r.useContext)(u),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)();return{async run(){console.log("form.values",t.values);let l=e.dataSource||[];l.push((0,a.cloneDeep)(t.values)),e.setDataSource([...l]),o(!1),await t.reset()}}},useBulkDestroyAction:()=>{let e=(0,r.useContext)(u),{selectedRowKeys:t,setSelectedRowKeys:o}=e;return{async run(){let l=e.dataSource||[];e.setDataSource(l.filter((e,o)=>!t.includes(o))),o([])}}},useUpdateAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,n.useForm)(),{setVisible:o}=(0,i.useActionContext)(),l=(0,r.useContext)(u);return{async run(){let n=((null==l?void 0:l.dataSource)||[]).map((o,l)=>l===e?{...t.values}:o);l.setDataSource([...n]),o(!1)}}},useDestroyAction:()=>{let e=(0,i.useRecordIndex)(),t=(0,r.useContext)(u);return{async run(){let o=t.dataSource||[];t.setDataSource(o.filter((t,o)=>e!==o))}}}},p=(0,n.observer)(e=>{let[t,o]=(0,r.useState)([]),[n,a]=(0,r.useState)([]),c=(0,i.useRecord)(),p=(0,s.VB)(),m=(0,i.useRequest)(()=>{if("subTable"===c.interface){var e;return(null==c||null==(e=c.children)?void 0:e.length)?Promise.resolve({data:(null==c?void 0:c.children)||[]}):p.resource("fields").list({paginate:!1,sort:"sort",filter:{parentKey:c.key}}).then(e=>null==e?void 0:e.data)}return Promise.resolve({data:[]})},{onSuccess(e){console.log("dataSource1",null==e?void 0:e.data),a(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:d,children:(0,l.jsx)(u.Provider,{value:{rowKey:"name",service:m,dataSource:n,setDataSource:a,selectedRowKeys:t,setSelectedRowKeys:o},children:e.children})})},{displayName:"SubFieldDataSourceProvider_deprecated"}),m=(0,n.observer)(e=>{let{rowKey:t,collection:o,association:n}=e,[a,d]=(0,r.useState)([]),[c,p]=(0,r.useState)([]),m=(0,i.useRecord)(),h=(0,s.VB)(),{getCollection:x}=(0,i.useCollectionManager_deprecated)(),v=x(o),_=null==m?void 0:m[n.targetKey||"id"],f=(0,i.useRequest)(()=>{if(_){var e,t;return h.request({resource:`${n.collectionName}.${n.name}`,resourceOf:_,action:"list",params:{appends:null==v||null==(t=v.fields)||null==(e=t.filter(e=>e.target))?void 0:e.map(e=>e.name)}}).then(e=>e.data)}return Promise.resolve({data:(null==m?void 0:m[n.name])||[]})},{onSuccess(e){p(null==e?void 0:e.data)}});return(0,l.jsx)(i.CollectionProvider_deprecated,{collection:v,children:(0,l.jsx)(u.Provider,{value:{rowKey:t,service:f,dataSource:c,setDataSource:p,selectedRowKeys:a,setSelectedRowKeys:d},children:e.children})})},{displayName:"DataSourceProvider_deprecated"})},85162(e,t,o){o.d(t,{b:()=>i});var l=o(71178),n=o(52793);o(51649);var a=o(77843),r=o(38356);let i=()=>{let e=(0,r.useNavigate)(),{t}=(0,a.useTranslation)();return(0,l.jsx)(n.Result,{status:"404",title:"404",subTitle:t("Sorry, the page you visited does not exist."),extra:(0,l.jsx)(n.Button,{onClick:()=>e("/",{replace:!0}),type:"primary",children:"Back Home"})})}},25180(e,t,o){o.d(t,{$:()=>r});var l=o(71178),n=o(52793),a=o(51649);function r(e){let{title:t,defaultValue:o,onChange:r,options:i,fieldNames:s,...d}=e,[u,c]=(0,a.useState)(!1),p=(0,a.useRef)(null);return(0,l.jsxs)("div",{style:{alignItems:"center",display:"flex",justifyContent:"space-between"},onClick:e=>{e.stopPropagation(),c(e=>!e)},onMouseLeave:()=>{p.current=setTimeout(()=>{c(!1)},200)},children:[t,(0,l.jsx)(n.Select,{...d,open:u,"data-testid":`select-${t}`,popupMatchSelectWidth:!1,bordered:!1,defaultValue:o,onChange:r,popupClassName:`select-popup-${t.replaceAll(" ","-")}`,fieldNames:s,options:i,style:{textAlign:"right",minWidth:100},onMouseEnter:()=>{clearTimeout(p.current)}})]})}},52081(e,t,o){o.d(t,{W:()=>a});var l=o(83489),n=o(4627);let a=async(e,t)=>{if(!e)return e;let{evaluate:o}=l.evaluators.get("string"),{exp:a,scope:r}=await (0,n.qk)(e,t);return o(a,{now:()=>new Date().toString(),...r})}},53770(e,t,o){o.d(t,{$d:()=>n.$,Wu:()=>r.W,bM:()=>l.b,qA:()=>a.q});var l=o(85162),n=o(25180),a=o(57359),r=o(52081)},57359(e,t,o){o.d(t,{q:()=>i});var l=o(56920),n=o(46724),a=o(31574),r=o(32221);function i(){var e,t,o,i;let{fieldSchema:s,collectionField:d}=(0,r.BC)(),u=(0,l.useField)(),c=(0,a.oA)(),p=(0,l.useFieldSchema)(),m=(0,n.E1)(),h=s||p,x=d||m,v=(null==h||null==(e=h["x-component-props"])?void 0:e.mode)||(null==u||null==(t=u.componentProps)?void 0:t.mode)||(c?"FileManager":"")||(null==h||null==(o=h["x-component-props"])?void 0:o.component)||(null==x||null==(i=x.uiSchema)?void 0:i["x-component"]);return({AssociationField:"Select"})[v]||v}},85906(e,t,o){o.d(t,{t:()=>n});var l=o(51649);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,l.useRef)(0);return(0,l.useEffect)(()=>{let e=e=>{let{clientY:o}=e;t.current=Math.max(o,window.innerHeight-o)};return window.addEventListener("mousemove",e),()=>{window.removeEventListener("mousemove",e)}},[]),(0,l.useMemo)(()=>t.current-40,e)}},25739(e,t,o){o.d(t,{B:()=>s});var l=o(72741),n=o(51649),a=o(13975),r=o(52793);let i=e=>{let{children:t}=e,{token:o}=r.theme.useToken(),i=o.colorFillTertiary,s=new l.TinyColor(o.colorFill).onBackground(o.colorFillSecondary).toHexShortString(),d=new l.TinyColor(o.colorFill).onBackground(o.colorFill).toHexShortString(),u=new l.TinyColor(o.colorFill).onBackground(o.colorFill).onBackground(o.colorFill).toHexShortString();return(0,n.useEffect)(()=>{document.body.style.setProperty("--nb-spacing",`${o.marginLG}px`),document.body.style.setProperty("--nb-designer-offset",`${o.marginXS}px`),document.body.style.setProperty("--nb-header-height",`${o.sizeXXL-2}px`),document.body.style.setProperty("--nb-box-bg",o.colorBgLayout),document.body.style.setProperty("--colorBgLayout",o.colorBgLayout),document.body.style.setProperty("--colorBgContainer",o.colorBgContainer),document.body.style.setProperty("--controlHeightLG",`${o.controlHeightLG}px`),document.body.style.setProperty("--paddingContentVerticalSM",`${o.paddingContentVerticalSM}px`),document.body.style.setProperty("--marginSM",`${o.marginSM}px`),document.body.style.setProperty("--colorInfoBg",o.colorInfoBg),document.body.style.setProperty("--colorInfoBorder",o.colorInfoBorder),document.body.style.setProperty("--colorWarningBg",o.colorWarningBg),document.body.style.setProperty("--colorWarningBorder",o.colorWarningBorder),document.body.style.setProperty("--colorText",o.colorText),document.body.style.setProperty("--colorTextHeaderMenu",o.colorTextHeaderMenu),document.body.style.setProperty("--colorPrimaryText",o.colorPrimaryText),document.body.style.setProperty("--colorPrimaryTextActive",o.colorPrimaryTextActive),document.body.style.setProperty("--colorPrimaryTextHover",o.colorPrimaryTextHover),document.body.style.setProperty("--colorBgSider",o.colorBgSider),document.body.style.setProperty("--colorBgSiderMenuHover",o.colorBgSiderMenuHover),document.body.style.setProperty("--colorBgSiderMenuActive",o.colorBgSiderMenuActive),document.body.style.setProperty("--colorTextSiderMenu",o.colorTextSiderMenu),document.body.style.setProperty("--colorTextSiderMenuHover",o.colorTextSiderMenuHover),document.body.style.setProperty("--colorTextSiderMenuActive",o.colorTextSiderMenuActive),document.body.style.setProperty("--colorBgScrollTrack",i),document.body.style.setProperty("--colorBgScrollBar",s),document.body.style.setProperty("--colorBgScrollBarHover",d),document.body.style.setProperty("--colorBgScrollBarActive",u),document.body.style.setProperty("--colorSettings",o.colorSettings||a.defaultTheme.token.colorSettings),document.body.style.setProperty("--colorBgSettingsHover",o.colorBgSettingsHover),document.body.style.setProperty("--colorTemplateBgSettingsHover",o.colorTemplateBgSettingsHover),document.body.style.setProperty("--colorBorderSettingsHover",o.colorBorderSettingsHover),document.body.style.setProperty("--colorBgMenuItemSelected",o.colorBgHeaderMenuActive),document.body.style.setProperty("background-color",o.colorBgContainer)},[s,u,d,i,o.colorBgContainer,o.colorBgLayout,o.colorBgSettingsHover,o.colorTemplateBgSettingsHover,o.colorBorderSettingsHover,o.colorInfoBg,o.colorInfoBorder,o.colorPrimaryText,o.colorPrimaryTextActive,o.colorPrimaryTextHover,o.colorSettings,o.colorText,o.colorWarningBg,o.colorWarningBorder,o.controlHeightLG,o.marginLG,o.marginSM,o.marginXS,o.paddingContentVerticalSM,o.sizeXXL,o.colorTextHeaderMenu,o.colorBgSider,o.colorBgSiderMenuHover,o.colorBgSiderMenuActive,o.colorTextSiderMenu,o.colorTextSiderMenuHover,o.colorTextSiderMenuActive,o.colorBgHeaderMenuActive]),t};i.displayName="CSSVariableProvider";let s=i},29928(e,t,o){o.d(t,{y:()=>r});var l=o(77583),n=o(99982),a=o(63526);class r{addComponentOption(e){if(!this.componentOptions){var t,o,n,r,i,s;this.componentOptions=[];let e=null==(o=this.default)||null==(t=o.uiSchema)?void 0:t["x-component"],d=null==(r=this.default)||null==(n=r.uiSchema)?void 0:n["x-component-props"];if(e){let t=(null==(s=this.default)||null==(i=s.uiSchema)?void 0:i.type)||"string",o=(0,a.tval)(e.startsWith("Input")?(0,l.capitalize)(t):e.split(".").pop());this.componentOptions=[{label:o,value:e,useProps:()=>d||{}}]}}this.componentOptions.push(e)}getConfigureFormProperties(e){let t=this.hasDefaultValue?this.getDefaultValueProperty():{};this.availableValidationOptions.push("required");let o=null==e?void 0:e.view,a=(null==e?void 0:e.template)==="sql"||(null==e?void 0:e.sql),r=o||a||!this.validationType?{}:{validation:{title:'{{ t("Validation") }}',required:!1,"x-decorator":"FormItem","x-component":"FieldValidation","x-component-props":{type:this.validationType,availableValidationOptions:[...new Set(this.availableValidationOptions)],excludeValidationOptions:[...new Set(this.excludeValidationOptions)],isAssociation:this.isAssociation}}};return{...(0,l.cloneDeep)({...n.defaultProps,...null===this||void 0===this?void 0:this.properties}),...t,...r}}getDefaultValueProperty(){var e,t;return{defaultValue:{...(0,l.cloneDeep)(null===this||void 0===this||null==(e=this.default)?void 0:e.uiSchema),...null===this||void 0===this||null==(t=this.properties)?void 0:t.uiSchema,required:!1,title:'{{ t("Default value") }}',"x-decorator":"FormItem","x-reactions":[{dependencies:["uiSchema.x-component-props.gmt","uiSchema.x-component-props.showTime","uiSchema.x-component-props.dateFormat","uiSchema.x-component-props.timeFormat","uiSchema.x-component-props.picker","uiSchema.x-component-props.format"],fulfill:{state:{componentProps:{gmt:"{{$deps[0]}}",showTime:"{{$deps[1]}}",dateFormat:"{{$deps[2]}}",timeFormat:"{{$deps[3]}}",picker:"{{$deps[4]}}",format:"{{$deps[5]}}"}}}},{dependencies:["uiSchema.x-component-props.picker"],fulfill:{state:{value:null}}},{dependencies:["primaryKey","unique","autoIncrement","defaultToCurrentTime"],when:"{{$deps[0]||$deps[1]||$deps[2]||$deps[3]}}",fulfill:{state:{hidden:!0,value:null}},otherwise:{state:{hidden:!1}}},{dependencies:["uiSchema.enum"],fulfill:{state:{dataSource:"{{$deps[0]}}"}}}]}}}addOperator(e){(0,l.set)(this,"filterable.operators",[...this.filterable.operators||[]]),this.filterable.operators.find(t=>t.value===e.value)||this.filterable.operators.push(e)}constructor(e){this.collectionFieldInterfaceManager=e,this.availableValidationOptions=[]}}},32799(e,t,o){o.d(t,{y:()=>l.y,L:()=>n});var l=o(29928);class n{addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,Array.isArray(this.actionList[o.name])&&(this.actionList[o.name].forEach(e=>{o[e.type](e.data)}),this.actionList[o.name]=void 0),e},{});Object.assign(this.collectionFieldInterfaceInstances,t)}addFieldInterfaceComponentOption(e,t){let o=this.getFieldInterface(e);if(!o){this.actionList[e]||(this.actionList[e]=[]),this.actionList[e].push({type:"addComponentOption",data:t});return}o.addComponentOption(t)}addFieldInterfaceOperator(e,t){let o=this.getFieldInterface(e);null==o||o.addOperator(t)}getFieldInterface(e){return this.collectionFieldInterfaceInstances[e]}getFieldInterfaces(e){return Object.values(this.collectionFieldInterfaceInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)})}addFieldInterfaceGroups(e){Object.assign(this.collectionFieldGroups,e)}getFieldInterfaceGroups(){return this.collectionFieldGroups}getFieldInterfaceGroup(e){return this.collectionFieldGroups[e]}constructor(e,t,o){this.dataSourceManager=o,this.collectionFieldInterfaceInstances={},this.collectionFieldGroups={},this.actionList={},this.addFieldInterfaces(e),this.addFieldInterfaceGroups(t)}}},42219(e,t,o){o.d(t,{J:()=>g});var l=o(71178),n=o(56920),a=o(2314),r=o(27404),i=o(77583),s=o(51649),d=o(69412),u=o(30644),c=o(80461),p=o(82924),m=o(83508),h=o(59896),x=o(46724);let v=(e,t,o)=>{(0,a.untracked)(()=>{void 0===e[t]&&(e[t]=o)})},_=e=>{var t;let o=(0,p.lum)(),a=(0,n.useField)(),u=(0,n.useFieldSchema)(),{uiSchema:h,defaultValue:_}=(0,x.E1)(),{isAllowToSetDefaultValue:f}=(0,m.eT)(),g=(0,p.xZI)((null==(t=u["x-component-props"])?void 0:t.component)||(null==h?void 0:h["x-component"])||"Input"),b=(0,d.Es)(),y=(0,c.S)(null==h?void 0:h["x-use-component-props"],e);return((0,s.useEffect)(()=>{if(!h)return;let e=o(h);if(v(a,"content",e["x-content"]),v(a,"title",e.title),v(a,"description",e.description),null==b?void 0:b.form){let e=f()?u.default||_:void 0;null!=e&&v(a,"initialValue",e)}!a.validator&&(e["x-validator"]||u["x-validator"])&&(a.validator=(0,i.concat)([],e["x-validator"]||[],u["x-validator"]||[])),!0===u["x-disabled"]&&(a.disabled=!0),!0===u["x-read-pretty"]&&(a.readPretty=!0),void 0===u.required&&(a.required=!!e.required),a.dataSource=e.enum,a.data=a.data||{},a.data.dataSource=null==e?void 0:e.enum;let t=o(e["x-component-props"])||{};a.componentProps=(0,r.merge)(t,a.componentProps||{},y||{})},[h]),h)?(0,l.jsx)(g,{...e,...y}):null},f=e=>{var t;let o=(0,n.useField)(),a=(0,n.useFieldSchema)(),{uiSchema:r}=(0,u.ZC)(),i=(0,p.xZI)((null==(t=a["x-component-props"])?void 0:t.component)||(null==r?void 0:r["x-component"])||"Input"),d=(0,c.S)(null==r?void 0:r["x-use-component-props"],e);if((0,s.useEffect)(()=>{!0!==a["x-read-pretty"]||o.readPretty||(o.readPretty=!0),!0===a["x-disabled"]&&(o.disabled=!0),o.data=o.data||{},o.data.dataSource=null==r?void 0:r.enum},[o,a]),!r)return null;let m={...e,...d};return(0,h.DZ)(m.value)&&m.value===a.default&&(m.value=void 0),(0,l.jsx)(i,{...m})},g=(0,n.connect)(e=>{let t=(0,n.useFieldSchema)(),o=(0,u.IC)();return(0,l.jsx)(x.Ey,{name:t.name,children:o?(0,l.jsx)(f,{...e}):(0,l.jsx)(_,{...e})})});g.displayName="CollectionField"},46724(e,t,o){o.d(t,{E1:()=>c,Ey:()=>d,bJ:()=>u,yn:()=>s});var l=o(71178),n=o(51649),a=o(56920),r=o(40829),i=o(52968);let s=(0,n.createContext)(null);s.displayName="CollectionFieldContext";let d=e=>{let{name:t,children:o,allowNull:d}=e,u=(0,a.useFieldSchema)(),c=(0,r.Ge)(),p=(0,r.r2)(),m=(0,n.useMemo)(()=>{var e;if(!c)return null;let o=null==u||null==(e=u["x-component-props"])?void 0:e.field;return p.getCollectionField(null==u?void 0:u["x-collection-field"])||o||c.getField((null==o?void 0:o.name)||t)},[c,u,p,t]);return!m&&d?(0,l.jsx)(l.Fragment,{children:o}):m?(0,l.jsx)(s.Provider,{value:m,children:o}):(0,l.jsx)(i.x,{type:"Field",name:t})},u=e=>(0,l.jsx)(s.Provider,{value:null,children:e.children}),c=()=>(0,n.useContext)(s)},78813(e,t,o){o.d(t,{o:()=>l});class l{setData(e){this.data=e}setParentRecord(e){this.parentRecord=e}constructor(e){let{data:t,parentRecord:o,isNew:l}=e;this.isNew=l,this.data=t,this.parentRecord=o}}},35432(e,t,o){o.d(t,{Jw:()=>i,PD:()=>s,Vm:()=>u,tH:()=>r,vt:()=>c,zv:()=>d});var l=o(71178),n=o(51649),a=o(78813);let r=(0,n.createContext)(null);r.displayName="CollectionRecordContext";let i=n.default.memo(e=>{let{isNew:t,record:o,parentRecord:i,children:s}=e,d=(0,n.useMemo)(()=>i?i instanceof a.o?i:new a.o({data:i}):o instanceof a.o?o.parentRecord:void 0,[i,o]),u=(0,n.useMemo)(()=>{let e;return o?o instanceof a.o?(e=o).isNew=o.isNew||t:e=new a.o({data:o,isNew:t}):e=new a.o({isNew:t}),e.setParentRecord(d),e},[o,d,t]);return(0,l.jsx)(r.Provider,{value:u,children:s})});function s(){return(0,n.useContext)(r)}function d(){let e=s();return null==e?void 0:e.data}function u(){let e=s();return null==e?void 0:e.parentRecord}function c(){var e;let t=s();return null==t||null==(e=t.parentRecord)?void 0:e.data}i.displayName="CollectionRecordProvider"},66110(e,t,o){o.d(t,{Jw:()=>n.Jw,PD:()=>n.PD,Vm:()=>n.Vm,ol:()=>l.o,tH:()=>n.tH,vt:()=>n.vt,zv:()=>n.zv});var l=o(78813),n=o(35432)},14469(e,t,o){o.d(t,{$:()=>i,_:()=>r});var l=o(2314),n=o(77583);let a="__isNewRecord__",r=e=>(0,l.untracked)(()=>!!(null==e?void 0:e[a])),i=e=>{if(!(0,n.isObject)(e))throw Error("markRecordAsNew: record must be an object");return e[a]=!0,e}},83339(e,t,o){o.d(t,{T:()=>l});class l{constructor(e){this.collectionTemplateManager=e}}},86960(e,t,o){o.d(t,{C:()=>l});class l{addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.reduce((e,t)=>{let o=new t(this);return e[o.name]=o,e},{});return Object.assign(this.collectionTemplateInstances,t),this.dataSourceManager.getDataSources().forEach(e=>{let o=e.collectionManager.getCollections(e=>t[e.template]);e.collectionManager.reAddCollections(o)}),t}getCollectionTemplate(e){return this.collectionTemplateInstances[e]}getCollectionTemplates(e){return Object.values(this.collectionTemplateInstances).filter(t=>{var o,l;return!e||!t.supportDataSourceType&&!t.notSupportDataSourceType||(t.supportDataSourceType?null==(o=t.supportDataSourceType)?void 0:o.includes(e):t.notSupportDataSourceType?!(null==(l=t.notSupportDataSourceType)?void 0:l.includes(e)):void 0)}).sort((e,t)=>(e.order||0)-(t.order||0))}constructor(e,t){this.dataSourceManager=t,this.collectionTemplateInstances={},this.addCollectionTemplates(e)}}},94138(e,t,o){o.d(t,{$z:()=>p,KY:()=>c,UJ:()=>m});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174),s=o(49621);let d=(0,n.createContext)(null);d.displayName="ParentCollectionContext";let u=e=>{let t=(0,s.Ge)();return(0,l.jsx)(d.Provider,{value:t,children:e.children})},c=()=>(0,n.useContext)(d),p=e=>{let{name:t,children:o}=e,n=(0,i.r2)().getCollectionName(t);return n?(0,l.jsx)(s.Yz,{name:String(t).split(".")[0],children:(0,l.jsx)(u,{children:(0,l.jsx)(a.Ey,{name:t,children:(0,l.jsx)(s.Yz,{name:n,children:o})})})}):(0,l.jsx)(r.x,{type:"Collection",name:t})},m=()=>{let e=(0,a.E1)();return(null==e?void 0:e.target)?`${e.collectionName}.${e.name}`:null}},21086(e,t,o){o.d(t,{p:()=>n});var l=o(77583);class n{get fields(){return this.options.fields||[]}get app(){return this.collectionManager.app}get dataSource(){return this.options.dataSource}get sourceKey(){return this.options.sourceKey}get name(){return this.options.name}get key(){return this.options.key}get title(){return this.options.title}get inherit(){return this.options.inherit}get hidden(){return this.options.hidden}get description(){return this.options.description}get duplicator(){return this.options.duplicator}get category(){return this.options.category}get targetKey(){return this.options.targetKey}get model(){return this.options.model}get createdBy(){return this.options.createdBy}get updatedBy(){return this.options.updatedBy}get logging(){return this.options.logging}get from(){return this.options.from}get rawTitle(){return this.options.rawTitle}getPrimaryKey(){if(this.primaryKey)return this.primaryKey;if(this.options.targetKey)return this.options.targetKey;let e=this.getFields({primaryKey:!0})[0];return this.primaryKey=null==e?void 0:e.name,this.primaryKey}getFilterTargetKey(){return this.filterTargetKey||this.getPrimaryKey()||"id"}get inherits(){return this.options.inherits||[]}get titleField(){return this.hasField(this.options.titleField)?this.options.titleField:this.getPrimaryKey()}get sources(){return this.options.sources||[]}get template(){return this.options.template}get tableName(){return this.options.tableName}get viewName(){return this.options.viewName}get writableView(){return this.options.writableView}get filterTargetKey(){return this.options.filterTargetKey}get sortable(){return this.options.sortable}get autoGenId(){return this.options.autoGenId}get magicAttribute(){return this.options.magicAttribute}get tree(){return this.options.tree}get isThrough(){return this.options.isThrough}get autoCreate(){return this.options.autoCreate}get resource(){return this.options.resource}setOption(e,t){return this.options[e]=t,this}getOptions(){return this.options}getOption(e){return this.options[e]}getFields(e){return e?(0,l.filter)(this.fields,e):this.fields}getAllFields(e){return this.getFields(e)}getFieldsMap(){return this.fieldsMap||(this.fieldsMap=this.getFields().reduce((e,t)=>(e[t.name]=t,e),{})),this.fieldsMap}getFieldByAssociationName(e){let t=this.getFieldsMap(),[o,...l]=String(e).split("."),n=t[o];if(!n)return;let a=null==n?void 0:n.target;if(!a)return;let r=this.collectionManager.getCollection(a);if(r)return r.getField(l.join("."))}getField(e){if(!e)return;let t=this.getFieldsMap();if(String(e).split(".").length>1){let t=this.getFieldByAssociationName(e);return t||("string"==typeof e&&e.startsWith(`${this.name}.`)?(e=e.replace(`${this.name}.`,""),this.getField(e)):void 0)}return t[e]}hasField(e){return!!this.getField(e)}isTitleField(e){var t;return null==(t=this.app.dataSourceManager.collectionFieldInterfaceManager.getFieldInterface(e.interface))?void 0:t.titleUsable}isInherited(){return this.inherits.length>0}constructor(e,t){this.options=e,this.collectionManager=t}}},26174(e,t,o){o.d(t,{Jr:()=>i,Pf:()=>d,Xd:()=>c,r2:()=>u});var l=o(71178),n=o(51649),a=o(23460),r=o(17544);let i=(0,n.createContext)(null);i.displayName="CollectionManagerContext";let s=e=>{let{instance:t,children:o}=e,s=(0,a.xw)(),d=(0,r.h_)(),u=(0,n.useMemo)(()=>t||(null==s?void 0:s.collectionManager),[t,s]),[c,p]=n.default.useState(Math.random());(0,n.useEffect)(()=>{u.dataSource.addReloadCallback(()=>{p(Math.random())})},[u]);let m=(0,n.useMemo)(()=>(null==d?void 0:d.length)?u.clone(d):u,[u,d,c]);return(0,l.jsx)(i.Provider,{value:m,children:o})},d=e=>{let{instance:t,dataSource:o,children:n}=e;return(0,l.jsx)(a.tc,{dataSource:o,children:(0,l.jsx)(s,{instance:t,children:n})})};function u(){return(0,n.useContext)(i)}let c=e=>{let t=u();return(0,n.useMemo)(()=>t.getCollections(e),[t,e])}},49621(e,t,o){o.d(t,{$h:()=>p,CQ:()=>s,Ge:()=>c,N5:()=>u,Yz:()=>d});var l=o(71178),n=o(51649),a=o(46724),r=o(52968),i=o(26174);let s=(0,n.createContext)(null);s.displayName="CollectionContext";let d=e=>{let{name:t,children:o,allowNull:a}=e,d=(0,i.r2)(),u=(0,n.useMemo)(()=>null==d?void 0:d.getCollection(t),[d,t]);return!u&&a?(0,l.jsx)(l.Fragment,{children:e.children}):u||a?(0,l.jsx)(s.Provider,{value:u,children:o}):(0,l.jsx)(r.x,{type:"Collection",name:t})},u=e=>(0,l.jsx)(a.yn.Provider,{value:null,children:(0,l.jsx)(d,{...e})});function c(){return(0,n.useContext)(s)}let p=e=>{let t=c();return(0,n.useMemo)(()=>t.getFields(e),[t,e])}},17544(e,t,o){o.d(t,{Jl:()=>s,h_:()=>d,pi:()=>i});var l=o(71178),n=o(51649),a=o(23460),r=o(26174);let i=(0,n.createContext)(null);i.displayName="ExtendCollectionsContext";let s=e=>{let{children:t,collections:o}=e,s=d(),u=(0,n.useMemo)(()=>s?[...s,...o]:o,[s,o]),c=(0,a.Mp)();return(0,l.jsx)(i.Provider,{value:u,children:(0,l.jsx)(r.Pf,{dataSource:c,children:t})})};function d(){return(0,n.useContext)(i)}},40829(e,t,o){o.d(t,{pM:()=>l.p,r2:()=>u.r2,Jr:()=>u.Jr,Pf:()=>u.Pf,$z:()=>a.$z,UJ:()=>a.UJ,h_:()=>c.h_,pi:()=>c.pi,Jl:()=>c.Jl,qG:()=>d,KY:()=>a.KY,N5:()=>n.N5,Yz:()=>n.Yz,Xd:()=>u.Xd,$h:()=>n.$h,CQ:()=>n.CQ,Ge:()=>n.Ge});var l=o(21086),n=o(49621),a=o(94138),r=o(42966),i=o(7271);let s=(e,t)=>{let{rawTitle:o,title:l,fields:n=[],...a}=e,r=(o,l)=>{var n,a;if(e.disableTranslation)return o;if(null==(n=t.context)?void 0:n.t)return t.context.t(o,l);let r=t.i18n||(null==(a=t.getOptions)?void 0:a.call(t).i18n)||i.Ru;return(null==r?void 0:r.t)?r.t(o,l):o};return{...a,title:o?l:r(l,{ns:"lm-collections"}),rawTitle:o||l,fields:null==n?void 0:n.map(e=>{let{uiSchema:t,...o}=e;if(null==t?void 0:t.title){let e=t.title;t.title=t.rawTitle?e:r(e,{ns:"lm-collections"}),t.rawTitle=t.rawTitle||e}return Array.isArray(null==t?void 0:t.enum)&&(t.enum=t.enum.map(e=>({...e,value:(null==e?void 0:e.value)===void 0?e:e.value,label:e.rawLabel?e.label:r(e.label,{ns:"lm-collections"}),rawLabel:e.rawLabel||e.label}))),{uiSchema:t,...o}})}};class d{get dataSourceManager(){return this.dataSource.dataSourceManager}get app(){return this.dataSourceManager.app}getCollectionInstance(e){var t,o;let n,a=this.dataSource.dataSourceManager.collectionTemplateManager.getCollectionTemplate(e.template),r=(null==a?void 0:a.Collection)||l.p,i=null==a?void 0:a.transform,d={...i?i(s(e,this.app),this.app):s(e,this.dataSource.dataSourceManager.app),dataSource:this.dataSource.key};return t=this.dataSourceManager.collectionMixins,o=this,n=new r(d,o),t.forEach(e=>{let t=new e(d,o);Object.getOwnPropertyNames(t).forEach(e=>{let o=Object.getOwnPropertyDescriptor(t,e);o?Object.defineProperty(n,e,o):n[e]=t[e]}),Object.getOwnPropertyNames(e.prototype).forEach(t=>{"constructor"!==t&&(n.__proto__[t]=e.prototype[t])})}),n}getInstancesMap(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>this.getCollectionInstance(e)).reduce((e,t)=>(e[t.name]=t,e),{})}addCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.getInstancesMap(e);this.collectionInstancesMap={...this.collectionInstancesMap,...t},this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}setCollections(e){this.collectionInstancesMap=this.getInstancesMap(e),this.collectionInstancesArr=Object.values(this.collectionInstancesMap)}reAddCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.collectionInstancesArr,t=e.map(e=>e.getOptions());this.addCollections(t)}getCollection(e){if(e){if("object"==typeof e)return e.disableTranslation=!0,this.getCollectionInstance(e);if(String(e).split(".").length>1){let t=this.getCollectionField(e);if(!t)return;return this.getCollection(t.target)}return this.collectionInstancesMap[e]}}getCollections(e){return e?this.collectionInstancesArr.filter(e):this.collectionInstancesArr}getCollectionName(e){let t=this.getCollection(e);return null==t?void 0:t.name}getCollectionField(e){if(!e)return;if("object"==typeof e)return e;if(String(e).split(".").length<2)return void console.error(`[@nocobase/client]: CollectionManager.getField() path "${e}" is invalid`);let[t,...o]=String(e).split("."),l=this.getCollection(t);if(l)return l.getField(o.join("."))}getCollectionFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getFields(t))||[]}getCollectionAllFields(e,t){var o;return(null==(o=this.getCollection(e))?void 0:o.getAllFields(t))||[]}getFilterByTK(e,t){if(!e||!t)return void console.error("@nocobase/client]: CollectionManager.getFilterByTK() collectionOrAssociation or collectionRecordOrAssociationRecord is invalid");let o=(e,t)=>{if(!Array.isArray(e))return t[e];{let o={};return e.forEach(e=>{o[e]=t[e]}),r.default.stringify(o)}};if(e instanceof l.p)return o(e.getFilterTargetKey(),t);if(e.includes(".")){let l=this.getCollectionField(e);if(!l)return void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() field "${e}" is invalid`);let n=this.getCollection(l.target);if(n)return o(n.getFilterTargetKey(),t);if(l.targetKey)return t[l.targetKey]}let n=this.getCollection(e);return n?o(n.getFilterTargetKey(),t):void console.error(`[@nocobase/client]: CollectionManager.getFilterByTK() collection "${e}" is invalid`)}getSourceKeyByAssociation(e){if(!e)return;let t=this.getCollectionField(e);if(!t)return;if(t.sourceKey)return t.sourceKey;let o=this.getCollection(e.split(".")[0]);if(o)return o.filterTargetKey||o.getPrimaryKey()||"id"}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=new d([],this.dataSource);return t.collectionInstancesArr=this.collectionInstancesArr,t.collectionInstancesMap=this.collectionInstancesMap,t.addCollections(e),t}constructor(e,t){this.dataSource=t,this.collectionInstancesMap={},this.collectionInstancesArr=[],this.addCollections(e)}}var u=o(26174),c=o(17544)},92719(e,t,o){o.d(t,{I:()=>c});var l=o(56920),n=o(77583),a=o(77843),r=o(14669),i=o(46724),s=o(32221),d=o(61013),u=o(95951);let c={name:"fieldComponent",type:"select",useVisible(){let e=(0,i.E1)(),t=(0,r.m6)();if(!e)return!1;let o=t.collectionFieldInterfaceManager.getFieldInterface(null==e?void 0:e.interface);return Array.isArray(null==o?void 0:o.componentOptions)&&o.componentOptions.length>1&&o.componentOptions.filter(e=>!e.useVisible||e.useVisible()).length>1},useComponentProps(){var e,t,o,c;let{t:p}=(0,a.useTranslation)(),m=(0,l.useField)(),h=(0,l.useFieldSchema)(),x=(0,i.E1)(),v=(0,r.m6)().collectionFieldInterfaceManager.getFieldInterface(null==x?void 0:x.interface),{fieldSchema:_}=(0,s.BC)(),f=_||h,{dn:g}=(0,u.er)(),b=(0,d.l)(),y=(null==v||null==(t=v.componentOptions)||null==(e=t.filter(e=>!e.useVisible||e.useVisible()))?void 0:e.map(e=>({label:b(e.label),value:e.value,useProps:e.useProps})))||[];return{title:p("Field component"),options:y,value:(null==(o=f["x-component-props"])?void 0:o.component)||(null==(c=y[0])?void 0:c.value),onChange(e){var t;let o=y.find(t=>t.value===e),l={component:e,...(null==o||null==(t=o.useProps)?void 0:t.call(o))||{},...e===x.uiSchema["x-component"]?x.uiSchema["x-component-props"]:{}};n.default.set(f,"x-component-props",l),m.componentProps=l,g.emit("patch",{schema:{"x-uid":f["x-uid"],"x-component-props":l}})}}}}},52968(e,t,o){o.d(t,{b:()=>v,x:()=>h});var l=o(71178),n=o(52793),a=o(51649),r=o(77843),i=o(82924),s=o(23460),d=o(2490),u=o(67574),c=o(40829),p=o(71226);let{Text:m}=n.Typography,h=e=>{let{type:t,name:o,message:h}=e,{designable:x,dn:v}=(0,i.erX)(),{modal:_}=n.App.useApp(),{t:f}=(0,r.useTranslation)(),g=(0,s.xw)(),b=(0,i.lum)(),y=(0,c.Ge)(),S=(0,d.m6)(),k=(0,a.useMemo)(()=>{if("Data Source"===t)return o;let e=(null==S?void 0:S.getDataSources().length)>=1&&g&&g.key!==u.Ze?`${b(g.displayName||g.key)} > `:"";if("Collection"===t)return`${e}${o}`;let l=y?`${b(y.title)||y.name||y.tableName} > `:"";return`${e}${l}${o}`},[]),C=(0,a.useMemo)(()=>"Field"===t?"Field":"Block",[t]),M=(0,a.useMemo)(()=>o?h?`${f(t)} "${k}" ${h}`:f('The {{type}} "{{name}}" may have been deleted. Please remove this {{blockType}}.',{type:f(t).toLocaleLowerCase(),name:k,blockType:f(C).toLocaleLowerCase()}).replaceAll(">",">"):`${f(t)} name is required`,[h,k,t,f,C]);return x?"Field"===t?(0,l.jsx)(i.R_2,{ellipsis:!0,children:(0,l.jsx)(m,{type:"secondary",children:M})}):(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:M,extra:(0,l.jsx)(n.Button,{onClick:()=>_.confirm({title:f("Delete block"),content:f("Are you sure you want to delete it?"),...confirm,onOk(){v.remove(null,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}),v.refresh({refreshParentSchema:!0})}}),children:f("Delete")},"Delete")})}):null},x=()=>{let{t:e}=(0,r.useTranslation)(),t=(0,s.xw)(),o=(0,i.lum)(),m=(0,c.Ge)(),h=(0,d.m6)(),x=(0,a.useMemo)(()=>{let e=(null==h?void 0:h.getDataSources().length)>=1&&t&&t.key!==u.Ze?`${o(t.displayName||t.key)} > `:"";if(m)return`${e}${m.name}`;let l=m?`${o(m.title)||m.name||m.tableName} > `:"";return`${e}${l}${m.name}`},[]),v=(0,a.useMemo)(()=>e('The current user only has the UI configuration permission, but don\'t have view permission for collection "{{name}}"',{name:x}).replaceAll(">",">"),[x,e]);return(0,l.jsx)(p.t,{children:(0,l.jsx)(n.Result,{status:"404",subTitle:v})})},v=()=>{let{designable:e}=(0,i.erX)();return e?(0,l.jsx)(x,{}):null}},62248(e,t,o){o.d(t,{N:()=>r});var l=o(71178);o(51649);var n=o(14669),a=o(26174);let r=e=>{let{children:t,dataSourceManager:o,...r}=e;return(0,l.jsx)(n.e1,{dataSourceManager:o,children:(0,l.jsx)(a.Pf,{...r,children:t})})}},32444(e,t,o){o.d(t,{$$:()=>b,Kx:()=>S,Qj:()=>_,R6:()=>x,T4:()=>g,h6:()=>y,uG:()=>f});var l=o(71178),n=o(51649),a=o(42536),r=o(11482),i=o(80461),s=o(95951),d=o(40829),u=o(14187),c=o(46776),p=o(38892),m=o(76460),h=o(56920);let x=(0,n.createContext)({});x.displayName="DataBlockContext";let v=(0,n.createContext)(null),_=e=>{let{children:t}=e,[o,a]=n.default.useState(!1),r=(0,n.useMemo)(()=>({rerenderDataBlock:()=>{a(!0),setTimeout(()=>{a(!1)})}}),[]);return o?null:(0,l.jsx)(v.Provider,{value:r,children:t})},f=e=>{let{collection:t,association:o,allowNull:a=!1}=e,r=(0,n.useMemo)(()=>o?{Component:d.$z,name:o}:{Component:d.N5,name:t},[t,o]);return(0,l.jsx)(r.Component,{name:r.name,allowNull:a,children:e.children})},g=(0,i.T)(n.default.memo(e=>{let{collection:t,association:o,dataSource:n,children:i,hidden:v,...g}=e,{dn:b}=(0,s.er)(),y=(0,h.useFieldSchema)();return v?null:(0,l.jsx)(m.j0,{scopeId:null==y?void 0:y["x-uid"],type:"dataBlock",children:(0,l.jsx)(x.Provider,{value:{dn:b,props:{...g,collection:t,association:o,dataSource:n}},children:(0,l.jsx)(d.Pf,{dataSource:n,children:(0,l.jsx)(f,{collection:t,association:o,children:(0,l.jsx)(a.yb,{children:(0,l.jsx)(p._,{children:(0,l.jsx)(c.Fr,{children:(0,l.jsx)(u.Yu,{children:(0,l.jsx)(r.Pt,{params:e.params,children:(0,l.jsx)(_,{children:i})})})})})})})})})})}),{displayName:"DataBlockProvider"}),b=()=>{let e=(0,n.useContext)(x);if(!e)throw Error("useDataBlock() must be used within a DataBlockProvider");return e},y=()=>b().props,S=()=>{let e=(0,n.useContext)(v);if(!e)throw Error("useRerenderDataBlock() must be used within a DataBlockProvider");return e}},14187(e,t,o){o.d(t,{$G:()=>b,NB:()=>y,OO:()=>f,YE:()=>M,Yu:()=>S,ZK:()=>C,_J:()=>k});var l=o(71178),n=o(51649),a=o(77583),r=o(16211),i=o(41897),s=o(70136),d=o(43873),u=o(67242),c=o(79647),p=o(67285),m=o(66110),h=o(29558),x=o(32444),v=o(46776);let _=(0,n.createContext)(null);_.displayName="BlockRequestRefContext";let f=(0,n.createContext)(!1);f.displayName="BlockRequestLoadingContext";let g=(0,n.createContext)(null);async function b(e){let{sourceId:t,association:o,parentRecord:l,api:n,headers:a,sourceKey:r}=e;if(l)return Promise.resolve({data:l});if(!o||!r||!t)return Promise.resolve({data:void 0});let i=o.split("."),s=`${i[0]}:get?filter[${r}]=${t}`;return(await n.request({url:s,headers:a})).data}g.displayName="BlockRequestDataContext";let y=e=>{var t,o,r,s,d,u;let p=(0,n.useRef)(e.recordRequest),m=(0,n.useRef)(null==(t=e.recordRequest)?void 0:t.data),{active:h}=(0,c.Y)(),v=(0,i.$Q)(),b=(0,n.useRef)(h),y=(0,n.useRef)(v),S=(0,n.useDeferredValue)(h),k=(0,x.h6)(),C=b.current;return S&&!C&&y.current===v&&(a.default.isNil(k.dataLoadingMode)||"auto"===k.dataLoadingMode)&&(null==(d=e.recordRequest)||d.refresh()),!S||!C||(null==(o=e.recordRequest)?void 0:o.loading)||a.default.isEqual(m.current,null==(r=e.recordRequest)?void 0:r.data)||(m.current=null==(u=e.recordRequest)?void 0:u.data),h&&C&&(y.current=v),S!==C&&(b.current=S),p.current=e.recordRequest,(0,l.jsx)(_.Provider,{value:p,children:(0,l.jsx)(f.Provider,{value:null==(s=e.recordRequest)?void 0:s.loading,children:(0,l.jsx)(g.Provider,{value:m.current,children:e.children})})})},S=n.default.memo(e=>{var t,o;let{children:i}=e,{action:c,filterByTk:_,sourceId:f,params:g=p.M,association:S,collection:k,record:C,parentRecord:M,requestOptions:w,requestService:F}=(0,x.h6)(),P=function(e){let t=(0,d.fY)(),o=(0,v.jz)(),{action:l,params:i={},record:c,requestService:p,requestOptions:m,sourceId:_,association:f,parentRecord:g}=e,y=(0,r.VB)(),S=(0,x.h6)(),k=(0,h.TF)(S.dataSource),C=(0,u.i)(f),[M,w]=(0,n.useMemo)(()=>[JSON.stringify(i),JSON.stringify(c)],[i,c]),{isBlockTemplate:F,templateFinished:P}=(0,s.y)(),j=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(null==F?void 0:F())&&!P?null:(p||(e=>{var t;if(c)return Promise.resolve({data:c});if(!l)throw Error("[nocobase]: The 'action' parameter is missing in the 'DataBlockRequestProvider' component");if("get"===l&&a.default.isNil(i.filterByTk))return console.warn('[nocobase]: The "filterByTk" parameter is missing in the "DataBlockRequestProvider" component');let n={...void 0===i.filterByTk?a.default.omit(i,"filterByTk"):i,...e};return null==(t=o[l])?void 0:t.call(o,n).then(e=>e.data)}))(...t)},A=async function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];let[l,n]=await Promise.all([j(...t),b({sourceId:_,association:f,parentRecord:g,api:y,headers:k,sourceKey:C})]);return l&&(l.parentRecord=null==n?void 0:n.data),l},I=(0,r.bP)(A,{...m,manual:"manual"===t,ready:!!l,refreshDeps:[l,M,w,o,f,g,_,P]});return I._defaultParams=i,I}({action:c,sourceId:f,record:C,association:S,collection:k,requestOptions:w,requestService:F,params:(0,n.useMemo)(()=>({...g,filterByTk:_||g.filterByTk}),[_,g]),parentRecord:M}),j=null==(t=P.data)?void 0:t.parentRecord,A=(0,n.useMemo)(()=>j&&new m.ol({isNew:!1,data:j instanceof m.ol?j.data:j}),[j]);return(0,l.jsx)(y,{recordRequest:P,children:"list"!==c?(0,l.jsx)(m.Jw,{isNew:null==c,record:(null==(o=P.data)?void 0:o.data)||C,parentRecord:A||M,children:i}):(0,l.jsx)(m.Jw,{isNew:!1,record:null,parentRecord:A||M,children:i})})});S.displayName="DataBlockRequestProvider";let k=()=>{let e=(0,n.useContext)(_),t=(0,n.useContext)(f),o=(0,n.useContext)(g);return(0,n.useMemo)(()=>e?{...e.current,loading:t,data:o}:null,[e,o,t])},C=()=>{let e=(0,n.useContext)(_);return(0,n.useMemo)(()=>({getDataBlockRequest:()=>e?e.current:null}),[e])},M=()=>(0,n.useContext)(g)},46776(e,t,o){o.d(t,{Fr:()=>p,RE:()=>c,jz:()=>m});var l=o(71178),n=o(77583),a=o(51649),r=o(16211),i=o(40829),s=o(66110),d=o(29558),u=o(32444);let c=(0,a.createContext)(null);c.displayName="DataBlockResourceContext";let p=e=>{let{children:t}=e,o=(0,u.h6)(),p=(0,i.r2)(),{association:m,collection:h,dataSource:x,sourceId:v,parentRecord:_}=o,f=(0,r.VB)(),g=(0,d.TF)(x),b=(0,a.useMemo)(()=>"string"==typeof h?h:null==h?void 0:h.name,[h]),y=(0,a.useMemo)(()=>{if(v)return v;if(m&&_){let e=p.getSourceKeyByAssociation(m),t=_ instanceof s.ol?_.data:_;if(!(0,n.isArray)(e))return t[e];{let o={};for(let l of e)o[l]=null==t?void 0:t[l];return encodeURIComponent(JSON.stringify(o))}}},[m,v,_]),S=(0,a.useMemo)(()=>m?f.resource(m,y,g,!y):f.resource(b,void 0,g),[f,m,h,y,g]);return(0,l.jsx)(c.Provider,{value:S,children:t})};function m(){let e=(0,a.useContext)(c);if(!e)throw Error("useDataBlockResource() must be used within a DataBlockResourceProvider");return e}},593(e,t,o){o.d(t,{h:()=>a,q:()=>n});var l=o(40829);class n{get app(){return this.dataSourceManager.app}get key(){return this.options.key}get displayName(){return this.options.displayName}get status(){return this.options.status}get errorMessage(){return this.options.errorMessage}get collections(){return this.collectionManager.getCollections()||[]}getOptions(){return this.options}setOptions(e){Object.assign(this.options,e)}getOption(e){return this.options[e]}addReloadCallback(e){this.reloadCallbacks.includes(e)||this.reloadCallbacks.push(e)}removeReloadCallback(e){this.reloadCallbacks=this.reloadCallbacks.filter(t=>t!==e)}get flowEngineDataSourceManager(){var e;return null==(e=this.app.flowEngine)?void 0:e.context.dataSourceManager}async reload(){let e=await this.getDataSource(),t=this.flowEngineDataSourceManager;return t&&(t.upsertDataSource(this.options),t.getDataSource(this.key).upsertCollections(e.collections||[],{clearFields:!0})),this.setOptions(e),this.collectionManager.setCollections(e.collections||[]),this.reloadCallbacks.forEach(t=>t(e.collections)),this.options}constructor(e,t){this.options=e,this.dataSourceManager=t,this.reloadCallbacks=[],this.collectionManager=new l.qG(e.collections,this)}}class a extends n{getDataSource(){return{collections:this.collections}}}},67574(e,t,o){o.d(t,{Ze:()=>i,gP:()=>s,zA:()=>d});var l=o(593),n=o(86960),a=o(32799),r=o(77583);let i="main",s='{{t("Main")}}';class d{addCollectionMixins(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>!this.collectionMixins.includes(e));t.length&&(this.collectionMixins.push(...t),this.getDataSources().forEach(e=>e.collectionManager.reAddCollections()))}getDataSources(e){let t=Object.values(this.dataSourceInstancesMap);return e?r.default.filter(t,e):t}setDataSources(e){let t=r.default.keyBy(e,"key");Object.keys(this.dataSourceInstancesMap).forEach(e=>{let o=t[e];o&&this.dataSourceInstancesMap[e].setOptions({displayName:o.displayName,status:o.status})})}getDataSource(e){return e?this.dataSourceInstancesMap[e]:this.dataSourceInstancesMap[i]}removeDataSources(e){e.forEach(e=>{delete this.dataSourceInstancesMap[e]})}addDataSource(e,t){let o=new e(t,this);return this.dataSourceInstancesMap[o.key]=o,o}async addDataSources(e,t){this.multiDataSources.some(o=>{let[l,n]=o;return l===e&&n===t})||this.multiDataSources.push([e,t])}getAllCollections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{filterCollection:t,filterDataSource:o}=e;return this.getDataSources(o).reduce((e,o)=>(e.push({...o.getOptions(),collections:o.collectionManager.getCollections(t)}),e),[])}addFieldInterfaceGroups(e){this.collectionFieldInterfaceManager.addFieldInterfaceGroups(e)}addCollectionTemplates(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionTemplateManager.addCollectionTemplates(e)}addFieldInterfaces(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.collectionFieldInterfaceManager.addFieldInterfaces(e)}async reload(){return await Promise.all(this.multiDataSources.map(async e=>{let[t,o]=e;(await t()).map(e=>this.addDataSource(o,e))})),Promise.all(this.getDataSources().map(e=>e.reload()))}constructor(e={},t){this.options=e,this.app=t,this.dataSourceInstancesMap={},this.multiDataSources=[],this.collectionMixins=[],this.collectionTemplateManager=new n.C(e.collectionTemplates,this),this.collectionFieldInterfaceManager=new a.L(e.fieldInterfaces,e.fieldInterfaceGroups,this),this.collectionMixins.push(...e.collectionMixins||[]),this.addDataSource(l.h,{key:i,displayName:s,collections:e.collections||[],status:"loaded"}),(e.dataSources||[]).forEach(e=>{this.addDataSource(l.h,e)})}}},14669(e,t,o){o.d(t,{LQ:()=>s,e1:()=>r,m6:()=>i,oc:()=>a});var l=o(71178),n=o(51649);let a=(0,n.createContext)(null);a.displayName="DataSourceManagerContext";let r=e=>{let{children:t,dataSourceManager:o}=e;return(0,l.jsx)(a.Provider,{value:o,children:t})};function i(){return(0,n.useContext)(a)}function s(){let e=i();return{getAllCollectionsInheritChain:(0,n.useCallback)((t,o)=>{var l,n,a;return null==e||null==(a=e.getDataSource(o))||null==(n=a.collectionManager)||null==(l=n.getCollection(t))?void 0:l.getInheritChain()},[e])}}},23460(e,t,o){o.d(t,{Mp:()=>h,Vl:()=>c,tc:()=>p,xw:()=>m});var l=o(71178),n=o(51649),a=o(14669),r=o(52968),i=o(82924),s=o(52793),d=o(82113),u=o(77843);let c=(0,n.createContext)(null);c.displayName="DataSourceContext";let p=e=>{let{children:t,dataSource:o}=e,p=(0,a.m6)(),{t:m}=(0,u.useTranslation)(),{refresh:h}=(0,i.Fag)(),[x,v]=n.default.useState(0),_=null==p?void 0:p.getDataSource(o);return _?"loading-failed"===_.status?(0,l.jsx)(r.x,{type:"Data Source",name:_.displayName||o,message:_.errorMessage||"loading failed"}):"loading"===_.status||"reloading"===_.status?(0,l.jsx)(i.oVU,{children:(0,l.jsx)(s.Result,{icon:(0,l.jsx)(d.LoadingOutlined,{}),title:`${_.displayName||o} ${m("data source")} ${m("loading")}...`,extra:(0,l.jsx)(s.Button,{type:"primary",onClick:()=>_.reload().then(()=>{h(),v(Math.random())}),children:m("Refresh")})})}):(0,l.jsx)(c.Provider,{value:_,children:t}):(0,l.jsx)(r.x,{type:"Data Source",name:o})};function m(){return(0,n.useContext)(c)}function h(){let e=(0,n.useContext)(c);return null==e?void 0:e.key}},2490(e,t,o){o.d(t,{LQ:()=>r.LQ,Mp:()=>a.Mp,Vl:()=>a.Vl,Ze:()=>n.Ze,e1:()=>r.e1,gP:()=>n.gP,h0:()=>l.h,m6:()=>r.m6,oc:()=>r.oc,qS:()=>l.q,tc:()=>a.tc,xw:()=>a.xw,zA:()=>n.zA});var l=o(593),n=o(67574),a=o(23460),r=o(14669)},28227(e,t,o){o.d(t,{pM:()=>l.pM,I1:()=>N.I,qS:()=>h.qS,tH:()=>x.tH,$z:()=>l.$z,bC:()=>B,Pf:()=>l.Pf,T0:()=>i.T,SG:()=>L,UJ:()=>l.UJ,yz:()=>r.y,Ey:()=>a.Ey,C1:()=>s.C,R6:()=>m.R6,$G:()=>p.$G,Vm:()=>x.Vm,h6:()=>m.h6,YE:()=>p.YE,ZK:()=>p.ZK,tc:()=>h.tc,Qj:()=>m.Qj,bJ:()=>a.bJ,NB:()=>p.NB,_J:()=>p._J,Fr:()=>c.Fr,jz:()=>c.jz,LQ:()=>h.LQ,Ln:()=>r.L,N5:()=>l.N5,OO:()=>p.OO,$$:()=>m.$$,h0:()=>h.h0,xw:()=>h.xw,vt:()=>x.vt,JL:()=>n.J,b:()=>d.b,gP:()=>h.gP,Dk:()=>Y,r2:()=>l.r2,CQ:()=>l.CQ,Nd:()=>u.N,Jr:()=>l.Jr,h_:()=>l.h_,Kx:()=>m.Kx,oc:()=>h.oc,pi:()=>l.pi,Mp:()=>h.Mp,ol:()=>x.ol,qG:()=>l.qG,zv:()=>x.zv,KY:()=>l.KY,Yu:()=>p.Yu,Vl:()=>h.Vl,ji:()=>v.ji,Jy:()=>T,yn:()=>a.yn,Xd:()=>l.Xd,m6:()=>h.m6,E1:()=>a.E1,Ge:()=>l.Ge,PD:()=>x.PD,Jw:()=>x.Jw,Ze:()=>h.Ze,zA:()=>h.zA,Jl:()=>l.Jl,T4:()=>m.T4,RE:()=>c.RE,kb:()=>v.kb,xd:()=>d.x,uG:()=>m.uG,Yz:()=>l.Yz,e1:()=>h.e1,TF:()=>v.TF,$h:()=>l.$h});var l=o(40829),n=o(42219),a=o(46724),r=o(32799),i=o(83339),s=o(86960),d=o(52968),u=o(62248),c=o(46776),p=o(14187),m=o(32444),h=o(2490),x=o(66110),v=o(29558),_=o(71178);function f(e,t,o){var l;let{block:n,isReadPretty:a=e=>{let{form:t}=e;return t.readPretty},filter:r=()=>!0,getInitializerItem:i=()=>({}),getSchema:s=()=>({})}=e,{collectionManager:d,collection:u,dataSourceManager:c,actionContext:p}=o,m=null==(l=p.fieldSchema)?void 0:l["x-action"];return u?t.map(e=>{let t=d.getCollection(e.target),l=c.collectionFieldInterfaceManager.getFieldInterface(e.interface);return{collectionField:e,context:{...o,targetCollection:t,collectionFieldInterface:l}}}).filter(e=>{let{collectionField:t}=e;return t.interface}).filter(e=>{let{collectionField:t,context:o}=e;return r(t,o)}).map(e=>{var t,o;let{collectionField:l,context:n}=e,a={type:"string",title:(null==l||null==(t=l.uiSchema)?void 0:t.title)||l.name,name:l.name,"x-component":"CollectionField","x-collection-field":`${u.name}.${l.name}`,"x-read-pretty":null==l||null==(o=l.uiSchema)?void 0:o["x-read-pretty"]},r=s(l,{...n,defaultSchema:a}),i={...a,...r||{}};return{collectionField:l,schema:i,context:{...n,schema:i}}}).map(e=>{var t;let{collectionField:o,context:l}=e,r={type:"item",name:o.name,title:(null==o||null==(t=o.uiSchema)?void 0:t.title)||o.name,Component:"CollectionFieldInitializer",schemaInitialize:e=>{var t,r;null==(r=l.collectionFieldInterface)||null==(t=r.schemaInitialize)||t.call(r,e,{field:o,block:n,readPretty:null==a?void 0:a(l),action:m,targetCollection:l.targetCollection})},schema:l.schema};return{collectionField:o,context:l,defaultInitializerItem:r}}).map(e=>{let{collectionField:t,defaultInitializerItem:o,context:l}=e,n=i(t,{...l,defaultInitializerItem:o});return{...o,...n||{}}}):[]}o(51649);var g=o(56920),b=o(77843),y=o(49621),S=o(23460),k=o(78562),C=o(26174),M=o(14669),w=o(82924);function F(){let{t:e}=(0,b.useTranslation)(),t=(0,y.Ge)(),o=(0,M.m6)(),l=(0,k.D5)(),n=(0,S.xw)(),a=(0,g.useForm)(),r=(0,g.useFieldSchema)(),i=(0,C.r2)();return{t:e,compile:(0,w.lum)(),actionContext:l,fieldSchema:r,collection:t,dataSource:n,form:a,collectionManager:i,dataSourceManager:o}}var P=o(96023);let j=e=>{let t=F(),{t:o,collection:l}=t,n=f(e,l.getFields(),t);return(0,_.jsx)(P.G0,{title:o("Display fields"),children:n})},A=e=>{let t=F(),{collection:o,t:l,collectionManager:n}=t,a=o.getParentCollectionsName();if(!a.length)return null;let r=a.map(e=>{let t=o.getParentCollectionFields(e);return 0===t.length?null:{parentCollection:n.getCollection(e),parentCollectionFields:t}}).filter(Boolean).map(o=>{let{parentCollection:n,parentCollectionFields:a}=o,r={...t,collection:n};return{type:"itemGroup",divider:!0,title:l("Parent collection fields")+"("+t.compile(n.title)+")",children:f(e,a,r)}});return(0,_.jsx)(P.ZI,{children:r})},I=e=>{let{filterAssociationField:t,filterSelfField:o=()=>!0,getSchema:l,...n}=e,{collection:a,t:r,collectionManager:i}=e.context,s=a.getFields(),d=["o2o","oho","obo","m2o"],u=s.filter(e=>d.includes(e.interface)).filter(t=>o(t,e.context));if(!u.length)return null;let c=u.map(e=>{let t=i.getCollection(e.target);if(!t)return null;let o=null==t?void 0:t.getAllFields();return o.length?{associationField:e,associationCollection:t,associationCollectionFields:o}:null}).filter(Boolean).map(o=>{var r,i;let{associationField:s,associationCollection:d,associationCollectionFields:u}=o,c={...e.context,collection:d};return{type:"subMenu",name:null==(r=s.uiSchema)?void 0:r.title,title:null==(i=s.uiSchema)?void 0:i.title,children:f({...n,filter:t,getSchema:(e,t)=>({...l(e,t)||{},"x-read-pretty":!0,name:`${s.name}.${e.name}`,"x-collection-field":`${a.name}.${s.name}.${e.name}`})},u,c)}});return c.length?(0,_.jsx)(P.G0,{title:r("Display association fields"),children:c}):null},T=e=>{let{selfField:t,parentField:o,associationField:l,block:n}=e,a=F();return a.collection?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(j,{block:n,...t,context:{...a,collection:a.collection}}),o&&(0,_.jsx)(A,{block:n,...o,context:{...a,collection:a.collection}}),l&&(0,_.jsx)(I,{block:n,...l,context:{...a,collection:a.collection}})]}):null};var D=o(81936);let L=(e,t,o)=>{let l=(0,D.Rg)(e,"x-component","Kanban");return(0,D.Rg)(l,t,o)},Y=e=>{let t=(null==e?void 0:e.block)||"Form",o={"x-toolbar":"FormItemSchemaToolbar","x-settings":"fieldSettings:FormItem","x-decorator":"FormItem"},l={remove:D.AZ};return(0,_.jsx)(T,{block:t,selfField:{filter:e=>!e.treeChildren,getSchema:(e,t)=>{var l,n;let{targetCollection:a}=t,r=(null==a?void 0:a.template)==="file",i=null==e||null==(n=e.uiSchema)||null==(l=n["x-component-props"])?void 0:l.fieldNames;return{...o,"x-component-props":r?{fieldNames:{label:"preview",value:"id"}}:a&&i?{fieldNames:{...i,label:(null==a?void 0:a.titleField)||i.label}}:{}}},getInitializerItem:()=>({...l,find:(null==e?void 0:e.block)==="Kanban"?L:void 0})},parentField:{getSchema:()=>o,getInitializerItem:()=>l},associationField:{filterSelfField:e=>"Form"!==t||(null==e?void 0:e.interface)==="m2o",filterAssociationField:e=>(null==e?void 0:e.interface)&&!["subTable"].includes(null==e?void 0:e.interface)&&!e.treeChildren,getSchema:()=>o,getInitializerItem:()=>l}})},R=["attachment","textarea","markdown","json","richText","polygon","circle","point","lineString"],B=e=>{function t(e){let{fieldSchema:t,form:o}=e;return"AssociationField.SubTable"!==t["x-component"]||o.readPretty}return(0,_.jsx)(T,{block:"Table",selfField:{isReadPretty:t,filter:e=>"subTable"!==e.interface&&!e.treeChildren,getSchema:(e,o)=>{var l,n;let{targetCollection:a,fieldSchema:r,form:i}=o,s=(null==a?void 0:a.template)==="file",d=(null==(l=e.uiSchema)?void 0:l["x-component"])==="Preview",u="AssociationField.SubTable"===r["x-component"];return{"x-component-props":s?{fieldNames:{label:"preview",value:"id"}}:d?{size:"small"}:{},"x-read-pretty":t({fieldSchema:r,form:i})||(null==(n=e.uiSchema)?void 0:n["x-read-pretty"]),"x-decorator":u?R.includes(e.interface)||s?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({find:D.Oo,remove:D.nt})},parentField:{isReadPretty:t,getSchema(e,o){var l;let{targetCollection:n,fieldSchema:a,form:r}=o,i=(null==n?void 0:n.template)==="file",s="AssociationField.SubTable"===a["x-component"];return{"x-component-props":i?{fieldNames:{label:"preview",value:"id"}}:{},"x-read-pretty":t({fieldSchema:a,form:r})||(null==(l=e.uiSchema)?void 0:l["x-read-pretty"]),"x-decorator":s?R.includes(e.interface)||i?"QuickEdit":"FormItem":null,"x-decorator-props":{labelStyle:{display:"none"}}}},getInitializerItem:()=>({remove:D.AZ})},associationField:{filterAssociationField:e=>!["subTable"].includes(e.interface)&&!e.treeChildren,getSchema:()=>({}),getInitializerItem:()=>({find:D.Oo,remove:D.nt})}})};var N=o(92719)},29558(e,t,o){o.d(t,{TF:()=>i,ji:()=>r,kb:()=>s});var l=o(51649),n=o(67574);let a="x-data-source",r=(e,t)=>{var o;return null==(o=e.collectionFieldInterfaceManager.getFieldInterface(t.interface))?void 0:o.titleUsable},i=e=>(0,l.useMemo)(()=>{if(e&&e!==n.Ze)return{[a]:e}},[e]),s=e=>e&&e!==n.Ze?{[a]:e}:{}},50255(e,t,o){o.d(t,{L2:()=>m,er:()=>p,pf:()=>d,rN:()=>c,to:()=>s,vB:()=>u});var l=o(71178),n=o(51649),a=o(83468),r=o(86393),i=o(504);let s=(0,n.createContext)({getTitle:()=>"",setTitle:()=>{}});s.displayName="DocumentTitleContext";let d=n.default.memo(e=>{let{addonBefore:t,addonAfter:o}=e,a=(0,i.useFlowEngineContext)(),r=a.t.bind(a),d=e=>a.t(e,{ns:"lm-desktop-routes"}),u=e=>a.t(e,{ns:"lm-collections"}),c=n.default.useRef(""),p=(0,n.useCallback)(()=>c.current,[]),m=(0,n.useCallback)(e=>{setTimeout(()=>{document.title=c.current=`${t?` - ${r(t)}`:""}${d(e||"")}${o?` - ${u(o)}`:""}`})},[o,t,r,d,u]),h=(0,n.useMemo)(()=>({getTitle:p,setTitle:m}),[p,m]);return(0,l.jsx)(s.Provider,{value:h,children:e.children})});d.displayName="DocumentTitleProvider";let u=e=>{var t,o;let n=(0,r.e6)();return(0,l.jsx)(d,{addonAfter:null==n||null==(o=n.data)||null==(t=o.data)?void 0:t.title,children:e.children})},c=()=>(0,n.useContext)(s),p=e=>{let{setTitle:t}=c();(0,n.useEffect)(()=>{t(e)},[t,e])};class m extends a.k{async load(){this.app.use(u,this.options)}}},11482(e,t,o){o.d(t,{$3:()=>h,Pt:()=>x,xZ:()=>v});var l=o(71178),n=o(56920),a=o(77583),r=o(49621),i=o(14187),s=o(43873),d=o(82924),u=o(58980),c=o(51649),p=o(50570);let m=(0,c.createContext)(null);m.displayName="FilterContext";let h=c.default.memo(e=>{let{children:t}=e,o=c.default.useRef([]),n=(0,c.useCallback)(e=>{"function"==typeof e?o.current=e(o.current):o.current=e},[]),a=(0,c.useCallback)(()=>o.current,[]),r=(0,c.useMemo)(()=>({getDataBlocks:a,setDataBlocks:n}),[a,n]);return(0,l.jsx)(m.Provider,{value:r,children:t})});h.displayName="FilterBlockProvider";let x=e=>{let{children:t,params:o}=e,a=(0,r.Ge)(),{recordDataBlocks:p}=v(),{getDataBlockRequest:m}=(0,i.ZK)(),h=(0,n.useField)(),x=(0,n.useFieldSchema)(),_=(0,u.ze)(),f=(0,c.useRef)(null),g=(0,s.fY)(),b=h&&"FilterFormBlockProvider"!==h.decoratorType&&"FormBlockProvider"!==h.decoratorType&&"filter"!==h.decoratorProps.blockType,y=(0,c.useCallback)(()=>{let e=m();p({uid:x["x-uid"],title:h.componentProps.title,doFilter:e.runAsync,collection:a,associatedFields:_,foreignKeyFields:null==a?void 0:a.getFields("isForeignKey"),defaultFilter:(null==o?void 0:o.filter)||{},service:e,dom:f.current,dataLoadingMode:g,clearFilter(e){var t,l,n;let a=(null==(t=this.service.params)?void 0:t[0])||{},r=(null==(n=this.service.params)||null==(l=n[1])?void 0:l.filters)||{};delete r[e];let i=(0,u.Dj)([...Object.values(r).map(e=>(0,d.pA3)(e)),(null==o?void 0:o.filter)||{}]);this.service.run({...a,page:1,filter:i},{filters:r})},clearData(){this.service.mutate(void 0)},clearSelection(){if(h){var e,t;null==(t=h.data)||null==(e=t.clearSelectedRowKeys)||e.call(t)}},highlightBlock(){var e;let t=f.current;if(!t)return;let o=t.querySelector(".ant-nb-schema-toolbar");o&&o.classList.remove("hidden"),t.style.boxShadow="0 3px 12px rgba(0, 0, 0, 0.15)",t.style.transition="box-shadow 0.3s ease, transform 0.2s ease",null==(e=t.scrollIntoView)||e.call(t,{behavior:"smooth",block:"start"})},unhighlightBlock(){let e=f.current;if(!e)return;let t=e.querySelector(".ant-nb-schema-toolbar");t&&t.classList.add("hidden"),e.style.boxShadow="none",e.style.transition="box-shadow 0.3s ease, transform 0.2s ease"}})},[_,a,g,x,null==o?void 0:o.filter,p,m,h]);return(0,c.useEffect)(()=>{b&&y()},[y,b]),(0,l.jsx)("div",{ref:f,children:t})},v=()=>{let e=c.default.useContext(m),t=(0,p.dW)(),o=(0,c.useCallback)(()=>(null==e?void 0:e.getDataBlocks())||[],[e]),l=(0,c.useCallback)(o=>{t.recordDataBlocks(o);let l=null==e?void 0:e.getDataBlocks().find(e=>e.uid===o.uid);l?Object.assign(l,o):null==e||e.setDataBlocks(e=>[...e,o])},[e]),n=(0,c.useCallback)(o=>{t.removeDataBlock(o),null!=e&&e.getDataBlocks().every(e=>e.uid!==o)||null==e||e.setDataBlocks(e=>e.filter(e=>e.uid!==o))},[e]);return e?{recordDataBlocks:l,getDataBlocks:o,removeDataBlock:n,inProvider:!0}:{inProvider:!1,recordDataBlocks:a.default.noop,getDataBlocks:o,removeDataBlock:a.default.noop}}},65613(e,t,o){o.d(t,{$3:()=>l.$3,Dj:()=>n.Dj,I1:()=>n.I1,Lt:()=>n.Lt,Pt:()=>l.Pt,Rm:()=>n.Rm,SU:()=>n.SU,TQ:()=>n.TQ,Uf:()=>n.Uf,W0:()=>n.W0,eB:()=>n.eB,vc:()=>n.vc,xZ:()=>l.xZ,ze:()=>n.ze});var l=o(11482),n=o(58980)},58980(e,t,o){o.d(t,{Dj:()=>h,I1:()=>m,Lt:()=>x,Rm:()=>v,SU:()=>f,TQ:()=>y,Uf:()=>_,W0:()=>b,eB:()=>S,vc:()=>k,ze:()=>g});var l,n=o(56920),a=o(63526),r=o(77583),i=o(51649),s=o(73761),d=o(49621),u=o(14669),c=o(82924),p=o(11482),m=((l={})[l.FORM=0]="FORM",l[l.TABLE=1]="TABLE",l[l.TREE=2]="TREE",l[l.COLLAPSE=3]="COLLAPSE",l);let h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$and",o=e.filter(e=>{if(e&&"object"==typeof e&&!Array.isArray(e))return Object.values(e).filter(e=>void 0!==e).length});return 0===o.length?{}:1===o.length?o[0]:{[t]:o}},x=(e,t)=>{var o;return null==(o=t.associatedFields)?void 0:o.filter(t=>null==e?void 0:e.some(e=>e===t.target))},v=(e,t)=>{var o;return null==(o=t.foreignKeyFields)?void 0:o.filter(t=>e.fields.some(e=>"belongsTo"!==e.type&&e.foreignKey===t.name&&e.target===t.collectionName))},_=e=>{let{getDataBlocks:t}=(0,p.xZ)(),o=(0,n.useFieldSchema)(),l=(0,d.Ge)(),{getAllCollectionsInheritChain:a}=(0,u.LQ)();return 0===e||3===e?t().filter(e=>y(e.collection,l)):1===e||2===e?t().filter(e=>{var t,n;return o["x-uid"]!==e.uid&&(y(e.collection,l)||(null==(t=x(a(l.name,l.dataSource),e))?void 0:t.length)||(null==(n=v(l,e))?void 0:n.length))}):void 0},f=(e,t,o,l)=>({$and:Object.keys(e=(0,a.flatten)(e,{breakOn(e){let{value:n,path:a}=e;if(["$match","$notMatch","$anyOf","$noneOf","$childIn","$childNotIn","$dateBetween","$in","$notIn"].includes(t[a]))return!0;let r=o(`${l}.${a}`);if(["datetime","datetimeNoTz","date","unixTimestamp","createdAt","updatedAt"].includes(null==r?void 0:r.interface))return!0;if(null==r?void 0:r.target){if(Array.isArray(n))return!0;let e=r.targetKey||"id";if(n&&null!=n[e])return!0}return!1}})).map(n=>{let i=r.default.get(e,n),s=o(`${l}.${n}`);return((null==s?void 0:s.target)&&["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(s.type)&&(i=(0,a.getValuesByPath)(i,s.targetKey||"id"),n=`${n}.${s.targetKey||"id"}`,(null==s?void 0:s.interface)==="chinaRegion"&&(i=r.default.last(i))),i||0===i||!1===i)?{[n]:{[t[n]||"$eq"]:i}}:null}).filter(Boolean)}),g=()=>{var e;return(null==(e=(0,d.Ge)())?void 0:e.fields.filter(e=>b(e)))||[]},b=e=>["o2o","oho","obo","m2o","createdBy","updatedBy","o2m","m2m","linkTo","chinaRegion","mbm"].includes(null==e?void 0:e.interface),y=(e,t)=>e.name===t.name&&e.dataSource===t.dataSource,S=()=>{let e=(0,n.useFieldSchema)(),{getDataBlocks:t}=(0,p.xZ)(),{targets:o,uid:l}=(0,s.findFilterTargets)(e),a=t(),[d,u]=(0,i.useState)(()=>o&&o.some(e=>a.some(t=>t.uid===e.uid))),m=Object.keys(o||{});return(0,i.useEffect)(()=>{u(o&&o.some(e=>a.some(t=>t.uid===e.uid)))},[m.length,o,a]),{isConnected:d,doFilter:(0,i.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$eq",s=a.find(t=>t.uid===e.parent["x-uid"]);a.forEach(e=>{var a,d,u,p,m,x,v,_,f;let g,b=n,y=o.find(t=>t.uid===e.uid);if(!y)return;r.default.isFunction(t)&&(t=t(y,e,(m=s,x=y.field,(null==(g=null==m||null==(v=m.associatedFields)?void 0:v.find(e=>e.foreignKey===x))?void 0:g.sourceKey)||(null==x||null==(f=x.split)||null==(_=f.call(x,"."))?void 0:_[1])))),r.default.isFunction(n)&&(b=n(y,e)),r.default.isFunction(i)&&(i=i(y));let S=(null==(a=e.service.params)?void 0:a[0])||{},k=(null==(u=e.service.params)||null==(d=u[1])?void 0:d.filters)||{};if(null!=t)k[l]={$and:[{[b]:{[i]:t}}]};else if(null==(p=e.clearSelection)||p.call(e),delete k[l],"manual"===e.dataLoadingMode)return e.clearData();let C=h([...Object.values(k).map(e=>(0,c.pA3)(e)),e.defaultFilter]);e.doFilter({...S,page:1,filter:C},{filters:k})})},[a,o,l,e])}},k=e=>{for(;e;){if(e["x-filter-targets"])return"FilterFormBlockProvider"===e["x-decorator"];e=e.parent}return!1}},4658(e,t,o){o.d(t,{I:()=>n,U:()=>a});var l=o(71178);let n=o(51649).default.createContext(null),a=e=>(0,l.jsx)(n.Provider,{value:e,children:e.children})},92619(e,t,o){o.d(t,{_:()=>a});var l=o(51649),n=o(4658);let a=()=>(0,l.useContext)(n.I)||{}},69575(e,t,o){o.d(t,{Im:()=>l.I,UU:()=>l.U,_P:()=>n._});var l=o(4658),n=o(92619)},30644(e,t,o){o.d(t,{ZC:()=>C,E0:()=>y,cQ:()=>S,dw:()=>A,Tu:()=>M,Bs:()=>P,IC:()=>j,o8:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(77583),s=o(51649),d=o(26174),u=o(49621),c=o(93726),p=o(67285),m=o(61013);let h=e=>{var t;let o,r,i=(0,s.useContext)(n.SchemaComponentsContext),d=e.field,u=((e,t)=>{if((e||t)&&!(0,a.isFn)(e))return(0,l.jsxs)(s.Fragment,{children:[e,t]})})((o=e.children,r=d.form,(0,a.isFn)(o)?o(d,r):o),d.content??d.componentProps.children);if("visible"!==d.display)return null;let c=e=>e&&("object"==typeof e||"function"==typeof e)?e:a.FormPath.getIn(i,e)??e;return t=d.componentType?s.default.createElement(c(d.componentType),{...d.componentProps,value:d.value},u):u,d.decoratorType?s.default.createElement(c(d.decoratorType),d.decoratorProps,t):(0,l.jsx)(s.Fragment,{children:t})};h.displayName="NocoBaseReactiveInternal",h.displayName="NocoBaseReactiveField";class x{initialize(){var e,t,o,l,n,r,s,d,u,c,p,m,h,x,v,_,f,g,b,y;let S=this.props.compile;this.pattern="readPretty",this.readPretty=!0,this.initialized=!0,this.loading=!1,this.validating=!1,this.submitting=!1,this.selfModified=!1,this.active=!1,this.visited=!0,this.mounted=!0,this.unmounted=!1,this.inputValues=[],this.inputValue=null,this.feedbacks=[],this.title=S(this.props.title||(null==(e=this.props.schema)?void 0:e.title)),this.description=S(this.props.description||(null==(t=this.props.schema)?void 0:t.description)),this.display="visible",this.editable=this.props.editable||(null==(o=this.props.schema)?void 0:o["x-editable"]),this.disabled=this.props.disabled||(null==(l=this.props.schema)?void 0:l["x-disabled"]),this.readOnly=this.props.readOnly||(null==(n=this.props.schema)?void 0:n["x-read-only"]),this.visible=this.props.visible||(null==(r=this.props.schema)?void 0:r["x-visible"]),this.hidden=this.props.hidden||(null==(s=this.props.schema)?void 0:s["x-hidden"]),this.dataSource=S(this.props.dataSource||(null==(d=this.props.schema)?void 0:d.enum)),this.validator=this.props.validator,this.required=this.props.required||!!(null==(u=this.props.schema)?void 0:u.required),this.content=S(this.props.content||(null==(c=this.props.schema)?void 0:c["x-content"])),this.initialValue=S(this.props.initialValue||(null==(p=this.props.schema)?void 0:p.default)),this.value=S(this.props.value),this.data=this.props.data||(null==(m=this.props.schema)?void 0:m["x-data"]),this.decorator=this.props.decorator?(0,a.toArr)(this.props.decorator):[null==(h=this.props.schema)?void 0:h["x-decorator"],null==(x=this.props.schema)?void 0:x["x-decorator-props"]],this.component=this.props.component?(0,a.toArr)(this.props.component):[null==(v=this.props.schema)?void 0:v["x-component"],null==(_=this.props.schema)?void 0:_["x-component-props"]],this.decoratorProps=(null==(f=this.props.schema)?void 0:f["x-decorator-props"])||{},this.componentProps=(null==(g=this.props.schema)?void 0:g["x-component-props"])||{},this.decoratorType=null==(b=this.props.schema)?void 0:b["x-decorator"],this.componentType=null==(y=this.props.schema)?void 0:y["x-component"],this.path={},this.form={},this.address={concat:i.default.noop}}constructor(e){this.props=e,this.initialize()}}let v=e=>{let t=(0,m.l)(),o=(0,n.useFieldSchema)(),a=(0,s.useMemo)(()=>new x({...e,compile:t}),[]);return Object.assign(a.componentProps,o["x-component-props"]),a.value=e.value,(0,l.jsx)(n.FieldContext.Provider,{value:a,children:(0,l.jsx)(h,{field:a,children:e.children})})},_=s.default.createContext({}),f=s.default.createContext(i.default.noop),g=e=>{let{children:t,refresh:o}=e,n=k(),a=(0,s.useCallback)(e=>{o(),(null==e?void 0:e.refreshParentSchema)&&(null==n||n())},[n,o]);return(0,l.jsx)(f.Provider,{value:a,children:t})},b=s.default.createContext(i.default.noop),y=e=>{let{children:t,refresh:o}=e;return(0,l.jsx)(b.Provider,{value:o,children:t})},S=()=>s.default.useContext(b),k=()=>s.default.useContext(f),C=()=>s.default.useContext(_)||{},M=e=>{let{children:t,fieldSchema:o}=e,n=(0,u.Ge)(),a=(0,d.r2)(),r=null==o?void 0:o.name,i=(0,s.useMemo)(()=>{var e;if(!n)return null;let t=null==o||null==(e=o["x-component-props"])?void 0:e.field;return a.getCollectionField(null==o?void 0:o["x-collection-field"])||t||n.getField((null==t?void 0:t.name)||r)},[n,a,o,r]);return(0,l.jsx)(_.Provider,{value:i,children:t})},w=i.default.memoize((e,t)=>e.toFieldProps({scope:t})),F=(e,t,o)=>{let l=e.toJSON();if(o){if(!l.properties)return e;let o=Object.keys(l.properties)[0],r=Object.values(l.properties)[0];return l.properties[o]=(0,a.merge)(i.default.omit(t,"type","x-read-pretty"),r),new n.Schema(l)}return new n.Schema((0,a.merge)(i.default.omit(t,"type","x-read-pretty"),l))},P=s.default.createContext(!1),j=()=>s.default.useContext(P),A=s.default.memo(e=>{let{schema:t,name:o,onlyRenderProperties:d,onlyRenderSelf:u,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b=!0,uiSchema:y,parentSchema:S}=e,k=(e=>{let t=(0,n.useField)();if(e.onlyRenderProperties){var o;return e.basePath||(null==t||null==(o=t.address)?void 0:o.concat(e.name))}return e.basePath||(null==t?void 0:t.address)})(e),j=(0,s.useRef)(null),I=(0,s.useMemo)(()=>(j.current=null,new n.Schema(t)),[t]),{uiSchema:T,defaultValue:D}=C(),L=(0,r.useUpdate)(),{onChange:Y}=(0,s.useContext)(c.D),R=j.current||I;if(!R.parent&&S){var B,N;R.parent=S,(null==(N=R.parent)||null==(B=N.properties)?void 0:B[R.name])||!R.name||i.default.set(R.parent,`properties.${R.name}`,R)}let E=(0,s.useCallback)(()=>{let e=R.parent;j.current=new n.Schema(R.toJSON(),e),(null==e?void 0:e.properties)&&Object.keys(e.properties).forEach(t=>{t===R.name&&(e.properties[t]=j.current)}),L(),null==Y||Y()},[R,Y,L]),$=(0,s.useMemo)(()=>y?F(R,y,d):T?(T.default=D,F(R,T,d)):R,[T,D,R,d,y]),z=w($,(0,n.useExpressionScope)()),O=e=>{if(!u)return(e=>{let{schema:t,field:o,basePath:r,mapProperties:d,filterProperties:u,propsRecursion:c,values:m,isUseFormilyField:h}=e,x=n.Schema.getOrderProperties(t);return x.length?(0,l.jsx)(s.Fragment,{children:x.map((e,t)=>{let{schema:n,key:s}=e,x=(null==o?void 0:o.address)||r,v=n;if((0,a.isFn)(d)){let e=d(n,s);e&&(v=e)}if((0,a.isFn)(u)&&!1===u(v,s))return null;let f=(0,a.isBool)(c)&&c?(0,l.jsx)(A,{propsRecursion:!0,filterProperties:u,mapProperties:d,schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h}):(0,l.jsx)(A,{schema:v,name:s,basePath:x,values:i.default.get(m,s),isUseFormilyField:h});return"CollectionField"===v["x-component"]?(0,l.jsx)(P.Provider,{value:!0,children:(0,l.jsx)(M,{fieldSchema:v,children:f})},`${t}-${s}`):(0,l.jsx)(P.Provider,{value:!1,children:(0,l.jsx)(_.Provider,{value:p.M,children:f})},`${t}-${s}`)})}):null})({schema:R,field:e,basePath:k,mapProperties:m,filterProperties:h,propsRecursion:x,values:f,isUseFormilyField:b})};return R?(0,l.jsx)(n.SchemaContext.Provider,{value:R,children:(0,l.jsx)(g,{refresh:E,children:(0,a.isValid)(o)?"object"===$.type?d?O():(0,l.jsx)(n.ObjectField,{...z,name:o,basePath:k,children:O}):"array"===$.type?(0,l.jsx)(n.ArrayField,{...z,name:o,basePath:k}):"void"===$.type?d?O():(0,l.jsx)(n.VoidField,{...z,name:o,basePath:k,children:O}):b?(0,l.jsx)(n.Field,{...z,name:o,basePath:k}):(0,l.jsx)(v,{name:o,value:f,initialValue:f,basePath:k,schema:$}):O()})}):(0,l.jsx)(s.Fragment,{})});A.displayName="NocoBaseRecursionField"},79980(e,t,o){o.d(t,{Ne:()=>l.compatOldTheme,Og:()=>l.AntdAppProvider,U_:()=>l.GlobalThemeProvider,_l:()=>l.addCustomAlgorithmToTheme,my:()=>l.useGlobalTheme,zQ:()=>l.defaultTheme,ze:()=>l.customAlgorithm});var l=o(13975)},80461(e,t,o){o.d(t,{S:()=>c,T:()=>p});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(52793),s=o(95951);let d=()=>void 0,u=(e,t,o)=>{let l;return a.default.isFunction(e)?l=e:(l=t[e])||console.error(`${o} is not registered`),l||d};function c(e,t){return((e,t)=>{let o;if(!e)return d;if(a.default.isFunction(e))return e;for(let l of e.split("."))o=u(l,o||t,e);return o})(e,(0,n.useExpressionScope)())(t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.displayName||e.displayName||e.name,n=t=>{let{dn:o,findComponent:a}=(0,s.er)(),d=c((0,r.useMemo)(()=>{let e=o.getSchemaAttribute("x-component"),t=o.getSchemaAttribute("x-decorator"),l=o.getSchemaAttribute("x-use-component-props"),r=o.getSchemaAttribute("x-use-decorator-props");return e&&l&&a(e)===n?l:t&&r&&a(t)===n?r:void 0},[o]),t),u=(0,r.useMemo)(()=>({...t,...d}),[d,t]);return(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(i.Spin,{}),children:(0,l.jsx)(e,{...u,children:t.children})})};return e.displayName=o,n.displayName=`withSchemaProps(${o})`,n}},99847(e,t,o){o.d(t,{t:()=>s});var l=o(71178),n=o(52793),a=o(14187),r=o(51649);let i=()=>{var e;return!!(null==(e=(0,a._J)())?void 0:e.loading)},s=(e,t)=>{let{useLoading:o=i,displayName:a,SkeletonComponent:s=n.Skeleton}=t||{},d=r.default.memo(t=>{let n=o(),a=(0,r.useRef)(!1),i=(0,r.useDeferredValue)(n);return!a.current&&i?(0,l.jsx)(s,{}):(a.current=!0,(0,l.jsx)(e,{...t}))});return d.displayName=a||`${e.displayName}(withSkeletonComponent)`||`${e.name}(withSkeletonComponent)`,d}},7775(e,t,o){o.d(t,{L:()=>i});var l=o(71178);o(51649);var n=o(52793),a=o(82113);let r={display:"flex",alignItems:"center",gap:4},i=e=>t=>{let{tooltip:o}=t;return o?(0,l.jsxs)("div",{style:r,children:[(0,l.jsx)(e,{...t}),(0,l.jsx)(n.Tooltip,{title:o,children:(0,l.jsx)(a.QuestionCircleOutlined,{style:{zIndex:1}})})]}):(0,l.jsx)(e,{...t})}},18226(e,t,o){o.d(t,{w:()=>l,k:()=>a});let l=()=>"nocobase-admin-menu";var n=o(51649);function a(){let e,t,{metaRef:o,restore:l}=(e=(0,n.useRef)("initial-scale=0.1"),t=(0,n.useRef)(),(0,n.useEffect)(()=>{let o=document.querySelector('meta[name="viewport"]');o?e.current=o.content:(o=document.createElement("meta")).name="viewport",o&&(o.content="width=device-width, initial-scale=1, user-scalable=0",t.current=o)},[]),{metaRef:t,restore:()=>{t.current&&(t.current.content=e.current)}});(0,n.useEffect)(()=>{if(o.current)return document.head.insertBefore(o.current,document.head.firstChild),()=>{l()}},[])}},33750(e,t,o){o.d(t,{Os:()=>u,co:()=>s,re:()=>d});var l=o(71178),n=o(77583),a=o(51649);let r=(0,a.createContext)(null);r.displayName="GetMenuItemContext";let i=(0,a.createContext)(null);i.displayName="GetMenuItemsContext";let s=()=>(0,a.useContext)(r)||{},d=()=>(0,a.useContext)(i)||{},u=()=>{let e=(0,a.useRef)([]),t=(0,a.useRef)(null),o=(0,a.useRef)(!1),s=(0,a.useCallback)(n=>{let{limitCount:a}=n;return o.current?(o.current=!1,t.current)?t.current():a&&e.current.length>a?(0,l.jsx)(l.Fragment,{children:e.current.slice(0,a).map((e,t)=>(0,l.jsx)(e,{},t))}):(0,l.jsx)(l.Fragment,{children:e.current.map((e,t)=>(0,l.jsx)(e,{},t))}):null},[]),d=(0,a.useCallback)(e=>{let a=[],r=e=>{a.push(e),a.sort((e,t)=>(e.order||0)-(t.order||0))};return o.current=!0,t.current=()=>{let t=a.filter(e=>e.notdelete).map(e=>n.default.omit(e,"notdelete"));return a.length=0,a.push(...t),(0,l.jsx)(i.Provider,{value:{pushMenuItem:r},children:e()})},a},[]);return{Component:s,getMenuItems:d,getMenuItem:(0,a.useCallback)(t=>{let n={},a=e=>{Object.assign(n,e)};return o.current=!0,e.current.push(()=>(0,l.jsx)(r.Provider,{value:{collectMenuItem:a},children:t()})),n},[]),clean:(0,a.useCallback)(()=>{e.current=[]},[])}}},60070(e,t,o){o.d(t,{J:()=>i});var l=o(51649),n=o(43923),a=o(99300);let{evaluate:r}=o(83489).evaluators.get("formula.js"),i=e=>{let t=(0,n.$l)(),o=(0,n.gp)(),[i,s]=(0,l.useState)();return(0,l.useEffect)(()=>{(async()=>{if(null==e||""===e)return s(void 0);let{exp:l,scope:n}=await (0,a.qk)(e,{variables:t,localVariables:o});try{let e=r(l,{now:()=>new Date().toString(),...n});s(e)}catch(e){console.error(e)}})()},[t.parseVariable,e,o]),i}},24943(e,t,o){o.d(t,{r:()=>d});var l=o(71178),n=o(82113),a=o(52793);o(51649);var r=o(16211),i=o(28601),s=o(86393);function d(){var e,t,o;let{data:d}=(0,s.e6)()||{},u=(0,r.VB)();return(null==d||null==(e=d.data)?void 0:e.enabledLanguages.length)>1&&(0,l.jsx)(a.Dropdown,{menu:{onClick(e){u.auth.setLocale(e.key),window.location.reload()},selectable:!0,defaultSelectedKeys:[u.auth.locale],items:null==d||null==(o=d.data)||null==(t=o.enabledLanguages)?void 0:t.filter(e=>i.Ay[e]).map(e=>({key:e,label:i.Ay[e].label}))},children:(0,l.jsx)(n.TranslationOutlined,{style:{fontSize:24}})})}},839(e,t,o){o.d(t,{z:()=>l});let l="ui-schema-storage"},7271(e,t,o){o.d(t,{Ru:()=>i,ul:()=>r,zg:()=>d.z});var l=o(23977),n=o(77843),a=o(28601);function r(e,t){return t?`{{t(${JSON.stringify(e)}, ${JSON.stringify(t)})}}`:`{{t(${JSON.stringify(e)})}}`}let i=l.default.createInstance(),s={};Object.keys(a.Ay).forEach(e=>{s[e]=a.Ay[e].resources}),i.use(n.initReactI18next).init({lng:"en-US",defaultNS:"client",resources:{},keySeparator:!1,nsSeparator:!1});var d=o(839)},37679(e,t,o){let l;o.d(t,{In:()=>u,K1:()=>d,Pt:()=>r,cE:()=>s,pU:()=>i});var n=o(71178),a=o(82113);o(51649);let r=new Map;function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;r.set(e.toLowerCase(),t)}function s(e){return!!e&&r.has(e.toLowerCase())}function d(e){Object.keys(e).forEach(t=>{i(t,e[t])})}Object.keys(a).forEach(e=>{i(e,a[e])});let u=e=>{let{type:t="",component:o,...i}=e;if(o)return(0,n.jsx)(a.default,{component:o,...i});if(t&&r.has(t.toLowerCase())){let e=r.get(t.toLowerCase());return(0,n.jsx)(e,{...i})}return t&&l?(0,n.jsx)(l,{type:t}):null};u.createFromIconfontCN=e=>{l=(0,a.createFromIconfontCN)(e)},u.register=e=>{d(e)}},60430(e,t,o){o.d(t,{In:()=>l.In,K1:()=>l.K1,Pt:()=>l.Pt,cE:()=>l.cE,pU:()=>l.pU});var l=o(37679)},44374(e,t,o){o.r(t),o.d(t,{ACLActionParamsContext:()=>r.gU,ACLActionProvider:()=>r.aK,ACLCollectionFieldProvider:()=>r.mu,ACLCollectionProvider:()=>r.yb,ACLContext:()=>r.w0,ACLCustomContext:()=>r.j,ACLMenuItemProvider:()=>r.Ik,ACLPane:()=>r.tA,ACLPlugin:()=>r.gt,ACLProvider:()=>r.AY,ACLRolesCheckProvider:()=>r.rR,ADMIN_SETTINGS_KEY:()=>u.w$,ADMIN_SETTINGS_PATH:()=>u.wq,AIManager:()=>ec._T,APIClient:()=>s.Q9,APIClientContext:()=>s.j8,APIClientProvider:()=>s.nd,AccessControl:()=>B.kx,Action:()=>D.rcl,ActionBar:()=>D.E76,ActionBarAssociationFilterAction:()=>Y.pB,ActionBarProvider:()=>D.xqq,ActionContext:()=>D.yVm,ActionContextNoRerender:()=>D.Wis,ActionContextProvider:()=>D.z45,ActionDesigner:()=>D.U6o,ActionGroupModel:()=>a.ActionGroupModel,ActionInitializer:()=>Y.LF,ActionInitializerItem:()=>Y.E2,ActionModel:()=>a.ActionModel,ActionSceneEnum:()=>a.ActionSceneEnum,ActionType:()=>B.X2,AddChildActionModel:()=>a.AddChildActionModel,AddCollection:()=>h.qS,AddCollectionAction:()=>h.IE,AddCollectionField:()=>h.qQ,AddFieldAction:()=>h.g,AddNewActionModel:()=>a.AddNewActionModel,AddSubFieldAction:()=>h.w3,AdminDynamicPage:()=>T.Y4,AdminLayout:()=>T.Ui,AdminLayoutMenuItemModel:()=>T.xF,AdminLayoutPlugin:()=>T.NC,AdminProvider:()=>T.X7,AdminSettingsLayout:()=>j.dj,AdminSettingsLayoutModel:()=>j.C_,AfterSuccess:()=>D.Kql,AllDataBlocksContext:()=>D.rrz,AllDataBlocksProvider:()=>D.J3t,AntdAppProvider:()=>y.Og,AntdConfigPlugin:()=>i.j,AntdConfigProvider:()=>i.Rk,AntdSchemaComponentPlugin:()=>D.bkX,AntdSchemaComponentProvider:()=>D.TDj,AppLangContext:()=>i.P4,AppNotFound:()=>x.bM,AppendsTreeSelect:()=>D.m$h,Application:()=>u.lg,ApplicationContext:()=>u.gD,AssignFormModel:()=>a.AssignFormModel,AssignedFieldValues:()=>D.TB2,AssociatedFields:()=>Y.Ag,AssociationField:()=>D.m2w,AssociationFieldMode:()=>D.Bnf,AssociationFieldModeProvider:()=>D.o8F,AssociationFilter:()=>Y.AO,AssociationFilterDesignerDelete:()=>Y.um,AssociationFilterDesignerDisplayField:()=>Y.xc,AssociationFilterPlugin:()=>Y.PB,AssociationOrCollectionProvider:()=>_.uG,AssociationProvider:()=>_.$z,AssociationSelect:()=>D.i_F,AsyncDataContext:()=>c.IC,AsyncDataProvider:()=>c.Gd,AttachmentList:()=>D._sT,AutoComplete:()=>D.j9R,BackButtonUsedInSubPage:()=>D.hsK,BaseVariableProvider:()=>B.jr,BlankComponent:()=>u.ct,Block:()=>D.eBw,BlockAssociationContext:()=>m.qM,BlockConfigsContext:()=>p.U1,BlockConfigsProvider:()=>p.AZ,BlockContext:()=>m.zL,BlockGridModel:()=>a.BlockGridModel,BlockInitializer:()=>Y.yl,BlockItem:()=>D.Z0V,BlockItemCard:()=>D.tn0,BlockItemCardContext:()=>D.AQf,BlockItemInitializer:()=>Y.z6,BlockModel:()=>a.BlockModel,BlockProvider:()=>m.VL,BlockRequestContextProvider:()=>_.NB,BlockRequestContext_deprecated:()=>m.cM,BlockRequestLoadingContext:()=>_.OO,BlockRequestProvider:()=>_.Yu,BlockRequestProvider_deprecated:()=>m.ge,BlockResourceContext:()=>m.fh,BlockSceneEnum:()=>a.BlockSceneEnum,BlockSchemaComponentPlugin:()=>m.tv,BlockSchemaComponentProvider:()=>m.hS,BlockSchemaToolbar:()=>W.C,BlockTemplateContext:()=>N.V5,BlockTemplateDetails:()=>N.YU,BlockTemplatePage:()=>N.BZ,BlockTemplateProvider:()=>N.XZ,BlockTemplatesPane:()=>N.NV,BlocksSelector:()=>D.Gjn,ButtonEditor:()=>D.Ypd,CSSVariableProvider:()=>v.B,CardItem:()=>D.oVU,Cascader:()=>D.vxQ,Checkbox:()=>D.Sc0,CheckboxFieldInterface:()=>h.jc,CheckboxGroupFieldInterface:()=>h.sf,ChildPageModel:()=>a.ChildPageModel,ChildPageTabModel:()=>a.ChildPageTabModel,ClearCollectionFieldContext:()=>_.bJ,ClickableFieldModel:()=>a.ClickableFieldModel,CodeEditor:()=>a.CodeEditor,CodeEditorExtension:()=>a.CodeEditorExtension,Collection:()=>_.pM,CollectionActionGroupModel:()=>a.CollectionActionGroupModel,CollectionActionModel:()=>a.CollectionActionModel,CollectionBlockModel:()=>a.CollectionBlockModel,CollectionCategoriesContext:()=>h.CI,CollectionCategoriesProvider:()=>h.q0,CollectionCategory:()=>h.F8,CollectionContext:()=>_.CQ,CollectionDeletedPlaceholder:()=>_.xd,CollectionField:()=>_.JL,CollectionFieldContext:()=>_.yn,CollectionFieldInterface:()=>_.yz,CollectionFieldInterfaceManager:()=>_.Ln,CollectionFieldInterfaceTag:()=>h.Mi,CollectionFieldProvider:()=>_.Ey,CollectionFieldUISchemaProvider:()=>ei.Tu,CollectionFieldsToFormInitializerItems:()=>_.Dk,CollectionFieldsToInitializerItems:()=>_.Jy,CollectionFieldsToTableInitializerItems:()=>_.bC,CollectionHistoryProvider:()=>h.US,CollectionManager:()=>_.qG,CollectionManagerContext:()=>_.Jr,CollectionManagerProvider:()=>_.Pf,CollectionManagerProvider_deprecated:()=>h.nq,CollectionManagerSchemaComponentProvider:()=>h.Xm,CollectionNotAllowViewPlaceholder:()=>_.b,CollectionPlugin:()=>h.Kf,CollectionProvider:()=>_.Yz,CollectionProvider_deprecated:()=>h.io,CollectionRecord:()=>_.ol,CollectionRecordContext:()=>_.tH,CollectionRecordProvider:()=>_.Jw,CollectionSelect:()=>D.vzL,CollectionSelectFieldInterface:()=>h.CF,CollectionTemplate:()=>_.T0,CollectionTemplateManager:()=>_.C1,CollectionTemplateTag:()=>h.xq,ColorFieldInterface:()=>h.h1,ColorPicker:()=>D.skP,ColorSelect:()=>D.qy5,CommonItemModel:()=>a.CommonItemModel,CompatibleSchemaInitializer:()=>u.__,CreateFilterActionInitializer:()=>Y.z8,CreateFormModel:()=>a.CreateFormModel,CreateResetActionInitializer:()=>Y.uj,CreatedAtFieldInterface:()=>h.vv,CreatedByFieldInterface:()=>h.VA,Cron:()=>D.l46,CronSet:()=>D.hbv,CurrentAppInfoContext:()=>d.G0,CurrentAppInfoProvider:()=>d.qm,CurrentPageUidContext:()=>u.MR,CurrentPageUidProvider:()=>u.tu,CurrentRouteProvider:()=>T.yb,CurrentTabUidContext:()=>u.EB,CurrentTabUidProvider:()=>u.sn,CurrentUserContext:()=>O.Ip,CurrentUserProvider:()=>O.Qd,CurrentUserSettingsMenuProvider:()=>O.Y,CustomRouterContextProvider:()=>u.Jr,CustomizeActionInitializer:()=>Y.A4,DEBOUNCE_WAIT:()=>q.wU,DEFAULT_DATA_SOURCE_KEY:()=>_.Ze,DEFAULT_DATA_SOURCE_TITLE:()=>_.gP,DataBlockCollector:()=>g.Pt,DataBlockContext:()=>_.R6,DataBlockInitializer:()=>Y.kq,DataBlockModel:()=>a.DataBlockModel,DataBlockProvider:()=>_.T4,DataBlockResourceContext:()=>_.RE,DataBlockResourceProvider:()=>_.Fr,DataSource:()=>_.qS,DataSourceApplicationProvider:()=>_.Nd,DataSourceCollectionCascader:()=>D.C4D,DataSourceContext:()=>_.Vl,DataSourceContext_deprecated:()=>h.hu,DataSourceManager:()=>_.zA,DataSourceManagerContext:()=>_.oc,DataSourceManagerProvider:()=>_.e1,DataSourceProvider:()=>_.tc,DataSourceProvider_deprecated:()=>h.T8,DataSourceSelect:()=>D.qy$,DateFieldInterface:()=>h.W5,DateFilterDynamicComponent:()=>D.dVP,DateFormatCom:()=>D.b2W,DatePicker:()=>D.lrV,DatePickerProvider:()=>D.QoO,DatetimeFieldInterface:()=>h.Nr,DatetimeNoTzFieldInterface:()=>h.a1,DefaultToolsManager:()=>ec.eY,DefaultValueProvider:()=>B.UY,DeleteCollection:()=>h.Ik,DeleteCollectionAction:()=>h.A9,Designable:()=>D.d1R,DesignableSwitch:()=>D.N3p,Details:()=>D.B_g,DetailsAssociationFieldGroupModel:()=>a.DetailsAssociationFieldGroupModel,DetailsBlockContext:()=>m.R6,DetailsBlockModel:()=>a.DetailsBlockModel,DetailsBlockProvider:()=>m.f0,DetailsCustomItemModel:()=>a.DetailsCustomItemModel,DetailsDesigner:()=>D.CqQ,DetailsGridModel:()=>a.DetailsGridModel,DetailsItemModel:()=>a.DetailsItemModel,DisplaySubTableFieldModel:()=>a.DisplaySubTableFieldModel,DisplayTextFieldModel:()=>a.DisplayTextFieldModel,DisplayTitleFieldModel:()=>a.DisplayTitleFieldModel,Divider:()=>D.cGx,DndContext:()=>D.Mp5,DocumentTitleContext:()=>f.to,DocumentTitleProvider:()=>f.pf,DragHandler:()=>D.L3t,DraggableContext:()=>D.X_,DropdownVisibleContext:()=>O.R2,EMPTY_OBJECT:()=>q.Ml,EditCollection:()=>h.V,EditCollectionAction:()=>h.Jx,EditCollectionField:()=>h.jY,EditComponent:()=>D.iI7,EditDefaultValue:()=>D.tvd,EditDescription:()=>D.JQe,EditFieldAction:()=>h.pA,EditFormModel:()=>a.EditFormModel,EditOperator:()=>D.B4G,EditPattern:()=>D.$t1,EditRequired:()=>D.QpY,EditSortField:()=>D.jgC,EditSubFieldAction:()=>h.Lj,EditTable:()=>D.j0_,EditTableAction:()=>D.vjx,EditTableActionContext:()=>D.uc_,EditTitle:()=>D.Xzy,EditTitleField:()=>D.Ff5,EditTooltip:()=>D.IJ7,EditValidationRules:()=>D.vPC,Editable:()=>D.FoY,EllipsisWithTooltip:()=>D.R_2,EmailFieldInterface:()=>h.em,ErrorFallback:()=>D.xPi,Expand:()=>D.JaO,ExpiresRadio:()=>D.S5r,ExtendCollectionsContext:()=>_.pi,ExtendCollectionsProvider:()=>_.Jl,FieldModel:()=>a.FieldModel,FieldModelRenderer:()=>es.FieldModelRenderer,FieldSummary:()=>h.fn,FieldValidation:()=>h.g7,FieldsTreeSelect:()=>D.ARu,Fieldset:()=>D.LBS,Filter:()=>D.dJT,FilterAction:()=>D.BsJ,FilterActionContext:()=>D.SOm,FilterActionModel:()=>a.FilterActionModel,FilterAssociatedFields:()=>Y.Q3,FilterBlockModel:()=>a.FilterBlockModel,FilterBlockProvider:()=>g.$3,FilterBlockType:()=>g.I1,FilterContext:()=>D.gM2,FilterDynamicComponent:()=>D.N$k,FilterFormActionGroupModel:()=>a.FilterFormActionGroupModel,FilterFormBlockModel:()=>a.FilterFormBlockModel,FilterFormBlockProvider:()=>m.JZ,FilterFormItemModel:()=>a.FilterFormItemModel,FilterGroup:()=>a.FilterGroup,FilterLogicContext:()=>D.c_d,FilterParentCollectionFields:()=>Y.gE,FlagContext:()=>b.Im,FlagProvider:()=>b.UU,ForeignKey:()=>h.mJ,Form:()=>D.lVW,FormActionGroupModel:()=>a.FormActionGroupModel,FormActionModel:()=>a.FormActionModel,FormActiveFieldsProvider:()=>m.Xz,FormAssociationFieldGroupModel:()=>a.FormAssociationFieldGroupModel,FormBlockContext:()=>m.JD,FormBlockInitializer:()=>J.yU,FormBlockModel:()=>a.FormBlockModel,FormBlockProvider:()=>m.r1,FormComponent:()=>a.FormComponent,FormDialog:()=>D.RD4,FormDrawer:()=>D.wA7,FormField:()=>D.zBI,FormFieldContext:()=>m.wh,FormFieldProvider:()=>m.UJ,FormGridModel:()=>a.FormGridModel,FormItem:()=>L.e,FormItemModel:()=>a.FormItemModel,FormItemSchemaToolbar:()=>J.iz,FormProvider:()=>D.OpO,FormSubmitActionModel:()=>a.FormSubmitActionModel,FormV2:()=>D.htN,G2Plot:()=>D.D6h,G2PlotInitializer:()=>Y.PV,G2PlotRenderer:()=>D.ic7,GeneralSchemaDesigner:()=>B.xK,GeneralSchemaItems:()=>R.g$,GlobalThemeProvider:()=>y.U_,Grid:()=>D.xA9,GridCard:()=>D.RLS,GridModel:()=>a.GridModel,GridRowContext:()=>D.mz8,HTMLEncode:()=>D.mJi,HeightMode:()=>B.Dn,ICON_POPUP_Z_INDEX:()=>D.b6K,Icon:()=>C.In,IconFieldInterface:()=>h.Po,IconPicker:()=>D.arW,IdFieldInterface:()=>h.Xk,InheritanceCollectionMixin:()=>h.WW,InitializerWithSwitch:()=>Y.Nl,Input:()=>D.pde,InputFieldInterface:()=>h.Yf,InputFieldModel:()=>a.InputFieldModel,InputNumber:()=>D.YIz,InputReadPretty:()=>D.FZR,InputRecordPicker:()=>D.qKt,IntegerFieldInterface:()=>h.Kv,InternalAdminSettingsLayout:()=>j.Q7,IsInNocoBaseRecursionFieldContext:()=>ei.Bs,IsSubPageClosedByPageMenuContext:()=>u.C1,IsSubPageClosedByPageMenuProvider:()=>u.Cj,JSActionModel:()=>a.JSActionModel,Json:()=>D.LMh,JsonFieldInterface:()=>h.UF,KeepAlive:()=>T.PR,LAZY_COMPONENT_KEY:()=>M.PE,LOADING_DELAY:()=>q.fG,Layout:()=>B.PE,LayoutContent:()=>T.A1,LinkActionModel:()=>a.LinkActionModel,LinkToFieldInterface:()=>h.Li,LinkageFilter:()=>D.ccy,LinkageRuleCategory:()=>B.Od,LinkageRuleDataKeyMap:()=>B.bx,List:()=>D.B8B,LocalDataSource:()=>_.h0,LocationSearchContext:()=>u.bR,M2MFieldInterface:()=>h.Em,M2OFieldInterface:()=>h.ms,Markdown:()=>D.ozN,MarkdownFieldInterface:()=>h.B9,MarkdownReadPretty:()=>D.wN6,MaybeCollectionProvider:()=>m.oe,Menu:()=>D.W1t,MenuConfigure:()=>r.MO,MockFlowModelRepository:()=>a.MockFlowModelRepository,ModalActionSchemaInitializerItem:()=>Y.Au,MultipleSelectFieldInterface:()=>h.if,NAMESPACE_UI_SCHEMA:()=>k.zg,NanoIDInput:()=>D.Q00,NanoidFieldInterface:()=>h.fZ,NocoBaseBuildInPlugin:()=>F.x,NocoBaseDesktopRouteType:()=>T.q2,NocoBaseRecursionField:()=>ei.dw,NocoBaseRouteContext:()=>T.dI,NumberFieldInterface:()=>h.Nj,O2MFieldInterface:()=>h.IL,O2OFieldInterface:()=>h.SB,OBOFieldInterface:()=>h.Sd,OHOFieldInterface:()=>h.Si,OpenModeProvider:()=>eo.R,OverridingCollectionField:()=>h.oO,OverridingFieldAction:()=>h.yu,PMPlugin:()=>j.V_,Page:()=>D.YW0,PagePopups:()=>D.rNg,PageTabs:()=>D.Y2j,Pagination:()=>D.dKS,ParentCollectionFields:()=>Y.y8,ParentRouteContext:()=>D.Zy6,Password:()=>D._22,PasswordFieldInterface:()=>h.NL,Percent:()=>D.QEB,PercentFieldInterface:()=>h.$N,PermissionContext:()=>r.dg,PermissionProvider:()=>r.XI,PhoneFieldInterface:()=>h.wv,PinnedListPlugin:()=>P._,PinnedPluginList:()=>P.i6,PinnedPluginListContext:()=>P.DW,PinnedPluginListProvider:()=>P.P7,Plugin:()=>u.k_,PluginManager:()=>j.R0,PluginManagerLink:()=>j.X1,PluginSettingsManager:()=>u.mz,PopupActionModel:()=>a.PopupActionModel,PopupContextProvider:()=>el.P,PopupSettingsProvider:()=>D.T$Q,PopupSubTableFormActionGroupModel:()=>a.PopupSubTableFormActionGroupModel,PoweredBy:()=>A.G,Preview:()=>D.lNE,QuickEdit:()=>D.gt0,REGEX_OF_VARIABLE:()=>q.vV,REGEX_OF_VARIABLE_IN_EXPRESSION:()=>q.qe,Radio:()=>D.sxL,RadioGroupFieldInterface:()=>h.QZ,ReadPretty:()=>D.hqJ,ReadPrettyRecordPicker:()=>D.w2W,RecordActionGroupModel:()=>a.RecordActionGroupModel,RecordAssociationBlockInitializer:()=>Y.Cg,RecordAssociationDetailsBlockInitializer:()=>Y.QP,RecordAssociationFormBlockInitializer:()=>Y.we,RecordAssociationGridCardBlockInitializer:()=>Y.Q2,RecordAssociationListBlockInitializer:()=>Y.kv,RecordContext_deprecated:()=>I.Ze,RecordFormBlockInitializer:()=>J.BM,RecordIndexContext:()=>I.t9,RecordIndexProvider:()=>I.l2,RecordLink:()=>m.Ur,RecordPicker:()=>D.O$4,RecordPickerContent:()=>a.RecordPickerContent,RecordPickerContext:()=>D.pEl,RecordPickerProvider:()=>D.bee,RecordProvider:()=>I.B4,RecordReadPrettyAssociationFormBlockInitializer:()=>Y.SL,RecordSelectFieldModel:()=>a.RecordSelectFieldModel,RecordSimpleProvider:()=>I.RP,RefreshActionModel:()=>a.RefreshActionModel,RefreshComponentProvider:()=>ei.E0,RefreshDataBlockRequest:()=>D.ud1,RemoteCollectionManagerProvider:()=>h.Ho,RemoteDocumentTitlePlugin:()=>f.L2,RemoteDocumentTitleProvider:()=>f.vB,RemoteSchemaComponent:()=>D.DYS,RemoteSchemaTemplateManagerPlugin:()=>N.IU,RemoteSchemaTemplateManagerProvider:()=>N.sx,RemoteSelect:()=>D.lTd,RemoveButton:()=>D.d09,RemoveConditionContext:()=>D.b7u,RenderChildrenWithAssociationFilter:()=>m.hJ,RequestSettings:()=>D.RhU,RerenderDataBlockProvider:()=>_.Qj,Resizable:()=>X.cM,ResourceActionContext:()=>h.aB,ResourceActionProvider:()=>h.mD,RichText:()=>D.sDQ,RichTextFieldInterface:()=>h.X6,RoleConfigure:()=>r.jc,RoleResourceCollectionContext:()=>r.mW,RoleTable:()=>r.PO,RolesResourcesActions:()=>r.WH,RouteSchemaComponent:()=>T.yU,RouterContextCleaner:()=>u.PK,RouterManager:()=>u.pZ,SNIPPET_PREFIX:()=>u.tJ,SanitizedCollectionProvider:()=>_.N5,SchemaComponent:()=>D.HvB,SchemaComponentContext:()=>D.u4V,SchemaComponentOnChangeContext:()=>D.Doh,SchemaComponentOptions:()=>D.t6u,SchemaComponentPlugin:()=>D.GD6,SchemaComponentProvider:()=>D.OAH,SchemaInitializer:()=>u.IY,SchemaInitializerActionModal:()=>u.z3,SchemaInitializerActionModalInternal:()=>u.Yx,SchemaInitializerChild:()=>u.wp,SchemaInitializerChildren:()=>u.ZI,SchemaInitializerContext:()=>u.dQ,SchemaInitializerDivider:()=>u.Z$,SchemaInitializerItem:()=>u.rR,SchemaInitializerItemContext:()=>u.G8,SchemaInitializerItemGroup:()=>u.G0,SchemaInitializerItemGroupInternal:()=>u.JL,SchemaInitializerItemInternal:()=>u.KK,SchemaInitializerItems:()=>u.e1,SchemaInitializerManager:()=>u.FE,SchemaInitializerMenu:()=>u.$l,SchemaInitializerMenuProvider:()=>u.Ix,SchemaInitializerOpenModeSchemaItems:()=>R.yF,SchemaInitializerPlugin:()=>Y.X1,SchemaInitializerSelect:()=>u.S3,SchemaInitializerSelectInternal:()=>u.Vf,SchemaInitializerSubMenu:()=>u.zw,SchemaInitializerSubMenuInternal:()=>u.gc,SchemaInitializerSwitch:()=>u.qX,SchemaInitializerSwitchInternal:()=>u.NH,SchemaSettingAccessControl:()=>B.Xh,SchemaSettingItemContext:()=>u.KY,SchemaSettingOpenModeSchemaItems:()=>R.sm,SchemaSettings:()=>u.RT,SchemaSettingsActionLinkItem:()=>G.i,SchemaSettingsActionModalItem:()=>B.l,SchemaSettingsBlockHeightItem:()=>B._M,SchemaSettingsBlockTitleItem:()=>B.Pp,SchemaSettingsCascaderItem:()=>B.Wk,SchemaSettingsChild:()=>u.T2,SchemaSettingsChildren:()=>u.Ah,SchemaSettingsConnectDataBlocks:()=>B.$r,SchemaSettingsDataScope:()=>B.Zy,SchemaSettingsDataTemplates:()=>B.iJ,SchemaSettingsDateFormat:()=>B.AH,SchemaSettingsDefaultSortingRules:()=>B.lZ,SchemaSettingsDefaultValue:()=>B.Jw,SchemaSettingsDivider:()=>B.kT,SchemaSettingsDropdown:()=>B.QA,SchemaSettingsEnableChildCollections:()=>B.DE,SchemaSettingsFixed:()=>X.$e,SchemaSettingsFormItemTemplate:()=>B.Sm,SchemaSettingsItem:()=>B.iU,SchemaSettingsItemGroup:()=>B.NT,SchemaSettingsLayoutItem:()=>B.qj,SchemaSettingsLinkageRules:()=>B.f9,SchemaSettingsManager:()=>u.mh,SchemaSettingsModalItem:()=>B.fY,SchemaSettingsNumberFormat:()=>B.vv,SchemaSettingsPlugin:()=>B.SA,SchemaSettingsPopupItem:()=>B.QN,SchemaSettingsProvider:()=>B.Kd,SchemaSettingsRemove:()=>B.d$,SchemaSettingsRenderEngine:()=>B.Fs,SchemaSettingsSelectItem:()=>B.Al,SchemaSettingsSortingRule:()=>B.bO,SchemaSettingsSubMenu:()=>B.OO,SchemaSettingsSwitchItem:()=>B.Qd,SchemaSettingsTemplate:()=>B.lC,SchemaSettingsWrapper:()=>u.OD,SchemaTemplateManagerContext:()=>N.cC,SchemaToolbar:()=>B.Bw,SchemaToolbarContext:()=>u.OI,SchemaToolbarProvider:()=>u.y6,SchemaToolbarVisibleContext:()=>B.Oy,ScopeSelect:()=>r.dn,SearchCollections:()=>Y.Cl,SecondConFirm:()=>D.VXI,Select:()=>D.l6P,SelectActionInitializer:()=>Y.J_,SelectFieldInterface:()=>h.ur,SelectWithTitle:()=>x.$d,SetDataLoadingMode:()=>Q.yz,SettingCenterPermissionProvider:()=>r.kL,SettingCenterProvider:()=>r.$k,SettingsCenterConfigure:()=>r.$S,SettingsCenterContext:()=>j.WS,SettingsCenterDropdown:()=>j.wj,SettingsMenuProvider:()=>O.mn,ShowFormData:()=>D.a1G,SkeletonFallback:()=>a.SkeletonFallback,SkipValidation:()=>D.zN,SnowflakeIdFieldInterface:()=>h.xS,Sortable:()=>D.L1H,SortableContext:()=>D.gBZ,SortableItem:()=>D.UqM,SortableProvider:()=>D.gBz,SourceCollection:()=>h.sN,SourceForeignKey:()=>h.l7,SourceKey:()=>h.D0,Space:()=>D.$xS,StablePopover:()=>D.$mi,StrategyActions:()=>r.T,SubFieldDataSourceProvider_deprecated:()=>h.Jq,SubTableColumnModel:()=>a.SubTableColumnModel,SubTableFieldInterface:()=>h.OA,SubTableFieldModel:()=>a.SubTableFieldModel,SubmitActionInitializer:()=>Y.pW,SwitchLanguage:()=>U.r,SyncFieldsAction:()=>h.xG,SyncFieldsActionCom:()=>h.Yy,SyncSQLFieldsAction:()=>h.BK,SystemSettingsPane:()=>$.nS,SystemSettingsPlugin:()=>$.Cz,SystemSettingsSource:()=>$.or,Table:()=>D.XIK,TableActionColumnInitializer:()=>Y.rb,TableAssociationFieldGroupModel:()=>a.TableAssociationFieldGroupModel,TableBlockContext:()=>m.V3,TableBlockDesigner:()=>D.v93,TableBlockInitializer:()=>X.IB,TableBlockModel:()=>a.TableBlockModel,TableBlockProvider:()=>m.to,TableColumnModel:()=>a.TableColumnModel,TableColumnSchemaToolbar:()=>X.lI,TableField:()=>D.Bmi,TableFieldContext:()=>m.G8,TableFieldProvider:()=>m.Cc,TableFieldResource:()=>m.vv,TableSelectorContext:()=>m.$1,TableSelectorDesigner:()=>D.p9h,TableSelectorInitializer:()=>Z.w,TableSelectorParamsProvider:()=>m.bp,TableSelectorProvider:()=>m.j4,TableV2:()=>D.Hi5,TableoidFieldInterface:()=>h.YK,Tabs:()=>D.tUM,TabsContextProvider:()=>D.hY7,TargetForeignKey:()=>h.Pg,TargetKey:()=>h.n0,TemplateBlockProvider:()=>m.lm,TemplateSummary:()=>h.N8,Templates:()=>D.I5x,TestDesigner:()=>D.qIn,TextAreaWithContextSelector:()=>a.TextAreaWithContextSelector,TextAreaWithGlobalScope:()=>D.Ur4,TextareaFieldInterface:()=>h.OK,ThroughCollection:()=>h.Uq,ThroughForeignKey:()=>h.P$,TimeFieldInterface:()=>h.ju,TimePicker:()=>D.AG,TreeSelect:()=>D.f7I,UUIDFieldInterface:()=>h.nF,UnSupportFields:()=>h.u6,UnixTimestamp:()=>D.zVE,UnixTimestampFieldInterface:()=>h.qT,UpdateRecordActionModel:()=>a.UpdateRecordActionModel,UpdatedAtFieldInterface:()=>h.A8,UpdatedByFieldInterface:()=>h.CT,Upload:()=>D._OO,Uploader:()=>D.d9b,UrlFieldInterface:()=>h.Nc,Variable:()=>D.rTt,VariableFilterItem:()=>a.VariableFilterItem,VariableInput:()=>B.P8,VariablePopupRecordProvider:()=>ea.P3,VariableScope:()=>q.j0,VariableScopeProvider:()=>D.sIN,VariableSelect:()=>D.PnP,VariablesContext:()=>q.jT,VariablesProvider:()=>q.fK,ViewCollectionField:()=>h.w7,ViewFieldAction:()=>h.YG,WithoutFormFieldResource:()=>m.vi,WithoutTableFieldResource:()=>m.nI,actionSettings:()=>D.Sh8,actionSettingsItems:()=>D.MoU,addCustomAlgorithmToTheme:()=>y._l,allowAddNew:()=>D.lE3,appendQueryStringToUrl:()=>m.gN,applyCollectionFieldUiSchemaToDefaultValueSchema:()=>B.Ux,applyMobilePaginationProps:()=>a.applyMobilePaginationProps,attachmentFileTypes:()=>D.lNX,autoFill:()=>h.l5,autoIncrement:()=>h.N1,canMakeAssociationBlock:()=>Y.xj,collectionDataSource:()=>h.C8,compatOldTheme:()=>y.Ne,completeURL:()=>m.Dg,compose:()=>u.Zz,constraintsProps:()=>h.jg,createCompactSimpleItemRender:()=>a.createCompactSimpleItemRender,createCreateFormBlockUISchema:()=>J.U9,createDesignable:()=>D.pxY,createDetailsBlockSchema:()=>Y.DJ,createFormActionInitializers:()=>J.CQ,createFormActionInitializers_deprecated:()=>J.E9,createFormBlockSchema:()=>Y.je,createFormBlockSettings:()=>J.NO,createModalSettingsItem:()=>u.IN,createReadPrettyFormBlockSchema:()=>Y.TA,createRouterManager:()=>u.xd,createSelectSchemaSettingsItem:()=>u.IF,createStyles:()=>E.r,createSwitchSettingsItem:()=>u.$c,createTableBlockSchema:()=>Y.JP,createTableBlockUISchema:()=>X.DJ,createTextSettingsItem:()=>u.pi,customAlgorithm:()=>y.ze,customFormItemInitializers:()=>Y.qf,customFormItemInitializers_deprecated:()=>Y.KL,dataSource:()=>h.Ex,dateTimeProps:()=>h.E2,defaultFieldNames:()=>D.KDQ,defaultInputStyle:()=>B.D0,defaultProps:()=>h.Gs,defaultTheme:()=>y.zQ,dispatchEventDeep:()=>a.dispatchEventDeep,ds:()=>h.ds,editFormBlockSettings:()=>J.RG,editMarkdownFlow:()=>a.editMarkdownFlow,fetchTemplateData:()=>D.rlt,fieldComponentSettingsItem:()=>_.I1,fieldSettingsFormItem:()=>J.ln,fileSizeSetting:()=>er.oc,fillParentFields:()=>m.Rg,filterFormItemSettings:()=>D.Dgp,findByUid:()=>D.X6x,findFilterTargets:()=>m.OP,findFirstPageRoute:()=>T.sj,findFormBlock:()=>m.r9,findKanbanFormItem:()=>_.SG,findKeysByUid:()=>D.VFg,findMenuItem:()=>D.OZ6,findParentFieldSchema:()=>B.Jq,findRouteBySchemaUid:()=>T.bl,formActionInitializers:()=>J.eI,formDetailsSettings:()=>D.QIX,formItemInitializers:()=>J.rj,formItemInitializers_deprecated:()=>J.Lm,formItemSettings:()=>D.DVX,formSettings:()=>D.UyB,formV1Settings:()=>D.$Eq,genStyleHook:()=>D.fDF,getAppends:()=>m.c3,getAssociationPath:()=>m.jh,getCardItemSchema:()=>m.Km,getCollectionTitle:()=>W.R,getConfigurableProperties:()=>h.TC,getCurrentOptions:()=>D.oMF,getDataSourceHeaders:()=>_.kb,getDateExact:()=>D.Q2z,getDatePickerLabels:()=>D.Mwt,getDateRanges:()=>D.fDM,getFieldDefaultValue:()=>B.lD,getFilterByTkByCollection:()=>m.g7,getFlowPageMenuSchema:()=>eu.g,getFormValues:()=>m.ru,getIdsWithChildren:()=>m.O6,getLabelFormatValue:()=>D.PB5,getLabelWithTooltip:()=>B.YO,getPageMenuSchema:()=>et.my,getPageSchema:()=>m.RN,getPinnedPluginListKeys:()=>P.k4,getPopupPathFromParams:()=>D.C5g,getRenderContent:()=>D.a2g,getSchemaSettingsConfirmZIndex:()=>B.rf,getSchemaSettingsDialogZIndex:()=>B.tN,getShouldChange:()=>B.io,getSimpleModePaginationClassName:()=>a.getSimpleModePaginationClassName,getStoredPopupContext:()=>D.lSn,getSupportFieldsByAssociation:()=>g.Lt,getSupportFieldsByForeignKey:()=>g.Rm,getTabSchema:()=>D.jZb,getURLSearchParams:()=>B._V,getURLSearchParamsChildren:()=>B.B_,getUniqueKeyFromCollection:()=>h.$e,getUnknownCountPaginationTotal:()=>a.getUnknownCountPaginationTotal,getVariableComponentWithScope:()=>K.Iy,getVariableValue:()=>x.Wu,getVariablesFromExpression:()=>q.e3,getZIndex:()=>D.flR,gridRowColWrap:()=>Y.xH,handleDateChangeOnForm:()=>D.QD_,hasIcon:()=>C.cE,i18n:()=>k.Ru,icons:()=>C.Pt,inferPickerType:()=>D.Pnr,interfacesOfUnsupportedDefaultValue:()=>B.lM,interfacesProperties:()=>h.q,isAssocField:()=>g.W0,isBulkEditAction:()=>D.PSc,isDeleteButtonDisabled:()=>h.WL,isFileCollection:()=>D.XOn,isInFilterFormBlock:()=>g.vc,isInitializersSame:()=>u.qt,isMobile:()=>D.FrL,isPatternDisabled:()=>B.h2,isSameCollection:()=>g.TQ,isShowFilePicker:()=>D.GmQ,isSystemField:()=>B.kr,isTabPage:()=>D.nKd,isTitleField:()=>_.ji,isVariable:()=>q.DZ,isWriteEmailAction:()=>D.cWk,itemsMerge:()=>Y.jz,joinCollectionName:()=>h.Sv,joinUrlSearch:()=>a.joinUrlSearch,languageCodes:()=>w.XK,lazy:()=>M.RZ,locale:()=>w.Ay,mapDatePicker:()=>D.x1p,mapRangePicker:()=>D.UTu,mapTimeFormat:()=>D.JDj,matchMimetype:()=>D._bM,mergeFilter:()=>g.Dj,mergePaginationClassName:()=>a.mergePaginationClassName,mockAPIClient:()=>z.a,moment2str:()=>D.msY,navigateToTab:()=>D.s23,navigateWithinSelf:()=>m.Ff,normalizeContainer:()=>u.Bv,openViewFlow:()=>a.openViewFlow,operators:()=>h.II,pageSettings:()=>D.fM,pageTabSettings:()=>D.uUT,parseCollectionName:()=>h.Hu,parseVariablesAndChangeParamsToQueryString:()=>m.iz,primaryKey:()=>h.ie,readPrettyFormSettings:()=>D.ud$,recordBlockInitializers:()=>Y.o$,recordBlockInitializers_deprecated:()=>Y.GA,recordPickerViewer:()=>h.mK,recursiveParent:()=>m.H2,reduceValueSize:()=>m.hu,registerIcon:()=>C.pU,registerIcons:()=>C.K1,registerInitializerMenusGenerator:()=>Y.LR,relationshipType:()=>h.B1,removeNullCondition:()=>D.pA3,replaceVariableValue:()=>m.WY,replaceVariables:()=>B.qk,requestParentRecordData:()=>_.$G,resolveFilterPickerFormat:()=>D.CEt,reverseFieldProperties:()=>h.Mw,schemaSettingsLabelLayout:()=>B.jN,setDataLoadingModeSettingsItem:()=>Q.qm,setDefaultSortingRulesSchemaSettingsItem:()=>B.ez,setTheDataScopeSchemaSettingsItem:()=>B.dh,shouldRenderIconInTitle:()=>T.Uc,showFileName:()=>er.FU,splitWrapSchema:()=>D.kBD,storePopupContext:()=>D.NVg,subTableActionInitializers:()=>Y.cj,subTableActionInitializers_deprecated:()=>Y.m,systemKeys:()=>B.Kg,tabPaneInitializers:()=>Y.fq,tabPaneInitializersForBulkEditFormBlock:()=>Y.BM,tabPaneInitializersForRecordBlock:()=>Y.C6,tabPaneInitializers_deprecated:()=>Y.DP,tableActionColumnInitializers:()=>X.Wf,tableActionColumnInitializers_deprecated:()=>X.Wd,tableActionInitializers:()=>X.kL,tableActionInitializers_deprecated:()=>X.Wc,tableBlockSettings:()=>X.Fe,tableColumnInitializers:()=>X.Cg,tableColumnInitializers_deprecated:()=>X.UH,tableColumnSettings:()=>X._s,tableSelectorBlockSettings:()=>Z.A,timeProps:()=>h.kg,titleField:()=>a.titleField,toToolsMap:()=>ec.f,transformFilter:()=>ed.transformFilter,transformToFilter:()=>g.SU,transformVariableValue:()=>q.Ap,tval:()=>k.ul,type:()=>h.NW,unique:()=>h.Am,updateFilterTargets:()=>m.Ez,updateFormActionInitializers:()=>J.Zg,updateFormActionInitializers_deprecated:()=>J.T,useACLActionParamsContext:()=>r.Zj,useACLContext:()=>r.bq,useACLFieldWhitelist:()=>r.xy,useACLRoleContext:()=>r.v6,useACLRolesCheck:()=>r.X0,useAPIClient:()=>s.VB,useAPITokenVariable:()=>B.ff,useAclSnippets:()=>u.K3,useActionAvailable:()=>Q.$R,useActionBarContext:()=>D.MIq,useActionContext:()=>D.D50,useAdminSchemaUid:()=>S.w,useAfterSuccessOptions:()=>D.bZ4,useAllAccessDesktopRoutes:()=>T.nr,useAllCollectionsInheritChainGetter:()=>_.LQ,useAllDataBlocks:()=>D.dWC,useApp:()=>u.nm,useAppLangContext:()=>i.IK,useAppSpin:()=>u.vk,useAriaAttributeOfMenuItem:()=>u.yb,useAssociatedFields:()=>g.ze,useAssociatedFormItemInitializerFields:()=>Y.aY,useAssociatedTableColumnInitializerFields:()=>Y.vP,useAssociationCreateActionProps:()=>m.Pj,useAssociationFieldContext:()=>D.G2C,useAssociationFieldModeContext:()=>D.Xjr,useAssociationFilterBlockProps:()=>m.UN,useAssociationFilterProps:()=>m.L1,useAssociationName:()=>_.UJ,useAssociationNames:()=>m.Ry,useAsyncData:()=>c.e6,useAttach:()=>D.TDH,useBackButton:()=>D.zEg,useBaseVariable:()=>B.de,useBlockAssociationContext:()=>m.Ps,useBlockConfigs:()=>p.oL,useBlockContext:()=>m.MX,useBlockHeight:()=>D.a97,useBlockHeightProps:()=>m.es,useBlockRequestContext:()=>m.J6,useBlockResource:()=>m.V0,useBlockTemplateContext:()=>N.kU,useBuiltinVariables:()=>q.c7,useBulkDestroyAction:()=>h.ZC,useBulkDestroyActionAndRefreshCM:()=>h.uq,useBulkDestroyActionProps:()=>m.Y0,useCancelAction:()=>h.Y7,useCloseAction:()=>D.GjU,useCollectValuesToSubmit:()=>m.TJ,useCollection:()=>_.Ge,useCollectionDataSource:()=>h.LF,useCollectionDataSourceItems:()=>Y.nG,useCollectionField:()=>_.E1,useCollectionFieldFormValues:()=>h.mY,useCollectionField_deprecated:()=>h.gp,useCollectionFields:()=>_.$h,useCollectionFieldsOptions:()=>h.Tt,useCollectionFilterOptions:()=>h.OU,useCollectionHistory:()=>h.W,useCollectionManager:()=>_.r2,useCollectionManager_deprecated:()=>h.nj,useCollectionParentRecord:()=>_.Vm,useCollectionParentRecordData:()=>_.vt,useCollectionRecord:()=>_.PD,useCollectionRecordData:()=>_.zv,useCollectionState:()=>B.lI,useCollection_deprecated:()=>h.k7,useCollections:()=>_.Xd,useColumnSchema:()=>D.BCL,useColumnSettings:()=>D.dbD,useCompatOldVariables:()=>B.aw,useCompile:()=>D.lum,useComponent:()=>D.xZI,useContextAssociationFields:()=>B.JV,useContextVariable:()=>q.Rr,useCreateActionProps:()=>m.wx,useCreateAssociationDetailsBlock:()=>Y.ug,useCreateAssociationDetailsWithoutPagination:()=>Y.Xr,useCreateAssociationFormBlock:()=>Y.MG,useCreateAssociationGridCardBlock:()=>Y.EC,useCreateAssociationListBlock:()=>Y.Q9,useCreateAssociationTableBlock:()=>Y.m5,useCreateEditFormBlock:()=>J.fi,useCreateFormBlock:()=>J.tH,useCreateTableBlock:()=>X.Hb,useCurrentAppInfo:()=>d.gL,useCurrentDocumentTitle:()=>f.er,useCurrentPageUid:()=>u.es,useCurrentPopupContext:()=>D.IX0,useCurrentPopupRecord:()=>ea.EZ,useCurrentRoleMode:()=>r.GL,useCurrentRoleVariable:()=>B.TV,useCurrentRoles:()=>O._N,useCurrentRoute:()=>T.K7,useCurrentSchema:()=>Y.oK,useCurrentSearchParams:()=>u.dT,useCurrentTabUid:()=>u.CR,useCurrentUserContext:()=>O.BW,useCurrentUserSettingsMenu:()=>O.Gg,useCurrentUserVariable:()=>B.oW,useCustomizeBulkUpdateActionProps:()=>m.qj,useCustomizeRequestActionProps:()=>m.Bq,useCustomizeUpdateActionProps:()=>m.Gb,useDataBlock:()=>_.$$,useDataBlockHeight:()=>D.mhY,useDataBlockParentRecord:()=>m.Q7,useDataBlockProps:()=>_.h6,useDataBlockRequest:()=>_._J,useDataBlockRequestData:()=>_.YE,useDataBlockRequestGetter:()=>_.ZK,useDataBlockResource:()=>_.jz,useDataLoadingMode:()=>Q.fY,useDataSource:()=>_.xw,useDataSourceFromRAC:()=>h.PN,useDataSourceHeaders:()=>_.TF,useDataSourceKey:()=>_.Mp,useDataSourceManager:()=>_.m6,useDataTemplates:()=>B.dF,useDatePickerContext:()=>D.nxV,useDateVariable:()=>B.Yv,useDatetimeVariable:()=>B.hY,useDatetimeVariableContext:()=>B.U$,useDeleteRouteSchema:()=>T.NH,useDesignable:()=>D.erX,useDesigner:()=>D.Hbp,useDestroyAction:()=>h.YZ,useDestroyActionAndRefreshCM:()=>h.uk,useDestroyActionProps:()=>m.eZ,useDetailsBlockContext:()=>m.gU,useDetailsBlockProps:()=>m.nw,useDetailsDecoratorProps:()=>Q.DM,useDetailsPaginationProps:()=>m.EV,useDetailsParentRecord:()=>Q.lJ,useDetailsProps:()=>Q.Yb,useDetailsWithPaginationBlockParams:()=>Q.lO,useDetailsWithPaginationDecoratorProps:()=>Q.Bd,useDetailsWithPaginationProps:()=>Q.ys,useDisassociateActionProps:()=>m.wY,useDocumentTitle:()=>f.rN,useDownloadLogs:()=>D.nu1,useEditTableActionProps:()=>m.Il,useEnsureOperatorsValid:()=>D.lhV,useExactDateVariable:()=>B.vm,useExactDateVariableContext:()=>B.gQ,useExtendCollections:()=>_.h_,useFieldComponentName:()=>x.qA,useFieldComponentOptions:()=>D.xB5,useFieldInterfaceOptions:()=>h.nO,useFieldMode:()=>D.J1,useFieldModeOptions:()=>D.jE9,useFieldNames:()=>D.gZ,useFieldProps:()=>D.OJX,useFieldTitle:()=>D.Us6,useFilterAPI:()=>g.eB,useFilterActionProps:()=>D.Um,useFilterBlock:()=>g.xZ,useFilterBlockActionProps:()=>m.B6,useFilterByTk:()=>m.E6,useFilterFieldOptions:()=>D.g9w,useFilterFieldProps:()=>D.yGk,useFilterOptions:()=>D.uwA,useFindComponent:()=>D.QIi,useFlag:()=>b._P,useFormActiveFields:()=>m.dW,useFormBlockContext:()=>m.Es,useFormBlockProps:()=>m.xp,useFormBlockType:()=>m.zE,useFormDataTemplates:()=>D.nlx,useFormFieldContext:()=>m.bt,useFormFieldProps:()=>m.U5,useFormItemInitializerFields:()=>Y.g_,useGetAriaLabelOfAction:()=>D.U8O,useGetAriaLabelOfDesigner:()=>B.$X,useGetAriaLabelOfDrawer:()=>D.HPy,useGetAriaLabelOfModal:()=>D.tO8,useGetAriaLabelOfPopover:()=>D.l2i,useGetFilterFieldOptions:()=>D.OqW,useGetFilterOptions:()=>D.wnJ,useGetSchemaInitializerMenuItems:()=>u.q9,useGlobalTheme:()=>y.my,useGlobalVariable:()=>u.$q,useGlobalVariableCtx:()=>u.i0,useGridContext:()=>D.ZB7,useGridRowContext:()=>D.FVw,useHistoryCollectionsByNames:()=>h.gV,useInheritsTableColumnInitializerFields:()=>Y.FJ,useInsertPageSchema:()=>et.rP,useIsAddNewForm:()=>D.TNL,useIsAdminPage:()=>u.MJ,useIsAllowToSetDefaultValue:()=>B.eT,useIsAssociationField:()=>D.xq$,useIsDetailBlock:()=>m.yH,useIsFieldReadPretty:()=>D.U5u,useIsFileField:()=>D.oAT,useIsFormReadPretty:()=>D.q7s,useIsInSettingsPage:()=>u.JY,useIsLoggedIn:()=>O.DB,useIsSameOrChildCollection:()=>B.j6,useIsSelectFieldMode:()=>D.jeY,useIsSubPageClosedByPageMenu:()=>u.ol,useKeepAlive:()=>T.Y,useLabelUiSchema:()=>D.RB3,useLazy:()=>M._P,useLinkActionProps:()=>m.Su,useLinkageAction:()=>D.LtX,useLinkageCollectionFilterOptions:()=>h.NU,useListBlockContext:()=>D.cl6,useLocalVariables:()=>q.gp,useLocalVariablesWithoutCustomVariable:()=>q.T_,useLocationNoUpdate:()=>u.zd,useLocationSearch:()=>u.$Q,useMenuDragEnd:()=>D.yt2,useMenuSearch:()=>Y.Fh,useMenuTranslation:()=>D.Qgm,useMobileLayout:()=>T.mY,useNavigateNoUpdate:()=>u.vx,useNocoBaseRoutes:()=>D.Ob5,useOpenModeContext:()=>eo.k,useOptionalFieldList:()=>m._q,useParamsFromRecord:()=>m.DQ,useParentCollection:()=>_.KY,useParentRecordCommon:()=>ee.M,useParentRoute:()=>D.TrS,useParseDataScopeFilter:()=>B.hJ,useParseURLAndParams:()=>m.Zj,useParsedFilter:()=>m.jY,usePickActionProps:()=>m.RH,usePlugin:()=>u.nu,usePopupSettings:()=>D.X43,usePopupUtils:()=>en.H,usePopupVariable:()=>B.GL,usePopupVariableContext:()=>B.hK,useProps:()=>D.YYe,useRecord:()=>I.pE,useRecordCollectionDataSourceItems:()=>Y.aU,useRecordIndex:()=>I.Hg,useRecordIsOwn:()=>I.BH,useRecordPkValue:()=>r.fr,useRefreshActionProps:()=>m.tG,useRefreshFieldSchema:()=>ei.o8,useRemoteCollectionManagerLoading:()=>h.RH,useRemoveActionProps:()=>m.Gg,useRemoveGridFormItem:()=>Y.l,useRequest:()=>s.bP,useRerenderDataBlock:()=>_.Kx,useResetBlockActionProps:()=>m.yE,useResource:()=>s.qK,useResourceActionContext:()=>h.br,useResourceContext:()=>h.xh,useRoleRecheck:()=>r.N5,useRoleVariable:()=>B._K,useRolesResourcesScopesSelectedRowKeys:()=>r.OV,useRouter:()=>u.rd,useRouterBasename:()=>u.$y,useSchemaComponentContext:()=>D.Fag,useSchemaInitializer:()=>u.fx,useSchemaInitializerItem:()=>u.eL,useSchemaInitializerMenuItems:()=>u.AK,useSchemaInitializerRender:()=>u.vt,useSchemaInitializerStyles:()=>u.Lm,useSchemaInitializerSubMenuContext:()=>u.Zk,useSchemaOptionsContext:()=>D.MqW,useSchemaSettings:()=>B.KR,useSchemaSettingsItem:()=>u.vr,useSchemaSettingsRender:()=>u.y$,useSchemaTemplate:()=>N.D$,useSchemaTemplateManager:()=>N.ov,useSchemaToolbar:()=>u.C5,useSchemaToolbarRender:()=>u.s6,useSortFields:()=>h.lY,useSourceId:()=>Q.YF,useSourceIdFromParentRecord:()=>m.hY,useSourceIdFromRecord:()=>m.ZC,useStyles:()=>D.ISS,useSupportedBlocks:()=>g.Uf,useSyncFromForm:()=>B.r3,useSystemSettings:()=>$.e6,useSystemSettingsVariable:()=>B.G,useTableBlockContext:()=>m.El,useTableBlockContextBasicValue:()=>m.Vb,useTableBlockDecoratorProps:()=>X.Av,useTableBlockParams:()=>X.Lu,useTableBlockProps:()=>X.ZI,useTableColumnInitializerFields:()=>Y.HG,useTableColumnIntegration:()=>D.i_r,useTableColumns:()=>m.XS,useTableFieldContext:()=>m.tt,useTableFieldProps:()=>m.cY,useTableSelectorContext:()=>m.K8,useTableSelectorProps:()=>m.fX,useTableSize:()=>D.LjE,useTabsContext:()=>D.f2z,useTemplateBlockContext:()=>m.yn,useTitleFieldOptions:()=>D.kDr,useToken:()=>E.K,useUIConfigurationPermissions:()=>r.uM,useURLAndHTMLSchema:()=>K.my,useURLSearchParamsCtx:()=>B.yu,useURLSearchParamsVariable:()=>B.hx,useUpdateActionProps:()=>m.f2,useUpdateCollectionActionAndRefreshCM:()=>h.ry,useUploadStyles:()=>D.dF1,useUserVariable:()=>B.vY,useValidateSchema:()=>D.doK,useValuesFromRecord:()=>h.Jn,useVariableOptions:()=>B._R,useVariableScope:()=>D.ami,useVariableScopeInfo:()=>q.g5,useVariables:()=>q.$l,useViewport:()=>S.k,useZIndexContext:()=>D.$5j,withDynamicSchemaProps:()=>V.T,withInitializer:()=>u.Vr,withSearchParams:()=>D.tXY,withSkeletonComponent:()=>H.t,zIndexContext:()=>D.Eaz}),o(37260),o(60339),o(65132),o(43017),o(38694),o(95836),o(26362),o(45814),o(29663),o(36519);var l=o(10691),n={};for(let e in l)0>["EditFormModel","PopupSubTableFormActionGroupModel","AddChildActionModel","InputFieldModel","PopupContextProvider","usePopupUtils","LinkActionModel","BlockModel","FormSubmitActionModel","joinUrlSearch","FilterFormBlockModel","FormActionGroupModel","RecordSelectFieldModel","DetailsCustomItemModel","GridModel","RefreshActionModel","CollectionBlockModel","DetailsBlockModel","JSActionModel","PopupActionModel","getUnknownCountPaginationTotal","openViewFlow","OpenModeProvider","FormAssociationFieldGroupModel","withDynamicSchemaProps","FilterFormItemModel","languageCodes","getVariableComponentWithScope","AssignFormModel","DisplayTextFieldModel","FilterActionModel","transformFilter","useOpenModeContext","SubTableColumnModel","ActionModel","BlockGridModel","FieldModel","CollectionActionGroupModel","DetailsGridModel","CollectionActionModel","AddNewActionModel","ActionSceneEnum","ClickableFieldModel","editMarkdownFlow","FormItem","useInsertPageSchema","ChildPageModel","getSimpleModePaginationClassName","dispatchEventDeep","VariablePopupRecordProvider","CreateFormModel","IsInNocoBaseRecursionFieldContext","FieldModelRenderer","DisplayTitleFieldModel","locale","DataBlockModel","ActionGroupModel","CodeEditorExtension","withSkeletonComponent","RecordActionGroupModel","SubTableFieldModel","titleField","SwitchLanguage","getPageMenuSchema","FilterGroup","UpdateRecordActionModel","CollectionFieldUISchemaProvider","FormGridModel","TableColumnModel","NocoBaseRecursionField","ChildPageTabModel","FormBlockModel","VariableFilterItem","RefreshComponentProvider","MockFlowModelRepository","fileSizeSetting","default","FilterBlockModel","useRefreshFieldSchema","DetailsItemModel","TextAreaWithContextSelector","CommonItemModel","FormActionModel","FormComponent","CodeEditor","SkeletonFallback","applyMobilePaginationProps","createCompactSimpleItemRender","TableBlockModel","RecordPickerContent","TableAssociationFieldGroupModel","FilterFormActionGroupModel","DisplaySubTableFieldModel","BlockSceneEnum","useCurrentPopupRecord","FormItemModel","DetailsAssociationFieldGroupModel","SchemaSettingsActionLinkItem","showFileName","useURLAndHTMLSchema","mergePaginationClassName"].indexOf(e)&&(n[e]=()=>l[e]);o.d(t,n);var a=o(13975),r=o(41906),i=o(51771),s=o(16211),d=o(94702),u=o(20629),c=o(13274),p=o(29594),m=o(18111),h=o(43288),x=o(53770),v=o(25739),_=o(28227),f=o(50255),g=o(65613),b=o(69575),y=o(79980),S=o(18226),k=o(7271),C=o(60430),M=o(88448),w=o(28601),F=o(21676),P=o(6997),j=o(76028),A=o(92627),I=o(41944),T=o(93160),D=o(82924),L=o(2046),Y=o(12556),R=o(18272),B=o(99300),N=o(96932),E=o(49948),$=o(86393),z=o(48245),O=o(84693),q=o(43923),V=o(80461),H=o(99847),U=o(24943),G=o(39315),K=o(1590),W=o(56250),J=o(12416),X=o(77526),Z=o(92452),Q=o(97173),ee=o(14696),et=o(52973),eo=o(38693),el=o(47851),en=o(84313),ea=o(39888),er=o(15701),ei=o(30644),es=o(504),ed=o(63526),eu=o(40854),ec=o(83249)},88448(e,t,o){o.d(t,{PE:()=>i,RZ:()=>d,_P:()=>u});var l=o(71178),n=o(51649),a=o(52793),r=o(77583);let i=Symbol("LAZY_COMPONENT_KEY"),s=new Map;function d(e){for(var t=arguments.length,o=Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];if(0===o.length){let t=(0,n.lazy)(()=>e().then(e=>{let t=e.default;return o[i]=t,{default:t}})),o=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(t,{...e})});return o}return o.reduce((t,o)=>{let s=(0,n.lazy)(()=>e().then(e=>{let l=(0,r.get)(e,o);return t[o][i]=l,{default:l}}));return t[o]=e=>(0,l.jsx)(n.default.Suspense,{fallback:(0,l.jsx)(a.Spin,{}),children:(0,l.jsx)(s,{...e})}),t},{})}function u(e,t){let o="function"==typeof t?t:e=>e[t],l=e.toString(),n=s.get(l);if(null==n?void 0:n.error)throw n.error;if(null==n?void 0:n.module)return o(n.module);if(!(null==n?void 0:n.promise)){let t=n||{};throw t.promise=e().then(e=>(t.module=e,e)).catch(e=>{throw t.error=e,e}),s.set(l,t),t.promise}throw n.promise}},28601(e,t,o){o.d(t,{At:()=>l,Ay:()=>a,XK:()=>n});let l={"ar-EG":"ar","az-AZ":"az","bg-BG":"bg","bn-BD":"bn-bd","by-BY":"en","ca-ES":"ca","cs-CZ":"cs","da-DK":"da","de-DE":"de","el-GR":"el","en-GB":"en-gb","en-US":"en","es-ES":"es","et-EE":"et","fa-IR":"fa","fi-FI":"fi","fr-BE":"fr","fr-CA":"fr","fr-FR":"fr","ga-IE":"ga","gl-ES":"gl","he-IL":"he","hi-IN":"hi","hr-HR":"hr","hu-HU":"hu","hy-AM":"hy-am","id-ID":"id","is-IS":"is","it-IT":"it","ja-JP":"ja","ka-GE":"ka","kk-KZ":"kk","km-KH":"km","kn-IN":"kn","ko-KR":"ko","ku-IQ":"ku","lt-LT":"lt","lv-LV":"lv","mk-MK":"mk","ml-IN":"ml","mn-MN":"mn","ms-MY":"ms","nb-NO":"nb","ne-NP":"ne","nl-BE":"nl-be","nl-NL":"nl","pl-PL":"pl","pt-BR":"pt-br","pt-PT":"pt","ro-RO":"ro","ru-RU":"ru","si-LK":"si","sk-SK":"sk","sl-SI":"sl","sr-RS":"sr","sv-SE":"sv","ta-IN":"ta","th-TH":"th","tk-TK":"tk","tr-TR":"tr","uk-UA":"uk","ur-PK":"ur","vi-VN":"vi","zh-CN":"zh-cn","zh-HK":"zh-hk","zh-TW":"zh-tw"},n={"ar-EG":{label:"العربية"},"az-AZ":{label:"Azərbaycan dili"},"bg-BG":{label:"Български"},"bn-BD":{label:"Bengali"},"by-BY":{label:"Беларускі"},"ca-ES":{label:"Сatal\xe0/Espanya"},"cs-CZ":{label:"Česky"},"da-DK":{label:"Dansk"},"de-DE":{label:"Deutsch"},"el-GR":{label:"Ελληνικά"},"en-GB":{label:"English(GB)"},"en-US":{label:"English"},"es-ES":{label:"Espa\xf1ol"},"et-EE":{label:"Estonian (Eesti)"},"fa-IR":{label:"فارسی"},"fi-FI":{label:"Suomi"},"fr-BE":{label:"Fran\xe7ais(BE)"},"fr-CA":{label:"Fran\xe7ais(CA)"},"fr-FR":{label:"Fran\xe7ais"},"ga-IE":{label:"Gaeilge"},"gl-ES":{label:"Galego"},"he-IL":{label:"עברית"},"hi-IN":{label:"हिन्दी"},"hr-HR":{label:"Hrvatski jezik"},"hu-HU":{label:"Magyar"},"hy-AM":{label:"Հայերեն"},"id-ID":{label:"Bahasa Indonesia"},"is-IS":{label:"\xcdslenska"},"it-IT":{label:"Italiano"},"ja-JP":{label:"日本語"},"ka-GE":{label:"ქართული"},"kk-KZ":{label:"Қазақ тілі"},"km-KH":{label:"ភាសាខ្មែរ"},"kn-IN":{label:"ಕನ್ನಡ"},"ko-KR":{label:"한국어"},"ku-IQ":{label:"کوردی"},"lt-LT":{label:"lietuvių"},"lv-LV":{label:"Latviešu valoda"},"mk-MK":{label:"македонски јазик"},"ml-IN":{label:"മലയാളം"},"mn-MN":{label:"Монгол хэл"},"ms-MY":{label:"بهاس ملايو"},"nb-NO":{label:"Norsk bokm\xe5l"},"ne-NP":{label:"नेपाली"},"nl-BE":{label:"Vlaams"},"nl-NL":{label:"Nederlands"},"pl-PL":{label:"Polski"},"pt-BR":{label:"Portugu\xeas brasileiro"},"pt-PT":{label:"Portugu\xeas"},"ro-RO":{label:"Rom\xe2nia"},"ru-RU":{label:"Русский"},"si-LK":{label:"සිංහල"},"sk-SK":{label:"Slovenčina"},"sl-SI":{label:"Slovenščina"},"sr-RS":{label:"српски језик"},"sv-SE":{label:"Svenska"},"ta-IN":{label:"Tamil"},"th-TH":{label:"ภาษาไทย"},"tk-TK":{label:"Turkmen"},"tr-TR":{label:"T\xfcrk\xe7e"},"uk-UA":{label:"Українська"},"ur-PK":{label:"Oʻzbekcha"},"vi-VN":{label:"Tiếng Việt"},"zh-CN":{label:"简体中文"},"zh-HK":{label:"繁體中文(香港)"},"zh-TW":{label:"繁體中文(台湾)"}},a=n},39315(e,t,o){o.d(t,{V:()=>v,i:()=>x});var l=o(71178),n=o(56220),a=o(56920);o(51649);var r=o(77843),i=o(44374),s=o(20629),d=o(38951),u=o(45036),c=o(43288),p=o(99300),m=o(1590),h=o(28227);let x=()=>{let e=(0,a.useField)(),t=(0,a.useFieldSchema)(),{dn:o}=(0,i.useDesignable)(),{t:s}=(0,r.useTranslation)(),{urlSchema:d,paramsSchema:u,openInNewWindowSchema:c}=(0,m.my)(),h=t["x-component-props"]||{},x={url:h.url,params:h.params||[{}],openInNewWindow:h.openInNewWindow};return(0,l.jsx)(p.fY,{title:s("Edit link"),components:{ArrayItems:n.ArrayItems},schema:{type:"object",title:s("Edit link"),properties:{url:{...d,required:!0},params:u,openInNewWindow:c}},onSubmit:l=>{let{url:n,params:a,openInNewWindow:r}=l;h.url=n,h.params=a,h.openInNewWindow=r,t["x-component-props"]=h,e.componentProps.url=n,e.componentProps.params=a,e.componentProps.openInNewWindow=r,o.emit("patch",{schema:{"x-uid":t["x-uid"],"x-component-props":h}}),o.refresh()},initialValues:x})},v=new d.R({name:"actionSettings:link",items:[{name:"editButton",Component:u.Yp,useComponentProps(){let{buttonEditorProps:e}=(0,s.C5)();return e}},{name:"editLink",Component:x},{name:"linkageRules",Component:p.f9,useComponentProps(){let{linkageRulesProps:e}=(0,s.C5)(),{association:t}=(0,h.h6)()||{},{getCollectionField:o}=(0,c.nj)();return o(t),{...e}}},p.Xh,{name:"remove",sort:100,Component:u.d0,useComponentProps(){let{removeButtonProps:e}=(0,s.C5)();return e}}]})},1590(e,t,o){o.d(t,{Iy:()=>m,my:()=>h});var l=o(71178),n=o(10691),a=o(56920),r=o(51649),i=o(77843),s=o(69412),d=o(41944),u=o(7122),c=o(96123),p=o(45560);let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return o=>{let n=(0,a.useFieldSchema)(),{form:r}=(0,s.Es)(),i=(0,d.pE)(),u=(0,c._)({collectionField:{uiSchema:n},form:r,record:i,uiSchema:n,noDisabled:!0});return(0,l.jsx)(e,{...o,scope:t.concat(u).filter(Boolean)})}},h=()=>{let{t:e}=(0,i.useTranslation)(),t=(()=>{let e=(0,p.$)("$env"),t=(0,r.useMemo)(()=>e?JSON.stringify((e.children||[]).map(e=>({name:null==e?void 0:e.name,type:null==e?void 0:e.type,title:null==e?void 0:e.title}))):null,[e]),o=(0,r.useRef)(null),l=(0,r.useRef)(null);if(!e)return o.current=null,l.current=null,null;if(l.current!==t){let{children:n=[]}=e;o.current={...e,children:n.filter(e=>"default"===e.type)},l.current=t}return o.current})(),o=(0,r.useMemo)(()=>m(u.rT.TextArea,t?[t]:[]),[t]),l=(0,r.useMemo)(()=>({title:e("URL"),type:"string","x-decorator":"FormItem","x-component":o,description:e("Do not concatenate search params in the URL"),"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "html"}}'}}}}),[e,o]),a=(0,r.useMemo)(()=>({title:'{{t("Mode")}}',"x-component":"Radio.Group","x-decorator":"FormItem",default:"url",enum:[{value:"url",label:e("URL")},{value:"html",label:e("HTML")}]}),[e]),s=(0,r.useMemo)(()=>({title:e("html"),type:"string","x-decorator":"FormItem","x-component":m(u.rT.RawTextArea),"x-component-props":{rows:10},"x-reactions":{dependencies:["mode"],fulfill:{state:{hidden:'{{$deps[0] === "url"}}'}}}}),[e]);return{urlSchema:l,paramsSchema:(0,r.useMemo)(()=>({type:"array","x-component":"ArrayItems","x-decorator":"FormItem",title:'{{t("Search parameters")}}',items:{type:"object",properties:{space:{type:"void","x-component":"Space","x-component-props":{style:{flexWrap:"nowrap",maxWidth:"100%"},className:(0,n.css)`
|
|
140
140
|
& > .ant-space-item:first-child,
|
|
141
141
|
& > .ant-space-item:last-child {
|
|
142
142
|
flex-shrink: 0;
|
|
@@ -964,7 +964,7 @@ ${JSON.stringify(s,null,2)}`)},[j,F,w,S,y,H,t,M,C,R,o,B,z,U,O,q,Y]),K=(0,a.useCa
|
|
|
964
964
|
&:hover {
|
|
965
965
|
background-color: ${i.colorFillSecondary};
|
|
966
966
|
}
|
|
967
|
-
`;return(0,a.jsxs)("div",{style:{maxHeight:300,overflowY:"auto"},children:[e.map(e=>(0,a.jsx)("div",{role:"option",onClick:()=>v(e.value),className:o,children:l(e.label)},e.value)),(0,a.jsx)(u.Divider,{style:{margin:"4px 0"}}),t.map(e=>(0,a.jsx)("div",{role:"option",className:o,onClick:()=>v(e.value),title:l(e.label),children:l(e.label)},e.value))]})}}),["past","next"].includes(null==t?void 0:t.type)&&[(0,a.jsx)(u.InputNumber,{value:null==t?void 0:t.number,onChange:e=>{o({...t,number:e})}},"number"),(0,a.jsx)(u.Select,{value:null==t?void 0:t.unit,style:{minWidth:130,maxWidth:140},onChange:e=>{o({...t,unit:e})},options:[{value:"day",label:n("Day")},{value:"week",label:n("Calendar week")},{value:"month",label:n("Calendar Month")},{value:"year",label:n("Calendar Year")}],popupMatchSelectWidth:!0},"unit")],((null==t?void 0:t.type)==="exact"||!(null==t?void 0:t.type))&&(0,a.jsx)(x,{...e})]})}},87382(e,t,o){o.d(t,{L1:()=>x,L3:()=>f,Pd:()=>h,Uq:()=>_,X_:()=>p,gB:()=>m});var l=o(71178),n=o(72741),a=o(38533),r=o(10691),i=o(56920),s=o(77583),d=o(51649),u=o(54969),c=o(95951);let p=(0,d.createContext)(null);p.displayName="DraggableContext";let m=(0,d.createContext)(null);m.displayName="SortableContext";let h=e=>{let{id:t,data:o,children:n}=e,r=(0,a.useDraggable)({id:t,data:o}),i=(0,a.useDroppable)({id:t,data:o}),s=(0,d.useMemo)(()=>({draggable:r,droppable:i}),[r,i]);return(0,l.jsx)(m.Provider,{value:s,children:n})},x=e=>{var t,o;let{component:l,overStyle:a,style:s,children:c,openMode:p,...h}=e,{token:x}=(0,u.rd)(),{draggable:v,droppable:_}=(0,d.useContext)(m),{isOver:f,setNodeRef:g}=_,b={...s},y=(0,i.useFieldSchema)(),S=(null==y?void 0:y["x-component"])==="Action.Link"||"a"===l;if(f&&(null==v||null==(t=v.active)?void 0:t.id)!==(null==_||null==(o=_.over)?void 0:o.id)){let e;b[S?"color":"background"]=(e=x.colorSettings,new n.TinyColor(e).setAlpha(.15).toHex8String()),Object.assign(b,a)}return d.default.createElement(l||"div",{role:"none",...h,className:(0,r.cx)("nb-sortable-designer",e.className),ref:g,style:b},c)},v=(0,i.observer)(e=>{var t,o;let n,a,r,{schema:s,id:u,eid:c,removeParentsIfNoChildren:p,...m}=(t=e,n=(0,i.useField)(),a=t.id?t.id:null==n||null==(o=n.address)?void 0:o.toString(),r=(0,i.useFieldSchema)(),e.schema?{...e,id:a}:{...e,id:a,schema:r}),v=(0,d.useMemo)(()=>{var e,t,o;return{insertAdjacent:"afterEnd",schema:(null==(t=s.parent)||null==(e=t.parent)?void 0:e["x-component"])==="BlockTemplate"?null==(o=s.parent)?void 0:o.parent:s,removeParentsIfNoChildren:p??!0}},[s,p]);return(0,l.jsx)(h,{id:u,data:v,children:(0,l.jsx)(x,{id:c,...m,children:e.children})})},{displayName:"InternalSortableItem"}),_=d.default.memo(e=>{let{component:t,...o}=e,{designable:n}=(0,c.er)();return n?(0,l.jsx)(v,{...e}):d.default.createElement(t||"div",s.default.omit(o,["children","schema","overStyle","openMode","id","eid","removeParentsIfNoChildren"]),e.children)});_.displayName="SortableItem";let f=e=>{let{draggable:t}=(0,d.useContext)(m)||{};if(!t)return null;let{attributes:o,listeners:n,setNodeRef:a}=t;return(0,l.jsx)("div",{style:{display:"inline-block",width:14,height:14,lineHeight:"14px",textAlign:"left"},children:(0,l.jsx)("div",{ref:a,style:{position:"relative",zIndex:1,lineHeight:0,fontSize:0,display:"inline-block"},...n,...o,role:"none",children:(0,l.jsx)("span",{style:{cursor:"move",fontSize:14},children:e.children})})})}},37845(e,t,o){o.d(t,{L1:()=>l.L1,L3:()=>l.L3,Pd:()=>l.Pd,Uq:()=>l.Uq,X_:()=>l.X_,gB:()=>l.gB});var l=o(87382)},59529(e,t,o){o.d(t,{KX:()=>p,_c:()=>h,a2:()=>f,bc:()=>c,rf:()=>u});var l=o(63526),n=o(77583),a=o(73761),r=o(839),i=o(59896),s=o(32665),d=o(64004);let u=(e,t)=>{var o;let l=null==e||null==(o=e.match)?void 0:o.call(e,/{{(.*?)}}/);if(!l)return e;{let e=n.default.get(t,l[1]);return n.default.isFunction(e)?e():e}};function c(e){if("object"!=typeof e||null===e)return null;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))if("[object Object]"===Object.prototype.toString.call(e[t])&&null!==e[t])return c(e[t]);else return{key:t,value:e[t]};return null}let p=e=>{let t,o=(t=[],!function e(o){Object.keys(o).sort().forEach(function(l){t.push(l),o[l]&&"object"==typeof o[l]&&e(o[l])})}(e),t),l=(0,n.findIndex)(o,(e,t,o)=>{if(e.includes("$")&&t>0)return!0});return o.slice(0,l)},m=async(e,t,o)=>{let l=(0,i.DZ)(e)?[t.parseVariable(e,o).then(e=>{let{value:t}=e;return t})]:[e];try{let[e]=await Promise.all(l);return e}catch(e){throw console.error("Error in parseVariableValue:",e),e}},h=async(e,t)=>{let{ruleGroup:o,variables:l,localVariables:a,variableNameOfLeftCondition:r,conditionType:i}=e,s=Object.keys(o)[0]||"$and",d=o[s]||[],u=await Promise.all(d.filter(Boolean).map(e=>x(e,l,a,r,i,t)));return"$and"===s?(0,n.every)(u,e=>e):!u.length||(0,n.some)(u,e=>e)},x=async(e,t,o,l,n,a)=>"$and"in e||"$or"in e?await h({ruleGroup:e,variables:t,localVariables:o,conditionType:n},a):"advanced"===n?v(e,t,o,a):_(e,t,o,l,a),v=async(e,t,o,l)=>{let n=e.op,a=await m(e.rightVar,t,o),r=await m(e.leftVar,t,o);return!n||l.apply({[n]:[r,a]})},_=async(e,t,o,n,a)=>{let r=c(e),u=null==r?void 0:r.key;if(!u)return!0;let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$nForm";return`{{ ${t}.${e.join(".")} }}`}(p(e),n),h=t.parseVariable(m,o,{doNotRequest:!0}).then(e=>{let{value:t}=e;return t}),x=(0,i.DZ)(null==r?void 0:r.value)?[t.parseVariable(null==r?void 0:r.value,o).then(e=>{let{value:t}=e;return t}),h]:[null==r?void 0:r.value,h];try{let[e,n]=await Promise.all(x),r=await t.getCollectionField(m,o),i=(0,s.A)(n,{targetCollectionField:r}),c=(0,s.A)(e,{targetCollectionField:r});if((null==r?void 0:r.type)&&["datetime","date","datetimeNoTz","dateOnly","unixTimestamp"].includes(r.type)&&i){let e=(0,d.Pn)(c),t=(0,l.getPickerFormat)(e);i=(0,l.dayjs)(i).format(t)}return a.apply({[u]:[i,c]})}catch(e){throw e}};async function f(e,t,o,n,i,s){if(t&&"handlebars"===e){l.Handlebars.registerHelper("t",function(e){if("string"==typeof e)return s(e,{ns:r.z})});try{var d,u;let e,a=t.replace(/{{\s*}}/g,'{{"{{}}"}}'),r=l.Handlebars.compile(a),s=(e={},n.map(t=>{e[t.name]=t.ctx}),e),{$nDate:c}=(null==o||null==(d=o.ctxRef)?void 0:d.current)||{},p={};Object.keys(c||{}).map(e=>{p[e]=c[e]()});let m=r({...null==o||null==(u=o.ctxRef)?void 0:u.current,...s,$nDate:p});return console.log(m),await i(m)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),console.log(t),t}}try{let e=await (0,a.replaceVariableValue)(t,o,n);return await i(e)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),t}}},84951(e,t,o){o.d(t,{A:()=>g});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44388),s=o(51275),d=o(22204),u=o(3012),c=o(52570),p=o(95951);let m={type:"void","x-component":"Action.Container","x-action":"view",title:'{{ t("View record") }}',"x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}};var h=o(49621),x=o(30644),v=o(39888);let _=e=>"Action.Container"===e["x-component"],f=e=>{let{WrappedComponent:t,...o}=e,i=(0,n.useFieldSchema)(),{openPopup:s}=(0,u.Hy)(),d=(0,r.useRef)(!1),c=(()=>{let e=(0,n.useFieldSchema)(),{insertAfterBegin:t}=(0,p.er)();return(0,r.useCallback)(o=>{e.reduceProperties((e,t)=>"Action.Container"===t["x-component"]?t:e,null)||t((0,a.cloneDeep)(o))},[e,t])})(),h=(0,r.useRef)(i);h.current=i;let x=(0,r.useRef)(c);x.current=c;let v=(0,r.useRef)(s);v.current=s;let _=(0,r.useCallback)(()=>h.current,[]),f=(0,r.useCallback)(()=>{h.current.properties||(x.current(m),d.current=!0),d.current?(setTimeout(()=>{v.current({customActionSchema:_()})}),d.current=!1):h.current.properties&&v.current()},[_]),g=(0,r.useMemo)(()=>(0,a.debounce)(f,600,{leading:!0,trailing:!1}),[f]);return(0,r.useEffect)(()=>()=>{g.cancel()},[g]),(0,l.jsx)("a",{onClick:g,children:(0,l.jsx)(t,{...o})})};function g(e){return t=>{let[o,a]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),g=(0,h.Ge)(),b=(0,s.D5)(),y=(0,n.useField)(),S=(0,n.useFieldSchema)(),{enableLink:k,openMode:C,openSize:M}=(null==S?void 0:S["x-component-props"])||{},{visibleWithURL:w,setVisibleWithURL:F}=(0,u.Hy)(),P=(0,r.useCallback)(e=>{null==a||a(e),null==F||F(e)},[F]);(0,r.useRef)(S).current=S;let{setSubmitted:j}=b;return k?(0,l.jsx)(i.OC,{visible:!1,children:(0,l.jsxs)(d.z4,{button:(0,l.jsx)(e,{...t}),visible:o||w,setVisible:P,formValueChanged:p,setFormValueChanged:m,openMode:C,openSize:M,containerRefKey:"field-popup",fieldSchema:S,setSubmitted:j,children:[(0,l.jsx)(h.Yz,{name:g.name,children:(0,l.jsx)(c.t,{children:(0,l.jsx)(v.P3,{children:(0,l.jsx)(x.dw,{onlyRenderProperties:!0,basePath:null==y?void 0:y.address,schema:S,filterProperties:_})})})}),(0,l.jsx)(f,{...t,WrappedComponent:e})]})}):(0,l.jsx)(e,{...t})}}},63557(e,t,o){o.d(t,{u:()=>l});let l=(0,o(51649).createContext)({});l.displayName="SchemaComponentContext.Provider"},71915(e,t,o){o.d(t,{O:()=>u});var l=o(71178),n=o(44814),a=o(56920),r=o(51649),i=o(52570);let s=e=>{let{children:t,form:o,...n}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components};return(0,l.jsx)(a.FormProvider,{...n,form:o,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},d=e=>{let{children:t,...o}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components},p=(0,r.useMemo)(()=>(0,n.createForm)(),[]);return(0,l.jsx)(a.FormProvider,{...o,form:p,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},u=e=>e.form?(0,l.jsx)(s,{...e}):(0,l.jsx)(d,{...e})},86073(e,t,o){o.d(t,{D:()=>x});var l=o(71178),n=o(44814),a=o(56920),r=o(52793),i=o(51649),s=o(43353);o(67285);var d=o(16319),u=o(71915),c=o(93726),p=o(16211);let m=e=>e,h=e=>{let{noForm:t,onlyRenderProperties:o,hidden:h,scope:x,uid:v,components:_,onSuccess:f,NotFoundPage:g,schemaTransform:b=m,onPageNotFind:y}=e,S=(0,i.useMemo)(()=>(0,n.createForm)(),[v]),{schema:k,loading:C}=(e=>{let{uid:t,type:o="getJsonSchema",onSuccess:l}=e,n={url:`/uiSchemas:${o}/${t}`},{data:a,loading:r}=(0,p.bP)(n,{refreshDeps:[t],onSuccess(e){l&&l(e)}});return{schema:null==a?void 0:a.data,loading:r}})({uid:v,type:o?"getProperties":"getJsonSchema",onSuccess:e=>{f&&f(e)}}),M=(0,d.xZ)(g),w=(0,s.RH)(),F=(0,a.useFieldSchema)(),P=(0,i.useMemo)(()=>b(k||{}),[k,b]),j=!k||0===Object.keys(k).length;return((0,i.useEffect)(()=>{w||C||h||!j||!y||y()},[w,h,C,y,j]),w||C||h)?(0,l.jsx)(r.Spin,{style:{width:"100%",marginTop:20},delay:void 0}):j?M?(0,l.jsx)(M,{}):null:t?(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F}):(0,l.jsx)(u.O,{form:S,children:(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F})})},x=(0,i.memo)(e=>e.uid?(0,l.jsx)(h,{...e}):null);x.displayName="RemoteSchemaComponent"},93726(e,t,o){o.d(t,{D:()=>c,H:()=>h});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(30644),s=o(63557),d=o(52570);function u(e){return n.Schema.isSchemaInstance(e)?e:new n.Schema((null==e?void 0:e.name)?{type:"object",properties:{[e.name]:e},name:`p_${e.name}`}:e)}let c=(0,r.createContext)({onChange:a.default.noop}),p=(0,r.memo)(e=>{let{components:t,scope:o,schema:n,distributed:p,onChange:m,parentSchema:h,...x}=e,v=(0,r.useContext)(s.u),_=(0,r.useMemo)(()=>u(n),[n]),f=(0,r.useMemo)(()=>({...v,distributed:!1!=v.distributed&&p,refresh:v.refresh||a.default.noop}),[v,p]),{onChange:g}=(0,r.useContext)(c),b=(0,r.useMemo)(()=>({onChange:()=>{null==m||m(_),null==g||g()}}),[m,g,_]);return(0,l.jsx)(c.Provider,{value:b,children:(0,l.jsx)(s.u.Provider,{value:f,children:(0,l.jsx)(d.t,{inherit:!0,components:t,scope:o,children:(0,l.jsx)(i.dw,{...x,schema:_,isUseFormilyField:!0,parentSchema:h})})})})});p.displayName="RecursionSchemaComponent";let m=(0,r.memo)(e=>{let{schema:t,parentSchema:o,...n}=e,a=(0,r.useMemo)(()=>u(t),[]);return(0,l.jsx)(p,{...n,schema:a,parentSchema:o})});m.displayName="MemoizedSchemaComponent";let h=(0,r.memo)(e=>{let{memoized:t,...o}=e;return t?(0,l.jsx)(m,{...o}):(0,l.jsx)(p,{...o})});h.displayName="SchemaComponent"},52570(e,t,o){o.d(t,{M:()=>r,t:()=>i});var l=o(71178),n=o(56920),a=o(51649);let r=()=>(0,a.useContext)(n.SchemaOptionsContext)||{},i=(0,a.memo)(e=>{let{children:t}=e,o=r(),i=(0,a.useMemo)(()=>({...o.components,...e.components}),[o.components,e.components]),s=(0,a.useMemo)(()=>({...o.scope,...e.scope}),[o.scope,e.scope]),d=(0,a.useMemo)(()=>({scope:s,components:i}),[s,i]);return(0,l.jsx)(n.SchemaOptionsContext.Provider,{value:d,children:(0,l.jsx)(n.SchemaComponentsContext.Provider,{value:i,children:(0,l.jsx)(n.ExpressionScope,{value:s,children:t})})})});i.displayName="SchemaComponentOptions"},90995(e,t,o){o.d(t,{OA:()=>P,DY:()=>v.D,GD:()=>A,Do:()=>_.D,Mq:()=>f.M,t6:()=>f.t,Hv:()=>_.H,Op:()=>x.O,N3:()=>h});var l=o(71178),n=o(82113),a=o(52793),r=o(51649),i=o(77843),s=o(82924),d=o(49948),u=o(90236),c=o(504);let p={backgroundColor:"var(--colorSettings) !important"},m={backgroundColor:"transparent"},h=e=>{let{designable:t,setDesignable:o}=(0,s.erX)(),{t:r}=(0,i.useTranslation)(),{token:h}=(0,d.K)(),{isMobileLayout:x}=(0,u.mY)(),v=(0,c.useFlowEngine)();return((0,ec.useHotkeys)("Ctrl+Shift+U",()=>o(!t),[t]),x)?null:(0,l.jsx)(a.Tooltip,{title:r("UI Editor"),children:(0,l.jsx)(a.Button,{"data-testid":"ui-editor-button",icon:(0,l.jsx)(n.HighlightOutlined,{style:{color:h.colorTextHeaderMenu}}),title:r("UI Editor"),style:{...t?p:m,...e.style},onClick:async()=>{let e=!t;o(e),x||!e?await v.flowSettings.disable():await v.flowSettings.enable()}})})};var x=o(71915),v=o(86073),_=o(93726),f=o(52570),g=o(44814),b=o(56920),y=o(27404),S=o(77583),k=o(63557),C=o(20629);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${(0,y.uid)()}`};b.Schema.silent(!0);let w={},F={silent:!0,compile(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=()=>{if(!F.silent)return Function("$root",`with($root) { return (${e}); }`)(t);try{return Function("$root",`with($root) { return (${e}); }`)(t)}catch{return`{{${e}}}`}};return w[e]?w[e]:e.trim().startsWith("t(")?(w[e]=o(),w[e]):o()}};b.Schema.registerCompiler(F.compile);let P=e=>{let{designable:t,onDesignableChange:o,components:n,children:a}=e,s=(0,r.useContext)(k.u),d=(0,f.M)(),[u,c]=(0,r.useState)(()=>(0,y.uid)()),p=(0,r.useMemo)(()=>e.form||(0,g.createForm)(),[u]),{t:m}=(0,i.useTranslation)(),h=(0,C.nm)(),x=(0,r.useMemo)(()=>({...e.scope,t:m,randomString:M}),[e.scope,m,null==d?void 0:d.scope]),[v,_]=(0,r.useState)(t),w=(0,r.useMemo)(()=>"boolean"==typeof t?t:v,[t,v,s.designable]),F=(0,r.useMemo)(()=>e=>{"boolean"!=typeof w&&_(e),null==o||o(e)},[w,o]);(0,r.useEffect)(()=>{let e=!1;return(async()=>{var t,o,l,n;if(!w)return await (null==(o=h.flowEngine)||null==(t=o.flowSettings)?void 0:t.disable());e||await (null==(n=h.flowEngine)||null==(l=n.flowSettings)?void 0:l.enable())})(),()=>{e=!0}},[h,w]);let P=(0,r.useCallback)(()=>{c((0,y.uid)())},[]),j=(0,r.useMemo)(()=>({scope:x,components:n,reset:P,refresh:S.default.noop,designable:w,setDesignable:F}),[n,w,P,x,F]);return(0,l.jsx)(k.u.Provider,{value:j,children:(0,l.jsx)(b.FormProvider,{form:p,children:(0,l.jsx)(f.t,{inherit:!0,scope:x,components:n,children:a})})})};P.displayName="SchemaComponentProvider";var j=o(83468);class A extends j.k{async load(){this.addComponents()}addComponents(){this.app.addComponents({DesignableSwitch:h})}}},16319(e,t,o){o.d(t,{Us:()=>_,TD:()=>n,F:()=>c.F,px:()=>i.px,QI:()=>i.QI,d1:()=>i.d1,xB:()=>h,YY:()=>f.Y,Lj:()=>g.Lj,er:()=>i.er,xZ:()=>r.x,OJ:()=>u,mh:()=>g.mh,lu:()=>a.l,kB:()=>i.kB,Hb:()=>s.H,a9:()=>g.a9,jE:()=>b.j});var l=o(51649);let n=e=>{let t=(0,l.useRef)(null);return(0,l.useEffect)(()=>(t.current&&e!==t.current&&t.current.onUnmount(),t.current=e,e.onMount(),()=>{e.onUnmount()}),[e]),e};var a=o(61013),r=o(57619),i=o(95951),s=o(87463),d=o(56920);let u=e=>{let t=(0,l.useContext)(d.SchemaOptionsContext),o=(0,l.useContext)(d.SchemaExpressionScopeContext),n=(0,l.useRef)();return n.current=o,e.toFieldProps({...t,get scope(){return{...t.scope,...n.current}}})};var c=o(39247),p=o(77843),m=o(43288);let h=()=>{var e;let{getCollectionJoinField:t,getCollection:o}=(0,m.nj)(),n=(0,d.useFieldSchema)(),{getField:a}=(0,m.k7)(),r=a(n.name)||t(n["x-collection-field"]),{t:i}=(0,p.useTranslation)(),{label:s}=(null==(e=n["x-component-props"])?void 0:e.fieldNames)||{};return(0,l.useMemo)(()=>{if(!r||!(null==r?void 0:r.interface)||!["o2o","oho","obo","o2m","linkTo","m2o","m2m"].includes(r.interface))return;let e=o(r.target);if((null==e?void 0:e.template)==="file")return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];switch(r.interface){case"o2m":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subtable"),value:"TableField"},{label:i("Select"),value:"AssociationSelect"}];case"m2o":case"m2m":case"linkTo":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];default:return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subform"),value:"FormField"},{label:i("Select"),value:"AssociationSelect"}]}},[i,null==r?void 0:r.interface,s])};var x=o(26174),v=o(49621);let _=()=>{var e;let t=(0,d.useField)(),o=(0,d.useFieldSchema)(),n=(0,v.Ge)(),r=(0,x.r2)(),i=(null==n?void 0:n.getField(o.name))||(null==r?void 0:r.getCollectionField(o["x-collection-field"])),s=(0,a.l)();(0,l.useEffect)(()=>{if(!(null==t?void 0:t.title)){var e;t.title=s(null==i||null==(e=i.uiSchema)?void 0:e.title)}},[null==i||null==(e=i.uiSchema)?void 0:e.title])};var f=o(4922),g=o(62152),b=o(81547)},62152(e,t,o){o.d(t,{Lj:()=>f,a9:()=>_,mh:()=>v});var l=o(56920),n=o(71883),a=o(52793),r=o(77583),i=o(51649),s=o(38356),d=o(95951),u=o(44374),c=o(73761),p=o(70892),m=o(38131);let h=e=>{let t=g((0,l.useFieldSchema)()),o=(e=>{var t,o,l,n;let{token:r}=a.theme.useToken(),{designable:i}=(0,d.er)(),{heightProps:u}=(0,c.useBlockHeightProps)(),p=(0,s.useLocation)(),{disablePageHeader:m,enablePageTabs:h,hidePageTitle:x}=e||u||{},v=r.sizeXXL-2,_=i?r.controlHeight+2*r.paddingContentHorizontalLG:+r.paddingContentHorizontalLG;return v+(t=m,o=h,l=x,n=r,p.pathname.includes("/popups/")?2*n.paddingContentVertical+22+n.paddingPageVertical:t?n.paddingContentHorizontalLG:l?o?n.controlPaddingHorizontal+3*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.paddingContentHorizontalLG+12:o?n.paddingSM+n.controlHeight+n.marginXS+2*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.controlHeight+n.marginXS+(n.paddingContentVertical+2)*2+n.paddingContentHorizontalLG)+_})(e),n=(()=>{let{token:e}=a.theme.useToken(),{designable:t}=(0,d.er)();return e.paddingContentVerticalLG+e.margin+2*e.paddingContentVertical+24+(t?e.controlHeight+2*e.paddingContentHorizontalLG:+e.paddingContentHorizontalLG)})();return t?n:o},x=["workflowManualTasks","approvals","approvalRecords"],v=e=>{let{heightProps:t}=(0,c.useBlockHeightProps)(),o=h(),{heightMode:l,height:n,title:a,titleHeight:r}=t||{};if((null==t?void 0:t.heightMode)&&l!==m.D.DEFAULT){if(l===m.D.FULL_HEIGHT){let t=window.innerHeight-o;return(null==e?void 0:e.removeBlockHeaderHeight)&&(t-=a?r:0),(null==e?void 0:e.innerExtraHeight)&&(t-=e.innerExtraHeight),t}return n}},_=()=>{let e=(0,l.useFieldSchema)(),t=(0,i.useMemo)(()=>(0,c.getPageSchema)(e),[]),{disablePageHeader:o,enablePageTabs:n,hidePageTitle:a}=(null==t?void 0:t["x-component-props"])||{},r={...null==e?void 0:e["x-component-props"],disablePageHeader:o,enablePageTabs:n,hidePageTitle:a},s=h(r),{heightMode:d,height:u}=r||{};if((null==r?void 0:r.heightMode)&&d!==m.D.DEFAULT)return d===m.D.FULL_HEIGHT?window.innerHeight-s:u},f=()=>{let[e,t]=(0,i.useState)(),o=(0,i.useRef)(null),s=(()=>{var e;let{token:t}=a.theme.useToken(),{heightProps:o}=(0,c.useBlockHeightProps)(),{heightProps:n}=(0,p.El)(),{designable:r}=(0,d.er)(),i=(0,l.useFieldSchema)(),s=n||o,{titleHeight:v}=o,_=h(s),{name:f}=(0,u.useCollection)(),{heightMode:g,height:b,title:y}=s;if(!(null==s?void 0:s.heightMode)||g===m.D.DEFAULT)return;let S=Object.keys((null==(e=i.parent.properties.actions)?void 0:e.properties)||{}).length>0,k=t.controlHeight+t.padding+t.marginLG,C=S||r?t.controlHeight+2*t.marginLG:t.marginLG,M=(r&&!x.includes(f)?t.controlHeight:22)+2*t.padding+1,w=y?v:0;return g===m.D.FULL_HEIGHT?window.innerHeight-_-w-M-C-k:b-w-C-M-k})(),v=(0,i.useCallback)((0,r.debounce)(()=>{var e;if(!o.current)return;let l=o.current.getBoundingClientRect();(null==(e=o.current.querySelector(".ant-table"))?void 0:e.getBoundingClientRect())&&t(l.width)},100),[s]),_=(0,i.useCallback)(e=>{o.current=e&&e.children?e.children[0]:null,v()},[v]);return(0,n.useEventListener)("resize",v),{height:s,width:e,tableSizeRefCallback:_}},g=e=>{if(!e)return null;if("Action.Container"===e["x-component"]){var t,o;return(null==e||null==(o=e.parent)||null==(t=o["x-component-props"])?void 0:t.openMode)!=="page"}return g(e.parent)}},61013(e,t,o){o.d(t,{l:()=>r});var l=o(56920),n=o(51649);let a={},r=function(){let{noCache:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{noCache:!1},t=(0,n.useContext)(l.SchemaOptionsContext),o=(0,n.useContext)(l.SchemaExpressionScopeContext);return(r,i)=>{var s,d;let u,c=!1;if("string"==typeof r&&r.startsWith("{{")&&(c=!0,u=r),r&&"object"==typeof r&&!(0,n.isValidElement)(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];s=u,c=/{{.*?}}/g.test(s)}if(Array.isArray(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];d=u,c=/{{.*?}}/g.test(d)}if(c){let n={...null==t?void 0:t.scope,...o,...i};if(!u)return l.Schema.compile(r,n);try{if(e)return l.Schema.compile(r,n);return a[u]=a[u]||l.Schema.compile(r,n),a[u]}catch(e){return console.log("useCompile error",r,e),l.Schema.compile(r,n)}}return r}}},57619(e,t,o){o.d(t,{x:()=>r});var l=o(56920),n=o(77583),a=o(51649);let r=(e,t)=>{let{components:o}=(0,a.useContext)(l.SchemaOptionsContext);return e?"string"!=typeof e?e:(0,n.get)(o,e)||t:t}},95951(e,t,o){o.d(t,{er:()=>F,px:()=>g,QI:()=>w,d1:()=>M,kB:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(52793),s=o(13791),d=o(93656),u=o(20148),c=o(51649),p=o(77843),m=o(16211),h=o(30644),x=o(88448),v=o(63557),_=JSON.parse('{"rE":"2.1.0-alpha.26"}'),f=o(13975);function g(e){return new M(e)}let b=e=>{e&&(e["x-uid"]||(e["x-uid"]=(0,a.uid)()),Object.keys(e.properties||{}).forEach(t=>{b(e.properties[t])}))},y=e=>e,S=(e,t)=>{if(e&&t){for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&t[o]!==(null==e?void 0:e[o]))return!1;return!0}},k=(e,t)=>{if(e["x-uid"]&&e["x-uid"]===t["x-uid"])return[null,e.toJSON()];let o=e.toJSON(),l={...o,properties:{}},n=null,a=(e,o)=>{Object.keys(e||{}).forEach(l=>{let r=e[l];if(r["x-uid"]===t["x-uid"]){n=e[l];return}o.properties[l]={...r,properties:{}},a(null==r?void 0:r.properties,o.properties[l])})};return a(o.properties,l),[l,n]},C=e=>e;class M{get model(){return this.options.model}get query(){return this.options.query}loadAPIClientEvents(){let{api:e,t=C}=this.options;if(!e)return;let o=e=>{if(!e)return[];let t=Object.values(e.properties).length,o=[];return(e.mapProperties(e=>{e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].width=100/t,e["x-uid"]&&o.push({"x-uid":e["x-uid"],"x-component-props":e["x-component-props"]})}),e["x-uid"]&&o.length)?o:[]};this.on("insertAdjacent",async l=>{var n;let{onSuccess:a,current:r,position:s,schema:d,wrap:u,wrapped:c,removed:p}=l,m=[];if((null==c?void 0:c["x-component"])==="Grid.Col"&&(m=m.concat(o(c.parent))),(null==p?void 0:p["x-component"])==="Grid.Col"&&(m=m.concat(o(p.parent))),this.refresh(),!r["x-uid"])return;let h=await e.request({url:`/uiSchemas:insertAdjacent/${r["x-uid"]}?position=${s}`,method:"post",data:{schema:function e(t,o){if(t)return t["x-app-version"]||(t["x-app-version"]=o),Object.keys(t.properties||{}).forEach(l=>{var n;e(null==(n=t.properties)?void 0:n[l],o)}),t}(d,this.appVersion),wrap:u}});m.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:m}),(null==p?void 0:p["x-uid"])&&await e.request({url:`/uiSchemas:remove/${p["x-uid"]}`,method:"post"}),null==a||a(null==h||null==(n=h.data)?void 0:n.data),i.message.success(t("Saved successfully"),.2)}),this.on("patch",async o=>{let{schema:l}=o;this.refresh(),(null==l?void 0:l["x-uid"])&&(await e.request({url:"/uiSchemas:patch",method:"post",data:{...l}}),i.message.success(t("Saved successfully"),.2))}),this.on("initializeActionContext",async t=>{let{schema:o}=t;(null==o?void 0:o["x-uid"])&&await e.request({url:"/uiSchemas:initializeActionContext",method:"post",data:{...o}})}),this.on("batchPatch",async o=>{let{schemas:l}=o;this.refresh(),await e.request({url:"/uiSchemas:batchPatch",method:"post",data:l}),i.message.success(t("Saved successfully"),.2)}),this.on("remove",async l=>{let{removed:n}=l,a=[];(null==n?void 0:n["x-component"])==="Grid.Col"&&(a=o(n.parent)),this.refresh(),(null==n?void 0:n["x-uid"])&&(await e.request({url:`/uiSchemas:remove/${n["x-uid"]}`,method:"post"}),a.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:a}),i.message.success(t("Saved successfully"),.2))})}prepareProperty(e){e.type||(e.type="void"),e.name||(e.name=(0,a.uid)()),this.current["x-uid"]&&b(e)}on(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}async emit(e){for(var t=arguments.length,o=Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];if(!this.events[e])return;let[n,...a]=o;return Promise.all(this.events[e].map(e=>e.bind(this)({current:this.current,...n},...a)))}parentsIn(e){if(!e||!n.Schema.isSchemaInstance(e))return!1;let t=this.current;for(;null==t?void 0:t.parent;){if(t.parent===e)return!0;t=t.parent}return!1}refresh(e){let{refresh:t}=this.options;return null==t?void 0:t(e)}deepMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly"},o={"x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(l=>{t[l]?(this.current[l]=e[l],this.updateModel(t[l],e[l])):o[l]?Object.keys(e[l]).forEach(t=>{(0,u.default)(this.current,[l,t],e[l][t]),this.updateModel([o[l],t],e[l][t])}):this.current[l]=e[l]}),this.emit("patch",{schema:e})}getSchemaAttribute(e,t){return(0,d.default)(this.current,e,t)}shallowMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly","x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(o=>{this.current[o]=e[o],t[o]&&this.updateModel(t[o],e[o])}),this.emit("patch",{schema:e})}updateModel(e,t){let o=o=>{(0,u.default)(o,e,t)};this.model&&o(this.model),this.query&&this.query.take(o)}insertAdjacent(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};switch(e){case"beforeBegin":return this.insertBeforeBegin(t,o);case"afterBegin":return this.insertAfterBegin(t,o);case"beforeEnd":return this.insertBeforeEnd(t,o);case"afterEnd":return this.insertAfterEnd(t,o)}}recursiveRemoveIfNoChildren(e,t){let o;if(!e)return;let l=e,n=null==t?void 0:t.breakRemoveOn;for(;l;){if("function"==typeof n){if(n(l))break}else if(S(l,n))break;if(Object.keys(l.properties||{}).length>0)break;l.parent&&(o=l.parent.removeProperty(l.name)),l=l.parent}return o}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return this.emit("remove",{removed:a})}removeWithoutEmit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return a}insertBeforeBeginOrAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current)||!n.Schema.isSchemaInstance(e)||this.current.parent!==e.parent)return;let o=0,l=0;return this.current.parent.mapProperties((t,n,a)=>{this.current.name===n&&(l=a),e.name===n&&(o=a)}),o>l?this.insertBeforeBegin(e,t):this.insertAfterEnd(e,t)}insertBeforeBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=!1,c=0,p=0;this.current.parent.mapProperties((e,t)=>{t===this.current.name&&(p=c,u=!0,++c),e["x-index"]=c,++c,u&&(d[t]=e,this.current.parent.removeProperty(t))}),this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h["x-index"]=p,h.parent=this.current.parent,this.current.parent.setProperties(d);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"beforeBegin",schema:v,wrapped:m,wrap:x,...o})}insertAfterBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=1;this.current.mapProperties((e,t)=>{e["x-index"]=u,++u,d[t]=e}),this.current.properties={},this.prepareProperty(e);let c=l(e),p=this.current.addProperty(c.name||(0,a.uid)(),c);p["x-index"]=0,p.parent=this.current,this.current.setProperties(d);let[m,h]=k(p,e);this.emit("insertAdjacent",{position:"afterBegin",schema:h,wrap:m,wrapped:c,...o})}insertBeforeEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;delete e["x-index"];let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let d=l(e),u=this.current.addProperty(d.name||(0,a.uid)(),d);u.parent=this.current;let[c,p]=k(u,e);return this.emit("insertAdjacent",{position:"beforeEnd",schema:p,wrap:c,wrapped:d,...o})}insertAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:null==t?void 0:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t,d=0,u=0,c=!1,p={};if(this.current.parent.mapProperties((e,t)=>{e["x-index"]=d,t===this.current.name&&(u=++d,c=!0),++d,c&&t!==this.current.name&&(p[t]=e,this.current.parent.removeProperty(t))}),n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r})),e.parent=null}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h.parent=this.current.parent,h["x-index"]=u,this.current.parent.setProperties(p);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"afterEnd",schema:v,wrap:x,wrapped:m,...o})}constructor(e){this.events={},this.options=e,this.current=e.current,this.appVersion=e.appVersion}}function w(){let e=(0,c.useContext)(n.SchemaOptionsContext),t=(0,c.useMemo)(()=>(null==e?void 0:e.components)||{},[e]);return e=>{if(!e)return null;if("string"!=typeof e)return e;let o=(0,d.default)(t,e);return o||console.error(`[nocobase]: Component "${e}" not found`),o}}function F(){let{designable:e,setDesignable:t,refresh:o,reset:a}=(0,c.useContext)(v.u),i=(0,c.useContext)(n.SchemaOptionsContext),s=(0,c.useMemo)(()=>(null==i?void 0:i.components)||{},[i]),b=(0,c.useMemo)(()=>()=>(0,l.jsx)(l.Fragment,{}),[]),y=(0,r.useUpdate)(),S=(0,h.o8)(),k=(0,h.cQ)(),C=(0,c.useCallback)(e=>{null==o||o(),y(),null==S||S(e),null==k||k()},[o,y,S,k]),M=(0,n.useField)(),w=(0,n.useFieldSchema)(),F=(0,m.VB)(),{t:P}=(0,p.useTranslation)(),j=(0,c.useMemo)(()=>g({t:P,api:F,refresh:C,current:w,model:M,appVersion:_.rE}),[P,F,C,w,M]);(0,c.useEffect)(()=>{j.loadAPIClientEvents()},[j]);let{isMobileLayout:A}=(0,f.useMobileLayout)();return{dn:j,designable:!A&&e,reset:a,refresh:C,setDesignable:t,DesignableBar:b,findComponent:(0,c.useCallback)(e=>{if(!e)return null;if("string"!=typeof e)return e;let t=(0,d.default)(s,e);return(null==t?void 0:t[x.PE])??t},[d.default]),on:j.on.bind(j),patch:(0,c.useCallback)((e,t)=>{let o=e=>{Object.keys(e).forEach(t=>{let o=e[t];"title"===t&&(M.title=o,w.title=o),"x-decorator-props"===t&&(M.decoratorProps||(M.decoratorProps={}),w["x-decorator-props"]||(w["x-decorator-props"]={}),Object.keys(o).forEach(e=>{M.decoratorProps[e]=o[e],w["x-decorator-props"][e]=o[e]})),"x-component-props"===t&&(M.componentProps||(M.componentProps={}),w["x-component-props"]||(w["x-component-props"]={}),Object.keys(o).forEach(e=>{M.componentProps[e]=o[e],w["x-component-props"][e]=o[e]}))})};if("string"==typeof e){let l={};return(0,u.default)(l,e,t),o(l)}o(e),C()},[j]),shallowMerge:(0,c.useCallback)(e=>{j.shallowMerge(e)},[j]),deepMerge:(0,c.useCallback)(e=>{j.deepMerge(e)},[j]),remove:(0,c.useCallback)((e,t)=>{j.remove(e,t)},[j]),insertAdjacent:(0,c.useCallback)((e,t,o)=>{j.insertAdjacent(e,t,o)},[j]),insertBeforeBegin:(0,c.useCallback)(e=>{j.insertBeforeBegin(e)},[j]),insertAfterBegin:(0,c.useCallback)(e=>{j.insertAfterBegin(e)},[j]),insertBeforeEnd:(0,c.useCallback)(e=>{j.insertBeforeEnd(e)},[j]),insertAfterEnd:(0,c.useCallback)(e=>{j.insertAfterEnd(e)},[j])}}},87463(e,t,o){o.d(t,{H:()=>d});var l=o(56920),n=o(51649),a=o(99300),r=o(57619),i=o(95951);let s=()=>null;s.isNullComponent=!0;let d=()=>{let{designable:e}=(0,i.er)(),t=(0,l.useFieldSchema)(),o=(0,n.useMemo)(()=>t["x-designer"]||t["x-toolbar"]?t["x-designer"]||t["x-toolbar"]:t["x-settings"]?a.Bw:s,[t]),d=(0,r.x)(o);return e&&d||s}},81547(e,t,o){o.d(t,{j:()=>i});var l=o(56920),n=o(51649),a=o(77843),r=o(43288);let i=e=>{var t;let{t:o}=(0,a.useTranslation)(),{getCollectionJoinField:i,getCollection:s}=(0,r.nj)(),d=(0,l.useFieldSchema)(),u=(null==e?void 0:e.fieldSchema)||d,c=(0,l.useField)(),p=(0,l.useForm)(),m=(null==u?void 0:u["x-read-pretty"])||c.readPretty||p.readPretty,h=null==e?void 0:e.fieldSchema,{getField:x}=(0,r.k7)(),v=(null==e?void 0:e.collectionField)||x(u.name)||i(u["x-collection-field"]),{label:_}=(null==(t=u["x-component-props"])?void 0:t.fieldNames)||{};return((0,n.useMemo)(()=>{if(!v||!(null==v?void 0:v.interface)||!["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(v.type))return;let e=s(v.target);if((null==e?void 0:e.template)==="file")return m?[{label:o("Title"),value:"Select"},{label:o("File manager"),value:"FileManager"},{label:o("Tag"),value:"Tag"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},{label:o("File manager"),value:"FileManager"}];if((null==e?void 0:e.template)==="tree"&&["m2m","o2m","m2o"].includes(v.interface))return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&["m2m","o2m"].includes(v.interface)&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Cascader Select"),value:"CascadeSelect"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];switch(v.interface){case"o2m":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"},!h&&{label:o("Sub-table"),value:"SubTable"}];case"m2m":case"mbm":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];default:return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}]}},[o,null==v?void 0:v.interface,_,m,h])||[]).filter(Boolean)}},4922(e,t,o){o.d(t,{Y:()=>n});let l=()=>({}),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{useProps:t=l,...o}=e,n=t;"function"!=typeof t&&(n=l);let a=n();return{...o,...a}}},39247(e,t,o){o.d(t,{F:()=>a});var l=o(51649),n=o(63557);function a(){return(0,l.useContext)(n.u)}},82924(e,t,o){o.d(t,{iI7:()=>D.iI,a1G:()=>u.ShowFormData,yt2:()=>tm.yt,flR:()=>r.fl,FVw:()=>nK.FV,FrL:()=>nm.Fr,CqQ:()=>L,$Eq:()=>T,ZB7:()=>nK.ZB,TrS:()=>tm.Tr,sIN:()=>rb.sI,a2g:()=>u.getRenderContent,t6u:()=>c.t6,qIn:()=>lJ.qI,HPy:()=>r.HP,R_2:()=>lK.R_,doK:()=>D.do,bZ4:()=>r.bZ,pxY:()=>eu.px,pde:()=>lK.pd,CEt:()=>nm.CE,lum:()=>eu.lu,OpO:()=>c.Op,tO8:()=>r.tO,nxV:()=>nm.nx,TDj:()=>tH,xA9:()=>nK.xA,lNE:()=>aR.l,ud$:()=>e5,l46:()=>nc,X_:()=>u.DraggableContext,QD_:()=>nm.QD,ud1:()=>r.ud,Dgp:()=>D.Dg,tvd:()=>D.tv,QEB:()=>aY,X6x:()=>aC.X6,jZb:()=>tY,tn0:()=>lJ.tn,dF1:()=>oe.dF,kBD:()=>eu.kB,Gjn:()=>r.Gj,VFg:()=>aC.VF,Pnr:()=>nm.Pn,zN:()=>r.zN,dKS:()=>aw,LMh:()=>lK.LM,lTd:()=>ew,rlt:()=>eB,dWC:()=>th.dW,cWk:()=>r.cW,Zy6:()=>tm.Zy,PB5:()=>aE.PB,UTu:()=>nm.UT,jeY:()=>D.je,TB2:()=>r.TB,D6h:()=>nU,d9b:()=>oe.d9,fM:()=>tE,X43:()=>tV.X,uc_:()=>nj,pEl:()=>aE.pE,T$Q:()=>tV.T,GD6:()=>c.GD,mJi:()=>lK.mJ,C5g:()=>tz.C5,OJX:()=>eu.OJ,Bmi:()=>ra,u4V:()=>rN.u,lrV:()=>nm.lr,fDF:()=>a.fD,N$k:()=>e1.N$,_sT:()=>oe._s,rNg:()=>t$.rN,RhU:()=>r.Rh,Bnf:()=>oz,UyB:()=>e2,xq$:()=>D.xq,RB3:()=>aE.RB,I5x:()=>eR,hqJ:()=>lK.hq,XIK:()=>a6,m2w:()=>lE,ccy:()=>rB,NVg:()=>tz.NV,kDr:()=>D.kD,J3t:()=>th.J3,d09:()=>r.d0,AG:()=>rv,Xjr:()=>oH,uwA:()=>e1.uw,KDQ:()=>em,$mi:()=>oj.$,L1H:()=>u.Sortable,QoO:()=>nm.Qo,q7s:()=>D.q7,Mp5:()=>u.DndContext,xB5:()=>eu.xB,B4G:()=>D.B4,YIz:()=>ad,$xS:()=>aq,o8F:()=>oV,qKt:()=>aE.qK,_OO:()=>oe._O,qy$:()=>nt,W1t:()=>tm.W1,Z0V:()=>lJ.Z0,cGx:()=>nx,Q2z:()=>nm.Q2,YW0:()=>tM,HvB:()=>c.Hv,ic7:()=>nH,QpY:()=>D.Qp,tUM:()=>rp,oAT:()=>D.oA,zBI:()=>e6,gBz:()=>u.SortableProvider,eIh:()=>D.eI,i_r:()=>nY.i,DVX:()=>D.DV,b7u:()=>e1.b7,Mwt:()=>aE.Mw,Kql:()=>r.Kq,XOn:()=>D.XO,ozN:()=>ak.o,nu1:()=>tp.n,rTt:()=>rb.rT,eBw:()=>nG,xZI:()=>eu.xZ,MIq:()=>r.MI,JaO:()=>nE,htN:()=>eU,Eaz:()=>r.E,qy5:()=>ns,IX0:()=>t$.IX,lSn:()=>tz.lS,BsJ:()=>e1.Bs,_22:()=>aD,sxL:()=>oy,xPi:()=>tp.x,b2W:()=>n$.b,sDQ:()=>aO,Xzy:()=>D.Xz,gt0:()=>aN,QIX:()=>e4,i_F:()=>lG,Ypd:()=>r.Yp,SOm:()=>e1.SO,VXI:()=>r.VX,nKd:()=>tL,N3p:()=>c.N3,dJT:()=>e1.dJ,vPC:()=>D.vP,a97:()=>eu.a9,TNL:()=>D.TN,Qgm:()=>aC.Qg,RLS:()=>al,OqW:()=>e1.Oq,j0_:()=>nS,zVE:()=>rg,yVm:()=>r.yV,B_g:()=>nh,Hbp:()=>eu.Hb,lhV:()=>D.lh,yGk:()=>e1.yG,QIi:()=>eu.QI,Q00:()=>aM,OAH:()=>c.OA,JQe:()=>D.JQ,xqq:()=>r.xq,zEg:()=>e7.z,wN6:()=>ak.w,fDM:()=>nm.fD,uUT:()=>tq,BCL:()=>a8.BC,D50:()=>r.D5,Fag:()=>eu.F,MoU:()=>r.Mo,wnJ:()=>e1.wn,ISS:()=>aC.IS,m$h:()=>t0,c_d:()=>e1.c_,Hi5:()=>rs,x1p:()=>nm.x1,DYS:()=>c.DY,U6o:()=>r.U6,LjE:()=>eu.Lj,l2i:()=>r.l2,Um:()=>e1.Um,Y2j:()=>tw,O$4:()=>aE.O$,G2C:()=>t6.G2,wA7:()=>rF,$t1:()=>D.$t,_bM:()=>oe._b,b6K:()=>oj.b,vzL:()=>ne,lNX:()=>oe.lN,rcl:()=>r.rc,gZ:()=>aE.gZ,msY:()=>nm.ms,U8O:()=>r.U8,Sh8:()=>r.Sh,mhY:()=>eu.mh,tXY:()=>tz.tX,Sc0:()=>oC,p9h:()=>ri,gBZ:()=>u.SortableContext,JDj:()=>rx,hbv:()=>np,RD4:()=>nO.R,bee:()=>aE.be,PSc:()=>r.PS,hsK:()=>e7.h,oVU:()=>l2,IJ7:()=>D.IJ,f2z:()=>oZ.f,OZ6:()=>aC.OZ,pA3:()=>e1.pA,$5j:()=>r.$5,J1:()=>D.J1,dVP:()=>u.DateFilterDynamicComponent,E76:()=>r.E7,j9R:()=>lW,vjx:()=>nI,mz8:()=>nK.mz,Doh:()=>c.Do,vxQ:()=>l7,Us6:()=>eu.Us,UqM:()=>u.SortableItem,lVW:()=>A,f7I:()=>rf,ARu:()=>tQ,TDH:()=>eu.TD,l6P:()=>ek,g9w:()=>e1.g9,s23:()=>tD,GjU:()=>r.nY,GmQ:()=>aE.Gm,skP:()=>na,C4D:()=>nl,arW:()=>aa,v93:()=>rn,Wis:()=>r.Wi,jE9:()=>eu.jE,dbD:()=>nL.d,Ff5:()=>D.Ff,gM2:()=>e1.gM,FZR:()=>lK.FZ,PnP:()=>ry.P,nlx:()=>eY,AQf:()=>lJ.AQ,FoY:()=>aB,w2W:()=>aE.w2,z45:()=>r.z4,bkX:()=>tU,jgC:()=>rl,Ur4:()=>rM,lE3:()=>D.lE,U5u:()=>D.U5,LtX:()=>r.Lt,cl6:()=>ah,d1R:()=>eu.d1,rrz:()=>th.rr,B8B:()=>aS,hY7:()=>oZ.h,Ob5:()=>tm.Ob,erX:()=>eu.er,MqW:()=>c.Mq,S5r:()=>n$.S,YYe:()=>eu.YY,ami:()=>rb.am,LBS:()=>nz,L3t:()=>u.DragHandler,oMF:()=>eh});var l,n={};o.r(n),o.d(n,{Action:()=>r.rc,ActionBar:()=>r.E7,ActionBarProvider:()=>r.xq,ActionContext:()=>r.yV,ActionContextNoRerender:()=>r.Wi,ActionContextProvider:()=>r.z4,ActionDesigner:()=>r.U6,AfterSuccess:()=>r.Kq,AllDataBlocksContext:()=>th.rr,AllDataBlocksProvider:()=>th.J3,AntdSchemaComponentPlugin:()=>tU,AntdSchemaComponentProvider:()=>tH,AppendsTreeSelect:()=>t0,AssignedFieldValues:()=>r.TB,AssociationField:()=>lE,AssociationFieldMode:()=>oz,AssociationFieldModeProvider:()=>oV,AssociationSelect:()=>lG,AttachmentList:()=>oe._s,AutoComplete:()=>lW,BackButtonUsedInSubPage:()=>e7.h,Block:()=>nG,BlockItem:()=>lJ.Z0,BlockItemCard:()=>lJ.tn,BlockItemCardContext:()=>lJ.AQ,BlocksSelector:()=>r.Gj,ButtonEditor:()=>r.Yp,CardItem:()=>l2,Cascader:()=>l7,Checkbox:()=>oC,CollectionSelect:()=>ne,ColorPicker:()=>na,ColorSelect:()=>ns,Cron:()=>nc,CronSet:()=>np,DataSourceCollectionCascader:()=>nl,DataSourceSelect:()=>nt,DateFormatCom:()=>n$.b,DatePicker:()=>nm.lr,DatePickerProvider:()=>nm.Qo,Details:()=>nh,DetailsDesigner:()=>L,Divider:()=>nx,EditComponent:()=>D.iI,EditDefaultValue:()=>D.tv,EditDescription:()=>D.JQ,EditOperator:()=>D.B4,EditPattern:()=>D.$t,EditRequired:()=>D.Qp,EditSortField:()=>rl,EditTable:()=>nS,EditTableAction:()=>nI,EditTableActionContext:()=>nj,EditTitle:()=>D.Xz,EditTitleField:()=>D.Ff,EditTooltip:()=>D.IJ,EditValidationRules:()=>D.vP,Editable:()=>aB,EllipsisWithTooltip:()=>lK.R_,ErrorFallback:()=>tp.x,Expand:()=>nE,ExpiresRadio:()=>n$.S,FieldsTreeSelect:()=>tQ,Fieldset:()=>nz,Filter:()=>e1.dJ,FilterAction:()=>e1.Bs,FilterActionContext:()=>e1.SO,FilterContext:()=>e1.gM,FilterDynamicComponent:()=>e1.N$,FilterLogicContext:()=>e1.c_,Form:()=>A,FormDialog:()=>nO.R,FormDrawer:()=>rF,FormField:()=>e6,FormItem:()=>D.eI,FormV2:()=>eU,G2Plot:()=>nU,G2PlotRenderer:()=>nH,Grid:()=>nK.xA,GridCard:()=>al,GridRowContext:()=>nK.mz,HTMLEncode:()=>lK.mJ,ICON_POPUP_Z_INDEX:()=>oj.b,IconPicker:()=>aa,Input:()=>lK.pd,InputNumber:()=>ad,InputReadPretty:()=>lK.FZ,InputRecordPicker:()=>aE.qK,Json:()=>lK.LM,LinkageFilter:()=>rB,List:()=>aS,Markdown:()=>ak.o,MarkdownReadPretty:()=>ak.w,Menu:()=>tm.W1,NanoIDInput:()=>aM,Page:()=>tM,PagePopups:()=>t$.rN,PageTabs:()=>tw,Pagination:()=>aw,ParentRouteContext:()=>tm.Zy,Password:()=>aD,Percent:()=>aY,PopupSettingsProvider:()=>tV.T,Preview:()=>aR.l,QuickEdit:()=>aN,Radio:()=>oy,ReadPretty:()=>lK.hq,ReadPrettyRecordPicker:()=>aE.w2,RecordPicker:()=>aE.O$,RecordPickerContext:()=>aE.pE,RecordPickerProvider:()=>aE.be,RefreshDataBlockRequest:()=>r.ud,RemoteSelect:()=>ew,RemoveButton:()=>r.d0,RemoveConditionContext:()=>e1.b7,RequestSettings:()=>r.Rh,RichText:()=>aO,SecondConFirm:()=>r.VX,Select:()=>ek,SkipValidation:()=>r.zN,Space:()=>aq,StablePopover:()=>oj.$,Table:()=>a6,TableBlockDesigner:()=>rn,TableField:()=>ra,TableSelectorDesigner:()=>ri,TableV2:()=>rs,Tabs:()=>rp,TabsContextProvider:()=>oZ.h,Templates:()=>eR,TestDesigner:()=>lJ.qI,TextAreaWithGlobalScope:()=>rM,TimePicker:()=>rv,TreeSelect:()=>rf,UnixTimestamp:()=>rg,Upload:()=>oe._O,Uploader:()=>oe.d9,Variable:()=>rb.rT,VariableScopeProvider:()=>rb.sI,VariableSelect:()=>ry.P,actionSettings:()=>r.Sh,actionSettingsItems:()=>r.Mo,allowAddNew:()=>D.lE,attachmentFileTypes:()=>oe.lN,defaultFieldNames:()=>em,fetchTemplateData:()=>eB,filterFormItemSettings:()=>D.Dg,findByUid:()=>aC.X6,findKeysByUid:()=>aC.VF,findMenuItem:()=>aC.OZ,formDetailsSettings:()=>e4,formItemSettings:()=>D.DV,formSettings:()=>e2,formV1Settings:()=>T,genStyleHook:()=>a.fD,getCurrentOptions:()=>eh,getDateExact:()=>nm.Q2,getDatePickerLabels:()=>aE.Mw,getDateRanges:()=>nm.fD,getLabelFormatValue:()=>aE.PB,getPopupPathFromParams:()=>tz.C5,getStoredPopupContext:()=>tz.lS,getTabSchema:()=>tY,getZIndex:()=>r.fl,handleDateChangeOnForm:()=>nm.QD,inferPickerType:()=>nm.Pn,isBulkEditAction:()=>r.PS,isFileCollection:()=>D.XO,isMobile:()=>nm.Fr,isShowFilePicker:()=>aE.Gm,isTabPage:()=>tL,isWriteEmailAction:()=>r.cW,mapDatePicker:()=>nm.x1,mapRangePicker:()=>nm.UT,mapTimeFormat:()=>rx,matchMimetype:()=>oe._b,moment2str:()=>nm.ms,navigateToTab:()=>tD,pageSettings:()=>tE,pageTabSettings:()=>tq,readPrettyFormSettings:()=>e5,removeNullCondition:()=>e1.pA,resolveFilterPickerFormat:()=>nm.CE,storePopupContext:()=>tz.NV,useActionBarContext:()=>r.MI,useActionContext:()=>r.D5,useAfterSuccessOptions:()=>r.bZ,useAllDataBlocks:()=>th.dW,useAssociationFieldContext:()=>t6.G2,useAssociationFieldModeContext:()=>oH,useBackButton:()=>e7.z,useCloseAction:()=>r.nY,useColumnSchema:()=>a8.BC,useColumnSettings:()=>nL.d,useCurrentPopupContext:()=>t$.IX,useDatePickerContext:()=>nm.nx,useDownloadLogs:()=>tp.n,useEnsureOperatorsValid:()=>D.lh,useFieldMode:()=>D.J1,useFieldNames:()=>aE.gZ,useFilterActionProps:()=>e1.Um,useFilterFieldOptions:()=>e1.g9,useFilterFieldProps:()=>e1.yG,useFilterOptions:()=>e1.uw,useFormDataTemplates:()=>eY,useGetAriaLabelOfAction:()=>r.U8,useGetAriaLabelOfDrawer:()=>r.HP,useGetAriaLabelOfModal:()=>r.tO,useGetAriaLabelOfPopover:()=>r.l2,useGetFilterFieldOptions:()=>e1.Oq,useGetFilterOptions:()=>e1.wn,useGridContext:()=>nK.ZB,useGridRowContext:()=>nK.FV,useIsAddNewForm:()=>D.TN,useIsAssociationField:()=>D.xq,useIsFieldReadPretty:()=>D.U5,useIsFileField:()=>D.oA,useIsFormReadPretty:()=>D.q7,useIsSelectFieldMode:()=>D.je,useLabelUiSchema:()=>aE.RB,useLinkageAction:()=>r.Lt,useListBlockContext:()=>ah,useMenuDragEnd:()=>tm.yt,useMenuTranslation:()=>aC.Qg,useNocoBaseRoutes:()=>tm.Ob,useParentRoute:()=>tm.Tr,usePopupSettings:()=>tV.X,useStyles:()=>aC.IS,useTableColumnIntegration:()=>nY.i,useTabsContext:()=>oZ.f,useTitleFieldOptions:()=>D.kD,useUploadStyles:()=>oe.dF,useValidateSchema:()=>D.do,useVariableScope:()=>rb.am,useZIndexContext:()=>r.$5,withSearchParams:()=>tz.tX,zIndexContext:()=>r.E});var a=o(54969),r=o(78562),i=o(71178),s=o(51649),d=o(83468),u=o(91032),c=o(90995),p=o(72548);let m=e=>async function(){try{var t;let o=await this.api.request(e);return null==o||null==(t=o.data)?void 0:t.data}catch(e){return[]}};var h=o(56220),x=o(44814),v=o(56920),_=o(52793),f=o(16211),g=o(43288),b=o(30644),y=o(99300),S=o(25952),k=o(96932),C=o(24768);let M=e=>{let{form:t,children:o,...l}=e,n=(0,v.useField)(),a=(0,v.useFieldSchema)(),r=(0,eu.TD)(t.createVoidField({...n.props,basePath:""}));return(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...l,children:(0,i.jsx)(b.dw,{basePath:r.address,schema:a,onlyRenderProperties:!0})})})})},w=e=>e.children,F=e=>{let{form:t,children:o,disabled:l,...n}=e,a=(0,v.useField)(),r=(0,v.useFieldSchema)(),d=(0,eu.TD)(t.createVoidField({...a.props,basePath:""})),u=(0,eu.xZ)(r["x-component"],w);return(0,s.useEffect)(()=>{t.disabled=l||a.disabled},[l,a.disabled]),(0,i.jsx)(_.ConfigProvider,{componentDisabled:l,children:(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...n,children:(0,i.jsx)(v.FieldContext.Provider,{value:d,children:(0,i.jsx)(u,{...a.componentProps,children:(0,i.jsx)(b.dw,{basePath:d.address,schema:r,onlyRenderProperties:!0})})})})})})})},P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,f.bP)((e=>{let{request:t,initialValue:o}=e;return t||(()=>Promise.resolve({data:o}))})(t),e)},j=(0,s.createContext)(null);j.displayName="FormBlockContext";let A=(0,v.observer)(e=>{let{request:t,effects:o,initialValue:l,useValues:n=P,...a}=e,r=(0,v.useFieldSchema)(),d=(0,v.useField)(),u=(0,s.useMemo)(()=>(0,x.createForm)({effects:o}),[]),c=n({uid:r["x-uid"],async onSuccess(e){await u.reset(),u.setValues(null==e?void 0:e.data),u.setInitialValues(null==e?void 0:e.data)}},e),p=(0,s.useContext)(j);return(0,i.jsx)(j.Provider,{value:{parent:p,form:u,result:c,field:d,fieldSchema:r},children:(0,i.jsx)(_.Spin,{spinning:(null==c?void 0:c.loading)||!1,children:"Form"===r["x-decorator"]?(0,i.jsx)(F,{form:u,...a}):(0,i.jsx)(M,{form:u,...a})})})},{displayName:"Form"});A.Designer=function(){let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)(),{componentNamePrefix:l}=(0,C.kU)();return(0,i.jsxs)(y.xK,{template:o,title:t||e,children:[(0,i.jsx)(S.l,{componentName:`${l}Form`,collectionName:e}),(0,i.jsx)(y.kT,{}),(0,i.jsx)(y.d$,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}})]})};var I=o(31675);let T=new I.RT({name:"FormV1Settings",items:[{name:"template",Component:S.l,useComponentProps(){let{name:e}=(0,g.k7)(),{componentNamePrefix:t}=(0,C.kU)();return{componentName:`${t}Form`,collectionName:e}}},{name:"divider",type:"divider"},{name:"remove",type:"remove",componentProps:{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}}]});var D=o(60929);let L=()=>{let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)();return(0,i.jsx)(y.xK,{schemaSettings:"FormDetailsSettings",template:o,title:t||e})};var Y=o(69412),R=o(80461),B=o(99847),N=o(49948),E=o(10691),$=o(27404),z=o(77583),O=o(20629),q=o(18111),V=o(70136),H=o(28227),U=o(14187),G=o(92619),K=o(4627),W=o(83006),J=o(43923),X=o(4922),Z=o(95951),Q=o(95210),ee=o(62152),et=o(63526),eo=o(77843),el=o(69575),en=o(65457),ea=o(82113),er=o(91815),ei=o(23460),es=o(29558),ed=o(58980),eu=o(16319),ec=o(46724),ep=o(81607);let em={label:"label",value:"value",color:"color",options:"children"};function eh(e,t,o){let l=function e(t,o){let l=[];if(!Array.isArray(t))return l;for(let n=0;n<t.length;n++){let a=t[n][o.options];Array.isArray(a)&&l.push(...e(a,o)),l.push({...t[n]})}return l}(t,o),n=(0,z.castArray)(e).map(e=>(0,et.isPlainObject)(e)?e[o.value]:e);if(!l)return[];let a=[];for(let e of n){let t=l.find(t=>t[o.value]==e)||{value:e,label:e?e.toString():e};a.push(t)}return a}var ex=o(84951),ev=o(60430);let e_=(0,v.observer)(e=>{let[t,o]=(0,s.useState)(!0),[l,n]=(0,s.useState)([]),a=(0,v.useField)(),r=(0,ec.E1)();return((0,s.useEffect)(()=>{var t;let l={...em,...e.fieldNames},s=a.dataSource||e.options||(null==r?void 0:r.uiSchema.enum)||[],d=eh(a.value,s,l);!(0,$.isValid)(e.value)&&!d.length||(0,x.isArrayField)(a)&&(null==a||null==(t=a.value)?void 0:t.length)===0||(n(null!==a.value&&d.map((e,t)=>(0,i.jsx)(_.Tag,{color:e[l.color],icon:"string"==typeof e.icon?(0,i.jsx)(ev.In,{type:e.icon}):e.icon,children:e[l.label]},t))),o(!1))},[null==r?void 0:r.uiSchema.enum,a,a.dataSource,a.value,e.fieldNames,e.options,e.value]),t)?null:(0,i.jsx)(ep.R,{ellipsis:e.ellipsis,children:l})},{displayName:"SelectReadPretty"}),ef=(0,ex.A)(e_),eg=e=>{let{value:t,options:o,onChange:l,fieldNames:n,mode:a,loading:r,rawOptions:s,defaultValue:d,...u}=e,c=ey.isDesktop?"":eS,p=ey.isDesktop?void 0:"topLeft",m=t=>{var l;if(!(0,$.isValid)(t)||"object"==typeof t&&0===Object.keys(t).length)return;let r=null==(l=eh((0,$.toArr)(t).filter(e=>e).map(e=>(0,et.isPlainObject)(e)?e[n.value]:e),o,n))?void 0:l.map(e=>({label:e[n.label],value:e[n.value]}));return["tags","multiple"].includes(a)||e.multiple?r:r.shift()};return(0,i.jsx)(_.Select,{rootClassName:c,placement:p,role:"button","data-testid":`select-object-${a||"single"}`,value:m(t),defaultValue:m(d),allowClear:{clearIcon:(0,i.jsx)(ea.CloseCircleFilled,{role:"button","aria-label":"icon-close-select"})},labelInValue:!0,notFoundContent:r?(0,i.jsx)(_.Spin,{}):(0,i.jsx)(_.Empty,{image:_.Empty.PRESENTED_IMAGE_SIMPLE}),options:o,fieldNames:n,showSearch:!0,popupMatchSelectWidth:!1,filterOption:(e,t)=>((null==t?void 0:t[n.label||"label"])??"").includes(e),filterSort:(e,t)=>((null==e?void 0:e[n.label||"label"])??"").toLowerCase().localeCompare(((null==t?void 0:t[n.label||"label"])??"").toLowerCase()),onChange:t=>{let r=eh((0,$.toArr)(t).map(e=>e.value),s||o,n);["tags","multiple"].includes(a)||e.multiple?null==l||l(r):null==l||l(r.shift()||null)},mode:a,tagRender:e=>(0,i.jsx)(_.Tag,{role:"button","aria-label":e.label,closeIcon:(0,i.jsx)(ea.CloseOutlined,{role:"button","aria-label":"icon-close-tag"}),...e,children:e.label}),maxTagCount:"responsive",maxTagPlaceholder:e=>(0,i.jsxs)(_.Tooltip,{title:(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6,maxWidth:"100%"},children:e.map(e=>(0,i.jsx)(_.Tag,{style:{margin:0,background:"#fafafa",border:"1px solid #d9d9d9",whiteSpace:"normal",wordBreak:"break-word",maxWidth:"100%"},children:e.label},e.value))}),overlayInnerStyle:{background:"#fff",color:"#000",padding:8,maxWidth:"100%"},color:"#fff",overlayStyle:{pointerEvents:"auto",maxWidth:300},children:["+",e.length,"..."]}),...u})},eb=(e,t)=>((null==t?void 0:t.label)??"").toLowerCase().includes((e||"").toLowerCase()),eS=(0,E.css)`
|
|
967
|
+
`;return(0,a.jsxs)("div",{style:{maxHeight:300,overflowY:"auto"},children:[e.map(e=>(0,a.jsx)("div",{role:"option",onClick:()=>v(e.value),className:o,children:l(e.label)},e.value)),(0,a.jsx)(u.Divider,{style:{margin:"4px 0"}}),t.map(e=>(0,a.jsx)("div",{role:"option",className:o,onClick:()=>v(e.value),title:l(e.label),children:l(e.label)},e.value))]})}}),["past","next"].includes(null==t?void 0:t.type)&&[(0,a.jsx)(u.InputNumber,{value:null==t?void 0:t.number,onChange:e=>{o({...t,number:e})}},"number"),(0,a.jsx)(u.Select,{value:null==t?void 0:t.unit,style:{minWidth:130,maxWidth:140},onChange:e=>{o({...t,unit:e})},options:[{value:"day",label:n("Day")},{value:"week",label:n("Calendar week")},{value:"month",label:n("Calendar Month")},{value:"year",label:n("Calendar Year")}],popupMatchSelectWidth:!0},"unit")],((null==t?void 0:t.type)==="exact"||!(null==t?void 0:t.type))&&(0,a.jsx)(x,{...e})]})}},87382(e,t,o){o.d(t,{L1:()=>x,L3:()=>f,Pd:()=>h,Uq:()=>_,X_:()=>p,gB:()=>m});var l=o(71178),n=o(72741),a=o(38533),r=o(10691),i=o(56920),s=o(77583),d=o(51649),u=o(54969),c=o(95951);let p=(0,d.createContext)(null);p.displayName="DraggableContext";let m=(0,d.createContext)(null);m.displayName="SortableContext";let h=e=>{let{id:t,data:o,children:n}=e,r=(0,a.useDraggable)({id:t,data:o}),i=(0,a.useDroppable)({id:t,data:o}),s=(0,d.useMemo)(()=>({draggable:r,droppable:i}),[r,i]);return(0,l.jsx)(m.Provider,{value:s,children:n})},x=e=>{var t,o;let{component:l,overStyle:a,style:s,children:c,openMode:p,...h}=e,{token:x}=(0,u.rd)(),{draggable:v,droppable:_}=(0,d.useContext)(m),{isOver:f,setNodeRef:g}=_,b={...s},y=(0,i.useFieldSchema)(),S=(null==y?void 0:y["x-component"])==="Action.Link"||"a"===l;if(f&&(null==v||null==(t=v.active)?void 0:t.id)!==(null==_||null==(o=_.over)?void 0:o.id)){let e;b[S?"color":"background"]=(e=x.colorSettings,new n.TinyColor(e).setAlpha(.15).toHex8String()),Object.assign(b,a)}return d.default.createElement(l||"div",{role:"none",...h,className:(0,r.cx)("nb-sortable-designer",e.className),ref:g,style:b},c)},v=(0,i.observer)(e=>{var t,o;let n,a,r,{schema:s,id:u,eid:c,removeParentsIfNoChildren:p,...m}=(t=e,n=(0,i.useField)(),a=t.id?t.id:null==n||null==(o=n.address)?void 0:o.toString(),r=(0,i.useFieldSchema)(),e.schema?{...e,id:a}:{...e,id:a,schema:r}),v=(0,d.useMemo)(()=>{var e,t,o;return{insertAdjacent:"afterEnd",schema:(null==(t=s.parent)||null==(e=t.parent)?void 0:e["x-component"])==="BlockTemplate"?null==(o=s.parent)?void 0:o.parent:s,removeParentsIfNoChildren:p??!0}},[s,p]);return(0,l.jsx)(h,{id:u,data:v,children:(0,l.jsx)(x,{id:c,...m,children:e.children})})},{displayName:"InternalSortableItem"}),_=d.default.memo(e=>{let{component:t,...o}=e,{designable:n}=(0,c.er)();return n?(0,l.jsx)(v,{...e}):d.default.createElement(t||"div",s.default.omit(o,["children","schema","overStyle","openMode","id","eid","removeParentsIfNoChildren"]),e.children)});_.displayName="SortableItem";let f=e=>{let{draggable:t}=(0,d.useContext)(m)||{};if(!t)return null;let{attributes:o,listeners:n,setNodeRef:a}=t;return(0,l.jsx)("div",{style:{display:"inline-block",width:14,height:14,lineHeight:"14px",textAlign:"left"},children:(0,l.jsx)("div",{ref:a,style:{position:"relative",zIndex:1,lineHeight:0,fontSize:0,display:"inline-block"},...n,...o,role:"none",children:(0,l.jsx)("span",{style:{cursor:"move",fontSize:14},children:e.children})})})}},37845(e,t,o){o.d(t,{L1:()=>l.L1,L3:()=>l.L3,Pd:()=>l.Pd,Uq:()=>l.Uq,X_:()=>l.X_,gB:()=>l.gB});var l=o(87382)},59529(e,t,o){o.d(t,{KX:()=>p,_c:()=>h,a2:()=>f,bc:()=>c,rf:()=>u});var l=o(63526),n=o(77583),a=o(73761),r=o(839),i=o(59896),s=o(32665),d=o(64004);let u=(e,t)=>{var o;let l=null==e||null==(o=e.match)?void 0:o.call(e,/{{(.*?)}}/);if(!l)return e;{let e=n.default.get(t,l[1]);return n.default.isFunction(e)?e():e}};function c(e){if("object"!=typeof e||null===e)return null;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))if("[object Object]"===Object.prototype.toString.call(e[t])&&null!==e[t])return c(e[t]);else return{key:t,value:e[t]};return null}let p=e=>{let t,o=(t=[],!function e(o){Object.keys(o).sort().forEach(function(l){t.push(l),o[l]&&"object"==typeof o[l]&&e(o[l])})}(e),t),l=(0,n.findIndex)(o,(e,t,o)=>{if(e.includes("$")&&t>0)return!0});return o.slice(0,l)},m=async(e,t,o)=>{let l=(0,i.DZ)(e)?[t.parseVariable(e,o).then(e=>{let{value:t}=e;return t})]:[e];try{let[e]=await Promise.all(l);return e}catch(e){throw console.error("Error in parseVariableValue:",e),e}},h=async(e,t)=>{let{ruleGroup:o,variables:l,localVariables:a,variableNameOfLeftCondition:r,conditionType:i}=e,s=Object.keys(o)[0]||"$and",d=o[s]||[],u=await Promise.all(d.filter(Boolean).map(e=>x(e,l,a,r,i,t)));return"$and"===s?(0,n.every)(u,e=>e):!u.length||(0,n.some)(u,e=>e)},x=async(e,t,o,l,n,a)=>"$and"in e||"$or"in e?await h({ruleGroup:e,variables:t,localVariables:o,conditionType:n},a):"advanced"===n?v(e,t,o,a):_(e,t,o,l,a),v=async(e,t,o,l)=>{let n=e.op,a=await m(e.rightVar,t,o),r=await m(e.leftVar,t,o);return!n||l.apply({[n]:[r,a]})},_=async(e,t,o,n,a)=>{let r=c(e),u=null==r?void 0:r.key;if(!u)return!0;let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$nForm";return`{{ ${t}.${e.join(".")} }}`}(p(e),n),h=t.parseVariable(m,o,{doNotRequest:!0}).then(e=>{let{value:t}=e;return t}),x=(0,i.DZ)(null==r?void 0:r.value)?[t.parseVariable(null==r?void 0:r.value,o).then(e=>{let{value:t}=e;return t}),h]:[null==r?void 0:r.value,h];try{let[e,n]=await Promise.all(x),r=await t.getCollectionField(m,o),i=(0,s.A)(n,{targetCollectionField:r}),c=(0,s.A)(e,{targetCollectionField:r});if((null==r?void 0:r.type)&&["datetime","date","datetimeNoTz","dateOnly","unixTimestamp"].includes(r.type)&&i){let e=(0,d.Pn)(c),t=(0,l.getPickerFormat)(e);i=(0,l.dayjs)(i).format(t)}return a.apply({[u]:[i,c]})}catch(e){throw e}};async function f(e,t,o,n,i,s){if(t&&"handlebars"===e){l.Handlebars.registerHelper("t",function(e){if("string"==typeof e)return s(e,{ns:r.z})});try{var d,u;let e,a=t.replace(/{{\s*}}/g,'{{"{{}}"}}'),r=l.Handlebars.compile(a),s=(e={},n.map(t=>{e[t.name]=t.ctx}),e),{$nDate:c}=(null==o||null==(d=o.ctxRef)?void 0:d.current)||{},p={};Object.keys(c||{}).map(e=>{p[e]=c[e]()});let m=r({...null==o||null==(u=o.ctxRef)?void 0:u.current,...s,$nDate:p});return console.log(m),await i(m)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),console.log(t),t}}try{let e=await (0,a.replaceVariableValue)(t,o,n);return await i(e)}catch(e){return/VariablesProvider: .* is not found/.test(e.message)||console.log(e),t}}},84951(e,t,o){o.d(t,{A:()=>g});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(44388),s=o(51275),d=o(22204),u=o(3012),c=o(52570),p=o(95951);let m={type:"void","x-component":"Action.Container","x-action":"view",title:'{{ t("View record") }}',"x-component-props":{className:"nb-action-popup"},properties:{tabs:{type:"void","x-component":"Tabs","x-component-props":{},"x-initializer":"popup:addTab",properties:{tab1:{type:"void",title:'{{t("Details")}}',"x-component":"Tabs.TabPane","x-designer":"Tabs.Designer","x-component-props":{},properties:{grid:{type:"void","x-component":"Grid","x-initializer":"popup:common:addBlock",properties:{}}}}}}}};var h=o(49621),x=o(30644),v=o(39888);let _=e=>"Action.Container"===e["x-component"],f=e=>{let{WrappedComponent:t,...o}=e,i=(0,n.useFieldSchema)(),{openPopup:s}=(0,u.Hy)(),d=(0,r.useRef)(!1),c=(()=>{let e=(0,n.useFieldSchema)(),{insertAfterBegin:t}=(0,p.er)();return(0,r.useCallback)(o=>{e.reduceProperties((e,t)=>"Action.Container"===t["x-component"]?t:e,null)||t((0,a.cloneDeep)(o))},[e,t])})(),h=(0,r.useRef)(i);h.current=i;let x=(0,r.useRef)(c);x.current=c;let v=(0,r.useRef)(s);v.current=s;let _=(0,r.useCallback)(()=>h.current,[]),f=(0,r.useCallback)(()=>{h.current.properties||(x.current(m),d.current=!0),d.current?(setTimeout(()=>{v.current({customActionSchema:_()})}),d.current=!1):h.current.properties&&v.current()},[_]),g=(0,r.useMemo)(()=>(0,a.debounce)(f,600,{leading:!0,trailing:!1}),[f]);return(0,r.useEffect)(()=>()=>{g.cancel()},[g]),(0,l.jsx)("a",{onClick:g,children:(0,l.jsx)(t,{...o})})};function g(e){return t=>{let[o,a]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),g=(0,h.Ge)(),b=(0,s.D5)(),y=(0,n.useField)(),S=(0,n.useFieldSchema)(),{enableLink:k,openMode:C,openSize:M}=(null==S?void 0:S["x-component-props"])||{},{visibleWithURL:w,setVisibleWithURL:F}=(0,u.Hy)(),P=(0,r.useCallback)(e=>{null==a||a(e),null==F||F(e)},[F]);(0,r.useRef)(S).current=S;let{setSubmitted:j}=b;return k?(0,l.jsx)(i.OC,{visible:!1,children:(0,l.jsxs)(d.z4,{button:(0,l.jsx)(e,{...t}),visible:o||w,setVisible:P,formValueChanged:p,setFormValueChanged:m,openMode:C,openSize:M,containerRefKey:"field-popup",fieldSchema:S,setSubmitted:j,children:[(0,l.jsx)(h.Yz,{name:g.name,children:(0,l.jsx)(c.t,{children:(0,l.jsx)(v.P3,{children:(0,l.jsx)(x.dw,{onlyRenderProperties:!0,basePath:null==y?void 0:y.address,schema:S,filterProperties:_})})})}),(0,l.jsx)(f,{...t,WrappedComponent:e})]})}):(0,l.jsx)(e,{...t})}}},63557(e,t,o){o.d(t,{u:()=>l});let l=(0,o(51649).createContext)({});l.displayName="SchemaComponentContext.Provider"},71915(e,t,o){o.d(t,{O:()=>u});var l=o(71178),n=o(44814),a=o(56920),r=o(51649),i=o(52570);let s=e=>{let{children:t,form:o,...n}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components};return(0,l.jsx)(a.FormProvider,{...n,form:o,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},d=e=>{let{children:t,...o}=e,s=(0,r.useContext)(a.SchemaOptionsContext),d=(0,r.useContext)(a.SchemaExpressionScopeContext),u={...null==s?void 0:s.scope,...d},c={...null==s?void 0:s.components},p=(0,r.useMemo)(()=>(0,n.createForm)(),[]);return(0,l.jsx)(a.FormProvider,{...o,form:p,children:(0,l.jsx)(i.t,{components:c,scope:u,children:t})})},u=e=>e.form?(0,l.jsx)(s,{...e}):(0,l.jsx)(d,{...e})},86073(e,t,o){o.d(t,{D:()=>x});var l=o(71178),n=o(44814),a=o(56920),r=o(52793),i=o(51649),s=o(43353);o(67285);var d=o(16319),u=o(71915),c=o(93726),p=o(16211);let m=e=>e,h=e=>{let{noForm:t,onlyRenderProperties:o,hidden:h,scope:x,uid:v,components:_,onSuccess:f,NotFoundPage:g,schemaTransform:b=m,onPageNotFind:y}=e,S=(0,i.useMemo)(()=>(0,n.createForm)(),[v]),{schema:k,loading:C}=(e=>{let{uid:t,type:o="getJsonSchema",onSuccess:l}=e,n={url:`/uiSchemas:${o}/${t}`},{data:a,loading:r}=(0,p.bP)(n,{refreshDeps:[t],onSuccess(e){l&&l(e)}});return{schema:null==a?void 0:a.data,loading:r}})({uid:v,type:o?"getProperties":"getJsonSchema",onSuccess:e=>{f&&f(e)}}),M=(0,d.xZ)(g),w=(0,s.RH)(),F=(0,a.useFieldSchema)(),P=(0,i.useMemo)(()=>b(k||{}),[k,b]),j=!k||0===Object.keys(k).length;return((0,i.useEffect)(()=>{w||C||h||!j||!y||y()},[w,h,C,y,j]),w||C||h)?(0,l.jsx)(r.Spin,{style:{width:"100%",marginTop:20},delay:void 0}):j?M?(0,l.jsx)(M,{}):null:t?(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F}):(0,l.jsx)(u.O,{form:S,children:(0,l.jsx)(c.H,{components:_,scope:x,schema:P,parentSchema:F})})},x=(0,i.memo)(e=>e.uid?(0,l.jsx)(h,{...e}):null);x.displayName="RemoteSchemaComponent"},93726(e,t,o){o.d(t,{D:()=>c,H:()=>h});var l=o(71178),n=o(56920),a=o(77583),r=o(51649),i=o(30644),s=o(63557),d=o(52570);function u(e){return n.Schema.isSchemaInstance(e)?e:new n.Schema((null==e?void 0:e.name)?{type:"object",properties:{[e.name]:e},name:`p_${e.name}`}:e)}let c=(0,r.createContext)({onChange:a.default.noop}),p=(0,r.memo)(e=>{let{components:t,scope:o,schema:n,distributed:p,onChange:m,parentSchema:h,...x}=e,v=(0,r.useContext)(s.u),_=(0,r.useMemo)(()=>u(n),[n]),f=(0,r.useMemo)(()=>({...v,distributed:!1!=v.distributed&&p,refresh:v.refresh||a.default.noop}),[v,p]),{onChange:g}=(0,r.useContext)(c),b=(0,r.useMemo)(()=>({onChange:()=>{null==m||m(_),null==g||g()}}),[m,g,_]);return(0,l.jsx)(c.Provider,{value:b,children:(0,l.jsx)(s.u.Provider,{value:f,children:(0,l.jsx)(d.t,{inherit:!0,components:t,scope:o,children:(0,l.jsx)(i.dw,{...x,schema:_,isUseFormilyField:!0,parentSchema:h})})})})});p.displayName="RecursionSchemaComponent";let m=(0,r.memo)(e=>{let{schema:t,parentSchema:o,...n}=e,a=(0,r.useMemo)(()=>u(t),[]);return(0,l.jsx)(p,{...n,schema:a,parentSchema:o})});m.displayName="MemoizedSchemaComponent";let h=(0,r.memo)(e=>{let{memoized:t,...o}=e;return t?(0,l.jsx)(m,{...o}):(0,l.jsx)(p,{...o})});h.displayName="SchemaComponent"},52570(e,t,o){o.d(t,{M:()=>r,t:()=>i});var l=o(71178),n=o(56920),a=o(51649);let r=()=>(0,a.useContext)(n.SchemaOptionsContext)||{},i=(0,a.memo)(e=>{let{children:t}=e,o=r(),i=(0,a.useMemo)(()=>({...o.components,...e.components}),[o.components,e.components]),s=(0,a.useMemo)(()=>({...o.scope,...e.scope}),[o.scope,e.scope]),d=(0,a.useMemo)(()=>({scope:s,components:i}),[s,i]);return(0,l.jsx)(n.SchemaOptionsContext.Provider,{value:d,children:(0,l.jsx)(n.SchemaComponentsContext.Provider,{value:i,children:(0,l.jsx)(n.ExpressionScope,{value:s,children:t})})})});i.displayName="SchemaComponentOptions"},90995(e,t,o){o.d(t,{OA:()=>P,DY:()=>v.D,GD:()=>A,Do:()=>_.D,Mq:()=>f.M,t6:()=>f.t,Hv:()=>_.H,Op:()=>x.O,N3:()=>h});var l=o(71178),n=o(82113),a=o(52793),r=o(51649),i=o(77843),s=o(82924),d=o(49948),u=o(90236),c=o(504);let p={backgroundColor:"var(--colorSettings) !important"},m={backgroundColor:"transparent"},h=e=>{let{designable:t,setDesignable:o}=(0,s.erX)(),{t:r}=(0,i.useTranslation)(),{token:h}=(0,d.K)(),{isMobileLayout:x}=(0,u.mY)(),v=(0,c.useFlowEngine)();return((0,ec.useHotkeys)("Ctrl+Shift+U",()=>o(!t),[t]),x)?null:(0,l.jsx)(a.Tooltip,{title:r("UI Editor"),children:(0,l.jsx)(a.Button,{"data-testid":"ui-editor-button",icon:(0,l.jsx)(n.HighlightOutlined,{style:{color:h.colorTextHeaderMenu}}),title:r("UI Editor"),style:{...t?p:m,...e.style},onClick:async()=>{let e=!t;o(e),x||!e?await v.flowSettings.disable():await v.flowSettings.enable()}})})};var x=o(71915),v=o(86073),_=o(93726),f=o(52570),g=o(44814),b=o(56920),y=o(27404),S=o(77583),k=o(63557),C=o(20629);let M=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${e}${(0,y.uid)()}`};b.Schema.silent(!0);let w={},F={silent:!0,compile(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=()=>{if(!F.silent)return Function("$root",`with($root) { return (${e}); }`)(t);try{return Function("$root",`with($root) { return (${e}); }`)(t)}catch{return`{{${e}}}`}};return w[e]?w[e]:e.trim().startsWith("t(")?(w[e]=o(),w[e]):o()}};b.Schema.registerCompiler(F.compile);let P=e=>{let{designable:t,onDesignableChange:o,components:n,children:a}=e,s=(0,r.useContext)(k.u),d=(0,f.M)(),[u,c]=(0,r.useState)(()=>(0,y.uid)()),p=(0,r.useMemo)(()=>e.form||(0,g.createForm)(),[u]),{t:m}=(0,i.useTranslation)(),h=(0,C.nm)(),x=(0,r.useMemo)(()=>({...e.scope,t:m,randomString:M}),[e.scope,m,null==d?void 0:d.scope]),[v,_]=(0,r.useState)(t),w=(0,r.useMemo)(()=>"boolean"==typeof t?t:v,[t,v,s.designable]),F=(0,r.useMemo)(()=>e=>{"boolean"!=typeof w&&_(e),null==o||o(e)},[w,o]);(0,r.useEffect)(()=>{let e=!1;return(async()=>{var t,o,l,n;if(!w)return await (null==(o=h.flowEngine)||null==(t=o.flowSettings)?void 0:t.disable());e||await (null==(n=h.flowEngine)||null==(l=n.flowSettings)?void 0:l.enable())})(),()=>{e=!0}},[h,w]);let P=(0,r.useCallback)(()=>{c((0,y.uid)())},[]),j=(0,r.useMemo)(()=>({scope:x,components:n,reset:P,refresh:S.default.noop,designable:w,setDesignable:F}),[n,w,P,x,F]);return(0,l.jsx)(k.u.Provider,{value:j,children:(0,l.jsx)(b.FormProvider,{form:p,children:(0,l.jsx)(f.t,{inherit:!0,scope:x,components:n,children:a})})})};P.displayName="SchemaComponentProvider";var j=o(83468);class A extends j.k{async load(){this.addComponents()}addComponents(){this.app.addComponents({DesignableSwitch:h})}}},16319(e,t,o){o.d(t,{Us:()=>_,TD:()=>n,F:()=>c.F,px:()=>i.px,QI:()=>i.QI,d1:()=>i.d1,xB:()=>h,YY:()=>f.Y,Lj:()=>g.Lj,er:()=>i.er,xZ:()=>r.x,OJ:()=>u,mh:()=>g.mh,lu:()=>a.l,kB:()=>i.kB,Hb:()=>s.H,a9:()=>g.a9,jE:()=>b.j});var l=o(51649);let n=e=>{let t=(0,l.useRef)(null);return(0,l.useEffect)(()=>(t.current&&e!==t.current&&t.current.onUnmount(),t.current=e,e.onMount(),()=>{e.onUnmount()}),[e]),e};var a=o(61013),r=o(57619),i=o(95951),s=o(87463),d=o(56920);let u=e=>{let t=(0,l.useContext)(d.SchemaOptionsContext),o=(0,l.useContext)(d.SchemaExpressionScopeContext),n=(0,l.useRef)();return n.current=o,e.toFieldProps({...t,get scope(){return{...t.scope,...n.current}}})};var c=o(39247),p=o(77843),m=o(43288);let h=()=>{var e;let{getCollectionJoinField:t,getCollection:o}=(0,m.nj)(),n=(0,d.useFieldSchema)(),{getField:a}=(0,m.k7)(),r=a(n.name)||t(n["x-collection-field"]),{t:i}=(0,p.useTranslation)(),{label:s}=(null==(e=n["x-component-props"])?void 0:e.fieldNames)||{};return(0,l.useMemo)(()=>{if(!r||!(null==r?void 0:r.interface)||!["o2o","oho","obo","o2m","linkTo","m2o","m2m"].includes(r.interface))return;let e=o(r.target);if((null==e?void 0:e.template)==="file")return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];switch(r.interface){case"o2m":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subtable"),value:"TableField"},{label:i("Select"),value:"AssociationSelect"}];case"m2o":case"m2m":case"linkTo":return[{label:i("Record picker"),value:"CollectionField"},{label:i("Select"),value:"AssociationSelect"}];default:return[{label:i("Record picker"),value:"CollectionField"},{label:i("Subform"),value:"FormField"},{label:i("Select"),value:"AssociationSelect"}]}},[i,null==r?void 0:r.interface,s])};var x=o(26174),v=o(49621);let _=()=>{var e;let t=(0,d.useField)(),o=(0,d.useFieldSchema)(),n=(0,v.Ge)(),r=(0,x.r2)(),i=(null==n?void 0:n.getField(o.name))||(null==r?void 0:r.getCollectionField(o["x-collection-field"])),s=(0,a.l)();(0,l.useEffect)(()=>{if(!(null==t?void 0:t.title)){var e;t.title=s(null==i||null==(e=i.uiSchema)?void 0:e.title)}},[null==i||null==(e=i.uiSchema)?void 0:e.title])};var f=o(4922),g=o(62152),b=o(81547)},62152(e,t,o){o.d(t,{Lj:()=>f,a9:()=>_,mh:()=>v});var l=o(56920),n=o(71883),a=o(52793),r=o(77583),i=o(51649),s=o(38356),d=o(95951),u=o(44374),c=o(73761),p=o(70892),m=o(38131);let h=e=>{let t=g((0,l.useFieldSchema)()),o=(e=>{var t,o,l,n;let{token:r}=a.theme.useToken(),{designable:i}=(0,d.er)(),{heightProps:u}=(0,c.useBlockHeightProps)(),p=(0,s.useLocation)(),{disablePageHeader:m,enablePageTabs:h,hidePageTitle:x}=e||u||{},v=r.sizeXXL-2,_=i?r.controlHeight+2*r.paddingContentHorizontalLG:+r.paddingContentHorizontalLG;return v+(t=m,o=h,l=x,n=r,p.pathname.includes("/popups/")?2*n.paddingContentVertical+22+n.paddingPageVertical:t?n.paddingContentHorizontalLG:l?o?n.controlPaddingHorizontal+3*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.paddingContentHorizontalLG+12:o?n.paddingSM+n.controlHeight+n.marginXS+2*n.controlPaddingHorizontalSM+22+n.paddingContentHorizontalLG:n.controlHeight+n.marginXS+(n.paddingContentVertical+2)*2+n.paddingContentHorizontalLG)+_})(e),n=(()=>{let{token:e}=a.theme.useToken(),{designable:t}=(0,d.er)();return e.paddingContentVerticalLG+e.margin+2*e.paddingContentVertical+24+(t?e.controlHeight+2*e.paddingContentHorizontalLG:+e.paddingContentHorizontalLG)})();return t?n:o},x=["workflowManualTasks","approvals","approvalRecords"],v=e=>{let{heightProps:t}=(0,c.useBlockHeightProps)(),o=h(),{heightMode:l,height:n,title:a,titleHeight:r}=t||{};if((null==t?void 0:t.heightMode)&&l!==m.D.DEFAULT){if(l===m.D.FULL_HEIGHT){let t=window.innerHeight-o;return(null==e?void 0:e.removeBlockHeaderHeight)&&(t-=a?r:0),(null==e?void 0:e.innerExtraHeight)&&(t-=e.innerExtraHeight),t}return n}},_=()=>{let e=(0,l.useFieldSchema)(),t=(0,i.useMemo)(()=>(0,c.getPageSchema)(e),[]),{disablePageHeader:o,enablePageTabs:n,hidePageTitle:a}=(null==t?void 0:t["x-component-props"])||{},r={...null==e?void 0:e["x-component-props"],disablePageHeader:o,enablePageTabs:n,hidePageTitle:a},s=h(r),{heightMode:d,height:u}=r||{};if((null==r?void 0:r.heightMode)&&d!==m.D.DEFAULT)return d===m.D.FULL_HEIGHT?window.innerHeight-s:u},f=()=>{let[e,t]=(0,i.useState)(),o=(0,i.useRef)(null),s=(()=>{var e;let{token:t}=a.theme.useToken(),{heightProps:o}=(0,c.useBlockHeightProps)(),{heightProps:n}=(0,p.El)(),{designable:r}=(0,d.er)(),i=(0,l.useFieldSchema)(),s=n||o,{titleHeight:v}=o,_=h(s),{name:f}=(0,u.useCollection)(),{heightMode:g,height:b,title:y}=s;if(!(null==s?void 0:s.heightMode)||g===m.D.DEFAULT)return;let S=Object.keys((null==(e=i.parent.properties.actions)?void 0:e.properties)||{}).length>0,k=t.controlHeight+t.padding+t.marginLG,C=S||r?t.controlHeight+2*t.marginLG:t.marginLG,M=(r&&!x.includes(f)?t.controlHeight:22)+2*t.padding+1,w=y?v:0;return g===m.D.FULL_HEIGHT?window.innerHeight-_-w-M-C-k:b-w-C-M-k})(),v=(0,i.useCallback)((0,r.debounce)(()=>{var e;if(!o.current)return;let l=o.current.getBoundingClientRect();(null==(e=o.current.querySelector(".ant-table"))?void 0:e.getBoundingClientRect())&&t(l.width)},100),[s]),_=(0,i.useCallback)(e=>{o.current=e&&e.children?e.children[0]:null,v()},[v]);return(0,n.useEventListener)("resize",v),{height:s,width:e,tableSizeRefCallback:_}},g=e=>{if(!e)return null;if("Action.Container"===e["x-component"]){var t,o;return(null==e||null==(o=e.parent)||null==(t=o["x-component-props"])?void 0:t.openMode)!=="page"}return g(e.parent)}},61013(e,t,o){o.d(t,{l:()=>r});var l=o(56920),n=o(51649);let a={},r=function(){let{noCache:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{noCache:!1},t=(0,n.useContext)(l.SchemaOptionsContext),o=(0,n.useContext)(l.SchemaExpressionScopeContext);return(r,i)=>{var s,d;let u,c=!1;if("string"==typeof r&&r.startsWith("{{")&&(c=!0,u=r),r&&"object"==typeof r&&!(0,n.isValidElement)(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];s=u,c=/{{.*?}}/g.test(s)}if(Array.isArray(r)){try{u=JSON.stringify(r)}catch(e){return console.warn("Failed to stringify:",e),r}if(a[u])return a[u];d=u,c=/{{.*?}}/g.test(d)}if(c){let n={...null==t?void 0:t.scope,...o,...i};if(!u)return l.Schema.compile(r,n);try{if(e)return l.Schema.compile(r,n);return a[u]=a[u]||l.Schema.compile(r,n),a[u]}catch(e){return console.log("useCompile error",r,e),l.Schema.compile(r,n)}}return r}}},57619(e,t,o){o.d(t,{x:()=>r});var l=o(56920),n=o(77583),a=o(51649);let r=(e,t)=>{let{components:o}=(0,a.useContext)(l.SchemaOptionsContext);return e?"string"!=typeof e?e:(0,n.get)(o,e)||t:t}},95951(e,t,o){o.d(t,{er:()=>F,px:()=>g,QI:()=>w,d1:()=>M,kB:()=>k});var l=o(71178),n=o(56920),a=o(27404),r=o(71883),i=o(52793),s=o(13791),d=o(93656),u=o(20148),c=o(51649),p=o(77843),m=o(16211),h=o(30644),x=o(88448),v=o(63557),_=JSON.parse('{"rE":"2.1.0-alpha.27"}'),f=o(13975);function g(e){return new M(e)}let b=e=>{e&&(e["x-uid"]||(e["x-uid"]=(0,a.uid)()),Object.keys(e.properties||{}).forEach(t=>{b(e.properties[t])}))},y=e=>e,S=(e,t)=>{if(e&&t){for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&t[o]!==(null==e?void 0:e[o]))return!1;return!0}},k=(e,t)=>{if(e["x-uid"]&&e["x-uid"]===t["x-uid"])return[null,e.toJSON()];let o=e.toJSON(),l={...o,properties:{}},n=null,a=(e,o)=>{Object.keys(e||{}).forEach(l=>{let r=e[l];if(r["x-uid"]===t["x-uid"]){n=e[l];return}o.properties[l]={...r,properties:{}},a(null==r?void 0:r.properties,o.properties[l])})};return a(o.properties,l),[l,n]},C=e=>e;class M{get model(){return this.options.model}get query(){return this.options.query}loadAPIClientEvents(){let{api:e,t=C}=this.options;if(!e)return;let o=e=>{if(!e)return[];let t=Object.values(e.properties).length,o=[];return(e.mapProperties(e=>{e["x-component-props"]=e["x-component-props"]||{},e["x-component-props"].width=100/t,e["x-uid"]&&o.push({"x-uid":e["x-uid"],"x-component-props":e["x-component-props"]})}),e["x-uid"]&&o.length)?o:[]};this.on("insertAdjacent",async l=>{var n;let{onSuccess:a,current:r,position:s,schema:d,wrap:u,wrapped:c,removed:p}=l,m=[];if((null==c?void 0:c["x-component"])==="Grid.Col"&&(m=m.concat(o(c.parent))),(null==p?void 0:p["x-component"])==="Grid.Col"&&(m=m.concat(o(p.parent))),this.refresh(),!r["x-uid"])return;let h=await e.request({url:`/uiSchemas:insertAdjacent/${r["x-uid"]}?position=${s}`,method:"post",data:{schema:function e(t,o){if(t)return t["x-app-version"]||(t["x-app-version"]=o),Object.keys(t.properties||{}).forEach(l=>{var n;e(null==(n=t.properties)?void 0:n[l],o)}),t}(d,this.appVersion),wrap:u}});m.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:m}),(null==p?void 0:p["x-uid"])&&await e.request({url:`/uiSchemas:remove/${p["x-uid"]}`,method:"post"}),null==a||a(null==h||null==(n=h.data)?void 0:n.data),i.message.success(t("Saved successfully"),.2)}),this.on("patch",async o=>{let{schema:l}=o;this.refresh(),(null==l?void 0:l["x-uid"])&&(await e.request({url:"/uiSchemas:patch",method:"post",data:{...l}}),i.message.success(t("Saved successfully"),.2))}),this.on("initializeActionContext",async t=>{let{schema:o}=t;(null==o?void 0:o["x-uid"])&&await e.request({url:"/uiSchemas:initializeActionContext",method:"post",data:{...o}})}),this.on("batchPatch",async o=>{let{schemas:l}=o;this.refresh(),await e.request({url:"/uiSchemas:batchPatch",method:"post",data:l}),i.message.success(t("Saved successfully"),.2)}),this.on("remove",async l=>{let{removed:n}=l,a=[];(null==n?void 0:n["x-component"])==="Grid.Col"&&(a=o(n.parent)),this.refresh(),(null==n?void 0:n["x-uid"])&&(await e.request({url:`/uiSchemas:remove/${n["x-uid"]}`,method:"post"}),a.length&&await e.request({url:"/uiSchemas:batchPatch",method:"post",data:a}),i.message.success(t("Saved successfully"),.2))})}prepareProperty(e){e.type||(e.type="void"),e.name||(e.name=(0,a.uid)()),this.current["x-uid"]&&b(e)}on(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}async emit(e){for(var t=arguments.length,o=Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];if(!this.events[e])return;let[n,...a]=o;return Promise.all(this.events[e].map(e=>e.bind(this)({current:this.current,...n},...a)))}parentsIn(e){if(!e||!n.Schema.isSchemaInstance(e))return!1;let t=this.current;for(;null==t?void 0:t.parent;){if(t.parent===e)return!0;t=t.parent}return!1}refresh(e){let{refresh:t}=this.options;return null==t?void 0:t(e)}deepMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly"},o={"x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(l=>{t[l]?(this.current[l]=e[l],this.updateModel(t[l],e[l])):o[l]?Object.keys(e[l]).forEach(t=>{(0,u.default)(this.current,[l,t],e[l][t]),this.updateModel([o[l],t],e[l][t])}):this.current[l]=e[l]}),this.emit("patch",{schema:e})}getSchemaAttribute(e,t){return(0,d.default)(this.current,e,t)}shallowMerge(e){let t={title:"title",description:"description",default:"initialValue",readOnly:"readOnly",writeOnly:"editable",enum:"dataSource","x-pattern":"pattern","x-display":"display","x-validator":"validator","x-decorator":"decorator","x-component":"component","x-reactions":"reactions","x-content":"content","x-visible":"visible","x-hidden":"hidden","x-disabled":"disabled","x-editable":"editable","x-read-only":"readOnly","x-decorator-props":"decoratorProps","x-component-props":"componentProps","x-data":"data"};Object.keys(e).forEach(o=>{this.current[o]=e[o],t[o]&&this.updateModel(t[o],e[o])}),this.emit("patch",{schema:e})}updateModel(e,t){let o=o=>{(0,u.default)(o,e,t)};this.model&&o(this.model),this.query&&this.query.take(o)}insertAdjacent(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};switch(e){case"beforeBegin":return this.insertBeforeBegin(t,o);case"afterBegin":return this.insertAfterBegin(t,o);case"beforeEnd":return this.insertBeforeEnd(t,o);case"afterEnd":return this.insertAfterEnd(t,o)}}recursiveRemoveIfNoChildren(e,t){let o;if(!e)return;let l=e,n=null==t?void 0:t.breakRemoveOn;for(;l;){if("function"==typeof n){if(n(l))break}else if(S(l,n))break;if(Object.keys(l.properties||{}).length>0)break;l.parent&&(o=l.parent.removeProperty(l.name)),l=l.parent}return o}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return this.emit("remove",{removed:a})}removeWithoutEmit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{breakRemoveOn:o,removeParentsIfNoChildren:l}=t,n=e||this.current,a=n.parent.removeProperty(n.name);if(l){let e=this.recursiveRemoveIfNoChildren(n.parent,{breakRemoveOn:o});e&&(a=e)}return a}insertBeforeBeginOrAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current)||!n.Schema.isSchemaInstance(e)||this.current.parent!==e.parent)return;let o=0,l=0;return this.current.parent.mapProperties((t,n,a)=>{this.current.name===n&&(l=a),e.name===n&&(o=a)}),o>l?this.insertBeforeBegin(e,t):this.insertAfterEnd(e,t)}insertBeforeBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=!1,c=0,p=0;this.current.parent.mapProperties((e,t)=>{t===this.current.name&&(p=c,u=!0,++c),e["x-index"]=c,++c,u&&(d[t]=e,this.current.parent.removeProperty(t))}),this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h["x-index"]=p,h.parent=this.current.parent,this.current.parent.setProperties(d);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"beforeBegin",schema:v,wrapped:m,wrap:x,...o})}insertAfterBegin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));let d={},u=1;this.current.mapProperties((e,t)=>{e["x-index"]=u,++u,d[t]=e}),this.current.properties={},this.prepareProperty(e);let c=l(e),p=this.current.addProperty(c.name||(0,a.uid)(),c);p["x-index"]=0,p.parent=this.current,this.current.setProperties(d);let[m,h]=k(p,e);this.emit("insertAdjacent",{position:"afterBegin",schema:h,wrap:m,wrapped:c,...o})}insertBeforeEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;delete e["x-index"];let o={onSuccess:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t;if(n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r}))}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let d=l(e),u=this.current.addProperty(d.name||(0,a.uid)(),d);u.parent=this.current;let[c,p]=k(u,e);return this.emit("insertAdjacent",{position:"beforeEnd",schema:p,wrap:c,wrapped:d,...o})}insertAfterEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.Schema.isSchemaInstance(this.current))return;let o={onSuccess:null==t?void 0:t.onSuccess},{wrap:l=y,breakRemoveOn:r,removeParentsIfNoChildren:i}=t,d=0,u=0,c=!1,p={};if(this.current.parent.mapProperties((e,t)=>{e["x-index"]=d,t===this.current.name&&(u=++d,c=!0),++d,c&&t!==this.current.name&&(p[t]=e,this.current.parent.removeProperty(t))}),n.Schema.isSchemaInstance(e)){if(this.parentsIn(e))return void this.emit("error",{code:"parent_is_not_allowed",schema:e});e.parent.removeProperty(e.name),i&&(o.removed=this.recursiveRemoveIfNoChildren(e.parent,{breakRemoveOn:r})),e.parent=null}else e&&(e=(0,s.default)(e));this.prepareProperty(e);let m=l(e),h=this.current.parent.addProperty(m.name||(0,a.uid)(),m);h.parent=this.current.parent,h["x-index"]=u,this.current.parent.setProperties(p);let[x,v]=k(h,e);this.emit("insertAdjacent",{position:"afterEnd",schema:v,wrap:x,wrapped:m,...o})}constructor(e){this.events={},this.options=e,this.current=e.current,this.appVersion=e.appVersion}}function w(){let e=(0,c.useContext)(n.SchemaOptionsContext),t=(0,c.useMemo)(()=>(null==e?void 0:e.components)||{},[e]);return e=>{if(!e)return null;if("string"!=typeof e)return e;let o=(0,d.default)(t,e);return o||console.error(`[nocobase]: Component "${e}" not found`),o}}function F(){let{designable:e,setDesignable:t,refresh:o,reset:a}=(0,c.useContext)(v.u),i=(0,c.useContext)(n.SchemaOptionsContext),s=(0,c.useMemo)(()=>(null==i?void 0:i.components)||{},[i]),b=(0,c.useMemo)(()=>()=>(0,l.jsx)(l.Fragment,{}),[]),y=(0,r.useUpdate)(),S=(0,h.o8)(),k=(0,h.cQ)(),C=(0,c.useCallback)(e=>{null==o||o(),y(),null==S||S(e),null==k||k()},[o,y,S,k]),M=(0,n.useField)(),w=(0,n.useFieldSchema)(),F=(0,m.VB)(),{t:P}=(0,p.useTranslation)(),j=(0,c.useMemo)(()=>g({t:P,api:F,refresh:C,current:w,model:M,appVersion:_.rE}),[P,F,C,w,M]);(0,c.useEffect)(()=>{j.loadAPIClientEvents()},[j]);let{isMobileLayout:A}=(0,f.useMobileLayout)();return{dn:j,designable:!A&&e,reset:a,refresh:C,setDesignable:t,DesignableBar:b,findComponent:(0,c.useCallback)(e=>{if(!e)return null;if("string"!=typeof e)return e;let t=(0,d.default)(s,e);return(null==t?void 0:t[x.PE])??t},[d.default]),on:j.on.bind(j),patch:(0,c.useCallback)((e,t)=>{let o=e=>{Object.keys(e).forEach(t=>{let o=e[t];"title"===t&&(M.title=o,w.title=o),"x-decorator-props"===t&&(M.decoratorProps||(M.decoratorProps={}),w["x-decorator-props"]||(w["x-decorator-props"]={}),Object.keys(o).forEach(e=>{M.decoratorProps[e]=o[e],w["x-decorator-props"][e]=o[e]})),"x-component-props"===t&&(M.componentProps||(M.componentProps={}),w["x-component-props"]||(w["x-component-props"]={}),Object.keys(o).forEach(e=>{M.componentProps[e]=o[e],w["x-component-props"][e]=o[e]}))})};if("string"==typeof e){let l={};return(0,u.default)(l,e,t),o(l)}o(e),C()},[j]),shallowMerge:(0,c.useCallback)(e=>{j.shallowMerge(e)},[j]),deepMerge:(0,c.useCallback)(e=>{j.deepMerge(e)},[j]),remove:(0,c.useCallback)((e,t)=>{j.remove(e,t)},[j]),insertAdjacent:(0,c.useCallback)((e,t,o)=>{j.insertAdjacent(e,t,o)},[j]),insertBeforeBegin:(0,c.useCallback)(e=>{j.insertBeforeBegin(e)},[j]),insertAfterBegin:(0,c.useCallback)(e=>{j.insertAfterBegin(e)},[j]),insertBeforeEnd:(0,c.useCallback)(e=>{j.insertBeforeEnd(e)},[j]),insertAfterEnd:(0,c.useCallback)(e=>{j.insertAfterEnd(e)},[j])}}},87463(e,t,o){o.d(t,{H:()=>d});var l=o(56920),n=o(51649),a=o(99300),r=o(57619),i=o(95951);let s=()=>null;s.isNullComponent=!0;let d=()=>{let{designable:e}=(0,i.er)(),t=(0,l.useFieldSchema)(),o=(0,n.useMemo)(()=>t["x-designer"]||t["x-toolbar"]?t["x-designer"]||t["x-toolbar"]:t["x-settings"]?a.Bw:s,[t]),d=(0,r.x)(o);return e&&d||s}},81547(e,t,o){o.d(t,{j:()=>i});var l=o(56920),n=o(51649),a=o(77843),r=o(43288);let i=e=>{var t;let{t:o}=(0,a.useTranslation)(),{getCollectionJoinField:i,getCollection:s}=(0,r.nj)(),d=(0,l.useFieldSchema)(),u=(null==e?void 0:e.fieldSchema)||d,c=(0,l.useField)(),p=(0,l.useForm)(),m=(null==u?void 0:u["x-read-pretty"])||c.readPretty||p.readPretty,h=null==e?void 0:e.fieldSchema,{getField:x}=(0,r.k7)(),v=(null==e?void 0:e.collectionField)||x(u.name)||i(u["x-collection-field"]),{label:_}=(null==(t=u["x-component-props"])?void 0:t.fieldNames)||{};return((0,n.useMemo)(()=>{if(!v||!(null==v?void 0:v.interface)||!["hasOne","hasMany","belongsTo","belongsToMany","belongsToArray"].includes(v.type))return;let e=s(v.target);if((null==e?void 0:e.template)==="file")return m?[{label:o("Title"),value:"Select"},{label:o("File manager"),value:"FileManager"},{label:o("Tag"),value:"Tag"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},{label:o("File manager"),value:"FileManager"}];if((null==e?void 0:e.template)==="tree"&&["m2m","o2m","m2o"].includes(v.interface))return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&["m2m","o2m"].includes(v.interface)&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Cascader Select"),value:"CascadeSelect"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];switch(v.interface){case"o2m":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"},!h&&{label:o("Sub-table"),value:"SubTable"}];case"m2m":case"mbm":return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"},!h&&{label:o("Sub-table"),value:"SubTable"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-table"),value:"SubTable"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}];default:return m?[{label:o("Title"),value:"Select"},{label:o("Tag"),value:"Tag"},!h&&{label:o("Sub-details"),value:"Nester"}]:[{label:o("Select"),value:"Select"},{label:o("Record picker"),value:"Picker"},!h&&{label:o("Sub-form"),value:"Nester"},{label:o("Sub-form(Popover)"),value:"PopoverNester"}]}},[o,null==v?void 0:v.interface,_,m,h])||[]).filter(Boolean)}},4922(e,t,o){o.d(t,{Y:()=>n});let l=()=>({}),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{useProps:t=l,...o}=e,n=t;"function"!=typeof t&&(n=l);let a=n();return{...o,...a}}},39247(e,t,o){o.d(t,{F:()=>a});var l=o(51649),n=o(63557);function a(){return(0,l.useContext)(n.u)}},82924(e,t,o){o.d(t,{iI7:()=>D.iI,a1G:()=>u.ShowFormData,yt2:()=>tm.yt,flR:()=>r.fl,FVw:()=>nK.FV,FrL:()=>nm.Fr,CqQ:()=>L,$Eq:()=>T,ZB7:()=>nK.ZB,TrS:()=>tm.Tr,sIN:()=>rb.sI,a2g:()=>u.getRenderContent,t6u:()=>c.t6,qIn:()=>lJ.qI,HPy:()=>r.HP,R_2:()=>lK.R_,doK:()=>D.do,bZ4:()=>r.bZ,pxY:()=>eu.px,pde:()=>lK.pd,CEt:()=>nm.CE,lum:()=>eu.lu,OpO:()=>c.Op,tO8:()=>r.tO,nxV:()=>nm.nx,TDj:()=>tH,xA9:()=>nK.xA,lNE:()=>aR.l,ud$:()=>e5,l46:()=>nc,X_:()=>u.DraggableContext,QD_:()=>nm.QD,ud1:()=>r.ud,Dgp:()=>D.Dg,tvd:()=>D.tv,QEB:()=>aY,X6x:()=>aC.X6,jZb:()=>tY,tn0:()=>lJ.tn,dF1:()=>oe.dF,kBD:()=>eu.kB,Gjn:()=>r.Gj,VFg:()=>aC.VF,Pnr:()=>nm.Pn,zN:()=>r.zN,dKS:()=>aw,LMh:()=>lK.LM,lTd:()=>ew,rlt:()=>eB,dWC:()=>th.dW,cWk:()=>r.cW,Zy6:()=>tm.Zy,PB5:()=>aE.PB,UTu:()=>nm.UT,jeY:()=>D.je,TB2:()=>r.TB,D6h:()=>nU,d9b:()=>oe.d9,fM:()=>tE,X43:()=>tV.X,uc_:()=>nj,pEl:()=>aE.pE,T$Q:()=>tV.T,GD6:()=>c.GD,mJi:()=>lK.mJ,C5g:()=>tz.C5,OJX:()=>eu.OJ,Bmi:()=>ra,u4V:()=>rN.u,lrV:()=>nm.lr,fDF:()=>a.fD,N$k:()=>e1.N$,_sT:()=>oe._s,rNg:()=>t$.rN,RhU:()=>r.Rh,Bnf:()=>oz,UyB:()=>e2,xq$:()=>D.xq,RB3:()=>aE.RB,I5x:()=>eR,hqJ:()=>lK.hq,XIK:()=>a6,m2w:()=>lE,ccy:()=>rB,NVg:()=>tz.NV,kDr:()=>D.kD,J3t:()=>th.J3,d09:()=>r.d0,AG:()=>rv,Xjr:()=>oH,uwA:()=>e1.uw,KDQ:()=>em,$mi:()=>oj.$,L1H:()=>u.Sortable,QoO:()=>nm.Qo,q7s:()=>D.q7,Mp5:()=>u.DndContext,xB5:()=>eu.xB,B4G:()=>D.B4,YIz:()=>ad,$xS:()=>aq,o8F:()=>oV,qKt:()=>aE.qK,_OO:()=>oe._O,qy$:()=>nt,W1t:()=>tm.W1,Z0V:()=>lJ.Z0,cGx:()=>nx,Q2z:()=>nm.Q2,YW0:()=>tM,HvB:()=>c.Hv,ic7:()=>nH,QpY:()=>D.Qp,tUM:()=>rp,oAT:()=>D.oA,zBI:()=>e6,gBz:()=>u.SortableProvider,eIh:()=>D.eI,i_r:()=>nY.i,DVX:()=>D.DV,b7u:()=>e1.b7,Mwt:()=>aE.Mw,Kql:()=>r.Kq,XOn:()=>D.XO,ozN:()=>ak.o,nu1:()=>tp.n,rTt:()=>rb.rT,eBw:()=>nG,xZI:()=>eu.xZ,MIq:()=>r.MI,JaO:()=>nE,htN:()=>eU,Eaz:()=>r.E,qy5:()=>ns,IX0:()=>t$.IX,lSn:()=>tz.lS,BsJ:()=>e1.Bs,_22:()=>aD,sxL:()=>oy,xPi:()=>tp.x,b2W:()=>n$.b,sDQ:()=>aO,Xzy:()=>D.Xz,gt0:()=>aN,QIX:()=>e4,i_F:()=>lG,Ypd:()=>r.Yp,SOm:()=>e1.SO,VXI:()=>r.VX,nKd:()=>tL,N3p:()=>c.N3,dJT:()=>e1.dJ,vPC:()=>D.vP,a97:()=>eu.a9,TNL:()=>D.TN,Qgm:()=>aC.Qg,RLS:()=>al,OqW:()=>e1.Oq,j0_:()=>nS,zVE:()=>rg,yVm:()=>r.yV,B_g:()=>nh,Hbp:()=>eu.Hb,lhV:()=>D.lh,yGk:()=>e1.yG,QIi:()=>eu.QI,Q00:()=>aM,OAH:()=>c.OA,JQe:()=>D.JQ,xqq:()=>r.xq,zEg:()=>e7.z,wN6:()=>ak.w,fDM:()=>nm.fD,uUT:()=>tq,BCL:()=>a8.BC,D50:()=>r.D5,Fag:()=>eu.F,MoU:()=>r.Mo,wnJ:()=>e1.wn,ISS:()=>aC.IS,m$h:()=>t0,c_d:()=>e1.c_,Hi5:()=>rs,x1p:()=>nm.x1,DYS:()=>c.DY,U6o:()=>r.U6,LjE:()=>eu.Lj,l2i:()=>r.l2,Um:()=>e1.Um,Y2j:()=>tw,O$4:()=>aE.O$,G2C:()=>t6.G2,wA7:()=>rF,$t1:()=>D.$t,_bM:()=>oe._b,b6K:()=>oj.b,vzL:()=>ne,lNX:()=>oe.lN,rcl:()=>r.rc,gZ:()=>aE.gZ,msY:()=>nm.ms,U8O:()=>r.U8,Sh8:()=>r.Sh,mhY:()=>eu.mh,tXY:()=>tz.tX,Sc0:()=>oC,p9h:()=>ri,gBZ:()=>u.SortableContext,JDj:()=>rx,hbv:()=>np,RD4:()=>nO.R,bee:()=>aE.be,PSc:()=>r.PS,hsK:()=>e7.h,oVU:()=>l2,IJ7:()=>D.IJ,f2z:()=>oZ.f,OZ6:()=>aC.OZ,pA3:()=>e1.pA,$5j:()=>r.$5,J1:()=>D.J1,dVP:()=>u.DateFilterDynamicComponent,E76:()=>r.E7,j9R:()=>lW,vjx:()=>nI,mz8:()=>nK.mz,Doh:()=>c.Do,vxQ:()=>l7,Us6:()=>eu.Us,UqM:()=>u.SortableItem,lVW:()=>A,f7I:()=>rf,ARu:()=>tQ,TDH:()=>eu.TD,l6P:()=>ek,g9w:()=>e1.g9,s23:()=>tD,GjU:()=>r.nY,GmQ:()=>aE.Gm,skP:()=>na,C4D:()=>nl,arW:()=>aa,v93:()=>rn,Wis:()=>r.Wi,jE9:()=>eu.jE,dbD:()=>nL.d,Ff5:()=>D.Ff,gM2:()=>e1.gM,FZR:()=>lK.FZ,PnP:()=>ry.P,nlx:()=>eY,AQf:()=>lJ.AQ,FoY:()=>aB,w2W:()=>aE.w2,z45:()=>r.z4,bkX:()=>tU,jgC:()=>rl,Ur4:()=>rM,lE3:()=>D.lE,U5u:()=>D.U5,LtX:()=>r.Lt,cl6:()=>ah,d1R:()=>eu.d1,rrz:()=>th.rr,B8B:()=>aS,hY7:()=>oZ.h,Ob5:()=>tm.Ob,erX:()=>eu.er,MqW:()=>c.Mq,S5r:()=>n$.S,YYe:()=>eu.YY,ami:()=>rb.am,LBS:()=>nz,L3t:()=>u.DragHandler,oMF:()=>eh});var l,n={};o.r(n),o.d(n,{Action:()=>r.rc,ActionBar:()=>r.E7,ActionBarProvider:()=>r.xq,ActionContext:()=>r.yV,ActionContextNoRerender:()=>r.Wi,ActionContextProvider:()=>r.z4,ActionDesigner:()=>r.U6,AfterSuccess:()=>r.Kq,AllDataBlocksContext:()=>th.rr,AllDataBlocksProvider:()=>th.J3,AntdSchemaComponentPlugin:()=>tU,AntdSchemaComponentProvider:()=>tH,AppendsTreeSelect:()=>t0,AssignedFieldValues:()=>r.TB,AssociationField:()=>lE,AssociationFieldMode:()=>oz,AssociationFieldModeProvider:()=>oV,AssociationSelect:()=>lG,AttachmentList:()=>oe._s,AutoComplete:()=>lW,BackButtonUsedInSubPage:()=>e7.h,Block:()=>nG,BlockItem:()=>lJ.Z0,BlockItemCard:()=>lJ.tn,BlockItemCardContext:()=>lJ.AQ,BlocksSelector:()=>r.Gj,ButtonEditor:()=>r.Yp,CardItem:()=>l2,Cascader:()=>l7,Checkbox:()=>oC,CollectionSelect:()=>ne,ColorPicker:()=>na,ColorSelect:()=>ns,Cron:()=>nc,CronSet:()=>np,DataSourceCollectionCascader:()=>nl,DataSourceSelect:()=>nt,DateFormatCom:()=>n$.b,DatePicker:()=>nm.lr,DatePickerProvider:()=>nm.Qo,Details:()=>nh,DetailsDesigner:()=>L,Divider:()=>nx,EditComponent:()=>D.iI,EditDefaultValue:()=>D.tv,EditDescription:()=>D.JQ,EditOperator:()=>D.B4,EditPattern:()=>D.$t,EditRequired:()=>D.Qp,EditSortField:()=>rl,EditTable:()=>nS,EditTableAction:()=>nI,EditTableActionContext:()=>nj,EditTitle:()=>D.Xz,EditTitleField:()=>D.Ff,EditTooltip:()=>D.IJ,EditValidationRules:()=>D.vP,Editable:()=>aB,EllipsisWithTooltip:()=>lK.R_,ErrorFallback:()=>tp.x,Expand:()=>nE,ExpiresRadio:()=>n$.S,FieldsTreeSelect:()=>tQ,Fieldset:()=>nz,Filter:()=>e1.dJ,FilterAction:()=>e1.Bs,FilterActionContext:()=>e1.SO,FilterContext:()=>e1.gM,FilterDynamicComponent:()=>e1.N$,FilterLogicContext:()=>e1.c_,Form:()=>A,FormDialog:()=>nO.R,FormDrawer:()=>rF,FormField:()=>e6,FormItem:()=>D.eI,FormV2:()=>eU,G2Plot:()=>nU,G2PlotRenderer:()=>nH,Grid:()=>nK.xA,GridCard:()=>al,GridRowContext:()=>nK.mz,HTMLEncode:()=>lK.mJ,ICON_POPUP_Z_INDEX:()=>oj.b,IconPicker:()=>aa,Input:()=>lK.pd,InputNumber:()=>ad,InputReadPretty:()=>lK.FZ,InputRecordPicker:()=>aE.qK,Json:()=>lK.LM,LinkageFilter:()=>rB,List:()=>aS,Markdown:()=>ak.o,MarkdownReadPretty:()=>ak.w,Menu:()=>tm.W1,NanoIDInput:()=>aM,Page:()=>tM,PagePopups:()=>t$.rN,PageTabs:()=>tw,Pagination:()=>aw,ParentRouteContext:()=>tm.Zy,Password:()=>aD,Percent:()=>aY,PopupSettingsProvider:()=>tV.T,Preview:()=>aR.l,QuickEdit:()=>aN,Radio:()=>oy,ReadPretty:()=>lK.hq,ReadPrettyRecordPicker:()=>aE.w2,RecordPicker:()=>aE.O$,RecordPickerContext:()=>aE.pE,RecordPickerProvider:()=>aE.be,RefreshDataBlockRequest:()=>r.ud,RemoteSelect:()=>ew,RemoveButton:()=>r.d0,RemoveConditionContext:()=>e1.b7,RequestSettings:()=>r.Rh,RichText:()=>aO,SecondConFirm:()=>r.VX,Select:()=>ek,SkipValidation:()=>r.zN,Space:()=>aq,StablePopover:()=>oj.$,Table:()=>a6,TableBlockDesigner:()=>rn,TableField:()=>ra,TableSelectorDesigner:()=>ri,TableV2:()=>rs,Tabs:()=>rp,TabsContextProvider:()=>oZ.h,Templates:()=>eR,TestDesigner:()=>lJ.qI,TextAreaWithGlobalScope:()=>rM,TimePicker:()=>rv,TreeSelect:()=>rf,UnixTimestamp:()=>rg,Upload:()=>oe._O,Uploader:()=>oe.d9,Variable:()=>rb.rT,VariableScopeProvider:()=>rb.sI,VariableSelect:()=>ry.P,actionSettings:()=>r.Sh,actionSettingsItems:()=>r.Mo,allowAddNew:()=>D.lE,attachmentFileTypes:()=>oe.lN,defaultFieldNames:()=>em,fetchTemplateData:()=>eB,filterFormItemSettings:()=>D.Dg,findByUid:()=>aC.X6,findKeysByUid:()=>aC.VF,findMenuItem:()=>aC.OZ,formDetailsSettings:()=>e4,formItemSettings:()=>D.DV,formSettings:()=>e2,formV1Settings:()=>T,genStyleHook:()=>a.fD,getCurrentOptions:()=>eh,getDateExact:()=>nm.Q2,getDatePickerLabels:()=>aE.Mw,getDateRanges:()=>nm.fD,getLabelFormatValue:()=>aE.PB,getPopupPathFromParams:()=>tz.C5,getStoredPopupContext:()=>tz.lS,getTabSchema:()=>tY,getZIndex:()=>r.fl,handleDateChangeOnForm:()=>nm.QD,inferPickerType:()=>nm.Pn,isBulkEditAction:()=>r.PS,isFileCollection:()=>D.XO,isMobile:()=>nm.Fr,isShowFilePicker:()=>aE.Gm,isTabPage:()=>tL,isWriteEmailAction:()=>r.cW,mapDatePicker:()=>nm.x1,mapRangePicker:()=>nm.UT,mapTimeFormat:()=>rx,matchMimetype:()=>oe._b,moment2str:()=>nm.ms,navigateToTab:()=>tD,pageSettings:()=>tE,pageTabSettings:()=>tq,readPrettyFormSettings:()=>e5,removeNullCondition:()=>e1.pA,resolveFilterPickerFormat:()=>nm.CE,storePopupContext:()=>tz.NV,useActionBarContext:()=>r.MI,useActionContext:()=>r.D5,useAfterSuccessOptions:()=>r.bZ,useAllDataBlocks:()=>th.dW,useAssociationFieldContext:()=>t6.G2,useAssociationFieldModeContext:()=>oH,useBackButton:()=>e7.z,useCloseAction:()=>r.nY,useColumnSchema:()=>a8.BC,useColumnSettings:()=>nL.d,useCurrentPopupContext:()=>t$.IX,useDatePickerContext:()=>nm.nx,useDownloadLogs:()=>tp.n,useEnsureOperatorsValid:()=>D.lh,useFieldMode:()=>D.J1,useFieldNames:()=>aE.gZ,useFilterActionProps:()=>e1.Um,useFilterFieldOptions:()=>e1.g9,useFilterFieldProps:()=>e1.yG,useFilterOptions:()=>e1.uw,useFormDataTemplates:()=>eY,useGetAriaLabelOfAction:()=>r.U8,useGetAriaLabelOfDrawer:()=>r.HP,useGetAriaLabelOfModal:()=>r.tO,useGetAriaLabelOfPopover:()=>r.l2,useGetFilterFieldOptions:()=>e1.Oq,useGetFilterOptions:()=>e1.wn,useGridContext:()=>nK.ZB,useGridRowContext:()=>nK.FV,useIsAddNewForm:()=>D.TN,useIsAssociationField:()=>D.xq,useIsFieldReadPretty:()=>D.U5,useIsFileField:()=>D.oA,useIsFormReadPretty:()=>D.q7,useIsSelectFieldMode:()=>D.je,useLabelUiSchema:()=>aE.RB,useLinkageAction:()=>r.Lt,useListBlockContext:()=>ah,useMenuDragEnd:()=>tm.yt,useMenuTranslation:()=>aC.Qg,useNocoBaseRoutes:()=>tm.Ob,useParentRoute:()=>tm.Tr,usePopupSettings:()=>tV.X,useStyles:()=>aC.IS,useTableColumnIntegration:()=>nY.i,useTabsContext:()=>oZ.f,useTitleFieldOptions:()=>D.kD,useUploadStyles:()=>oe.dF,useValidateSchema:()=>D.do,useVariableScope:()=>rb.am,useZIndexContext:()=>r.$5,withSearchParams:()=>tz.tX,zIndexContext:()=>r.E});var a=o(54969),r=o(78562),i=o(71178),s=o(51649),d=o(83468),u=o(91032),c=o(90995),p=o(72548);let m=e=>async function(){try{var t;let o=await this.api.request(e);return null==o||null==(t=o.data)?void 0:t.data}catch(e){return[]}};var h=o(56220),x=o(44814),v=o(56920),_=o(52793),f=o(16211),g=o(43288),b=o(30644),y=o(99300),S=o(25952),k=o(96932),C=o(24768);let M=e=>{let{form:t,children:o,...l}=e,n=(0,v.useField)(),a=(0,v.useFieldSchema)(),r=(0,eu.TD)(t.createVoidField({...n.props,basePath:""}));return(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...l,children:(0,i.jsx)(b.dw,{basePath:r.address,schema:a,onlyRenderProperties:!0})})})})},w=e=>e.children,F=e=>{let{form:t,children:o,disabled:l,...n}=e,a=(0,v.useField)(),r=(0,v.useFieldSchema)(),d=(0,eu.TD)(t.createVoidField({...a.props,basePath:""})),u=(0,eu.xZ)(r["x-component"],w);return(0,s.useEffect)(()=>{t.disabled=l||a.disabled},[l,a.disabled]),(0,i.jsx)(_.ConfigProvider,{componentDisabled:l,children:(0,i.jsx)(v.FieldContext.Provider,{value:void 0,children:(0,i.jsx)(v.FormContext.Provider,{value:t,children:(0,i.jsx)(h.FormLayout,{layout:"vertical",...n,children:(0,i.jsx)(v.FieldContext.Provider,{value:d,children:(0,i.jsx)(u,{...a.componentProps,children:(0,i.jsx)(b.dw,{basePath:d.address,schema:r,onlyRenderProperties:!0})})})})})})})},P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,f.bP)((e=>{let{request:t,initialValue:o}=e;return t||(()=>Promise.resolve({data:o}))})(t),e)},j=(0,s.createContext)(null);j.displayName="FormBlockContext";let A=(0,v.observer)(e=>{let{request:t,effects:o,initialValue:l,useValues:n=P,...a}=e,r=(0,v.useFieldSchema)(),d=(0,v.useField)(),u=(0,s.useMemo)(()=>(0,x.createForm)({effects:o}),[]),c=n({uid:r["x-uid"],async onSuccess(e){await u.reset(),u.setValues(null==e?void 0:e.data),u.setInitialValues(null==e?void 0:e.data)}},e),p=(0,s.useContext)(j);return(0,i.jsx)(j.Provider,{value:{parent:p,form:u,result:c,field:d,fieldSchema:r},children:(0,i.jsx)(_.Spin,{spinning:(null==c?void 0:c.loading)||!1,children:"Form"===r["x-decorator"]?(0,i.jsx)(F,{form:u,...a}):(0,i.jsx)(M,{form:u,...a})})})},{displayName:"Form"});A.Designer=function(){let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)(),{componentNamePrefix:l}=(0,C.kU)();return(0,i.jsxs)(y.xK,{template:o,title:t||e,children:[(0,i.jsx)(S.l,{componentName:`${l}Form`,collectionName:e}),(0,i.jsx)(y.kT,{}),(0,i.jsx)(y.d$,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}})]})};var I=o(31675);let T=new I.RT({name:"FormV1Settings",items:[{name:"template",Component:S.l,useComponentProps(){let{name:e}=(0,g.k7)(),{componentNamePrefix:t}=(0,C.kU)();return{componentName:`${t}Form`,collectionName:e}}},{name:"divider",type:"divider"},{name:"remove",type:"remove",componentProps:{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}}]});var D=o(60929);let L=()=>{let{name:e,title:t}=(0,g.k7)(),o=(0,k.D$)();return(0,i.jsx)(y.xK,{schemaSettings:"FormDetailsSettings",template:o,title:t||e})};var Y=o(69412),R=o(80461),B=o(99847),N=o(49948),E=o(10691),$=o(27404),z=o(77583),O=o(20629),q=o(18111),V=o(70136),H=o(28227),U=o(14187),G=o(92619),K=o(4627),W=o(83006),J=o(43923),X=o(4922),Z=o(95951),Q=o(95210),ee=o(62152),et=o(63526),eo=o(77843),el=o(69575),en=o(65457),ea=o(82113),er=o(91815),ei=o(23460),es=o(29558),ed=o(58980),eu=o(16319),ec=o(46724),ep=o(81607);let em={label:"label",value:"value",color:"color",options:"children"};function eh(e,t,o){let l=function e(t,o){let l=[];if(!Array.isArray(t))return l;for(let n=0;n<t.length;n++){let a=t[n][o.options];Array.isArray(a)&&l.push(...e(a,o)),l.push({...t[n]})}return l}(t,o),n=(0,z.castArray)(e).map(e=>(0,et.isPlainObject)(e)?e[o.value]:e);if(!l)return[];let a=[];for(let e of n){let t=l.find(t=>t[o.value]==e)||{value:e,label:e?e.toString():e};a.push(t)}return a}var ex=o(84951),ev=o(60430);let e_=(0,v.observer)(e=>{let[t,o]=(0,s.useState)(!0),[l,n]=(0,s.useState)([]),a=(0,v.useField)(),r=(0,ec.E1)();return((0,s.useEffect)(()=>{var t;let l={...em,...e.fieldNames},s=a.dataSource||e.options||(null==r?void 0:r.uiSchema.enum)||[],d=eh(a.value,s,l);!(0,$.isValid)(e.value)&&!d.length||(0,x.isArrayField)(a)&&(null==a||null==(t=a.value)?void 0:t.length)===0||(n(null!==a.value&&d.map((e,t)=>(0,i.jsx)(_.Tag,{color:e[l.color],icon:"string"==typeof e.icon?(0,i.jsx)(ev.In,{type:e.icon}):e.icon,children:e[l.label]},t))),o(!1))},[null==r?void 0:r.uiSchema.enum,a,a.dataSource,a.value,e.fieldNames,e.options,e.value]),t)?null:(0,i.jsx)(ep.R,{ellipsis:e.ellipsis,children:l})},{displayName:"SelectReadPretty"}),ef=(0,ex.A)(e_),eg=e=>{let{value:t,options:o,onChange:l,fieldNames:n,mode:a,loading:r,rawOptions:s,defaultValue:d,...u}=e,c=ey.isDesktop?"":eS,p=ey.isDesktop?void 0:"topLeft",m=t=>{var l;if(!(0,$.isValid)(t)||"object"==typeof t&&0===Object.keys(t).length)return;let r=null==(l=eh((0,$.toArr)(t).filter(e=>e).map(e=>(0,et.isPlainObject)(e)?e[n.value]:e),o,n))?void 0:l.map(e=>({label:e[n.label],value:e[n.value]}));return["tags","multiple"].includes(a)||e.multiple?r:r.shift()};return(0,i.jsx)(_.Select,{rootClassName:c,placement:p,role:"button","data-testid":`select-object-${a||"single"}`,value:m(t),defaultValue:m(d),allowClear:{clearIcon:(0,i.jsx)(ea.CloseCircleFilled,{role:"button","aria-label":"icon-close-select"})},labelInValue:!0,notFoundContent:r?(0,i.jsx)(_.Spin,{}):(0,i.jsx)(_.Empty,{image:_.Empty.PRESENTED_IMAGE_SIMPLE}),options:o,fieldNames:n,showSearch:!0,popupMatchSelectWidth:!1,filterOption:(e,t)=>((null==t?void 0:t[n.label||"label"])??"").includes(e),filterSort:(e,t)=>((null==e?void 0:e[n.label||"label"])??"").toLowerCase().localeCompare(((null==t?void 0:t[n.label||"label"])??"").toLowerCase()),onChange:t=>{let r=eh((0,$.toArr)(t).map(e=>e.value),s||o,n);["tags","multiple"].includes(a)||e.multiple?null==l||l(r):null==l||l(r.shift()||null)},mode:a,tagRender:e=>(0,i.jsx)(_.Tag,{role:"button","aria-label":e.label,closeIcon:(0,i.jsx)(ea.CloseOutlined,{role:"button","aria-label":"icon-close-tag"}),...e,children:e.label}),maxTagCount:"responsive",maxTagPlaceholder:e=>(0,i.jsxs)(_.Tooltip,{title:(0,i.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:6,maxWidth:"100%"},children:e.map(e=>(0,i.jsx)(_.Tag,{style:{margin:0,background:"#fafafa",border:"1px solid #d9d9d9",whiteSpace:"normal",wordBreak:"break-word",maxWidth:"100%"},children:e.label},e.value))}),overlayInnerStyle:{background:"#fff",color:"#000",padding:8,maxWidth:"100%"},color:"#fff",overlayStyle:{pointerEvents:"auto",maxWidth:300},children:["+",e.length,"..."]}),...u})},eb=(e,t)=>((null==t?void 0:t.label)??"").toLowerCase().includes((e||"").toLowerCase()),eS=(0,E.css)`
|
|
968
968
|
& .ant-select-selection-search-input {
|
|
969
969
|
opacity: 0.1 !important;
|
|
970
970
|
}
|
|
@@ -1815,4 +1815,4 @@ ${JSON.stringify(s,null,2)}`)},[j,F,w,S,y,H,t,M,C,R,o,B,z,U,O,q,Y]),K=(0,a.useCa
|
|
|
1815
1815
|
.anticon {
|
|
1816
1816
|
line-height: 16px !important;
|
|
1817
1817
|
}
|
|
1818
|
-
`;class tU extends q.k{async load(){this.schemaSettingsManager.add(eO.F),this.schemaSettingsManager.add(eD.N),this.schemaSettingsManager.add(eL.R),this.schemaSettingsManager.add(eK),this.schemaSettingsManager.add(eX),this.schemaSettingsManager.add(eF),this.schemaSettingsManager.add(eP),this.schemaSettingsManager.add(eI),this.schemaSettingsManager.add(eT),this.schemaSettingsManager.add(ez.A),this.schemaSettingsManager.add(e$),this.schemaSettingsManager.add(eE),this.schemaSettingsManager.add(eH),this.schemaSettingsManager.add(eZ),this.schemaSettingsManager.add(X),this.schemaSettingsManager.add(er),this.schemaSettingsManager.add(es),this.schemaSettingsManager.add(ed),this.schemaSettingsManager.add(e_),this.schemaSettingsManager.add(ev),this.schemaSettingsManager.add(et),this.schemaSettingsManager.add(eo),this.schemaSettingsManager.add(Q),this.schemaSettingsManager.add(ee),this.schemaSettingsManager.add(Z),this.schemaSettingsManager.add(ex),this.schemaSettingsManager.add(ei.V),this.schemaSettingsManager.add(eh),this.schemaSettingsManager.add(ec.K),this.schemaSettingsManager.add(ep),this.schemaSettingsManager.add(em),this.schemaSettingsManager.add(eu),this.schemaSettingsManager.add(J),this.schemaSettingsManager.add(el),this.schemaSettingsManager.add(eY.l),this.schemaSettingsManager.add(eq._),this.schemaSettingsManager.add(eG),this.schemaSettingsManager.add(e5.NU),this.schemaSettingsManager.add(e5.r0),this.schemaSettingsManager.add(tM),this.schemaSettingsManager.add(tw),this.schemaSettingsManager.add(tk),this.schemaSettingsManager.add(tF),this.schemaSettingsManager.add(tS),this.schemaSettingsManager.add(e7),this.schemaSettingsManager.add(e9),this.schemaSettingsManager.add(tT),this.schemaSettingsManager.add(tm),this.schemaSettingsManager.add(e2.Pq),this.schemaSettingsManager.add(ts),this.schemaSettingsManager.add(ti),this.schemaSettingsManager.add(to),this.schemaSettingsManager.add(td),this.schemaSettingsManager.add(tu),this.schemaSettingsManager.add(tc),this.schemaSettingsManager.add(e8.yp),this.schemaSettingsManager.add(tj),this.schemaSettingsManager.add(e4),this.schemaSettingsManager.add(tr),this.schemaSettingsManager.add(tt),this.schemaSettingsManager.add(te),this.schemaSettingsManager.add(tp),this.schemaSettingsManager.add(tI),this.schemaSettingsManager.add(tH)}}var tG=o(58329),tK=o(4627)},37208(e,t,o){o.d(t,{h:()=>l});let l=e=>{var t;return(null==e||null==(t=e["x-component-props"])?void 0:t["pattern-disable"])==!0}},20349(e,t,o){o.d(t,{e:()=>d});var l=o(56220),n=o(56920),a=o(77843),r=o(70892),i=o(43288),s=o(95951);let d={name:"SetDefaultSortingRules",type:"modal",useComponentProps(){var e,t;let{name:o}=(0,i.k7)(),d=(0,n.useField)(),u=(0,n.useFieldSchema)(),c=(0,i.lY)(o),{service:p}=(0,r.El)(),{t:m}=(0,a.useTranslation)(),{dn:h}=(0,s.er)(),x=(null==u||null==(t=u["x-decorator-props"])||null==(e=t.params)?void 0:e.sort)||[],v=null==x?void 0:x.map(e=>(null==e?void 0:e.startsWith("-"))?{field:e.substring(1),direction:"desc"}:{field:e,direction:"asc"});return{title:m("Set default sorting rules"),components:{ArrayItems:l.ArrayItems},schema:{type:"object",title:m("Set default sorting rules"),properties:{sort:{type:"array",default:v,"x-component":"ArrayItems","x-decorator":"FormItem",items:{type:"object",properties:{space:{type:"void","x-component":"Space",properties:{sort:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.SortHandle"},field:{type:"string",enum:c,required:!0,"x-decorator":"FormItem","x-component":"Select","x-component-props":{style:{width:260}}},direction:{type:"string","x-decorator":"FormItem","x-component":"Radio.Group","x-component-props":{optionType:"button"},enum:[{label:m("ASC"),value:"asc"},{label:m("DESC"),value:"desc"}]},remove:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.Remove"}}}}},properties:{add:{type:"void",title:m("Add sort field"),"x-component":"ArrayItems.Addition"}}}}},onSubmit:e=>{var t;let{sort:o}=e,l=o.map(e=>"desc"===e.direction?`-${e.field}`:e.field),n=d.decoratorProps.params||{};n.sort=l,d.decoratorProps.params=n,u["x-decorator-props"].params=n,h.emit("patch",{schema:{"x-uid":u["x-uid"],"x-decorator-props":u["x-decorator-props"]}}),p.run({...null==(t=p.params)?void 0:t[0],sort:l})}}},useVisible(){let{dragSort:e}=(0,n.useField)().decoratorProps;return!e}}},71162(e,t,o){o.d(t,{d:()=>u});var l=o(56920),n=o(51649),a=o(69412),r=o(70892),i=o(43288),s=o(72548),d=o(95951);let u={name:"SetTheDataScope",Component:o(79056).Z,useComponentProps:()=>{var e,t;let{name:o}=(0,i.k7)(),u=(0,l.useField)(),c=(0,l.useFieldSchema)(),{form:p}=(0,a.Es)(),{service:m}=(0,r.El)(),{dn:h}=(0,d.er)(),x=(0,n.useCallback)(e=>{let{filter:t}=e;t=(0,s.pA)(t);let o=u.decoratorProps.params||{};o.filter=t,u.decoratorProps.params=o,c["x-decorator-props"].params=o,h.emit("patch",{schema:{"x-uid":c["x-uid"],"x-decorator-props":c["x-decorator-props"]}}),m.params[0].page=1},[h,u.decoratorProps,c,m]);return{collectionName:o,defaultFilter:(null==c||null==(t=c["x-decorator-props"])||null==(e=t.params)?void 0:e.filter)||{},form:p,onSubmit:x}}}},24768(e,t,o){o.d(t,{V5:()=>a,XZ:()=>r,kU:()=>i});var l=o(71178),n=o(51649);let a=(0,n.createContext)({componentNamePrefix:""}),r=e=>(0,l.jsx)(a.Provider,{value:{...e,componentNamePrefix:e.componentNamePrefix||""},children:e.children}),i=()=>(0,n.useContext)(a)},46909(e,t,o){o.d(t,{IU:()=>S,D$:()=>f,ov:()=>g,sx:()=>y,cC:()=>v});var l=o(71178),n=o(56920),a=o(27404),r=o(77583),i=o(51649),s=o(16211),d=o(83468),u=o(43288),c=o(28227),p=o(44374),m=o(70136),h=o(63526);let x=(0,n.observer)(e=>{let{templateId:t}=e,{getTemplateById:o}=g(),a=(0,n.useField)(),r=(0,n.useFieldSchema)(),{dn:s}=(0,p.useDesignable)(),d=(0,i.useMemo)(()=>o(t),[t]),{onTemplateSuccess:u}=(0,m.y)(),{isMobileLayout:c}=(0,p.useMobileLayout)();return d?(0,l.jsx)(p.BlockTemplateProvider,{dn:s,field:a,fieldSchema:r,template:d,children:(0,l.jsx)(p.RemoteSchemaComponent,{noForm:!0,uid:null==d?void 0:d.uid,onSuccess:e=>{var t,o;r["x-linkage-rules"]=(null==e||null==(t=e.data)?void 0:t["x-linkage-rules"])||[],r.setProperties(null==e||null==(o=e.data)?void 0:o.properties),null==u||u()},schemaTransform:c?h.transformMultiColumnToSingleColumn:void 0})}):(0,l.jsx)(p.CollectionDeletedPlaceholder,{type:"Block template",name:t})},{displayName:"BlockTemplate"}),v=(0,i.createContext)({});v.displayName="SchemaTemplateManagerContext";let _=e=>{e.name=e["x-uid"]=(0,a.uid)(),Object.keys(e.properties||{}).forEach(t=>{_(e.properties[t])})},f=()=>{let{getTemplateBySchema:e}=g(),t=(0,n.useFieldSchema)(),o=t["x-uid"],l=t["x-template-key"];return(0,i.useMemo)(()=>e(t),[o,l])},g=()=>{let{getInheritCollections:e}=(0,u.nj)(),{refresh:t,templates:o=[]}=(0,i.useContext)(v),l=(0,s.VB)();return{templates:o,refresh:t,getTemplateSchemaByMode:(0,i.useCallback)(async e=>{let{mode:t,template:o}=e;if("copy"===t){let{data:e}=await l.request({url:`/uiSchemas:getJsonSchema/${o.uid}?includeAsyncNode=true`}),t=(null==e?void 0:e.data)||{};return _(t),(0,r.cloneDeep)(t)}if("reference"===t)return{type:"void","x-component":"BlockTemplate","x-component-props":{templateId:o.key}}},[l]),copyTemplateSchema:(0,i.useCallback)(async e=>{let{data:t}=await l.request({url:`/uiSchemas:getJsonSchema/${e.uid}?includeAsyncNode=true`}),o=(null==t?void 0:t.data)||{};return _(o),(0,r.cloneDeep)(o)},[l]),saveAsTemplate:(0,i.useCallback)(async e=>{let{uid:o}=e,n=(0,a.uid)();return await l.resource("uiSchemas").saveAsTemplate({filterByTk:o,values:{key:n,...e}}),await t(),{key:n}},[l,t]),getTemplateBySchema:(0,i.useCallback)(e=>{if(!e)return;let t=e["x-template-key"];if(t)return null==o?void 0:o.find(e=>e.key===t);let l=e["x-uid"];if(l)return null==o?void 0:o.find(e=>e.uid===l)},[o]),getTemplateBySchemaId:(0,i.useCallback)(e=>e?null==o?void 0:o.find(t=>t.uid===e):null,[o]),getTemplateById:(0,i.useCallback)(e=>null==o?void 0:o.find(t=>t.key===e),[o]),getTemplatesByCollection:(0,i.useCallback)((t,l)=>{var n;let a=e(l,t).concat([l]);return(null==o||null==(n=o.filter)?void 0:n.call(o,e=>(e.dataSourceKey||c.Ze)===t&&a.includes(e.collectionName)))||[]},[e,o]),getTemplatesByComponentName:(0,i.useCallback)(e=>{var t;return(null==o||null==(t=o.filter)?void 0:t.call(o,t=>t.componentName===e))||[]},[o])}},b={resource:"uiSchemaTemplates",action:"list",params:{paginate:!1},refreshDeps:[]},y=e=>{var t;let o=(0,s.VB)(),n=(0,s.bP)(b),a=(0,i.useCallback)(async()=>{let{data:e}=await o.request(b);n.mutate(e)},[o,n]),r=(0,i.useMemo)(()=>{var e;return{templates:null==n||null==(e=n.data)?void 0:e.data,refresh:a}},[null==n||null==(t=n.data)?void 0:t.data,a]);return(0,l.jsx)(v.Provider,{value:r,children:e.children})};class S extends d.k{async load(){this.addRoutes(),this.addComponents()}addComponents(){this.app.addComponents({BlockTemplate:x})}addRoutes(){this.app.router.add("admin.plugins.block-templates-key",{path:"/admin/plugins/block-templates/:key",Component:"BlockTemplateDetails"})}}},96932(e,t,o){o.d(t,{ov:()=>g.ov,kU:()=>M.kU,YU:()=>p,sx:()=>g.sx,V5:()=>M.V5,IU:()=>g.IU,D$:()=>g.D$,BZ:()=>k,XZ:()=>M.XZ,NV:()=>C,cC:()=>g.cC});var l=o(71178),n=o(34829),a=o(52793),r=o(51649),i=o(38356),s=o(44374),d=o(41897),u=o(82924);let c=e=>{let[t,o]=(0,r.useState)(e.title),[n,i]=(0,r.useState)(!1),{refresh:d}=(0,s.useSchemaTemplateManager)();(0,s.useAPIClient)();let{run:u}=(0,s.useRequest)({resource:"uiSchemaTemplates",action:"update",params:{filterByTk:e.filterByTk}},{manual:!0,debounceWait:500,onSuccess(){d()}});return(0,l.jsx)("div",{children:n?(0,l.jsx)(a.Input,{defaultValue:t,size:"large",onBlur:()=>{i(!1)},onChange:t=>{o(t.target.value),u({filterByTk:e.filterByTk,values:{name:t.target.value}})}}):(0,l.jsx)("div",{onClick:()=>{i(!0)},children:t||(0,l.jsx)("span",{style:{color:"#bbb"},children:"未命名"})})})},p=()=>{var e,t;let o=(0,d.vx)(),p=(0,i.useParams)(),m=null==p?void 0:p.key,h=(0,r.useContext)(u.u4V),x=(0,r.useMemo)(()=>({...h,designable:!0}),[h]),{data:v,loading:_}=(0,s.useRequest)({resource:"uiSchemaTemplates",action:"get",params:{filterByTk:m}});return _?(0,l.jsx)(a.Spin,{}):(0,l.jsxs)("div",{children:[(0,l.jsx)(n.PageHeader,{style:{backgroundColor:"white"},onBack:()=>{o("/admin/plugins/block-templates")},ghost:!1,title:(0,l.jsx)(c,{filterByTk:m,title:null==v||null==(e=v.data)?void 0:e.name})}),(0,l.jsx)("div",{style:{margin:"var(--nb-spacing)"},children:(0,l.jsx)(u.u4V.Provider,{value:x,children:(0,l.jsx)(u.DYS,{uid:null==v||null==(t=v.data)?void 0:t.uid})})})]})};var m=o(77843),h=o(27404),x=o(40919),v=o(18111),_=o(73761);let f={name:"uiSchemaTemplates",filterTargetKey:"key",targetKey:"key",fields:[{type:"integer",name:"name",interface:"input",uiSchema:{title:'{{ t("Template name") }}',type:"number","x-component":"Input",required:!0}}]};var g=o(46909),b=o(28227);let y=[{name:"name",title:'{{ t("Title") }}',schema:{type:"string","x-component":"Input"},operators:x.string},{name:"collectionName",title:'{{ t("Collection display name") }}',schema:{type:"string","x-component":"Input"},operators:x.string}],S={type:"object",properties:{[(0,h.uid)()]:{type:"void","x-decorator":"TableBlockProvider","x-decorator-props":{collection:f,resource:"uiSchemaTemplates",action:"list",params:{pageSize:20,sort:["-createdAt"]},rowKey:"key",showIndex:!0,dragSort:!1},"x-component":"CardItem",properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{style:{marginBottom:16}},properties:{filter:{type:"void",title:'{{ t("Filter") }}',default:{$and:[{name:{$includes:""}}]},"x-action":"filter","x-component":"Filter.Action","x-use-component-props":()=>{var e,t;let{service:o}=(0,v.J6)();return(0,u.yGk)({options:y,params:(null==o||null==(t=o.state)||null==(e=t.params)?void 0:e[0])||(null==o?void 0:o.params),service:o})},"x-component-props":{icon:"FilterOutlined"},"x-align":"left"},refresh:{type:"void",title:'{{ t("Refresh") }}',"x-component":"Action","x-use-component-props":"useRefreshActionProps","x-component-props":{icon:"ReloadOutlined"},"x-align":"right"},destroy:{title:'{{ t("Delete") }}',"x-action":"destroy","x-component":"Action","x-use-component-props":()=>{let e=(0,_.useBulkDestroyActionProps)(),t=(0,g.ov)(),{service:o}=(0,v.J6)();return{async onClick(){var l;await e.onClick(),await t.refresh(),null==o||null==(l=o.refresh)||l.call(o)}}},"x-component-props":{icon:"DeleteOutlined",confirm:{title:"{{t('Delete record')}}",content:"{{t('Are you sure you want to delete it?')}}"}}}}},[(0,h.uid)()]:{type:"array","x-component":"TableV2","x-use-component-props":"useTableBlockProps","x-component-props":{rowSelection:{type:"checkbox"}},properties:{column1:{type:"void",title:'{{ t("Title") }}',"x-decorator":"TableV2.Column.Decorator","x-component":"TableV2.Column",properties:{name:{type:"string","x-collection-field":"uiSchemaTemplates.name","x-component":"CollectionField","x-read-pretty":!0,"x-component-props":{ellipsis:!0}}}},column2:{type:"void",title:'{{t("Collection display name")}}',"x-component":"TableV2.Column",properties:{"collection.title":{type:"string","x-component":e=>{let{dataSourceKey:t="main",collectionName:o}=(0,b.zv)(),n=(0,b.m6)(),a=(0,u.lum)(),[i,s]=(0,r.useMemo)(()=>{let e=n.getDataSource(t);if(e){let t=e.collectionManager.getCollection(o);return[e.displayName,(null==t?void 0:t.title)||o]}return[t,null]},[n,t,o]);return(0,l.jsxs)(l.Fragment,{children:[a(i)," ",">"," ",a(s)]})},"x-read-pretty":!0,"x-component-props":{ellipsis:!0}}}},actions:{type:"void",title:'{{ t("Actions") }}',"x-component":"TableV2.Column",properties:{actions:{type:"void","x-decorator":"DndContext","x-component":"Space","x-component-props":{split:"|"},properties:{edit:{type:"void",title:'{{ t("Edit") }}',"x-action":"update","x-component":"Action.Link","x-component-props":{openMode:"drawer",refreshDataBlockRequest:!1},properties:{drawer:{type:"void",title:'{{ t("Edit record") }}',"x-component":"Action.Container","x-component-props":{className:"nb-action-popup"},properties:{form:{type:"void","x-decorator":"FormBlockProvider","x-decorator-props":{resource:"uiSchemaTemplates",collection:f,action:"get",useParams:"{{ useParamsFromRecord }}"},"x-component":"CardItem",properties:{[(0,h.uid)()]:{type:"void","x-component":"FormV2","x-use-component-props":"useFormBlockProps",properties:{name:{type:"string","x-component":"CollectionField","x-decorator":"FormItem","x-collection-field":"uiSchemaTemplates.name",required:!0},actions:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column",style:{marginTop:24}},properties:{submit:{title:'{{t("Submit")}}',"x-action":"submit","x-component":"Action","x-use-component-props":()=>{let e=(0,_.useUpdateActionProps)(),{__parent:t}=(0,v.J6)();return{async onClick(){var o,l;await e.onClick(),null==t||null==(l=t.service)||null==(o=l.refresh)||o.call(l)}}},"x-component-props":{type:"primary",htmlType:"submit"},type:"void"}}}}}}}}}}},destroy:{title:'{{ t("Delete") }}',"x-action":"destroy","x-component":"Action.Link","x-use-component-props":()=>{let e=(0,_.useDestroyActionProps)(),{service:t}=(0,v.J6)(),o=(0,g.ov)();return{async onClick(){var l;await e.onClick(),await o.refresh(),null==t||null==(l=t.refresh)||l.call(t)}}},"x-component-props":{confirm:{title:"{{t('Delete record')}}",content:"{{t('Are you sure you want to delete it?')}}"}}}}}}}}}}}}},k=()=>{let{t:e}=(0,m.useTranslation)();return(0,l.jsxs)("div",{children:[(0,l.jsx)(n.PageHeader,{style:{backgroundColor:"white"},ghost:!1,title:e("Block templates")}),(0,l.jsx)("div",{style:{margin:"var(--nb-spacing)"},children:(0,l.jsx)(u.HvB,{schema:S})})]})},C=()=>{let e=(0,u.Fag)();return(0,l.jsx)(u.u4V.Provider,{value:{...e,designable:!1},children:(0,l.jsx)(u.HvB,{schema:S})})};var M=o(24768)},49948(e,t,o){o.d(t,{K:()=>n.r,r:()=>l.createStyles});var l=o(76821),n=o(78442)},78442(e,t,o){o.d(t,{r:()=>n});var l=o(52793);let n=()=>l.theme.useToken()},86393(e,t,o){o.d(t,{nS:()=>f,or:()=>l.SystemSettingsSource,Cz:()=>b,e6:()=>l.useSystemSettings});var l=o(13975),n=o(71178),a=o(56920),r=o(27404),i=o(52793),s=o(13791);o(51649);var d=o(77843),u=o(44374),c=o(28601),p=o(82924);let m=Object.keys(c.Ay).map(e=>({label:`${c.Ay[e].label} (${e})`,value:e})),h=()=>{let{setVisible:e}=(0,p.D50)();return{async run(){e(!1)}}},x=e=>{let{visible:t}=(0,p.D50)(),o=(0,l.useSystemSettings)();return(0,u.useRequest)(()=>Promise.resolve(null==o?void 0:o.data),{...e,refreshDeps:[t,null==o?void 0:o.data]})},v=()=>{let{setVisible:e}=(0,p.D50)(),t=(0,a.useForm)(),{mutate:o,data:n}=(0,l.useSystemSettings)()||{},r=(0,u.useAPIClient)(),{t:c}=(0,d.useTranslation)();return{async run(){var l;await t.submit();let a=(0,s.default)(t.values);o({data:{...null==n?void 0:n.data,...a}}),await r.request({url:"systemSettings:put",method:"post",data:a}),i.message.success(c("Saved successfully"));let d=(null==(l=a.enabledLanguages)?void 0:l[0])||"en-US";a.enabledLanguages.length<2&&r.auth.getLocale()!==d?(r.auth.setLocale(""),window.location.reload()):e(!1)}}},_={type:"object",properties:{[(0,r.uid)()]:{"x-decorator":"Form","x-decorator-props":{useValues:"{{ useSystemSettingsValues }}"},"x-component":"div",type:"void",title:'{{t("System settings")}}',properties:{raw_title:{type:"string",title:"{{t('System title')}}","x-decorator":"FormItem","x-component":"TextAreaWithGlobalScope","x-component-props":{supportsLineBreak:!0},required:!0},logo:{type:"string",title:"{{t('Logo')}}","x-decorator":"FormItem","x-component":"Upload.Attachment","x-component-props":{action:"attachments:create",multiple:!1},"x-use-component-props":"useFileCollectionStorageRules"},enabledLanguages:{type:"array",title:'{{t("Enabled languages")}}',"x-component":"Select","x-component-props":{mode:"multiple"},"x-decorator":"FormItem",enum:m,"x-reactions":e=>{e.dataSource=m.map(t=>{var o;let l=t.label;return(null==(o=e.value)?void 0:o[0])===t.value&&(l+=`(${u.i18n.t("Default")})`),{label:l,value:t.value}})}},footer1:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column"},properties:{submit:{title:'{{t("Submit")}}',"x-component":"Action","x-component-props":{type:"primary",htmlType:"submit",useAction:"{{ useSaveSystemSettingsValues }}"}}}}}}}},f=()=>(0,n.jsx)(i.Card,{bordered:!1,children:(0,n.jsx)(p.HvB,{scope:{useSaveSystemSettingsValues:v,useSystemSettingsValues:x,useCloseAction:h},schema:_})});var g=o(83468);class b extends g.k{async load(){}}},48245(e,t,o){o.d(t,{a:()=>r});var l=o(16211),n=o(20629);class a extends l.Q9{mockAdapter(){return new(o(23975))(this.axios)}}let r=()=>{let e=new a;e.app=new n.lg({});let t=e.mockAdapter();return{apiClient:e,mockRequest:t}}},25157(e,t,o){o.d(t,{BW:()=>p,DB:()=>m,Ip:()=>c,Qd:()=>x,_N:()=>h});var l=o(71178),n=o(504),a=o(51649),r=o(38356),i=o(41906),s=o(16211),d=o(20629),u=o(82924);let c=(0,a.createContext)(null);c.displayName="CurrentUserContext";let p=()=>{let e=(0,n.useFlowEngine)(),t=(0,a.useContext)(c);return!t&&e?{data:{data:e.context.user}}:t},m=()=>{var e;let t=(0,a.useContext)(c);return!!(null==t||null==(e=t.data)?void 0:e.data)},h=()=>{var e;let{allowAnonymous:t}=(0,i.v6)(),{data:o}=p()||{},l=(0,u.lum)();return(0,a.useMemo)(()=>{var e;let n=((null==o||null==(e=o.data)?void 0:e.roles)||[]).map(e=>{let{name:t,title:o}=e;return{name:t,title:l(o)}});return t&&n.push({title:"Anonymous",name:"anonymous"}),n},[t,null==o||null==(e=o.data)?void 0:e.roles,l])},x=e=>{let t=(0,s.VB)(),o=(0,d.nm)(),a=(0,n.useFlowEngine)(),i=(0,r.useNavigate)(),u=(0,r.useLocation)(),p=(null==o?void 0:o.flowEngine)||a,m=(0,s.bP)(()=>t.request({url:"/auth:check",skipNotify:!0,skipAuth:!0}).then(e=>{var t,o,l;(null==e||null==(o=e.data)||null==(t=o.data)?void 0:t.id)==null&&i("/signin?redirect="+u.pathname+u.search);let a=(0,n.createCollectionContextMeta)(()=>{var e;return null==(e=p.context.dataSourceManager.getDataSource("main"))?void 0:e.getCollection("users")},p.translate("Current user"));return a.sort=1e3,p.context.defineProperty("user",{value:null==e||null==(l=e.data)?void 0:l.data,resolveOnServer:!0,meta:a}),null==e?void 0:e.data})),{render:h}=(0,d.vk)();return m.loading?h():(0,l.jsx)(c.Provider,{value:m,children:e.children})}},84693(e,t,o){o.d(t,{mn:()=>a,Gg:()=>c,_N:()=>i._N,DB:()=>i.DB,R2:()=>r,Ip:()=>i.Ip,Qd:()=>i.Qd,BW:()=>i.BW,Y:()=>p});var l=o(51649),n=o(53770);let a=e=>n.$d,r=(0,l.createContext)(null);r.displayName="DropdownVisibleContext";var i=o(25157),s=o(71178),d=o(63526);let u=(0,l.createContext)(null);u.displayName="CurrentUserSettingsMenuContext";let c=()=>{let{menuItems:e}=(0,l.useContext)(u)||{},t=(0,l.useCallback)(()=>e.current,[e]),o=(0,l.useCallback)((t,o)=>{let l;if(o&&(t._options=o),-1!==(l=e.current.findIndex(e=>e.key===t.key))){e.current[l]=t,e.current=[...e.current];return}if(o){if(o.before){let l=e.current.findIndex(e=>e.key===o.before);e.current.splice(l,0,t);return}if(o.after){let l=e.current.findIndex(e=>e.key===o.after);e.current.splice(l+1,0,t);return}}let n=e.current;e.current=n.filter(e=>{var o,l;return t.key!==(null==(o=e._options)?void 0:o.before)&&t.key!==(null==(l=e._options)?void 0:l.after)}),e.current.push(...n.filter(e=>{var o;return(null==(o=e._options)?void 0:o.before)===t.key})),e.current.push(t),e.current.push(...n.filter(e=>{var o;return(null==(o=e._options)?void 0:o.after)===t.key}))},[e]);if(!e)throw(0,d.error)("CurrentUser: You should use `CurrentUserSettingsMenuProvider` in the root of your app."),Error("CurrentUser: You should use `CurrentUserSettingsMenuProvider` in the root of your app.");return{getMenuItems:t,addMenuItem:o}},p=e=>{let{children:t}=e,o=(0,l.useRef)([]),n=(0,l.useMemo)(()=>({menuItems:o}),[o]);return(0,s.jsx)(u.Provider,{value:n,children:t})}},76460(e,t,o){o.d(t,{KZ:()=>a,g5:()=>i,j0:()=>r});var l=o(71178),n=o(51649);let a=(0,n.createContext)({scopeId:"",type:""}),r=e=>{let t=n.default.useContext(a),o=(0,n.useMemo)(()=>({scopeId:e.scopeId,type:e.type,parent:t}),[e.scopeId,e.type,t]);return(0,l.jsx)(a.Provider,{value:o,children:e.children})},i=()=>{let e=n.default.useContext(a);return{getVariableScopeInfo:(0,n.useCallback)(()=>{if(e.scopeId)return e;for(;e.parent&&!e.scopeId;)e=e.parent;return e},[e])}}},73518(e,t,o){o.d(t,{Ay:()=>F,jT:()=>S});var l=o(71178),n=o(2314),a=o(63526),r=o(77583),i=o(51649),s=o(16211),d=o(43288),u=o(29558),c=o(61013),p=o(75020);let m={hasMany:"list?paginate=false",belongsTo:"get",hasOne:"get",belongsToMany:"list?paginate=false",belongsToArray:"list?paginate=false"},h=e=>m[e];var x=o(39607);let v={},_=e=>!!v[e],f=e=>v[e],g=(e,t)=>{v[e]=t},b=e=>{delete v[e]};var y=o(59896);let S=(0,i.createContext)(null);S.displayName="VariablesContext";let k={},C=(e,t)=>{let o,l;return{fieldPath:e.split(".").map(e=>t[e]?(o=t[e].dataSource,l=t[e],t[e].collectionName):e).join("."),dataSource:o,variableOption:l}},M=(e,t,o)=>{var l,n,a;let r=(l=t,n=o,(null==l?void 0:l.sourceKey)?l.sourceKey:Array.isArray(null==n?void 0:n.filterTargetKey)?1===n.filterTargetKey.length?n.filterTargetKey[0]:n.filterTargetKey:(null==n?void 0:n.filterTargetKey)||(null==n||null==(a=n.getPrimaryKey)?void 0:a.call(n))||"id");if(Array.isArray(r)){let t=r.reduce((t,o)=>((null==e?void 0:e[o])==null||(t[o]=e[o]),t),{});if(Object.keys(t).length!==r.length)return;return encodeURIComponent(JSON.stringify(t))}return null==e?void 0:e[r]},w=e=>{let{children:t,filterVariables:o}=e,n=(0,i.useRef)({}),m=(0,s.VB)(),{getCollectionJoinField:v,getCollection:w}=(0,d.nj)(),F=(0,c.l)(),{builtinVariables:I}=(0,p.A)(),T=(0,i.useCallback)(e=>{r.default.isFunction(e)?n.current=e(n.current):n.current=e},[]),D=(0,i.useCallback)(async(e,t,o)=>{var l,i,s;let d=e.split("."),c=d[0],p=j(k,t),x=(i=n.current,s=t,i={...i},null==s||s.forEach(e=>{i[e.name]=e.ctx}),i),{fieldPath:y,dataSource:S,variableOption:I}=C(c,p),T=y,{fieldPath:D}=C(e,p),L=1===d.length?null==I?void 0:I.collectionName:null==(l=v(D,S))?void 0:l.target;if(!(c in x))throw Error(`VariablesProvider: ${c} is not found`);for(let e=0;e<d.length;e++){if(null==x)return{value:void 0===x?null==I?void 0:I.defaultValue:x,dataSource:S,collectionName:L};if(r.default.isFunction(x))break;let t=d[e],l=d.slice(0,e+1).join("."),{fieldPath:n}=C(l,p),i=v(n,S),s=w(T,S);if(Array.isArray(x)){let e=x.map(e=>{let n=M(e,i,s);if(!(null==o?void 0:o.doNotRequest)&&P(null==e?void 0:e[t],e,l)&&null!=n&&(null==i?void 0:i.target)){let e=`/${T}/${n}/${t}:${h(i.type)}`;if(_(e))return f(e);let l=m.request({headers:(0,u.kb)(S),url:e,params:{appends:null==o?void 0:o.appends}}).then(t=>(b(e),t.data.data));return g(e,l),l}return null==e?void 0:e[t]});x=A(r.default.flatten(await Promise.all(e)),i)}else if(!(null==o?void 0:o.doNotRequest)&&P(x[t],x,l)&&null!=M(x,i,s)&&(null==i?void 0:i.target)){let e=M(x,i,s),l=`/${T}/${e}/${t}:${h(i.type)}`,n=null;if(_(l))n=await f(l);else{let e=m.request({headers:(0,u.kb)(S),url:l,params:{appends:null==o?void 0:o.appends}});g(l,e),n=await e,b(l)}x=A(n.data.data,i)}else x=A((0,a.getValuesByPath)(x,t),i);(null==i?void 0:i.target)&&(T=i.target)}let Y=F(r.default.isFunction(x)?await x({fieldOperator:null==o?void 0:o.fieldOperator,isParsingVariable:!0,variableName:e}):x);return{value:void 0===Y?I.defaultValue:Y,dataSource:S,collectionName:L}},[v]),L=(0,i.useCallback)(e=>{if(!(0,y.DZ)(`{{${e.name}}}`))throw Error(`VariablesProvider: ${e.name} is not a valid name`);T(t=>({...t,[e.name]:e.ctx})),k[e.name]={...e,defaultValue:r.default.has(e,"defaultValue")?e.defaultValue:null}},[T]),Y=(0,i.useCallback)(e=>n.current[e]?{...k[e]}:null,[]),R=(0,i.useCallback)(e=>{T(t=>{let o={...t};return delete o[e],o}),delete k[e]},[T]),B=(0,i.useCallback)(async(e,t,o)=>{var l,n;if(!(0,y.DZ)(e))return e;t&&(t=r.default.isArray(t)?t:[t]);let a=(0,x.Y)(e),i=await D(a,t,o);return{...i,value:Array.isArray(n=Array.isArray(l=i.value)?l.filter(e=>0===e||!1===e||e):l)&&r.default.isObject(n[0])?r.default.uniqBy(n,e=>"id"in e?e.id:JSON.stringify(e)):n}},[D]),N=(0,i.useCallback)(async(e,t)=>{if(!(0,y.DZ)(e))throw Error(`VariablesProvider: ${e} is not a variable string`);t&&(t=r.default.isArray(t)?t:[t]);let o=j(k,t),l=(0,x.Y)(e),{fieldPath:n,dataSource:a}=C(l,o),i=v(n,a);if(!i&&!l.includes(".")){var s;i={target:null==(s=o[l])?void 0:s.collectionName}}return i},[v]);(0,i.useEffect)(()=>{I.forEach(e=>{L({...e,defaultValue:r.default.has(e,"defaultValue")?e.defaultValue:null})})},[I,L]);let E=(0,i.useMemo)(()=>({ctxRef:n,setCtx:T,parseVariable:B,registerVariable:L,getVariable:Y,getCollectionField:N,removeVariable:R,filterVariables:o}),[N,Y,B,L,R,T]);return(0,l.jsx)(S.Provider,{value:E,children:t})};w.displayName="VariablesProvider";let F=w;function P(e,t,o){if(2===o.split(".").length&&(o.startsWith("$nForm.")||o.startsWith("$iteration.")))return!1;let l=!1;return(0,n.untracked)(()=>{if("[{}]"===JSON.stringify(e)||"{}"===JSON.stringify(e)){l=!0;return}l=r.default.isEmpty(e)}),l}function j(e,t){return e={...e},null==t||t.forEach(t=>{e[t.name]={...t,defaultValue:r.default.has(t,"defaultValue")?t.defaultValue:null}}),e}function A(e,t){return(null==t?void 0:t.through)&&e?Array.isArray(e)?e.map(e=>r.default.omit(e,t.through)):r.default.omit(e,t.through):e}},67285(e,t,o){o.d(t,{M:()=>l});let l=Object.freeze({})},75020(e,t,o){o.d(t,{A:()=>c});var l=o(63526),n=o(51649),a=o(67574),r=o(99300),i=o(78616),s=o(77557),d=o(3010),u=o(45560);let c=()=>{let{currentUserCtx:e}=(0,r.oW)(),{currentRoleCtx:t}=(0,s.T)(),{apiTokenCtx:o}=(0,i.f)(),{datetimeCtx:c}=(0,r.hY)(),{exactDateTimeCtx:p}=(0,r.vm)(),{urlSearchParamsCtx:m,name:h,defaultValue:x}=(0,d.hx)(),v=(0,u.i)("$env");return{builtinVariables:(0,n.useMemo)(()=>[v,{name:"$user",ctx:e,collectionName:"users",dataSource:a.Ze},{name:"$nRole",ctx:t,collectionName:"roles"},{name:"$nToken",ctx:o},{name:"currentUser",ctx:e,collectionName:"users",dataSource:a.Ze},{name:"$nDate",ctx:c},{name:"$date",ctx:c},{name:"$nExactDate",ctx:p},{name:"$system",ctx:{now:()=>(0,l.dayjs)().toISOString()}},{name:"currentTime",ctx:()=>(0,l.dayjs)().toISOString()},{name:h,ctx:m,defaultValue:x}].filter(Boolean),[t,e,c,x,m,h,v,p])}}},10065(e,t,o){o.d(t,{A:()=>u});var l=o(51649),n=o(35123),a=o(14187),r=o(49621),i=o(44388),s=o(3012),d=o(8724);let u=()=>{var e,t;let{isPopupVisibleControlledByURL:o}=(0,d.X)(),{params:u}=(0,i.IX)(),c=(0,r.Ge)(),p=(0,a.YE)(),m=(0,n.V)()||{},{field:h,blockData:x,rowKey:v,collection:_}=(o()?null==(t=(0,s.lS)(null==u?void 0:u.popupuid))?void 0:t.tableBlockContext:{...m,collection:c,blockData:p})||{},f=(0,l.useMemo)(()=>{var e,t;return null==x||null==(t=x.data)||null==(e=t.filter)?void 0:e.call(t,e=>{var t,o;return null==(t=(null==h||null==(o=h.data)?void 0:o.selectedRowKeys)||[])?void 0:t.includes(e[v])})},[null==h||null==(e=h.data)?void 0:e.selectedRowKeys,v,x]);return(0,l.useMemo)(()=>({name:"$context",ctx:f||[],collectionName:_}),[_,f])}},43724(e,t,o){o.d(t,{A:()=>_});var l=o(51649),n=o(43288),a=o(10288),r=o(39505),i=o(74063),s=o(68038),d=o(63310),u=o(14011),c=o(47368),p=o(54339),m=o(53400),h=o(3010),x=o(10065),v=o(16716);let _=e=>{var t;let{parentObjectCtx:o,shouldDisplayParentObject:_,collectionName:f}=(0,d.S)(),{currentObjectCtx:g,shouldDisplayCurrentObject:b}=(0,s.Jm)(),{currentRecordCtx:y,collectionName:S}=(0,m.XK)(),{currentParentRecordCtx:k,collectionName:C,dataSource:M}=(0,c.nA)(),{popupRecordCtx:w,collectionName:F,dataSource:P,defaultValue:j}=(0,p.h)(),{parentPopupRecordCtx:A,collectionName:I,dataSource:T,defaultValue:D}=(0,u.f)(),{urlSearchParamsCtx:L,shouldDisplay:Y,defaultValue:R}=(0,h.hx)(),{datetimeCtx:B}=(0,r.U$)(),{currentFormCtx:N}=(0,i.AA)({form:null==e?void 0:e.currentForm}),{name:E}=(0,n.k7)(),$=(0,x.A)(),{name:z}=(0,a.N)();(null==e?void 0:e.collectionName)&&(z=e.collectionName);let O=(0,v.n)(),q=(null==(t=O.getVariables)?void 0:t.call(O).map(e=>({name:e.name,ctx:e.useCtx()})))||[];return(0,l.useMemo)(()=>[{name:"currentRecord",ctx:y,collectionName:S},{name:z,ctx:N||y,collectionName:z},{name:"$form",ctx:N,collectionName:z},{name:"$nRecord",ctx:y,collectionName:S,dataSource:M},{name:"$nParentRecord",ctx:k,collectionName:C,dataSource:M},{name:"$nPopupRecord",ctx:w,collectionName:F,dataSource:P,defaultValue:j},{name:"$nParentPopupRecord",ctx:A,collectionName:I,dataSource:T,defaultValue:D},{name:"$nForm",ctx:N,collectionName:z},{name:"$nDate",ctx:B},{name:"$date",ctx:B},$,b&&{name:"$iteration",ctx:g,collectionName:E},_&&{name:"$nParentIteration",ctx:o,collectionName:f},Y&&{name:"$nURLSearchParams",ctx:L,defaultValue:R},...q].filter(Boolean),[y,S,z,N,k,C,M,w,A,F,P,B,b,g,E,j,D,_,o,f,$,L,...q.map(e=>e.ctx)])}},65919(e,t,o){o.d(t,{A:()=>a});var l=o(51649),n=o(73518);let a=()=>(0,l.useContext)(n.jT)},43923(e,t,o){o.d(t,{$l:()=>g.A,Ap:()=>y.A,j0:()=>k.j0,Ml:()=>S.M,e3:()=>b.e3,wU:()=>100,Rr:()=>a.A,DZ:()=>b.DZ,g5:()=>k.g5,qe:()=>b.qe,fG:()=>void 0,gp:()=>r.A,fK:()=>l.Ay,T_:()=>f,vV:()=>b.vV,c7:()=>n.A,jT:()=>l.jT});var l=o(73518),n=o(75020),a=o(10065),r=o(43724),i=o(51649),s=o(43288),d=o(10288),u=o(39505),c=o(74063),p=o(68038),m=o(63310),h=o(14011),x=o(47368),v=o(54339),_=o(53400);let f=e=>{let{parentObjectCtx:t,shouldDisplayParentObject:o,collectionName:l}=(0,m.S)(),{currentObjectCtx:n,shouldDisplayCurrentObject:r}=(0,p.Jm)(),{currentRecordCtx:f,collectionName:g}=(0,_.XK)(),{currentParentRecordCtx:b,collectionName:y,dataSource:S}=(0,x.nA)(),{popupRecordCtx:k,collectionName:C,dataSource:M,defaultValue:w}=(0,v.h)(),{parentPopupRecordCtx:F,collectionName:P,dataSource:j,defaultValue:A}=(0,h.f)(),{datetimeCtx:I}=(0,u.U$)(),{currentFormCtx:T}=(0,c.AA)({form:null==e?void 0:e.currentForm}),{name:D}=(0,s.k7)(),L=(0,a.A)(),{name:Y}=(0,d.N)();return(null==e?void 0:e.collectionName)&&(Y=e.collectionName),(0,i.useMemo)(()=>[{name:"currentRecord",ctx:f,collectionName:g},{name:Y,ctx:T||f,collectionName:Y},{name:"$form",ctx:T,collectionName:Y},{name:"$nRecord",ctx:f,collectionName:g,dataSource:S},{name:"$nParentRecord",ctx:b,collectionName:y,dataSource:S},{name:"$nPopupRecord",ctx:k,collectionName:C,dataSource:M,defaultValue:w},{name:"$nParentPopupRecord",ctx:F,collectionName:P,dataSource:j,defaultValue:A},{name:"$nForm",ctx:T,collectionName:Y},{name:"$nDate",ctx:I},{name:"$date",ctx:I},L,r&&{name:"$iteration",ctx:n,collectionName:D},o&&{name:"$nParentIteration",ctx:t,collectionName:l}].filter(Boolean),[f,g,Y,T,b,y,S,k,F,C,M,I,r,n,D,w,A,o,t,l,L])};var g=o(65919),b=o(59896),y=o(32665),S=o(67285),k=o(76460)},39607(e,t,o){o.d(t,{Y:()=>n});var l=o(59896);let n=e=>e?e.match(l.vV)[0].replace(l.vV,"$1"):e},88847(e,t,o){o.d(t,{S:()=>a});var l=o(77583),n=o(39607);let a=e=>l.default.isString(e)?(0,n.Y)(e).split(".")[0]:e},59896(e,t,o){o.d(t,{DZ:()=>a,e3:()=>r,qe:()=>n,vV:()=>l});let l=/^\s*\{\{\s*([\p{L}0-9_$-.]+?)\s*\}\}\s*$/u,n=/\{\{\s*([a-zA-Z0-9_$-.]+?)\s*\}\}/g,a=e=>"string"==typeof e&&!!e.match(l),r=e=>{let t=e.match(n);return t||[]}},32665(e,t,o){o.d(t,{A:()=>n});var l=o(77583);let n=(e,t)=>{let{targetCollectionField:o}=t;return null!=e&&o?"chinaRegion"===o.interface&&Array.isArray(e)?e.map(e=>(l.default.isObject(e),Object.keys(e={...e}).forEach(t=>{l.default.isObjectLike(e[t])&&delete e[t]}),e)):["hasMany","belongsToMany"].includes(o.type)?Array.isArray(e)?e:[e]:(o.interface,e):e}},11725(e){e.exports=import("antd-mobile").then(function(e){return e})},65994(e){e.exports=import("antd-mobile-icons").then(function(e){return e})},28558(e){e.exports=import("react-quill").then(function(e){return e})},41196(t){t.exports=e},82113(e){e.exports=t},34829(e){e.exports=o},72741(e){e.exports=l},38533(e){e.exports=n},8198(e){e.exports=a},10691(e){e.exports=r},56220(e){e.exports=i},64613(e){e.exports=s},44814(e){e.exports=d},52975(e){e.exports=u},56920(e){e.exports=c},2314(e){e.exports=p},27404(e){e.exports=m},48849(e){e.exports=h},78316(e){e.exports=x},13975(e){e.exports=v},83489(e){e.exports=_},504(e){e.exports=f},27697(e){e.exports=g},63526(e){e.exports=b},71883(e){e.exports=y},52793(e){e.exports=S},76821(e){e.exports=k},29663(e){e.exports=C},23251(e){e.exports=M},23975(e){e.exports=w},94046(e){e.exports=F},31515(e){e.exports=P},91815(e){e.exports=j},37260(e){e.exports=A},60339(e){e.exports=I},65132(e){e.exports=T},43017(e){e.exports=D},38694(e){e.exports=L},95836(e){e.exports=Y},26362(e){e.exports=R},45814(e){e.exports=B},15636(e){e.exports=N},34065(e){e.exports=E},23977(e){e.exports=$},77583(e){e.exports=z},13791(e){e.exports=O},93656(e){e.exports=q},57453(e){e.exports=V},20148(e){e.exports=H},27741(e){e.exports=U},42966(e){e.exports=G},29858(e){e.exports=K},51649(e){e.exports=W},7516(e){e.exports=J},64679(e){e.exports=X},77843(e){e.exports=Z},38356(e){e.exports=Q},71178(e){e.exports=ee}},ez={};function eO(e){var t=ez[e];if(void 0!==t)return t.exports;var o=ez[e]={exports:{}};return e$[e].call(o.exports,o,o.exports,eO),o.exports}eE=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,eO.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);eO.r(o);var l={};eN=eN||[null,eE({}),eE([]),eE(eE)];for(var n=2&t&&e;("object"==typeof n||"function"==typeof n)&&!~eN.indexOf(n);n=eE(n))Object.getOwnPropertyNames(n).forEach(t=>{l[t]=()=>e[t]});return l.default=()=>e,eO.d(o,l),o},eO.d=(e,t)=>{for(var o in t)eO.o(t,o)&&!eO.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},eO.e=()=>Promise.resolve(),eO.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),eO.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var eq=eO(44374),eV=eq.ACLActionParamsContext,eH=eq.ACLActionProvider,eU=eq.ACLCollectionFieldProvider,eG=eq.ACLCollectionProvider,eK=eq.ACLContext,eW=eq.ACLCustomContext,eJ=eq.ACLMenuItemProvider,eX=eq.ACLPane,eZ=eq.ACLPlugin,eQ=eq.ACLProvider,e0=eq.ACLRolesCheckProvider,e1=eq.ADMIN_SETTINGS_KEY,e2=eq.ADMIN_SETTINGS_PATH,e5=eq.AIManager,e4=eq.APIClient,e6=eq.APIClientContext,e7=eq.APIClientProvider,e9=eq.AccessControl,e8=eq.Action,e3=eq.ActionBar,te=eq.ActionBarAssociationFilterAction,tt=eq.ActionBarProvider,to=eq.ActionContext,tl=eq.ActionContextNoRerender,tn=eq.ActionContextProvider,ta=eq.ActionDesigner,tr=eq.ActionGroupModel,ti=eq.ActionInitializer,ts=eq.ActionInitializerItem,td=eq.ActionModel,tu=eq.ActionSceneEnum,tc=eq.ActionType,tp=eq.AddCollection,tm=eq.AddCollectionAction,th=eq.AddCollectionField,tx=eq.AddFieldAction,tv=eq.AddNewActionModel,t_=eq.AddSubFieldAction,tf=eq.AdminDynamicPage,tg=eq.AdminLayout,tb=eq.AdminLayoutMenuItemModel,ty=eq.AdminLayoutPlugin,tS=eq.AdminProvider,tk=eq.AdminSettingsLayout,tC=eq.AdminSettingsLayoutModel,tM=eq.AfterSuccess,tw=eq.AllDataBlocksContext,tF=eq.AllDataBlocksProvider,tP=eq.AntdAppProvider,tj=eq.AntdConfigPlugin,tA=eq.AntdConfigProvider,tI=eq.AntdSchemaComponentPlugin,tT=eq.AntdSchemaComponentProvider,tD=eq.AppLangContext,tL=eq.AppNotFound,tY=eq.AppendsTreeSelect,tR=eq.Application,tB=eq.ApplicationContext,tN=eq.AssignFormModel,tE=eq.AssignedFieldValues,t$=eq.AssociatedFields,tz=eq.AssociationField,tO=eq.AssociationFieldMode,tq=eq.AssociationFieldModeProvider,tV=eq.AssociationFilter,tH=eq.AssociationFilterDesignerDelete,tU=eq.AssociationFilterDesignerDisplayField,tG=eq.AssociationFilterPlugin,tK=eq.AssociationOrCollectionProvider,tW=eq.AssociationProvider,tJ=eq.AssociationSelect,tX=eq.AsyncDataContext,tZ=eq.AsyncDataProvider,tQ=eq.AttachmentList,t0=eq.AutoComplete,t1=eq.BackButtonUsedInSubPage,t2=eq.BaseVariableProvider,t5=eq.BlankComponent,t4=eq.Block,t6=eq.BlockAssociationContext,t7=eq.BlockConfigsContext,t9=eq.BlockConfigsProvider,t8=eq.BlockContext,t3=eq.BlockGridModel,oe=eq.BlockInitializer,ot=eq.BlockItem,oo=eq.BlockItemCard,ol=eq.BlockItemCardContext,on=eq.BlockItemInitializer,oa=eq.BlockModel,or=eq.BlockProvider,oi=eq.BlockRequestContextProvider,os=eq.BlockRequestContext_deprecated,od=eq.BlockRequestLoadingContext,ou=eq.BlockRequestProvider,oc=eq.BlockRequestProvider_deprecated,op=eq.BlockResourceContext,om=eq.BlockSceneEnum,oh=eq.BlockSchemaComponentPlugin,ox=eq.BlockSchemaComponentProvider,ov=eq.BlockSchemaToolbar,o_=eq.BlockTemplateContext,of=eq.BlockTemplateDetails,og=eq.BlockTemplatePage,ob=eq.BlockTemplateProvider,oy=eq.BlockTemplatesPane,oS=eq.BlocksSelector,ok=eq.ButtonEditor,oC=eq.CSSVariableProvider,oM=eq.CardItem,ow=eq.Cascader,oF=eq.Checkbox,oP=eq.CheckboxFieldInterface,oj=eq.CheckboxGroupFieldInterface,oA=eq.ChildPageModel,oI=eq.ChildPageTabModel,oT=eq.ClearCollectionFieldContext,oD=eq.ClickableFieldModel,oL=eq.CodeEditor,oY=eq.CodeEditorExtension,oR=eq.Collection,oB=eq.CollectionActionGroupModel,oN=eq.CollectionActionModel,oE=eq.CollectionBlockModel,o$=eq.CollectionCategoriesContext,oz=eq.CollectionCategoriesProvider,oO=eq.CollectionCategory,oq=eq.CollectionContext,oV=eq.CollectionDeletedPlaceholder,oH=eq.CollectionField,oU=eq.CollectionFieldContext,oG=eq.CollectionFieldInterface,oK=eq.CollectionFieldInterfaceManager,oW=eq.CollectionFieldInterfaceTag,oJ=eq.CollectionFieldProvider,oX=eq.CollectionFieldUISchemaProvider,oZ=eq.CollectionFieldsToFormInitializerItems,oQ=eq.CollectionFieldsToInitializerItems,o0=eq.CollectionFieldsToTableInitializerItems,o1=eq.CollectionHistoryProvider,o2=eq.CollectionManager,o5=eq.CollectionManagerContext,o4=eq.CollectionManagerProvider,o6=eq.CollectionManagerProvider_deprecated,o7=eq.CollectionManagerSchemaComponentProvider,o9=eq.CollectionNotAllowViewPlaceholder,o8=eq.CollectionPlugin,o3=eq.CollectionProvider,le=eq.CollectionProvider_deprecated,lt=eq.CollectionRecord,lo=eq.CollectionRecordContext,ll=eq.CollectionRecordProvider,ln=eq.CollectionSelect,la=eq.CollectionSelectFieldInterface,lr=eq.CollectionTemplate,li=eq.CollectionTemplateManager,ls=eq.CollectionTemplateTag,ld=eq.ColorFieldInterface,lu=eq.ColorPicker,lc=eq.ColorSelect,lp=eq.CommonItemModel,lm=eq.CompatibleSchemaInitializer,lh=eq.CreateFilterActionInitializer,lx=eq.CreateFormModel,lv=eq.CreateResetActionInitializer,l_=eq.CreatedAtFieldInterface,lf=eq.CreatedByFieldInterface,lg=eq.Cron,lb=eq.CronSet,ly=eq.CurrentAppInfoContext,lS=eq.CurrentAppInfoProvider,lk=eq.CurrentPageUidContext,lC=eq.CurrentPageUidProvider,lM=eq.CurrentRouteProvider,lw=eq.CurrentTabUidContext,lF=eq.CurrentTabUidProvider,lP=eq.CurrentUserContext,lj=eq.CurrentUserProvider,lA=eq.CurrentUserSettingsMenuProvider,lI=eq.CustomRouterContextProvider,lT=eq.CustomizeActionInitializer,lD=eq.DEBOUNCE_WAIT,lL=eq.DEFAULT_DATA_SOURCE_KEY,lY=eq.DEFAULT_DATA_SOURCE_TITLE,lR=eq.DataBlockCollector,lB=eq.DataBlockContext,lN=eq.DataBlockInitializer,lE=eq.DataBlockModel,l$=eq.DataBlockProvider,lz=eq.DataBlockResourceContext,lO=eq.DataBlockResourceProvider,lq=eq.DataSource,lV=eq.DataSourceApplicationProvider,lH=eq.DataSourceCollectionCascader,lU=eq.DataSourceContext,lG=eq.DataSourceContext_deprecated,lK=eq.DataSourceManager,lW=eq.DataSourceManagerContext,lJ=eq.DataSourceManagerProvider,lX=eq.DataSourceProvider,lZ=eq.DataSourceProvider_deprecated,lQ=eq.DataSourceSelect,l0=eq.DateFieldInterface,l1=eq.DateFilterDynamicComponent,l2=eq.DateFormatCom,l5=eq.DatePicker,l4=eq.DatePickerProvider,l6=eq.DatetimeFieldInterface,l7=eq.DatetimeNoTzFieldInterface,l9=eq.DefaultToolsManager,l8=eq.DefaultValueProvider,l3=eq.DeleteCollection,ne=eq.DeleteCollectionAction,nt=eq.Designable,no=eq.DesignableSwitch,nl=eq.Details,nn=eq.DetailsAssociationFieldGroupModel,na=eq.DetailsBlockContext,nr=eq.DetailsBlockModel,ni=eq.DetailsBlockProvider,ns=eq.DetailsCustomItemModel,nd=eq.DetailsDesigner,nu=eq.DetailsGridModel,nc=eq.DetailsItemModel,np=eq.DisplaySubTableFieldModel,nm=eq.DisplayTextFieldModel,nh=eq.DisplayTitleFieldModel,nx=eq.Divider,nv=eq.DndContext,n_=eq.DocumentTitleContext,nf=eq.DocumentTitleProvider,ng=eq.DragHandler,nb=eq.DraggableContext,ny=eq.DropdownVisibleContext,nS=eq.EMPTY_OBJECT,nk=eq.EditCollection,nC=eq.EditCollectionAction,nM=eq.EditCollectionField,nw=eq.EditComponent,nF=eq.EditDefaultValue,nP=eq.EditDescription,nj=eq.EditFieldAction,nA=eq.EditFormModel,nI=eq.EditOperator,nT=eq.EditPattern,nD=eq.EditRequired,nL=eq.EditSortField,nY=eq.EditSubFieldAction,nR=eq.EditTable,nB=eq.EditTableAction,nN=eq.EditTableActionContext,nE=eq.EditTitle,n$=eq.EditTitleField,nz=eq.EditTooltip,nO=eq.EditValidationRules,nq=eq.Editable,nV=eq.EllipsisWithTooltip,nH=eq.EmailFieldInterface,nU=eq.ErrorFallback,nG=eq.Expand,nK=eq.ExpiresRadio,nW=eq.ExtendCollectionsContext,nJ=eq.ExtendCollectionsProvider,nX=eq.FieldModel,nZ=eq.FieldModelRenderer,nQ=eq.FieldSummary,n0=eq.FieldValidation,n1=eq.FieldsTreeSelect,n2=eq.Fieldset,n5=eq.Filter,n4=eq.FilterAction,n6=eq.FilterActionContext,n7=eq.FilterActionModel,n9=eq.FilterAssociatedFields,n8=eq.FilterBlockModel,n3=eq.FilterBlockProvider,ae=eq.FilterBlockType,at=eq.FilterContext,ao=eq.FilterDynamicComponent,al=eq.FilterFormActionGroupModel,an=eq.FilterFormBlockModel,aa=eq.FilterFormBlockProvider,ar=eq.FilterFormItemModel,ai=eq.FilterGroup,as=eq.FilterLogicContext,ad=eq.FilterParentCollectionFields,au=eq.FlagContext,ac=eq.FlagProvider,ap=eq.ForeignKey,am=eq.Form,ah=eq.FormActionGroupModel,ax=eq.FormActionModel,av=eq.FormActiveFieldsProvider,a_=eq.FormAssociationFieldGroupModel,af=eq.FormBlockContext,ag=eq.FormBlockInitializer,ab=eq.FormBlockModel,ay=eq.FormBlockProvider,aS=eq.FormComponent,ak=eq.FormDialog,aC=eq.FormDrawer,aM=eq.FormField,aw=eq.FormFieldContext,aF=eq.FormFieldProvider,aP=eq.FormGridModel,aj=eq.FormItem,aA=eq.FormItemModel,aI=eq.FormItemSchemaToolbar,aT=eq.FormProvider,aD=eq.FormSubmitActionModel,aL=eq.FormV2,aY=eq.G2Plot,aR=eq.G2PlotInitializer,aB=eq.G2PlotRenderer,aN=eq.GeneralSchemaDesigner,aE=eq.GeneralSchemaItems,a$=eq.GlobalThemeProvider,az=eq.Grid,aO=eq.GridCard,aq=eq.GridModel,aV=eq.GridRowContext,aH=eq.HTMLEncode,aU=eq.HeightMode,aG=eq.ICON_POPUP_Z_INDEX,aK=eq.Icon,aW=eq.IconFieldInterface,aJ=eq.IconPicker,aX=eq.IdFieldInterface,aZ=eq.InheritanceCollectionMixin,aQ=eq.InitializerWithSwitch,a0=eq.Input,a1=eq.InputFieldInterface,a2=eq.InputFieldModel,a5=eq.InputNumber,a4=eq.InputReadPretty,a6=eq.InputRecordPicker,a7=eq.IntegerFieldInterface,a9=eq.InternalAdminSettingsLayout,a8=eq.IsInNocoBaseRecursionFieldContext,a3=eq.IsSubPageClosedByPageMenuContext,re=eq.IsSubPageClosedByPageMenuProvider,rt=eq.JSActionModel,ro=eq.Json,rl=eq.JsonFieldInterface,rn=eq.KeepAlive,ra=eq.LAZY_COMPONENT_KEY,rr=eq.LOADING_DELAY,ri=eq.Layout,rs=eq.LayoutContent,rd=eq.LinkActionModel,ru=eq.LinkToFieldInterface,rc=eq.LinkageFilter,rp=eq.LinkageRuleCategory,rm=eq.LinkageRuleDataKeyMap,rh=eq.List,rx=eq.LocalDataSource,rv=eq.LocationSearchContext,r_=eq.M2MFieldInterface,rf=eq.M2OFieldInterface,rg=eq.Markdown,rb=eq.MarkdownFieldInterface,ry=eq.MarkdownReadPretty,rS=eq.MaybeCollectionProvider,rk=eq.Menu,rC=eq.MenuConfigure,rM=eq.MockFlowModelRepository,rw=eq.ModalActionSchemaInitializerItem,rF=eq.MultipleSelectFieldInterface,rP=eq.NAMESPACE_UI_SCHEMA,rj=eq.NanoIDInput,rA=eq.NanoidFieldInterface,rI=eq.NocoBaseBuildInPlugin,rT=eq.NocoBaseDesktopRouteType,rD=eq.NocoBaseRecursionField,rL=eq.NocoBaseRouteContext,rY=eq.NumberFieldInterface,rR=eq.O2MFieldInterface,rB=eq.O2OFieldInterface,rN=eq.OBOFieldInterface,rE=eq.OHOFieldInterface,r$=eq.OpenModeProvider,rz=eq.OverridingCollectionField,rO=eq.OverridingFieldAction,rq=eq.PMPlugin,rV=eq.Page,rH=eq.PagePopups,rU=eq.PageTabs,rG=eq.Pagination,rK=eq.ParentCollectionFields,rW=eq.ParentRouteContext,rJ=eq.Password,rX=eq.PasswordFieldInterface,rZ=eq.Percent,rQ=eq.PercentFieldInterface,r0=eq.PermissionContext,r1=eq.PermissionProvider,r2=eq.PhoneFieldInterface,r5=eq.PinnedListPlugin,r4=eq.PinnedPluginList,r6=eq.PinnedPluginListContext,r7=eq.PinnedPluginListProvider,r9=eq.Plugin,r8=eq.PluginManager,r3=eq.PluginManagerLink,ie=eq.PluginSettingsManager,it=eq.PopupActionModel,io=eq.PopupContextProvider,il=eq.PopupSettingsProvider,ia=eq.PopupSubTableFormActionGroupModel,ir=eq.PoweredBy,ii=eq.Preview,is=eq.QuickEdit,id=eq.REGEX_OF_VARIABLE,iu=eq.REGEX_OF_VARIABLE_IN_EXPRESSION,ic=eq.Radio,ip=eq.RadioGroupFieldInterface,im=eq.ReadPretty,ih=eq.ReadPrettyRecordPicker,ix=eq.RecordActionGroupModel,iv=eq.RecordAssociationBlockInitializer,i_=eq.RecordAssociationDetailsBlockInitializer,ig=eq.RecordAssociationFormBlockInitializer,ib=eq.RecordAssociationGridCardBlockInitializer,iy=eq.RecordAssociationListBlockInitializer,iS=eq.RecordContext_deprecated,ik=eq.RecordFormBlockInitializer,iC=eq.RecordIndexContext,iM=eq.RecordIndexProvider,iw=eq.RecordLink,iF=eq.RecordPicker,iP=eq.RecordPickerContent,ij=eq.RecordPickerContext,iA=eq.RecordPickerProvider,iI=eq.RecordProvider,iT=eq.RecordReadPrettyAssociationFormBlockInitializer,iD=eq.RecordSelectFieldModel,iL=eq.RecordSimpleProvider,iY=eq.RefreshActionModel,iR=eq.RefreshComponentProvider,iB=eq.RefreshDataBlockRequest,iN=eq.RemoteCollectionManagerProvider,iE=eq.RemoteDocumentTitlePlugin,i$=eq.RemoteDocumentTitleProvider,iz=eq.RemoteSchemaComponent,iO=eq.RemoteSchemaTemplateManagerPlugin,iq=eq.RemoteSchemaTemplateManagerProvider,iV=eq.RemoteSelect,iH=eq.RemoveButton,iU=eq.RemoveConditionContext,iG=eq.RenderChildrenWithAssociationFilter,iK=eq.RequestSettings,iW=eq.RerenderDataBlockProvider,iJ=eq.Resizable,iX=eq.ResourceActionContext,iZ=eq.ResourceActionProvider,iQ=eq.RichText,i0=eq.RichTextFieldInterface,i1=eq.RoleConfigure,i2=eq.RoleResourceCollectionContext,i5=eq.RoleTable,i4=eq.RolesResourcesActions,i6=eq.RouteSchemaComponent,i7=eq.RouterContextCleaner,i9=eq.RouterManager,i8=eq.SNIPPET_PREFIX,i3=eq.SanitizedCollectionProvider,se=eq.SchemaComponent,st=eq.SchemaComponentContext,so=eq.SchemaComponentOnChangeContext,sl=eq.SchemaComponentOptions,sn=eq.SchemaComponentPlugin,sa=eq.SchemaComponentProvider,sr=eq.SchemaInitializer,si=eq.SchemaInitializerActionModal,ss=eq.SchemaInitializerActionModalInternal,sd=eq.SchemaInitializerChild,su=eq.SchemaInitializerChildren,sc=eq.SchemaInitializerContext,sp=eq.SchemaInitializerDivider,sm=eq.SchemaInitializerItem,sh=eq.SchemaInitializerItemContext,sx=eq.SchemaInitializerItemGroup,sv=eq.SchemaInitializerItemGroupInternal,s_=eq.SchemaInitializerItemInternal,sf=eq.SchemaInitializerItems,sg=eq.SchemaInitializerManager,sb=eq.SchemaInitializerMenu,sy=eq.SchemaInitializerMenuProvider,sS=eq.SchemaInitializerOpenModeSchemaItems,sk=eq.SchemaInitializerPlugin,sC=eq.SchemaInitializerSelect,sM=eq.SchemaInitializerSelectInternal,sw=eq.SchemaInitializerSubMenu,sF=eq.SchemaInitializerSubMenuInternal,sP=eq.SchemaInitializerSwitch,sj=eq.SchemaInitializerSwitchInternal,sA=eq.SchemaSettingAccessControl,sI=eq.SchemaSettingItemContext,sT=eq.SchemaSettingOpenModeSchemaItems,sD=eq.SchemaSettings,sL=eq.SchemaSettingsActionLinkItem,sY=eq.SchemaSettingsActionModalItem,sR=eq.SchemaSettingsBlockHeightItem,sB=eq.SchemaSettingsBlockTitleItem,sN=eq.SchemaSettingsCascaderItem,sE=eq.SchemaSettingsChild,s$=eq.SchemaSettingsChildren,sz=eq.SchemaSettingsConnectDataBlocks,sO=eq.SchemaSettingsDataScope,sq=eq.SchemaSettingsDataTemplates,sV=eq.SchemaSettingsDateFormat,sH=eq.SchemaSettingsDefaultSortingRules,sU=eq.SchemaSettingsDefaultValue,sG=eq.SchemaSettingsDivider,sK=eq.SchemaSettingsDropdown,sW=eq.SchemaSettingsEnableChildCollections,sJ=eq.SchemaSettingsFixed,sX=eq.SchemaSettingsFormItemTemplate,sZ=eq.SchemaSettingsItem,sQ=eq.SchemaSettingsItemGroup,s0=eq.SchemaSettingsLayoutItem,s1=eq.SchemaSettingsLinkageRules,s2=eq.SchemaSettingsManager,s5=eq.SchemaSettingsModalItem,s4=eq.SchemaSettingsNumberFormat,s6=eq.SchemaSettingsPlugin,s7=eq.SchemaSettingsPopupItem,s9=eq.SchemaSettingsProvider,s8=eq.SchemaSettingsRemove,s3=eq.SchemaSettingsRenderEngine,de=eq.SchemaSettingsSelectItem,dt=eq.SchemaSettingsSortingRule,dl=eq.SchemaSettingsSubMenu,dn=eq.SchemaSettingsSwitchItem,da=eq.SchemaSettingsTemplate,dr=eq.SchemaSettingsWrapper,di=eq.SchemaTemplateManagerContext,ds=eq.SchemaToolbar,dd=eq.SchemaToolbarContext,du=eq.SchemaToolbarProvider,dc=eq.SchemaToolbarVisibleContext,dp=eq.ScopeSelect,dm=eq.SearchCollections,dh=eq.SecondConFirm,dx=eq.Select,dv=eq.SelectActionInitializer,d_=eq.SelectFieldInterface,df=eq.SelectWithTitle,dg=eq.SetDataLoadingMode,db=eq.SettingCenterPermissionProvider,dy=eq.SettingCenterProvider,dS=eq.SettingsCenterConfigure,dk=eq.SettingsCenterContext,dC=eq.SettingsCenterDropdown,dM=eq.SettingsMenuProvider,dw=eq.ShowFormData,dF=eq.SkeletonFallback,dP=eq.SkipValidation,dj=eq.SnowflakeIdFieldInterface,dA=eq.Sortable,dI=eq.SortableContext,dT=eq.SortableItem,dD=eq.SortableProvider,dL=eq.SourceCollection,dY=eq.SourceForeignKey,dR=eq.SourceKey,dB=eq.Space,dN=eq.StablePopover,dE=eq.StrategyActions,d$=eq.SubFieldDataSourceProvider_deprecated,dz=eq.SubTableColumnModel,dO=eq.SubTableFieldInterface,dq=eq.SubTableFieldModel,dV=eq.SubmitActionInitializer,dH=eq.SwitchLanguage,dU=eq.SyncFieldsAction,dG=eq.SyncFieldsActionCom,dK=eq.SyncSQLFieldsAction,dW=eq.SystemSettingsPane,dJ=eq.SystemSettingsPlugin,dX=eq.SystemSettingsSource,dZ=eq.Table,dQ=eq.TableActionColumnInitializer,d0=eq.TableAssociationFieldGroupModel,d1=eq.TableBlockContext,d2=eq.TableBlockDesigner,d5=eq.TableBlockInitializer,d4=eq.TableBlockModel,d6=eq.TableBlockProvider,d7=eq.TableColumnModel,d9=eq.TableColumnSchemaToolbar,d8=eq.TableField,d3=eq.TableFieldContext,ue=eq.TableFieldProvider,ut=eq.TableFieldResource,uo=eq.TableSelectorContext,ul=eq.TableSelectorDesigner,un=eq.TableSelectorInitializer,ua=eq.TableSelectorParamsProvider,ur=eq.TableSelectorProvider,ui=eq.TableV2,us=eq.TableoidFieldInterface,ud=eq.Tabs,uu=eq.TabsContextProvider,uc=eq.TargetForeignKey,up=eq.TargetKey,um=eq.TemplateBlockProvider,uh=eq.TemplateSummary,ux=eq.Templates,uv=eq.TestDesigner,u_=eq.TextAreaWithContextSelector,uf=eq.TextAreaWithGlobalScope,ug=eq.TextareaFieldInterface,ub=eq.ThroughCollection,uy=eq.ThroughForeignKey,uS=eq.TimeFieldInterface,uk=eq.TimePicker,uC=eq.TreeSelect,uM=eq.UUIDFieldInterface,uw=eq.UnSupportFields,uF=eq.UnixTimestamp,uP=eq.UnixTimestampFieldInterface,uj=eq.UpdateRecordActionModel,uA=eq.UpdatedAtFieldInterface,uI=eq.UpdatedByFieldInterface,uT=eq.Upload,uD=eq.Uploader,uL=eq.UrlFieldInterface,uY=eq.Variable,uR=eq.VariableFilterItem,uB=eq.VariableInput,uN=eq.VariablePopupRecordProvider,uE=eq.VariableScope,u$=eq.VariableScopeProvider,uz=eq.VariableSelect,uO=eq.VariablesContext,uq=eq.VariablesProvider,uV=eq.ViewCollectionField,uH=eq.ViewFieldAction,uU=eq.WithoutFormFieldResource,uG=eq.WithoutTableFieldResource,uK=eq.actionSettings,uW=eq.actionSettingsItems,uJ=eq.addCustomAlgorithmToTheme,uX=eq.allowAddNew,uZ=eq.appendQueryStringToUrl,uQ=eq.applyCollectionFieldUiSchemaToDefaultValueSchema,u0=eq.applyMobilePaginationProps,u1=eq.attachmentFileTypes,u2=eq.autoFill,u5=eq.autoIncrement,u4=eq.canMakeAssociationBlock,u6=eq.collectionDataSource,u7=eq.compatOldTheme,u9=eq.completeURL,u8=eq.compose,u3=eq.constraintsProps,ce=eq.createCompactSimpleItemRender,ct=eq.createCreateFormBlockUISchema,co=eq.createDesignable,cl=eq.createDetailsBlockSchema,cn=eq.createFormActionInitializers,ca=eq.createFormActionInitializers_deprecated,cr=eq.createFormBlockSchema,ci=eq.createFormBlockSettings,cs=eq.createModalSettingsItem,cd=eq.createReadPrettyFormBlockSchema,cu=eq.createRouterManager,cc=eq.createSelectSchemaSettingsItem,cp=eq.createStyles,cm=eq.createSwitchSettingsItem,ch=eq.createTableBlockSchema,cx=eq.createTableBlockUISchema,cv=eq.createTextSettingsItem,c_=eq.css,cf=eq.customAlgorithm,cg=eq.customFormItemInitializers,cb=eq.customFormItemInitializers_deprecated,cy=eq.dataSource,cS=eq.dateTimeProps,ck=eq.defaultFieldNames,cC=eq.defaultInputStyle,cM=eq.defaultProps,cw=eq.defaultTheme,cF=eq.dispatchEventDeep,cP=eq.ds,cj=eq.editFormBlockSettings,cA=eq.editMarkdownFlow,cI=eq.fetchTemplateData,cT=eq.fieldComponentSettingsItem,cD=eq.fieldSettingsFormItem,cL=eq.fileSizeSetting,cY=eq.fillParentFields,cR=eq.filterFormItemSettings,cB=eq.findByUid,cN=eq.findFilterTargets,cE=eq.findFirstPageRoute,c$=eq.findFormBlock,cz=eq.findKanbanFormItem,cO=eq.findKeysByUid,cq=eq.findMenuItem,cV=eq.findParentFieldSchema,cH=eq.findRouteBySchemaUid,cU=eq.formActionInitializers,cG=eq.formDetailsSettings,cK=eq.formItemInitializers,cW=eq.formItemInitializers_deprecated,cJ=eq.formItemSettings,cX=eq.formSettings,cZ=eq.formV1Settings,cQ=eq.genStyleHook,c0=eq.getAppends,c1=eq.getAssociationPath,c2=eq.getCardItemSchema,c5=eq.getCollectionTitle,c4=eq.getConfigurableProperties,c6=eq.getCurrentOptions,c7=eq.getDataSourceHeaders,c9=eq.getDateExact,c8=eq.getDatePickerLabels,c3=eq.getDateRanges,pe=eq.getFieldDefaultValue,pt=eq.getFilterByTkByCollection,po=eq.getFlowPageMenuSchema,pl=eq.getFormValues,pn=eq.getIdsWithChildren,pa=eq.getLabelFormatValue,pr=eq.getLabelWithTooltip,pi=eq.getPageMenuSchema,ps=eq.getPageSchema,pd=eq.getPinnedPluginListKeys,pu=eq.getPopupPathFromParams,pc=eq.getRenderContent,pp=eq.getSchemaSettingsConfirmZIndex,pm=eq.getSchemaSettingsDialogZIndex,ph=eq.getShouldChange,px=eq.getSimpleModePaginationClassName,pv=eq.getStoredPopupContext,p_=eq.getSupportFieldsByAssociation,pf=eq.getSupportFieldsByForeignKey,pg=eq.getTabSchema,pb=eq.getURLSearchParams,py=eq.getURLSearchParamsChildren,pS=eq.getUniqueKeyFromCollection,pk=eq.getUnknownCountPaginationTotal,pC=eq.getVariableComponentWithScope,pM=eq.getVariableValue,pw=eq.getVariablesFromExpression,pF=eq.getZIndex,pP=eq.gridRowColWrap,pj=eq.handleDateChangeOnForm,pA=eq.hasIcon,pI=eq.i18n,pT=eq.icons,pD=eq.inferPickerType,pL=eq.interfacesOfUnsupportedDefaultValue,pY=eq.interfacesProperties,pR=eq.isAssocField,pB=eq.isBulkEditAction,pN=eq.isDeleteButtonDisabled,pE=eq.isFileCollection,p$=eq.isInFilterFormBlock,pz=eq.isInitializersSame,pO=eq.isMobile,pq=eq.isPatternDisabled,pV=eq.isSameCollection,pH=eq.isShowFilePicker,pU=eq.isSystemField,pG=eq.isTabPage,pK=eq.isTitleField,pW=eq.isVariable,pJ=eq.isWriteEmailAction,pX=eq.itemsMerge,pZ=eq.joinCollectionName,pQ=eq.joinUrlSearch,p0=eq.languageCodes,p1=eq.lazy,p2=eq.locale,p5=eq.mapDatePicker,p4=eq.mapRangePicker,p6=eq.mapTimeFormat,p7=eq.matchMimetype,p9=eq.mergeFilter,p8=eq.mergePaginationClassName,p3=eq.mockAPIClient,me=eq.moment2str,mt=eq.navigateToTab,mo=eq.navigateWithinSelf,ml=eq.normalizeContainer,mn=eq.openViewFlow,ma=eq.operators,mr=eq.pageSettings,mi=eq.pageTabSettings,ms=eq.parseCollectionName,md=eq.parseVariablesAndChangeParamsToQueryString,mu=eq.primaryKey,mc=eq.readPrettyFormSettings,mp=eq.recordBlockInitializers,mm=eq.recordBlockInitializers_deprecated,mh=eq.recordPickerViewer,mx=eq.recursiveParent,mv=eq.reduceValueSize,m_=eq.registerIcon,mf=eq.registerIcons,mg=eq.registerInitializerMenusGenerator,mb=eq.relationshipType,my=eq.removeNullCondition,mS=eq.replaceVariableValue,mk=eq.replaceVariables,mC=eq.requestParentRecordData,mM=eq.resolveFilterPickerFormat,mw=eq.reverseFieldProperties,mF=eq.schemaSettingsLabelLayout,mP=eq.setDataLoadingModeSettingsItem,mj=eq.setDefaultSortingRulesSchemaSettingsItem,mA=eq.setTheDataScopeSchemaSettingsItem,mI=eq.shouldRenderIconInTitle,mT=eq.showFileName,mD=eq.splitWrapSchema,mL=eq.storePopupContext,mY=eq.subTableActionInitializers,mR=eq.subTableActionInitializers_deprecated,mB=eq.systemKeys,mN=eq.tabPaneInitializers,mE=eq.tabPaneInitializersForBulkEditFormBlock,m$=eq.tabPaneInitializersForRecordBlock,mz=eq.tabPaneInitializers_deprecated,mO=eq.tableActionColumnInitializers,mq=eq.tableActionColumnInitializers_deprecated,mV=eq.tableActionInitializers,mH=eq.tableActionInitializers_deprecated,mU=eq.tableBlockSettings,mG=eq.tableColumnInitializers,mK=eq.tableColumnInitializers_deprecated,mW=eq.tableColumnSettings,mJ=eq.tableSelectorBlockSettings,mX=eq.timeProps,mZ=eq.titleField,mQ=eq.toToolsMap,m0=eq.transformFilter,m1=eq.transformToFilter,m2=eq.transformVariableValue,m5=eq.tval,m4=eq.type,m6=eq.unique,m7=eq.updateFilterTargets,m9=eq.updateFormActionInitializers,m8=eq.updateFormActionInitializers_deprecated,m3=eq.useACLActionParamsContext,he=eq.useACLContext,ht=eq.useACLFieldWhitelist,ho=eq.useACLRoleContext,hl=eq.useACLRolesCheck,hn=eq.useAPIClient,ha=eq.useAPITokenVariable,hr=eq.useAclSnippets,hi=eq.useActionAvailable,hs=eq.useActionBarContext,hd=eq.useActionContext,hu=eq.useAdminSchemaUid,hc=eq.useAfterSuccessOptions,hp=eq.useAllAccessDesktopRoutes,hm=eq.useAllCollectionsInheritChainGetter,hh=eq.useAllDataBlocks,hx=eq.useApp,hv=eq.useAppLangContext,h_=eq.useAppSpin,hf=eq.useAriaAttributeOfMenuItem,hg=eq.useAssociatedFields,hb=eq.useAssociatedFormItemInitializerFields,hy=eq.useAssociatedTableColumnInitializerFields,hS=eq.useAssociationCreateActionProps,hk=eq.useAssociationFieldContext,hC=eq.useAssociationFieldModeContext,hM=eq.useAssociationFilterBlockProps,hw=eq.useAssociationFilterProps,hF=eq.useAssociationName,hP=eq.useAssociationNames,hj=eq.useAsyncData,hA=eq.useAttach,hI=eq.useBackButton,hT=eq.useBaseVariable,hD=eq.useBlockAssociationContext,hL=eq.useBlockConfigs,hY=eq.useBlockContext,hR=eq.useBlockHeight,hB=eq.useBlockHeightProps,hN=eq.useBlockRequestContext,hE=eq.useBlockResource,h$=eq.useBlockTemplateContext,hz=eq.useBuiltinVariables,hO=eq.useBulkDestroyAction,hq=eq.useBulkDestroyActionAndRefreshCM,hV=eq.useBulkDestroyActionProps,hH=eq.useCancelAction,hU=eq.useCloseAction,hG=eq.useCollectValuesToSubmit,hK=eq.useCollection,hW=eq.useCollectionDataSource,hJ=eq.useCollectionDataSourceItems,hX=eq.useCollectionField,hZ=eq.useCollectionFieldFormValues,hQ=eq.useCollectionField_deprecated,h0=eq.useCollectionFields,h1=eq.useCollectionFieldsOptions,h2=eq.useCollectionFilterOptions,h5=eq.useCollectionHistory,h4=eq.useCollectionManager,h6=eq.useCollectionManager_deprecated,h7=eq.useCollectionParentRecord,h9=eq.useCollectionParentRecordData,h8=eq.useCollectionRecord,h3=eq.useCollectionRecordData,xe=eq.useCollectionState,xt=eq.useCollection_deprecated,xo=eq.useCollections,xl=eq.useColumnSchema,xn=eq.useColumnSettings,xa=eq.useCompatOldVariables,xr=eq.useCompile,xi=eq.useComponent,xs=eq.useContextAssociationFields,xd=eq.useContextVariable,xu=eq.useCreateActionProps,xc=eq.useCreateAssociationDetailsBlock,xp=eq.useCreateAssociationDetailsWithoutPagination,xm=eq.useCreateAssociationFormBlock,xh=eq.useCreateAssociationGridCardBlock,xx=eq.useCreateAssociationListBlock,xv=eq.useCreateAssociationTableBlock,x_=eq.useCreateEditFormBlock,xf=eq.useCreateFormBlock,xg=eq.useCreateTableBlock,xb=eq.useCurrentAppInfo,xy=eq.useCurrentDocumentTitle,xS=eq.useCurrentPageUid,xk=eq.useCurrentPopupContext,xC=eq.useCurrentPopupRecord,xM=eq.useCurrentRoleMode,xw=eq.useCurrentRoleVariable,xF=eq.useCurrentRoles,xP=eq.useCurrentRoute,xj=eq.useCurrentSchema,xA=eq.useCurrentSearchParams,xI=eq.useCurrentTabUid,xT=eq.useCurrentUserContext,xD=eq.useCurrentUserSettingsMenu,xL=eq.useCurrentUserVariable,xY=eq.useCustomizeBulkUpdateActionProps,xR=eq.useCustomizeRequestActionProps,xB=eq.useCustomizeUpdateActionProps,xN=eq.useDataBlock,xE=eq.useDataBlockHeight,x$=eq.useDataBlockParentRecord,xz=eq.useDataBlockProps,xO=eq.useDataBlockRequest,xq=eq.useDataBlockRequestData,xV=eq.useDataBlockRequestGetter,xH=eq.useDataBlockResource,xU=eq.useDataLoadingMode,xG=eq.useDataSource,xK=eq.useDataSourceFromRAC,xW=eq.useDataSourceHeaders,xJ=eq.useDataSourceKey,xX=eq.useDataSourceManager,xZ=eq.useDataTemplates,xQ=eq.useDatePickerContext,x0=eq.useDateVariable,x1=eq.useDatetimeVariable,x2=eq.useDatetimeVariableContext,x5=eq.useDeleteRouteSchema,x4=eq.useDesignable,x6=eq.useDesigner,x7=eq.useDestroyAction,x9=eq.useDestroyActionAndRefreshCM,x8=eq.useDestroyActionProps,x3=eq.useDetailsBlockContext,ve=eq.useDetailsBlockProps,vt=eq.useDetailsDecoratorProps,vo=eq.useDetailsPaginationProps,vl=eq.useDetailsParentRecord,vn=eq.useDetailsProps,va=eq.useDetailsWithPaginationBlockParams,vr=eq.useDetailsWithPaginationDecoratorProps,vi=eq.useDetailsWithPaginationProps,vs=eq.useDisassociateActionProps,vd=eq.useDocumentTitle,vu=eq.useDownloadLogs,vc=eq.useEditTableActionProps,vp=eq.useEnsureOperatorsValid,vm=eq.useExactDateVariable,vh=eq.useExactDateVariableContext,vx=eq.useExtendCollections,vv=eq.useFieldComponentName,v_=eq.useFieldComponentOptions,vf=eq.useFieldInterfaceOptions,vg=eq.useFieldMode,vb=eq.useFieldModeOptions,vy=eq.useFieldNames,vS=eq.useFieldProps,vk=eq.useFieldTitle,vC=eq.useFilterAPI,vM=eq.useFilterActionProps,vw=eq.useFilterBlock,vF=eq.useFilterBlockActionProps,vP=eq.useFilterByTk,vj=eq.useFilterFieldOptions,vA=eq.useFilterFieldProps,vI=eq.useFilterOptions,vT=eq.useFindComponent,vD=eq.useFlag,vL=eq.useFormActiveFields,vY=eq.useFormBlockContext,vR=eq.useFormBlockProps,vB=eq.useFormBlockType,vN=eq.useFormDataTemplates,vE=eq.useFormFieldContext,v$=eq.useFormFieldProps,vz=eq.useFormItemInitializerFields,vO=eq.useGetAriaLabelOfAction,vq=eq.useGetAriaLabelOfDesigner,vV=eq.useGetAriaLabelOfDrawer,vH=eq.useGetAriaLabelOfModal,vU=eq.useGetAriaLabelOfPopover,vG=eq.useGetFilterFieldOptions,vK=eq.useGetFilterOptions,vW=eq.useGetSchemaInitializerMenuItems,vJ=eq.useGlobalTheme,vX=eq.useGlobalVariable,vZ=eq.useGlobalVariableCtx,vQ=eq.useGridContext,v0=eq.useGridRowContext,v1=eq.useHistoryCollectionsByNames,v2=eq.useInheritsTableColumnInitializerFields,v5=eq.useInsertPageSchema,v4=eq.useIsAddNewForm,v6=eq.useIsAdminPage,v7=eq.useIsAllowToSetDefaultValue,v9=eq.useIsAssociationField,v8=eq.useIsDetailBlock,v3=eq.useIsFieldReadPretty,_e=eq.useIsFileField,_t=eq.useIsFormReadPretty,_o=eq.useIsInSettingsPage,_l=eq.useIsLoggedIn,_n=eq.useIsSameOrChildCollection,_a=eq.useIsSelectFieldMode,_r=eq.useIsSubPageClosedByPageMenu,_i=eq.useKeepAlive,_s=eq.useLabelUiSchema,_d=eq.useLazy,_u=eq.useLinkActionProps,_c=eq.useLinkageAction,_p=eq.useLinkageCollectionFilterOptions,_m=eq.useListBlockContext,_h=eq.useLocalVariables,_x=eq.useLocalVariablesWithoutCustomVariable,_v=eq.useLocationNoUpdate,__=eq.useLocationSearch,_f=eq.useMenuDragEnd,_g=eq.useMenuSearch,_b=eq.useMenuTranslation,_y=eq.useMobileLayout,_S=eq.useNavigateNoUpdate,_k=eq.useNocoBaseRoutes,_C=eq.useOpenModeContext,_M=eq.useOptionalFieldList,_w=eq.useParamsFromRecord,_F=eq.useParentCollection,_P=eq.useParentRecordCommon,_j=eq.useParentRoute,_A=eq.useParseDataScopeFilter,_I=eq.useParseURLAndParams,_T=eq.useParsedFilter,_D=eq.usePickActionProps,_L=eq.usePlugin,_Y=eq.usePopupSettings,_R=eq.usePopupUtils,_B=eq.usePopupVariable,_N=eq.usePopupVariableContext,_E=eq.useProps,_$=eq.useRecord,_z=eq.useRecordCollectionDataSourceItems,_O=eq.useRecordIndex,_q=eq.useRecordIsOwn,_V=eq.useRecordPkValue,_H=eq.useRefreshActionProps,_U=eq.useRefreshFieldSchema,_G=eq.useRemoteCollectionManagerLoading,_K=eq.useRemoveActionProps,_W=eq.useRemoveGridFormItem,_J=eq.useRequest,_X=eq.useRerenderDataBlock,_Z=eq.useResetBlockActionProps,_Q=eq.useResource,_0=eq.useResourceActionContext,_1=eq.useResourceContext,_2=eq.useRoleRecheck,_5=eq.useRoleVariable,_4=eq.useRolesResourcesScopesSelectedRowKeys,_6=eq.useRouter,_7=eq.useRouterBasename,_9=eq.useSchemaComponentContext,_8=eq.useSchemaInitializer,_3=eq.useSchemaInitializerItem,fe=eq.useSchemaInitializerMenuItems,ft=eq.useSchemaInitializerRender,fo=eq.useSchemaInitializerStyles,fl=eq.useSchemaInitializerSubMenuContext,fn=eq.useSchemaOptionsContext,fa=eq.useSchemaSettings,fr=eq.useSchemaSettingsItem,fi=eq.useSchemaSettingsRender,fs=eq.useSchemaTemplate,fd=eq.useSchemaTemplateManager,fu=eq.useSchemaToolbar,fc=eq.useSchemaToolbarRender,fp=eq.useSortFields,fm=eq.useSourceId,fh=eq.useSourceIdFromParentRecord,fx=eq.useSourceIdFromRecord,fv=eq.useStyles,f_=eq.useSupportedBlocks,ff=eq.useSyncFromForm,fg=eq.useSystemSettings,fb=eq.useSystemSettingsVariable,fy=eq.useTableBlockContext,fS=eq.useTableBlockContextBasicValue,fk=eq.useTableBlockDecoratorProps,fC=eq.useTableBlockParams,fM=eq.useTableBlockProps,fw=eq.useTableColumnInitializerFields,fF=eq.useTableColumnIntegration,fP=eq.useTableColumns,fj=eq.useTableFieldContext,fA=eq.useTableFieldProps,fI=eq.useTableSelectorContext,fT=eq.useTableSelectorProps,fD=eq.useTableSize,fL=eq.useTabsContext,fY=eq.useTemplateBlockContext,fR=eq.useTitleFieldOptions,fB=eq.useToken,fN=eq.useUIConfigurationPermissions,fE=eq.useURLAndHTMLSchema,f$=eq.useURLSearchParamsCtx,fz=eq.useURLSearchParamsVariable,fO=eq.useUpdateActionProps,fq=eq.useUpdateCollectionActionAndRefreshCM,fV=eq.useUploadStyles,fH=eq.useUserVariable,fU=eq.useValidateSchema,fG=eq.useValuesFromRecord,fK=eq.useVariableOptions,fW=eq.useVariableScope,fJ=eq.useVariableScopeInfo,fX=eq.useVariables,fZ=eq.useViewport,fQ=eq.useZIndexContext,f0=eq.withDynamicSchemaProps,f1=eq.withInitializer,f2=eq.withSearchParams,f5=eq.withSkeletonComponent,f4=eq.zIndexContext;export{eV as ACLActionParamsContext,eH as ACLActionProvider,eU as ACLCollectionFieldProvider,eG as ACLCollectionProvider,eK as ACLContext,eW as ACLCustomContext,eJ as ACLMenuItemProvider,eX as ACLPane,eZ as ACLPlugin,eQ as ACLProvider,e0 as ACLRolesCheckProvider,e1 as ADMIN_SETTINGS_KEY,e2 as ADMIN_SETTINGS_PATH,e5 as AIManager,e4 as APIClient,e6 as APIClientContext,e7 as APIClientProvider,e9 as AccessControl,e8 as Action,e3 as ActionBar,te as ActionBarAssociationFilterAction,tt as ActionBarProvider,to as ActionContext,tl as ActionContextNoRerender,tn as ActionContextProvider,ta as ActionDesigner,tr as ActionGroupModel,ti as ActionInitializer,ts as ActionInitializerItem,td as ActionModel,tu as ActionSceneEnum,tc as ActionType,tp as AddCollection,tm as AddCollectionAction,th as AddCollectionField,tx as AddFieldAction,tv as AddNewActionModel,t_ as AddSubFieldAction,tf as AdminDynamicPage,tg as AdminLayout,tb as AdminLayoutMenuItemModel,ty as AdminLayoutPlugin,tS as AdminProvider,tk as AdminSettingsLayout,tC as AdminSettingsLayoutModel,tM as AfterSuccess,tw as AllDataBlocksContext,tF as AllDataBlocksProvider,tP as AntdAppProvider,tj as AntdConfigPlugin,tA as AntdConfigProvider,tI as AntdSchemaComponentPlugin,tT as AntdSchemaComponentProvider,tD as AppLangContext,tL as AppNotFound,tY as AppendsTreeSelect,tR as Application,tB as ApplicationContext,tN as AssignFormModel,tE as AssignedFieldValues,t$ as AssociatedFields,tz as AssociationField,tO as AssociationFieldMode,tq as AssociationFieldModeProvider,tV as AssociationFilter,tH as AssociationFilterDesignerDelete,tU as AssociationFilterDesignerDisplayField,tG as AssociationFilterPlugin,tK as AssociationOrCollectionProvider,tW as AssociationProvider,tJ as AssociationSelect,tX as AsyncDataContext,tZ as AsyncDataProvider,tQ as AttachmentList,t0 as AutoComplete,t1 as BackButtonUsedInSubPage,t2 as BaseVariableProvider,t5 as BlankComponent,t4 as Block,t6 as BlockAssociationContext,t7 as BlockConfigsContext,t9 as BlockConfigsProvider,t8 as BlockContext,t3 as BlockGridModel,oe as BlockInitializer,ot as BlockItem,oo as BlockItemCard,ol as BlockItemCardContext,on as BlockItemInitializer,oa as BlockModel,or as BlockProvider,oi as BlockRequestContextProvider,os as BlockRequestContext_deprecated,od as BlockRequestLoadingContext,ou as BlockRequestProvider,oc as BlockRequestProvider_deprecated,op as BlockResourceContext,om as BlockSceneEnum,oh as BlockSchemaComponentPlugin,ox as BlockSchemaComponentProvider,ov as BlockSchemaToolbar,o_ as BlockTemplateContext,of as BlockTemplateDetails,og as BlockTemplatePage,ob as BlockTemplateProvider,oy as BlockTemplatesPane,oS as BlocksSelector,ok as ButtonEditor,oC as CSSVariableProvider,oM as CardItem,ow as Cascader,oF as Checkbox,oP as CheckboxFieldInterface,oj as CheckboxGroupFieldInterface,oA as ChildPageModel,oI as ChildPageTabModel,oT as ClearCollectionFieldContext,oD as ClickableFieldModel,oL as CodeEditor,oY as CodeEditorExtension,oR as Collection,oB as CollectionActionGroupModel,oN as CollectionActionModel,oE as CollectionBlockModel,o$ as CollectionCategoriesContext,oz as CollectionCategoriesProvider,oO as CollectionCategory,oq as CollectionContext,oV as CollectionDeletedPlaceholder,oH as CollectionField,oU as CollectionFieldContext,oG as CollectionFieldInterface,oK as CollectionFieldInterfaceManager,oW as CollectionFieldInterfaceTag,oJ as CollectionFieldProvider,oX as CollectionFieldUISchemaProvider,oZ as CollectionFieldsToFormInitializerItems,oQ as CollectionFieldsToInitializerItems,o0 as CollectionFieldsToTableInitializerItems,o1 as CollectionHistoryProvider,o2 as CollectionManager,o5 as CollectionManagerContext,o4 as CollectionManagerProvider,o6 as CollectionManagerProvider_deprecated,o7 as CollectionManagerSchemaComponentProvider,o9 as CollectionNotAllowViewPlaceholder,o8 as CollectionPlugin,o3 as CollectionProvider,le as CollectionProvider_deprecated,lt as CollectionRecord,lo as CollectionRecordContext,ll as CollectionRecordProvider,ln as CollectionSelect,la as CollectionSelectFieldInterface,lr as CollectionTemplate,li as CollectionTemplateManager,ls as CollectionTemplateTag,ld as ColorFieldInterface,lu as ColorPicker,lc as ColorSelect,lp as CommonItemModel,lm as CompatibleSchemaInitializer,lh as CreateFilterActionInitializer,lx as CreateFormModel,lv as CreateResetActionInitializer,l_ as CreatedAtFieldInterface,lf as CreatedByFieldInterface,lg as Cron,lb as CronSet,ly as CurrentAppInfoContext,lS as CurrentAppInfoProvider,lk as CurrentPageUidContext,lC as CurrentPageUidProvider,lM as CurrentRouteProvider,lw as CurrentTabUidContext,lF as CurrentTabUidProvider,lP as CurrentUserContext,lj as CurrentUserProvider,lA as CurrentUserSettingsMenuProvider,lI as CustomRouterContextProvider,lT as CustomizeActionInitializer,lD as DEBOUNCE_WAIT,lL as DEFAULT_DATA_SOURCE_KEY,lY as DEFAULT_DATA_SOURCE_TITLE,lR as DataBlockCollector,lB as DataBlockContext,lN as DataBlockInitializer,lE as DataBlockModel,l$ as DataBlockProvider,lz as DataBlockResourceContext,lO as DataBlockResourceProvider,lq as DataSource,lV as DataSourceApplicationProvider,lH as DataSourceCollectionCascader,lU as DataSourceContext,lG as DataSourceContext_deprecated,lK as DataSourceManager,lW as DataSourceManagerContext,lJ as DataSourceManagerProvider,lX as DataSourceProvider,lZ as DataSourceProvider_deprecated,lQ as DataSourceSelect,l0 as DateFieldInterface,l1 as DateFilterDynamicComponent,l2 as DateFormatCom,l5 as DatePicker,l4 as DatePickerProvider,l6 as DatetimeFieldInterface,l7 as DatetimeNoTzFieldInterface,l9 as DefaultToolsManager,l8 as DefaultValueProvider,l3 as DeleteCollection,ne as DeleteCollectionAction,nt as Designable,no as DesignableSwitch,nl as Details,nn as DetailsAssociationFieldGroupModel,na as DetailsBlockContext,nr as DetailsBlockModel,ni as DetailsBlockProvider,ns as DetailsCustomItemModel,nd as DetailsDesigner,nu as DetailsGridModel,nc as DetailsItemModel,np as DisplaySubTableFieldModel,nm as DisplayTextFieldModel,nh as DisplayTitleFieldModel,nx as Divider,nv as DndContext,n_ as DocumentTitleContext,nf as DocumentTitleProvider,ng as DragHandler,nb as DraggableContext,ny as DropdownVisibleContext,nS as EMPTY_OBJECT,nk as EditCollection,nC as EditCollectionAction,nM as EditCollectionField,nw as EditComponent,nF as EditDefaultValue,nP as EditDescription,nj as EditFieldAction,nA as EditFormModel,nI as EditOperator,nT as EditPattern,nD as EditRequired,nL as EditSortField,nY as EditSubFieldAction,nR as EditTable,nB as EditTableAction,nN as EditTableActionContext,nE as EditTitle,n$ as EditTitleField,nz as EditTooltip,nO as EditValidationRules,nq as Editable,nV as EllipsisWithTooltip,nH as EmailFieldInterface,nU as ErrorFallback,nG as Expand,nK as ExpiresRadio,nW as ExtendCollectionsContext,nJ as ExtendCollectionsProvider,nX as FieldModel,nZ as FieldModelRenderer,nQ as FieldSummary,n0 as FieldValidation,n1 as FieldsTreeSelect,n2 as Fieldset,n5 as Filter,n4 as FilterAction,n6 as FilterActionContext,n7 as FilterActionModel,n9 as FilterAssociatedFields,n8 as FilterBlockModel,n3 as FilterBlockProvider,ae as FilterBlockType,at as FilterContext,ao as FilterDynamicComponent,al as FilterFormActionGroupModel,an as FilterFormBlockModel,aa as FilterFormBlockProvider,ar as FilterFormItemModel,ai as FilterGroup,as as FilterLogicContext,ad as FilterParentCollectionFields,au as FlagContext,ac as FlagProvider,ap as ForeignKey,am as Form,ah as FormActionGroupModel,ax as FormActionModel,av as FormActiveFieldsProvider,a_ as FormAssociationFieldGroupModel,af as FormBlockContext,ag as FormBlockInitializer,ab as FormBlockModel,ay as FormBlockProvider,aS as FormComponent,ak as FormDialog,aC as FormDrawer,aM as FormField,aw as FormFieldContext,aF as FormFieldProvider,aP as FormGridModel,aj as FormItem,aA as FormItemModel,aI as FormItemSchemaToolbar,aT as FormProvider,aD as FormSubmitActionModel,aL as FormV2,aY as G2Plot,aR as G2PlotInitializer,aB as G2PlotRenderer,aN as GeneralSchemaDesigner,aE as GeneralSchemaItems,a$ as GlobalThemeProvider,az as Grid,aO as GridCard,aq as GridModel,aV as GridRowContext,aH as HTMLEncode,aU as HeightMode,aG as ICON_POPUP_Z_INDEX,aK as Icon,aW as IconFieldInterface,aJ as IconPicker,aX as IdFieldInterface,aZ as InheritanceCollectionMixin,aQ as InitializerWithSwitch,a0 as Input,a1 as InputFieldInterface,a2 as InputFieldModel,a5 as InputNumber,a4 as InputReadPretty,a6 as InputRecordPicker,a7 as IntegerFieldInterface,a9 as InternalAdminSettingsLayout,a8 as IsInNocoBaseRecursionFieldContext,a3 as IsSubPageClosedByPageMenuContext,re as IsSubPageClosedByPageMenuProvider,rt as JSActionModel,ro as Json,rl as JsonFieldInterface,rn as KeepAlive,ra as LAZY_COMPONENT_KEY,rr as LOADING_DELAY,ri as Layout,rs as LayoutContent,rd as LinkActionModel,ru as LinkToFieldInterface,rc as LinkageFilter,rp as LinkageRuleCategory,rm as LinkageRuleDataKeyMap,rh as List,rx as LocalDataSource,rv as LocationSearchContext,r_ as M2MFieldInterface,rf as M2OFieldInterface,rg as Markdown,rb as MarkdownFieldInterface,ry as MarkdownReadPretty,rS as MaybeCollectionProvider,rk as Menu,rC as MenuConfigure,rM as MockFlowModelRepository,rw as ModalActionSchemaInitializerItem,rF as MultipleSelectFieldInterface,rP as NAMESPACE_UI_SCHEMA,rj as NanoIDInput,rA as NanoidFieldInterface,rI as NocoBaseBuildInPlugin,rT as NocoBaseDesktopRouteType,rD as NocoBaseRecursionField,rL as NocoBaseRouteContext,rY as NumberFieldInterface,rR as O2MFieldInterface,rB as O2OFieldInterface,rN as OBOFieldInterface,rE as OHOFieldInterface,r$ as OpenModeProvider,rz as OverridingCollectionField,rO as OverridingFieldAction,rq as PMPlugin,rV as Page,rH as PagePopups,rU as PageTabs,rG as Pagination,rK as ParentCollectionFields,rW as ParentRouteContext,rJ as Password,rX as PasswordFieldInterface,rZ as Percent,rQ as PercentFieldInterface,r0 as PermissionContext,r1 as PermissionProvider,r2 as PhoneFieldInterface,r5 as PinnedListPlugin,r4 as PinnedPluginList,r6 as PinnedPluginListContext,r7 as PinnedPluginListProvider,r9 as Plugin,r8 as PluginManager,r3 as PluginManagerLink,ie as PluginSettingsManager,it as PopupActionModel,io as PopupContextProvider,il as PopupSettingsProvider,ia as PopupSubTableFormActionGroupModel,ir as PoweredBy,ii as Preview,is as QuickEdit,id as REGEX_OF_VARIABLE,iu as REGEX_OF_VARIABLE_IN_EXPRESSION,ic as Radio,ip as RadioGroupFieldInterface,im as ReadPretty,ih as ReadPrettyRecordPicker,ix as RecordActionGroupModel,iv as RecordAssociationBlockInitializer,i_ as RecordAssociationDetailsBlockInitializer,ig as RecordAssociationFormBlockInitializer,ib as RecordAssociationGridCardBlockInitializer,iy as RecordAssociationListBlockInitializer,iS as RecordContext_deprecated,ik as RecordFormBlockInitializer,iC as RecordIndexContext,iM as RecordIndexProvider,iw as RecordLink,iF as RecordPicker,iP as RecordPickerContent,ij as RecordPickerContext,iA as RecordPickerProvider,iI as RecordProvider,iT as RecordReadPrettyAssociationFormBlockInitializer,iD as RecordSelectFieldModel,iL as RecordSimpleProvider,iY as RefreshActionModel,iR as RefreshComponentProvider,iB as RefreshDataBlockRequest,iN as RemoteCollectionManagerProvider,iE as RemoteDocumentTitlePlugin,i$ as RemoteDocumentTitleProvider,iz as RemoteSchemaComponent,iO as RemoteSchemaTemplateManagerPlugin,iq as RemoteSchemaTemplateManagerProvider,iV as RemoteSelect,iH as RemoveButton,iU as RemoveConditionContext,iG as RenderChildrenWithAssociationFilter,iK as RequestSettings,iW as RerenderDataBlockProvider,iJ as Resizable,iX as ResourceActionContext,iZ as ResourceActionProvider,iQ as RichText,i0 as RichTextFieldInterface,i1 as RoleConfigure,i2 as RoleResourceCollectionContext,i5 as RoleTable,i4 as RolesResourcesActions,i6 as RouteSchemaComponent,i7 as RouterContextCleaner,i9 as RouterManager,i8 as SNIPPET_PREFIX,i3 as SanitizedCollectionProvider,se as SchemaComponent,st as SchemaComponentContext,so as SchemaComponentOnChangeContext,sl as SchemaComponentOptions,sn as SchemaComponentPlugin,sa as SchemaComponentProvider,sr as SchemaInitializer,si as SchemaInitializerActionModal,ss as SchemaInitializerActionModalInternal,sd as SchemaInitializerChild,su as SchemaInitializerChildren,sc as SchemaInitializerContext,sp as SchemaInitializerDivider,sm as SchemaInitializerItem,sh as SchemaInitializerItemContext,sx as SchemaInitializerItemGroup,sv as SchemaInitializerItemGroupInternal,s_ as SchemaInitializerItemInternal,sf as SchemaInitializerItems,sg as SchemaInitializerManager,sb as SchemaInitializerMenu,sy as SchemaInitializerMenuProvider,sS as SchemaInitializerOpenModeSchemaItems,sk as SchemaInitializerPlugin,sC as SchemaInitializerSelect,sM as SchemaInitializerSelectInternal,sw as SchemaInitializerSubMenu,sF as SchemaInitializerSubMenuInternal,sP as SchemaInitializerSwitch,sj as SchemaInitializerSwitchInternal,sA as SchemaSettingAccessControl,sI as SchemaSettingItemContext,sT as SchemaSettingOpenModeSchemaItems,sD as SchemaSettings,sL as SchemaSettingsActionLinkItem,sY as SchemaSettingsActionModalItem,sR as SchemaSettingsBlockHeightItem,sB as SchemaSettingsBlockTitleItem,sN as SchemaSettingsCascaderItem,sE as SchemaSettingsChild,s$ as SchemaSettingsChildren,sz as SchemaSettingsConnectDataBlocks,sO as SchemaSettingsDataScope,sq as SchemaSettingsDataTemplates,sV as SchemaSettingsDateFormat,sH as SchemaSettingsDefaultSortingRules,sU as SchemaSettingsDefaultValue,sG as SchemaSettingsDivider,sK as SchemaSettingsDropdown,sW as SchemaSettingsEnableChildCollections,sJ as SchemaSettingsFixed,sX as SchemaSettingsFormItemTemplate,sZ as SchemaSettingsItem,sQ as SchemaSettingsItemGroup,s0 as SchemaSettingsLayoutItem,s1 as SchemaSettingsLinkageRules,s2 as SchemaSettingsManager,s5 as SchemaSettingsModalItem,s4 as SchemaSettingsNumberFormat,s6 as SchemaSettingsPlugin,s7 as SchemaSettingsPopupItem,s9 as SchemaSettingsProvider,s8 as SchemaSettingsRemove,s3 as SchemaSettingsRenderEngine,de as SchemaSettingsSelectItem,dt as SchemaSettingsSortingRule,dl as SchemaSettingsSubMenu,dn as SchemaSettingsSwitchItem,da as SchemaSettingsTemplate,dr as SchemaSettingsWrapper,di as SchemaTemplateManagerContext,ds as SchemaToolbar,dd as SchemaToolbarContext,du as SchemaToolbarProvider,dc as SchemaToolbarVisibleContext,dp as ScopeSelect,dm as SearchCollections,dh as SecondConFirm,dx as Select,dv as SelectActionInitializer,d_ as SelectFieldInterface,df as SelectWithTitle,dg as SetDataLoadingMode,db as SettingCenterPermissionProvider,dy as SettingCenterProvider,dS as SettingsCenterConfigure,dk as SettingsCenterContext,dC as SettingsCenterDropdown,dM as SettingsMenuProvider,dw as ShowFormData,dF as SkeletonFallback,dP as SkipValidation,dj as SnowflakeIdFieldInterface,dA as Sortable,dI as SortableContext,dT as SortableItem,dD as SortableProvider,dL as SourceCollection,dY as SourceForeignKey,dR as SourceKey,dB as Space,dN as StablePopover,dE as StrategyActions,d$ as SubFieldDataSourceProvider_deprecated,dz as SubTableColumnModel,dO as SubTableFieldInterface,dq as SubTableFieldModel,dV as SubmitActionInitializer,dH as SwitchLanguage,dU as SyncFieldsAction,dG as SyncFieldsActionCom,dK as SyncSQLFieldsAction,dW as SystemSettingsPane,dJ as SystemSettingsPlugin,dX as SystemSettingsSource,dZ as Table,dQ as TableActionColumnInitializer,d0 as TableAssociationFieldGroupModel,d1 as TableBlockContext,d2 as TableBlockDesigner,d5 as TableBlockInitializer,d4 as TableBlockModel,d6 as TableBlockProvider,d7 as TableColumnModel,d9 as TableColumnSchemaToolbar,d8 as TableField,d3 as TableFieldContext,ue as TableFieldProvider,ut as TableFieldResource,uo as TableSelectorContext,ul as TableSelectorDesigner,un as TableSelectorInitializer,ua as TableSelectorParamsProvider,ur as TableSelectorProvider,ui as TableV2,us as TableoidFieldInterface,ud as Tabs,uu as TabsContextProvider,uc as TargetForeignKey,up as TargetKey,um as TemplateBlockProvider,uh as TemplateSummary,ux as Templates,uv as TestDesigner,u_ as TextAreaWithContextSelector,uf as TextAreaWithGlobalScope,ug as TextareaFieldInterface,ub as ThroughCollection,uy as ThroughForeignKey,uS as TimeFieldInterface,uk as TimePicker,uC as TreeSelect,uM as UUIDFieldInterface,uw as UnSupportFields,uF as UnixTimestamp,uP as UnixTimestampFieldInterface,uj as UpdateRecordActionModel,uA as UpdatedAtFieldInterface,uI as UpdatedByFieldInterface,uT as Upload,uD as Uploader,uL as UrlFieldInterface,uY as Variable,uR as VariableFilterItem,uB as VariableInput,uN as VariablePopupRecordProvider,uE as VariableScope,u$ as VariableScopeProvider,uz as VariableSelect,uO as VariablesContext,uq as VariablesProvider,uV as ViewCollectionField,uH as ViewFieldAction,uU as WithoutFormFieldResource,uG as WithoutTableFieldResource,uK as actionSettings,uW as actionSettingsItems,uJ as addCustomAlgorithmToTheme,uX as allowAddNew,uZ as appendQueryStringToUrl,uQ as applyCollectionFieldUiSchemaToDefaultValueSchema,u0 as applyMobilePaginationProps,u1 as attachmentFileTypes,u2 as autoFill,u5 as autoIncrement,u4 as canMakeAssociationBlock,u6 as collectionDataSource,u7 as compatOldTheme,u9 as completeURL,u8 as compose,u3 as constraintsProps,ce as createCompactSimpleItemRender,ct as createCreateFormBlockUISchema,co as createDesignable,cl as createDetailsBlockSchema,cn as createFormActionInitializers,ca as createFormActionInitializers_deprecated,cr as createFormBlockSchema,ci as createFormBlockSettings,cs as createModalSettingsItem,cd as createReadPrettyFormBlockSchema,cu as createRouterManager,cc as createSelectSchemaSettingsItem,cp as createStyles,cm as createSwitchSettingsItem,ch as createTableBlockSchema,cx as createTableBlockUISchema,cv as createTextSettingsItem,c_ as css,cf as customAlgorithm,cg as customFormItemInitializers,cb as customFormItemInitializers_deprecated,cy as dataSource,cS as dateTimeProps,ck as defaultFieldNames,cC as defaultInputStyle,cM as defaultProps,cw as defaultTheme,cF as dispatchEventDeep,cP as ds,cj as editFormBlockSettings,cA as editMarkdownFlow,cI as fetchTemplateData,cT as fieldComponentSettingsItem,cD as fieldSettingsFormItem,cL as fileSizeSetting,cY as fillParentFields,cR as filterFormItemSettings,cB as findByUid,cN as findFilterTargets,cE as findFirstPageRoute,c$ as findFormBlock,cz as findKanbanFormItem,cO as findKeysByUid,cq as findMenuItem,cV as findParentFieldSchema,cH as findRouteBySchemaUid,cU as formActionInitializers,cG as formDetailsSettings,cK as formItemInitializers,cW as formItemInitializers_deprecated,cJ as formItemSettings,cX as formSettings,cZ as formV1Settings,cQ as genStyleHook,c0 as getAppends,c1 as getAssociationPath,c2 as getCardItemSchema,c5 as getCollectionTitle,c4 as getConfigurableProperties,c6 as getCurrentOptions,c7 as getDataSourceHeaders,c9 as getDateExact,c8 as getDatePickerLabels,c3 as getDateRanges,pe as getFieldDefaultValue,pt as getFilterByTkByCollection,po as getFlowPageMenuSchema,pl as getFormValues,pn as getIdsWithChildren,pa as getLabelFormatValue,pr as getLabelWithTooltip,pi as getPageMenuSchema,ps as getPageSchema,pd as getPinnedPluginListKeys,pu as getPopupPathFromParams,pc as getRenderContent,pp as getSchemaSettingsConfirmZIndex,pm as getSchemaSettingsDialogZIndex,ph as getShouldChange,px as getSimpleModePaginationClassName,pv as getStoredPopupContext,p_ as getSupportFieldsByAssociation,pf as getSupportFieldsByForeignKey,pg as getTabSchema,pb as getURLSearchParams,py as getURLSearchParamsChildren,pS as getUniqueKeyFromCollection,pk as getUnknownCountPaginationTotal,pC as getVariableComponentWithScope,pM as getVariableValue,pw as getVariablesFromExpression,pF as getZIndex,pP as gridRowColWrap,pj as handleDateChangeOnForm,pA as hasIcon,pI as i18n,pT as icons,pD as inferPickerType,pL as interfacesOfUnsupportedDefaultValue,pY as interfacesProperties,pR as isAssocField,pB as isBulkEditAction,pN as isDeleteButtonDisabled,pE as isFileCollection,p$ as isInFilterFormBlock,pz as isInitializersSame,pO as isMobile,pq as isPatternDisabled,pV as isSameCollection,pH as isShowFilePicker,pU as isSystemField,pG as isTabPage,pK as isTitleField,pW as isVariable,pJ as isWriteEmailAction,pX as itemsMerge,pZ as joinCollectionName,pQ as joinUrlSearch,p0 as languageCodes,p1 as lazy,p2 as locale,p5 as mapDatePicker,p4 as mapRangePicker,p6 as mapTimeFormat,p7 as matchMimetype,p9 as mergeFilter,p8 as mergePaginationClassName,p3 as mockAPIClient,me as moment2str,mt as navigateToTab,mo as navigateWithinSelf,ml as normalizeContainer,mn as openViewFlow,ma as operators,mr as pageSettings,mi as pageTabSettings,ms as parseCollectionName,md as parseVariablesAndChangeParamsToQueryString,mu as primaryKey,mc as readPrettyFormSettings,mp as recordBlockInitializers,mm as recordBlockInitializers_deprecated,mh as recordPickerViewer,mx as recursiveParent,mv as reduceValueSize,m_ as registerIcon,mf as registerIcons,mg as registerInitializerMenusGenerator,mb as relationshipType,my as removeNullCondition,mS as replaceVariableValue,mk as replaceVariables,mC as requestParentRecordData,mM as resolveFilterPickerFormat,mw as reverseFieldProperties,mF as schemaSettingsLabelLayout,mP as setDataLoadingModeSettingsItem,mj as setDefaultSortingRulesSchemaSettingsItem,mA as setTheDataScopeSchemaSettingsItem,mI as shouldRenderIconInTitle,mT as showFileName,mD as splitWrapSchema,mL as storePopupContext,mY as subTableActionInitializers,mR as subTableActionInitializers_deprecated,mB as systemKeys,mN as tabPaneInitializers,mE as tabPaneInitializersForBulkEditFormBlock,m$ as tabPaneInitializersForRecordBlock,mz as tabPaneInitializers_deprecated,mO as tableActionColumnInitializers,mq as tableActionColumnInitializers_deprecated,mV as tableActionInitializers,mH as tableActionInitializers_deprecated,mU as tableBlockSettings,mG as tableColumnInitializers,mK as tableColumnInitializers_deprecated,mW as tableColumnSettings,mJ as tableSelectorBlockSettings,mX as timeProps,mZ as titleField,mQ as toToolsMap,m0 as transformFilter,m1 as transformToFilter,m2 as transformVariableValue,m5 as tval,m4 as type,m6 as unique,m7 as updateFilterTargets,m9 as updateFormActionInitializers,m8 as updateFormActionInitializers_deprecated,m3 as useACLActionParamsContext,he as useACLContext,ht as useACLFieldWhitelist,ho as useACLRoleContext,hl as useACLRolesCheck,hn as useAPIClient,ha as useAPITokenVariable,hr as useAclSnippets,hi as useActionAvailable,hs as useActionBarContext,hd as useActionContext,hu as useAdminSchemaUid,hc as useAfterSuccessOptions,hp as useAllAccessDesktopRoutes,hm as useAllCollectionsInheritChainGetter,hh as useAllDataBlocks,hx as useApp,hv as useAppLangContext,h_ as useAppSpin,hf as useAriaAttributeOfMenuItem,hg as useAssociatedFields,hb as useAssociatedFormItemInitializerFields,hy as useAssociatedTableColumnInitializerFields,hS as useAssociationCreateActionProps,hk as useAssociationFieldContext,hC as useAssociationFieldModeContext,hM as useAssociationFilterBlockProps,hw as useAssociationFilterProps,hF as useAssociationName,hP as useAssociationNames,hj as useAsyncData,hA as useAttach,hI as useBackButton,hT as useBaseVariable,hD as useBlockAssociationContext,hL as useBlockConfigs,hY as useBlockContext,hR as useBlockHeight,hB as useBlockHeightProps,hN as useBlockRequestContext,hE as useBlockResource,h$ as useBlockTemplateContext,hz as useBuiltinVariables,hO as useBulkDestroyAction,hq as useBulkDestroyActionAndRefreshCM,hV as useBulkDestroyActionProps,hH as useCancelAction,hU as useCloseAction,hG as useCollectValuesToSubmit,hK as useCollection,hW as useCollectionDataSource,hJ as useCollectionDataSourceItems,hX as useCollectionField,hZ as useCollectionFieldFormValues,hQ as useCollectionField_deprecated,h0 as useCollectionFields,h1 as useCollectionFieldsOptions,h2 as useCollectionFilterOptions,h5 as useCollectionHistory,h4 as useCollectionManager,h6 as useCollectionManager_deprecated,h7 as useCollectionParentRecord,h9 as useCollectionParentRecordData,h8 as useCollectionRecord,h3 as useCollectionRecordData,xe as useCollectionState,xt as useCollection_deprecated,xo as useCollections,xl as useColumnSchema,xn as useColumnSettings,xa as useCompatOldVariables,xr as useCompile,xi as useComponent,xs as useContextAssociationFields,xd as useContextVariable,xu as useCreateActionProps,xc as useCreateAssociationDetailsBlock,xp as useCreateAssociationDetailsWithoutPagination,xm as useCreateAssociationFormBlock,xh as useCreateAssociationGridCardBlock,xx as useCreateAssociationListBlock,xv as useCreateAssociationTableBlock,x_ as useCreateEditFormBlock,xf as useCreateFormBlock,xg as useCreateTableBlock,xb as useCurrentAppInfo,xy as useCurrentDocumentTitle,xS as useCurrentPageUid,xk as useCurrentPopupContext,xC as useCurrentPopupRecord,xM as useCurrentRoleMode,xw as useCurrentRoleVariable,xF as useCurrentRoles,xP as useCurrentRoute,xj as useCurrentSchema,xA as useCurrentSearchParams,xI as useCurrentTabUid,xT as useCurrentUserContext,xD as useCurrentUserSettingsMenu,xL as useCurrentUserVariable,xY as useCustomizeBulkUpdateActionProps,xR as useCustomizeRequestActionProps,xB as useCustomizeUpdateActionProps,xN as useDataBlock,xE as useDataBlockHeight,x$ as useDataBlockParentRecord,xz as useDataBlockProps,xO as useDataBlockRequest,xq as useDataBlockRequestData,xV as useDataBlockRequestGetter,xH as useDataBlockResource,xU as useDataLoadingMode,xG as useDataSource,xK as useDataSourceFromRAC,xW as useDataSourceHeaders,xJ as useDataSourceKey,xX as useDataSourceManager,xZ as useDataTemplates,xQ as useDatePickerContext,x0 as useDateVariable,x1 as useDatetimeVariable,x2 as useDatetimeVariableContext,x5 as useDeleteRouteSchema,x4 as useDesignable,x6 as useDesigner,x7 as useDestroyAction,x9 as useDestroyActionAndRefreshCM,x8 as useDestroyActionProps,x3 as useDetailsBlockContext,ve as useDetailsBlockProps,vt as useDetailsDecoratorProps,vo as useDetailsPaginationProps,vl as useDetailsParentRecord,vn as useDetailsProps,va as useDetailsWithPaginationBlockParams,vr as useDetailsWithPaginationDecoratorProps,vi as useDetailsWithPaginationProps,vs as useDisassociateActionProps,vd as useDocumentTitle,vu as useDownloadLogs,vc as useEditTableActionProps,vp as useEnsureOperatorsValid,vm as useExactDateVariable,vh as useExactDateVariableContext,vx as useExtendCollections,vv as useFieldComponentName,v_ as useFieldComponentOptions,vf as useFieldInterfaceOptions,vg as useFieldMode,vb as useFieldModeOptions,vy as useFieldNames,vS as useFieldProps,vk as useFieldTitle,vC as useFilterAPI,vM as useFilterActionProps,vw as useFilterBlock,vF as useFilterBlockActionProps,vP as useFilterByTk,vj as useFilterFieldOptions,vA as useFilterFieldProps,vI as useFilterOptions,vT as useFindComponent,vD as useFlag,vL as useFormActiveFields,vY as useFormBlockContext,vR as useFormBlockProps,vB as useFormBlockType,vN as useFormDataTemplates,vE as useFormFieldContext,v$ as useFormFieldProps,vz as useFormItemInitializerFields,vO as useGetAriaLabelOfAction,vq as useGetAriaLabelOfDesigner,vV as useGetAriaLabelOfDrawer,vH as useGetAriaLabelOfModal,vU as useGetAriaLabelOfPopover,vG as useGetFilterFieldOptions,vK as useGetFilterOptions,vW as useGetSchemaInitializerMenuItems,vJ as useGlobalTheme,vX as useGlobalVariable,vZ as useGlobalVariableCtx,vQ as useGridContext,v0 as useGridRowContext,v1 as useHistoryCollectionsByNames,v2 as useInheritsTableColumnInitializerFields,v5 as useInsertPageSchema,v4 as useIsAddNewForm,v6 as useIsAdminPage,v7 as useIsAllowToSetDefaultValue,v9 as useIsAssociationField,v8 as useIsDetailBlock,v3 as useIsFieldReadPretty,_e as useIsFileField,_t as useIsFormReadPretty,_o as useIsInSettingsPage,_l as useIsLoggedIn,_n as useIsSameOrChildCollection,_a as useIsSelectFieldMode,_r as useIsSubPageClosedByPageMenu,_i as useKeepAlive,_s as useLabelUiSchema,_d as useLazy,_u as useLinkActionProps,_c as useLinkageAction,_p as useLinkageCollectionFilterOptions,_m as useListBlockContext,_h as useLocalVariables,_x as useLocalVariablesWithoutCustomVariable,_v as useLocationNoUpdate,__ as useLocationSearch,_f as useMenuDragEnd,_g as useMenuSearch,_b as useMenuTranslation,_y as useMobileLayout,_S as useNavigateNoUpdate,_k as useNocoBaseRoutes,_C as useOpenModeContext,_M as useOptionalFieldList,_w as useParamsFromRecord,_F as useParentCollection,_P as useParentRecordCommon,_j as useParentRoute,_A as useParseDataScopeFilter,_I as useParseURLAndParams,_T as useParsedFilter,_D as usePickActionProps,_L as usePlugin,_Y as usePopupSettings,_R as usePopupUtils,_B as usePopupVariable,_N as usePopupVariableContext,_E as useProps,_$ as useRecord,_z as useRecordCollectionDataSourceItems,_O as useRecordIndex,_q as useRecordIsOwn,_V as useRecordPkValue,_H as useRefreshActionProps,_U as useRefreshFieldSchema,_G as useRemoteCollectionManagerLoading,_K as useRemoveActionProps,_W as useRemoveGridFormItem,_J as useRequest,_X as useRerenderDataBlock,_Z as useResetBlockActionProps,_Q as useResource,_0 as useResourceActionContext,_1 as useResourceContext,_2 as useRoleRecheck,_5 as useRoleVariable,_4 as useRolesResourcesScopesSelectedRowKeys,_6 as useRouter,_7 as useRouterBasename,_9 as useSchemaComponentContext,_8 as useSchemaInitializer,_3 as useSchemaInitializerItem,fe as useSchemaInitializerMenuItems,ft as useSchemaInitializerRender,fo as useSchemaInitializerStyles,fl as useSchemaInitializerSubMenuContext,fn as useSchemaOptionsContext,fa as useSchemaSettings,fr as useSchemaSettingsItem,fi as useSchemaSettingsRender,fs as useSchemaTemplate,fd as useSchemaTemplateManager,fu as useSchemaToolbar,fc as useSchemaToolbarRender,fp as useSortFields,fm as useSourceId,fh as useSourceIdFromParentRecord,fx as useSourceIdFromRecord,fv as useStyles,f_ as useSupportedBlocks,ff as useSyncFromForm,fg as useSystemSettings,fb as useSystemSettingsVariable,fy as useTableBlockContext,fS as useTableBlockContextBasicValue,fk as useTableBlockDecoratorProps,fC as useTableBlockParams,fM as useTableBlockProps,fw as useTableColumnInitializerFields,fF as useTableColumnIntegration,fP as useTableColumns,fj as useTableFieldContext,fA as useTableFieldProps,fI as useTableSelectorContext,fT as useTableSelectorProps,fD as useTableSize,fL as useTabsContext,fY as useTemplateBlockContext,fR as useTitleFieldOptions,fB as useToken,fN as useUIConfigurationPermissions,fE as useURLAndHTMLSchema,f$ as useURLSearchParamsCtx,fz as useURLSearchParamsVariable,fO as useUpdateActionProps,fq as useUpdateCollectionActionAndRefreshCM,fV as useUploadStyles,fH as useUserVariable,fU as useValidateSchema,fG as useValuesFromRecord,fK as useVariableOptions,fW as useVariableScope,fJ as useVariableScopeInfo,fX as useVariables,fZ as useViewport,fQ as useZIndexContext,f0 as withDynamicSchemaProps,f1 as withInitializer,f2 as withSearchParams,f5 as withSkeletonComponent,f4 as zIndexContext};
|
|
1818
|
+
`;class tU extends q.k{async load(){this.schemaSettingsManager.add(eO.F),this.schemaSettingsManager.add(eD.N),this.schemaSettingsManager.add(eL.R),this.schemaSettingsManager.add(eK),this.schemaSettingsManager.add(eX),this.schemaSettingsManager.add(eF),this.schemaSettingsManager.add(eP),this.schemaSettingsManager.add(eI),this.schemaSettingsManager.add(eT),this.schemaSettingsManager.add(ez.A),this.schemaSettingsManager.add(e$),this.schemaSettingsManager.add(eE),this.schemaSettingsManager.add(eH),this.schemaSettingsManager.add(eZ),this.schemaSettingsManager.add(X),this.schemaSettingsManager.add(er),this.schemaSettingsManager.add(es),this.schemaSettingsManager.add(ed),this.schemaSettingsManager.add(e_),this.schemaSettingsManager.add(ev),this.schemaSettingsManager.add(et),this.schemaSettingsManager.add(eo),this.schemaSettingsManager.add(Q),this.schemaSettingsManager.add(ee),this.schemaSettingsManager.add(Z),this.schemaSettingsManager.add(ex),this.schemaSettingsManager.add(ei.V),this.schemaSettingsManager.add(eh),this.schemaSettingsManager.add(ec.K),this.schemaSettingsManager.add(ep),this.schemaSettingsManager.add(em),this.schemaSettingsManager.add(eu),this.schemaSettingsManager.add(J),this.schemaSettingsManager.add(el),this.schemaSettingsManager.add(eY.l),this.schemaSettingsManager.add(eq._),this.schemaSettingsManager.add(eG),this.schemaSettingsManager.add(e5.NU),this.schemaSettingsManager.add(e5.r0),this.schemaSettingsManager.add(tM),this.schemaSettingsManager.add(tw),this.schemaSettingsManager.add(tk),this.schemaSettingsManager.add(tF),this.schemaSettingsManager.add(tS),this.schemaSettingsManager.add(e7),this.schemaSettingsManager.add(e9),this.schemaSettingsManager.add(tT),this.schemaSettingsManager.add(tm),this.schemaSettingsManager.add(e2.Pq),this.schemaSettingsManager.add(ts),this.schemaSettingsManager.add(ti),this.schemaSettingsManager.add(to),this.schemaSettingsManager.add(td),this.schemaSettingsManager.add(tu),this.schemaSettingsManager.add(tc),this.schemaSettingsManager.add(e8.yp),this.schemaSettingsManager.add(tj),this.schemaSettingsManager.add(e4),this.schemaSettingsManager.add(tr),this.schemaSettingsManager.add(tt),this.schemaSettingsManager.add(te),this.schemaSettingsManager.add(tp),this.schemaSettingsManager.add(tI),this.schemaSettingsManager.add(tH)}}var tG=o(58329),tK=o(4627)},37208(e,t,o){o.d(t,{h:()=>l});let l=e=>{var t;return(null==e||null==(t=e["x-component-props"])?void 0:t["pattern-disable"])==!0}},20349(e,t,o){o.d(t,{e:()=>d});var l=o(56220),n=o(56920),a=o(77843),r=o(70892),i=o(43288),s=o(95951);let d={name:"SetDefaultSortingRules",type:"modal",useComponentProps(){var e,t;let{name:o}=(0,i.k7)(),d=(0,n.useField)(),u=(0,n.useFieldSchema)(),c=(0,i.lY)(o),{service:p}=(0,r.El)(),{t:m}=(0,a.useTranslation)(),{dn:h}=(0,s.er)(),x=(null==u||null==(t=u["x-decorator-props"])||null==(e=t.params)?void 0:e.sort)||[],v=null==x?void 0:x.map(e=>(null==e?void 0:e.startsWith("-"))?{field:e.substring(1),direction:"desc"}:{field:e,direction:"asc"});return{title:m("Set default sorting rules"),components:{ArrayItems:l.ArrayItems},schema:{type:"object",title:m("Set default sorting rules"),properties:{sort:{type:"array",default:v,"x-component":"ArrayItems","x-decorator":"FormItem",items:{type:"object",properties:{space:{type:"void","x-component":"Space",properties:{sort:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.SortHandle"},field:{type:"string",enum:c,required:!0,"x-decorator":"FormItem","x-component":"Select","x-component-props":{style:{width:260}}},direction:{type:"string","x-decorator":"FormItem","x-component":"Radio.Group","x-component-props":{optionType:"button"},enum:[{label:m("ASC"),value:"asc"},{label:m("DESC"),value:"desc"}]},remove:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.Remove"}}}}},properties:{add:{type:"void",title:m("Add sort field"),"x-component":"ArrayItems.Addition"}}}}},onSubmit:e=>{var t;let{sort:o}=e,l=o.map(e=>"desc"===e.direction?`-${e.field}`:e.field),n=d.decoratorProps.params||{};n.sort=l,d.decoratorProps.params=n,u["x-decorator-props"].params=n,h.emit("patch",{schema:{"x-uid":u["x-uid"],"x-decorator-props":u["x-decorator-props"]}}),p.run({...null==(t=p.params)?void 0:t[0],sort:l})}}},useVisible(){let{dragSort:e}=(0,n.useField)().decoratorProps;return!e}}},71162(e,t,o){o.d(t,{d:()=>u});var l=o(56920),n=o(51649),a=o(69412),r=o(70892),i=o(43288),s=o(72548),d=o(95951);let u={name:"SetTheDataScope",Component:o(79056).Z,useComponentProps:()=>{var e,t;let{name:o}=(0,i.k7)(),u=(0,l.useField)(),c=(0,l.useFieldSchema)(),{form:p}=(0,a.Es)(),{service:m}=(0,r.El)(),{dn:h}=(0,d.er)(),x=(0,n.useCallback)(e=>{let{filter:t}=e;t=(0,s.pA)(t);let o=u.decoratorProps.params||{};o.filter=t,u.decoratorProps.params=o,c["x-decorator-props"].params=o,h.emit("patch",{schema:{"x-uid":c["x-uid"],"x-decorator-props":c["x-decorator-props"]}}),m.params[0].page=1},[h,u.decoratorProps,c,m]);return{collectionName:o,defaultFilter:(null==c||null==(t=c["x-decorator-props"])||null==(e=t.params)?void 0:e.filter)||{},form:p,onSubmit:x}}}},24768(e,t,o){o.d(t,{V5:()=>a,XZ:()=>r,kU:()=>i});var l=o(71178),n=o(51649);let a=(0,n.createContext)({componentNamePrefix:""}),r=e=>(0,l.jsx)(a.Provider,{value:{...e,componentNamePrefix:e.componentNamePrefix||""},children:e.children}),i=()=>(0,n.useContext)(a)},46909(e,t,o){o.d(t,{IU:()=>S,D$:()=>f,ov:()=>g,sx:()=>y,cC:()=>v});var l=o(71178),n=o(56920),a=o(27404),r=o(77583),i=o(51649),s=o(16211),d=o(83468),u=o(43288),c=o(28227),p=o(44374),m=o(70136),h=o(63526);let x=(0,n.observer)(e=>{let{templateId:t}=e,{getTemplateById:o}=g(),a=(0,n.useField)(),r=(0,n.useFieldSchema)(),{dn:s}=(0,p.useDesignable)(),d=(0,i.useMemo)(()=>o(t),[t]),{onTemplateSuccess:u}=(0,m.y)(),{isMobileLayout:c}=(0,p.useMobileLayout)();return d?(0,l.jsx)(p.BlockTemplateProvider,{dn:s,field:a,fieldSchema:r,template:d,children:(0,l.jsx)(p.RemoteSchemaComponent,{noForm:!0,uid:null==d?void 0:d.uid,onSuccess:e=>{var t,o;r["x-linkage-rules"]=(null==e||null==(t=e.data)?void 0:t["x-linkage-rules"])||[],r.setProperties(null==e||null==(o=e.data)?void 0:o.properties),null==u||u()},schemaTransform:c?h.transformMultiColumnToSingleColumn:void 0})}):(0,l.jsx)(p.CollectionDeletedPlaceholder,{type:"Block template",name:t})},{displayName:"BlockTemplate"}),v=(0,i.createContext)({});v.displayName="SchemaTemplateManagerContext";let _=e=>{e.name=e["x-uid"]=(0,a.uid)(),Object.keys(e.properties||{}).forEach(t=>{_(e.properties[t])})},f=()=>{let{getTemplateBySchema:e}=g(),t=(0,n.useFieldSchema)(),o=t["x-uid"],l=t["x-template-key"];return(0,i.useMemo)(()=>e(t),[o,l])},g=()=>{let{getInheritCollections:e}=(0,u.nj)(),{refresh:t,templates:o=[]}=(0,i.useContext)(v),l=(0,s.VB)();return{templates:o,refresh:t,getTemplateSchemaByMode:(0,i.useCallback)(async e=>{let{mode:t,template:o}=e;if("copy"===t){let{data:e}=await l.request({url:`/uiSchemas:getJsonSchema/${o.uid}?includeAsyncNode=true`}),t=(null==e?void 0:e.data)||{};return _(t),(0,r.cloneDeep)(t)}if("reference"===t)return{type:"void","x-component":"BlockTemplate","x-component-props":{templateId:o.key}}},[l]),copyTemplateSchema:(0,i.useCallback)(async e=>{let{data:t}=await l.request({url:`/uiSchemas:getJsonSchema/${e.uid}?includeAsyncNode=true`}),o=(null==t?void 0:t.data)||{};return _(o),(0,r.cloneDeep)(o)},[l]),saveAsTemplate:(0,i.useCallback)(async e=>{let{uid:o}=e,n=(0,a.uid)();return await l.resource("uiSchemas").saveAsTemplate({filterByTk:o,values:{key:n,...e}}),await t(),{key:n}},[l,t]),getTemplateBySchema:(0,i.useCallback)(e=>{if(!e)return;let t=e["x-template-key"];if(t)return null==o?void 0:o.find(e=>e.key===t);let l=e["x-uid"];if(l)return null==o?void 0:o.find(e=>e.uid===l)},[o]),getTemplateBySchemaId:(0,i.useCallback)(e=>e?null==o?void 0:o.find(t=>t.uid===e):null,[o]),getTemplateById:(0,i.useCallback)(e=>null==o?void 0:o.find(t=>t.key===e),[o]),getTemplatesByCollection:(0,i.useCallback)((t,l)=>{var n;let a=e(l,t).concat([l]);return(null==o||null==(n=o.filter)?void 0:n.call(o,e=>(e.dataSourceKey||c.Ze)===t&&a.includes(e.collectionName)))||[]},[e,o]),getTemplatesByComponentName:(0,i.useCallback)(e=>{var t;return(null==o||null==(t=o.filter)?void 0:t.call(o,t=>t.componentName===e))||[]},[o])}},b={resource:"uiSchemaTemplates",action:"list",params:{paginate:!1},refreshDeps:[]},y=e=>{var t;let o=(0,s.VB)(),n=(0,s.bP)(b),a=(0,i.useCallback)(async()=>{let{data:e}=await o.request(b);n.mutate(e)},[o,n]),r=(0,i.useMemo)(()=>{var e;return{templates:null==n||null==(e=n.data)?void 0:e.data,refresh:a}},[null==n||null==(t=n.data)?void 0:t.data,a]);return(0,l.jsx)(v.Provider,{value:r,children:e.children})};class S extends d.k{async load(){this.addRoutes(),this.addComponents()}addComponents(){this.app.addComponents({BlockTemplate:x})}addRoutes(){this.app.router.add("admin.plugins.block-templates-key",{path:"/admin/plugins/block-templates/:key",Component:"BlockTemplateDetails"})}}},96932(e,t,o){o.d(t,{ov:()=>g.ov,kU:()=>M.kU,YU:()=>p,sx:()=>g.sx,V5:()=>M.V5,IU:()=>g.IU,D$:()=>g.D$,BZ:()=>k,XZ:()=>M.XZ,NV:()=>C,cC:()=>g.cC});var l=o(71178),n=o(34829),a=o(52793),r=o(51649),i=o(38356),s=o(44374),d=o(41897),u=o(82924);let c=e=>{let[t,o]=(0,r.useState)(e.title),[n,i]=(0,r.useState)(!1),{refresh:d}=(0,s.useSchemaTemplateManager)();(0,s.useAPIClient)();let{run:u}=(0,s.useRequest)({resource:"uiSchemaTemplates",action:"update",params:{filterByTk:e.filterByTk}},{manual:!0,debounceWait:500,onSuccess(){d()}});return(0,l.jsx)("div",{children:n?(0,l.jsx)(a.Input,{defaultValue:t,size:"large",onBlur:()=>{i(!1)},onChange:t=>{o(t.target.value),u({filterByTk:e.filterByTk,values:{name:t.target.value}})}}):(0,l.jsx)("div",{onClick:()=>{i(!0)},children:t||(0,l.jsx)("span",{style:{color:"#bbb"},children:"未命名"})})})},p=()=>{var e,t;let o=(0,d.vx)(),p=(0,i.useParams)(),m=null==p?void 0:p.key,h=(0,r.useContext)(u.u4V),x=(0,r.useMemo)(()=>({...h,designable:!0}),[h]),{data:v,loading:_}=(0,s.useRequest)({resource:"uiSchemaTemplates",action:"get",params:{filterByTk:m}});return _?(0,l.jsx)(a.Spin,{}):(0,l.jsxs)("div",{children:[(0,l.jsx)(n.PageHeader,{style:{backgroundColor:"white"},onBack:()=>{o("/admin/plugins/block-templates")},ghost:!1,title:(0,l.jsx)(c,{filterByTk:m,title:null==v||null==(e=v.data)?void 0:e.name})}),(0,l.jsx)("div",{style:{margin:"var(--nb-spacing)"},children:(0,l.jsx)(u.u4V.Provider,{value:x,children:(0,l.jsx)(u.DYS,{uid:null==v||null==(t=v.data)?void 0:t.uid})})})]})};var m=o(77843),h=o(27404),x=o(40919),v=o(18111),_=o(73761);let f={name:"uiSchemaTemplates",filterTargetKey:"key",targetKey:"key",fields:[{type:"integer",name:"name",interface:"input",uiSchema:{title:'{{ t("Template name") }}',type:"number","x-component":"Input",required:!0}}]};var g=o(46909),b=o(28227);let y=[{name:"name",title:'{{ t("Title") }}',schema:{type:"string","x-component":"Input"},operators:x.string},{name:"collectionName",title:'{{ t("Collection display name") }}',schema:{type:"string","x-component":"Input"},operators:x.string}],S={type:"object",properties:{[(0,h.uid)()]:{type:"void","x-decorator":"TableBlockProvider","x-decorator-props":{collection:f,resource:"uiSchemaTemplates",action:"list",params:{pageSize:20,sort:["-createdAt"]},rowKey:"key",showIndex:!0,dragSort:!1},"x-component":"CardItem",properties:{actions:{type:"void","x-component":"ActionBar","x-component-props":{style:{marginBottom:16}},properties:{filter:{type:"void",title:'{{ t("Filter") }}',default:{$and:[{name:{$includes:""}}]},"x-action":"filter","x-component":"Filter.Action","x-use-component-props":()=>{var e,t;let{service:o}=(0,v.J6)();return(0,u.yGk)({options:y,params:(null==o||null==(t=o.state)||null==(e=t.params)?void 0:e[0])||(null==o?void 0:o.params),service:o})},"x-component-props":{icon:"FilterOutlined"},"x-align":"left"},refresh:{type:"void",title:'{{ t("Refresh") }}',"x-component":"Action","x-use-component-props":"useRefreshActionProps","x-component-props":{icon:"ReloadOutlined"},"x-align":"right"},destroy:{title:'{{ t("Delete") }}',"x-action":"destroy","x-component":"Action","x-use-component-props":()=>{let e=(0,_.useBulkDestroyActionProps)(),t=(0,g.ov)(),{service:o}=(0,v.J6)();return{async onClick(){var l;await e.onClick(),await t.refresh(),null==o||null==(l=o.refresh)||l.call(o)}}},"x-component-props":{icon:"DeleteOutlined",confirm:{title:"{{t('Delete record')}}",content:"{{t('Are you sure you want to delete it?')}}"}}}}},[(0,h.uid)()]:{type:"array","x-component":"TableV2","x-use-component-props":"useTableBlockProps","x-component-props":{rowSelection:{type:"checkbox"}},properties:{column1:{type:"void",title:'{{ t("Title") }}',"x-decorator":"TableV2.Column.Decorator","x-component":"TableV2.Column",properties:{name:{type:"string","x-collection-field":"uiSchemaTemplates.name","x-component":"CollectionField","x-read-pretty":!0,"x-component-props":{ellipsis:!0}}}},column2:{type:"void",title:'{{t("Collection display name")}}',"x-component":"TableV2.Column",properties:{"collection.title":{type:"string","x-component":e=>{let{dataSourceKey:t="main",collectionName:o}=(0,b.zv)(),n=(0,b.m6)(),a=(0,u.lum)(),[i,s]=(0,r.useMemo)(()=>{let e=n.getDataSource(t);if(e){let t=e.collectionManager.getCollection(o);return[e.displayName,(null==t?void 0:t.title)||o]}return[t,null]},[n,t,o]);return(0,l.jsxs)(l.Fragment,{children:[a(i)," ",">"," ",a(s)]})},"x-read-pretty":!0,"x-component-props":{ellipsis:!0}}}},actions:{type:"void",title:'{{ t("Actions") }}',"x-component":"TableV2.Column",properties:{actions:{type:"void","x-decorator":"DndContext","x-component":"Space","x-component-props":{split:"|"},properties:{edit:{type:"void",title:'{{ t("Edit") }}',"x-action":"update","x-component":"Action.Link","x-component-props":{openMode:"drawer",refreshDataBlockRequest:!1},properties:{drawer:{type:"void",title:'{{ t("Edit record") }}',"x-component":"Action.Container","x-component-props":{className:"nb-action-popup"},properties:{form:{type:"void","x-decorator":"FormBlockProvider","x-decorator-props":{resource:"uiSchemaTemplates",collection:f,action:"get",useParams:"{{ useParamsFromRecord }}"},"x-component":"CardItem",properties:{[(0,h.uid)()]:{type:"void","x-component":"FormV2","x-use-component-props":"useFormBlockProps",properties:{name:{type:"string","x-component":"CollectionField","x-decorator":"FormItem","x-collection-field":"uiSchemaTemplates.name",required:!0},actions:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column",style:{marginTop:24}},properties:{submit:{title:'{{t("Submit")}}',"x-action":"submit","x-component":"Action","x-use-component-props":()=>{let e=(0,_.useUpdateActionProps)(),{__parent:t}=(0,v.J6)();return{async onClick(){var o,l;await e.onClick(),null==t||null==(l=t.service)||null==(o=l.refresh)||o.call(l)}}},"x-component-props":{type:"primary",htmlType:"submit"},type:"void"}}}}}}}}}}},destroy:{title:'{{ t("Delete") }}',"x-action":"destroy","x-component":"Action.Link","x-use-component-props":()=>{let e=(0,_.useDestroyActionProps)(),{service:t}=(0,v.J6)(),o=(0,g.ov)();return{async onClick(){var l;await e.onClick(),await o.refresh(),null==t||null==(l=t.refresh)||l.call(t)}}},"x-component-props":{confirm:{title:"{{t('Delete record')}}",content:"{{t('Are you sure you want to delete it?')}}"}}}}}}}}}}}}},k=()=>{let{t:e}=(0,m.useTranslation)();return(0,l.jsxs)("div",{children:[(0,l.jsx)(n.PageHeader,{style:{backgroundColor:"white"},ghost:!1,title:e("Block templates")}),(0,l.jsx)("div",{style:{margin:"var(--nb-spacing)"},children:(0,l.jsx)(u.HvB,{schema:S})})]})},C=()=>{let e=(0,u.Fag)();return(0,l.jsx)(u.u4V.Provider,{value:{...e,designable:!1},children:(0,l.jsx)(u.HvB,{schema:S})})};var M=o(24768)},49948(e,t,o){o.d(t,{K:()=>n.r,r:()=>l.createStyles});var l=o(76821),n=o(78442)},78442(e,t,o){o.d(t,{r:()=>n});var l=o(52793);let n=()=>l.theme.useToken()},86393(e,t,o){o.d(t,{nS:()=>f,or:()=>l.SystemSettingsSource,Cz:()=>b,e6:()=>l.useSystemSettings});var l=o(13975),n=o(71178),a=o(56920),r=o(27404),i=o(52793),s=o(13791);o(51649);var d=o(77843),u=o(44374),c=o(28601),p=o(82924);let m=Object.keys(c.Ay).map(e=>({label:`${c.Ay[e].label} (${e})`,value:e})),h=()=>{let{setVisible:e}=(0,p.D50)();return{async run(){e(!1)}}},x=e=>{let{visible:t}=(0,p.D50)(),o=(0,l.useSystemSettings)();return(0,u.useRequest)(()=>Promise.resolve(null==o?void 0:o.data),{...e,refreshDeps:[t,null==o?void 0:o.data]})},v=()=>{let{setVisible:e}=(0,p.D50)(),t=(0,a.useForm)(),{mutate:o,data:n}=(0,l.useSystemSettings)()||{},r=(0,u.useAPIClient)(),{t:c}=(0,d.useTranslation)();return{async run(){var l;await t.submit();let a=(0,s.default)(t.values);o({data:{...null==n?void 0:n.data,...a}}),await r.request({url:"systemSettings:put",method:"post",data:a}),i.message.success(c("Saved successfully"));let d=(null==(l=a.enabledLanguages)?void 0:l[0])||"en-US";a.enabledLanguages.length<2&&r.auth.getLocale()!==d?(r.auth.setLocale(""),window.location.reload()):e(!1)}}},_={type:"object",properties:{[(0,r.uid)()]:{"x-decorator":"Form","x-decorator-props":{useValues:"{{ useSystemSettingsValues }}"},"x-component":"div",type:"void",title:'{{t("System settings")}}',properties:{raw_title:{type:"string",title:"{{t('System title')}}","x-decorator":"FormItem","x-component":"TextAreaWithGlobalScope","x-component-props":{supportsLineBreak:!0},required:!0},logo:{type:"string",title:"{{t('Logo')}}","x-decorator":"FormItem","x-component":"Upload.Attachment","x-component-props":{action:"attachments:create",multiple:!1},"x-use-component-props":"useFileCollectionStorageRules"},enabledLanguages:{type:"array",title:'{{t("Enabled languages")}}',"x-component":"Select","x-component-props":{mode:"multiple"},"x-decorator":"FormItem",enum:m,"x-reactions":e=>{e.dataSource=m.map(t=>{var o;let l=t.label;return(null==(o=e.value)?void 0:o[0])===t.value&&(l+=`(${u.i18n.t("Default")})`),{label:l,value:t.value}})}},footer1:{type:"void","x-component":"ActionBar","x-component-props":{layout:"one-column"},properties:{submit:{title:'{{t("Submit")}}',"x-component":"Action","x-component-props":{type:"primary",htmlType:"submit",useAction:"{{ useSaveSystemSettingsValues }}"}}}}}}}},f=()=>(0,n.jsx)(i.Card,{bordered:!1,children:(0,n.jsx)(p.HvB,{scope:{useSaveSystemSettingsValues:v,useSystemSettingsValues:x,useCloseAction:h},schema:_})});var g=o(83468);class b extends g.k{async load(){}}},48245(e,t,o){o.d(t,{a:()=>r});var l=o(16211),n=o(20629);class a extends l.Q9{mockAdapter(){return new(o(23975))(this.axios)}}let r=()=>{let e=new a;e.app=new n.lg({});let t=e.mockAdapter();return{apiClient:e,mockRequest:t}}},25157(e,t,o){o.d(t,{BW:()=>p,DB:()=>m,Ip:()=>c,Qd:()=>x,_N:()=>h});var l=o(71178),n=o(504),a=o(51649),r=o(38356),i=o(41906),s=o(16211),d=o(20629),u=o(82924);let c=(0,a.createContext)(null);c.displayName="CurrentUserContext";let p=()=>{let e=(0,n.useFlowEngine)(),t=(0,a.useContext)(c);return!t&&e?{data:{data:e.context.user}}:t},m=()=>{var e;let t=(0,a.useContext)(c);return!!(null==t||null==(e=t.data)?void 0:e.data)},h=()=>{var e;let{allowAnonymous:t}=(0,i.v6)(),{data:o}=p()||{},l=(0,u.lum)();return(0,a.useMemo)(()=>{var e;let n=((null==o||null==(e=o.data)?void 0:e.roles)||[]).map(e=>{let{name:t,title:o}=e;return{name:t,title:l(o)}});return t&&n.push({title:"Anonymous",name:"anonymous"}),n},[t,null==o||null==(e=o.data)?void 0:e.roles,l])},x=e=>{let t=(0,s.VB)(),o=(0,d.nm)(),a=(0,n.useFlowEngine)(),i=(0,r.useNavigate)(),u=(0,r.useLocation)(),p=(null==o?void 0:o.flowEngine)||a,m=(0,s.bP)(()=>t.request({url:"/auth:check",skipNotify:!0,skipAuth:!0}).then(e=>{var t,o,l;(null==e||null==(o=e.data)||null==(t=o.data)?void 0:t.id)==null&&i("/signin?redirect="+u.pathname+u.search);let a=(0,n.createCollectionContextMeta)(()=>{var e;return null==(e=p.context.dataSourceManager.getDataSource("main"))?void 0:e.getCollection("users")},p.translate("Current user"));return a.sort=1e3,p.context.defineProperty("user",{value:null==e||null==(l=e.data)?void 0:l.data,resolveOnServer:!0,meta:a}),null==e?void 0:e.data})),{render:h}=(0,d.vk)();return m.loading?h():(0,l.jsx)(c.Provider,{value:m,children:e.children})}},84693(e,t,o){o.d(t,{mn:()=>a,Gg:()=>c,_N:()=>i._N,DB:()=>i.DB,R2:()=>r,Ip:()=>i.Ip,Qd:()=>i.Qd,BW:()=>i.BW,Y:()=>p});var l=o(51649),n=o(53770);let a=e=>n.$d,r=(0,l.createContext)(null);r.displayName="DropdownVisibleContext";var i=o(25157),s=o(71178),d=o(63526);let u=(0,l.createContext)(null);u.displayName="CurrentUserSettingsMenuContext";let c=()=>{let{menuItems:e}=(0,l.useContext)(u)||{},t=(0,l.useCallback)(()=>e.current,[e]),o=(0,l.useCallback)((t,o)=>{let l;if(o&&(t._options=o),-1!==(l=e.current.findIndex(e=>e.key===t.key))){e.current[l]=t,e.current=[...e.current];return}if(o){if(o.before){let l=e.current.findIndex(e=>e.key===o.before);e.current.splice(l,0,t);return}if(o.after){let l=e.current.findIndex(e=>e.key===o.after);e.current.splice(l+1,0,t);return}}let n=e.current;e.current=n.filter(e=>{var o,l;return t.key!==(null==(o=e._options)?void 0:o.before)&&t.key!==(null==(l=e._options)?void 0:l.after)}),e.current.push(...n.filter(e=>{var o;return(null==(o=e._options)?void 0:o.before)===t.key})),e.current.push(t),e.current.push(...n.filter(e=>{var o;return(null==(o=e._options)?void 0:o.after)===t.key}))},[e]);if(!e)throw(0,d.error)("CurrentUser: You should use `CurrentUserSettingsMenuProvider` in the root of your app."),Error("CurrentUser: You should use `CurrentUserSettingsMenuProvider` in the root of your app.");return{getMenuItems:t,addMenuItem:o}},p=e=>{let{children:t}=e,o=(0,l.useRef)([]),n=(0,l.useMemo)(()=>({menuItems:o}),[o]);return(0,s.jsx)(u.Provider,{value:n,children:t})}},76460(e,t,o){o.d(t,{KZ:()=>a,g5:()=>i,j0:()=>r});var l=o(71178),n=o(51649);let a=(0,n.createContext)({scopeId:"",type:""}),r=e=>{let t=n.default.useContext(a),o=(0,n.useMemo)(()=>({scopeId:e.scopeId,type:e.type,parent:t}),[e.scopeId,e.type,t]);return(0,l.jsx)(a.Provider,{value:o,children:e.children})},i=()=>{let e=n.default.useContext(a);return{getVariableScopeInfo:(0,n.useCallback)(()=>{if(e.scopeId)return e;for(;e.parent&&!e.scopeId;)e=e.parent;return e},[e])}}},73518(e,t,o){o.d(t,{Ay:()=>F,jT:()=>S});var l=o(71178),n=o(2314),a=o(63526),r=o(77583),i=o(51649),s=o(16211),d=o(43288),u=o(29558),c=o(61013),p=o(75020);let m={hasMany:"list?paginate=false",belongsTo:"get",hasOne:"get",belongsToMany:"list?paginate=false",belongsToArray:"list?paginate=false"},h=e=>m[e];var x=o(39607);let v={},_=e=>!!v[e],f=e=>v[e],g=(e,t)=>{v[e]=t},b=e=>{delete v[e]};var y=o(59896);let S=(0,i.createContext)(null);S.displayName="VariablesContext";let k={},C=(e,t)=>{let o,l;return{fieldPath:e.split(".").map(e=>t[e]?(o=t[e].dataSource,l=t[e],t[e].collectionName):e).join("."),dataSource:o,variableOption:l}},M=(e,t,o)=>{var l,n,a;let r=(l=t,n=o,(null==l?void 0:l.sourceKey)?l.sourceKey:Array.isArray(null==n?void 0:n.filterTargetKey)?1===n.filterTargetKey.length?n.filterTargetKey[0]:n.filterTargetKey:(null==n?void 0:n.filterTargetKey)||(null==n||null==(a=n.getPrimaryKey)?void 0:a.call(n))||"id");if(Array.isArray(r)){let t=r.reduce((t,o)=>((null==e?void 0:e[o])==null||(t[o]=e[o]),t),{});if(Object.keys(t).length!==r.length)return;return encodeURIComponent(JSON.stringify(t))}return null==e?void 0:e[r]},w=e=>{let{children:t,filterVariables:o}=e,n=(0,i.useRef)({}),m=(0,s.VB)(),{getCollectionJoinField:v,getCollection:w}=(0,d.nj)(),F=(0,c.l)(),{builtinVariables:I}=(0,p.A)(),T=(0,i.useCallback)(e=>{r.default.isFunction(e)?n.current=e(n.current):n.current=e},[]),D=(0,i.useCallback)(async(e,t,o)=>{var l,i,s;let d=e.split("."),c=d[0],p=j(k,t),x=(i=n.current,s=t,i={...i},null==s||s.forEach(e=>{i[e.name]=e.ctx}),i),{fieldPath:y,dataSource:S,variableOption:I}=C(c,p),T=y,{fieldPath:D}=C(e,p),L=1===d.length?null==I?void 0:I.collectionName:null==(l=v(D,S))?void 0:l.target;if(!(c in x))throw Error(`VariablesProvider: ${c} is not found`);for(let e=0;e<d.length;e++){if(null==x)return{value:void 0===x?null==I?void 0:I.defaultValue:x,dataSource:S,collectionName:L};if(r.default.isFunction(x))break;let t=d[e],l=d.slice(0,e+1).join("."),{fieldPath:n}=C(l,p),i=v(n,S),s=w(T,S);if(Array.isArray(x)){let e=x.map(e=>{let n=M(e,i,s);if(!(null==o?void 0:o.doNotRequest)&&P(null==e?void 0:e[t],e,l)&&null!=n&&(null==i?void 0:i.target)){let e=`/${T}/${n}/${t}:${h(i.type)}`;if(_(e))return f(e);let l=m.request({headers:(0,u.kb)(S),url:e,params:{appends:null==o?void 0:o.appends}}).then(t=>(b(e),t.data.data));return g(e,l),l}return null==e?void 0:e[t]});x=A(r.default.flatten(await Promise.all(e)),i)}else if(!(null==o?void 0:o.doNotRequest)&&P(x[t],x,l)&&null!=M(x,i,s)&&(null==i?void 0:i.target)){let e=M(x,i,s),l=`/${T}/${e}/${t}:${h(i.type)}`,n=null;if(_(l))n=await f(l);else{let e=m.request({headers:(0,u.kb)(S),url:l,params:{appends:null==o?void 0:o.appends}});g(l,e),n=await e,b(l)}x=A(n.data.data,i)}else x=A((0,a.getValuesByPath)(x,t),i);(null==i?void 0:i.target)&&(T=i.target)}let Y=F(r.default.isFunction(x)?await x({fieldOperator:null==o?void 0:o.fieldOperator,isParsingVariable:!0,variableName:e}):x);return{value:void 0===Y?I.defaultValue:Y,dataSource:S,collectionName:L}},[v]),L=(0,i.useCallback)(e=>{if(!(0,y.DZ)(`{{${e.name}}}`))throw Error(`VariablesProvider: ${e.name} is not a valid name`);T(t=>({...t,[e.name]:e.ctx})),k[e.name]={...e,defaultValue:r.default.has(e,"defaultValue")?e.defaultValue:null}},[T]),Y=(0,i.useCallback)(e=>n.current[e]?{...k[e]}:null,[]),R=(0,i.useCallback)(e=>{T(t=>{let o={...t};return delete o[e],o}),delete k[e]},[T]),B=(0,i.useCallback)(async(e,t,o)=>{var l,n;if(!(0,y.DZ)(e))return e;t&&(t=r.default.isArray(t)?t:[t]);let a=(0,x.Y)(e),i=await D(a,t,o);return{...i,value:Array.isArray(n=Array.isArray(l=i.value)?l.filter(e=>0===e||!1===e||e):l)&&r.default.isObject(n[0])?r.default.uniqBy(n,e=>"id"in e?e.id:JSON.stringify(e)):n}},[D]),N=(0,i.useCallback)(async(e,t)=>{if(!(0,y.DZ)(e))throw Error(`VariablesProvider: ${e} is not a variable string`);t&&(t=r.default.isArray(t)?t:[t]);let o=j(k,t),l=(0,x.Y)(e),{fieldPath:n,dataSource:a}=C(l,o),i=v(n,a);if(!i&&!l.includes(".")){var s;i={target:null==(s=o[l])?void 0:s.collectionName}}return i},[v]);(0,i.useEffect)(()=>{I.forEach(e=>{L({...e,defaultValue:r.default.has(e,"defaultValue")?e.defaultValue:null})})},[I,L]);let E=(0,i.useMemo)(()=>({ctxRef:n,setCtx:T,parseVariable:B,registerVariable:L,getVariable:Y,getCollectionField:N,removeVariable:R,filterVariables:o}),[N,Y,B,L,R,T]);return(0,l.jsx)(S.Provider,{value:E,children:t})};w.displayName="VariablesProvider";let F=w;function P(e,t,o){if(2===o.split(".").length&&(o.startsWith("$nForm.")||o.startsWith("$iteration.")))return!1;let l=!1;return(0,n.untracked)(()=>{if("[{}]"===JSON.stringify(e)||"{}"===JSON.stringify(e)){l=!0;return}l=r.default.isEmpty(e)}),l}function j(e,t){return e={...e},null==t||t.forEach(t=>{e[t.name]={...t,defaultValue:r.default.has(t,"defaultValue")?t.defaultValue:null}}),e}function A(e,t){return(null==t?void 0:t.through)&&e?Array.isArray(e)?e.map(e=>r.default.omit(e,t.through)):r.default.omit(e,t.through):e}},67285(e,t,o){o.d(t,{M:()=>l});let l=Object.freeze({})},75020(e,t,o){o.d(t,{A:()=>c});var l=o(63526),n=o(51649),a=o(67574),r=o(99300),i=o(78616),s=o(77557),d=o(3010),u=o(45560);let c=()=>{let{currentUserCtx:e}=(0,r.oW)(),{currentRoleCtx:t}=(0,s.T)(),{apiTokenCtx:o}=(0,i.f)(),{datetimeCtx:c}=(0,r.hY)(),{exactDateTimeCtx:p}=(0,r.vm)(),{urlSearchParamsCtx:m,name:h,defaultValue:x}=(0,d.hx)(),v=(0,u.i)("$env");return{builtinVariables:(0,n.useMemo)(()=>[v,{name:"$user",ctx:e,collectionName:"users",dataSource:a.Ze},{name:"$nRole",ctx:t,collectionName:"roles"},{name:"$nToken",ctx:o},{name:"currentUser",ctx:e,collectionName:"users",dataSource:a.Ze},{name:"$nDate",ctx:c},{name:"$date",ctx:c},{name:"$nExactDate",ctx:p},{name:"$system",ctx:{now:()=>(0,l.dayjs)().toISOString()}},{name:"currentTime",ctx:()=>(0,l.dayjs)().toISOString()},{name:h,ctx:m,defaultValue:x}].filter(Boolean),[t,e,c,x,m,h,v,p])}}},10065(e,t,o){o.d(t,{A:()=>u});var l=o(51649),n=o(35123),a=o(14187),r=o(49621),i=o(44388),s=o(3012),d=o(8724);let u=()=>{var e,t;let{isPopupVisibleControlledByURL:o}=(0,d.X)(),{params:u}=(0,i.IX)(),c=(0,r.Ge)(),p=(0,a.YE)(),m=(0,n.V)()||{},{field:h,blockData:x,rowKey:v,collection:_}=(o()?null==(t=(0,s.lS)(null==u?void 0:u.popupuid))?void 0:t.tableBlockContext:{...m,collection:c,blockData:p})||{},f=(0,l.useMemo)(()=>{var e,t;return null==x||null==(t=x.data)||null==(e=t.filter)?void 0:e.call(t,e=>{var t,o;return null==(t=(null==h||null==(o=h.data)?void 0:o.selectedRowKeys)||[])?void 0:t.includes(e[v])})},[null==h||null==(e=h.data)?void 0:e.selectedRowKeys,v,x]);return(0,l.useMemo)(()=>({name:"$context",ctx:f||[],collectionName:_}),[_,f])}},43724(e,t,o){o.d(t,{A:()=>_});var l=o(51649),n=o(43288),a=o(10288),r=o(39505),i=o(74063),s=o(68038),d=o(63310),u=o(14011),c=o(47368),p=o(54339),m=o(53400),h=o(3010),x=o(10065),v=o(16716);let _=e=>{var t;let{parentObjectCtx:o,shouldDisplayParentObject:_,collectionName:f}=(0,d.S)(),{currentObjectCtx:g,shouldDisplayCurrentObject:b}=(0,s.Jm)(),{currentRecordCtx:y,collectionName:S}=(0,m.XK)(),{currentParentRecordCtx:k,collectionName:C,dataSource:M}=(0,c.nA)(),{popupRecordCtx:w,collectionName:F,dataSource:P,defaultValue:j}=(0,p.h)(),{parentPopupRecordCtx:A,collectionName:I,dataSource:T,defaultValue:D}=(0,u.f)(),{urlSearchParamsCtx:L,shouldDisplay:Y,defaultValue:R}=(0,h.hx)(),{datetimeCtx:B}=(0,r.U$)(),{currentFormCtx:N}=(0,i.AA)({form:null==e?void 0:e.currentForm}),{name:E}=(0,n.k7)(),$=(0,x.A)(),{name:z}=(0,a.N)();(null==e?void 0:e.collectionName)&&(z=e.collectionName);let O=(0,v.n)(),q=(null==(t=O.getVariables)?void 0:t.call(O).map(e=>({name:e.name,ctx:e.useCtx()})))||[];return(0,l.useMemo)(()=>[{name:"currentRecord",ctx:y,collectionName:S},{name:z,ctx:N||y,collectionName:z},{name:"$form",ctx:N,collectionName:z},{name:"$nRecord",ctx:y,collectionName:S,dataSource:M},{name:"$nParentRecord",ctx:k,collectionName:C,dataSource:M},{name:"$nPopupRecord",ctx:w,collectionName:F,dataSource:P,defaultValue:j},{name:"$nParentPopupRecord",ctx:A,collectionName:I,dataSource:T,defaultValue:D},{name:"$nForm",ctx:N,collectionName:z},{name:"$nDate",ctx:B},{name:"$date",ctx:B},$,b&&{name:"$iteration",ctx:g,collectionName:E},_&&{name:"$nParentIteration",ctx:o,collectionName:f},Y&&{name:"$nURLSearchParams",ctx:L,defaultValue:R},...q].filter(Boolean),[y,S,z,N,k,C,M,w,A,F,P,B,b,g,E,j,D,_,o,f,$,L,...q.map(e=>e.ctx)])}},65919(e,t,o){o.d(t,{A:()=>a});var l=o(51649),n=o(73518);let a=()=>(0,l.useContext)(n.jT)},43923(e,t,o){o.d(t,{$l:()=>g.A,Ap:()=>y.A,j0:()=>k.j0,Ml:()=>S.M,e3:()=>b.e3,wU:()=>100,Rr:()=>a.A,DZ:()=>b.DZ,g5:()=>k.g5,qe:()=>b.qe,fG:()=>void 0,gp:()=>r.A,fK:()=>l.Ay,T_:()=>f,vV:()=>b.vV,c7:()=>n.A,jT:()=>l.jT});var l=o(73518),n=o(75020),a=o(10065),r=o(43724),i=o(51649),s=o(43288),d=o(10288),u=o(39505),c=o(74063),p=o(68038),m=o(63310),h=o(14011),x=o(47368),v=o(54339),_=o(53400);let f=e=>{let{parentObjectCtx:t,shouldDisplayParentObject:o,collectionName:l}=(0,m.S)(),{currentObjectCtx:n,shouldDisplayCurrentObject:r}=(0,p.Jm)(),{currentRecordCtx:f,collectionName:g}=(0,_.XK)(),{currentParentRecordCtx:b,collectionName:y,dataSource:S}=(0,x.nA)(),{popupRecordCtx:k,collectionName:C,dataSource:M,defaultValue:w}=(0,v.h)(),{parentPopupRecordCtx:F,collectionName:P,dataSource:j,defaultValue:A}=(0,h.f)(),{datetimeCtx:I}=(0,u.U$)(),{currentFormCtx:T}=(0,c.AA)({form:null==e?void 0:e.currentForm}),{name:D}=(0,s.k7)(),L=(0,a.A)(),{name:Y}=(0,d.N)();return(null==e?void 0:e.collectionName)&&(Y=e.collectionName),(0,i.useMemo)(()=>[{name:"currentRecord",ctx:f,collectionName:g},{name:Y,ctx:T||f,collectionName:Y},{name:"$form",ctx:T,collectionName:Y},{name:"$nRecord",ctx:f,collectionName:g,dataSource:S},{name:"$nParentRecord",ctx:b,collectionName:y,dataSource:S},{name:"$nPopupRecord",ctx:k,collectionName:C,dataSource:M,defaultValue:w},{name:"$nParentPopupRecord",ctx:F,collectionName:P,dataSource:j,defaultValue:A},{name:"$nForm",ctx:T,collectionName:Y},{name:"$nDate",ctx:I},{name:"$date",ctx:I},L,r&&{name:"$iteration",ctx:n,collectionName:D},o&&{name:"$nParentIteration",ctx:t,collectionName:l}].filter(Boolean),[f,g,Y,T,b,y,S,k,F,C,M,I,r,n,D,w,A,o,t,l,L])};var g=o(65919),b=o(59896),y=o(32665),S=o(67285),k=o(76460)},39607(e,t,o){o.d(t,{Y:()=>n});var l=o(59896);let n=e=>e?e.match(l.vV)[0].replace(l.vV,"$1"):e},88847(e,t,o){o.d(t,{S:()=>a});var l=o(77583),n=o(39607);let a=e=>l.default.isString(e)?(0,n.Y)(e).split(".")[0]:e},59896(e,t,o){o.d(t,{DZ:()=>a,e3:()=>r,qe:()=>n,vV:()=>l});let l=/^\s*\{\{\s*([\p{L}0-9_$-.]+?)\s*\}\}\s*$/u,n=/\{\{\s*([a-zA-Z0-9_$-.]+?)\s*\}\}/g,a=e=>"string"==typeof e&&!!e.match(l),r=e=>{let t=e.match(n);return t||[]}},32665(e,t,o){o.d(t,{A:()=>n});var l=o(77583);let n=(e,t)=>{let{targetCollectionField:o}=t;return null!=e&&o?"chinaRegion"===o.interface&&Array.isArray(e)?e.map(e=>(l.default.isObject(e),Object.keys(e={...e}).forEach(t=>{l.default.isObjectLike(e[t])&&delete e[t]}),e)):["hasMany","belongsToMany"].includes(o.type)?Array.isArray(e)?e:[e]:(o.interface,e):e}},11725(e){e.exports=import("antd-mobile").then(function(e){return e})},65994(e){e.exports=import("antd-mobile-icons").then(function(e){return e})},28558(e){e.exports=import("react-quill").then(function(e){return e})},41196(t){t.exports=e},82113(e){e.exports=t},34829(e){e.exports=o},72741(e){e.exports=l},38533(e){e.exports=n},8198(e){e.exports=a},10691(e){e.exports=r},56220(e){e.exports=i},64613(e){e.exports=s},44814(e){e.exports=d},52975(e){e.exports=u},56920(e){e.exports=c},2314(e){e.exports=p},27404(e){e.exports=m},48849(e){e.exports=h},78316(e){e.exports=x},13975(e){e.exports=v},83489(e){e.exports=_},504(e){e.exports=f},27697(e){e.exports=g},63526(e){e.exports=b},71883(e){e.exports=y},52793(e){e.exports=S},76821(e){e.exports=k},29663(e){e.exports=C},23251(e){e.exports=M},23975(e){e.exports=w},94046(e){e.exports=F},31515(e){e.exports=P},91815(e){e.exports=j},37260(e){e.exports=A},60339(e){e.exports=I},65132(e){e.exports=T},43017(e){e.exports=D},38694(e){e.exports=L},95836(e){e.exports=Y},26362(e){e.exports=R},45814(e){e.exports=B},15636(e){e.exports=N},34065(e){e.exports=E},23977(e){e.exports=$},77583(e){e.exports=z},13791(e){e.exports=O},93656(e){e.exports=q},57453(e){e.exports=V},20148(e){e.exports=H},27741(e){e.exports=U},42966(e){e.exports=G},29858(e){e.exports=K},51649(e){e.exports=W},7516(e){e.exports=J},64679(e){e.exports=X},77843(e){e.exports=Z},38356(e){e.exports=Q},71178(e){e.exports=ee}},ez={};function eO(e){var t=ez[e];if(void 0!==t)return t.exports;var o=ez[e]={exports:{}};return e$[e].call(o.exports,o,o.exports,eO),o.exports}eE=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,eO.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);eO.r(o);var l={};eN=eN||[null,eE({}),eE([]),eE(eE)];for(var n=2&t&&e;("object"==typeof n||"function"==typeof n)&&!~eN.indexOf(n);n=eE(n))Object.getOwnPropertyNames(n).forEach(t=>{l[t]=()=>e[t]});return l.default=()=>e,eO.d(o,l),o},eO.d=(e,t)=>{for(var o in t)eO.o(t,o)&&!eO.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},eO.e=()=>Promise.resolve(),eO.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),eO.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var eq=eO(44374),eV=eq.ACLActionParamsContext,eH=eq.ACLActionProvider,eU=eq.ACLCollectionFieldProvider,eG=eq.ACLCollectionProvider,eK=eq.ACLContext,eW=eq.ACLCustomContext,eJ=eq.ACLMenuItemProvider,eX=eq.ACLPane,eZ=eq.ACLPlugin,eQ=eq.ACLProvider,e0=eq.ACLRolesCheckProvider,e1=eq.ADMIN_SETTINGS_KEY,e2=eq.ADMIN_SETTINGS_PATH,e5=eq.AIManager,e4=eq.APIClient,e6=eq.APIClientContext,e7=eq.APIClientProvider,e9=eq.AccessControl,e8=eq.Action,e3=eq.ActionBar,te=eq.ActionBarAssociationFilterAction,tt=eq.ActionBarProvider,to=eq.ActionContext,tl=eq.ActionContextNoRerender,tn=eq.ActionContextProvider,ta=eq.ActionDesigner,tr=eq.ActionGroupModel,ti=eq.ActionInitializer,ts=eq.ActionInitializerItem,td=eq.ActionModel,tu=eq.ActionSceneEnum,tc=eq.ActionType,tp=eq.AddChildActionModel,tm=eq.AddCollection,th=eq.AddCollectionAction,tx=eq.AddCollectionField,tv=eq.AddFieldAction,t_=eq.AddNewActionModel,tf=eq.AddSubFieldAction,tg=eq.AdminDynamicPage,tb=eq.AdminLayout,ty=eq.AdminLayoutMenuItemModel,tS=eq.AdminLayoutPlugin,tk=eq.AdminProvider,tC=eq.AdminSettingsLayout,tM=eq.AdminSettingsLayoutModel,tw=eq.AfterSuccess,tF=eq.AllDataBlocksContext,tP=eq.AllDataBlocksProvider,tj=eq.AntdAppProvider,tA=eq.AntdConfigPlugin,tI=eq.AntdConfigProvider,tT=eq.AntdSchemaComponentPlugin,tD=eq.AntdSchemaComponentProvider,tL=eq.AppLangContext,tY=eq.AppNotFound,tR=eq.AppendsTreeSelect,tB=eq.Application,tN=eq.ApplicationContext,tE=eq.AssignFormModel,t$=eq.AssignedFieldValues,tz=eq.AssociatedFields,tO=eq.AssociationField,tq=eq.AssociationFieldMode,tV=eq.AssociationFieldModeProvider,tH=eq.AssociationFilter,tU=eq.AssociationFilterDesignerDelete,tG=eq.AssociationFilterDesignerDisplayField,tK=eq.AssociationFilterPlugin,tW=eq.AssociationOrCollectionProvider,tJ=eq.AssociationProvider,tX=eq.AssociationSelect,tZ=eq.AsyncDataContext,tQ=eq.AsyncDataProvider,t0=eq.AttachmentList,t1=eq.AutoComplete,t2=eq.BackButtonUsedInSubPage,t5=eq.BaseVariableProvider,t4=eq.BlankComponent,t6=eq.Block,t7=eq.BlockAssociationContext,t9=eq.BlockConfigsContext,t8=eq.BlockConfigsProvider,t3=eq.BlockContext,oe=eq.BlockGridModel,ot=eq.BlockInitializer,oo=eq.BlockItem,ol=eq.BlockItemCard,on=eq.BlockItemCardContext,oa=eq.BlockItemInitializer,or=eq.BlockModel,oi=eq.BlockProvider,os=eq.BlockRequestContextProvider,od=eq.BlockRequestContext_deprecated,ou=eq.BlockRequestLoadingContext,oc=eq.BlockRequestProvider,op=eq.BlockRequestProvider_deprecated,om=eq.BlockResourceContext,oh=eq.BlockSceneEnum,ox=eq.BlockSchemaComponentPlugin,ov=eq.BlockSchemaComponentProvider,o_=eq.BlockSchemaToolbar,of=eq.BlockTemplateContext,og=eq.BlockTemplateDetails,ob=eq.BlockTemplatePage,oy=eq.BlockTemplateProvider,oS=eq.BlockTemplatesPane,ok=eq.BlocksSelector,oC=eq.ButtonEditor,oM=eq.CSSVariableProvider,ow=eq.CardItem,oF=eq.Cascader,oP=eq.Checkbox,oj=eq.CheckboxFieldInterface,oA=eq.CheckboxGroupFieldInterface,oI=eq.ChildPageModel,oT=eq.ChildPageTabModel,oD=eq.ClearCollectionFieldContext,oL=eq.ClickableFieldModel,oY=eq.CodeEditor,oR=eq.CodeEditorExtension,oB=eq.Collection,oN=eq.CollectionActionGroupModel,oE=eq.CollectionActionModel,o$=eq.CollectionBlockModel,oz=eq.CollectionCategoriesContext,oO=eq.CollectionCategoriesProvider,oq=eq.CollectionCategory,oV=eq.CollectionContext,oH=eq.CollectionDeletedPlaceholder,oU=eq.CollectionField,oG=eq.CollectionFieldContext,oK=eq.CollectionFieldInterface,oW=eq.CollectionFieldInterfaceManager,oJ=eq.CollectionFieldInterfaceTag,oX=eq.CollectionFieldProvider,oZ=eq.CollectionFieldUISchemaProvider,oQ=eq.CollectionFieldsToFormInitializerItems,o0=eq.CollectionFieldsToInitializerItems,o1=eq.CollectionFieldsToTableInitializerItems,o2=eq.CollectionHistoryProvider,o5=eq.CollectionManager,o4=eq.CollectionManagerContext,o6=eq.CollectionManagerProvider,o7=eq.CollectionManagerProvider_deprecated,o9=eq.CollectionManagerSchemaComponentProvider,o8=eq.CollectionNotAllowViewPlaceholder,o3=eq.CollectionPlugin,le=eq.CollectionProvider,lt=eq.CollectionProvider_deprecated,lo=eq.CollectionRecord,ll=eq.CollectionRecordContext,ln=eq.CollectionRecordProvider,la=eq.CollectionSelect,lr=eq.CollectionSelectFieldInterface,li=eq.CollectionTemplate,ls=eq.CollectionTemplateManager,ld=eq.CollectionTemplateTag,lu=eq.ColorFieldInterface,lc=eq.ColorPicker,lp=eq.ColorSelect,lm=eq.CommonItemModel,lh=eq.CompatibleSchemaInitializer,lx=eq.CreateFilterActionInitializer,lv=eq.CreateFormModel,l_=eq.CreateResetActionInitializer,lf=eq.CreatedAtFieldInterface,lg=eq.CreatedByFieldInterface,lb=eq.Cron,ly=eq.CronSet,lS=eq.CurrentAppInfoContext,lk=eq.CurrentAppInfoProvider,lC=eq.CurrentPageUidContext,lM=eq.CurrentPageUidProvider,lw=eq.CurrentRouteProvider,lF=eq.CurrentTabUidContext,lP=eq.CurrentTabUidProvider,lj=eq.CurrentUserContext,lA=eq.CurrentUserProvider,lI=eq.CurrentUserSettingsMenuProvider,lT=eq.CustomRouterContextProvider,lD=eq.CustomizeActionInitializer,lL=eq.DEBOUNCE_WAIT,lY=eq.DEFAULT_DATA_SOURCE_KEY,lR=eq.DEFAULT_DATA_SOURCE_TITLE,lB=eq.DataBlockCollector,lN=eq.DataBlockContext,lE=eq.DataBlockInitializer,l$=eq.DataBlockModel,lz=eq.DataBlockProvider,lO=eq.DataBlockResourceContext,lq=eq.DataBlockResourceProvider,lV=eq.DataSource,lH=eq.DataSourceApplicationProvider,lU=eq.DataSourceCollectionCascader,lG=eq.DataSourceContext,lK=eq.DataSourceContext_deprecated,lW=eq.DataSourceManager,lJ=eq.DataSourceManagerContext,lX=eq.DataSourceManagerProvider,lZ=eq.DataSourceProvider,lQ=eq.DataSourceProvider_deprecated,l0=eq.DataSourceSelect,l1=eq.DateFieldInterface,l2=eq.DateFilterDynamicComponent,l5=eq.DateFormatCom,l4=eq.DatePicker,l6=eq.DatePickerProvider,l7=eq.DatetimeFieldInterface,l9=eq.DatetimeNoTzFieldInterface,l8=eq.DefaultToolsManager,l3=eq.DefaultValueProvider,ne=eq.DeleteCollection,nt=eq.DeleteCollectionAction,no=eq.Designable,nl=eq.DesignableSwitch,nn=eq.Details,na=eq.DetailsAssociationFieldGroupModel,nr=eq.DetailsBlockContext,ni=eq.DetailsBlockModel,ns=eq.DetailsBlockProvider,nd=eq.DetailsCustomItemModel,nu=eq.DetailsDesigner,nc=eq.DetailsGridModel,np=eq.DetailsItemModel,nm=eq.DisplaySubTableFieldModel,nh=eq.DisplayTextFieldModel,nx=eq.DisplayTitleFieldModel,nv=eq.Divider,n_=eq.DndContext,nf=eq.DocumentTitleContext,ng=eq.DocumentTitleProvider,nb=eq.DragHandler,ny=eq.DraggableContext,nS=eq.DropdownVisibleContext,nk=eq.EMPTY_OBJECT,nC=eq.EditCollection,nM=eq.EditCollectionAction,nw=eq.EditCollectionField,nF=eq.EditComponent,nP=eq.EditDefaultValue,nj=eq.EditDescription,nA=eq.EditFieldAction,nI=eq.EditFormModel,nT=eq.EditOperator,nD=eq.EditPattern,nL=eq.EditRequired,nY=eq.EditSortField,nR=eq.EditSubFieldAction,nB=eq.EditTable,nN=eq.EditTableAction,nE=eq.EditTableActionContext,n$=eq.EditTitle,nz=eq.EditTitleField,nO=eq.EditTooltip,nq=eq.EditValidationRules,nV=eq.Editable,nH=eq.EllipsisWithTooltip,nU=eq.EmailFieldInterface,nG=eq.ErrorFallback,nK=eq.Expand,nW=eq.ExpiresRadio,nJ=eq.ExtendCollectionsContext,nX=eq.ExtendCollectionsProvider,nZ=eq.FieldModel,nQ=eq.FieldModelRenderer,n0=eq.FieldSummary,n1=eq.FieldValidation,n2=eq.FieldsTreeSelect,n5=eq.Fieldset,n4=eq.Filter,n6=eq.FilterAction,n7=eq.FilterActionContext,n9=eq.FilterActionModel,n8=eq.FilterAssociatedFields,n3=eq.FilterBlockModel,ae=eq.FilterBlockProvider,at=eq.FilterBlockType,ao=eq.FilterContext,al=eq.FilterDynamicComponent,an=eq.FilterFormActionGroupModel,aa=eq.FilterFormBlockModel,ar=eq.FilterFormBlockProvider,ai=eq.FilterFormItemModel,as=eq.FilterGroup,ad=eq.FilterLogicContext,au=eq.FilterParentCollectionFields,ac=eq.FlagContext,ap=eq.FlagProvider,am=eq.ForeignKey,ah=eq.Form,ax=eq.FormActionGroupModel,av=eq.FormActionModel,a_=eq.FormActiveFieldsProvider,af=eq.FormAssociationFieldGroupModel,ag=eq.FormBlockContext,ab=eq.FormBlockInitializer,ay=eq.FormBlockModel,aS=eq.FormBlockProvider,ak=eq.FormComponent,aC=eq.FormDialog,aM=eq.FormDrawer,aw=eq.FormField,aF=eq.FormFieldContext,aP=eq.FormFieldProvider,aj=eq.FormGridModel,aA=eq.FormItem,aI=eq.FormItemModel,aT=eq.FormItemSchemaToolbar,aD=eq.FormProvider,aL=eq.FormSubmitActionModel,aY=eq.FormV2,aR=eq.G2Plot,aB=eq.G2PlotInitializer,aN=eq.G2PlotRenderer,aE=eq.GeneralSchemaDesigner,a$=eq.GeneralSchemaItems,az=eq.GlobalThemeProvider,aO=eq.Grid,aq=eq.GridCard,aV=eq.GridModel,aH=eq.GridRowContext,aU=eq.HTMLEncode,aG=eq.HeightMode,aK=eq.ICON_POPUP_Z_INDEX,aW=eq.Icon,aJ=eq.IconFieldInterface,aX=eq.IconPicker,aZ=eq.IdFieldInterface,aQ=eq.InheritanceCollectionMixin,a0=eq.InitializerWithSwitch,a1=eq.Input,a2=eq.InputFieldInterface,a5=eq.InputFieldModel,a4=eq.InputNumber,a6=eq.InputReadPretty,a7=eq.InputRecordPicker,a9=eq.IntegerFieldInterface,a8=eq.InternalAdminSettingsLayout,a3=eq.IsInNocoBaseRecursionFieldContext,re=eq.IsSubPageClosedByPageMenuContext,rt=eq.IsSubPageClosedByPageMenuProvider,ro=eq.JSActionModel,rl=eq.Json,rn=eq.JsonFieldInterface,ra=eq.KeepAlive,rr=eq.LAZY_COMPONENT_KEY,ri=eq.LOADING_DELAY,rs=eq.Layout,rd=eq.LayoutContent,ru=eq.LinkActionModel,rc=eq.LinkToFieldInterface,rp=eq.LinkageFilter,rm=eq.LinkageRuleCategory,rh=eq.LinkageRuleDataKeyMap,rx=eq.List,rv=eq.LocalDataSource,r_=eq.LocationSearchContext,rf=eq.M2MFieldInterface,rg=eq.M2OFieldInterface,rb=eq.Markdown,ry=eq.MarkdownFieldInterface,rS=eq.MarkdownReadPretty,rk=eq.MaybeCollectionProvider,rC=eq.Menu,rM=eq.MenuConfigure,rw=eq.MockFlowModelRepository,rF=eq.ModalActionSchemaInitializerItem,rP=eq.MultipleSelectFieldInterface,rj=eq.NAMESPACE_UI_SCHEMA,rA=eq.NanoIDInput,rI=eq.NanoidFieldInterface,rT=eq.NocoBaseBuildInPlugin,rD=eq.NocoBaseDesktopRouteType,rL=eq.NocoBaseRecursionField,rY=eq.NocoBaseRouteContext,rR=eq.NumberFieldInterface,rB=eq.O2MFieldInterface,rN=eq.O2OFieldInterface,rE=eq.OBOFieldInterface,r$=eq.OHOFieldInterface,rz=eq.OpenModeProvider,rO=eq.OverridingCollectionField,rq=eq.OverridingFieldAction,rV=eq.PMPlugin,rH=eq.Page,rU=eq.PagePopups,rG=eq.PageTabs,rK=eq.Pagination,rW=eq.ParentCollectionFields,rJ=eq.ParentRouteContext,rX=eq.Password,rZ=eq.PasswordFieldInterface,rQ=eq.Percent,r0=eq.PercentFieldInterface,r1=eq.PermissionContext,r2=eq.PermissionProvider,r5=eq.PhoneFieldInterface,r4=eq.PinnedListPlugin,r6=eq.PinnedPluginList,r7=eq.PinnedPluginListContext,r9=eq.PinnedPluginListProvider,r8=eq.Plugin,r3=eq.PluginManager,ie=eq.PluginManagerLink,it=eq.PluginSettingsManager,io=eq.PopupActionModel,il=eq.PopupContextProvider,ia=eq.PopupSettingsProvider,ir=eq.PopupSubTableFormActionGroupModel,ii=eq.PoweredBy,is=eq.Preview,id=eq.QuickEdit,iu=eq.REGEX_OF_VARIABLE,ic=eq.REGEX_OF_VARIABLE_IN_EXPRESSION,ip=eq.Radio,im=eq.RadioGroupFieldInterface,ih=eq.ReadPretty,ix=eq.ReadPrettyRecordPicker,iv=eq.RecordActionGroupModel,i_=eq.RecordAssociationBlockInitializer,ig=eq.RecordAssociationDetailsBlockInitializer,ib=eq.RecordAssociationFormBlockInitializer,iy=eq.RecordAssociationGridCardBlockInitializer,iS=eq.RecordAssociationListBlockInitializer,ik=eq.RecordContext_deprecated,iC=eq.RecordFormBlockInitializer,iM=eq.RecordIndexContext,iw=eq.RecordIndexProvider,iF=eq.RecordLink,iP=eq.RecordPicker,ij=eq.RecordPickerContent,iA=eq.RecordPickerContext,iI=eq.RecordPickerProvider,iT=eq.RecordProvider,iD=eq.RecordReadPrettyAssociationFormBlockInitializer,iL=eq.RecordSelectFieldModel,iY=eq.RecordSimpleProvider,iR=eq.RefreshActionModel,iB=eq.RefreshComponentProvider,iN=eq.RefreshDataBlockRequest,iE=eq.RemoteCollectionManagerProvider,i$=eq.RemoteDocumentTitlePlugin,iz=eq.RemoteDocumentTitleProvider,iO=eq.RemoteSchemaComponent,iq=eq.RemoteSchemaTemplateManagerPlugin,iV=eq.RemoteSchemaTemplateManagerProvider,iH=eq.RemoteSelect,iU=eq.RemoveButton,iG=eq.RemoveConditionContext,iK=eq.RenderChildrenWithAssociationFilter,iW=eq.RequestSettings,iJ=eq.RerenderDataBlockProvider,iX=eq.Resizable,iZ=eq.ResourceActionContext,iQ=eq.ResourceActionProvider,i0=eq.RichText,i1=eq.RichTextFieldInterface,i2=eq.RoleConfigure,i5=eq.RoleResourceCollectionContext,i4=eq.RoleTable,i6=eq.RolesResourcesActions,i7=eq.RouteSchemaComponent,i9=eq.RouterContextCleaner,i8=eq.RouterManager,i3=eq.SNIPPET_PREFIX,se=eq.SanitizedCollectionProvider,st=eq.SchemaComponent,so=eq.SchemaComponentContext,sl=eq.SchemaComponentOnChangeContext,sn=eq.SchemaComponentOptions,sa=eq.SchemaComponentPlugin,sr=eq.SchemaComponentProvider,si=eq.SchemaInitializer,ss=eq.SchemaInitializerActionModal,sd=eq.SchemaInitializerActionModalInternal,su=eq.SchemaInitializerChild,sc=eq.SchemaInitializerChildren,sp=eq.SchemaInitializerContext,sm=eq.SchemaInitializerDivider,sh=eq.SchemaInitializerItem,sx=eq.SchemaInitializerItemContext,sv=eq.SchemaInitializerItemGroup,s_=eq.SchemaInitializerItemGroupInternal,sf=eq.SchemaInitializerItemInternal,sg=eq.SchemaInitializerItems,sb=eq.SchemaInitializerManager,sy=eq.SchemaInitializerMenu,sS=eq.SchemaInitializerMenuProvider,sk=eq.SchemaInitializerOpenModeSchemaItems,sC=eq.SchemaInitializerPlugin,sM=eq.SchemaInitializerSelect,sw=eq.SchemaInitializerSelectInternal,sF=eq.SchemaInitializerSubMenu,sP=eq.SchemaInitializerSubMenuInternal,sj=eq.SchemaInitializerSwitch,sA=eq.SchemaInitializerSwitchInternal,sI=eq.SchemaSettingAccessControl,sT=eq.SchemaSettingItemContext,sD=eq.SchemaSettingOpenModeSchemaItems,sL=eq.SchemaSettings,sY=eq.SchemaSettingsActionLinkItem,sR=eq.SchemaSettingsActionModalItem,sB=eq.SchemaSettingsBlockHeightItem,sN=eq.SchemaSettingsBlockTitleItem,sE=eq.SchemaSettingsCascaderItem,s$=eq.SchemaSettingsChild,sz=eq.SchemaSettingsChildren,sO=eq.SchemaSettingsConnectDataBlocks,sq=eq.SchemaSettingsDataScope,sV=eq.SchemaSettingsDataTemplates,sH=eq.SchemaSettingsDateFormat,sU=eq.SchemaSettingsDefaultSortingRules,sG=eq.SchemaSettingsDefaultValue,sK=eq.SchemaSettingsDivider,sW=eq.SchemaSettingsDropdown,sJ=eq.SchemaSettingsEnableChildCollections,sX=eq.SchemaSettingsFixed,sZ=eq.SchemaSettingsFormItemTemplate,sQ=eq.SchemaSettingsItem,s0=eq.SchemaSettingsItemGroup,s1=eq.SchemaSettingsLayoutItem,s2=eq.SchemaSettingsLinkageRules,s5=eq.SchemaSettingsManager,s4=eq.SchemaSettingsModalItem,s6=eq.SchemaSettingsNumberFormat,s7=eq.SchemaSettingsPlugin,s9=eq.SchemaSettingsPopupItem,s8=eq.SchemaSettingsProvider,s3=eq.SchemaSettingsRemove,de=eq.SchemaSettingsRenderEngine,dt=eq.SchemaSettingsSelectItem,dl=eq.SchemaSettingsSortingRule,dn=eq.SchemaSettingsSubMenu,da=eq.SchemaSettingsSwitchItem,dr=eq.SchemaSettingsTemplate,di=eq.SchemaSettingsWrapper,ds=eq.SchemaTemplateManagerContext,dd=eq.SchemaToolbar,du=eq.SchemaToolbarContext,dc=eq.SchemaToolbarProvider,dp=eq.SchemaToolbarVisibleContext,dm=eq.ScopeSelect,dh=eq.SearchCollections,dx=eq.SecondConFirm,dv=eq.Select,d_=eq.SelectActionInitializer,df=eq.SelectFieldInterface,dg=eq.SelectWithTitle,db=eq.SetDataLoadingMode,dy=eq.SettingCenterPermissionProvider,dS=eq.SettingCenterProvider,dk=eq.SettingsCenterConfigure,dC=eq.SettingsCenterContext,dM=eq.SettingsCenterDropdown,dw=eq.SettingsMenuProvider,dF=eq.ShowFormData,dP=eq.SkeletonFallback,dj=eq.SkipValidation,dA=eq.SnowflakeIdFieldInterface,dI=eq.Sortable,dT=eq.SortableContext,dD=eq.SortableItem,dL=eq.SortableProvider,dY=eq.SourceCollection,dR=eq.SourceForeignKey,dB=eq.SourceKey,dN=eq.Space,dE=eq.StablePopover,d$=eq.StrategyActions,dz=eq.SubFieldDataSourceProvider_deprecated,dO=eq.SubTableColumnModel,dq=eq.SubTableFieldInterface,dV=eq.SubTableFieldModel,dH=eq.SubmitActionInitializer,dU=eq.SwitchLanguage,dG=eq.SyncFieldsAction,dK=eq.SyncFieldsActionCom,dW=eq.SyncSQLFieldsAction,dJ=eq.SystemSettingsPane,dX=eq.SystemSettingsPlugin,dZ=eq.SystemSettingsSource,dQ=eq.Table,d0=eq.TableActionColumnInitializer,d1=eq.TableAssociationFieldGroupModel,d2=eq.TableBlockContext,d5=eq.TableBlockDesigner,d4=eq.TableBlockInitializer,d6=eq.TableBlockModel,d7=eq.TableBlockProvider,d9=eq.TableColumnModel,d8=eq.TableColumnSchemaToolbar,d3=eq.TableField,ue=eq.TableFieldContext,ut=eq.TableFieldProvider,uo=eq.TableFieldResource,ul=eq.TableSelectorContext,un=eq.TableSelectorDesigner,ua=eq.TableSelectorInitializer,ur=eq.TableSelectorParamsProvider,ui=eq.TableSelectorProvider,us=eq.TableV2,ud=eq.TableoidFieldInterface,uu=eq.Tabs,uc=eq.TabsContextProvider,up=eq.TargetForeignKey,um=eq.TargetKey,uh=eq.TemplateBlockProvider,ux=eq.TemplateSummary,uv=eq.Templates,u_=eq.TestDesigner,uf=eq.TextAreaWithContextSelector,ug=eq.TextAreaWithGlobalScope,ub=eq.TextareaFieldInterface,uy=eq.ThroughCollection,uS=eq.ThroughForeignKey,uk=eq.TimeFieldInterface,uC=eq.TimePicker,uM=eq.TreeSelect,uw=eq.UUIDFieldInterface,uF=eq.UnSupportFields,uP=eq.UnixTimestamp,uj=eq.UnixTimestampFieldInterface,uA=eq.UpdateRecordActionModel,uI=eq.UpdatedAtFieldInterface,uT=eq.UpdatedByFieldInterface,uD=eq.Upload,uL=eq.Uploader,uY=eq.UrlFieldInterface,uR=eq.Variable,uB=eq.VariableFilterItem,uN=eq.VariableInput,uE=eq.VariablePopupRecordProvider,u$=eq.VariableScope,uz=eq.VariableScopeProvider,uO=eq.VariableSelect,uq=eq.VariablesContext,uV=eq.VariablesProvider,uH=eq.ViewCollectionField,uU=eq.ViewFieldAction,uG=eq.WithoutFormFieldResource,uK=eq.WithoutTableFieldResource,uW=eq.actionSettings,uJ=eq.actionSettingsItems,uX=eq.addCustomAlgorithmToTheme,uZ=eq.allowAddNew,uQ=eq.appendQueryStringToUrl,u0=eq.applyCollectionFieldUiSchemaToDefaultValueSchema,u1=eq.applyMobilePaginationProps,u2=eq.attachmentFileTypes,u5=eq.autoFill,u4=eq.autoIncrement,u6=eq.canMakeAssociationBlock,u7=eq.collectionDataSource,u9=eq.compatOldTheme,u8=eq.completeURL,u3=eq.compose,ce=eq.constraintsProps,ct=eq.createCompactSimpleItemRender,co=eq.createCreateFormBlockUISchema,cl=eq.createDesignable,cn=eq.createDetailsBlockSchema,ca=eq.createFormActionInitializers,cr=eq.createFormActionInitializers_deprecated,ci=eq.createFormBlockSchema,cs=eq.createFormBlockSettings,cd=eq.createModalSettingsItem,cu=eq.createReadPrettyFormBlockSchema,cc=eq.createRouterManager,cp=eq.createSelectSchemaSettingsItem,cm=eq.createStyles,ch=eq.createSwitchSettingsItem,cx=eq.createTableBlockSchema,cv=eq.createTableBlockUISchema,c_=eq.createTextSettingsItem,cf=eq.css,cg=eq.customAlgorithm,cb=eq.customFormItemInitializers,cy=eq.customFormItemInitializers_deprecated,cS=eq.dataSource,ck=eq.dateTimeProps,cC=eq.defaultFieldNames,cM=eq.defaultInputStyle,cw=eq.defaultProps,cF=eq.defaultTheme,cP=eq.dispatchEventDeep,cj=eq.ds,cA=eq.editFormBlockSettings,cI=eq.editMarkdownFlow,cT=eq.fetchTemplateData,cD=eq.fieldComponentSettingsItem,cL=eq.fieldSettingsFormItem,cY=eq.fileSizeSetting,cR=eq.fillParentFields,cB=eq.filterFormItemSettings,cN=eq.findByUid,cE=eq.findFilterTargets,c$=eq.findFirstPageRoute,cz=eq.findFormBlock,cO=eq.findKanbanFormItem,cq=eq.findKeysByUid,cV=eq.findMenuItem,cH=eq.findParentFieldSchema,cU=eq.findRouteBySchemaUid,cG=eq.formActionInitializers,cK=eq.formDetailsSettings,cW=eq.formItemInitializers,cJ=eq.formItemInitializers_deprecated,cX=eq.formItemSettings,cZ=eq.formSettings,cQ=eq.formV1Settings,c0=eq.genStyleHook,c1=eq.getAppends,c2=eq.getAssociationPath,c5=eq.getCardItemSchema,c4=eq.getCollectionTitle,c6=eq.getConfigurableProperties,c7=eq.getCurrentOptions,c9=eq.getDataSourceHeaders,c8=eq.getDateExact,c3=eq.getDatePickerLabels,pe=eq.getDateRanges,pt=eq.getFieldDefaultValue,po=eq.getFilterByTkByCollection,pl=eq.getFlowPageMenuSchema,pn=eq.getFormValues,pa=eq.getIdsWithChildren,pr=eq.getLabelFormatValue,pi=eq.getLabelWithTooltip,ps=eq.getPageMenuSchema,pd=eq.getPageSchema,pu=eq.getPinnedPluginListKeys,pc=eq.getPopupPathFromParams,pp=eq.getRenderContent,pm=eq.getSchemaSettingsConfirmZIndex,ph=eq.getSchemaSettingsDialogZIndex,px=eq.getShouldChange,pv=eq.getSimpleModePaginationClassName,p_=eq.getStoredPopupContext,pf=eq.getSupportFieldsByAssociation,pg=eq.getSupportFieldsByForeignKey,pb=eq.getTabSchema,py=eq.getURLSearchParams,pS=eq.getURLSearchParamsChildren,pk=eq.getUniqueKeyFromCollection,pC=eq.getUnknownCountPaginationTotal,pM=eq.getVariableComponentWithScope,pw=eq.getVariableValue,pF=eq.getVariablesFromExpression,pP=eq.getZIndex,pj=eq.gridRowColWrap,pA=eq.handleDateChangeOnForm,pI=eq.hasIcon,pT=eq.i18n,pD=eq.icons,pL=eq.inferPickerType,pY=eq.interfacesOfUnsupportedDefaultValue,pR=eq.interfacesProperties,pB=eq.isAssocField,pN=eq.isBulkEditAction,pE=eq.isDeleteButtonDisabled,p$=eq.isFileCollection,pz=eq.isInFilterFormBlock,pO=eq.isInitializersSame,pq=eq.isMobile,pV=eq.isPatternDisabled,pH=eq.isSameCollection,pU=eq.isShowFilePicker,pG=eq.isSystemField,pK=eq.isTabPage,pW=eq.isTitleField,pJ=eq.isVariable,pX=eq.isWriteEmailAction,pZ=eq.itemsMerge,pQ=eq.joinCollectionName,p0=eq.joinUrlSearch,p1=eq.languageCodes,p2=eq.lazy,p5=eq.locale,p4=eq.mapDatePicker,p6=eq.mapRangePicker,p7=eq.mapTimeFormat,p9=eq.matchMimetype,p8=eq.mergeFilter,p3=eq.mergePaginationClassName,me=eq.mockAPIClient,mt=eq.moment2str,mo=eq.navigateToTab,ml=eq.navigateWithinSelf,mn=eq.normalizeContainer,ma=eq.openViewFlow,mr=eq.operators,mi=eq.pageSettings,ms=eq.pageTabSettings,md=eq.parseCollectionName,mu=eq.parseVariablesAndChangeParamsToQueryString,mc=eq.primaryKey,mp=eq.readPrettyFormSettings,mm=eq.recordBlockInitializers,mh=eq.recordBlockInitializers_deprecated,mx=eq.recordPickerViewer,mv=eq.recursiveParent,m_=eq.reduceValueSize,mf=eq.registerIcon,mg=eq.registerIcons,mb=eq.registerInitializerMenusGenerator,my=eq.relationshipType,mS=eq.removeNullCondition,mk=eq.replaceVariableValue,mC=eq.replaceVariables,mM=eq.requestParentRecordData,mw=eq.resolveFilterPickerFormat,mF=eq.reverseFieldProperties,mP=eq.schemaSettingsLabelLayout,mj=eq.setDataLoadingModeSettingsItem,mA=eq.setDefaultSortingRulesSchemaSettingsItem,mI=eq.setTheDataScopeSchemaSettingsItem,mT=eq.shouldRenderIconInTitle,mD=eq.showFileName,mL=eq.splitWrapSchema,mY=eq.storePopupContext,mR=eq.subTableActionInitializers,mB=eq.subTableActionInitializers_deprecated,mN=eq.systemKeys,mE=eq.tabPaneInitializers,m$=eq.tabPaneInitializersForBulkEditFormBlock,mz=eq.tabPaneInitializersForRecordBlock,mO=eq.tabPaneInitializers_deprecated,mq=eq.tableActionColumnInitializers,mV=eq.tableActionColumnInitializers_deprecated,mH=eq.tableActionInitializers,mU=eq.tableActionInitializers_deprecated,mG=eq.tableBlockSettings,mK=eq.tableColumnInitializers,mW=eq.tableColumnInitializers_deprecated,mJ=eq.tableColumnSettings,mX=eq.tableSelectorBlockSettings,mZ=eq.timeProps,mQ=eq.titleField,m0=eq.toToolsMap,m1=eq.transformFilter,m2=eq.transformToFilter,m5=eq.transformVariableValue,m4=eq.tval,m6=eq.type,m7=eq.unique,m9=eq.updateFilterTargets,m8=eq.updateFormActionInitializers,m3=eq.updateFormActionInitializers_deprecated,he=eq.useACLActionParamsContext,ht=eq.useACLContext,ho=eq.useACLFieldWhitelist,hl=eq.useACLRoleContext,hn=eq.useACLRolesCheck,ha=eq.useAPIClient,hr=eq.useAPITokenVariable,hi=eq.useAclSnippets,hs=eq.useActionAvailable,hd=eq.useActionBarContext,hu=eq.useActionContext,hc=eq.useAdminSchemaUid,hp=eq.useAfterSuccessOptions,hm=eq.useAllAccessDesktopRoutes,hh=eq.useAllCollectionsInheritChainGetter,hx=eq.useAllDataBlocks,hv=eq.useApp,h_=eq.useAppLangContext,hf=eq.useAppSpin,hg=eq.useAriaAttributeOfMenuItem,hb=eq.useAssociatedFields,hy=eq.useAssociatedFormItemInitializerFields,hS=eq.useAssociatedTableColumnInitializerFields,hk=eq.useAssociationCreateActionProps,hC=eq.useAssociationFieldContext,hM=eq.useAssociationFieldModeContext,hw=eq.useAssociationFilterBlockProps,hF=eq.useAssociationFilterProps,hP=eq.useAssociationName,hj=eq.useAssociationNames,hA=eq.useAsyncData,hI=eq.useAttach,hT=eq.useBackButton,hD=eq.useBaseVariable,hL=eq.useBlockAssociationContext,hY=eq.useBlockConfigs,hR=eq.useBlockContext,hB=eq.useBlockHeight,hN=eq.useBlockHeightProps,hE=eq.useBlockRequestContext,h$=eq.useBlockResource,hz=eq.useBlockTemplateContext,hO=eq.useBuiltinVariables,hq=eq.useBulkDestroyAction,hV=eq.useBulkDestroyActionAndRefreshCM,hH=eq.useBulkDestroyActionProps,hU=eq.useCancelAction,hG=eq.useCloseAction,hK=eq.useCollectValuesToSubmit,hW=eq.useCollection,hJ=eq.useCollectionDataSource,hX=eq.useCollectionDataSourceItems,hZ=eq.useCollectionField,hQ=eq.useCollectionFieldFormValues,h0=eq.useCollectionField_deprecated,h1=eq.useCollectionFields,h2=eq.useCollectionFieldsOptions,h5=eq.useCollectionFilterOptions,h4=eq.useCollectionHistory,h6=eq.useCollectionManager,h7=eq.useCollectionManager_deprecated,h9=eq.useCollectionParentRecord,h8=eq.useCollectionParentRecordData,h3=eq.useCollectionRecord,xe=eq.useCollectionRecordData,xt=eq.useCollectionState,xo=eq.useCollection_deprecated,xl=eq.useCollections,xn=eq.useColumnSchema,xa=eq.useColumnSettings,xr=eq.useCompatOldVariables,xi=eq.useCompile,xs=eq.useComponent,xd=eq.useContextAssociationFields,xu=eq.useContextVariable,xc=eq.useCreateActionProps,xp=eq.useCreateAssociationDetailsBlock,xm=eq.useCreateAssociationDetailsWithoutPagination,xh=eq.useCreateAssociationFormBlock,xx=eq.useCreateAssociationGridCardBlock,xv=eq.useCreateAssociationListBlock,x_=eq.useCreateAssociationTableBlock,xf=eq.useCreateEditFormBlock,xg=eq.useCreateFormBlock,xb=eq.useCreateTableBlock,xy=eq.useCurrentAppInfo,xS=eq.useCurrentDocumentTitle,xk=eq.useCurrentPageUid,xC=eq.useCurrentPopupContext,xM=eq.useCurrentPopupRecord,xw=eq.useCurrentRoleMode,xF=eq.useCurrentRoleVariable,xP=eq.useCurrentRoles,xj=eq.useCurrentRoute,xA=eq.useCurrentSchema,xI=eq.useCurrentSearchParams,xT=eq.useCurrentTabUid,xD=eq.useCurrentUserContext,xL=eq.useCurrentUserSettingsMenu,xY=eq.useCurrentUserVariable,xR=eq.useCustomizeBulkUpdateActionProps,xB=eq.useCustomizeRequestActionProps,xN=eq.useCustomizeUpdateActionProps,xE=eq.useDataBlock,x$=eq.useDataBlockHeight,xz=eq.useDataBlockParentRecord,xO=eq.useDataBlockProps,xq=eq.useDataBlockRequest,xV=eq.useDataBlockRequestData,xH=eq.useDataBlockRequestGetter,xU=eq.useDataBlockResource,xG=eq.useDataLoadingMode,xK=eq.useDataSource,xW=eq.useDataSourceFromRAC,xJ=eq.useDataSourceHeaders,xX=eq.useDataSourceKey,xZ=eq.useDataSourceManager,xQ=eq.useDataTemplates,x0=eq.useDatePickerContext,x1=eq.useDateVariable,x2=eq.useDatetimeVariable,x5=eq.useDatetimeVariableContext,x4=eq.useDeleteRouteSchema,x6=eq.useDesignable,x7=eq.useDesigner,x9=eq.useDestroyAction,x8=eq.useDestroyActionAndRefreshCM,x3=eq.useDestroyActionProps,ve=eq.useDetailsBlockContext,vt=eq.useDetailsBlockProps,vo=eq.useDetailsDecoratorProps,vl=eq.useDetailsPaginationProps,vn=eq.useDetailsParentRecord,va=eq.useDetailsProps,vr=eq.useDetailsWithPaginationBlockParams,vi=eq.useDetailsWithPaginationDecoratorProps,vs=eq.useDetailsWithPaginationProps,vd=eq.useDisassociateActionProps,vu=eq.useDocumentTitle,vc=eq.useDownloadLogs,vp=eq.useEditTableActionProps,vm=eq.useEnsureOperatorsValid,vh=eq.useExactDateVariable,vx=eq.useExactDateVariableContext,vv=eq.useExtendCollections,v_=eq.useFieldComponentName,vf=eq.useFieldComponentOptions,vg=eq.useFieldInterfaceOptions,vb=eq.useFieldMode,vy=eq.useFieldModeOptions,vS=eq.useFieldNames,vk=eq.useFieldProps,vC=eq.useFieldTitle,vM=eq.useFilterAPI,vw=eq.useFilterActionProps,vF=eq.useFilterBlock,vP=eq.useFilterBlockActionProps,vj=eq.useFilterByTk,vA=eq.useFilterFieldOptions,vI=eq.useFilterFieldProps,vT=eq.useFilterOptions,vD=eq.useFindComponent,vL=eq.useFlag,vY=eq.useFormActiveFields,vR=eq.useFormBlockContext,vB=eq.useFormBlockProps,vN=eq.useFormBlockType,vE=eq.useFormDataTemplates,v$=eq.useFormFieldContext,vz=eq.useFormFieldProps,vO=eq.useFormItemInitializerFields,vq=eq.useGetAriaLabelOfAction,vV=eq.useGetAriaLabelOfDesigner,vH=eq.useGetAriaLabelOfDrawer,vU=eq.useGetAriaLabelOfModal,vG=eq.useGetAriaLabelOfPopover,vK=eq.useGetFilterFieldOptions,vW=eq.useGetFilterOptions,vJ=eq.useGetSchemaInitializerMenuItems,vX=eq.useGlobalTheme,vZ=eq.useGlobalVariable,vQ=eq.useGlobalVariableCtx,v0=eq.useGridContext,v1=eq.useGridRowContext,v2=eq.useHistoryCollectionsByNames,v5=eq.useInheritsTableColumnInitializerFields,v4=eq.useInsertPageSchema,v6=eq.useIsAddNewForm,v7=eq.useIsAdminPage,v9=eq.useIsAllowToSetDefaultValue,v8=eq.useIsAssociationField,v3=eq.useIsDetailBlock,_e=eq.useIsFieldReadPretty,_t=eq.useIsFileField,_o=eq.useIsFormReadPretty,_l=eq.useIsInSettingsPage,_n=eq.useIsLoggedIn,_a=eq.useIsSameOrChildCollection,_r=eq.useIsSelectFieldMode,_i=eq.useIsSubPageClosedByPageMenu,_s=eq.useKeepAlive,_d=eq.useLabelUiSchema,_u=eq.useLazy,_c=eq.useLinkActionProps,_p=eq.useLinkageAction,_m=eq.useLinkageCollectionFilterOptions,_h=eq.useListBlockContext,_x=eq.useLocalVariables,_v=eq.useLocalVariablesWithoutCustomVariable,__=eq.useLocationNoUpdate,_f=eq.useLocationSearch,_g=eq.useMenuDragEnd,_b=eq.useMenuSearch,_y=eq.useMenuTranslation,_S=eq.useMobileLayout,_k=eq.useNavigateNoUpdate,_C=eq.useNocoBaseRoutes,_M=eq.useOpenModeContext,_w=eq.useOptionalFieldList,_F=eq.useParamsFromRecord,_P=eq.useParentCollection,_j=eq.useParentRecordCommon,_A=eq.useParentRoute,_I=eq.useParseDataScopeFilter,_T=eq.useParseURLAndParams,_D=eq.useParsedFilter,_L=eq.usePickActionProps,_Y=eq.usePlugin,_R=eq.usePopupSettings,_B=eq.usePopupUtils,_N=eq.usePopupVariable,_E=eq.usePopupVariableContext,_$=eq.useProps,_z=eq.useRecord,_O=eq.useRecordCollectionDataSourceItems,_q=eq.useRecordIndex,_V=eq.useRecordIsOwn,_H=eq.useRecordPkValue,_U=eq.useRefreshActionProps,_G=eq.useRefreshFieldSchema,_K=eq.useRemoteCollectionManagerLoading,_W=eq.useRemoveActionProps,_J=eq.useRemoveGridFormItem,_X=eq.useRequest,_Z=eq.useRerenderDataBlock,_Q=eq.useResetBlockActionProps,_0=eq.useResource,_1=eq.useResourceActionContext,_2=eq.useResourceContext,_5=eq.useRoleRecheck,_4=eq.useRoleVariable,_6=eq.useRolesResourcesScopesSelectedRowKeys,_7=eq.useRouter,_9=eq.useRouterBasename,_8=eq.useSchemaComponentContext,_3=eq.useSchemaInitializer,fe=eq.useSchemaInitializerItem,ft=eq.useSchemaInitializerMenuItems,fo=eq.useSchemaInitializerRender,fl=eq.useSchemaInitializerStyles,fn=eq.useSchemaInitializerSubMenuContext,fa=eq.useSchemaOptionsContext,fr=eq.useSchemaSettings,fi=eq.useSchemaSettingsItem,fs=eq.useSchemaSettingsRender,fd=eq.useSchemaTemplate,fu=eq.useSchemaTemplateManager,fc=eq.useSchemaToolbar,fp=eq.useSchemaToolbarRender,fm=eq.useSortFields,fh=eq.useSourceId,fx=eq.useSourceIdFromParentRecord,fv=eq.useSourceIdFromRecord,f_=eq.useStyles,ff=eq.useSupportedBlocks,fg=eq.useSyncFromForm,fb=eq.useSystemSettings,fy=eq.useSystemSettingsVariable,fS=eq.useTableBlockContext,fk=eq.useTableBlockContextBasicValue,fC=eq.useTableBlockDecoratorProps,fM=eq.useTableBlockParams,fw=eq.useTableBlockProps,fF=eq.useTableColumnInitializerFields,fP=eq.useTableColumnIntegration,fj=eq.useTableColumns,fA=eq.useTableFieldContext,fI=eq.useTableFieldProps,fT=eq.useTableSelectorContext,fD=eq.useTableSelectorProps,fL=eq.useTableSize,fY=eq.useTabsContext,fR=eq.useTemplateBlockContext,fB=eq.useTitleFieldOptions,fN=eq.useToken,fE=eq.useUIConfigurationPermissions,f$=eq.useURLAndHTMLSchema,fz=eq.useURLSearchParamsCtx,fO=eq.useURLSearchParamsVariable,fq=eq.useUpdateActionProps,fV=eq.useUpdateCollectionActionAndRefreshCM,fH=eq.useUploadStyles,fU=eq.useUserVariable,fG=eq.useValidateSchema,fK=eq.useValuesFromRecord,fW=eq.useVariableOptions,fJ=eq.useVariableScope,fX=eq.useVariableScopeInfo,fZ=eq.useVariables,fQ=eq.useViewport,f0=eq.useZIndexContext,f1=eq.withDynamicSchemaProps,f2=eq.withInitializer,f5=eq.withSearchParams,f4=eq.withSkeletonComponent,f6=eq.zIndexContext;export{eV as ACLActionParamsContext,eH as ACLActionProvider,eU as ACLCollectionFieldProvider,eG as ACLCollectionProvider,eK as ACLContext,eW as ACLCustomContext,eJ as ACLMenuItemProvider,eX as ACLPane,eZ as ACLPlugin,eQ as ACLProvider,e0 as ACLRolesCheckProvider,e1 as ADMIN_SETTINGS_KEY,e2 as ADMIN_SETTINGS_PATH,e5 as AIManager,e4 as APIClient,e6 as APIClientContext,e7 as APIClientProvider,e9 as AccessControl,e8 as Action,e3 as ActionBar,te as ActionBarAssociationFilterAction,tt as ActionBarProvider,to as ActionContext,tl as ActionContextNoRerender,tn as ActionContextProvider,ta as ActionDesigner,tr as ActionGroupModel,ti as ActionInitializer,ts as ActionInitializerItem,td as ActionModel,tu as ActionSceneEnum,tc as ActionType,tp as AddChildActionModel,tm as AddCollection,th as AddCollectionAction,tx as AddCollectionField,tv as AddFieldAction,t_ as AddNewActionModel,tf as AddSubFieldAction,tg as AdminDynamicPage,tb as AdminLayout,ty as AdminLayoutMenuItemModel,tS as AdminLayoutPlugin,tk as AdminProvider,tC as AdminSettingsLayout,tM as AdminSettingsLayoutModel,tw as AfterSuccess,tF as AllDataBlocksContext,tP as AllDataBlocksProvider,tj as AntdAppProvider,tA as AntdConfigPlugin,tI as AntdConfigProvider,tT as AntdSchemaComponentPlugin,tD as AntdSchemaComponentProvider,tL as AppLangContext,tY as AppNotFound,tR as AppendsTreeSelect,tB as Application,tN as ApplicationContext,tE as AssignFormModel,t$ as AssignedFieldValues,tz as AssociatedFields,tO as AssociationField,tq as AssociationFieldMode,tV as AssociationFieldModeProvider,tH as AssociationFilter,tU as AssociationFilterDesignerDelete,tG as AssociationFilterDesignerDisplayField,tK as AssociationFilterPlugin,tW as AssociationOrCollectionProvider,tJ as AssociationProvider,tX as AssociationSelect,tZ as AsyncDataContext,tQ as AsyncDataProvider,t0 as AttachmentList,t1 as AutoComplete,t2 as BackButtonUsedInSubPage,t5 as BaseVariableProvider,t4 as BlankComponent,t6 as Block,t7 as BlockAssociationContext,t9 as BlockConfigsContext,t8 as BlockConfigsProvider,t3 as BlockContext,oe as BlockGridModel,ot as BlockInitializer,oo as BlockItem,ol as BlockItemCard,on as BlockItemCardContext,oa as BlockItemInitializer,or as BlockModel,oi as BlockProvider,os as BlockRequestContextProvider,od as BlockRequestContext_deprecated,ou as BlockRequestLoadingContext,oc as BlockRequestProvider,op as BlockRequestProvider_deprecated,om as BlockResourceContext,oh as BlockSceneEnum,ox as BlockSchemaComponentPlugin,ov as BlockSchemaComponentProvider,o_ as BlockSchemaToolbar,of as BlockTemplateContext,og as BlockTemplateDetails,ob as BlockTemplatePage,oy as BlockTemplateProvider,oS as BlockTemplatesPane,ok as BlocksSelector,oC as ButtonEditor,oM as CSSVariableProvider,ow as CardItem,oF as Cascader,oP as Checkbox,oj as CheckboxFieldInterface,oA as CheckboxGroupFieldInterface,oI as ChildPageModel,oT as ChildPageTabModel,oD as ClearCollectionFieldContext,oL as ClickableFieldModel,oY as CodeEditor,oR as CodeEditorExtension,oB as Collection,oN as CollectionActionGroupModel,oE as CollectionActionModel,o$ as CollectionBlockModel,oz as CollectionCategoriesContext,oO as CollectionCategoriesProvider,oq as CollectionCategory,oV as CollectionContext,oH as CollectionDeletedPlaceholder,oU as CollectionField,oG as CollectionFieldContext,oK as CollectionFieldInterface,oW as CollectionFieldInterfaceManager,oJ as CollectionFieldInterfaceTag,oX as CollectionFieldProvider,oZ as CollectionFieldUISchemaProvider,oQ as CollectionFieldsToFormInitializerItems,o0 as CollectionFieldsToInitializerItems,o1 as CollectionFieldsToTableInitializerItems,o2 as CollectionHistoryProvider,o5 as CollectionManager,o4 as CollectionManagerContext,o6 as CollectionManagerProvider,o7 as CollectionManagerProvider_deprecated,o9 as CollectionManagerSchemaComponentProvider,o8 as CollectionNotAllowViewPlaceholder,o3 as CollectionPlugin,le as CollectionProvider,lt as CollectionProvider_deprecated,lo as CollectionRecord,ll as CollectionRecordContext,ln as CollectionRecordProvider,la as CollectionSelect,lr as CollectionSelectFieldInterface,li as CollectionTemplate,ls as CollectionTemplateManager,ld as CollectionTemplateTag,lu as ColorFieldInterface,lc as ColorPicker,lp as ColorSelect,lm as CommonItemModel,lh as CompatibleSchemaInitializer,lx as CreateFilterActionInitializer,lv as CreateFormModel,l_ as CreateResetActionInitializer,lf as CreatedAtFieldInterface,lg as CreatedByFieldInterface,lb as Cron,ly as CronSet,lS as CurrentAppInfoContext,lk as CurrentAppInfoProvider,lC as CurrentPageUidContext,lM as CurrentPageUidProvider,lw as CurrentRouteProvider,lF as CurrentTabUidContext,lP as CurrentTabUidProvider,lj as CurrentUserContext,lA as CurrentUserProvider,lI as CurrentUserSettingsMenuProvider,lT as CustomRouterContextProvider,lD as CustomizeActionInitializer,lL as DEBOUNCE_WAIT,lY as DEFAULT_DATA_SOURCE_KEY,lR as DEFAULT_DATA_SOURCE_TITLE,lB as DataBlockCollector,lN as DataBlockContext,lE as DataBlockInitializer,l$ as DataBlockModel,lz as DataBlockProvider,lO as DataBlockResourceContext,lq as DataBlockResourceProvider,lV as DataSource,lH as DataSourceApplicationProvider,lU as DataSourceCollectionCascader,lG as DataSourceContext,lK as DataSourceContext_deprecated,lW as DataSourceManager,lJ as DataSourceManagerContext,lX as DataSourceManagerProvider,lZ as DataSourceProvider,lQ as DataSourceProvider_deprecated,l0 as DataSourceSelect,l1 as DateFieldInterface,l2 as DateFilterDynamicComponent,l5 as DateFormatCom,l4 as DatePicker,l6 as DatePickerProvider,l7 as DatetimeFieldInterface,l9 as DatetimeNoTzFieldInterface,l8 as DefaultToolsManager,l3 as DefaultValueProvider,ne as DeleteCollection,nt as DeleteCollectionAction,no as Designable,nl as DesignableSwitch,nn as Details,na as DetailsAssociationFieldGroupModel,nr as DetailsBlockContext,ni as DetailsBlockModel,ns as DetailsBlockProvider,nd as DetailsCustomItemModel,nu as DetailsDesigner,nc as DetailsGridModel,np as DetailsItemModel,nm as DisplaySubTableFieldModel,nh as DisplayTextFieldModel,nx as DisplayTitleFieldModel,nv as Divider,n_ as DndContext,nf as DocumentTitleContext,ng as DocumentTitleProvider,nb as DragHandler,ny as DraggableContext,nS as DropdownVisibleContext,nk as EMPTY_OBJECT,nC as EditCollection,nM as EditCollectionAction,nw as EditCollectionField,nF as EditComponent,nP as EditDefaultValue,nj as EditDescription,nA as EditFieldAction,nI as EditFormModel,nT as EditOperator,nD as EditPattern,nL as EditRequired,nY as EditSortField,nR as EditSubFieldAction,nB as EditTable,nN as EditTableAction,nE as EditTableActionContext,n$ as EditTitle,nz as EditTitleField,nO as EditTooltip,nq as EditValidationRules,nV as Editable,nH as EllipsisWithTooltip,nU as EmailFieldInterface,nG as ErrorFallback,nK as Expand,nW as ExpiresRadio,nJ as ExtendCollectionsContext,nX as ExtendCollectionsProvider,nZ as FieldModel,nQ as FieldModelRenderer,n0 as FieldSummary,n1 as FieldValidation,n2 as FieldsTreeSelect,n5 as Fieldset,n4 as Filter,n6 as FilterAction,n7 as FilterActionContext,n9 as FilterActionModel,n8 as FilterAssociatedFields,n3 as FilterBlockModel,ae as FilterBlockProvider,at as FilterBlockType,ao as FilterContext,al as FilterDynamicComponent,an as FilterFormActionGroupModel,aa as FilterFormBlockModel,ar as FilterFormBlockProvider,ai as FilterFormItemModel,as as FilterGroup,ad as FilterLogicContext,au as FilterParentCollectionFields,ac as FlagContext,ap as FlagProvider,am as ForeignKey,ah as Form,ax as FormActionGroupModel,av as FormActionModel,a_ as FormActiveFieldsProvider,af as FormAssociationFieldGroupModel,ag as FormBlockContext,ab as FormBlockInitializer,ay as FormBlockModel,aS as FormBlockProvider,ak as FormComponent,aC as FormDialog,aM as FormDrawer,aw as FormField,aF as FormFieldContext,aP as FormFieldProvider,aj as FormGridModel,aA as FormItem,aI as FormItemModel,aT as FormItemSchemaToolbar,aD as FormProvider,aL as FormSubmitActionModel,aY as FormV2,aR as G2Plot,aB as G2PlotInitializer,aN as G2PlotRenderer,aE as GeneralSchemaDesigner,a$ as GeneralSchemaItems,az as GlobalThemeProvider,aO as Grid,aq as GridCard,aV as GridModel,aH as GridRowContext,aU as HTMLEncode,aG as HeightMode,aK as ICON_POPUP_Z_INDEX,aW as Icon,aJ as IconFieldInterface,aX as IconPicker,aZ as IdFieldInterface,aQ as InheritanceCollectionMixin,a0 as InitializerWithSwitch,a1 as Input,a2 as InputFieldInterface,a5 as InputFieldModel,a4 as InputNumber,a6 as InputReadPretty,a7 as InputRecordPicker,a9 as IntegerFieldInterface,a8 as InternalAdminSettingsLayout,a3 as IsInNocoBaseRecursionFieldContext,re as IsSubPageClosedByPageMenuContext,rt as IsSubPageClosedByPageMenuProvider,ro as JSActionModel,rl as Json,rn as JsonFieldInterface,ra as KeepAlive,rr as LAZY_COMPONENT_KEY,ri as LOADING_DELAY,rs as Layout,rd as LayoutContent,ru as LinkActionModel,rc as LinkToFieldInterface,rp as LinkageFilter,rm as LinkageRuleCategory,rh as LinkageRuleDataKeyMap,rx as List,rv as LocalDataSource,r_ as LocationSearchContext,rf as M2MFieldInterface,rg as M2OFieldInterface,rb as Markdown,ry as MarkdownFieldInterface,rS as MarkdownReadPretty,rk as MaybeCollectionProvider,rC as Menu,rM as MenuConfigure,rw as MockFlowModelRepository,rF as ModalActionSchemaInitializerItem,rP as MultipleSelectFieldInterface,rj as NAMESPACE_UI_SCHEMA,rA as NanoIDInput,rI as NanoidFieldInterface,rT as NocoBaseBuildInPlugin,rD as NocoBaseDesktopRouteType,rL as NocoBaseRecursionField,rY as NocoBaseRouteContext,rR as NumberFieldInterface,rB as O2MFieldInterface,rN as O2OFieldInterface,rE as OBOFieldInterface,r$ as OHOFieldInterface,rz as OpenModeProvider,rO as OverridingCollectionField,rq as OverridingFieldAction,rV as PMPlugin,rH as Page,rU as PagePopups,rG as PageTabs,rK as Pagination,rW as ParentCollectionFields,rJ as ParentRouteContext,rX as Password,rZ as PasswordFieldInterface,rQ as Percent,r0 as PercentFieldInterface,r1 as PermissionContext,r2 as PermissionProvider,r5 as PhoneFieldInterface,r4 as PinnedListPlugin,r6 as PinnedPluginList,r7 as PinnedPluginListContext,r9 as PinnedPluginListProvider,r8 as Plugin,r3 as PluginManager,ie as PluginManagerLink,it as PluginSettingsManager,io as PopupActionModel,il as PopupContextProvider,ia as PopupSettingsProvider,ir as PopupSubTableFormActionGroupModel,ii as PoweredBy,is as Preview,id as QuickEdit,iu as REGEX_OF_VARIABLE,ic as REGEX_OF_VARIABLE_IN_EXPRESSION,ip as Radio,im as RadioGroupFieldInterface,ih as ReadPretty,ix as ReadPrettyRecordPicker,iv as RecordActionGroupModel,i_ as RecordAssociationBlockInitializer,ig as RecordAssociationDetailsBlockInitializer,ib as RecordAssociationFormBlockInitializer,iy as RecordAssociationGridCardBlockInitializer,iS as RecordAssociationListBlockInitializer,ik as RecordContext_deprecated,iC as RecordFormBlockInitializer,iM as RecordIndexContext,iw as RecordIndexProvider,iF as RecordLink,iP as RecordPicker,ij as RecordPickerContent,iA as RecordPickerContext,iI as RecordPickerProvider,iT as RecordProvider,iD as RecordReadPrettyAssociationFormBlockInitializer,iL as RecordSelectFieldModel,iY as RecordSimpleProvider,iR as RefreshActionModel,iB as RefreshComponentProvider,iN as RefreshDataBlockRequest,iE as RemoteCollectionManagerProvider,i$ as RemoteDocumentTitlePlugin,iz as RemoteDocumentTitleProvider,iO as RemoteSchemaComponent,iq as RemoteSchemaTemplateManagerPlugin,iV as RemoteSchemaTemplateManagerProvider,iH as RemoteSelect,iU as RemoveButton,iG as RemoveConditionContext,iK as RenderChildrenWithAssociationFilter,iW as RequestSettings,iJ as RerenderDataBlockProvider,iX as Resizable,iZ as ResourceActionContext,iQ as ResourceActionProvider,i0 as RichText,i1 as RichTextFieldInterface,i2 as RoleConfigure,i5 as RoleResourceCollectionContext,i4 as RoleTable,i6 as RolesResourcesActions,i7 as RouteSchemaComponent,i9 as RouterContextCleaner,i8 as RouterManager,i3 as SNIPPET_PREFIX,se as SanitizedCollectionProvider,st as SchemaComponent,so as SchemaComponentContext,sl as SchemaComponentOnChangeContext,sn as SchemaComponentOptions,sa as SchemaComponentPlugin,sr as SchemaComponentProvider,si as SchemaInitializer,ss as SchemaInitializerActionModal,sd as SchemaInitializerActionModalInternal,su as SchemaInitializerChild,sc as SchemaInitializerChildren,sp as SchemaInitializerContext,sm as SchemaInitializerDivider,sh as SchemaInitializerItem,sx as SchemaInitializerItemContext,sv as SchemaInitializerItemGroup,s_ as SchemaInitializerItemGroupInternal,sf as SchemaInitializerItemInternal,sg as SchemaInitializerItems,sb as SchemaInitializerManager,sy as SchemaInitializerMenu,sS as SchemaInitializerMenuProvider,sk as SchemaInitializerOpenModeSchemaItems,sC as SchemaInitializerPlugin,sM as SchemaInitializerSelect,sw as SchemaInitializerSelectInternal,sF as SchemaInitializerSubMenu,sP as SchemaInitializerSubMenuInternal,sj as SchemaInitializerSwitch,sA as SchemaInitializerSwitchInternal,sI as SchemaSettingAccessControl,sT as SchemaSettingItemContext,sD as SchemaSettingOpenModeSchemaItems,sL as SchemaSettings,sY as SchemaSettingsActionLinkItem,sR as SchemaSettingsActionModalItem,sB as SchemaSettingsBlockHeightItem,sN as SchemaSettingsBlockTitleItem,sE as SchemaSettingsCascaderItem,s$ as SchemaSettingsChild,sz as SchemaSettingsChildren,sO as SchemaSettingsConnectDataBlocks,sq as SchemaSettingsDataScope,sV as SchemaSettingsDataTemplates,sH as SchemaSettingsDateFormat,sU as SchemaSettingsDefaultSortingRules,sG as SchemaSettingsDefaultValue,sK as SchemaSettingsDivider,sW as SchemaSettingsDropdown,sJ as SchemaSettingsEnableChildCollections,sX as SchemaSettingsFixed,sZ as SchemaSettingsFormItemTemplate,sQ as SchemaSettingsItem,s0 as SchemaSettingsItemGroup,s1 as SchemaSettingsLayoutItem,s2 as SchemaSettingsLinkageRules,s5 as SchemaSettingsManager,s4 as SchemaSettingsModalItem,s6 as SchemaSettingsNumberFormat,s7 as SchemaSettingsPlugin,s9 as SchemaSettingsPopupItem,s8 as SchemaSettingsProvider,s3 as SchemaSettingsRemove,de as SchemaSettingsRenderEngine,dt as SchemaSettingsSelectItem,dl as SchemaSettingsSortingRule,dn as SchemaSettingsSubMenu,da as SchemaSettingsSwitchItem,dr as SchemaSettingsTemplate,di as SchemaSettingsWrapper,ds as SchemaTemplateManagerContext,dd as SchemaToolbar,du as SchemaToolbarContext,dc as SchemaToolbarProvider,dp as SchemaToolbarVisibleContext,dm as ScopeSelect,dh as SearchCollections,dx as SecondConFirm,dv as Select,d_ as SelectActionInitializer,df as SelectFieldInterface,dg as SelectWithTitle,db as SetDataLoadingMode,dy as SettingCenterPermissionProvider,dS as SettingCenterProvider,dk as SettingsCenterConfigure,dC as SettingsCenterContext,dM as SettingsCenterDropdown,dw as SettingsMenuProvider,dF as ShowFormData,dP as SkeletonFallback,dj as SkipValidation,dA as SnowflakeIdFieldInterface,dI as Sortable,dT as SortableContext,dD as SortableItem,dL as SortableProvider,dY as SourceCollection,dR as SourceForeignKey,dB as SourceKey,dN as Space,dE as StablePopover,d$ as StrategyActions,dz as SubFieldDataSourceProvider_deprecated,dO as SubTableColumnModel,dq as SubTableFieldInterface,dV as SubTableFieldModel,dH as SubmitActionInitializer,dU as SwitchLanguage,dG as SyncFieldsAction,dK as SyncFieldsActionCom,dW as SyncSQLFieldsAction,dJ as SystemSettingsPane,dX as SystemSettingsPlugin,dZ as SystemSettingsSource,dQ as Table,d0 as TableActionColumnInitializer,d1 as TableAssociationFieldGroupModel,d2 as TableBlockContext,d5 as TableBlockDesigner,d4 as TableBlockInitializer,d6 as TableBlockModel,d7 as TableBlockProvider,d9 as TableColumnModel,d8 as TableColumnSchemaToolbar,d3 as TableField,ue as TableFieldContext,ut as TableFieldProvider,uo as TableFieldResource,ul as TableSelectorContext,un as TableSelectorDesigner,ua as TableSelectorInitializer,ur as TableSelectorParamsProvider,ui as TableSelectorProvider,us as TableV2,ud as TableoidFieldInterface,uu as Tabs,uc as TabsContextProvider,up as TargetForeignKey,um as TargetKey,uh as TemplateBlockProvider,ux as TemplateSummary,uv as Templates,u_ as TestDesigner,uf as TextAreaWithContextSelector,ug as TextAreaWithGlobalScope,ub as TextareaFieldInterface,uy as ThroughCollection,uS as ThroughForeignKey,uk as TimeFieldInterface,uC as TimePicker,uM as TreeSelect,uw as UUIDFieldInterface,uF as UnSupportFields,uP as UnixTimestamp,uj as UnixTimestampFieldInterface,uA as UpdateRecordActionModel,uI as UpdatedAtFieldInterface,uT as UpdatedByFieldInterface,uD as Upload,uL as Uploader,uY as UrlFieldInterface,uR as Variable,uB as VariableFilterItem,uN as VariableInput,uE as VariablePopupRecordProvider,u$ as VariableScope,uz as VariableScopeProvider,uO as VariableSelect,uq as VariablesContext,uV as VariablesProvider,uH as ViewCollectionField,uU as ViewFieldAction,uG as WithoutFormFieldResource,uK as WithoutTableFieldResource,uW as actionSettings,uJ as actionSettingsItems,uX as addCustomAlgorithmToTheme,uZ as allowAddNew,uQ as appendQueryStringToUrl,u0 as applyCollectionFieldUiSchemaToDefaultValueSchema,u1 as applyMobilePaginationProps,u2 as attachmentFileTypes,u5 as autoFill,u4 as autoIncrement,u6 as canMakeAssociationBlock,u7 as collectionDataSource,u9 as compatOldTheme,u8 as completeURL,u3 as compose,ce as constraintsProps,ct as createCompactSimpleItemRender,co as createCreateFormBlockUISchema,cl as createDesignable,cn as createDetailsBlockSchema,ca as createFormActionInitializers,cr as createFormActionInitializers_deprecated,ci as createFormBlockSchema,cs as createFormBlockSettings,cd as createModalSettingsItem,cu as createReadPrettyFormBlockSchema,cc as createRouterManager,cp as createSelectSchemaSettingsItem,cm as createStyles,ch as createSwitchSettingsItem,cx as createTableBlockSchema,cv as createTableBlockUISchema,c_ as createTextSettingsItem,cf as css,cg as customAlgorithm,cb as customFormItemInitializers,cy as customFormItemInitializers_deprecated,cS as dataSource,ck as dateTimeProps,cC as defaultFieldNames,cM as defaultInputStyle,cw as defaultProps,cF as defaultTheme,cP as dispatchEventDeep,cj as ds,cA as editFormBlockSettings,cI as editMarkdownFlow,cT as fetchTemplateData,cD as fieldComponentSettingsItem,cL as fieldSettingsFormItem,cY as fileSizeSetting,cR as fillParentFields,cB as filterFormItemSettings,cN as findByUid,cE as findFilterTargets,c$ as findFirstPageRoute,cz as findFormBlock,cO as findKanbanFormItem,cq as findKeysByUid,cV as findMenuItem,cH as findParentFieldSchema,cU as findRouteBySchemaUid,cG as formActionInitializers,cK as formDetailsSettings,cW as formItemInitializers,cJ as formItemInitializers_deprecated,cX as formItemSettings,cZ as formSettings,cQ as formV1Settings,c0 as genStyleHook,c1 as getAppends,c2 as getAssociationPath,c5 as getCardItemSchema,c4 as getCollectionTitle,c6 as getConfigurableProperties,c7 as getCurrentOptions,c9 as getDataSourceHeaders,c8 as getDateExact,c3 as getDatePickerLabels,pe as getDateRanges,pt as getFieldDefaultValue,po as getFilterByTkByCollection,pl as getFlowPageMenuSchema,pn as getFormValues,pa as getIdsWithChildren,pr as getLabelFormatValue,pi as getLabelWithTooltip,ps as getPageMenuSchema,pd as getPageSchema,pu as getPinnedPluginListKeys,pc as getPopupPathFromParams,pp as getRenderContent,pm as getSchemaSettingsConfirmZIndex,ph as getSchemaSettingsDialogZIndex,px as getShouldChange,pv as getSimpleModePaginationClassName,p_ as getStoredPopupContext,pf as getSupportFieldsByAssociation,pg as getSupportFieldsByForeignKey,pb as getTabSchema,py as getURLSearchParams,pS as getURLSearchParamsChildren,pk as getUniqueKeyFromCollection,pC as getUnknownCountPaginationTotal,pM as getVariableComponentWithScope,pw as getVariableValue,pF as getVariablesFromExpression,pP as getZIndex,pj as gridRowColWrap,pA as handleDateChangeOnForm,pI as hasIcon,pT as i18n,pD as icons,pL as inferPickerType,pY as interfacesOfUnsupportedDefaultValue,pR as interfacesProperties,pB as isAssocField,pN as isBulkEditAction,pE as isDeleteButtonDisabled,p$ as isFileCollection,pz as isInFilterFormBlock,pO as isInitializersSame,pq as isMobile,pV as isPatternDisabled,pH as isSameCollection,pU as isShowFilePicker,pG as isSystemField,pK as isTabPage,pW as isTitleField,pJ as isVariable,pX as isWriteEmailAction,pZ as itemsMerge,pQ as joinCollectionName,p0 as joinUrlSearch,p1 as languageCodes,p2 as lazy,p5 as locale,p4 as mapDatePicker,p6 as mapRangePicker,p7 as mapTimeFormat,p9 as matchMimetype,p8 as mergeFilter,p3 as mergePaginationClassName,me as mockAPIClient,mt as moment2str,mo as navigateToTab,ml as navigateWithinSelf,mn as normalizeContainer,ma as openViewFlow,mr as operators,mi as pageSettings,ms as pageTabSettings,md as parseCollectionName,mu as parseVariablesAndChangeParamsToQueryString,mc as primaryKey,mp as readPrettyFormSettings,mm as recordBlockInitializers,mh as recordBlockInitializers_deprecated,mx as recordPickerViewer,mv as recursiveParent,m_ as reduceValueSize,mf as registerIcon,mg as registerIcons,mb as registerInitializerMenusGenerator,my as relationshipType,mS as removeNullCondition,mk as replaceVariableValue,mC as replaceVariables,mM as requestParentRecordData,mw as resolveFilterPickerFormat,mF as reverseFieldProperties,mP as schemaSettingsLabelLayout,mj as setDataLoadingModeSettingsItem,mA as setDefaultSortingRulesSchemaSettingsItem,mI as setTheDataScopeSchemaSettingsItem,mT as shouldRenderIconInTitle,mD as showFileName,mL as splitWrapSchema,mY as storePopupContext,mR as subTableActionInitializers,mB as subTableActionInitializers_deprecated,mN as systemKeys,mE as tabPaneInitializers,m$ as tabPaneInitializersForBulkEditFormBlock,mz as tabPaneInitializersForRecordBlock,mO as tabPaneInitializers_deprecated,mq as tableActionColumnInitializers,mV as tableActionColumnInitializers_deprecated,mH as tableActionInitializers,mU as tableActionInitializers_deprecated,mG as tableBlockSettings,mK as tableColumnInitializers,mW as tableColumnInitializers_deprecated,mJ as tableColumnSettings,mX as tableSelectorBlockSettings,mZ as timeProps,mQ as titleField,m0 as toToolsMap,m1 as transformFilter,m2 as transformToFilter,m5 as transformVariableValue,m4 as tval,m6 as type,m7 as unique,m9 as updateFilterTargets,m8 as updateFormActionInitializers,m3 as updateFormActionInitializers_deprecated,he as useACLActionParamsContext,ht as useACLContext,ho as useACLFieldWhitelist,hl as useACLRoleContext,hn as useACLRolesCheck,ha as useAPIClient,hr as useAPITokenVariable,hi as useAclSnippets,hs as useActionAvailable,hd as useActionBarContext,hu as useActionContext,hc as useAdminSchemaUid,hp as useAfterSuccessOptions,hm as useAllAccessDesktopRoutes,hh as useAllCollectionsInheritChainGetter,hx as useAllDataBlocks,hv as useApp,h_ as useAppLangContext,hf as useAppSpin,hg as useAriaAttributeOfMenuItem,hb as useAssociatedFields,hy as useAssociatedFormItemInitializerFields,hS as useAssociatedTableColumnInitializerFields,hk as useAssociationCreateActionProps,hC as useAssociationFieldContext,hM as useAssociationFieldModeContext,hw as useAssociationFilterBlockProps,hF as useAssociationFilterProps,hP as useAssociationName,hj as useAssociationNames,hA as useAsyncData,hI as useAttach,hT as useBackButton,hD as useBaseVariable,hL as useBlockAssociationContext,hY as useBlockConfigs,hR as useBlockContext,hB as useBlockHeight,hN as useBlockHeightProps,hE as useBlockRequestContext,h$ as useBlockResource,hz as useBlockTemplateContext,hO as useBuiltinVariables,hq as useBulkDestroyAction,hV as useBulkDestroyActionAndRefreshCM,hH as useBulkDestroyActionProps,hU as useCancelAction,hG as useCloseAction,hK as useCollectValuesToSubmit,hW as useCollection,hJ as useCollectionDataSource,hX as useCollectionDataSourceItems,hZ as useCollectionField,hQ as useCollectionFieldFormValues,h0 as useCollectionField_deprecated,h1 as useCollectionFields,h2 as useCollectionFieldsOptions,h5 as useCollectionFilterOptions,h4 as useCollectionHistory,h6 as useCollectionManager,h7 as useCollectionManager_deprecated,h9 as useCollectionParentRecord,h8 as useCollectionParentRecordData,h3 as useCollectionRecord,xe as useCollectionRecordData,xt as useCollectionState,xo as useCollection_deprecated,xl as useCollections,xn as useColumnSchema,xa as useColumnSettings,xr as useCompatOldVariables,xi as useCompile,xs as useComponent,xd as useContextAssociationFields,xu as useContextVariable,xc as useCreateActionProps,xp as useCreateAssociationDetailsBlock,xm as useCreateAssociationDetailsWithoutPagination,xh as useCreateAssociationFormBlock,xx as useCreateAssociationGridCardBlock,xv as useCreateAssociationListBlock,x_ as useCreateAssociationTableBlock,xf as useCreateEditFormBlock,xg as useCreateFormBlock,xb as useCreateTableBlock,xy as useCurrentAppInfo,xS as useCurrentDocumentTitle,xk as useCurrentPageUid,xC as useCurrentPopupContext,xM as useCurrentPopupRecord,xw as useCurrentRoleMode,xF as useCurrentRoleVariable,xP as useCurrentRoles,xj as useCurrentRoute,xA as useCurrentSchema,xI as useCurrentSearchParams,xT as useCurrentTabUid,xD as useCurrentUserContext,xL as useCurrentUserSettingsMenu,xY as useCurrentUserVariable,xR as useCustomizeBulkUpdateActionProps,xB as useCustomizeRequestActionProps,xN as useCustomizeUpdateActionProps,xE as useDataBlock,x$ as useDataBlockHeight,xz as useDataBlockParentRecord,xO as useDataBlockProps,xq as useDataBlockRequest,xV as useDataBlockRequestData,xH as useDataBlockRequestGetter,xU as useDataBlockResource,xG as useDataLoadingMode,xK as useDataSource,xW as useDataSourceFromRAC,xJ as useDataSourceHeaders,xX as useDataSourceKey,xZ as useDataSourceManager,xQ as useDataTemplates,x0 as useDatePickerContext,x1 as useDateVariable,x2 as useDatetimeVariable,x5 as useDatetimeVariableContext,x4 as useDeleteRouteSchema,x6 as useDesignable,x7 as useDesigner,x9 as useDestroyAction,x8 as useDestroyActionAndRefreshCM,x3 as useDestroyActionProps,ve as useDetailsBlockContext,vt as useDetailsBlockProps,vo as useDetailsDecoratorProps,vl as useDetailsPaginationProps,vn as useDetailsParentRecord,va as useDetailsProps,vr as useDetailsWithPaginationBlockParams,vi as useDetailsWithPaginationDecoratorProps,vs as useDetailsWithPaginationProps,vd as useDisassociateActionProps,vu as useDocumentTitle,vc as useDownloadLogs,vp as useEditTableActionProps,vm as useEnsureOperatorsValid,vh as useExactDateVariable,vx as useExactDateVariableContext,vv as useExtendCollections,v_ as useFieldComponentName,vf as useFieldComponentOptions,vg as useFieldInterfaceOptions,vb as useFieldMode,vy as useFieldModeOptions,vS as useFieldNames,vk as useFieldProps,vC as useFieldTitle,vM as useFilterAPI,vw as useFilterActionProps,vF as useFilterBlock,vP as useFilterBlockActionProps,vj as useFilterByTk,vA as useFilterFieldOptions,vI as useFilterFieldProps,vT as useFilterOptions,vD as useFindComponent,vL as useFlag,vY as useFormActiveFields,vR as useFormBlockContext,vB as useFormBlockProps,vN as useFormBlockType,vE as useFormDataTemplates,v$ as useFormFieldContext,vz as useFormFieldProps,vO as useFormItemInitializerFields,vq as useGetAriaLabelOfAction,vV as useGetAriaLabelOfDesigner,vH as useGetAriaLabelOfDrawer,vU as useGetAriaLabelOfModal,vG as useGetAriaLabelOfPopover,vK as useGetFilterFieldOptions,vW as useGetFilterOptions,vJ as useGetSchemaInitializerMenuItems,vX as useGlobalTheme,vZ as useGlobalVariable,vQ as useGlobalVariableCtx,v0 as useGridContext,v1 as useGridRowContext,v2 as useHistoryCollectionsByNames,v5 as useInheritsTableColumnInitializerFields,v4 as useInsertPageSchema,v6 as useIsAddNewForm,v7 as useIsAdminPage,v9 as useIsAllowToSetDefaultValue,v8 as useIsAssociationField,v3 as useIsDetailBlock,_e as useIsFieldReadPretty,_t as useIsFileField,_o as useIsFormReadPretty,_l as useIsInSettingsPage,_n as useIsLoggedIn,_a as useIsSameOrChildCollection,_r as useIsSelectFieldMode,_i as useIsSubPageClosedByPageMenu,_s as useKeepAlive,_d as useLabelUiSchema,_u as useLazy,_c as useLinkActionProps,_p as useLinkageAction,_m as useLinkageCollectionFilterOptions,_h as useListBlockContext,_x as useLocalVariables,_v as useLocalVariablesWithoutCustomVariable,__ as useLocationNoUpdate,_f as useLocationSearch,_g as useMenuDragEnd,_b as useMenuSearch,_y as useMenuTranslation,_S as useMobileLayout,_k as useNavigateNoUpdate,_C as useNocoBaseRoutes,_M as useOpenModeContext,_w as useOptionalFieldList,_F as useParamsFromRecord,_P as useParentCollection,_j as useParentRecordCommon,_A as useParentRoute,_I as useParseDataScopeFilter,_T as useParseURLAndParams,_D as useParsedFilter,_L as usePickActionProps,_Y as usePlugin,_R as usePopupSettings,_B as usePopupUtils,_N as usePopupVariable,_E as usePopupVariableContext,_$ as useProps,_z as useRecord,_O as useRecordCollectionDataSourceItems,_q as useRecordIndex,_V as useRecordIsOwn,_H as useRecordPkValue,_U as useRefreshActionProps,_G as useRefreshFieldSchema,_K as useRemoteCollectionManagerLoading,_W as useRemoveActionProps,_J as useRemoveGridFormItem,_X as useRequest,_Z as useRerenderDataBlock,_Q as useResetBlockActionProps,_0 as useResource,_1 as useResourceActionContext,_2 as useResourceContext,_5 as useRoleRecheck,_4 as useRoleVariable,_6 as useRolesResourcesScopesSelectedRowKeys,_7 as useRouter,_9 as useRouterBasename,_8 as useSchemaComponentContext,_3 as useSchemaInitializer,fe as useSchemaInitializerItem,ft as useSchemaInitializerMenuItems,fo as useSchemaInitializerRender,fl as useSchemaInitializerStyles,fn as useSchemaInitializerSubMenuContext,fa as useSchemaOptionsContext,fr as useSchemaSettings,fi as useSchemaSettingsItem,fs as useSchemaSettingsRender,fd as useSchemaTemplate,fu as useSchemaTemplateManager,fc as useSchemaToolbar,fp as useSchemaToolbarRender,fm as useSortFields,fh as useSourceId,fx as useSourceIdFromParentRecord,fv as useSourceIdFromRecord,f_ as useStyles,ff as useSupportedBlocks,fg as useSyncFromForm,fb as useSystemSettings,fy as useSystemSettingsVariable,fS as useTableBlockContext,fk as useTableBlockContextBasicValue,fC as useTableBlockDecoratorProps,fM as useTableBlockParams,fw as useTableBlockProps,fF as useTableColumnInitializerFields,fP as useTableColumnIntegration,fj as useTableColumns,fA as useTableFieldContext,fI as useTableFieldProps,fT as useTableSelectorContext,fD as useTableSelectorProps,fL as useTableSize,fY as useTabsContext,fR as useTemplateBlockContext,fB as useTitleFieldOptions,fN as useToken,fE as useUIConfigurationPermissions,f$ as useURLAndHTMLSchema,fz as useURLSearchParamsCtx,fO as useURLSearchParamsVariable,fq as useUpdateActionProps,fV as useUpdateCollectionActionAndRefreshCM,fH as useUploadStyles,fU as useUserVariable,fG as useValidateSchema,fK as useValuesFromRecord,fW as useVariableOptions,fJ as useVariableScope,fX as useVariableScopeInfo,fZ as useVariables,fQ as useViewport,f0 as useZIndexContext,f1 as withDynamicSchemaProps,f2 as withInitializer,f5 as withSearchParams,f4 as withSkeletonComponent,f6 as zIndexContext};
|