!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function c(e,o,u,a){var c=o&&o.prototype instanceof l?o:l,f=Object.create(c.prototype);return t(f,"_invoke",function(e,t,o){var u,a,c,l=0,f=o||[],s=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(e,t){return u=e,a=0,c=n,p.n=t,i}};function v(e,t){for(a=e,c=t,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],v=p.p,m=u[2];e>3?(o=m===t)&&(c=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=n):u[0]<=v&&((o=e<2&&v<u[1])?(a=0,p.v=t,p.n=u[1]):v<m&&(o=e<3||u[0]>t||t>m)&&(u[4]=e,u[5]=t,p.n=m,a=0))}if(o||e>1)return i;throw s=!0,t}return function(o,f,m){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,m),a=f,c=m;(r=a<2?n:c)||!s;){u||(a?a<3?(a>1&&(p.n=-1),v(a,c)):p.n=c:p.v=c);try{if(l=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=n}else if((r=(s=p.n<0)?c:e.call(t,p))!==i)break}catch(r){u=n,a=1,c=r}finally{l=1}}return{value:r,done:s}}}(e,u,a),!0),f}var i={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),v=s.prototype=l.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,t(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e}return f.prototype=s,t(v,"constructor",s),t(s,"constructor",f),f.displayName="GeneratorFunction",t(s,a,"GeneratorFunction"),t(v),t(v,a,"Generator"),t(v,u,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(e=function(){return{w:c,m:m}})()}function t(e,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}t=function(e,n,r,o){function a(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?u?u(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(a("next",0),a("throw",1),a("return",2))},t(e,n,r,o)}function n(e,t,n,r,o,u,a){try{var c=e[u](a),i=c.value}catch(e){return void n(e)}c.done?t(i):Promise.resolve(i).then(r,o)}System.register(["./base-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(t,r){"use strict";var o,u,a,c,i,l,f,s,p,v,m,y,d,b,h,g,_;return{setters:[function(e){o=e.c,u=e.r,a=e.y,c=e.t,i=e.g,l=e.o,f=e.v,s=e.N,p=e.B,v=e.e,m=e.x,y=e.F,d=e.b0,b=e.ak,h=e.al,g=e.ab,_=e.a9},null],execute:function(){t("default",o({__name:"index",props:{compData:{default:function(){return{name:"",options:[],selectList:[],request:function(){return Promise.resolve({})}}}}},setup:function(t,r){var o=r.expose,j=t,w=u(),O=a(j.compData).request,V=c(j.compData),x=V.name,P=V.options,k=i(function(){return P.value}),G=l({classValue:""}),S={classValue:[{required:!0,message:"请选择分类",trigger:"change"}]},T=function(){var t,r=(t=e().m(function t(n){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,w.value.validate();case 1:return e.n=2,O({id:"all"===G.classValue?0:G.classValue},n);case 2:return e.a(2)}},t)}),function(){var e=this,r=arguments;return new Promise(function(o,u){var a=t.apply(e,r);function c(e){n(a,o,u,c,i,"next",e)}function i(e){n(a,o,u,c,i,"throw",e)}c(void 0)})});return function(e){return r.apply(this,arguments)}}();return o({onConfirm:T}),function(e,t){var n=b,r=h,o=g,u=_;return f(),s(u,{ref_key:"setClassFormRef",ref:w,rules:S,model:a(G),class:"px-[2rem] pt-[2rem]"},{default:p(function(){return[v(o,{label:a(x),prop:"classValue"},{default:p(function(){return[v(r,{modelValue:a(G).classValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a(G).classValue=e}),class:"!w-[22rem]",placeholder:"请选择您的分类"},{default:p(function(){return[(f(!0),m(y,null,d(a(k),function(e,t){return f(),s(n,{key:t,label:e.label,value:e.value},null,8,["label","value"])}),128))]}),_:1},8,["modelValue"])]}),_:1},8,["label"])]}),_:1},8,["model"])}}}))}}})}();
