@mintplayer/web-components 2.7.0 → 2.9.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/calendar/index.mjs +1 -1
- package/calendar/src/mp-calendar.element.d.ts +19 -1
- 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/{id-BstjfRrz.mjs → id-DNZVAnGC.mjs} +267 -162
- 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-calendar.element-u6uS31_j.mjs → mp-calendar.element-CJ8-t-Zn.mjs} +71 -39
- package/chunks/{mp-datetime-picker.element-MPTRHwyc.mjs → mp-datetime-picker.element-D1CiLbHm.mjs} +1 -1
- package/chunks/mp-input-group-Bf9a9Xut.mjs +193 -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/datepicker/index.mjs +1 -1
- package/datetime-picker/index.mjs +1 -1
- 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 +514 -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 +1507 -1086
- package/scheduler/src/components/mp-scheduler.d.ts +186 -1
- package/scheduler/src/input/input-handler.d.ts +22 -0
- package/scheduler/src/views/base-view.d.ts +30 -1
- package/scheduler/src/views/index.d.ts +1 -1
- package/scheduler/src/views/timeline-view.d.ts +39 -15
- package/scheduler/src/views/year-view.d.ts +7 -0
- package/scheduler-core/index.mjs +42 -40
- package/scheduler-core/src/models/messages.d.ts +29 -0
- package/scheduler-core/src/models/options.d.ts +24 -7
- package/scheduler-core/src/services/date.service.d.ts +64 -10
- package/scheduler-core/src/utils/color.d.ts +19 -0
- 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,55 @@
|
|
|
1
|
+
import { NumberType, ValidatePhoneNumberLengthResult } from 'libphonenumber-js/core';
|
|
2
|
+
import { PhoneMetadataCountry } from './metadata-loaders.generated';
|
|
3
|
+
/**
|
|
4
|
+
* Everything a phone input needs to know about one country's numbering plan,
|
|
5
|
+
* with libphonenumber's trailing `metadata` argument and its two counter-intuitive
|
|
6
|
+
* calling conventions already absorbed.
|
|
7
|
+
*
|
|
8
|
+
* Deliberately not a re-export of `libphonenumber-js`: a caller that reaches the
|
|
9
|
+
* module directly re-learns both traps this facade exists to hide — that national
|
|
10
|
+
* formatting has to be routed through the international form (`format()`), and
|
|
11
|
+
* that a trunk prefix cannot be stripped by string comparison (`toE164()`).
|
|
12
|
+
*
|
|
13
|
+
* Every method takes the *national significant number* as bare digits — what the
|
|
14
|
+
* user typed, without the dial code, which is static adjacent text in the UI.
|
|
15
|
+
*/
|
|
16
|
+
export interface PhoneRules {
|
|
17
|
+
/** Lowercase ISO 3166-1 alpha-2 code these rules describe. */
|
|
18
|
+
readonly country: PhoneMetadataCountry;
|
|
19
|
+
/** Calling code digits, without `+`, read from the metadata itself. */
|
|
20
|
+
readonly dialCode: string;
|
|
21
|
+
/**
|
|
22
|
+
* As-you-type formatting of the national part: `'470123456'` → `'470 12 34 56'`.
|
|
23
|
+
*
|
|
24
|
+
* Routed through the international form because libphonenumber's national
|
|
25
|
+
* patterns are written against the number *with* its trunk prefix, so feeding a
|
|
26
|
+
* bare national number to `AsYouType(country)` formats nothing at all for BE,
|
|
27
|
+
* NL, DE, FR, GB and most other trunk-prefix countries.
|
|
28
|
+
*/
|
|
29
|
+
format(nationalDigits: string): string;
|
|
30
|
+
/** E.164 (`'+32470123456'`), or `null` for empty input. */
|
|
31
|
+
toE164(nationalDigits: string): string | null;
|
|
32
|
+
isValid(nationalDigits: string): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Why the length is wrong (`'TOO_SHORT'`, `'TOO_LONG'`, …), or `undefined` when
|
|
35
|
+
* it is plausible. This is the guard rail that stops as-you-type formatting from
|
|
36
|
+
* de-formatting once the number passes its last legal length.
|
|
37
|
+
*/
|
|
38
|
+
lengthProblem(nationalDigits: string): ValidatePhoneNumberLengthResult | undefined;
|
|
39
|
+
/** `'MOBILE'`, `'FIXED_LINE'`, … or `undefined` when the number is not valid. */
|
|
40
|
+
type(nationalDigits: string): NumberType;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Fetch the numbering-plan rules for one country.
|
|
44
|
+
*
|
|
45
|
+
* Case-insensitive. Never rejects: an unknown code — and a chunk that fails to
|
|
46
|
+
* load — resolve to `undefined`, so a caller falls back to structural checks
|
|
47
|
+
* (digit shape, `required`) instead of guarding every call. Resolved rules are
|
|
48
|
+
* cached per country for the page's lifetime; a failed load is evicted so a
|
|
49
|
+
* transient network error does not poison that country permanently.
|
|
50
|
+
*
|
|
51
|
+
* Rules are needed *after* a country is known, never to find one: resolving a
|
|
52
|
+
* pasted `+XX…` and splitting a restored E.164 are the eager country table's job
|
|
53
|
+
* (`countries.ts`), which is why one calling code's metadata is always enough.
|
|
54
|
+
*/
|
|
55
|
+
export declare function loadPhoneRules(country: string): Promise<PhoneRules | undefined>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
import { unsafeCSS as y, LitElement as p, nothing as h, html as v } from "lit";
|
|
2
|
+
import { createRef as f, ref as m } from "lit/directives/ref.js";
|
|
3
|
+
import { unsafeHTML as C } from "lit/directives/unsafe-html.js";
|
|
4
|
+
import "../chunks/mp-input-group-Bf9a9Xut.mjs";
|
|
5
|
+
import "../chunks/mp-select-lHP00OBH.mjs";
|
|
6
|
+
import { c as g, b as $, l as k } from "../chunks/validation-ChktfuxI.mjs";
|
|
7
|
+
import { l as R } from "../chunks/all-flags-BtYcfgjy.mjs";
|
|
8
|
+
import { H as q } from "../chunks/host-aria-WSGs7SPQ.mjs";
|
|
9
|
+
import { a as L, e as w } from "../chunks/error-text-B45eDAt1.mjs";
|
|
10
|
+
import { F as U } from "../chunks/form-associated-BR-fUvZ1.mjs";
|
|
11
|
+
import { f as A } from "../chunks/form-control.styles-BOTBdmvg.mjs";
|
|
12
|
+
import { i as S } from "../chunks/invalid-feedback.styles-he0JYrJm.mjs";
|
|
13
|
+
const E = y(`:host {
|
|
14
|
+
display: block;
|
|
15
|
+
container-type: inline-size;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([hidden]) {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
mp-select {
|
|
23
|
+
flex: 0 0 auto !important;
|
|
24
|
+
width: auto !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@supports not (appearance: base-select) {
|
|
28
|
+
mp-select {
|
|
29
|
+
width: 5.5rem !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.flag {
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
margin-inline-end: 0.375rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.flag svg {
|
|
39
|
+
width: 1.25rem;
|
|
40
|
+
height: auto;
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.flag:empty {
|
|
45
|
+
min-width: 1.25rem;
|
|
46
|
+
min-height: 0.833rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
mp-select[rich] ~ .addon .flag {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.dial-code {
|
|
54
|
+
user-select: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@container (max-width: 22rem) {
|
|
58
|
+
mp-select {
|
|
59
|
+
flex: 1 1 0 !important;
|
|
60
|
+
width: auto !important;
|
|
61
|
+
min-width: 0 !important;
|
|
62
|
+
}
|
|
63
|
+
mp-select {
|
|
64
|
+
--mp-group-radius-top-start: var(--bs-border-radius);
|
|
65
|
+
--mp-group-radius-top-end: 0;
|
|
66
|
+
--mp-group-radius-bottom-start: 0;
|
|
67
|
+
--mp-group-radius-bottom-end: 0;
|
|
68
|
+
}
|
|
69
|
+
}`), c = /\d/;
|
|
70
|
+
function _(a, t) {
|
|
71
|
+
let e = 0;
|
|
72
|
+
const s = Math.min(t, a.length);
|
|
73
|
+
for (let i = 0; i < s; i++) c.test(a[i]) && e++;
|
|
74
|
+
return e;
|
|
75
|
+
}
|
|
76
|
+
function O(a, t) {
|
|
77
|
+
if (t <= 0) return 0;
|
|
78
|
+
let e = 0;
|
|
79
|
+
for (let s = 0; s < a.length; s++)
|
|
80
|
+
if (c.test(a[s]) && (e++, e === t))
|
|
81
|
+
return s + 1;
|
|
82
|
+
return a.length;
|
|
83
|
+
}
|
|
84
|
+
function x(a, t, e) {
|
|
85
|
+
let s = e === -1 ? t - 1 : t;
|
|
86
|
+
for (; s >= 0 && s < a.length; ) {
|
|
87
|
+
if (c.test(a[s])) return s;
|
|
88
|
+
s += e;
|
|
89
|
+
}
|
|
90
|
+
return -1;
|
|
91
|
+
}
|
|
92
|
+
function n(a) {
|
|
93
|
+
return a.replace(/\D/g, "");
|
|
94
|
+
}
|
|
95
|
+
let b = 0;
|
|
96
|
+
const T = 352, I = (a) => a.replace(/[&<>"']/g, (t) => `&#${t.charCodeAt(0)};`);
|
|
97
|
+
class d extends U(p) {
|
|
98
|
+
constructor() {
|
|
99
|
+
super(...arguments), this._country = null, this._digits = "", this._rulesWanted = !1, this._locale = null, this._preferred = [], this._only = null, this._placeholder = null, this._autocomplete = "tel-national", this._inputLabel = null, this._countryLabel = null, this._errorText = null, this._errorId = `mp-phone-input-${++b}-error`, this._dialId = `mp-phone-input-${b}-dial`, this._list = [], this._listKey = "", this._flagsRequested = !1, this._composing = !1, this._preEdit = null, this._inputRef = f(), this._selectRef = f(), this.hostAria = new q(this, {
|
|
100
|
+
referenceTarget: () => this._inputRef.value ?? null,
|
|
101
|
+
describedByExtras: () => L(this.renderRoot)
|
|
102
|
+
}), this.renderCountryOption = (t) => {
|
|
103
|
+
const e = this.countryList().find((i) => i.iso2 === t.value);
|
|
104
|
+
return e ? `<span class="flag-box" aria-hidden="true">${this._flags?.[e.iso2] ?? ""}</span><span class="rich-label" data-list-only>${I(e.name)}</span><span data-list-only>+${e.dialCode}</span><span data-closed-only>${e.iso2.toUpperCase()}</span>` : void 0;
|
|
105
|
+
}, this.onCountryPicked = (t) => {
|
|
106
|
+
t.stopPropagation();
|
|
107
|
+
const e = t.detail.value;
|
|
108
|
+
e && (this.#t(e, { fromUser: !0 }), this.#e(), this._inputRef.value?.focus(), this.#r());
|
|
109
|
+
}, this.onFocus = () => {
|
|
110
|
+
this.#e();
|
|
111
|
+
}, this.onCompositionStart = () => {
|
|
112
|
+
this._composing = !0;
|
|
113
|
+
}, this.onCompositionEnd = () => {
|
|
114
|
+
this._composing = !1;
|
|
115
|
+
const t = this._inputRef.value;
|
|
116
|
+
t && this.#l(t, t.value, t.selectionStart ?? t.value.length);
|
|
117
|
+
}, this.onBeforeInput = () => {
|
|
118
|
+
const t = this._inputRef.value;
|
|
119
|
+
t && (this._preEdit = { value: t.value, start: t.selectionStart ?? 0 });
|
|
120
|
+
}, this.onKeydown = (t) => {
|
|
121
|
+
if (t.key !== "Backspace" && t.key !== "Delete") return;
|
|
122
|
+
const e = this._inputRef.value;
|
|
123
|
+
if (!e || e.selectionStart !== e.selectionEnd) return;
|
|
124
|
+
const s = e.selectionStart ?? 0, i = t.key === "Backspace" ? -1 : 1, o = i === -1 ? e.value[s - 1] : e.value[s];
|
|
125
|
+
if (o === void 0 || /\d/.test(o)) return;
|
|
126
|
+
t.preventDefault();
|
|
127
|
+
const r = x(e.value, s, i);
|
|
128
|
+
if (r === -1) return;
|
|
129
|
+
const l = _(e.value, r), u = n(e.value);
|
|
130
|
+
this.#i(e, u.slice(0, l) + u.slice(l + 1), l);
|
|
131
|
+
}, this.onInput = () => {
|
|
132
|
+
const t = this._inputRef.value;
|
|
133
|
+
!t || this._composing || this.#l(t, t.value, t.selectionStart ?? t.value.length);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
static {
|
|
137
|
+
this.styles = [A, S, E];
|
|
138
|
+
}
|
|
139
|
+
static {
|
|
140
|
+
this.shadowRootOptions = {
|
|
141
|
+
...p.shadowRootOptions,
|
|
142
|
+
delegatesFocus: !0
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
static get observedAttributes() {
|
|
146
|
+
return [
|
|
147
|
+
...super.observedAttributes ?? [],
|
|
148
|
+
"country",
|
|
149
|
+
"value",
|
|
150
|
+
"default-country",
|
|
151
|
+
"locale",
|
|
152
|
+
"preferred-countries",
|
|
153
|
+
"allowed-countries",
|
|
154
|
+
"disabled",
|
|
155
|
+
"required",
|
|
156
|
+
"invalid",
|
|
157
|
+
"placeholder",
|
|
158
|
+
"autocomplete",
|
|
159
|
+
"input-label",
|
|
160
|
+
"country-label",
|
|
161
|
+
"error-text",
|
|
162
|
+
"aria-label",
|
|
163
|
+
"aria-labelledby",
|
|
164
|
+
"aria-describedby"
|
|
165
|
+
];
|
|
166
|
+
}
|
|
167
|
+
#s;
|
|
168
|
+
// ---- public surface -------------------------------------------------------
|
|
169
|
+
/** Selected ISO 3166-1 alpha-2 country, lowercase. */
|
|
170
|
+
get country() {
|
|
171
|
+
return this._country ?? this.getAttribute("default-country")?.toLowerCase() ?? this.countryList()[0]?.iso2 ?? "";
|
|
172
|
+
}
|
|
173
|
+
set country(t) {
|
|
174
|
+
this.#t(t?.trim().toLowerCase() ?? "", { fromUser: !1 });
|
|
175
|
+
}
|
|
176
|
+
/** E.164, derived from country + digits; null while empty. */
|
|
177
|
+
get value() {
|
|
178
|
+
return this._digits ? this._rules?.toE164(this._digits) ?? `+${this.dialCode}${this._digits}` : null;
|
|
179
|
+
}
|
|
180
|
+
set value(t) {
|
|
181
|
+
const e = t?.trim() ?? "";
|
|
182
|
+
if (!e) {
|
|
183
|
+
this._digits = "", this.requestUpdate();
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
const s = g(e, this._only ?? void 0);
|
|
187
|
+
s ? (this._digits = s.nationalNumber, this.#t(s.country.iso2, { fromUser: !1 })) : this._digits = n(e), this._digits && this.#e(), this.requestUpdate();
|
|
188
|
+
}
|
|
189
|
+
get dialCode() {
|
|
190
|
+
return this.countryList().find((t) => t.iso2 === this.country)?.dialCode ?? "";
|
|
191
|
+
}
|
|
192
|
+
/** The national digits as typed — the durable state (PRD D17). */
|
|
193
|
+
get nationalNumber() {
|
|
194
|
+
return this._digits;
|
|
195
|
+
}
|
|
196
|
+
/** `undefined` until the selected country's rules have loaded. */
|
|
197
|
+
get valid() {
|
|
198
|
+
return this._rules && this._rules.country === this.country ? this._rules.isValid(this._digits) : void 0;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Property mirrors for the attribute-only options.
|
|
202
|
+
*
|
|
203
|
+
* Not decoration: `@lit/react` derives a React component's prop types from the
|
|
204
|
+
* element's PROPERTIES, so an option with no accessor is unreachable from JSX
|
|
205
|
+
* except as an untyped attribute — and array-valued options (`preferred`,
|
|
206
|
+
* `allowed`) cannot be expressed as attributes from JS at all without the
|
|
207
|
+
* caller joining them by hand. Setters take an array or a comma-separated
|
|
208
|
+
* string; attributes stay the source of truth for HTML/SSR consumers.
|
|
209
|
+
*/
|
|
210
|
+
get defaultCountry() {
|
|
211
|
+
return this.getAttribute("default-country");
|
|
212
|
+
}
|
|
213
|
+
set defaultCountry(t) {
|
|
214
|
+
t == null ? this.removeAttribute("default-country") : this.setAttribute("default-country", t.trim().toLowerCase());
|
|
215
|
+
}
|
|
216
|
+
get locale() {
|
|
217
|
+
return this._locale;
|
|
218
|
+
}
|
|
219
|
+
set locale(t) {
|
|
220
|
+
this._locale !== (t ?? null) && (this._locale = t ?? null, this.requestUpdate());
|
|
221
|
+
}
|
|
222
|
+
get preferredCountries() {
|
|
223
|
+
return [...this._preferred];
|
|
224
|
+
}
|
|
225
|
+
set preferredCountries(t) {
|
|
226
|
+
this._preferred = d.#o(t), this.requestUpdate();
|
|
227
|
+
}
|
|
228
|
+
get allowedCountries() {
|
|
229
|
+
return this._only ? [...this._only] : null;
|
|
230
|
+
}
|
|
231
|
+
set allowedCountries(t) {
|
|
232
|
+
const e = d.#o(t);
|
|
233
|
+
this._only = e.length ? e : null, this.requestUpdate();
|
|
234
|
+
}
|
|
235
|
+
get placeholder() {
|
|
236
|
+
return this._placeholder;
|
|
237
|
+
}
|
|
238
|
+
set placeholder(t) {
|
|
239
|
+
this._placeholder = t ?? null, this.requestUpdate();
|
|
240
|
+
}
|
|
241
|
+
get autocomplete() {
|
|
242
|
+
return this._autocomplete;
|
|
243
|
+
}
|
|
244
|
+
set autocomplete(t) {
|
|
245
|
+
this._autocomplete = t ?? "tel-national", this.requestUpdate();
|
|
246
|
+
}
|
|
247
|
+
get inputLabel() {
|
|
248
|
+
return this._inputLabel;
|
|
249
|
+
}
|
|
250
|
+
set inputLabel(t) {
|
|
251
|
+
this._inputLabel = t ?? null, this.requestUpdate();
|
|
252
|
+
}
|
|
253
|
+
get countryLabel() {
|
|
254
|
+
return this._countryLabel;
|
|
255
|
+
}
|
|
256
|
+
set countryLabel(t) {
|
|
257
|
+
this._countryLabel = t ?? null, this.requestUpdate();
|
|
258
|
+
}
|
|
259
|
+
get errorText() {
|
|
260
|
+
return this._errorText;
|
|
261
|
+
}
|
|
262
|
+
set errorText(t) {
|
|
263
|
+
this._errorText = t ?? null, this.requestUpdate();
|
|
264
|
+
}
|
|
265
|
+
static #o(t) {
|
|
266
|
+
return (typeof t == "string" ? t.split(",") : t ?? []).map((s) => s.trim().toLowerCase()).filter(Boolean);
|
|
267
|
+
}
|
|
268
|
+
get disabled() {
|
|
269
|
+
return this.effectiveDisabled;
|
|
270
|
+
}
|
|
271
|
+
set disabled(t) {
|
|
272
|
+
this.toggleAttribute("disabled", !!t);
|
|
273
|
+
}
|
|
274
|
+
attributeChangedCallback(t, e, s) {
|
|
275
|
+
switch (super.attributeChangedCallback(t, e, s), t) {
|
|
276
|
+
case "country":
|
|
277
|
+
s && this.#t(s.toLowerCase(), { fromUser: !1 });
|
|
278
|
+
break;
|
|
279
|
+
case "value":
|
|
280
|
+
this.value = s;
|
|
281
|
+
break;
|
|
282
|
+
case "locale":
|
|
283
|
+
this._locale = s, this.requestUpdate();
|
|
284
|
+
break;
|
|
285
|
+
case "preferred-countries":
|
|
286
|
+
this._preferred = (s ?? "").split(",").map((i) => i.trim().toLowerCase()).filter(Boolean), this.requestUpdate();
|
|
287
|
+
break;
|
|
288
|
+
// Named `allowed-countries`, not intl-tel-input's `onlyCountries`: Angular
|
|
289
|
+
// refuses to bind ANY attribute whose name starts with `on` (it parses as an
|
|
290
|
+
// event attribute — `on` + `ly-countries`), so `[attr.only-countries]` is a
|
|
291
|
+
// hard template error for every Angular consumer of this element.
|
|
292
|
+
case "allowed-countries":
|
|
293
|
+
this._only = s ? s.split(",").map((i) => i.trim().toLowerCase()).filter(Boolean) : null, this.requestUpdate();
|
|
294
|
+
break;
|
|
295
|
+
case "placeholder":
|
|
296
|
+
this._placeholder = s, this.requestUpdate();
|
|
297
|
+
break;
|
|
298
|
+
case "autocomplete":
|
|
299
|
+
this._autocomplete = s ?? "tel-national", this.requestUpdate();
|
|
300
|
+
break;
|
|
301
|
+
case "input-label":
|
|
302
|
+
this._inputLabel = s, this.requestUpdate();
|
|
303
|
+
break;
|
|
304
|
+
case "country-label":
|
|
305
|
+
this._countryLabel = s, this.requestUpdate();
|
|
306
|
+
break;
|
|
307
|
+
case "error-text":
|
|
308
|
+
this._errorText = s, this.requestUpdate();
|
|
309
|
+
break;
|
|
310
|
+
case "disabled":
|
|
311
|
+
case "required":
|
|
312
|
+
case "invalid":
|
|
313
|
+
case "default-country":
|
|
314
|
+
case "aria-label":
|
|
315
|
+
this.requestUpdate();
|
|
316
|
+
break;
|
|
317
|
+
case "aria-labelledby":
|
|
318
|
+
case "aria-describedby":
|
|
319
|
+
this.hostAria.syncReferences();
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
connectedCallback() {
|
|
324
|
+
super.connectedCallback(), this.#n(), this._digits && this.#e(), typeof ResizeObserver < "u" && (this.#s ??= new ResizeObserver((t) => {
|
|
325
|
+
const e = t[t.length - 1]?.contentRect.width ?? 0, s = e > 0 && e <= T;
|
|
326
|
+
this.renderRoot?.querySelector("mp-input-group")?.toggleAttribute("stacked", s);
|
|
327
|
+
}), this.#s.observe(this));
|
|
328
|
+
}
|
|
329
|
+
disconnectedCallback() {
|
|
330
|
+
super.disconnectedCallback(), this.#s?.disconnect(), this.#s = void 0;
|
|
331
|
+
}
|
|
332
|
+
// ---- rendering ------------------------------------------------------------
|
|
333
|
+
render() {
|
|
334
|
+
const t = this.country, e = this.dialCode, s = this.effectiveDisabled, i = this.hasAttribute("invalid"), o = w(this._errorId, this._errorText, i), r = typeof o.id == "string" ? `${this._dialId} ${o.id}` : this._dialId, l = this.getAttribute("aria-label") ?? this._inputLabel ?? "Phone number", u = this._flags?.[t];
|
|
335
|
+
return v`
|
|
336
|
+
<mp-input-group>
|
|
337
|
+
<mp-select
|
|
338
|
+
${m(this._selectRef)}
|
|
339
|
+
input-label=${this._countryLabel ?? "Country"}
|
|
340
|
+
?disabled=${s}
|
|
341
|
+
.options=${this.selectOptions()}
|
|
342
|
+
.optionRenderer=${this.renderCountryOption}
|
|
343
|
+
.value=${t}
|
|
344
|
+
@value-change=${this.onCountryPicked}
|
|
345
|
+
></mp-select>
|
|
346
|
+
<span class="addon" id=${this._dialId}>
|
|
347
|
+
<!-- Always rendered; the stylesheet hides it when the picker's own closed
|
|
348
|
+
face already shows a flag, using a sibling selector on the select's
|
|
349
|
+
reflected rich state. That state is NOT the same condition as the
|
|
350
|
+
base-select @supports query — rich mode also needs a renderer,
|
|
351
|
+
options mode and a plain dropdown — which is why keying the CSS off
|
|
352
|
+
@supports left a supporting engine with no flag anywhere whenever
|
|
353
|
+
rich was suppressed for another reason (PRD 12.2). -->
|
|
354
|
+
<span class="flag" aria-hidden="true">${u ? C(u) : h}</span>
|
|
355
|
+
<!-- dir=ltr is required, not cosmetic: the plus sign is bidi-neutral, so
|
|
356
|
+
in an RTL paragraph direction it reorders to the trailing position and
|
|
357
|
+
the dial code renders as 32+ (measured at any width, PRD 12.6). A
|
|
358
|
+
calling code is a left-to-right technical token in every script. -->
|
|
359
|
+
<span class="dial-code" dir="ltr">+${e}</span>
|
|
360
|
+
</span>
|
|
361
|
+
<input
|
|
362
|
+
${m(this._inputRef)}
|
|
363
|
+
type="tel"
|
|
364
|
+
class="form-control"
|
|
365
|
+
inputmode="tel"
|
|
366
|
+
autocomplete=${this._autocomplete}
|
|
367
|
+
placeholder=${this._placeholder ?? h}
|
|
368
|
+
?disabled=${s}
|
|
369
|
+
aria-label=${l}
|
|
370
|
+
aria-invalid=${i ? "true" : h}
|
|
371
|
+
aria-required=${this.hasAttribute("required") ? "true" : h}
|
|
372
|
+
aria-errormessage=${o.id}
|
|
373
|
+
aria-describedby=${r}
|
|
374
|
+
@beforeinput=${this.onBeforeInput}
|
|
375
|
+
@keydown=${this.onKeydown}
|
|
376
|
+
@input=${this.onInput}
|
|
377
|
+
@focus=${this.onFocus}
|
|
378
|
+
@compositionstart=${this.onCompositionStart}
|
|
379
|
+
@compositionend=${this.onCompositionEnd}
|
|
380
|
+
/>
|
|
381
|
+
</mp-input-group>
|
|
382
|
+
${o.node}
|
|
383
|
+
`;
|
|
384
|
+
}
|
|
385
|
+
updated() {
|
|
386
|
+
this.hostAria.syncReferences();
|
|
387
|
+
const t = this._inputRef.value;
|
|
388
|
+
if (t && !this._composing) {
|
|
389
|
+
const i = this.formatted(this._digits);
|
|
390
|
+
t.value !== i && (t.value = i);
|
|
391
|
+
}
|
|
392
|
+
this.syncFormValue();
|
|
393
|
+
const e = this.hasAttribute("required") && !this._digits, s = this.valid;
|
|
394
|
+
this.setFormValidity(
|
|
395
|
+
{ valueMissing: e, customError: s === !1 },
|
|
396
|
+
e ? "Please enter a phone number." : "Please enter a valid phone number."
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
selectOptions() {
|
|
400
|
+
return this.countryList().map((t) => ({
|
|
401
|
+
value: t.iso2,
|
|
402
|
+
// Name FIRST: native typeahead prefix-matches the option text, and
|
|
403
|
+
// ISO-first makes country names unreachable by typing (S2, all engines).
|
|
404
|
+
label: `${t.name} +${t.dialCode} (${t.iso2.toUpperCase()})`
|
|
405
|
+
}));
|
|
406
|
+
}
|
|
407
|
+
countryList() {
|
|
408
|
+
const t = `${this._locale ?? ""}|${this._preferred.join()}|${this._only?.join() ?? "*"}`;
|
|
409
|
+
return t !== this._listKey && (this._list = $({
|
|
410
|
+
locale: this._locale ?? void 0,
|
|
411
|
+
preferred: this._preferred,
|
|
412
|
+
only: this._only ?? void 0
|
|
413
|
+
}), this._listKey = t), this._list;
|
|
414
|
+
}
|
|
415
|
+
formatted(t) {
|
|
416
|
+
return this._rules && this._rules.country === this.country ? this._rules.format(t) : t;
|
|
417
|
+
}
|
|
418
|
+
// ---- country + rules ------------------------------------------------------
|
|
419
|
+
#t(t, { fromUser: e }) {
|
|
420
|
+
!t || t === this._country || (this._country = t, this.getAttribute("country") !== t && this.setAttribute("country", t), this._rules = this._rules?.country === t ? this._rules : void 0, this._rulesWanted && this.#a(t), this.#n(), e && this.dispatchEvent(
|
|
421
|
+
new CustomEvent("country-change", {
|
|
422
|
+
detail: { country: t, dialCode: this.dialCode },
|
|
423
|
+
bubbles: !0,
|
|
424
|
+
composed: !0
|
|
425
|
+
})
|
|
426
|
+
), this.requestUpdate());
|
|
427
|
+
}
|
|
428
|
+
#e() {
|
|
429
|
+
this._rulesWanted || (this._rulesWanted = !0, this.#a(this.country));
|
|
430
|
+
}
|
|
431
|
+
#a(t) {
|
|
432
|
+
k(t).then((e) => {
|
|
433
|
+
!e || this.country !== t || (this._rules = e, this.requestUpdate(), this.#r());
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Fetch the flag corpus, once per element, as early as the element knows it
|
|
438
|
+
* will draw a flag — which is at mount, since the addon shows the selected
|
|
439
|
+
* country's flag before any interaction.
|
|
440
|
+
*
|
|
441
|
+
* One chunk for all 244 (D4a): the picker needs every flag the moment it opens,
|
|
442
|
+
* so warming per-flag chunks made the selected flag queue behind up to 243
|
|
443
|
+
* siblings and the list fill in over 3.2 s on HTTP/1.1. Everything arrives in
|
|
444
|
+
* one resolution, so a single `requestUpdate()` renders the addon flag and all
|
|
445
|
+
* 244 options together — no partial-fill pass, and no re-render per flag.
|
|
446
|
+
*/
|
|
447
|
+
#n() {
|
|
448
|
+
this._flagsRequested || (this._flagsRequested = !0, R().then((t) => {
|
|
449
|
+
this._flags = t, this.requestUpdate();
|
|
450
|
+
}));
|
|
451
|
+
}
|
|
452
|
+
#l(t, e, s) {
|
|
453
|
+
const i = g(e, this._only ?? void 0);
|
|
454
|
+
if (i) {
|
|
455
|
+
i.dialCode !== this.dialCode && this.#t(i.country.iso2, { fromUser: !0 }), this.#e(), this.#i(t, i.nationalNumber, n(i.nationalNumber).length);
|
|
456
|
+
return;
|
|
457
|
+
}
|
|
458
|
+
const o = n(e), r = this._preEdit;
|
|
459
|
+
if (r && o === n(r.value) && e !== r.value) {
|
|
460
|
+
t.value = r.value, t.setSelectionRange(r.start, r.start);
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
if (r && this._rules && o.length === n(r.value).length + 1 && this._rules.lengthProblem(o) === "TOO_LONG" && this._rules.lengthProblem(n(r.value)) !== "TOO_LONG") {
|
|
464
|
+
const l = this.formatted(n(r.value));
|
|
465
|
+
t.value = l, t.setSelectionRange(r.start, r.start);
|
|
466
|
+
return;
|
|
467
|
+
}
|
|
468
|
+
this.#i(t, o, _(e, s));
|
|
469
|
+
}
|
|
470
|
+
/** Rule 1: place the caret after the same DIGIT COUNT in the new formatting. */
|
|
471
|
+
#i(t, e, s) {
|
|
472
|
+
this._digits = e;
|
|
473
|
+
const i = this.formatted(e);
|
|
474
|
+
t.value = i;
|
|
475
|
+
const o = O(i, s);
|
|
476
|
+
t.setSelectionRange(o, o), this._preEdit = { value: i, start: o }, this.requestUpdate(), this.#r();
|
|
477
|
+
}
|
|
478
|
+
#r() {
|
|
479
|
+
this.dispatchEvent(
|
|
480
|
+
new CustomEvent("value-change", {
|
|
481
|
+
detail: {
|
|
482
|
+
value: this.value,
|
|
483
|
+
country: this.country,
|
|
484
|
+
dialCode: this.dialCode,
|
|
485
|
+
nationalNumber: this._digits,
|
|
486
|
+
valid: this.valid
|
|
487
|
+
},
|
|
488
|
+
bubbles: !0,
|
|
489
|
+
composed: !0
|
|
490
|
+
})
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
// ---- form association ------------------------------------------------------
|
|
494
|
+
formValue() {
|
|
495
|
+
return this.value;
|
|
496
|
+
}
|
|
497
|
+
formReset() {
|
|
498
|
+
this._digits = "", this._country = null, this.requestUpdate();
|
|
499
|
+
}
|
|
500
|
+
/** D15: a real back-navigation restores E.164 — decompose it, drive both children. */
|
|
501
|
+
formRestore(t) {
|
|
502
|
+
typeof t == "string" && (this.value = t);
|
|
503
|
+
}
|
|
504
|
+
formValidityAnchor() {
|
|
505
|
+
return this._inputRef.value ?? null;
|
|
506
|
+
}
|
|
507
|
+
focus(t) {
|
|
508
|
+
this._inputRef.value?.focus(t);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
typeof customElements < "u" && !customElements.get("mp-phone-input") && customElements.define("mp-phone-input", d);
|
|
512
|
+
export {
|
|
513
|
+
d as MpPhoneInput
|
|
514
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Caret arithmetic for a value that reformats under the user (PRD D10, spike S7).
|
|
3
|
+
*
|
|
4
|
+
* The whole trick is rule 1: a caret is anchored to a DIGIT COUNT, never a string
|
|
5
|
+
* index. Formatting inserts and removes separators anywhere, so indexes are
|
|
6
|
+
* meaningless across a reformat — but the number of digits before the caret is
|
|
7
|
+
* exactly what the user perceives as their position.
|
|
8
|
+
*/
|
|
9
|
+
/** How many digits sit before `index` in `text`. */
|
|
10
|
+
export declare function digitsBefore(text: string, index: number): number;
|
|
11
|
+
/**
|
|
12
|
+
* The caret index that sits immediately after the `n`-th digit of `text`.
|
|
13
|
+
* `n === 0` is index 0 — BEFORE any leading separator, so Backspace there is a
|
|
14
|
+
* no-op instead of eating a `(` (S7 rule 1).
|
|
15
|
+
*/
|
|
16
|
+
export declare function indexAfterDigits(text: string, n: number): number;
|
|
17
|
+
/**
|
|
18
|
+
* For an intercepted Backspace/Delete over a separator (S7 rule 4): the index of
|
|
19
|
+
* the digit that must die instead, or -1 when there is none in that direction.
|
|
20
|
+
* Without this the browser deletes the separator, the reformat immediately puts
|
|
21
|
+
* it back, and the control is visibly stuck — one keypress, nothing happens.
|
|
22
|
+
*/
|
|
23
|
+
export declare function nearestDigitIndex(text: string, from: number, direction: -1 | 1): number;
|
|
24
|
+
/** `'470 12 34 56'` → `'470123456'`. */
|
|
25
|
+
export declare function digitsOf(text: string): string;
|