@mintplayer/web-components 2.8.0 → 2.10.0
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/chunks/ac-C5mj7mOe.mjs +5 -0
- package/chunks/ad-DuKUeTXh.mjs +5 -0
- package/chunks/ae-BFJrplpe.mjs +5 -0
- package/chunks/af-BIQlNFtj.mjs +5 -0
- package/chunks/ag-B9GDO0Ip.mjs +5 -0
- package/chunks/ai-pifHTP5K.mjs +5 -0
- package/chunks/al-CWQ3OuN9.mjs +5 -0
- package/chunks/all-flags-BtYcfgjy.mjs +8 -0
- package/chunks/all-flags.generated-B7Rctzuq.mjs +493 -0
- package/chunks/am-Do56ciQl.mjs +5 -0
- package/chunks/ao-Ci_fen-O.mjs +5 -0
- package/chunks/ar-BEZTIgF7.mjs +5 -0
- package/chunks/as-B29efaG_.mjs +5 -0
- package/chunks/at-c7xv31cV.mjs +5 -0
- package/chunks/au-DK4ZROf6.mjs +5 -0
- package/chunks/aw-eEmOo-kc.mjs +5 -0
- package/chunks/ax-CF1cgQbd.mjs +5 -0
- package/chunks/az-BXPec7pf.mjs +5 -0
- package/chunks/ba-EoocSiX0.mjs +5 -0
- package/chunks/bb-BomyOgY0.mjs +5 -0
- package/chunks/bd-C2Y9A316.mjs +5 -0
- package/chunks/be-DcE56El1.mjs +5 -0
- package/chunks/bf-g7XzTHJG.mjs +5 -0
- package/chunks/bg-DAHpwJAh.mjs +5 -0
- package/chunks/bh-BiHF8vqO.mjs +5 -0
- package/chunks/bi-DVAoOy2o.mjs +5 -0
- package/chunks/bj-CB6I0T1J.mjs +5 -0
- package/chunks/bl-DhUObXcB.mjs +5 -0
- package/chunks/bm-d77E6A-Q.mjs +5 -0
- package/chunks/bn-CG1_6Vfv.mjs +5 -0
- package/chunks/bo-ulcQ_Lws.mjs +5 -0
- package/chunks/bq-wOjRpmJJ.mjs +5 -0
- package/chunks/br-BwQAEpKL.mjs +5 -0
- package/chunks/bs-Cmq3uDf9.mjs +5 -0
- package/chunks/bt-Cik-3ebf.mjs +5 -0
- package/chunks/bw-ZUkpxAL1.mjs +5 -0
- package/chunks/by-Dh-5h5x1.mjs +5 -0
- package/chunks/bz-DB0s7-5N.mjs +5 -0
- package/chunks/ca-Coq88_mc.mjs +5 -0
- package/chunks/cc-1.generated-CkRogBGA.mjs +4 -0
- package/chunks/cc-20.generated-DMpg7apl.mjs +4 -0
- package/chunks/cc-211.generated-DSnuuKPM.mjs +4 -0
- package/chunks/cc-212.generated-Dcg3rrip.mjs +4 -0
- package/chunks/cc-213.generated-DPwtGlxT.mjs +4 -0
- package/chunks/cc-216.generated-Cgber7dX.mjs +4 -0
- package/chunks/cc-218.generated-CZGwxl9D.mjs +4 -0
- package/chunks/cc-220.generated-CKmXmpGe.mjs +4 -0
- package/chunks/cc-221.generated-BYzgBejl.mjs +4 -0
- package/chunks/cc-222.generated-YwuXcbvd.mjs +4 -0
- package/chunks/cc-223.generated-9iiHnni6.mjs +4 -0
- package/chunks/cc-224.generated-Okty02TJ.mjs +4 -0
- package/chunks/cc-225.generated-CYkDnG14.mjs +4 -0
- package/chunks/cc-226.generated-GT_rqbCO.mjs +4 -0
- package/chunks/cc-227.generated-B1VkrgoB.mjs +4 -0
- package/chunks/cc-228.generated-Bhck-C6Z.mjs +4 -0
- package/chunks/cc-229.generated-aAR4PP7n.mjs +4 -0
- package/chunks/cc-230.generated-CG5TxZtb.mjs +4 -0
- package/chunks/cc-231.generated-BjYHl_BP.mjs +4 -0
- package/chunks/cc-232.generated-CFDyaA7o.mjs +4 -0
- package/chunks/cc-233.generated-ChwvrW0E.mjs +4 -0
- package/chunks/cc-234.generated-BIpIojaD.mjs +4 -0
- package/chunks/cc-235.generated-Dklizfb9.mjs +4 -0
- package/chunks/cc-236.generated-EJZlz23v.mjs +4 -0
- package/chunks/cc-237.generated-DwOapZWZ.mjs +4 -0
- package/chunks/cc-238.generated-BkCWtGDY.mjs +4 -0
- package/chunks/cc-239.generated-S_foXUit.mjs +4 -0
- package/chunks/cc-240.generated-CtKfcEWk.mjs +4 -0
- package/chunks/cc-241.generated-aAUw2QzS.mjs +4 -0
- package/chunks/cc-242.generated-D5jMR3KR.mjs +4 -0
- package/chunks/cc-243.generated-Bk5dwdUf.mjs +4 -0
- package/chunks/cc-244.generated-DywGvISM.mjs +4 -0
- package/chunks/cc-245.generated-Bm7wVXl5.mjs +4 -0
- package/chunks/cc-246.generated-CFSezynW.mjs +4 -0
- package/chunks/cc-247.generated-DKXGq8p1.mjs +4 -0
- package/chunks/cc-248.generated-CnI_kkbi.mjs +4 -0
- package/chunks/cc-249.generated-Zenj8WBl.mjs +4 -0
- package/chunks/cc-250.generated-140A9gFx.mjs +4 -0
- package/chunks/cc-251.generated-BYtVzI1w.mjs +4 -0
- package/chunks/cc-252.generated-C9By3_Ih.mjs +4 -0
- package/chunks/cc-253.generated-DZIADgzo.mjs +4 -0
- package/chunks/cc-254.generated-Bkb5VbuX.mjs +4 -0
- package/chunks/cc-255.generated-U_k4UlnG.mjs +4 -0
- package/chunks/cc-256.generated-BBGMRLJL.mjs +4 -0
- package/chunks/cc-257.generated-2Jiadm-X.mjs +4 -0
- package/chunks/cc-258.generated-CSHZFQtI.mjs +4 -0
- package/chunks/cc-260.generated-CWgOLjv4.mjs +4 -0
- package/chunks/cc-261.generated-DzpnYK1v.mjs +4 -0
- package/chunks/cc-262.generated-uZY0cJ08.mjs +4 -0
- package/chunks/cc-263.generated-D2QbPttm.mjs +4 -0
- package/chunks/cc-264.generated-DhUT_yRg.mjs +4 -0
- package/chunks/cc-265.generated-BKIU4vGv.mjs +4 -0
- package/chunks/cc-266.generated-O_zgqaDo.mjs +4 -0
- package/chunks/cc-267.generated-DpLBLCK1.mjs +4 -0
- package/chunks/cc-268.generated-B9Y4LS_4.mjs +4 -0
- package/chunks/cc-269.generated-DPQ0A8VW.mjs +4 -0
- package/chunks/cc-27.generated-BxeFhsuD.mjs +4 -0
- package/chunks/cc-290.generated-DGy2isg7.mjs +4 -0
- package/chunks/cc-291.generated-C4LSfffl.mjs +4 -0
- package/chunks/cc-297.generated-4k_1JOUj.mjs +4 -0
- package/chunks/cc-298.generated-A2xB0PKR.mjs +4 -0
- package/chunks/cc-299.generated-BwDC9B1N.mjs +4 -0
- package/chunks/cc-30.generated-JhyYglqU.mjs +4 -0
- package/chunks/cc-31.generated-5GOCJzfN.mjs +4 -0
- package/chunks/cc-32.generated-CpVvykA2.mjs +4 -0
- package/chunks/cc-33.generated-BDzHxbR_.mjs +4 -0
- package/chunks/cc-34.generated-P3nQfhBw.mjs +4 -0
- package/chunks/cc-350.generated-BGl8hYsP.mjs +4 -0
- package/chunks/cc-351.generated-pJBouwSG.mjs +4 -0
- package/chunks/cc-352.generated-8_NbdAx6.mjs +4 -0
- package/chunks/cc-353.generated-Cfz2tBdq.mjs +4 -0
- package/chunks/cc-354.generated-CEgaa6qB.mjs +4 -0
- package/chunks/cc-355.generated-DGZ-kJ0i.mjs +4 -0
- package/chunks/cc-356.generated-BZqLs86A.mjs +4 -0
- package/chunks/cc-357.generated-CfCB5cHL.mjs +4 -0
- package/chunks/cc-358.generated-wL2JzNDk.mjs +4 -0
- package/chunks/cc-359.generated-BxJe3xGt.mjs +4 -0
- package/chunks/cc-36.generated-CJdA4Rvi.mjs +4 -0
- package/chunks/cc-370.generated-B6SpL74q.mjs +4 -0
- package/chunks/cc-371.generated-Cx6lrGG9.mjs +4 -0
- package/chunks/cc-372.generated-Ckc30SHu.mjs +4 -0
- package/chunks/cc-373.generated-BK0ypz55.mjs +4 -0
- package/chunks/cc-374.generated-B51ogwAh.mjs +4 -0
- package/chunks/cc-375.generated-CMbmbMav.mjs +4 -0
- package/chunks/cc-376.generated-DZngLeqA.mjs +4 -0
- package/chunks/cc-377.generated-BYuCOf7K.mjs +4 -0
- package/chunks/cc-378.generated-CuNlUjOw.mjs +4 -0
- package/chunks/cc-380.generated-A2e4FwA4.mjs +4 -0
- package/chunks/cc-381.generated-Cvwf7aDo.mjs +4 -0
- package/chunks/cc-382.generated-B-x4jIQ_.mjs +4 -0
- package/chunks/cc-383.generated-B6E63WN4.mjs +4 -0
- package/chunks/cc-385.generated-CbYlsCsW.mjs +4 -0
- package/chunks/cc-386.generated-BUSyzthQ.mjs +4 -0
- package/chunks/cc-387.generated-IhkhnsGu.mjs +4 -0
- package/chunks/cc-389.generated-SNuHIdqu.mjs +4 -0
- package/chunks/cc-39.generated-BGZK1sVL.mjs +4 -0
- package/chunks/cc-40.generated-Bo8WnsNc.mjs +4 -0
- package/chunks/cc-41.generated-CG0098r3.mjs +4 -0
- package/chunks/cc-420.generated-C59jh2M8.mjs +4 -0
- package/chunks/cc-421.generated-BhxO-pTK.mjs +4 -0
- package/chunks/cc-423.generated-B4UJk2xr.mjs +4 -0
- package/chunks/cc-43.generated-BIdhhcvA.mjs +4 -0
- package/chunks/cc-44.generated-BfeK0wEP.mjs +4 -0
- package/chunks/cc-45.generated-BEJCwF4o.mjs +4 -0
- package/chunks/cc-46.generated-DeEMtTcI.mjs +4 -0
- package/chunks/cc-47.generated-DQy2Xk_0.mjs +4 -0
- package/chunks/cc-48.generated-C4yA7R1Q.mjs +4 -0
- package/chunks/cc-49.generated-a02djmT4.mjs +4 -0
- package/chunks/cc-500.generated-glAZ4AUe.mjs +4 -0
- package/chunks/cc-501.generated-D-GCAbI8.mjs +4 -0
- package/chunks/cc-502.generated-Co-n0usI.mjs +4 -0
- package/chunks/cc-503.generated-BM58qC_M.mjs +4 -0
- package/chunks/cc-504.generated-cTtfXvjR.mjs +4 -0
- package/chunks/cc-505.generated-DLSKmmzY.mjs +4 -0
- package/chunks/cc-506.generated-BMyMgwgZ.mjs +4 -0
- package/chunks/cc-507.generated-DWOdIJMd.mjs +4 -0
- package/chunks/cc-508.generated-DN3D0FwY.mjs +4 -0
- package/chunks/cc-509.generated-D-jyniz5.mjs +4 -0
- package/chunks/cc-51.generated-Bjy1G3kG.mjs +4 -0
- package/chunks/cc-52.generated-CDeO-q1n.mjs +4 -0
- package/chunks/cc-53.generated-Bg_ETBvx.mjs +4 -0
- package/chunks/cc-54.generated-BCfSFUZP.mjs +4 -0
- package/chunks/cc-55.generated-C1iLoSl1.mjs +4 -0
- package/chunks/cc-56.generated-ChgDDlud.mjs +4 -0
- package/chunks/cc-57.generated-qfDFimii.mjs +4 -0
- package/chunks/cc-58.generated-Cl6DzTam.mjs +4 -0
- package/chunks/cc-590.generated-DhG2cP7S.mjs +4 -0
- package/chunks/cc-591.generated-CjxsaggL.mjs +4 -0
- package/chunks/cc-592.generated-DnF2AtPs.mjs +4 -0
- package/chunks/cc-593.generated-J4b4KU_z.mjs +4 -0
- package/chunks/cc-594.generated-BDqHqvBX.mjs +4 -0
- package/chunks/cc-595.generated-Di23-NWq.mjs +4 -0
- package/chunks/cc-596.generated-B92oLPvz.mjs +4 -0
- package/chunks/cc-597.generated-pdvIpWWG.mjs +4 -0
- package/chunks/cc-598.generated-C9i6NuuS.mjs +4 -0
- package/chunks/cc-599.generated-Cot_Tjya.mjs +4 -0
- package/chunks/cc-60.generated-Dt21L5ED.mjs +4 -0
- package/chunks/cc-61.generated-CsF19uOz.mjs +4 -0
- package/chunks/cc-62.generated-CXe9l8jN.mjs +4 -0
- package/chunks/cc-63.generated-CyxqKEMz.mjs +4 -0
- package/chunks/cc-64.generated-B1U2VUWE.mjs +4 -0
- package/chunks/cc-65.generated-BqB9SL91.mjs +4 -0
- package/chunks/cc-66.generated-DSW4cKRJ.mjs +4 -0
- package/chunks/cc-670.generated-B5lMBLIA.mjs +4 -0
- package/chunks/cc-672.generated-rtLnRViR.mjs +4 -0
- package/chunks/cc-673.generated-CCfKxiHb.mjs +4 -0
- package/chunks/cc-674.generated-DqEenJAu.mjs +4 -0
- package/chunks/cc-675.generated-CDZsNVmA.mjs +4 -0
- package/chunks/cc-676.generated-CtuzuSpR.mjs +4 -0
- package/chunks/cc-677.generated-B6Vdcheb.mjs +4 -0
- package/chunks/cc-678.generated-Bu-wQLCv.mjs +4 -0
- package/chunks/cc-679.generated-C_vQNfa9.mjs +4 -0
- package/chunks/cc-680.generated-DgD0sTpR.mjs +4 -0
- package/chunks/cc-681.generated-CgCDLpTf.mjs +4 -0
- package/chunks/cc-682.generated-BBdb0LCA.mjs +4 -0
- package/chunks/cc-683.generated-BYq9qGSN.mjs +4 -0
- package/chunks/cc-685.generated-BeVt0xOD.mjs +4 -0
- package/chunks/cc-686.generated-DSuHUyGC.mjs +4 -0
- package/chunks/cc-687.generated-CAYCkQGn.mjs +4 -0
- package/chunks/cc-688.generated-BxoYuhyI.mjs +4 -0
- package/chunks/cc-689.generated-D1LJPuEc.mjs +4 -0
- package/chunks/cc-690.generated-wBJlIR_d.mjs +4 -0
- package/chunks/cc-691.generated-D3313DJE.mjs +4 -0
- package/chunks/cc-692.generated-BjRLK6LH.mjs +4 -0
- package/chunks/cc-7.generated-Be8Per3z.mjs +4 -0
- package/chunks/cc-81.generated-Bfr_1Ik4.mjs +4 -0
- package/chunks/cc-82.generated-CXvQgAj0.mjs +4 -0
- package/chunks/cc-84.generated-DsMrssxQ.mjs +4 -0
- package/chunks/cc-850.generated-B6dMNsJB.mjs +4 -0
- package/chunks/cc-852.generated-DoLs1jmz.mjs +4 -0
- package/chunks/cc-853.generated-C9J4qDF6.mjs +4 -0
- package/chunks/cc-855.generated-rriF89dH.mjs +4 -0
- package/chunks/cc-856.generated-DWMBTBFS.mjs +4 -0
- package/chunks/cc-86.generated-C8Ob3yVb.mjs +4 -0
- package/chunks/cc-880.generated-gteZx8SL.mjs +4 -0
- package/chunks/cc-886.generated-QyIDP1_q.mjs +4 -0
- package/chunks/cc-90.generated-DSXR50SV.mjs +4 -0
- package/chunks/cc-91.generated-C_cDq0Xp.mjs +4 -0
- package/chunks/cc-92.generated-Cxd7f_QX.mjs +4 -0
- package/chunks/cc-93.generated-Cyqo0e91.mjs +4 -0
- package/chunks/cc-94.generated-EsnmfbnH.mjs +4 -0
- package/chunks/cc-95.generated-D_8p55mp.mjs +4 -0
- package/chunks/cc-960.generated-DletKApH.mjs +4 -0
- package/chunks/cc-961.generated-CXVHoWFk.mjs +4 -0
- package/chunks/cc-962.generated-B7EPSakT.mjs +4 -0
- package/chunks/cc-963.generated-D71Y75mr.mjs +4 -0
- package/chunks/cc-964.generated-B8-RYrVD.mjs +4 -0
- package/chunks/cc-965.generated-tesjPkaP.mjs +4 -0
- package/chunks/cc-966.generated-CkCCmcR2.mjs +4 -0
- package/chunks/cc-967.generated-Bz1kG3rR.mjs +4 -0
- package/chunks/cc-968.generated-B8izDjLu.mjs +4 -0
- package/chunks/cc-970.generated-CKTkdIET.mjs +4 -0
- package/chunks/cc-971.generated-Wzj17K10.mjs +4 -0
- package/chunks/cc-972.generated-CJO02ZmJ.mjs +4 -0
- package/chunks/cc-973.generated-CL9ZE2Of.mjs +4 -0
- package/chunks/cc-974.generated-ZkYqGi9L.mjs +4 -0
- package/chunks/cc-975.generated-DP2Teiuc.mjs +4 -0
- package/chunks/cc-976.generated-GGNMRuFQ.mjs +4 -0
- package/chunks/cc-977.generated-KwvwlHUw.mjs +4 -0
- package/chunks/cc-98.generated-DW-Wj2k5.mjs +4 -0
- package/chunks/cc-992.generated-NRREmly7.mjs +4 -0
- package/chunks/cc-993.generated-BNlup4k-.mjs +4 -0
- package/chunks/cc-994.generated-BUD4e8ho.mjs +4 -0
- package/chunks/cc-995.generated-8P4TnVbi.mjs +4 -0
- package/chunks/cc-996.generated-CKCe7foO.mjs +4 -0
- package/chunks/cc-998.generated-CsAmnJYd.mjs +4 -0
- package/chunks/cc-BZdCRpNT.mjs +5 -0
- package/chunks/cd-9O28tBfy.mjs +5 -0
- package/chunks/cf-BdhmyWlv.mjs +5 -0
- package/chunks/cg-C-Qu4NMU.mjs +5 -0
- package/chunks/ch-A1RQVYLO.mjs +5 -0
- package/chunks/ci-DZY7fgO7.mjs +5 -0
- package/chunks/ck-D-2C9a72.mjs +5 -0
- package/chunks/cl-3HNgrmyT.mjs +5 -0
- package/chunks/cm-DJ4mixO9.mjs +5 -0
- package/chunks/cn-Cw6Qlqzd.mjs +5 -0
- package/chunks/co-B6rvgyRo.mjs +5 -0
- package/chunks/cr-jJzoBrc7.mjs +5 -0
- package/chunks/cu-BRzz3vV_.mjs +5 -0
- package/chunks/cv-BzZilEMp.mjs +5 -0
- package/chunks/cw-5PnLdxCt.mjs +5 -0
- package/chunks/cx-C0sAUlCS.mjs +5 -0
- package/chunks/cy-DeC9FFGV.mjs +5 -0
- package/chunks/cz-C3rh8aUO.mjs +5 -0
- package/chunks/de-Q2c2XZ_v.mjs +5 -0
- package/chunks/dj-DWAmmYDE.mjs +5 -0
- package/chunks/dk-FTaySAJe.mjs +5 -0
- package/chunks/dm-DgSJioJq.mjs +5 -0
- package/chunks/do-C549n3on.mjs +5 -0
- package/chunks/dz-CPgKocaY.mjs +5 -0
- package/chunks/ec-DkC-cDOb.mjs +5 -0
- package/chunks/ee-BQmFOHXA.mjs +5 -0
- package/chunks/eg-DMVarwMR.mjs +5 -0
- package/chunks/eh--oxmiCXh.mjs +5 -0
- package/chunks/er-DjB_DDiD.mjs +5 -0
- package/chunks/es-D__9e8wL.mjs +5 -0
- package/chunks/et-C3reU7Z2.mjs +5 -0
- package/chunks/fi-C1K0Kh4o.mjs +5 -0
- package/chunks/fj-Cs7ECsE1.mjs +5 -0
- package/chunks/fk-DYEJDgjs.mjs +5 -0
- package/chunks/fm-C7r_OFnj.mjs +5 -0
- package/chunks/fo-DsT-wW0Q.mjs +5 -0
- package/chunks/form-control.styles-BOTBdmvg.mjs +171 -0
- package/chunks/fr-oy8Uo1bo.mjs +5 -0
- package/chunks/ga-DESElBvk.mjs +5 -0
- package/chunks/gb-D5r9QI-K.mjs +5 -0
- package/chunks/gd-BuRviRXt.mjs +5 -0
- package/chunks/ge-BpGz5nUs.mjs +5 -0
- package/chunks/gf-BQgWe_yS.mjs +5 -0
- package/chunks/gg-BLNQrqls.mjs +5 -0
- package/chunks/gh-BzVF8tSr.mjs +5 -0
- package/chunks/gi-DfKOJdRQ.mjs +5 -0
- package/chunks/gl-C558Toee.mjs +5 -0
- package/chunks/gm-DNdinxnD.mjs +5 -0
- package/chunks/gn-DwEBOZ3-.mjs +5 -0
- package/chunks/gp-oy8Uo1bo.mjs +5 -0
- package/chunks/gq-BSkOSQWe.mjs +5 -0
- package/chunks/gr-CTJJbGEC.mjs +5 -0
- package/chunks/gt-D4BwgazI.mjs +5 -0
- package/chunks/gu-CQpMzEB_.mjs +5 -0
- package/chunks/gw-DxZDYMtv.mjs +5 -0
- package/chunks/gy-BWZVUGl8.mjs +5 -0
- package/chunks/hk-BHxjZMf4.mjs +5 -0
- package/chunks/hn-BEVgQ0QQ.mjs +5 -0
- package/chunks/hr-BpVWlAoF.mjs +5 -0
- package/chunks/ht-CfzU-07O.mjs +5 -0
- package/chunks/hu-5Yy5WRy5.mjs +5 -0
- package/chunks/id-BfVg05v7.mjs +5 -0
- package/chunks/ie-DvpkJVl8.mjs +5 -0
- package/chunks/il-DDofIlI0.mjs +5 -0
- package/chunks/im-CW65ei4K.mjs +5 -0
- package/chunks/in-i60GVnCJ.mjs +5 -0
- package/chunks/io-Diyu5soM.mjs +5 -0
- package/chunks/iq-B74bFnMJ.mjs +5 -0
- package/chunks/ir-BWGwwJq9.mjs +5 -0
- package/chunks/is-CK4oIk76.mjs +5 -0
- package/chunks/it-Y7rj3hMY.mjs +5 -0
- package/chunks/je-DMoX3evy.mjs +5 -0
- package/chunks/jm-DZUStFkR.mjs +5 -0
- package/chunks/jo-DVQ6-ojE.mjs +5 -0
- package/chunks/jp-Y5R0MQfN.mjs +5 -0
- package/chunks/ke-CGq6XP7w.mjs +5 -0
- package/chunks/kg-DAoQwbeR.mjs +5 -0
- package/chunks/kh-kMI7MghQ.mjs +5 -0
- package/chunks/ki-Cu7fdPLn.mjs +5 -0
- package/chunks/km-CM7URKBO.mjs +5 -0
- package/chunks/kn-DBVGPz8w.mjs +5 -0
- package/chunks/kp-D3Ea15h2.mjs +5 -0
- package/chunks/kr-DKM0Jy7P.mjs +5 -0
- package/chunks/kw-B7J-nbX9.mjs +5 -0
- package/chunks/ky-p4ckNq_W.mjs +5 -0
- package/chunks/kz-D936idA9.mjs +5 -0
- package/chunks/la-CUKVKbGp.mjs +5 -0
- package/chunks/lb-CzUWz90e.mjs +5 -0
- package/chunks/lc-DuHqL5FW.mjs +5 -0
- package/chunks/li-DgJDzs_F.mjs +5 -0
- package/chunks/lk-3zaagaQ9.mjs +5 -0
- package/chunks/lr-B6Vn6C_9.mjs +5 -0
- package/chunks/ls-DrI0Fh7Y.mjs +5 -0
- package/chunks/lt-PBck9Sgv.mjs +5 -0
- package/chunks/lu-B_xY22fB.mjs +5 -0
- package/chunks/lv-D16yLm3v.mjs +5 -0
- package/chunks/ly-C1adX4Zr.mjs +5 -0
- package/chunks/ma-B7rH3zoW.mjs +5 -0
- package/chunks/mc-Xqh4jc6i.mjs +5 -0
- package/chunks/md-wW4zZzbN.mjs +5 -0
- package/chunks/me-DCy_XMtC.mjs +5 -0
- package/chunks/metadata-loaders.generated-Bu_7pFwU.mjs +250 -0
- package/chunks/mf-DP_tIA6i.mjs +5 -0
- package/chunks/mg-InflpHX7.mjs +5 -0
- package/chunks/mh-VKf434Ww.mjs +5 -0
- package/chunks/mk-C64VS9I-.mjs +5 -0
- package/chunks/ml-BjOQYgou.mjs +5 -0
- package/chunks/mm-DgKeX7WQ.mjs +5 -0
- package/chunks/mn-BBubqCvd.mjs +5 -0
- package/chunks/mo-BtY-l2cE.mjs +5 -0
- package/chunks/mp-DlkcjH8B.mjs +5 -0
- package/chunks/mp-input-group-CQ55efCq.mjs +206 -0
- package/chunks/{mp-select-CKX0eM5C.mjs → mp-select-lHP00OBH.mjs} +177 -33
- package/chunks/mq-BK7HwZSV.mjs +5 -0
- package/chunks/mr-C0S-6dqR.mjs +5 -0
- package/chunks/ms-DpwSSTE-.mjs +5 -0
- package/chunks/mt-B1ie-04J.mjs +5 -0
- package/chunks/mu-DTA25SEP.mjs +5 -0
- package/chunks/mv-DW49amZl.mjs +5 -0
- package/chunks/mw-V-bbqGPN.mjs +5 -0
- package/chunks/mx-CtTJw0SX.mjs +5 -0
- package/chunks/my-DThIQKCq.mjs +5 -0
- package/chunks/mz-Btgk8Li_.mjs +5 -0
- package/chunks/na-D08-xA7q.mjs +5 -0
- package/chunks/nc-hb1s2KqL.mjs +5 -0
- package/chunks/ne-B5vEjeNk.mjs +5 -0
- package/chunks/nf-DDFUS5Ht.mjs +5 -0
- package/chunks/ng-DBhdmXcS.mjs +5 -0
- package/chunks/ni-_x4RKVT8.mjs +5 -0
- package/chunks/nl-DBxW_qVy.mjs +5 -0
- package/chunks/no-LyFCuMlU.mjs +5 -0
- package/chunks/np-DEvIQAys.mjs +5 -0
- package/chunks/nr-CuzElmFx.mjs +5 -0
- package/chunks/nu-C6vVHkwP.mjs +5 -0
- package/chunks/nz-BkhNYKha.mjs +5 -0
- package/chunks/om-BsI3oHrd.mjs +5 -0
- package/chunks/pa-CtNQVaHE.mjs +5 -0
- package/chunks/pe-vcSV6ioD.mjs +5 -0
- package/chunks/pf-BOetDvnB.mjs +5 -0
- package/chunks/pg-BDqa4YXR.mjs +5 -0
- package/chunks/ph-BlAaFzEE.mjs +5 -0
- package/chunks/pk-2auAZIDh.mjs +5 -0
- package/chunks/pl-W6WZfuq9.mjs +5 -0
- package/chunks/pm-oy8Uo1bo.mjs +5 -0
- package/chunks/pr-B3p98s5J.mjs +5 -0
- package/chunks/ps-RET8kTuo.mjs +5 -0
- package/chunks/pt-Z2yfZJAz.mjs +5 -0
- package/chunks/pw-Dm4Y4noS.mjs +5 -0
- package/chunks/py-1pKD7w9y.mjs +5 -0
- package/chunks/qa-DpK5_Q-a.mjs +5 -0
- package/chunks/re-oy8Uo1bo.mjs +5 -0
- package/chunks/ro-VYde6hop.mjs +5 -0
- package/chunks/rs-Dj7Wicw9.mjs +5 -0
- package/chunks/ru-CkWEkuTy.mjs +5 -0
- package/chunks/rw-DjRHPIJ_.mjs +5 -0
- package/chunks/sa-BBdaW-_G.mjs +5 -0
- package/chunks/sb-nNr9S0gd.mjs +5 -0
- package/chunks/sc-DcbShXuj.mjs +5 -0
- package/chunks/sd-B1jbITc6.mjs +5 -0
- package/chunks/se-B-CIMrxu.mjs +5 -0
- package/chunks/sg-BIR0OErL.mjs +5 -0
- package/chunks/sh-BR9c9S8h.mjs +5 -0
- package/chunks/si-B5HzM3z8.mjs +5 -0
- package/chunks/sj-LyFCuMlU.mjs +5 -0
- package/chunks/sk-7ZEImIK5.mjs +5 -0
- package/chunks/sl-DuhHodH6.mjs +5 -0
- package/chunks/sm-BrM5UOOM.mjs +5 -0
- package/chunks/sn-jptojE_-.mjs +5 -0
- package/chunks/so-auBJUCeE.mjs +5 -0
- package/chunks/sr-DqWWIG11.mjs +5 -0
- package/chunks/ss-BcJF0rd5.mjs +5 -0
- package/chunks/st-D65H7-IP.mjs +5 -0
- package/chunks/sv-D8EgdK15.mjs +5 -0
- package/chunks/sx-Cmd53qC5.mjs +5 -0
- package/chunks/sy-LL8b7cLC.mjs +5 -0
- package/chunks/sz-D-qYq589.mjs +5 -0
- package/chunks/tc-AIE9LFuJ.mjs +5 -0
- package/chunks/td-C5AP4EiN.mjs +5 -0
- package/chunks/tg-Dt9WAF7L.mjs +5 -0
- package/chunks/th-DyfDlw-o.mjs +5 -0
- package/chunks/tj-U7xsGAAg.mjs +5 -0
- package/chunks/tk-BWjKruB4.mjs +5 -0
- package/chunks/tl-CcXsJf98.mjs +5 -0
- package/chunks/tm-DTASSSkf.mjs +5 -0
- package/chunks/tn-DttZvPz0.mjs +5 -0
- package/chunks/to-ChsX5Z4Q.mjs +5 -0
- package/chunks/tr-C2CRhai0.mjs +5 -0
- package/chunks/tt-DPpP-HbL.mjs +5 -0
- package/chunks/tv-CiTLokZi.mjs +5 -0
- package/chunks/tw--J7h_fxf.mjs +5 -0
- package/chunks/tz-qS3mKSkx.mjs +5 -0
- package/chunks/ua-DiZstskV.mjs +5 -0
- package/chunks/ug-BxVGZUby.mjs +5 -0
- package/chunks/us-BvyIwpav.mjs +5 -0
- package/chunks/uy-Dsr4HSrP.mjs +5 -0
- package/chunks/uz-D25kmTp8.mjs +5 -0
- package/chunks/va-hG27DTVe.mjs +5 -0
- package/chunks/validation-ChktfuxI.mjs +137 -0
- package/chunks/vc-7r46jyD5.mjs +5 -0
- package/chunks/ve-R8UkJHAj.mjs +5 -0
- package/chunks/vg-BLSugSwb.mjs +5 -0
- package/chunks/vi-DSyJsPSD.mjs +5 -0
- package/chunks/vn-BwGpRkWs.mjs +5 -0
- package/chunks/vu-aFyzktTY.mjs +5 -0
- package/chunks/wf-Ca9RrMIP.mjs +5 -0
- package/chunks/ws-DphODgja.mjs +5 -0
- package/chunks/xk-sugAykhS.mjs +5 -0
- package/chunks/ye-D2MZq-93.mjs +5 -0
- package/chunks/yt-tAecYEDU.mjs +5 -0
- package/chunks/za-DadXcfMa.mjs +5 -0
- package/chunks/zm--rp7ufAJ.mjs +5 -0
- package/chunks/zw-BG5nNe2I.mjs +5 -0
- package/flags/README.md +64 -0
- package/flags/index.d.ts +1 -0
- package/flags/index.mjs +264 -0
- package/flags/src/all-flags.d.ts +32 -0
- package/flags/src/all-flags.generated.d.ts +6 -0
- package/flags/src/flag-loaders.generated.d.ts +7 -0
- package/flags/src/index.d.ts +3 -0
- package/flags/src/load-flag.d.ts +13 -0
- package/input-group/index.d.ts +1 -0
- package/input-group/index.mjs +4 -0
- package/input-group/src/components/mp-input-group.d.ts +61 -0
- package/input-group/src/index.d.ts +1 -0
- package/input-group/src/styles/index.d.ts +1 -0
- package/input-group/src/styles/input-group.styles.d.ts +2 -0
- package/package.json +20 -2
- package/phone-core/README.md +57 -0
- package/phone-core/index.d.ts +1 -0
- package/phone-core/index.mjs +8 -0
- package/phone-core/src/countries.d.ts +57 -0
- package/phone-core/src/dial-code.d.ts +30 -0
- package/phone-core/src/index.d.ts +4 -0
- package/phone-core/src/metadata/cc-1.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-20.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-211.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-212.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-213.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-216.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-218.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-220.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-221.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-222.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-223.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-224.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-225.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-226.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-227.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-228.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-229.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-230.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-231.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-232.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-233.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-234.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-235.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-236.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-237.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-238.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-239.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-240.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-241.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-242.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-243.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-244.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-245.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-246.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-247.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-248.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-249.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-250.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-251.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-252.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-253.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-254.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-255.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-256.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-257.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-258.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-260.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-261.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-262.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-263.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-264.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-265.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-266.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-267.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-268.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-269.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-27.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-290.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-291.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-297.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-298.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-299.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-30.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-31.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-32.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-33.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-34.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-350.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-351.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-352.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-353.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-354.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-355.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-356.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-357.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-358.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-359.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-36.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-370.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-371.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-372.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-373.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-374.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-375.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-376.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-377.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-378.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-380.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-381.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-382.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-383.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-385.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-386.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-387.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-389.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-39.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-40.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-41.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-420.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-421.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-423.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-43.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-44.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-45.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-46.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-47.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-48.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-49.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-500.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-501.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-502.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-503.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-504.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-505.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-506.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-507.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-508.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-509.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-51.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-52.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-53.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-54.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-55.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-56.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-57.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-58.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-590.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-591.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-592.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-593.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-594.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-595.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-596.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-597.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-598.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-599.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-60.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-61.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-62.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-63.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-64.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-65.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-66.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-670.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-672.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-673.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-674.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-675.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-676.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-677.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-678.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-679.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-680.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-681.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-682.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-683.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-685.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-686.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-687.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-688.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-689.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-690.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-691.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-692.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-7.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-81.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-82.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-84.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-850.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-852.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-853.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-855.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-856.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-86.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-880.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-886.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-90.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-91.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-92.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-93.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-94.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-95.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-960.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-961.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-962.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-963.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-964.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-965.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-966.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-967.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-968.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-970.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-971.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-972.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-973.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-974.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-975.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-976.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-977.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-98.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-992.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-993.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-994.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-995.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-996.generated.d.ts +3 -0
- package/phone-core/src/metadata/cc-998.generated.d.ts +3 -0
- package/phone-core/src/metadata-loaders.generated.d.ts +15 -0
- package/phone-core/src/validation.d.ts +55 -0
- package/phone-input/index.d.ts +1 -0
- package/phone-input/index.mjs +515 -0
- package/phone-input/src/components/caret.d.ts +25 -0
- package/phone-input/src/components/mp-phone-input.d.ts +149 -0
- package/phone-input/src/index.d.ts +1 -0
- package/phone-input/src/styles/index.d.ts +1 -0
- package/phone-input/src/styles/phone-input.styles.d.ts +2 -0
- package/query-builder/index.mjs +1 -1
- package/scheduler/index.mjs +768 -914
- package/select/index.mjs +1 -1
- package/select/src/components/index.d.ts +1 -1
- package/select/src/components/mp-select.d.ts +38 -0
- package/select/src/index.d.ts +1 -1
- package/select/src/styles/index.d.ts +1 -0
- package/select/src/styles/select.styles.d.ts +2 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const h = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><g fill="#FFDA44"><path d="M0 134.196h512v48.868H0zM0 329.668h512v48.868H0z"/></g><path fill="#057f44" d="M0 85.333h512v48.868H0z"/><g fill="#D80027"><path d="M0 183.069h512v48.868H0zM0 280.806h512v48.868H0z"/></g><path fill="#057f44" d="M0 378.542h512v48.128H0z"/><path fill="#FFF" d="M276.992 255.996 106.329 426.659H0V85.333h106.329z"/><path d="M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"/><path fill="#D80027" d="m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"/><path fill="#FFDA44" d="m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
h as default
|
|
5
|
+
};
|
package/flags/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# `@mintplayer/web-components/flags`
|
|
2
|
+
|
|
3
|
+
Lazily-loaded 3x2 SVG country flags, in two shapes: the whole corpus as one
|
|
4
|
+
chunk, or one chunk per flag. **Pick by how many flags you show, not by taste** —
|
|
5
|
+
the difference is measured and large.
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { loadAllFlags, loadFlag } from '@mintplayer/web-components/flags';
|
|
9
|
+
|
|
10
|
+
// Many flags at once (a country picker): ONE request, ~43 KB gzip.
|
|
11
|
+
const flags = await loadAllFlags();
|
|
12
|
+
flags['be']; // string | undefined
|
|
13
|
+
|
|
14
|
+
// A handful of specific flags: one ~350 B gzip chunk each.
|
|
15
|
+
const svg = await loadFlag('be'); // string | undefined
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Both are cached and neither ever rejects: an unknown code, and a chunk that
|
|
19
|
+
failed to load, read as `undefined`.
|
|
20
|
+
|
|
21
|
+
Fetching all 244 as individual `loadFlag()` chunks costs **90 KB gzip and 244
|
|
22
|
+
requests** against **43 KB and one**, plus ~50 KB of HTTP/1.1 response headers —
|
|
23
|
+
separate chunks cannot share a compression dictionary, so splitting the corpus
|
|
24
|
+
nearly doubles it. Measured over HTTP/1.1 at 50 ms RTT: **3.4 s** to paint a full
|
|
25
|
+
picker against **0.27 s** (1.9 s vs 0.18 s at 20 ms, 0.55 s vs 0.28 s over HTTP/2).
|
|
26
|
+
The two share no cache, so calling both for the same flag fetches it twice; that is
|
|
27
|
+
the price of letting a bundler drop whichever one you do not use (verified: a
|
|
28
|
+
consumer that only calls `loadAllFlags()` emits none of the 244 per-flag chunks).
|
|
29
|
+
|
|
30
|
+
`src/assets/*.svg` are **vendored sources**, not build artifacts: they are
|
|
31
|
+
committed, and refreshed by `node tools/scripts/refresh-flags.mjs`, which fetches
|
|
32
|
+
the pinned `country-flag-icons` release on demand — it is deliberately not a
|
|
33
|
+
dependency, since nothing else reads it and it weighs 12 MB.
|
|
34
|
+
`src/flag-loaders.generated.ts` and `src/all-flags.generated.ts` are gitignored
|
|
35
|
+
artifacts produced by the `codegen-wc` Nx target.
|
|
36
|
+
|
|
37
|
+
## License of the vendored artwork
|
|
38
|
+
|
|
39
|
+
The SVGs are taken verbatim from [country-flag-icons](https://www.npmjs.com/package/country-flag-icons) v1.6.20, which is MIT-licensed:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
(The MIT License)
|
|
43
|
+
|
|
44
|
+
Copyright (c) 2020 @catamphetamine <purecatamphetamine@gmail.com>
|
|
45
|
+
|
|
46
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
47
|
+
a copy of this software and associated documentation files (the
|
|
48
|
+
'Software'), to deal in the Software without restriction, including
|
|
49
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
50
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
51
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
52
|
+
the following conditions:
|
|
53
|
+
|
|
54
|
+
The above copyright notice and this permission notice shall be
|
|
55
|
+
included in all copies or substantial portions of the Software.
|
|
56
|
+
|
|
57
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
58
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
59
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
60
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
61
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
62
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
63
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
64
|
+
```
|
package/flags/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/flags/index.mjs
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { l as p } from "../chunks/all-flags-BtYcfgjy.mjs";
|
|
2
|
+
const r = {
|
|
3
|
+
ac: () => import("../chunks/ac-C5mj7mOe.mjs").then((t) => t.default),
|
|
4
|
+
ad: () => import("../chunks/ad-DuKUeTXh.mjs").then((t) => t.default),
|
|
5
|
+
ae: () => import("../chunks/ae-BFJrplpe.mjs").then((t) => t.default),
|
|
6
|
+
af: () => import("../chunks/af-BIQlNFtj.mjs").then((t) => t.default),
|
|
7
|
+
ag: () => import("../chunks/ag-B9GDO0Ip.mjs").then((t) => t.default),
|
|
8
|
+
ai: () => import("../chunks/ai-pifHTP5K.mjs").then((t) => t.default),
|
|
9
|
+
al: () => import("../chunks/al-CWQ3OuN9.mjs").then((t) => t.default),
|
|
10
|
+
am: () => import("../chunks/am-Do56ciQl.mjs").then((t) => t.default),
|
|
11
|
+
ao: () => import("../chunks/ao-Ci_fen-O.mjs").then((t) => t.default),
|
|
12
|
+
ar: () => import("../chunks/ar-BEZTIgF7.mjs").then((t) => t.default),
|
|
13
|
+
as: () => import("../chunks/as-B29efaG_.mjs").then((t) => t.default),
|
|
14
|
+
at: () => import("../chunks/at-c7xv31cV.mjs").then((t) => t.default),
|
|
15
|
+
au: () => import("../chunks/au-DK4ZROf6.mjs").then((t) => t.default),
|
|
16
|
+
aw: () => import("../chunks/aw-eEmOo-kc.mjs").then((t) => t.default),
|
|
17
|
+
ax: () => import("../chunks/ax-CF1cgQbd.mjs").then((t) => t.default),
|
|
18
|
+
az: () => import("../chunks/az-BXPec7pf.mjs").then((t) => t.default),
|
|
19
|
+
ba: () => import("../chunks/ba-EoocSiX0.mjs").then((t) => t.default),
|
|
20
|
+
bb: () => import("../chunks/bb-BomyOgY0.mjs").then((t) => t.default),
|
|
21
|
+
bd: () => import("../chunks/bd-C2Y9A316.mjs").then((t) => t.default),
|
|
22
|
+
be: () => import("../chunks/be-DcE56El1.mjs").then((t) => t.default),
|
|
23
|
+
bf: () => import("../chunks/bf-g7XzTHJG.mjs").then((t) => t.default),
|
|
24
|
+
bg: () => import("../chunks/bg-DAHpwJAh.mjs").then((t) => t.default),
|
|
25
|
+
bh: () => import("../chunks/bh-BiHF8vqO.mjs").then((t) => t.default),
|
|
26
|
+
bi: () => import("../chunks/bi-DVAoOy2o.mjs").then((t) => t.default),
|
|
27
|
+
bj: () => import("../chunks/bj-CB6I0T1J.mjs").then((t) => t.default),
|
|
28
|
+
bl: () => import("../chunks/bl-DhUObXcB.mjs").then((t) => t.default),
|
|
29
|
+
bm: () => import("../chunks/bm-d77E6A-Q.mjs").then((t) => t.default),
|
|
30
|
+
bn: () => import("../chunks/bn-CG1_6Vfv.mjs").then((t) => t.default),
|
|
31
|
+
bo: () => import("../chunks/bo-ulcQ_Lws.mjs").then((t) => t.default),
|
|
32
|
+
bq: () => import("../chunks/bq-wOjRpmJJ.mjs").then((t) => t.default),
|
|
33
|
+
br: () => import("../chunks/br-BwQAEpKL.mjs").then((t) => t.default),
|
|
34
|
+
bs: () => import("../chunks/bs-Cmq3uDf9.mjs").then((t) => t.default),
|
|
35
|
+
bt: () => import("../chunks/bt-Cik-3ebf.mjs").then((t) => t.default),
|
|
36
|
+
bw: () => import("../chunks/bw-ZUkpxAL1.mjs").then((t) => t.default),
|
|
37
|
+
by: () => import("../chunks/by-Dh-5h5x1.mjs").then((t) => t.default),
|
|
38
|
+
bz: () => import("../chunks/bz-DB0s7-5N.mjs").then((t) => t.default),
|
|
39
|
+
ca: () => import("../chunks/ca-Coq88_mc.mjs").then((t) => t.default),
|
|
40
|
+
cc: () => import("../chunks/cc-BZdCRpNT.mjs").then((t) => t.default),
|
|
41
|
+
cd: () => import("../chunks/cd-9O28tBfy.mjs").then((t) => t.default),
|
|
42
|
+
cf: () => import("../chunks/cf-BdhmyWlv.mjs").then((t) => t.default),
|
|
43
|
+
cg: () => import("../chunks/cg-C-Qu4NMU.mjs").then((t) => t.default),
|
|
44
|
+
ch: () => import("../chunks/ch-A1RQVYLO.mjs").then((t) => t.default),
|
|
45
|
+
ci: () => import("../chunks/ci-DZY7fgO7.mjs").then((t) => t.default),
|
|
46
|
+
ck: () => import("../chunks/ck-D-2C9a72.mjs").then((t) => t.default),
|
|
47
|
+
cl: () => import("../chunks/cl-3HNgrmyT.mjs").then((t) => t.default),
|
|
48
|
+
cm: () => import("../chunks/cm-DJ4mixO9.mjs").then((t) => t.default),
|
|
49
|
+
cn: () => import("../chunks/cn-Cw6Qlqzd.mjs").then((t) => t.default),
|
|
50
|
+
co: () => import("../chunks/co-B6rvgyRo.mjs").then((t) => t.default),
|
|
51
|
+
cr: () => import("../chunks/cr-jJzoBrc7.mjs").then((t) => t.default),
|
|
52
|
+
cu: () => import("../chunks/cu-BRzz3vV_.mjs").then((t) => t.default),
|
|
53
|
+
cv: () => import("../chunks/cv-BzZilEMp.mjs").then((t) => t.default),
|
|
54
|
+
cw: () => import("../chunks/cw-5PnLdxCt.mjs").then((t) => t.default),
|
|
55
|
+
cx: () => import("../chunks/cx-C0sAUlCS.mjs").then((t) => t.default),
|
|
56
|
+
cy: () => import("../chunks/cy-DeC9FFGV.mjs").then((t) => t.default),
|
|
57
|
+
cz: () => import("../chunks/cz-C3rh8aUO.mjs").then((t) => t.default),
|
|
58
|
+
de: () => import("../chunks/de-Q2c2XZ_v.mjs").then((t) => t.default),
|
|
59
|
+
dj: () => import("../chunks/dj-DWAmmYDE.mjs").then((t) => t.default),
|
|
60
|
+
dk: () => import("../chunks/dk-FTaySAJe.mjs").then((t) => t.default),
|
|
61
|
+
dm: () => import("../chunks/dm-DgSJioJq.mjs").then((t) => t.default),
|
|
62
|
+
do: () => import("../chunks/do-C549n3on.mjs").then((t) => t.default),
|
|
63
|
+
dz: () => import("../chunks/dz-CPgKocaY.mjs").then((t) => t.default),
|
|
64
|
+
ec: () => import("../chunks/ec-DkC-cDOb.mjs").then((t) => t.default),
|
|
65
|
+
ee: () => import("../chunks/ee-BQmFOHXA.mjs").then((t) => t.default),
|
|
66
|
+
eg: () => import("../chunks/eg-DMVarwMR.mjs").then((t) => t.default),
|
|
67
|
+
eh: () => import("../chunks/eh--oxmiCXh.mjs").then((t) => t.default),
|
|
68
|
+
er: () => import("../chunks/er-DjB_DDiD.mjs").then((t) => t.default),
|
|
69
|
+
es: () => import("../chunks/es-D__9e8wL.mjs").then((t) => t.default),
|
|
70
|
+
et: () => import("../chunks/et-C3reU7Z2.mjs").then((t) => t.default),
|
|
71
|
+
fi: () => import("../chunks/fi-C1K0Kh4o.mjs").then((t) => t.default),
|
|
72
|
+
fj: () => import("../chunks/fj-Cs7ECsE1.mjs").then((t) => t.default),
|
|
73
|
+
fk: () => import("../chunks/fk-DYEJDgjs.mjs").then((t) => t.default),
|
|
74
|
+
fm: () => import("../chunks/fm-C7r_OFnj.mjs").then((t) => t.default),
|
|
75
|
+
fo: () => import("../chunks/fo-DsT-wW0Q.mjs").then((t) => t.default),
|
|
76
|
+
fr: () => import("../chunks/fr-oy8Uo1bo.mjs").then((t) => t.default),
|
|
77
|
+
ga: () => import("../chunks/ga-DESElBvk.mjs").then((t) => t.default),
|
|
78
|
+
gb: () => import("../chunks/gb-D5r9QI-K.mjs").then((t) => t.default),
|
|
79
|
+
gd: () => import("../chunks/gd-BuRviRXt.mjs").then((t) => t.default),
|
|
80
|
+
ge: () => import("../chunks/ge-BpGz5nUs.mjs").then((t) => t.default),
|
|
81
|
+
gf: () => import("../chunks/gf-BQgWe_yS.mjs").then((t) => t.default),
|
|
82
|
+
gg: () => import("../chunks/gg-BLNQrqls.mjs").then((t) => t.default),
|
|
83
|
+
gh: () => import("../chunks/gh-BzVF8tSr.mjs").then((t) => t.default),
|
|
84
|
+
gi: () => import("../chunks/gi-DfKOJdRQ.mjs").then((t) => t.default),
|
|
85
|
+
gl: () => import("../chunks/gl-C558Toee.mjs").then((t) => t.default),
|
|
86
|
+
gm: () => import("../chunks/gm-DNdinxnD.mjs").then((t) => t.default),
|
|
87
|
+
gn: () => import("../chunks/gn-DwEBOZ3-.mjs").then((t) => t.default),
|
|
88
|
+
gp: () => import("../chunks/gp-oy8Uo1bo.mjs").then((t) => t.default),
|
|
89
|
+
gq: () => import("../chunks/gq-BSkOSQWe.mjs").then((t) => t.default),
|
|
90
|
+
gr: () => import("../chunks/gr-CTJJbGEC.mjs").then((t) => t.default),
|
|
91
|
+
gt: () => import("../chunks/gt-D4BwgazI.mjs").then((t) => t.default),
|
|
92
|
+
gu: () => import("../chunks/gu-CQpMzEB_.mjs").then((t) => t.default),
|
|
93
|
+
gw: () => import("../chunks/gw-DxZDYMtv.mjs").then((t) => t.default),
|
|
94
|
+
gy: () => import("../chunks/gy-BWZVUGl8.mjs").then((t) => t.default),
|
|
95
|
+
hk: () => import("../chunks/hk-BHxjZMf4.mjs").then((t) => t.default),
|
|
96
|
+
hn: () => import("../chunks/hn-BEVgQ0QQ.mjs").then((t) => t.default),
|
|
97
|
+
hr: () => import("../chunks/hr-BpVWlAoF.mjs").then((t) => t.default),
|
|
98
|
+
ht: () => import("../chunks/ht-CfzU-07O.mjs").then((t) => t.default),
|
|
99
|
+
hu: () => import("../chunks/hu-5Yy5WRy5.mjs").then((t) => t.default),
|
|
100
|
+
id: () => import("../chunks/id-BfVg05v7.mjs").then((t) => t.default),
|
|
101
|
+
ie: () => import("../chunks/ie-DvpkJVl8.mjs").then((t) => t.default),
|
|
102
|
+
il: () => import("../chunks/il-DDofIlI0.mjs").then((t) => t.default),
|
|
103
|
+
im: () => import("../chunks/im-CW65ei4K.mjs").then((t) => t.default),
|
|
104
|
+
in: () => import("../chunks/in-i60GVnCJ.mjs").then((t) => t.default),
|
|
105
|
+
io: () => import("../chunks/io-Diyu5soM.mjs").then((t) => t.default),
|
|
106
|
+
iq: () => import("../chunks/iq-B74bFnMJ.mjs").then((t) => t.default),
|
|
107
|
+
ir: () => import("../chunks/ir-BWGwwJq9.mjs").then((t) => t.default),
|
|
108
|
+
is: () => import("../chunks/is-CK4oIk76.mjs").then((t) => t.default),
|
|
109
|
+
it: () => import("../chunks/it-Y7rj3hMY.mjs").then((t) => t.default),
|
|
110
|
+
je: () => import("../chunks/je-DMoX3evy.mjs").then((t) => t.default),
|
|
111
|
+
jm: () => import("../chunks/jm-DZUStFkR.mjs").then((t) => t.default),
|
|
112
|
+
jo: () => import("../chunks/jo-DVQ6-ojE.mjs").then((t) => t.default),
|
|
113
|
+
jp: () => import("../chunks/jp-Y5R0MQfN.mjs").then((t) => t.default),
|
|
114
|
+
ke: () => import("../chunks/ke-CGq6XP7w.mjs").then((t) => t.default),
|
|
115
|
+
kg: () => import("../chunks/kg-DAoQwbeR.mjs").then((t) => t.default),
|
|
116
|
+
kh: () => import("../chunks/kh-kMI7MghQ.mjs").then((t) => t.default),
|
|
117
|
+
ki: () => import("../chunks/ki-Cu7fdPLn.mjs").then((t) => t.default),
|
|
118
|
+
km: () => import("../chunks/km-CM7URKBO.mjs").then((t) => t.default),
|
|
119
|
+
kn: () => import("../chunks/kn-DBVGPz8w.mjs").then((t) => t.default),
|
|
120
|
+
kp: () => import("../chunks/kp-D3Ea15h2.mjs").then((t) => t.default),
|
|
121
|
+
kr: () => import("../chunks/kr-DKM0Jy7P.mjs").then((t) => t.default),
|
|
122
|
+
kw: () => import("../chunks/kw-B7J-nbX9.mjs").then((t) => t.default),
|
|
123
|
+
ky: () => import("../chunks/ky-p4ckNq_W.mjs").then((t) => t.default),
|
|
124
|
+
kz: () => import("../chunks/kz-D936idA9.mjs").then((t) => t.default),
|
|
125
|
+
la: () => import("../chunks/la-CUKVKbGp.mjs").then((t) => t.default),
|
|
126
|
+
lb: () => import("../chunks/lb-CzUWz90e.mjs").then((t) => t.default),
|
|
127
|
+
lc: () => import("../chunks/lc-DuHqL5FW.mjs").then((t) => t.default),
|
|
128
|
+
li: () => import("../chunks/li-DgJDzs_F.mjs").then((t) => t.default),
|
|
129
|
+
lk: () => import("../chunks/lk-3zaagaQ9.mjs").then((t) => t.default),
|
|
130
|
+
lr: () => import("../chunks/lr-B6Vn6C_9.mjs").then((t) => t.default),
|
|
131
|
+
ls: () => import("../chunks/ls-DrI0Fh7Y.mjs").then((t) => t.default),
|
|
132
|
+
lt: () => import("../chunks/lt-PBck9Sgv.mjs").then((t) => t.default),
|
|
133
|
+
lu: () => import("../chunks/lu-B_xY22fB.mjs").then((t) => t.default),
|
|
134
|
+
lv: () => import("../chunks/lv-D16yLm3v.mjs").then((t) => t.default),
|
|
135
|
+
ly: () => import("../chunks/ly-C1adX4Zr.mjs").then((t) => t.default),
|
|
136
|
+
ma: () => import("../chunks/ma-B7rH3zoW.mjs").then((t) => t.default),
|
|
137
|
+
mc: () => import("../chunks/mc-Xqh4jc6i.mjs").then((t) => t.default),
|
|
138
|
+
md: () => import("../chunks/md-wW4zZzbN.mjs").then((t) => t.default),
|
|
139
|
+
me: () => import("../chunks/me-DCy_XMtC.mjs").then((t) => t.default),
|
|
140
|
+
mf: () => import("../chunks/mf-DP_tIA6i.mjs").then((t) => t.default),
|
|
141
|
+
mg: () => import("../chunks/mg-InflpHX7.mjs").then((t) => t.default),
|
|
142
|
+
mh: () => import("../chunks/mh-VKf434Ww.mjs").then((t) => t.default),
|
|
143
|
+
mk: () => import("../chunks/mk-C64VS9I-.mjs").then((t) => t.default),
|
|
144
|
+
ml: () => import("../chunks/ml-BjOQYgou.mjs").then((t) => t.default),
|
|
145
|
+
mm: () => import("../chunks/mm-DgKeX7WQ.mjs").then((t) => t.default),
|
|
146
|
+
mn: () => import("../chunks/mn-BBubqCvd.mjs").then((t) => t.default),
|
|
147
|
+
mo: () => import("../chunks/mo-BtY-l2cE.mjs").then((t) => t.default),
|
|
148
|
+
mp: () => import("../chunks/mp-DlkcjH8B.mjs").then((t) => t.default),
|
|
149
|
+
mq: () => import("../chunks/mq-BK7HwZSV.mjs").then((t) => t.default),
|
|
150
|
+
mr: () => import("../chunks/mr-C0S-6dqR.mjs").then((t) => t.default),
|
|
151
|
+
ms: () => import("../chunks/ms-DpwSSTE-.mjs").then((t) => t.default),
|
|
152
|
+
mt: () => import("../chunks/mt-B1ie-04J.mjs").then((t) => t.default),
|
|
153
|
+
mu: () => import("../chunks/mu-DTA25SEP.mjs").then((t) => t.default),
|
|
154
|
+
mv: () => import("../chunks/mv-DW49amZl.mjs").then((t) => t.default),
|
|
155
|
+
mw: () => import("../chunks/mw-V-bbqGPN.mjs").then((t) => t.default),
|
|
156
|
+
mx: () => import("../chunks/mx-CtTJw0SX.mjs").then((t) => t.default),
|
|
157
|
+
my: () => import("../chunks/my-DThIQKCq.mjs").then((t) => t.default),
|
|
158
|
+
mz: () => import("../chunks/mz-Btgk8Li_.mjs").then((t) => t.default),
|
|
159
|
+
na: () => import("../chunks/na-D08-xA7q.mjs").then((t) => t.default),
|
|
160
|
+
nc: () => import("../chunks/nc-hb1s2KqL.mjs").then((t) => t.default),
|
|
161
|
+
ne: () => import("../chunks/ne-B5vEjeNk.mjs").then((t) => t.default),
|
|
162
|
+
nf: () => import("../chunks/nf-DDFUS5Ht.mjs").then((t) => t.default),
|
|
163
|
+
ng: () => import("../chunks/ng-DBhdmXcS.mjs").then((t) => t.default),
|
|
164
|
+
ni: () => import("../chunks/ni-_x4RKVT8.mjs").then((t) => t.default),
|
|
165
|
+
nl: () => import("../chunks/nl-DBxW_qVy.mjs").then((t) => t.default),
|
|
166
|
+
no: () => import("../chunks/no-LyFCuMlU.mjs").then((t) => t.default),
|
|
167
|
+
np: () => import("../chunks/np-DEvIQAys.mjs").then((t) => t.default),
|
|
168
|
+
nr: () => import("../chunks/nr-CuzElmFx.mjs").then((t) => t.default),
|
|
169
|
+
nu: () => import("../chunks/nu-C6vVHkwP.mjs").then((t) => t.default),
|
|
170
|
+
nz: () => import("../chunks/nz-BkhNYKha.mjs").then((t) => t.default),
|
|
171
|
+
om: () => import("../chunks/om-BsI3oHrd.mjs").then((t) => t.default),
|
|
172
|
+
pa: () => import("../chunks/pa-CtNQVaHE.mjs").then((t) => t.default),
|
|
173
|
+
pe: () => import("../chunks/pe-vcSV6ioD.mjs").then((t) => t.default),
|
|
174
|
+
pf: () => import("../chunks/pf-BOetDvnB.mjs").then((t) => t.default),
|
|
175
|
+
pg: () => import("../chunks/pg-BDqa4YXR.mjs").then((t) => t.default),
|
|
176
|
+
ph: () => import("../chunks/ph-BlAaFzEE.mjs").then((t) => t.default),
|
|
177
|
+
pk: () => import("../chunks/pk-2auAZIDh.mjs").then((t) => t.default),
|
|
178
|
+
pl: () => import("../chunks/pl-W6WZfuq9.mjs").then((t) => t.default),
|
|
179
|
+
pm: () => import("../chunks/pm-oy8Uo1bo.mjs").then((t) => t.default),
|
|
180
|
+
pr: () => import("../chunks/pr-B3p98s5J.mjs").then((t) => t.default),
|
|
181
|
+
ps: () => import("../chunks/ps-RET8kTuo.mjs").then((t) => t.default),
|
|
182
|
+
pt: () => import("../chunks/pt-Z2yfZJAz.mjs").then((t) => t.default),
|
|
183
|
+
pw: () => import("../chunks/pw-Dm4Y4noS.mjs").then((t) => t.default),
|
|
184
|
+
py: () => import("../chunks/py-1pKD7w9y.mjs").then((t) => t.default),
|
|
185
|
+
qa: () => import("../chunks/qa-DpK5_Q-a.mjs").then((t) => t.default),
|
|
186
|
+
re: () => import("../chunks/re-oy8Uo1bo.mjs").then((t) => t.default),
|
|
187
|
+
ro: () => import("../chunks/ro-VYde6hop.mjs").then((t) => t.default),
|
|
188
|
+
rs: () => import("../chunks/rs-Dj7Wicw9.mjs").then((t) => t.default),
|
|
189
|
+
ru: () => import("../chunks/ru-CkWEkuTy.mjs").then((t) => t.default),
|
|
190
|
+
rw: () => import("../chunks/rw-DjRHPIJ_.mjs").then((t) => t.default),
|
|
191
|
+
sa: () => import("../chunks/sa-BBdaW-_G.mjs").then((t) => t.default),
|
|
192
|
+
sb: () => import("../chunks/sb-nNr9S0gd.mjs").then((t) => t.default),
|
|
193
|
+
sc: () => import("../chunks/sc-DcbShXuj.mjs").then((t) => t.default),
|
|
194
|
+
sd: () => import("../chunks/sd-B1jbITc6.mjs").then((t) => t.default),
|
|
195
|
+
se: () => import("../chunks/se-B-CIMrxu.mjs").then((t) => t.default),
|
|
196
|
+
sg: () => import("../chunks/sg-BIR0OErL.mjs").then((t) => t.default),
|
|
197
|
+
sh: () => import("../chunks/sh-BR9c9S8h.mjs").then((t) => t.default),
|
|
198
|
+
si: () => import("../chunks/si-B5HzM3z8.mjs").then((t) => t.default),
|
|
199
|
+
sj: () => import("../chunks/sj-LyFCuMlU.mjs").then((t) => t.default),
|
|
200
|
+
sk: () => import("../chunks/sk-7ZEImIK5.mjs").then((t) => t.default),
|
|
201
|
+
sl: () => import("../chunks/sl-DuhHodH6.mjs").then((t) => t.default),
|
|
202
|
+
sm: () => import("../chunks/sm-BrM5UOOM.mjs").then((t) => t.default),
|
|
203
|
+
sn: () => import("../chunks/sn-jptojE_-.mjs").then((t) => t.default),
|
|
204
|
+
so: () => import("../chunks/so-auBJUCeE.mjs").then((t) => t.default),
|
|
205
|
+
sr: () => import("../chunks/sr-DqWWIG11.mjs").then((t) => t.default),
|
|
206
|
+
ss: () => import("../chunks/ss-BcJF0rd5.mjs").then((t) => t.default),
|
|
207
|
+
st: () => import("../chunks/st-D65H7-IP.mjs").then((t) => t.default),
|
|
208
|
+
sv: () => import("../chunks/sv-D8EgdK15.mjs").then((t) => t.default),
|
|
209
|
+
sx: () => import("../chunks/sx-Cmd53qC5.mjs").then((t) => t.default),
|
|
210
|
+
sy: () => import("../chunks/sy-LL8b7cLC.mjs").then((t) => t.default),
|
|
211
|
+
sz: () => import("../chunks/sz-D-qYq589.mjs").then((t) => t.default),
|
|
212
|
+
tc: () => import("../chunks/tc-AIE9LFuJ.mjs").then((t) => t.default),
|
|
213
|
+
td: () => import("../chunks/td-C5AP4EiN.mjs").then((t) => t.default),
|
|
214
|
+
tg: () => import("../chunks/tg-Dt9WAF7L.mjs").then((t) => t.default),
|
|
215
|
+
th: () => import("../chunks/th-DyfDlw-o.mjs").then((t) => t.default),
|
|
216
|
+
tj: () => import("../chunks/tj-U7xsGAAg.mjs").then((t) => t.default),
|
|
217
|
+
tk: () => import("../chunks/tk-BWjKruB4.mjs").then((t) => t.default),
|
|
218
|
+
tl: () => import("../chunks/tl-CcXsJf98.mjs").then((t) => t.default),
|
|
219
|
+
tm: () => import("../chunks/tm-DTASSSkf.mjs").then((t) => t.default),
|
|
220
|
+
tn: () => import("../chunks/tn-DttZvPz0.mjs").then((t) => t.default),
|
|
221
|
+
to: () => import("../chunks/to-ChsX5Z4Q.mjs").then((t) => t.default),
|
|
222
|
+
tr: () => import("../chunks/tr-C2CRhai0.mjs").then((t) => t.default),
|
|
223
|
+
tt: () => import("../chunks/tt-DPpP-HbL.mjs").then((t) => t.default),
|
|
224
|
+
tv: () => import("../chunks/tv-CiTLokZi.mjs").then((t) => t.default),
|
|
225
|
+
tw: () => import("../chunks/tw--J7h_fxf.mjs").then((t) => t.default),
|
|
226
|
+
tz: () => import("../chunks/tz-qS3mKSkx.mjs").then((t) => t.default),
|
|
227
|
+
ua: () => import("../chunks/ua-DiZstskV.mjs").then((t) => t.default),
|
|
228
|
+
ug: () => import("../chunks/ug-BxVGZUby.mjs").then((t) => t.default),
|
|
229
|
+
us: () => import("../chunks/us-BvyIwpav.mjs").then((t) => t.default),
|
|
230
|
+
uy: () => import("../chunks/uy-Dsr4HSrP.mjs").then((t) => t.default),
|
|
231
|
+
uz: () => import("../chunks/uz-D25kmTp8.mjs").then((t) => t.default),
|
|
232
|
+
va: () => import("../chunks/va-hG27DTVe.mjs").then((t) => t.default),
|
|
233
|
+
vc: () => import("../chunks/vc-7r46jyD5.mjs").then((t) => t.default),
|
|
234
|
+
ve: () => import("../chunks/ve-R8UkJHAj.mjs").then((t) => t.default),
|
|
235
|
+
vg: () => import("../chunks/vg-BLSugSwb.mjs").then((t) => t.default),
|
|
236
|
+
vi: () => import("../chunks/vi-DSyJsPSD.mjs").then((t) => t.default),
|
|
237
|
+
vn: () => import("../chunks/vn-BwGpRkWs.mjs").then((t) => t.default),
|
|
238
|
+
vu: () => import("../chunks/vu-aFyzktTY.mjs").then((t) => t.default),
|
|
239
|
+
wf: () => import("../chunks/wf-Ca9RrMIP.mjs").then((t) => t.default),
|
|
240
|
+
ws: () => import("../chunks/ws-DphODgja.mjs").then((t) => t.default),
|
|
241
|
+
xk: () => import("../chunks/xk-sugAykhS.mjs").then((t) => t.default),
|
|
242
|
+
ye: () => import("../chunks/ye-D2MZq-93.mjs").then((t) => t.default),
|
|
243
|
+
yt: () => import("../chunks/yt-tAecYEDU.mjs").then((t) => t.default),
|
|
244
|
+
za: () => import("../chunks/za-DadXcfMa.mjs").then((t) => t.default),
|
|
245
|
+
zm: () => import("../chunks/zm--rp7ufAJ.mjs").then((t) => t.default),
|
|
246
|
+
zw: () => import("../chunks/zw-BG5nNe2I.mjs").then((t) => t.default)
|
|
247
|
+
}, n = /* @__PURE__ */ new Map();
|
|
248
|
+
function o(t) {
|
|
249
|
+
return t in r;
|
|
250
|
+
}
|
|
251
|
+
function i(t) {
|
|
252
|
+
const e = t.trim().toLowerCase();
|
|
253
|
+
if (!o(e)) return Promise.resolve(void 0);
|
|
254
|
+
const m = n.get(e);
|
|
255
|
+
if (m) return m;
|
|
256
|
+
const a = r[e]().catch(() => {
|
|
257
|
+
n.delete(e);
|
|
258
|
+
});
|
|
259
|
+
return n.set(e, a), a;
|
|
260
|
+
}
|
|
261
|
+
export {
|
|
262
|
+
p as loadAllFlags,
|
|
263
|
+
i as loadFlag
|
|
264
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Every flag this package ships, keyed by lowercase ISO 3166-1 alpha-2 code.
|
|
3
|
+
*
|
|
4
|
+
* Indexed by plain `string` on purpose, matching `loadFlag`: a caller looking a
|
|
5
|
+
* country up at runtime has a string, and a code this package does not ship
|
|
6
|
+
* reads as `undefined` rather than needing a cast at every call site.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlagMap {
|
|
9
|
+
readonly [code: string]: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Load the whole flag corpus as one lazy chunk (~43 KB gzip, one request).
|
|
13
|
+
*
|
|
14
|
+
* This is the loader for anything that displays *many* flags at once — a country
|
|
15
|
+
* picker, a locale list — and the reason it exists is measured: fetching the same
|
|
16
|
+
* 244 flags as individual `loadFlag()` chunks takes **3.2 s** to complete over
|
|
17
|
+
* HTTP/1.1 at 50 ms RTT (1.9 s at 20 ms, 0.44 s over HTTP/2) against **0.2 s**
|
|
18
|
+
* for this one, and costs 90 KB gzip plus ~50 KB of response headers against
|
|
19
|
+
* 43 KB. Separate compression is the bulk of it: the corpus gzips to 43 KB
|
|
20
|
+
* together and 90 KB apart.
|
|
21
|
+
*
|
|
22
|
+
* Prefer {@link loadFlag} only when a handful of specific flags is genuinely all
|
|
23
|
+
* that will ever be shown — that pays ~350 B gzip per flag instead of 43 KB.
|
|
24
|
+
* The two do not share a cache: calling both fetches the flag twice (a few
|
|
25
|
+
* hundred bytes), which is the price of keeping either one droppable by a
|
|
26
|
+
* bundler.
|
|
27
|
+
*
|
|
28
|
+
* Never rejects. Repeat calls share one fetch; a failed load resolves to an
|
|
29
|
+
* empty map and is retried on the next call, so `map[code]` is `undefined`
|
|
30
|
+
* exactly as an unknown code would be.
|
|
31
|
+
*/
|
|
32
|
+
export declare function loadAllFlags(): Promise<FlagMap>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CountryCode } from './flag-loaders.generated';
|
|
2
|
+
/**
|
|
3
|
+
* Every flag, inlined. Reached only through `loadAllFlags()`, so this whole
|
|
4
|
+
* module is one lazy chunk — see tools/scripts/build-flag-loaders.mjs.
|
|
5
|
+
*/
|
|
6
|
+
export declare const allFlags: Readonly<Record<CountryCode, string>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** ISO 3166-1 alpha-2 code (lowercase) of every flag this package ships. */
|
|
2
|
+
export type CountryCode = 'ac' | 'ad' | 'ae' | 'af' | 'ag' | 'ai' | 'al' | 'am' | 'ao' | 'ar' | 'as' | 'at' | 'au' | 'aw' | 'ax' | 'az' | 'ba' | 'bb' | 'bd' | 'be' | 'bf' | 'bg' | 'bh' | 'bi' | 'bj' | 'bl' | 'bm' | 'bn' | 'bo' | 'bq' | 'br' | 'bs' | 'bt' | 'bw' | 'by' | 'bz' | 'ca' | 'cc' | 'cd' | 'cf' | 'cg' | 'ch' | 'ci' | 'ck' | 'cl' | 'cm' | 'cn' | 'co' | 'cr' | 'cu' | 'cv' | 'cw' | 'cx' | 'cy' | 'cz' | 'de' | 'dj' | 'dk' | 'dm' | 'do' | 'dz' | 'ec' | 'ee' | 'eg' | 'eh' | 'er' | 'es' | 'et' | 'fi' | 'fj' | 'fk' | 'fm' | 'fo' | 'fr' | 'ga' | 'gb' | 'gd' | 'ge' | 'gf' | 'gg' | 'gh' | 'gi' | 'gl' | 'gm' | 'gn' | 'gp' | 'gq' | 'gr' | 'gt' | 'gu' | 'gw' | 'gy' | 'hk' | 'hn' | 'hr' | 'ht' | 'hu' | 'id' | 'ie' | 'il' | 'im' | 'in' | 'io' | 'iq' | 'ir' | 'is' | 'it' | 'je' | 'jm' | 'jo' | 'jp' | 'ke' | 'kg' | 'kh' | 'ki' | 'km' | 'kn' | 'kp' | 'kr' | 'kw' | 'ky' | 'kz' | 'la' | 'lb' | 'lc' | 'li' | 'lk' | 'lr' | 'ls' | 'lt' | 'lu' | 'lv' | 'ly' | 'ma' | 'mc' | 'md' | 'me' | 'mf' | 'mg' | 'mh' | 'mk' | 'ml' | 'mm' | 'mn' | 'mo' | 'mp' | 'mq' | 'mr' | 'ms' | 'mt' | 'mu' | 'mv' | 'mw' | 'mx' | 'my' | 'mz' | 'na' | 'nc' | 'ne' | 'nf' | 'ng' | 'ni' | 'nl' | 'no' | 'np' | 'nr' | 'nu' | 'nz' | 'om' | 'pa' | 'pe' | 'pf' | 'pg' | 'ph' | 'pk' | 'pl' | 'pm' | 'pr' | 'ps' | 'pt' | 'pw' | 'py' | 'qa' | 're' | 'ro' | 'rs' | 'ru' | 'rw' | 'sa' | 'sb' | 'sc' | 'sd' | 'se' | 'sg' | 'sh' | 'si' | 'sj' | 'sk' | 'sl' | 'sm' | 'sn' | 'so' | 'sr' | 'ss' | 'st' | 'sv' | 'sx' | 'sy' | 'sz' | 'tc' | 'td' | 'tg' | 'th' | 'tj' | 'tk' | 'tl' | 'tm' | 'tn' | 'to' | 'tr' | 'tt' | 'tv' | 'tw' | 'tz' | 'ua' | 'ug' | 'us' | 'uy' | 'uz' | 'va' | 'vc' | 've' | 'vg' | 'vi' | 'vn' | 'vu' | 'wf' | 'ws' | 'xk' | 'ye' | 'yt' | 'za' | 'zm' | 'zw';
|
|
3
|
+
/**
|
|
4
|
+
* One lazy loader per flag. Each import is a static literal on purpose — see
|
|
5
|
+
* tools/scripts/build-flag-loaders.mjs.
|
|
6
|
+
*/
|
|
7
|
+
export declare const flagLoaders: Record<CountryCode, () => Promise<string>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Load the 3x2 SVG markup for ONE ISO 3166-1 alpha-2 country code, as its own
|
|
3
|
+
* ~350 B gzip chunk.
|
|
4
|
+
*
|
|
5
|
+
* For more than a handful of flags use {@link loadAllFlags} instead: 244 of
|
|
6
|
+
* these chunks measured 3.2 s to land over HTTP/1.1 at 50 ms RTT and 90 KB gzip,
|
|
7
|
+
* against 0.2 s and 43 KB for the single bundle.
|
|
8
|
+
*
|
|
9
|
+
* Case-insensitive. Never rejects: an unknown code — and a chunk that fails to
|
|
10
|
+
* load — resolve to `undefined`, so callers render their placeholder and move
|
|
11
|
+
* on instead of guarding every call.
|
|
12
|
+
*/
|
|
13
|
+
export declare function loadFlag(code: string): Promise<string | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** Bootstrap's input-group sizes. `md` is the default and needs no attribute. */
|
|
3
|
+
export type MpInputGroupSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
/**
|
|
5
|
+
* `<mp-input-group>` — joins its children into one visually continuous control,
|
|
6
|
+
* the way Bootstrap's `.input-group` does, but for slotted children including
|
|
7
|
+
* `mp-*` controls that keep their own shadow root.
|
|
8
|
+
*
|
|
9
|
+
* ```html
|
|
10
|
+
* <mp-input-group>
|
|
11
|
+
* <mp-select></mp-select>
|
|
12
|
+
* <span class="addon">+32</span>
|
|
13
|
+
* <input type="tel" class="form-control" />
|
|
14
|
+
* </mp-input-group>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* This is the single home of Bootstrap's input-group styling in the WC layer.
|
|
18
|
+
* Two consequences of the shadow boundary a caller should know (measured in the
|
|
19
|
+
* phone-input spikes; see `input-group.styles.scss`):
|
|
20
|
+
*
|
|
21
|
+
* 1. **The group is authoritative about corners and overlap.** Its positional
|
|
22
|
+
* rules are `!important`, because a normal declaration would lose to the
|
|
23
|
+
* page's own control styling. A child cannot keep a rounded inner corner by
|
|
24
|
+
* force; reorder it or leave it out of the group instead.
|
|
25
|
+
* 2. **`mp-*` children participate through an inherited contract, automatically.**
|
|
26
|
+
* No rule from here can reach inside another control's shadow root, so the
|
|
27
|
+
* group sets `--mp-group-radius-start`/`-end` on the child and the shared
|
|
28
|
+
* `_styles` box sheets (`form-select`, `form-control`) consume them. Any
|
|
29
|
+
* control built on those sheets pairs its corners with no opt-in; light-DOM
|
|
30
|
+
* children need no cooperation at all.
|
|
31
|
+
*
|
|
32
|
+
* Tier: JS-only. With scripts off this element does not upgrade and its children
|
|
33
|
+
* render unjoined but fully usable — the correct degradation for what is purely
|
|
34
|
+
* a visual grouping.
|
|
35
|
+
*/
|
|
36
|
+
export declare class MpInputGroup extends LitElement {
|
|
37
|
+
#private;
|
|
38
|
+
static styles: import('lit').CSSResult;
|
|
39
|
+
/**
|
|
40
|
+
* Deliberately NOT `delegatesFocus`. Measured in spike S5: it changes neither
|
|
41
|
+
* `focus()` behaviour nor tab order here, and it would impose focus semantics
|
|
42
|
+
* on every consumer of a generic container.
|
|
43
|
+
*/
|
|
44
|
+
static get observedAttributes(): string[];
|
|
45
|
+
/**
|
|
46
|
+
* Bootstrap sizing. Sizes light-DOM children from the group's own stylesheet
|
|
47
|
+
* and is **mirrored onto `mp-*` children as their `size` attribute**, so each
|
|
48
|
+
* control sizes itself through the API it already has instead of the group
|
|
49
|
+
* inventing a second one.
|
|
50
|
+
*/
|
|
51
|
+
get size(): MpInputGroupSize;
|
|
52
|
+
set size(value: MpInputGroupSize);
|
|
53
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
54
|
+
connectedCallback(): void;
|
|
55
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
56
|
+
}
|
|
57
|
+
declare global {
|
|
58
|
+
interface HTMLElementTagNameMap {
|
|
59
|
+
'mp-input-group': MpInputGroup;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/mp-input-group';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { inputGroupStyles } from './input-group.styles';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Framework-agnostic Lit web components for the @mintplayer/bootstrap design system. Consumed by @mintplayer/ng-bootstrap, @mintplayer/react-bootstrap, and @mintplayer/vue-bootstrap.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -77,6 +77,14 @@
|
|
|
77
77
|
"types": "./file-manager/index.d.ts",
|
|
78
78
|
"import": "./file-manager/index.mjs"
|
|
79
79
|
},
|
|
80
|
+
"./flags": {
|
|
81
|
+
"types": "./flags/index.d.ts",
|
|
82
|
+
"import": "./flags/index.mjs"
|
|
83
|
+
},
|
|
84
|
+
"./input-group": {
|
|
85
|
+
"types": "./input-group/index.d.ts",
|
|
86
|
+
"import": "./input-group/index.mjs"
|
|
87
|
+
},
|
|
80
88
|
"./multi-range": {
|
|
81
89
|
"types": "./multi-range/index.d.ts",
|
|
82
90
|
"import": "./multi-range/index.mjs"
|
|
@@ -97,6 +105,14 @@
|
|
|
97
105
|
"types": "./pagination/index.d.ts",
|
|
98
106
|
"import": "./pagination/index.mjs"
|
|
99
107
|
},
|
|
108
|
+
"./phone-core": {
|
|
109
|
+
"types": "./phone-core/index.d.ts",
|
|
110
|
+
"import": "./phone-core/index.mjs"
|
|
111
|
+
},
|
|
112
|
+
"./phone-input": {
|
|
113
|
+
"types": "./phone-input/index.d.ts",
|
|
114
|
+
"import": "./phone-input/index.mjs"
|
|
115
|
+
},
|
|
100
116
|
"./query-builder": {
|
|
101
117
|
"types": "./query-builder/index.d.ts",
|
|
102
118
|
"import": "./query-builder/index.mjs"
|
|
@@ -185,6 +201,8 @@
|
|
|
185
201
|
}
|
|
186
202
|
},
|
|
187
203
|
"dependencies": {
|
|
188
|
-
"tslib": "^2.3.0"
|
|
204
|
+
"tslib": "^2.3.0",
|
|
205
|
+
"intl-tel-input": "^29.1.2",
|
|
206
|
+
"libphonenumber-js": "^1.13.10"
|
|
189
207
|
}
|
|
190
208
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# `@mintplayer/web-components/phone-core`
|
|
2
|
+
|
|
3
|
+
Country/dial-code data and per-country phone-number rules for `mp-phone-input`.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { phoneCountries, loadPhoneRules } from '@mintplayer/web-components/phone-core';
|
|
7
|
+
|
|
8
|
+
phoneCountries; // eager, ~1.8 KB gzip — the picker list and dial codes
|
|
9
|
+
const rules = await loadPhoneRules('be'); // lazy, ~0.3 KB gzip for this calling code
|
|
10
|
+
rules?.format('470123456'); // '470 12 34 56'
|
|
11
|
+
rules?.toE164('0470123456'); // '+32470123456'
|
|
12
|
+
rules?.isValid('47012345'); // false — one digit short
|
|
13
|
+
rules?.type('470123456'); // 'MOBILE'
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`src/metadata/cc-*.generated.ts` and `src/metadata-loaders.generated.ts` are
|
|
17
|
+
gitignored build artifacts produced by the `codegen-wc` Nx target
|
|
18
|
+
(`tools/scripts/build-phone-metadata.mjs`), which slices `libphonenumber-js`'s own
|
|
19
|
+
`metadata.max.json` into one module per **calling code**. A consumer therefore
|
|
20
|
+
downloads full-precision validation and formatting rules for the block the
|
|
21
|
+
selected country belongs to instead of all 244 countries' rules at once — the
|
|
22
|
+
country is always known before any rule is needed, because resolving a `+XX`
|
|
23
|
+
prefix is `phoneCountries`' job, not libphonenumber's.
|
|
24
|
+
|
|
25
|
+
The calling code, not the country, is the slice unit because a number typed under
|
|
26
|
+
one member of a shared block is often a sibling's number (a Toronto number on a
|
|
27
|
+
form set to the United States), and libphonenumber validates it against every
|
|
28
|
+
member. Formats for a shared block are also stored only in its "main" country.
|
|
29
|
+
|
|
30
|
+
## License of the redistributed metadata
|
|
31
|
+
|
|
32
|
+
The metadata chunks are a mechanical subset of
|
|
33
|
+
[`libphonenumber-js`](https://www.npmjs.com/package/libphonenumber-js)'s
|
|
34
|
+
`metadata.max.json`, which is generated from Google's
|
|
35
|
+
[`PhoneNumberMetadata.xml`](https://github.com/google/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml)
|
|
36
|
+
and distributed under the Apache License 2.0:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Copyright (C) 2011 The Libphonenumber Authors
|
|
40
|
+
|
|
41
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
42
|
+
you may not use this file except in compliance with the License.
|
|
43
|
+
You may obtain a copy of the License at
|
|
44
|
+
|
|
45
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
46
|
+
|
|
47
|
+
Unless required by applicable law or agreed to in writing, software
|
|
48
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
49
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
50
|
+
See the License for the specific language governing permissions and
|
|
51
|
+
limitations under the License.
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The `libphonenumber-js` code that reads the metadata stays an ordinary dependency
|
|
55
|
+
(MIT) and is not redistributed here. The country/dial-code table comes from
|
|
56
|
+
[`intl-tel-input`](https://www.npmjs.com/package/intl-tel-input) (MIT), also an
|
|
57
|
+
ordinary dependency.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|