1import{j as e}from"./vendor-map-BvHxHz2a.js";import{cv as l}from"./modulepreload-polyfill-C4MyQ8I2.js";import"./vendor-react-PEuRF1c_.js";import{a as i}from"./vendor-refine-Dz60a73-.js";import"./vendor-echarts-B8W7ugNr.js";import"./vendor-markdown-CsGLYLod.js";import"./vendor-tinymce-BoQPt6qI.js";import"./vendor-lib-DEY2X_J5.js";import{S as m}from"./select-BdQ3G05B.js";import{F as s,I as t}from"./vendor-tdesign-BHVKvSRQ.js";import"./useSelect-CmEdfCmo.js";const h=({store:a=!1,...o})=>{const r=i();return e.jsxs(l,{id:o==null?void 0:o.id,children:[a?e.jsx(s.FormItem,{label:r("store.user.fields.role"),name:"role_id",children:e.jsx(m,{url:"system/role",filterable:!0,optionLabel:"name",optionValue:"id"})}):e.jsx(s.FormItem,{label:r("store.user.fields.store"),name:"store_id",children:e.jsx(m,{url:"store/store",filterable:!0,optionLabel:"name",optionValue:"id"})}),e.jsx(s.FormItem,{label:r("store.user.fields.username"),name:"username",children:e.jsx(t,{})}),e.jsx(s.FormItem,{label:r("store.user.fields.nickname"),name:"nickname",children:e.jsx(t,{})}),e.jsx(s.FormItem,{label:r("store.user.fields.password"),name:"password",children:e.jsx(t,{type:"password",autocomplete:"new-password"})})]})};export{h as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.