@unchainedshop/admin-ui 4.8.25 → 4.8.26
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/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/{24-r3ko_zk9tx.js → 0-b63f3cwlt9h.js} +2 -2
- package/out/_next/static/chunks/{3_oq57mmti33y.js → 0-uh133eqcz6n.js} +1 -1
- package/out/_next/static/chunks/{0__v8hox2f99w.js → 0172idn4wi-am.js} +3 -3
- package/out/_next/static/chunks/{1snnkviatd2ds.js → 018n9pot9f5uf.js} +3 -3
- package/out/_next/static/chunks/{41mslgyvxwsej.js → 036jcj4okqca4.js} +1 -1
- package/out/_next/static/chunks/{33ndyf-aam_my.js → 03_e40kzqm4nj.js} +2 -2
- package/out/_next/static/chunks/{2yg0gngo1ojjy.js → 05dtc5uryjkmn.js} +2 -2
- package/out/_next/static/chunks/{3laksuh0hh5mn.js → 0989pcuje2j55.js} +1 -1
- package/out/_next/static/chunks/{3t-bgqidpfg2p.js → 0_ngi84ak813x.js} +1 -1
- package/out/_next/static/chunks/{0oikfwsuec7ab.js → 0ac5zzn3zeki5.js} +7 -7
- package/out/_next/static/chunks/{02az0am12ruz7.js → 0c1eqd9oamcur.js} +2 -2
- package/out/_next/static/chunks/{0uh50ckof6hx6.js → 0c2th4nk1xlfd.js} +2 -2
- package/out/_next/static/chunks/{1xp6bya-kpwfn.js → 0cotrfgh1n2cx.js} +1 -1
- package/out/_next/static/chunks/{2vhrwf77u-txi.js → 0dtahnosgvou_.js} +3 -3
- package/out/_next/static/chunks/{3dstnf59_lxjk.js → 0dvf7ltl55td_.js} +2 -2
- package/out/_next/static/chunks/{0rhsm8uteluq4.js → 0k433cermb_mg.js} +11 -11
- package/out/_next/static/chunks/0kkky_8vhaeaz.js +227 -0
- package/out/_next/static/chunks/{2jz9857mvxw1f.js → 0l3hp2c6_v3vu.js} +2 -2
- package/out/_next/static/chunks/{2zclrb781ijot.js → 0o16fnqhx30be.js} +2 -2
- package/out/_next/static/chunks/{2516fxi011eb1.js → 0pecsk3c09b19.js} +2 -2
- package/out/_next/static/chunks/{2k53q5l-08fs3.js → 0pj6j2o4ya0xs.js} +4 -4
- package/out/_next/static/chunks/{079edy40hhkgj.js → 0w2zoz_fn_wha.js} +4 -4
- package/out/_next/static/chunks/{3ahj8n2x-j99f.js → 0yhj5b33a-dp1.js} +4 -4
- package/out/_next/static/chunks/1-uz_5-063kh9.js +188 -0
- package/out/_next/static/chunks/{2jdelz2l311he.js → 10os1s66nimmi.js} +1 -1
- package/out/_next/static/chunks/119eyvb0tl4d7.js +5 -0
- package/out/_next/static/chunks/{3gls52bjnoo8q.js → 12ukdi5bzlbeo.js} +5 -5
- package/out/_next/static/chunks/{2rjnybq036zly.js → 13qk8ukzu1snm.js} +1 -1
- package/out/_next/static/chunks/{3_12z4kmwbyi-.js → 17wc5344qnib1.js} +3 -3
- package/out/_next/static/chunks/{37kg802txlx94.js → 18e-92lfg29wn.js} +9 -9
- package/out/_next/static/chunks/{277akhd6xt9p_.js → 1bhsgjj7bbftc.js} +2 -2
- package/out/_next/static/chunks/{42fk1xz9mr0ln.js → 1bp_0jnta8nj1.js} +2 -2
- package/out/_next/static/chunks/{3v80f5bymfjvd.js → 1cgxgd2cf8u3j.js} +1 -1
- package/out/_next/static/chunks/{0z3r-u3woyf5f.js → 1d951b6ed8oqn.js} +10 -10
- package/out/_next/static/chunks/{2qz0jmtz3yn40.js → 1epelh6347c59.js} +4 -4
- package/out/_next/static/chunks/{05j07j2bqc6wn.js → 1f5-j4f3irx0j.js} +1 -1
- package/out/_next/static/chunks/{32u64w60mh-qb.js → 1f536itbgwelp.js} +2 -2
- package/out/_next/static/chunks/{3uhtf9i__bqje.js → 1g57y7cq7tjcb.js} +3 -3
- package/out/_next/static/chunks/{26ie8u_ab24o8.js → 1gksg35fivk0-.js} +6 -6
- package/out/_next/static/chunks/{278a5_xfwj8t8.js → 1gv6j3dx9s71x.js} +3 -3
- package/out/_next/static/chunks/{238_wkbkqe4ru.js → 1hpx7xjq9a5bq.js} +2 -2
- package/out/_next/static/chunks/{2_bwqw4n9gs7w.js → 1hwup6qqzqzh8.js} +8 -8
- package/out/_next/static/chunks/{1jvgta6cg9f63.js → 1k703f4i1hgfy.js} +2 -2
- package/out/_next/static/chunks/{0qz4fmzwbpwoh.js → 1mo_wvf-1w8h-.js} +3 -3
- package/out/_next/static/chunks/{1_b14nl6-4wtw.js → 1o41sjh1nhwir.js} +10 -10
- package/out/_next/static/chunks/{2ckezjg_6i9cn.js → 1r0jyqmys60fw.js} +2 -2
- package/out/_next/static/chunks/1shkyosfbiwr4.js +1 -0
- package/out/_next/static/chunks/{35995k_05rugk.js → 1sivy8bkkmwxl.js} +1 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +95 -0
- package/out/_next/static/chunks/{3ggt1tip88nkp.js → 1w_4l5gk0n27a.js} +2 -2
- package/out/_next/static/chunks/{3g0xmbqgxpj7o.js → 1weq9keqxiqpy.js} +1 -1
- package/out/_next/static/chunks/{3pu2ctsxqn-fl.js → 1zzpf1xbmchcj.js} +1 -1
- package/out/_next/static/chunks/{1wcwzekzzjwlq.js → 2-ciniqgtu96t.js} +3 -3
- package/out/_next/static/chunks/{16eus7dy50oyb.js → 20wamkfz03l6l.js} +2 -2
- package/out/_next/static/chunks/{2soyg4wxppe6n.js → 21c515liq8_sf.js} +2 -2
- package/out/_next/static/chunks/{0ij8zl3c4lqsk.js → 21lf0tu71e9e5.js} +4 -4
- package/out/_next/static/chunks/{3b1om2xaljjvh.js → 27tp9qrxhs6uf.js} +2 -2
- package/out/_next/static/chunks/{003ookoyh79au.js → 28z1z7in8-kbg.js} +1 -1
- package/out/_next/static/chunks/{3j7lb46_vxpd6.js → 2_0bsdj7k4kue.js} +2 -2
- package/out/_next/static/chunks/{1h4ckn5mxvi_8.js → 2b_lhf_533k0a.js} +3 -3
- package/out/_next/static/chunks/{1wez602sl5xny.js → 2cnc1jkfc85_x.js} +2 -2
- package/out/_next/static/chunks/{3_t_mtrxdgcpx.js → 2cwzp5h99c8es.js} +2 -2
- package/out/_next/static/chunks/{2wzimhcqk94rf.js → 2ecq8dhsm2eu1.js} +9 -9
- package/out/_next/static/chunks/{0x1q_xhnh-ahz.js → 2eo4m196-t6ed.js} +2 -2
- package/out/_next/static/chunks/{0id72_o51c3wx.js → 2f8qzo__ksyu7.js} +2 -2
- package/out/_next/static/chunks/{127vzg0pzx801.js → 2g0f0awj5p2qc.js} +2 -2
- package/out/_next/static/chunks/2i5uj5i4z-xu8.js +188 -0
- package/out/_next/static/chunks/2j6cph79-th54.js +7 -0
- package/out/_next/static/chunks/{0frvaf7psqfd-.js → 2o7wjpjbr5vau.js} +2 -2
- package/out/_next/static/chunks/{0feoncudhgyln.js → 2ocwu5vbc5r34.js} +1 -1
- package/out/_next/static/chunks/{43sqln4o-0sbu.js → 2p6deqdf8dlo0.js} +12 -12
- package/out/_next/static/chunks/{2ify0_8_eg6i8.js → 2rw-r9fvx6t4y.js} +2 -2
- package/out/_next/static/chunks/{3rskgltgatai7.js → 2skxi0oqka3ef.js} +4 -4
- package/out/_next/static/chunks/{0v97keszuu2ye.js → 2v0koj5wv-png.js} +2 -2
- package/out/_next/static/chunks/{36wixjyjpx2kp.js → 2vhqw66fy605y.js} +3 -3
- package/out/_next/static/chunks/{2lgzijzm81h5i.js → 2vy8ae-zwwle1.js} +3 -3
- package/out/_next/static/chunks/{3kniyx4tjrwz2.js → 2y9z7y6i5cawj.js} +3 -3
- package/out/_next/static/chunks/{2blfxtx5ec8hc.js → 2z5b35yv3i6aq.js} +2 -2
- package/out/_next/static/chunks/{0je6_km9r9fy3.js → 3-av_88np5f5_.js} +2 -2
- package/out/_next/static/chunks/{2pg_bikt9gdq9.js → 3-h5nu9jontfy.js} +2 -2
- package/out/_next/static/chunks/{2t8p0kniibzz0.js → 3-hdz4_6asex-.js} +2 -2
- package/out/_next/static/chunks/{2tn-d1ba-rexw.js → 30zp6-w17u9rt.js} +2 -2
- package/out/_next/static/chunks/{03lxylxrb--nr.js → 31_pg1fxqgdfx.js} +5 -5
- package/out/_next/static/chunks/{15qb_nbftdngf.js → 31j6x_qgtn-7j.js} +2 -2
- package/out/_next/static/chunks/{1530qvlw3k6-r.js → 363ng2l8o_bee.js} +1 -1
- package/out/_next/static/chunks/378867ti5yucc.js +3 -0
- package/out/_next/static/chunks/{3zscwdzfvog6_.js → 37phwvegpccj0.js} +3 -3
- package/out/_next/static/chunks/{1b350uot8ezcc.js → 37rq4vcfobv9x.js} +2 -2
- package/out/_next/static/chunks/{095k8hpxw-xbn.js → 3dbskin37ha12.js} +2 -2
- package/out/_next/static/chunks/{3h7u-1nejqqtb.js → 3opuxnw_w3yb5.js} +1 -1
- package/out/_next/static/chunks/{3oa7poag0otjv.js → 3s18b668qqa87.js} +3 -3
- package/out/_next/static/chunks/{41zg0kqiqrk1p.js → 3u3tcrl7wxrzi.js} +2 -2
- package/out/_next/static/chunks/{40xs4068rcf2a.js → 3wm88ukxj8u46.js} +2 -2
- package/out/_next/static/chunks/{17oybfz0_w57_.js → 404_8bnljpu18.js} +3 -3
- package/out/_next/static/chunks/{1ape9gu816w4y.js → 40bl8g3_13c59.js} +2 -2
- package/out/_next/static/chunks/{2gkktfamtwne7.js → 40v94fy15qxej.js} +2 -2
- package/out/_next/static/chunks/{1rjt4878-6jpq.js → 4188i5qe83m24.js} +9 -9
- package/out/_next/static/chunks/{39yikkubmtgqz.js → 458tg2eg5h8j5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3kacigl3rdfnv.js → turbopack-06hufy_7yovzw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-36iwsu47bxp33.js → turbopack-08u3rgl_09tb7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3krde2-jab_v8.js → turbopack-0bljt1tp0zt4q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3r3t_benyr3e0.js → turbopack-0bp88aylp19tu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3ooud-27zb68g.js → turbopack-0cbhwv4g0ak0q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w4scyf6vpol5.js → turbopack-0cu-maxx6s175.js} +1 -1
- package/out/_next/static/chunks/{turbopack-44xximgh8gm_p.js → turbopack-0hpk8f7-2xoz3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2b1khd4qbo4g_.js → turbopack-0i_uv1p6_dyo-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3qzwty6gp2rp6.js → turbopack-0j92hsdmi8k6p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3aomwkxdb1xcd.js → turbopack-0jijm5fs2d3pa.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2zkucstqs-uas.js → turbopack-0la8grv9f6bxn.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1nyeff6x3-pse.js → turbopack-0nlhzx_9rg6_p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1_gglg3dpcrb9.js → turbopack-0rt_vkqrb6ykb.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2qna1gaz_m8yg.js → turbopack-0ywznohf-p_-1.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1sbxamm6uhuz5.js → turbopack-10l1gows-lyo9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0zgk48rvr1ido.js → turbopack-13nb0axu41yph.js} +1 -1
- package/out/_next/static/chunks/{turbopack-43nacpl_z8zcq.js → turbopack-148_1qw3wae7d.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3it6l3zzhdo9p.js → turbopack-14qzcqdgveoel.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0f19levb05q7i.js → turbopack-14zydki2yqyd3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0_rgd_u2af3ru.js → turbopack-15x3cqzaaew93.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1us_6ukt1jk6-.js → turbopack-1bnaj5x8w5m6z.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0u-4g74a2wwm5.js → turbopack-1ddkj8w1l0b4_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2sq3dp63iy9sc.js → turbopack-1gbk68s3o1ulv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_5cgc46h8vnh.js → turbopack-1k2h3st-nygbo.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2gd0kzz1h3hib.js → turbopack-1r4g2xna7gckz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-24dn7pallse3c.js → turbopack-1w2r6t0rjz8pp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0hqshmcyjb59f.js → turbopack-1w3-o4vpw_tgq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-37s27yvm7wqhz.js → turbopack-22r1qh8g6munp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-21wpv-2yjj_2k.js → turbopack-252a5rlyrq9fk.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1hmv9sdzrieda.js → turbopack-25bgi6hb6qg8w.js} +1 -1
- package/out/_next/static/chunks/{turbopack-17yo0nf9vriak.js → turbopack-25hv3ltvy0wos.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3q_fl6svn9p5v.js → turbopack-26z9lzkojt-cx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2xi5gbt97onhy.js → turbopack-272y7gt3ncsq7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ck9bx9i_235a.js → turbopack-2b14t7jx5tgn7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-411xj3ahxrm7x.js → turbopack-2cvqtdfi5z-33.js} +1 -1
- package/out/_next/static/chunks/{turbopack-211nr22unb6cu.js → turbopack-2h3q2k9k2riyq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3hwp80k71dv65.js → turbopack-2ihmy6dk991x4.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2oib8sz_w6hep.js → turbopack-2jpit5njafpgz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1tt8er6zdq9n9.js → turbopack-2xm-84om1nxe3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34ki5zh3v60qq.js → turbopack-3-84r4h6w7ztq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-31mn29md8ofl3.js → turbopack-3-kzs1xrhesa8.js} +1 -1
- package/out/_next/static/chunks/{turbopack-392y78oof71z2.js → turbopack-328hjoqts5fe-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-028t8_6fqod-c.js → turbopack-34cd6px36-_ae.js} +1 -1
- package/out/_next/static/chunks/{turbopack-086jsmtsvtaec.js → turbopack-34gjko7_04blz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_-rg9lmp4h0e.js → turbopack-34rebh56g2zjd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2jz68yzgjx-xl.js → turbopack-3591lq9bl5zm-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2uzg6ysxx6cf5.js → turbopack-3aujkr72l5znq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1pld3p02m7h8c.js → turbopack-3cnuj1vf45306.js} +1 -1
- package/out/_next/static/chunks/{turbopack-33hnf_-ch94yh.js → turbopack-3ma-qc75tctdd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2y9g0j3n6bhv8.js → turbopack-3mxiudedhdbib.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3xna14y4x6294.js → turbopack-3n_3uj335tm0n.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2e4vvf8-6h7il.js → turbopack-3np05fneli2gv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3vj5mrb50cv96.js → turbopack-3opb94dwpz7bg.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3en5il6z7-a36.js → turbopack-3ouyppea8jp6k.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1xt9y6imo4y47.js → turbopack-3qmjh91o7wte5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2tvzuc7lcku4v.js → turbopack-3seov_dvv8im-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ougsw-ryfqrq.js → turbopack-3uov6gvwwuxmx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3p5qeedyziucp.js → turbopack-3x5pttfv2qlpw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3vozqs8tej365.js → turbopack-3xem4akmi9at9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2u4m169_39_qy.js → turbopack-3z9v3oefxw81i.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2gq3nwbp7cjh5.js → turbopack-3zxsk_hikkrwx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0bro3_e58rpi5.js → turbopack-42akqkt4irsps.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1hmil1x9p77h_.js → turbopack-44bpgib3rn1s2.js} +1 -1
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-45H2WVIC.js +0 -51
- package/dist/chunk-4VNS5WPM.js +0 -37
- package/dist/chunk-54DKBWXV.js +0 -33
- package/dist/chunk-6TXD4TA7.js +0 -1196
- package/dist/chunk-BGCKJQGS.js +0 -58
- package/dist/chunk-BYXBJQAS.js +0 -1
- package/dist/chunk-EJDZRZSZ.js +0 -59
- package/dist/chunk-ELPURWDC.js +0 -75
- package/dist/chunk-IAQPLRXZ.js +0 -16
- package/dist/chunk-ILYPJE4N.js +0 -57
- package/dist/chunk-IXBMHOB5.js +0 -13
- package/dist/chunk-KH5MK6ZW.js +0 -18
- package/dist/chunk-NT7RB7AK.js +0 -70
- package/dist/chunk-OKGJ6HDE.js +0 -26
- package/dist/chunk-Q6S3LBUF.js +0 -180
- package/dist/chunk-QNLGYFV7.js +0 -22
- package/dist/chunk-RAQV2GYF.js +0 -70
- package/dist/chunk-RHUFQVKL.js +0 -514
- package/dist/chunk-RVG6IOFC.js +0 -11
- package/dist/chunk-SRAAKMWY.js +0 -39
- package/dist/chunk-UFYR5WZT.js +0 -165
- package/dist/chunk-UXG7EYHC.js +0 -614
- package/dist/chunk-VDKQGOMV.js +0 -840
- package/dist/chunk-XHOCXPD5.js +0 -9
- package/dist/chunk-XJBPMIC4.js +0 -284
- package/dist/chunk-YO6PT7KD.js +0 -13
- package/dist/chunk-YSKZE2KN.js +0 -652
- package/dist/components/ui/Accordion/Accordion.d.ts +0 -11
- package/dist/components/ui/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +0 -6
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionItem.d.ts +0 -11
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +0 -1
- package/dist/components/ui/ActiveInActive.d.ts +0 -10
- package/dist/components/ui/ActiveInActive.d.ts.map +0 -1
- package/dist/components/ui/AnimatedCounter.d.ts +0 -7
- package/dist/components/ui/AnimatedCounter.d.ts.map +0 -1
- package/dist/components/ui/Badge.d.ts +0 -10
- package/dist/components/ui/Badge.d.ts.map +0 -1
- package/dist/components/ui/BreadCrumbs.d.ts +0 -7
- package/dist/components/ui/BreadCrumbs.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts +0 -36
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/CopyableText.d.ts +0 -5
- package/dist/components/ui/CopyableText.d.ts.map +0 -1
- package/dist/components/ui/DateInput.d.ts +0 -15
- package/dist/components/ui/DateInput.d.ts.map +0 -1
- package/dist/components/ui/DateRangeFilterInput.d.ts +0 -4
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +0 -1
- package/dist/components/ui/DetailHeader.d.ts +0 -6
- package/dist/components/ui/DetailHeader.d.ts.map +0 -1
- package/dist/components/ui/DraggableIcon.d.ts +0 -3
- package/dist/components/ui/DraggableIcon.d.ts.map +0 -1
- package/dist/components/ui/ErrorBoundary.d.ts +0 -18
- package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/ui/ErrorFallback.d.ts +0 -6
- package/dist/components/ui/ErrorFallback.d.ts.map +0 -1
- package/dist/components/ui/HelpText.d.ts +0 -11
- package/dist/components/ui/HelpText.d.ts.map +0 -1
- package/dist/components/ui/ImageWithFallback.d.ts +0 -7
- package/dist/components/ui/ImageWithFallback.d.ts.map +0 -1
- package/dist/components/ui/InfoTextBanner.d.ts +0 -6
- package/dist/components/ui/InfoTextBanner.d.ts.map +0 -1
- package/dist/components/ui/JSONView.d.ts +0 -6
- package/dist/components/ui/JSONView.d.ts.map +0 -1
- package/dist/components/ui/ListHeader.d.ts +0 -6
- package/dist/components/ui/ListHeader.d.ts.map +0 -1
- package/dist/components/ui/Loading.d.ts +0 -3
- package/dist/components/ui/Loading.d.ts.map +0 -1
- package/dist/components/ui/NoData.d.ts +0 -7
- package/dist/components/ui/NoData.d.ts.map +0 -1
- package/dist/components/ui/NoImage.d.ts +0 -7
- package/dist/components/ui/NoImage.d.ts.map +0 -1
- package/dist/components/ui/NoImageSvg.d.ts +0 -8
- package/dist/components/ui/NoImageSvg.d.ts.map +0 -1
- package/dist/components/ui/PageHeader.d.ts +0 -11
- package/dist/components/ui/PageHeader.d.ts.map +0 -1
- package/dist/components/ui/Pagination.d.ts +0 -8
- package/dist/components/ui/Pagination.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.types.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.types.d.ts.map +0 -1
- package/dist/components/ui/SaveAndCancelButtons.d.ts +0 -10
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +0 -1
- package/dist/components/ui/SearchField.d.ts +0 -7
- package/dist/components/ui/SearchField.d.ts.map +0 -1
- package/dist/components/ui/Tab.d.ts +0 -18
- package/dist/components/ui/Tab.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagInput.d.ts +0 -14
- package/dist/components/ui/Tag/TagInput.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagList.d.ts +0 -8
- package/dist/components/ui/Tag/TagList.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagListForm.d.ts +0 -8
- package/dist/components/ui/Tag/TagListForm.d.ts.map +0 -1
- package/dist/components/ui/Toggle.d.ts +0 -11
- package/dist/components/ui/Toggle.d.ts.map +0 -1
- package/dist/components/ui/ToolTip.d.ts +0 -7
- package/dist/components/ui/ToolTip.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -42
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/form/CheckboxField.d.ts +0 -4
- package/dist/components/ui/form/CheckboxField.d.ts.map +0 -1
- package/dist/components/ui/form/ChoicesField.d.ts +0 -12
- package/dist/components/ui/form/ChoicesField.d.ts.map +0 -1
- package/dist/components/ui/form/Combobox.d.ts +0 -20
- package/dist/components/ui/form/Combobox.d.ts.map +0 -1
- package/dist/components/ui/form/DatePickerField.d.ts +0 -4
- package/dist/components/ui/form/DatePickerField.d.ts.map +0 -1
- package/dist/components/ui/form/EmailField.d.ts +0 -7
- package/dist/components/ui/form/EmailField.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWithHelp.d.ts +0 -10
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWrapper.d.ts +0 -8
- package/dist/components/ui/form/FieldWrapper.d.ts.map +0 -1
- package/dist/components/ui/form/FormErrors.d.ts +0 -6
- package/dist/components/ui/form/FormErrors.d.ts.map +0 -1
- package/dist/components/ui/form/JSONAreaField.d.ts +0 -7
- package/dist/components/ui/form/JSONAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +0 -8
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/PasswordField.d.ts +0 -3
- package/dist/components/ui/form/PasswordField.d.ts.map +0 -1
- package/dist/components/ui/form/SelectField.d.ts +0 -11
- package/dist/components/ui/form/SelectField.d.ts.map +0 -1
- package/dist/components/ui/form/SubmitButton.d.ts +0 -9
- package/dist/components/ui/form/SubmitButton.d.ts.map +0 -1
- package/dist/components/ui/form/TagInputField.d.ts +0 -6
- package/dist/components/ui/form/TagInputField.d.ts.map +0 -1
- package/dist/components/ui/form/TextAreaField.d.ts +0 -8
- package/dist/components/ui/form/TextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/TextField.d.ts +0 -10
- package/dist/components/ui/form/TextField.d.ts.map +0 -1
- package/dist/components/ui/form/index.d.ts +0 -17
- package/dist/components/ui/form/index.d.ts.map +0 -1
- package/dist/components/ui/icons.d.ts +0 -4
- package/dist/components/ui/icons.d.ts.map +0 -1
- package/dist/components/ui/index.d.ts +0 -41
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/form.js +0 -30102
- package/dist/gql/types.d.ts +0 -17209
- package/dist/gql/types.d.ts.map +0 -1
- package/dist/hooks.js +0 -41
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/modal.js +0 -114
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +0 -8
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +0 -1
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +0 -7
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/UserFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +0 -10
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +0 -8
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +0 -1
- package/dist/modules/accounts.js +0 -1013
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +0 -8
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +0 -1
- package/dist/modules/assortment.js +0 -1121
- package/dist/modules/common/components/AppContext.d.ts +0 -18
- package/dist/modules/common/components/AppContext.d.ts.map +0 -1
- package/dist/modules/common/components/FormWrapper.d.ts +0 -8
- package/dist/modules/common/components/FormWrapper.d.ts.map +0 -1
- package/dist/modules/common/components/ThemeWrapper.d.ts +0 -10
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +0 -1
- package/dist/modules/common/data/iso-codes.d.ts +0 -4
- package/dist/modules/common/data/iso-codes.d.ts.map +0 -1
- package/dist/modules/common/data/miscellaneous.d.ts +0 -51
- package/dist/modules/common/data/miscellaneous.d.ts.map +0 -1
- package/dist/modules/common/fragments/AddressFragment.d.ts +0 -3
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +0 -1
- package/dist/modules/common/hooks/useApp.d.ts +0 -11
- package/dist/modules/common/hooks/useApp.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVExport.d.ts +0 -10
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVImport.d.ts +0 -18
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +0 -5
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +0 -1
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +0 -10
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +0 -1
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +0 -23
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useLocalStorage.d.ts +0 -3
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +0 -25
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +0 -16
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOutsideClick.d.ts +0 -3
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +0 -1
- package/dist/modules/common/hooks/usePortal.d.ts +0 -20
- package/dist/modules/common/hooks/usePortal.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +0 -8
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopInfo.d.ts +0 -41
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +0 -1
- package/dist/modules/common/hooks/useStatusTypes.d.ts +0 -10
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +0 -1
- package/dist/modules/common/hooks/useSystemRoles.d.ts +0 -7
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +0 -1
- package/dist/modules/common/hooks/useTheme.d.ts +0 -7
- package/dist/modules/common/hooks/useTheme.d.ts.map +0 -1
- package/dist/modules/common/utils/deBounce.d.ts +0 -3
- package/dist/modules/common/utils/deBounce.d.ts.map +0 -1
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +0 -7
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +0 -1
- package/dist/modules/common/utils/formatUsername.d.ts +0 -3
- package/dist/modules/common/utils/formatUsername.d.ts.map +0 -1
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +0 -30
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +0 -1
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +0 -4
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +0 -1
- package/dist/modules/common/utils/useFormatDateTime.d.ts +0 -7
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +0 -1
- package/dist/modules/common/utils/utils.d.ts +0 -21
- package/dist/modules/common/utils/utils.d.ts.map +0 -1
- package/dist/modules/country/fragments/CountryFragment.d.ts +0 -3
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +0 -1
- package/dist/modules/country/hooks/useCountries.d.ts +0 -22
- package/dist/modules/country/hooks/useCountries.d.ts.map +0 -1
- package/dist/modules/country.js +0 -108
- package/dist/modules/currency.js +0 -119
- package/dist/modules/delivery-provider.js +0 -269
- package/dist/modules/enrollment.js +0 -353
- package/dist/modules/event.js +0 -123
- package/dist/modules/filter.js +0 -448
- package/dist/modules/forms/components/Form.d.ts +0 -8
- package/dist/modules/forms/components/Form.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useField.d.ts +0 -35
- package/dist/modules/forms/hooks/useField.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useForm.d.ts +0 -44
- package/dist/modules/forms/hooks/useForm.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useFormContext.d.ts +0 -3
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/FormContext.d.ts +0 -13
- package/dist/modules/forms/lib/FormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/clean.d.ts +0 -3
- package/dist/modules/forms/lib/clean.d.ts.map +0 -1
- package/dist/modules/forms/lib/validators.d.ts +0 -20
- package/dist/modules/forms/lib/validators.d.ts.map +0 -1
- package/dist/modules/language/fragments/LanguageFragment.d.ts +0 -3
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +0 -1
- package/dist/modules/language/hooks/useLanguages.d.ts +0 -19
- package/dist/modules/language/hooks/useLanguages.d.ts.map +0 -1
- package/dist/modules/language.js +0 -106
- package/dist/modules/modal/components/AlertMessage.d.ts +0 -9
- package/dist/modules/modal/components/AlertMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/DangerMessage.d.ts +0 -12
- package/dist/modules/modal/components/DangerMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/ImportResultMessage.d.ts +0 -14
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/Modal.d.ts +0 -10
- package/dist/modules/modal/components/Modal.d.ts.map +0 -1
- package/dist/modules/modal/components/ModalWrapper.d.ts +0 -6
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +0 -1
- package/dist/modules/modal/hooks/useModal.d.ts +0 -7
- package/dist/modules/modal/hooks/useModal.d.ts.map +0 -1
- package/dist/modules/modal/utils/ModalContext.d.ts +0 -9
- package/dist/modules/modal/utils/ModalContext.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +0 -1
- package/dist/modules/order/hooks/useOrders.d.ts +0 -46
- package/dist/modules/order/hooks/useOrders.d.ts.map +0 -1
- package/dist/modules/order.js +0 -563
- package/dist/modules/payment-providers.js +0 -206
- package/dist/modules/product/hooks/useProductsCount.d.ts +0 -8
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +0 -1
- package/dist/modules/product-review.js +0 -251
- package/dist/modules/product.js +0 -1929
- package/dist/modules/quotation.js +0 -297
- package/dist/modules/token.js +0 -143
- package/dist/modules/warehousing-providers.js +0 -206
- package/dist/modules/work/fragments/WorkFragment.d.ts +0 -3
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +0 -1
- package/dist/modules/work/hooks/useAddWork.d.ts +0 -6
- package/dist/modules/work/hooks/useAddWork.d.ts.map +0 -1
- package/dist/modules/work/hooks/useWork.d.ts +0 -32
- package/dist/modules/work/hooks/useWork.d.ts.map +0 -1
- package/dist/modules/work.js +0 -308
- package/dist/plugins.js +0 -8
- package/dist/providers.js +0 -6
- package/dist/sdk/hooks.d.ts +0 -9
- package/dist/sdk/hooks.d.ts.map +0 -1
- package/dist/sdk/modal.d.ts +0 -7
- package/dist/sdk/modal.d.ts.map +0 -1
- package/dist/sdk/plugins.d.ts +0 -67
- package/dist/sdk/plugins.d.ts.map +0 -1
- package/dist/sdk/providers.d.ts +0 -5
- package/dist/sdk/providers.d.ts.map +0 -1
- package/dist/sdk/theme.d.ts +0 -26
- package/dist/sdk/theme.d.ts.map +0 -1
- package/dist/theme.js +0 -34
- package/dist/ui.js +0 -21540
- package/out/_next/static/chunks/0-kffmdf1lcxk.js +0 -1
- package/out/_next/static/chunks/0axbsyx70ajmu.js +0 -5
- package/out/_next/static/chunks/0dlg390tt3o1_.js +0 -107
- package/out/_next/static/chunks/0ki8gfs3dlslv.js +0 -3
- package/out/_next/static/chunks/140i5f2n-78cg.js +0 -7
- package/out/_next/static/chunks/1qx9z7kl93y0b.js +0 -188
- package/out/_next/static/chunks/25mevljp4o01b.js +0 -188
- package/out/_next/static/chunks/2qhvt2n_whgz1.js +0 -227
- package/out/manifest.json +0 -48
- /package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_ssgManifest.js +0 -0
package/dist/chunk-YSKZE2KN.js
DELETED
|
@@ -1,652 +0,0 @@
|
|
|
1
|
-
import { textColor, bgColor, borderColor } from './chunk-VDKQGOMV.js';
|
|
2
|
-
import { useField_default, validateRequiredTag, useFormContext_default } from './chunk-UXG7EYHC.js';
|
|
3
|
-
import { QuestionMarkCircleIcon_default } from './chunk-XJBPMIC4.js';
|
|
4
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
|
-
import { useRouter } from 'next/router';
|
|
6
|
-
import * as React2 from 'react';
|
|
7
|
-
import React2__default, { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
8
|
-
import { useIntl } from 'react-intl';
|
|
9
|
-
import { useFormContext } from 'react-hook-form';
|
|
10
|
-
|
|
11
|
-
// ../node_modules/clsx/dist/clsx.mjs
|
|
12
|
-
function r(e) {
|
|
13
|
-
var t, f, n = "";
|
|
14
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
15
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
16
|
-
var o = e.length;
|
|
17
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
18
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
19
|
-
return n;
|
|
20
|
-
}
|
|
21
|
-
function clsx() {
|
|
22
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
23
|
-
return n;
|
|
24
|
-
}
|
|
25
|
-
var clsx_default = clsx;
|
|
26
|
-
var Badge = ({
|
|
27
|
-
text,
|
|
28
|
-
className: classes = "",
|
|
29
|
-
dotted = null,
|
|
30
|
-
color = "green",
|
|
31
|
-
square = null,
|
|
32
|
-
onClick = null
|
|
33
|
-
}) => {
|
|
34
|
-
const normalizedColor = color?.trim();
|
|
35
|
-
const isRainbow = normalizedColor === "rainbow";
|
|
36
|
-
return /* @__PURE__ */ jsx(
|
|
37
|
-
"span",
|
|
38
|
-
{
|
|
39
|
-
id: "badge",
|
|
40
|
-
className: clsx_default(
|
|
41
|
-
isRainbow ? "inline-flex items-center text-sm font-bold text-text-primary shadow-lg relative p-[2px] bg-gradient-to-r from-rose-500 via-emerald-500 to-sky-500" : `inline-flex items-center border ${borderColor(
|
|
42
|
-
normalizedColor,
|
|
43
|
-
400
|
|
44
|
-
)} px-2.5 py-0.5 text-sm font-medium ${bgColor(
|
|
45
|
-
normalizedColor,
|
|
46
|
-
100
|
|
47
|
-
)} ${textColor(normalizedColor, 800)}`,
|
|
48
|
-
classes,
|
|
49
|
-
{
|
|
50
|
-
"rounded-full": !square,
|
|
51
|
-
"rounded-md": square
|
|
52
|
-
}
|
|
53
|
-
),
|
|
54
|
-
children: isRainbow ? /* @__PURE__ */ jsxs(
|
|
55
|
-
"span",
|
|
56
|
-
{
|
|
57
|
-
className: clsx_default(
|
|
58
|
-
"inline-flex items-center bg-white dark:bg-slate-700 px-2.5 py-0.5",
|
|
59
|
-
{
|
|
60
|
-
"rounded-full": !square,
|
|
61
|
-
"rounded-md": square
|
|
62
|
-
}
|
|
63
|
-
),
|
|
64
|
-
children: [
|
|
65
|
-
dotted && /* @__PURE__ */ jsx(
|
|
66
|
-
"svg",
|
|
67
|
-
{
|
|
68
|
-
className: "text-text-primary -ml-1 mr-1.5 h-2 w-2",
|
|
69
|
-
fill: "currentColor",
|
|
70
|
-
viewBox: "0 0 8 8",
|
|
71
|
-
children: /* @__PURE__ */ jsx("circle", { cx: "4", cy: "4", r: "3" })
|
|
72
|
-
}
|
|
73
|
-
),
|
|
74
|
-
text,
|
|
75
|
-
onClick && /* @__PURE__ */ jsx(
|
|
76
|
-
"button",
|
|
77
|
-
{
|
|
78
|
-
id: "badge-x-button",
|
|
79
|
-
type: "button",
|
|
80
|
-
onClick,
|
|
81
|
-
className: "ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-text-primary hover:bg-slate-900 hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 focus:outline-hidden focus:bg-slate-900 focus:bg-opacity-20 dark:focus:bg-white dark:focus:bg-opacity-30",
|
|
82
|
-
children: /* @__PURE__ */ jsx(
|
|
83
|
-
"svg",
|
|
84
|
-
{
|
|
85
|
-
className: "h-2 w-2",
|
|
86
|
-
stroke: "currentColor",
|
|
87
|
-
fill: "none",
|
|
88
|
-
viewBox: "0 0 8 8",
|
|
89
|
-
children: /* @__PURE__ */ jsx(
|
|
90
|
-
"path",
|
|
91
|
-
{
|
|
92
|
-
strokeLinecap: "round",
|
|
93
|
-
strokeWidth: "1.5",
|
|
94
|
-
d: "M1 1l6 6m0-6L1 7"
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
}
|
|
98
|
-
)
|
|
99
|
-
}
|
|
100
|
-
)
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
104
|
-
dotted && /* @__PURE__ */ jsx(
|
|
105
|
-
"svg",
|
|
106
|
-
{
|
|
107
|
-
className: `-ml-1 mr-1.5 h-2 w-2 ${textColor(normalizedColor, 400)}`,
|
|
108
|
-
fill: "currentColor",
|
|
109
|
-
viewBox: "0 0 8 8",
|
|
110
|
-
children: /* @__PURE__ */ jsx("circle", { cx: "4", cy: "4", r: "3" })
|
|
111
|
-
}
|
|
112
|
-
),
|
|
113
|
-
text,
|
|
114
|
-
onClick && /* @__PURE__ */ jsx(
|
|
115
|
-
"button",
|
|
116
|
-
{
|
|
117
|
-
id: "badge-x-button",
|
|
118
|
-
type: "button",
|
|
119
|
-
onClick,
|
|
120
|
-
className: `ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${textColor(
|
|
121
|
-
normalizedColor,
|
|
122
|
-
400
|
|
123
|
-
)} hover:${bgColor(
|
|
124
|
-
normalizedColor,
|
|
125
|
-
200
|
|
126
|
-
)} hover:text-${normalizedColor}-500 focus:outline-hidden focus:${bgColor(
|
|
127
|
-
normalizedColor,
|
|
128
|
-
500
|
|
129
|
-
)} focus:text-white`,
|
|
130
|
-
children: /* @__PURE__ */ jsx(
|
|
131
|
-
"svg",
|
|
132
|
-
{
|
|
133
|
-
className: "h-2 w-2",
|
|
134
|
-
stroke: "currentColor",
|
|
135
|
-
fill: "none",
|
|
136
|
-
viewBox: "0 0 8 8",
|
|
137
|
-
children: /* @__PURE__ */ jsx(
|
|
138
|
-
"path",
|
|
139
|
-
{
|
|
140
|
-
strokeLinecap: "round",
|
|
141
|
-
strokeWidth: "1.5",
|
|
142
|
-
d: "M1 1l6 6m0-6L1 7"
|
|
143
|
-
}
|
|
144
|
-
)
|
|
145
|
-
}
|
|
146
|
-
)
|
|
147
|
-
}
|
|
148
|
-
)
|
|
149
|
-
] })
|
|
150
|
-
}
|
|
151
|
-
);
|
|
152
|
-
};
|
|
153
|
-
var Badge_default = Badge;
|
|
154
|
-
var Tab = ({
|
|
155
|
-
children,
|
|
156
|
-
tabItems,
|
|
157
|
-
defaultTab,
|
|
158
|
-
updateRoute = true
|
|
159
|
-
}) => {
|
|
160
|
-
const router = useRouter();
|
|
161
|
-
const { tab = defaultTab } = router?.query || {};
|
|
162
|
-
const currentTab = Array.isArray(tab) ? tab[0] : tab;
|
|
163
|
-
const { formatMessage } = useIntl();
|
|
164
|
-
const onTabSelected = (selectedTab) => {
|
|
165
|
-
if (updateRoute) {
|
|
166
|
-
const { sort, ...queryWithoutSort } = router?.query || {};
|
|
167
|
-
router.push(
|
|
168
|
-
{
|
|
169
|
-
query: { ...queryWithoutSort, tab: selectedTab }
|
|
170
|
-
},
|
|
171
|
-
void 0,
|
|
172
|
-
{
|
|
173
|
-
shallow: true
|
|
174
|
-
}
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
return /* @__PURE__ */ jsxs("div", { className: "mt-10", children: [
|
|
179
|
-
/* @__PURE__ */ jsxs("div", { className: "lg:hidden", children: [
|
|
180
|
-
/* @__PURE__ */ jsx("label", { htmlFor: "selected-tab", className: "sr-only", children: formatMessage({
|
|
181
|
-
id: "select_tab",
|
|
182
|
-
defaultMessage: "Select a tab"
|
|
183
|
-
}) }),
|
|
184
|
-
/* @__PURE__ */ jsx(
|
|
185
|
-
"select",
|
|
186
|
-
{
|
|
187
|
-
onChange: (e) => onTabSelected(e.target.value),
|
|
188
|
-
id: "selected-tab",
|
|
189
|
-
name: "selected-tab",
|
|
190
|
-
className: "mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-border-default py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-focus-ring focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",
|
|
191
|
-
value: currentTab,
|
|
192
|
-
children: tabItems.filter(Boolean).map((value) => /* @__PURE__ */ jsx("option", { value: value.id, className: "dark:text-white", children: value?.title || value?.id }, value.id))
|
|
193
|
-
}
|
|
194
|
-
)
|
|
195
|
-
] }),
|
|
196
|
-
/* @__PURE__ */ jsx("div", { className: "mt-5 hidden lg:block", children: /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx("nav", { className: "flex flex-wrap gap-3", children: tabItems.filter(Boolean).map((option) => /* @__PURE__ */ jsx(
|
|
197
|
-
"a",
|
|
198
|
-
{
|
|
199
|
-
id: option.id,
|
|
200
|
-
tabIndex: 0,
|
|
201
|
-
onClick: () => onTabSelected(option.id),
|
|
202
|
-
onKeyDown: (e) => {
|
|
203
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
204
|
-
e.preventDefault();
|
|
205
|
-
onTabSelected(option.id);
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
className: clsx_default(
|
|
209
|
-
{
|
|
210
|
-
"cursor-pointer rounded-lg border border-border-default bg-white text-text-primary dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900": currentTab === option.id
|
|
211
|
-
},
|
|
212
|
-
"cursor-pointer relative whitespace-nowrap border border-border-subtle py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900"
|
|
213
|
-
),
|
|
214
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1", children: [
|
|
215
|
-
/* @__PURE__ */ jsx("div", { children: option.Icon }),
|
|
216
|
-
/* @__PURE__ */ jsx("div", { className: "capitalize", children: option?.title || option?.id }),
|
|
217
|
-
option?.length ? /* @__PURE__ */ jsx("span", { className: "absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900", children: option?.length }) : null
|
|
218
|
-
] })
|
|
219
|
-
},
|
|
220
|
-
option.id
|
|
221
|
-
)) }) }) }),
|
|
222
|
-
/* @__PURE__ */ jsx("div", { className: "mt-5", children: React2__default.cloneElement(children, { selectedView: currentTab }) })
|
|
223
|
-
] });
|
|
224
|
-
};
|
|
225
|
-
var Tab_default = Tab;
|
|
226
|
-
var JSONView = ({
|
|
227
|
-
value,
|
|
228
|
-
className,
|
|
229
|
-
onChange = () => {
|
|
230
|
-
},
|
|
231
|
-
rows: defaultRows = 7,
|
|
232
|
-
...props
|
|
233
|
-
}) => {
|
|
234
|
-
const lineCount = value ? value.split("\n").length : 1;
|
|
235
|
-
const rows = Math.max(lineCount, defaultRows);
|
|
236
|
-
return /* @__PURE__ */ jsx(
|
|
237
|
-
"textarea",
|
|
238
|
-
{
|
|
239
|
-
className: clsx_default(
|
|
240
|
-
"text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-border-subtle resize-y",
|
|
241
|
-
className
|
|
242
|
-
),
|
|
243
|
-
value,
|
|
244
|
-
onChange,
|
|
245
|
-
rows,
|
|
246
|
-
...props
|
|
247
|
-
}
|
|
248
|
-
);
|
|
249
|
-
};
|
|
250
|
-
var JSONView_default = JSONView;
|
|
251
|
-
var normalizeTagValue = (tags) => {
|
|
252
|
-
if (tags) {
|
|
253
|
-
if (Array.isArray(tags)) return tags;
|
|
254
|
-
return tags.toString()?.split(",")?.map((str) => str.trim());
|
|
255
|
-
}
|
|
256
|
-
return [];
|
|
257
|
-
};
|
|
258
|
-
var TagInput = ({
|
|
259
|
-
tagList: tags,
|
|
260
|
-
onChange,
|
|
261
|
-
disabled = false,
|
|
262
|
-
name = "tag-input",
|
|
263
|
-
id = "tag-input",
|
|
264
|
-
placeholder = "",
|
|
265
|
-
selectOptions = [],
|
|
266
|
-
className = "",
|
|
267
|
-
buttonText = "",
|
|
268
|
-
showTagsInline = true
|
|
269
|
-
}) => {
|
|
270
|
-
const { formatMessage } = useIntl();
|
|
271
|
-
const [tagList, setTagList] = useState(normalizeTagValue(tags));
|
|
272
|
-
const [inputValue, setInputValue] = useState("");
|
|
273
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
274
|
-
const wrapperRef = useRef(null);
|
|
275
|
-
useEffect(() => {
|
|
276
|
-
setTagList(normalizeTagValue(tags));
|
|
277
|
-
}, [tags]);
|
|
278
|
-
useEffect(() => {
|
|
279
|
-
const handleClickOutside = (e) => {
|
|
280
|
-
if (wrapperRef.current && !wrapperRef.current.contains(e.target)) {
|
|
281
|
-
setIsOpen(false);
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
document.addEventListener("mousedown", handleClickOutside);
|
|
285
|
-
return () => document.removeEventListener("mousedown", handleClickOutside);
|
|
286
|
-
}, []);
|
|
287
|
-
const onRemoveTag = (tag) => {
|
|
288
|
-
const index = tagList.indexOf(tag);
|
|
289
|
-
if (index !== -1) {
|
|
290
|
-
const newTags = [...tagList];
|
|
291
|
-
newTags.splice(index, 1);
|
|
292
|
-
onChange(newTags);
|
|
293
|
-
setTagList(newTags);
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
const addTag = useCallback(
|
|
297
|
-
(tag) => {
|
|
298
|
-
if (!tagList.includes(tag) && tag) {
|
|
299
|
-
const newTags = [...tagList, tag];
|
|
300
|
-
setTagList(newTags);
|
|
301
|
-
onChange(newTags);
|
|
302
|
-
setInputValue("");
|
|
303
|
-
setIsOpen(false);
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
[tagList, onChange]
|
|
307
|
-
);
|
|
308
|
-
const filteredOptions = useMemo(() => {
|
|
309
|
-
const available = selectOptions.filter(
|
|
310
|
-
(option) => !(tagList || []).includes(option.value)
|
|
311
|
-
);
|
|
312
|
-
if (!inputValue) return available;
|
|
313
|
-
return available.filter(
|
|
314
|
-
(opt) => opt.label.toLowerCase().includes(inputValue.toLowerCase())
|
|
315
|
-
);
|
|
316
|
-
}, [selectOptions, tagList, inputValue]);
|
|
317
|
-
const showCreateOption = inputValue.trim() && !tagList.includes(inputValue.trim()) && !filteredOptions.some(
|
|
318
|
-
(opt) => opt.value.toLowerCase() === inputValue.trim().toLowerCase()
|
|
319
|
-
);
|
|
320
|
-
const handleKeyDown = (e) => {
|
|
321
|
-
if (e.key === "Enter" && inputValue.trim()) {
|
|
322
|
-
e.preventDefault();
|
|
323
|
-
addTag(inputValue.trim());
|
|
324
|
-
}
|
|
325
|
-
};
|
|
326
|
-
const TagInputComponent = /* @__PURE__ */ jsxs("div", { className: "relative", ref: wrapperRef, children: [
|
|
327
|
-
/* @__PURE__ */ jsx(
|
|
328
|
-
"input",
|
|
329
|
-
{
|
|
330
|
-
id,
|
|
331
|
-
name,
|
|
332
|
-
type: "text",
|
|
333
|
-
role: "combobox",
|
|
334
|
-
"aria-expanded": isOpen,
|
|
335
|
-
"aria-autocomplete": "list",
|
|
336
|
-
disabled,
|
|
337
|
-
className: clsx_default(
|
|
338
|
-
"w-full rounded-md border border-border-default bg-surface-input py-2.5 pl-4 pr-4 text-sm text-text-primary placeholder:text-text-muted shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",
|
|
339
|
-
className
|
|
340
|
-
),
|
|
341
|
-
placeholder,
|
|
342
|
-
value: inputValue,
|
|
343
|
-
onChange: (e) => {
|
|
344
|
-
setInputValue(e.target.value);
|
|
345
|
-
setIsOpen(true);
|
|
346
|
-
},
|
|
347
|
-
onFocus: () => setIsOpen(true),
|
|
348
|
-
onKeyDown: handleKeyDown
|
|
349
|
-
}
|
|
350
|
-
),
|
|
351
|
-
isOpen && (showCreateOption || filteredOptions.length > 0) && /* @__PURE__ */ jsxs(
|
|
352
|
-
"ul",
|
|
353
|
-
{
|
|
354
|
-
role: "listbox",
|
|
355
|
-
className: "absolute z-9999999 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg",
|
|
356
|
-
children: [
|
|
357
|
-
showCreateOption && /* @__PURE__ */ jsx(
|
|
358
|
-
"li",
|
|
359
|
-
{
|
|
360
|
-
role: "option",
|
|
361
|
-
"aria-selected": false,
|
|
362
|
-
className: "cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",
|
|
363
|
-
onMouseDown: (e) => {
|
|
364
|
-
e.preventDefault();
|
|
365
|
-
addTag(inputValue.trim());
|
|
366
|
-
},
|
|
367
|
-
children: buttonText || formatMessage(
|
|
368
|
-
{
|
|
369
|
-
id: "add_new_tag",
|
|
370
|
-
defaultMessage: 'Add "{inputValue}"'
|
|
371
|
-
},
|
|
372
|
-
{ inputValue: inputValue.trim() }
|
|
373
|
-
)
|
|
374
|
-
}
|
|
375
|
-
),
|
|
376
|
-
filteredOptions.map((opt) => /* @__PURE__ */ jsx(
|
|
377
|
-
"li",
|
|
378
|
-
{
|
|
379
|
-
role: "option",
|
|
380
|
-
"aria-selected": false,
|
|
381
|
-
className: "cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",
|
|
382
|
-
onMouseDown: (e) => {
|
|
383
|
-
e.preventDefault();
|
|
384
|
-
addTag(opt.value);
|
|
385
|
-
},
|
|
386
|
-
children: opt.label
|
|
387
|
-
},
|
|
388
|
-
opt.value
|
|
389
|
-
))
|
|
390
|
-
]
|
|
391
|
-
}
|
|
392
|
-
)
|
|
393
|
-
] });
|
|
394
|
-
if (!showTagsInline) {
|
|
395
|
-
return TagInputComponent;
|
|
396
|
-
}
|
|
397
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
398
|
-
TagInputComponent,
|
|
399
|
-
/* @__PURE__ */ jsx(
|
|
400
|
-
"div",
|
|
401
|
-
{
|
|
402
|
-
className: clsx_default(
|
|
403
|
-
"ml-4 flex items-center flex-wrap gap-5",
|
|
404
|
-
tagList.length > 0 && "mt-1"
|
|
405
|
-
),
|
|
406
|
-
children: tagList?.map((tag) => /* @__PURE__ */ jsx(
|
|
407
|
-
Badge_default,
|
|
408
|
-
{
|
|
409
|
-
text: tag,
|
|
410
|
-
color: "slate",
|
|
411
|
-
onClick: () => onRemoveTag(tag)
|
|
412
|
-
},
|
|
413
|
-
tag
|
|
414
|
-
))
|
|
415
|
-
}
|
|
416
|
-
)
|
|
417
|
-
] });
|
|
418
|
-
};
|
|
419
|
-
var TagInput_default = TagInput;
|
|
420
|
-
var FieldWrapper = ({
|
|
421
|
-
children,
|
|
422
|
-
className,
|
|
423
|
-
error,
|
|
424
|
-
disabled,
|
|
425
|
-
required,
|
|
426
|
-
name,
|
|
427
|
-
label,
|
|
428
|
-
hideLabel,
|
|
429
|
-
labelClassName
|
|
430
|
-
}) => {
|
|
431
|
-
return /* @__PURE__ */ jsxs(
|
|
432
|
-
"div",
|
|
433
|
-
{
|
|
434
|
-
className: clsx_default(
|
|
435
|
-
"container",
|
|
436
|
-
{
|
|
437
|
-
"is-invalid": !!error,
|
|
438
|
-
disabled,
|
|
439
|
-
required
|
|
440
|
-
},
|
|
441
|
-
className
|
|
442
|
-
),
|
|
443
|
-
children: [
|
|
444
|
-
/* @__PURE__ */ jsx(
|
|
445
|
-
"label",
|
|
446
|
-
{
|
|
447
|
-
"aria-label": label,
|
|
448
|
-
htmlFor: name,
|
|
449
|
-
className: clsx_default(
|
|
450
|
-
"mb-2 block text-left text-sm font-light text-text-secondary",
|
|
451
|
-
{
|
|
452
|
-
"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400": !!error,
|
|
453
|
-
"sr-only": hideLabel
|
|
454
|
-
},
|
|
455
|
-
labelClassName
|
|
456
|
-
),
|
|
457
|
-
children: error || label
|
|
458
|
-
}
|
|
459
|
-
),
|
|
460
|
-
children
|
|
461
|
-
]
|
|
462
|
-
}
|
|
463
|
-
);
|
|
464
|
-
};
|
|
465
|
-
var FieldWrapper_default = FieldWrapper;
|
|
466
|
-
var TagInputField = ({
|
|
467
|
-
buttonText = "",
|
|
468
|
-
validators = [],
|
|
469
|
-
selectOptions = [],
|
|
470
|
-
...props
|
|
471
|
-
}) => {
|
|
472
|
-
const field = useField_default({
|
|
473
|
-
validators: [...validators, validateRequiredTag(props?.required)],
|
|
474
|
-
label: "Tags",
|
|
475
|
-
...props
|
|
476
|
-
});
|
|
477
|
-
return /* @__PURE__ */ jsx(FieldWrapper_default, { ...field, children: /* @__PURE__ */ jsx(
|
|
478
|
-
TagInput_default,
|
|
479
|
-
{
|
|
480
|
-
disabled: field.disabled,
|
|
481
|
-
id: field.id,
|
|
482
|
-
name: field.name,
|
|
483
|
-
className: clsx_default({
|
|
484
|
-
"border-rose-300": !!field.error
|
|
485
|
-
}),
|
|
486
|
-
onChange: (value) => field.setValue(value, true),
|
|
487
|
-
placeholder: field.placeholder,
|
|
488
|
-
tagList: field.value,
|
|
489
|
-
buttonText,
|
|
490
|
-
selectOptions
|
|
491
|
-
}
|
|
492
|
-
) });
|
|
493
|
-
};
|
|
494
|
-
var TagInputField_default = TagInputField;
|
|
495
|
-
var SubmitButton = ({
|
|
496
|
-
label,
|
|
497
|
-
disabled: disabledProp = false,
|
|
498
|
-
className = "",
|
|
499
|
-
hidden = false,
|
|
500
|
-
...props
|
|
501
|
-
}) => {
|
|
502
|
-
const { formState } = useFormContext();
|
|
503
|
-
const { ...restProps } = props;
|
|
504
|
-
const hasError = Object.keys(formState.errors).length > 0 && Object.values(formState.errors).some((err) => !!err);
|
|
505
|
-
const { disabled: contextDisabled } = useFormContext_default();
|
|
506
|
-
const disabled = disabledProp || contextDisabled || formState.isSubmitting || hasError;
|
|
507
|
-
const isSubmitting = formState.isSubmitting && !hasError;
|
|
508
|
-
const hasErrorOrDisabled = (disabledProp || contextDisabled || hasError) && !formState.isSubmitting;
|
|
509
|
-
return /* @__PURE__ */ jsx(
|
|
510
|
-
"input",
|
|
511
|
-
{
|
|
512
|
-
className: clsx_default(
|
|
513
|
-
"inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-focus-ring",
|
|
514
|
-
className,
|
|
515
|
-
{
|
|
516
|
-
"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900": hasErrorOrDisabled,
|
|
517
|
-
"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600": isSubmitting,
|
|
518
|
-
"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent": !disabled,
|
|
519
|
-
hidden
|
|
520
|
-
}
|
|
521
|
-
),
|
|
522
|
-
"aria-label": label,
|
|
523
|
-
type: "submit",
|
|
524
|
-
value: label,
|
|
525
|
-
disabled,
|
|
526
|
-
...restProps
|
|
527
|
-
}
|
|
528
|
-
);
|
|
529
|
-
};
|
|
530
|
-
var SubmitButton_default = SubmitButton;
|
|
531
|
-
var HelpText = ({
|
|
532
|
-
messageKey,
|
|
533
|
-
defaultMessage,
|
|
534
|
-
values,
|
|
535
|
-
className = "",
|
|
536
|
-
showIcon = true
|
|
537
|
-
}) => {
|
|
538
|
-
const { formatMessage } = useIntl();
|
|
539
|
-
const helpText = formatMessage(
|
|
540
|
-
{
|
|
541
|
-
id: messageKey,
|
|
542
|
-
defaultMessage
|
|
543
|
-
},
|
|
544
|
-
values
|
|
545
|
-
);
|
|
546
|
-
if (!helpText) return null;
|
|
547
|
-
return /* @__PURE__ */ jsxs(
|
|
548
|
-
"div",
|
|
549
|
-
{
|
|
550
|
-
className: `flex items-start space-x-1 text-sm text-text-secondary ${className}`,
|
|
551
|
-
children: [
|
|
552
|
-
showIcon && /* @__PURE__ */ jsx(QuestionMarkCircleIcon_default, { className: "h-4 w-4 mt-0.5 flex-shrink-0" }),
|
|
553
|
-
/* @__PURE__ */ jsx("span", { children: helpText })
|
|
554
|
-
]
|
|
555
|
-
}
|
|
556
|
-
);
|
|
557
|
-
};
|
|
558
|
-
var HelpText_default = HelpText;
|
|
559
|
-
function CheckIcon({
|
|
560
|
-
title,
|
|
561
|
-
titleId,
|
|
562
|
-
...props
|
|
563
|
-
}, svgRef) {
|
|
564
|
-
return /* @__PURE__ */ React2.createElement("svg", Object.assign({
|
|
565
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
566
|
-
viewBox: "0 0 20 20",
|
|
567
|
-
fill: "currentColor",
|
|
568
|
-
"aria-hidden": "true",
|
|
569
|
-
"data-slot": "icon",
|
|
570
|
-
ref: svgRef,
|
|
571
|
-
"aria-labelledby": titleId
|
|
572
|
-
}, props), title ? /* @__PURE__ */ React2.createElement("title", {
|
|
573
|
-
id: titleId
|
|
574
|
-
}, title) : null, /* @__PURE__ */ React2.createElement("path", {
|
|
575
|
-
fillRule: "evenodd",
|
|
576
|
-
d: "M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",
|
|
577
|
-
clipRule: "evenodd"
|
|
578
|
-
}));
|
|
579
|
-
}
|
|
580
|
-
var ForwardRef = /* @__PURE__ */ React2.forwardRef(CheckIcon);
|
|
581
|
-
var CheckIcon_default = ForwardRef;
|
|
582
|
-
function ChevronDownIcon({
|
|
583
|
-
title,
|
|
584
|
-
titleId,
|
|
585
|
-
...props
|
|
586
|
-
}, svgRef) {
|
|
587
|
-
return /* @__PURE__ */ React2.createElement("svg", Object.assign({
|
|
588
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
589
|
-
viewBox: "0 0 20 20",
|
|
590
|
-
fill: "currentColor",
|
|
591
|
-
"aria-hidden": "true",
|
|
592
|
-
"data-slot": "icon",
|
|
593
|
-
ref: svgRef,
|
|
594
|
-
"aria-labelledby": titleId
|
|
595
|
-
}, props), title ? /* @__PURE__ */ React2.createElement("title", {
|
|
596
|
-
id: titleId
|
|
597
|
-
}, title) : null, /* @__PURE__ */ React2.createElement("path", {
|
|
598
|
-
fillRule: "evenodd",
|
|
599
|
-
d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
|
|
600
|
-
clipRule: "evenodd"
|
|
601
|
-
}));
|
|
602
|
-
}
|
|
603
|
-
var ForwardRef2 = /* @__PURE__ */ React2.forwardRef(ChevronDownIcon);
|
|
604
|
-
var ChevronDownIcon_default = ForwardRef2;
|
|
605
|
-
function ChevronUpDownIcon({
|
|
606
|
-
title,
|
|
607
|
-
titleId,
|
|
608
|
-
...props
|
|
609
|
-
}, svgRef) {
|
|
610
|
-
return /* @__PURE__ */ React2.createElement("svg", Object.assign({
|
|
611
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
612
|
-
viewBox: "0 0 20 20",
|
|
613
|
-
fill: "currentColor",
|
|
614
|
-
"aria-hidden": "true",
|
|
615
|
-
"data-slot": "icon",
|
|
616
|
-
ref: svgRef,
|
|
617
|
-
"aria-labelledby": titleId
|
|
618
|
-
}, props), title ? /* @__PURE__ */ React2.createElement("title", {
|
|
619
|
-
id: titleId
|
|
620
|
-
}, title) : null, /* @__PURE__ */ React2.createElement("path", {
|
|
621
|
-
fillRule: "evenodd",
|
|
622
|
-
d: "M10.53 3.47a.75.75 0 0 0-1.06 0L6.22 6.72a.75.75 0 0 0 1.06 1.06L10 5.06l2.72 2.72a.75.75 0 1 0 1.06-1.06l-3.25-3.25Zm-4.31 9.81 3.25 3.25a.75.75 0 0 0 1.06 0l3.25-3.25a.75.75 0 1 0-1.06-1.06L10 14.94l-2.72-2.72a.75.75 0 0 0-1.06 1.06Z",
|
|
623
|
-
clipRule: "evenodd"
|
|
624
|
-
}));
|
|
625
|
-
}
|
|
626
|
-
var ForwardRef3 = /* @__PURE__ */ React2.forwardRef(ChevronUpDownIcon);
|
|
627
|
-
var ChevronUpDownIcon_default = ForwardRef3;
|
|
628
|
-
function ChevronUpIcon({
|
|
629
|
-
title,
|
|
630
|
-
titleId,
|
|
631
|
-
...props
|
|
632
|
-
}, svgRef) {
|
|
633
|
-
return /* @__PURE__ */ React2.createElement("svg", Object.assign({
|
|
634
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
635
|
-
viewBox: "0 0 20 20",
|
|
636
|
-
fill: "currentColor",
|
|
637
|
-
"aria-hidden": "true",
|
|
638
|
-
"data-slot": "icon",
|
|
639
|
-
ref: svgRef,
|
|
640
|
-
"aria-labelledby": titleId
|
|
641
|
-
}, props), title ? /* @__PURE__ */ React2.createElement("title", {
|
|
642
|
-
id: titleId
|
|
643
|
-
}, title) : null, /* @__PURE__ */ React2.createElement("path", {
|
|
644
|
-
fillRule: "evenodd",
|
|
645
|
-
d: "M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",
|
|
646
|
-
clipRule: "evenodd"
|
|
647
|
-
}));
|
|
648
|
-
}
|
|
649
|
-
var ForwardRef4 = /* @__PURE__ */ React2.forwardRef(ChevronUpIcon);
|
|
650
|
-
var ChevronUpIcon_default = ForwardRef4;
|
|
651
|
-
|
|
652
|
-
export { Badge_default, CheckIcon_default, ChevronDownIcon_default, ChevronUpDownIcon_default, ChevronUpIcon_default, FieldWrapper_default, HelpText_default, JSONView_default, SubmitButton_default, Tab_default, TagInputField_default, TagInput_default, clsx, clsx_default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const Accordion: ({ data, containerCSS, headerCSS, bodyCSS, itemContainerCSS, hideChevron, ...rest }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
data: any;
|
|
4
|
-
containerCSS?: string;
|
|
5
|
-
headerCSS?: string;
|
|
6
|
-
bodyCSS?: string;
|
|
7
|
-
itemContainerCSS?: string;
|
|
8
|
-
hideChevron?: boolean;
|
|
9
|
-
}) => import("react").JSX.Element;
|
|
10
|
-
export default Accordion;
|
|
11
|
-
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Accordion/Accordion.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS,GAAI;;;;;;;;CAQlB,gCAiBA,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Accordion/AccordionHeader.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,eAAe,GAAI;;;CAAwB,gCAahD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const AccordionItem: ({ header, body, headerCSS, bodyCSS, itemContainerCSS, itemindex, hideChevron, }: {
|
|
2
|
-
header: any;
|
|
3
|
-
body: any;
|
|
4
|
-
headerCSS?: string;
|
|
5
|
-
bodyCSS?: string;
|
|
6
|
-
itemContainerCSS?: string;
|
|
7
|
-
itemindex?: number;
|
|
8
|
-
hideChevron?: boolean;
|
|
9
|
-
}) => import("react").JSX.Element;
|
|
10
|
-
export default AccordionItem;
|
|
11
|
-
//# sourceMappingURL=AccordionItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa,GAAI;;;;;;;;CAQtB,gCAsCA,CAAC;AAEF,eAAe,aAAa,CAAC"}
|