@loadsmart/miranda-wc 4.0.0-alpha.2 → 4.0.0-alpha.20
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/CHANGELOG.md +1 -0
- package/dist/{add-circle-DUC9alAp-B_TEkWFr.js → add-circle-D1Y_-nPm-r80Q29LA.js} +2 -2
- package/dist/{alarm-BaGj0N2--B9ZzgH7G.js → alarm-OCGDd4_h-BMo0Ciz1.js} +2 -2
- package/dist/{alert-blocked-7Pq9aiIm-1TPQ6fhc.js → alert-blocked-DXZfWi2a-AehO9ZYS.js} +2 -2
- package/dist/{alert-circle-DPjFhwuE-CS9jsgNg.js → alert-circle-Cm1mwDYe-BDotY9DT.js} +2 -2
- package/dist/{anchor-BOowxXQz-D6_1mpo4.js → anchor-1RDBWNys-Dkz1EfYc.js} +2 -2
- package/dist/{archive-DCVFqmKd-DIbmRxbS.js → archive-D42WwXCS-DUEz_UFZ.js} +2 -2
- package/dist/{arrow-left-UQ1azG0M-QNXejsRL.js → arrow-left-CQRuP7e6-C9ZQdoVH.js} +2 -2
- package/dist/{arrow-right-D9ODrfAT-DAX3AZZ-.js → arrow-right-Bxgp7GMf-DJPRIf-H.js} +2 -2
- package/dist/{arrow-sort-down-DyaC4vSu-zySERl1i.js → arrow-sort-down-1SXxE3gM-DIbjceiD.js} +2 -2
- package/dist/{arrow-sort-up-D3rkqbKD-BwWCkE0U.js → arrow-sort-up-C-mgE5v3-fl8iiSGq.js} +2 -2
- package/dist/{arrow-sort-up-down-BkqHwWw9-BQk_nziq.js → arrow-sort-up-down-48uS9SGy-DGNSyzh_.js} +2 -2
- package/dist/{asterisk-ZHV7R7s1-Bd27V4fe.js → asterisk-DiDdFgqT-YdYbnnLB.js} +2 -2
- package/dist/{attention-Bktk81gv-B2OCfxRG.js → attention-CdDia3ah-QzjfRcJt.js} +2 -2
- package/dist/{automatic-C_cPnNpn-BZZoFn7b.js → automatic-hXEMTt9J-Mkg-aRej.js} +2 -2
- package/dist/{bank-AfsU0_8a-Bq-rOWb9.js → bank-DVpZ-fCw-CKwXTGFv.js} +2 -2
- package/dist/{bell-BeboL9IG-o9qROLMW.js → bell-BGMq07ps-QaG1Aqbe.js} +2 -2
- package/dist/{bell-cancel-Ca9tfyFs-B_jZ_8eZ.js → bell-cancel-tgbz7RI3-B9MeUpw6.js} +2 -2
- package/dist/{blind-bol-buLUijt0-49yQVSjb.js → blind-bol-BXVmy7MY-BNH5_fWd.js} +2 -2
- package/dist/{board-C7-8ym4Q-PQLsOoOS.js → board-Dh6F-BcD-C174Wlmn.js} +2 -2
- package/dist/{bol-CfGOF64d-RDQOtm82.js → bol-CZ6V_OMx-C2qEkC0p.js} +2 -2
- package/dist/{bolt-6Jcu4Dlq-RXZ21Dv3.js → bolt-RHQCV3UL-CDW3QeyP.js} +2 -2
- package/dist/{bolt-off-BcH48taL-Bg95OpAq.js → bolt-off-CwuGl_gU-CLuMzex8.js} +2 -2
- package/dist/{box-DCc-Lqkq-BY6qpsfp.js → box-CopNG_Ul-Cm_EreuE.js} +2 -2
- package/dist/{broadcast-DycP-JY_-BCGWQsj2.js → broadcast-8PcO_DGN-D5ua3aLd.js} +2 -2
- package/dist/{burguer-menu-Asv06-tR-DqWMkC1y.js → burguer-menu-BZgfhmXm-DV2muRka.js} +2 -2
- package/dist/{calendar-Dx_9TSsr-CXIWulTq.js → calendar-Cplt1kYY-D-lNYqST.js} +2 -2
- package/dist/{camera-Czlcg8L7-CmeOrrw5.js → camera-7gHMTJFS-dxTC0dcU.js} +2 -2
- package/dist/{canada-flag-CfJo38yD-DLiYfKVS.js → canada-flag-BNMwfx6v-D48GC4B2.js} +2 -2
- package/dist/{caret-down-BVaLyzKU-Bl4dML2w.js → caret-down-C5y0kcdC-CsoQ-o7P.js} +2 -2
- package/dist/{caret-left-BDnpJFoh-cSYboskK.js → caret-left-DAwVTcEk-DS4R7bBI.js} +2 -2
- package/dist/{caret-right-iJvAGCHE-DJqatvV7.js → caret-right-DZZRwIDq-D-u6cZwo.js} +2 -2
- package/dist/{caret-up-9pIV6ltV-DuOjs1Uh.js → caret-up-DvWMtN_D-DgUcG9gt.js} +2 -2
- package/dist/{carrier-contract-DW2sjcCT-DEW8xUly.js → carrier-contract-CsR6H796-Ca_l7M-T.js} +2 -2
- package/dist/{chat-DGQ6mScP-Czdyimrn.js → chat-C5P07CLR-FjFq1Q9j.js} +2 -2
- package/dist/{check-Cni8S44c-BH46XrQX.js → check-Cem6p5NE-BsmLa__G.js} +2 -2
- package/dist/clip-Bn_kBFhW-QjDIHZq4.js +6 -0
- package/dist/{clock-CFBsWldY-gRHYOr7b.js → clock-BB83XBBQ-DRg8LvRs.js} +2 -2
- package/dist/{clown-DFK7bIK4-d4HOmQDl.js → clown-Dk1qgLiy-C14ZROoQ.js} +2 -2
- package/dist/code-BWjJnOkT-D3y_FoPl.js +6 -0
- package/dist/{comment-CjEoGy-K-9jTHv62I.js → comment-CrdVdQua-D3K-CNGz.js} +2 -2
- package/dist/{company-DqCQwhbF-CiWL-Y8u.js → company-C4PWqFFT-DWo_x0ZX.js} +2 -2
- package/dist/components/button/button.d.ts +2 -0
- package/dist/components/card/card-body.d.ts +1 -1
- package/dist/components/card/card-divider.d.ts +5 -1
- package/dist/components/card/card.d.ts +1 -5
- package/dist/components/card/card.styles.d.ts +2 -2
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/caret-button/caret-button.d.ts +2 -0
- package/dist/components/checkbox/checkbox.d.ts +21 -4
- package/dist/components/close-button/close-button.d.ts +2 -0
- package/dist/components/date-picker/date-calendar.d.ts +71 -0
- package/dist/components/date-picker/date-formatter.d.ts +55 -0
- package/dist/components/date-picker/date-parser.d.ts +4 -0
- package/dist/components/date-picker/date-picker.d.ts +354 -0
- package/dist/components/date-picker/date-picker.styles.d.ts +3 -0
- package/dist/components/date-picker/date-picker.types.d.ts +14 -0
- package/dist/components/date-picker/date-range-picker.d.ts +135 -0
- package/dist/components/date-picker/date.d.ts +130 -0
- package/dist/components/date-picker/index.d.ts +10 -0
- package/dist/components/divider/divider.d.ts +11 -1
- package/dist/components/divider/divider.types.d.ts +9 -0
- package/dist/components/dropdown/dropdown.d.ts +5 -1
- package/dist/components/select/select.d.ts +6 -2
- package/dist/components/side-navigation/side-navigation-item.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts +5 -0
- package/dist/components/skeleton/skeleton-avatar.d.ts +33 -0
- package/dist/components/skeleton/skeleton-tag.d.ts +34 -0
- package/dist/components/skeleton/skeleton-text.d.ts +33 -0
- package/dist/components/skeleton/skeleton.constants.d.ts +5 -0
- package/dist/components/skeleton/skeleton.d.ts +33 -0
- package/dist/components/skeleton/skeleton.styles.d.ts +1 -0
- package/dist/components/skeleton/skeleton.types.d.ts +29 -0
- package/dist/components/switch/switch.d.ts +12 -3
- package/dist/components/tag/tag-expand.d.ts +8 -1
- package/dist/components/text-area/text-area.d.ts +14 -5
- package/dist/components/text-field/text-field.d.ts +13 -4
- package/dist/components/toggle-group/toggle.d.ts +2 -0
- package/dist/components/top-navigation/top-navigation-item.d.ts +2 -0
- package/dist/{confetti-CZEHLeVv-CZ9waz0F.js → confetti-DabvTH_d-CNYMySDb.js} +2 -2
- package/dist/{contract-BQ6z-O8E-BCCH7PDf.js → contract-CZuzyJsJ-C9zw0vnM.js} +2 -2
- package/dist/controllers/boundary/boundary.controller.d.ts +16 -0
- package/dist/controllers/controller-context.d.ts +1 -0
- package/dist/controllers/expandable/expandable.controller.d.ts +1 -0
- package/dist/controllers/focus-manager/focus-manager.controller.d.ts +4 -0
- package/dist/controllers/togglable.controller.d.ts +1 -4
- package/dist/{copy-D5yGaYk7-D_fJf07b.js → copy-Bg1W6WKS-BoXA3ul4.js} +2 -2
- package/dist/{corner-down-Qmk_Cqah-B7nlmLpO.js → corner-down-dNgit4h9-C28bBbK4.js} +2 -2
- package/dist/{corner-down-r-CwJXOJqV-BDX64NB0.js → corner-down-r-Ol63oqDf-VNjkHmm-.js} +2 -2
- package/dist/{corner-up-PRIgBw5O-D2Oanyxj.js → corner-up-X-KJTWtQ-ChXQOET-.js} +2 -2
- package/dist/{credit-card-CPp_LFTs-DJd6OwD2.js → credit-card-Wtbn5avP-oUwBl-Wa.js} +2 -2
- package/dist/crown-qunC9MBd-C9ClSbYI.js +6 -0
- package/dist/{delivery-BmLufTih-DR2ECTY7.js → delivery-DHqMQaxh-CNFD7Cgq.js} +2 -2
- package/dist/{dislike-DMXIEtzt-C6x1pxWd.js → dislike-ClkLwnp8-BS3fDLu_.js} +2 -2
- package/dist/{document-csv-BmSu3fps-D6AHXU15.js → document-csv-82aZgJyJ-C9rshaq9.js} +2 -2
- package/dist/{document-file-BUqnmujz-PIATSqNL.js → document-file-BTflRYzZ-X-I0iceB.js} +2 -2
- package/dist/{document-file-plus-DOQYUKtV-VcN_p4gR.js → document-file-plus-B0v7OI0i-DmfwP1Mo.js} +2 -2
- package/dist/{document-image-BgYsKz7H-auIibHzh.js → document-image-Bl4b1vuc-zrujgZNi.js} +2 -2
- package/dist/{dollar-circle-BVOsgQj2-BF2wcD6q.js → dollar-circle-DS8CikHC-rATrX8gW.js} +2 -2
- package/dist/{dollar-CFykJiF6-D3PtyleD.js → dollar-xdf25GJ5-DYCxOf90.js} +2 -2
- package/dist/{dots-horizontal-Bl3xu7Nf-C32Bj8v-.js → dots-horizontal-Biofh_6Q-GV7f3bYm.js} +2 -2
- package/dist/dots-six-wSCvZNq9-CgtO5kzJ.js +9 -0
- package/dist/{dots-vertical-40mkkgZI-lPIOzcFA.js → dots-vertical-CJQ6Tviq-CR32FYMS.js} +2 -2
- package/dist/double-caret-down-BJHvBRs9-hsVW4XgK.js +6 -0
- package/dist/{double-caret-left-oyqAcM6D-DXMcKu28.js → double-caret-left-CQefqYqm-aCgdGMhG.js} +2 -2
- package/dist/{double-caret-right-CaEFAJUV-DMZADYge.js → double-caret-right-CiOx4pVX-Bunc5R1M.js} +2 -2
- package/dist/{down--KKq0yxa-CDckWgnn.js → down-DHiq_m8Y-Cfb9x96j.js} +2 -2
- package/dist/{download-CAudqhnU-C5Hz2D6C.js → download-DwsUagke-Nh_kv46w.js} +2 -2
- package/dist/{drop-trailer-DlAJ_vBQ-BASS51AU.js → drop-trailer-CzX1pWc6-BHzpzrW_.js} +2 -2
- package/dist/{dropdown-C28rTIS0-DBKvcaVJ.js → dropdown-D0zU9JaX--hz033BO.js} +2 -2
- package/dist/{email-C1bySA3E-Indzz35e.js → email-ChvUJzGd-CVnxtMDe.js} +2 -2
- package/dist/{email-filled-1VNy1i0o-BIh4RWQr.js → email-filled-kYMuBTxD-DwdvM8Lw.js} +2 -2
- package/dist/{export-CLVug2kl-BRrMXSWJ.js → export-er7grjfv-BKn9MbNu.js} +2 -2
- package/dist/{eye-BMtHMF-7-DrcaSs54.js → eye-CxZyDdDb-NBmbIcb5.js} +2 -2
- package/dist/{fast-CTEZutx8-C6YlBKJi.js → fast-DvJXFvrA-BXQHoRNs.js} +2 -2
- package/dist/{favorite-CdnL57Ww-BTsgj_hk.js → favorite-BD6aLZlv-AgLXVErH.js} +2 -2
- package/dist/{file-BxDR4QmX-BvbmUKFP.js → file-BJL-mU1x-xdw5wCcJ.js} +2 -2
- package/dist/{filter-Db0Nlr5s-AKaHTqhe.js → filter-CcKM0Dhs-Bdemnh6o.js} +2 -2
- package/dist/{flag-Doxn1CNj-DXbm4WQI.js → flag-DwiA2OpQ-N4s3C7gh.js} +2 -2
- package/dist/{folder-B8oJf4Cn-nW5EQJ4s.js → folder-DTCTxwKG-aClwtx7m.js} +2 -2
- package/dist/{funnel-Srs4aUjO-BOjgqzkX.js → funnel-Cem1fp_N-CcjENBq9.js} +2 -2
- package/dist/{gear-BAAJETHP-v4Bvd4FI.js → gear-YHiOsqex-CgnCPjJI.js} +2 -2
- package/dist/{graph-BE58cOAU-De94j616.js → graph-B5E50p1M-BIH70cm9.js} +2 -2
- package/dist/{hand-BgYtdVrD-f0aENQfs.js → hand-DAR1CzIb-CPBrlgCu.js} +2 -2
- package/dist/hand-tap-DaGWQgLF-CmySJRmJ.js +6 -0
- package/dist/{high-signal-B3r2CcQv-Crl1WIra.js → high-signal-CdJ-UJJH-CifMYjCQ.js} +2 -2
- package/dist/{history-CNYIllfK-BmbFz8Wp.js → history-Brznxs5Y-Xst9A4OP.js} +2 -2
- package/dist/{home-Cy8LsN5j-DJMSHZoQ.js → home-DoOei28_-97JyIKOy.js} +2 -2
- package/dist/{hourglass-1JnprXU6-CvjmshZb.js → hourglass-aVnNAkB1-DFMbFCT_.js} +2 -2
- package/dist/{import-2-CkJjxM_j-BqNHKzj7.js → import-2-Bj-SAHVu-DwPrh7Ki.js} +2 -2
- package/dist/{import-rhDUm5Dy-CeGfINZb.js → import-BZWCWsMF-BFnd46jo.js} +2 -2
- package/dist/{indeterminate-BZ0acJ1--DmX2cBz0.js → indeterminate-CwI7zB7p-CYTqN0nX.js} +2 -2
- package/dist/{index-ClET36R1.js → index-AD65G1O4.js} +1453 -925
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/{info-CXMYCD_g-DuM6tAOq.js → info-Bk1IGWVh-Cz3_9GyI.js} +2 -2
- package/dist/{invoice-CugnzNUF-U-gwwrpG.js → invoice-DaG4ABfq-DP-KoCOw.js} +2 -2
- package/dist/invoice-items-eGP-HOQk-B7qMvhhf.js +6 -0
- package/dist/{kanban-BW05GStl-BG9DlETH.js → kanban-my7H7Qzd-BHEbVRIT.js} +2 -2
- package/dist/{light-bulb-CJYecBFg-DNlhSTGj.js → light-bulb-CjUm63ss-BiczE5dy.js} +2 -2
- package/dist/{like-QtHFzoZl-C1tndbXe.js → like-B7LorW6y-BcNzNI0y.js} +2 -2
- package/dist/{link-C2K5IFfc-4YvX2-AU.js → link-iCwxWnAz-qG5ZIMx0.js} +2 -2
- package/dist/{list-qb6yfepc-camluo6Q.js → list-CLPz_MNI-BS0bnKn_.js} +2 -2
- package/dist/{loadsmart-logo-DD7mf5RA-Dn-f4pP6.js → loadsmart-logo-B2ScMeUF-BN1IwKRc.js} +2 -2
- package/dist/{log-out-D7IEO_4w-DCjNkqvM.js → log-out-DmtIlSB8-Cr5xlDJB.js} +2 -2
- package/dist/{low-signal-CCApieja-DWndh7aD.js → low-signal-BZOviVc--DvpX3Vqj.js} +2 -2
- package/dist/{map-DkdQQaHz-ub_5lqLB.js → map-DbaHMZsr-Cx9CGd2I.js} +2 -2
- package/dist/{medal-CFck2Vo9-Dq1c-O8n.js → medal-DCw9H-yN-C8FimJJT.js} +2 -2
- package/dist/{megaphone-F4dIKI-R-BbwQqMOq.js → megaphone-DKaeKFrI-FWnx99dJ.js} +2 -2
- package/dist/{mexico-flag-B5V_6xOg-Boxrt5dN.js → mexico-flag-oC5sHwEN-BxsAY012.js} +2 -2
- package/dist/{minus-BFZ6IG9o-BHsiI4oO.js → minus-BrQU-z-A-CJkFSzV1.js} +2 -2
- package/dist/{network-signal-Bb_xHR-r-fQ5Cp0Zx.js → network-signal-BqDV2aaT-DQKeWmEp.js} +2 -2
- package/dist/{no-awarded-_pC45l2Z-Beom4uQu.js → no-awarded-kV-l8jPI-CQdkl81R.js} +2 -2
- package/dist/{notes-D0DnYYDF-DxoD964e.js → notes-CPvmfKRz-GMQ_kUib.js} +2 -2
- package/dist/{notes-lock-C4iIdCWW-C1wphxTW.js → notes-lock-DLCp-YZm-Bu-24nDU.js} +2 -2
- package/dist/{order-D6iD-byD-BQi8OpiC.js → order-B3hn_bNd-BFcVoNVW.js} +2 -2
- package/dist/{package-tracking-VlPDjmKG-T-FO-SZ3.js → package-tracking-x8wcjUnJ-Co0rH9Hu.js} +2 -2
- package/dist/{padlock-Cr-9ZU_A-DuMMsv89.js → padlock-CsgV9sqt-brp-0r7_.js} +2 -2
- package/dist/{padlock-open-l4wBXg6b-BXzApi_P.js → padlock-open-DxbX9Xj8-C8JG8Dqq.js} +2 -2
- package/dist/{pencil-ayTIIr8--DrXtIAdT.js → pencil-COyuFZAg-N7a8FAYB.js} +2 -2
- package/dist/{phone-BTCU0Wy1-Sq3B_jts.js → phone-BRQ7BsKT-ux-xbiON.js} +2 -2
- package/dist/{pin-Bn3yTC_u-DTpz6AjA.js → pin-DjSVf-tv-B68JLBe7.js} +2 -2
- package/dist/{pin-filled-DSa95Sh1-jBRz_67I.js → pin-filled-CRvzA-oW-DRZSgV3a.js} +2 -2
- package/dist/{pin-map-BkHB4tNw-kdu1_xlz.js → pin-map-DiEqmlDy-D0rQAmkj.js} +2 -2
- package/dist/play-CrwhRGzx-DBkFISiO.js +6 -0
- package/dist/plugs-De72XF5l-Ch7MkMXc.js +6 -0
- package/dist/{plus-ozGMFMAz-dTjW1mGN.js → plus-Bz8U9amL-DuViuAPh.js} +2 -2
- package/dist/{pod-ThCZ5RL3-xOj9iTg7.js → pod-CK58nVs--D9-rtSDH.js} +2 -2
- package/dist/{pre-confirmed-load-Bwr-dWH2-fIG7Mv_q.js → pre-confirmed-load-DunPQVqT-ZH7eeQkc.js} +2 -2
- package/dist/{print-D1P_UCUE-DW1jQnTr.js → print-Cnnxbnvc-Cl9fjlcF.js} +2 -2
- package/dist/{profile-BAhtRV-H-okLo2QgW.js → profile-CGiKoMff-BW6TnX2N.js} +2 -2
- package/dist/{question-dot-gWpkPf6c-CEEiQ9t3.js → question-dot-Dq37x_7T-CovXetta.js} +2 -2
- package/dist/receipt-DDThjWcc-D5XcWW5C.js +6 -0
- package/dist/{redo-ByLKSZcV-BSCXoS_C.js → redo-DC1xaUOp-Cm4TDD5l.js} +2 -2
- package/dist/{refresh-Dom4yiat-CMhlfXnv.js → refresh-YQwrdU97-BIgrEcfK.js} +2 -2
- package/dist/{reloading-CltA-FOS-BiBrTjDt.js → reloading-Cn4LHmGy-C9MmRFJv.js} +2 -2
- package/dist/{road-B0mpmfpO-DTr6kc-O.js → road-gma975-H-BVfNFAdW.js} +2 -2
- package/dist/{round-trip-CJ6rlpuR-CwVaBSRj.js → round-trip-Dj3FspZs-BakMfoKR.js} +2 -2
- package/dist/{satellite-B6YyzjV9-BTzS_nUp.js → satellite-Dkxr8yoE-DiCYlpJd.js} +2 -2
- package/dist/{search-CEuIfz1B-B_4TQMMB.js → search-COaioJFx-C2o84-kI.js} +2 -2
- package/dist/{send-DGyddefp-DUrwOKFh.js → send-CYYxReUi-B7duqpn-.js} +2 -2
- package/dist/{share-C6k81f3b-DcldaTek.js → share-SszH6y5u-Veq-xklX.js} +2 -2
- package/dist/{ship-C4UkiVeP-BE-U70cq.js → ship-UwOE1ahr-bzZkywPD.js} +2 -2
- package/dist/{signal-DAhLkSYH-BH2layza.js → signal-Cd1WFto5-CNxfNYSw.js} +2 -2
- package/dist/{sparkle-pS82Zae1-C6XXfI9U.js → sparkle-CeLaWjtL-B06HHTIK.js} +2 -2
- package/dist/{star-DR6uwE4h-zS4ZGjqP.js → star-DW65f0YM-BnLX6PzQ.js} +2 -2
- package/dist/styles/accessibility.d.ts +14 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/{swap-BtTQYKMg-Bry3It5Y.js → swap-sUXsgC4P-kC-6LRpF.js} +2 -2
- package/dist/{tag-IL1JfL1C-Ca5AWL-l.js → tag-BGrqT_wf-CMDyypdy.js} +2 -2
- package/dist/{tag-chevron-DoDGVtfR-B21BlEzE.js → tag-chevron-Cj3Zlw0s-CKqojmlU.js} +2 -2
- package/dist/{telephone-slash-BZap8ZKk-CKjm9JsB.js → telephone-slash-C2tx_ikX-D0dfeTef.js} +2 -2
- package/dist/{telephone-YrI9UwiG-D5h8Li6T.js → telephone-vdSZaYWh-DnJY1sT5.js} +2 -2
- package/dist/{terminal-s52u0ofd-CeatgeRQ.js → terminal-ChhkQTUI-Bq6ehVtY.js} +2 -2
- package/dist/{timer-Br-HDx_b-B4RglBTz.js → timer-DVR_3bj5-B03979ty.js} +2 -2
- package/dist/{tms-ready-D0C0lkjm-DoWjWtBN.js → tms-ready-CBGH1w_F-Dlwz-W5w.js} +2 -2
- package/dist/{train-D4LRq2PY-CS9oO9fR.js → train-BZZ4cotk-CzEz5jaU.js} +2 -2
- package/dist/{trash-3UNIllFc-CS1PYDPl.js → trash-33eJarmE-C6hyYKIa.js} +2 -2
- package/dist/{trend-down-BDR4cf1B-jJHVHh9O.js → trend-down-BXCvvBSt-BtmFc2zV.js} +2 -2
- package/dist/{trend-up-B_kfsVbA-BUqFqY3G.js → trend-up-JGKxEveH-Chy3S_T0.js} +2 -2
- package/dist/{trophee-CAwY7HPq-F46Smdom.js → trophee-D8rJoObN-D7LogMzI.js} +2 -2
- package/dist/truck-C7h0oatR-L2bawZwU.js +6 -0
- package/dist/truckload-DPFgmnk4-WkywOKua.js +6 -0
- package/dist/{unarchive-Dk6YxGuz-o3Vi1Veu.js → unarchive-BsZyefwo-BxwYIGJj.js} +2 -2
- package/dist/{undo-D22pWaLw-qZyQE-7M.js → undo-Dc1PzZsl-CqyJSPm6.js} +2 -2
- package/dist/{united-states-flag-CsHL9bsp-B1due1zf.js → united-states-flag-DFjgNqGI-BFKKlyUr.js} +2 -2
- package/dist/{up-DO_i3SQ4-CtdGKBeN.js → up-Dx5PuCsg-B21andgA.js} +2 -2
- package/dist/{upgrade-CnbgCK-Y-q6qsuYzD.js → upgrade-BaAwa11P-CPOzn-0A.js} +2 -2
- package/dist/{upload-DtwRfNbp-Bspl4Jd8.js → upload-OQr0-sNS-B9PGavRU.js} +2 -2
- package/dist/{user-BePsqno7-D4PduyBo.js → user-D1DrYQBe-CeZ4c68u.js} +2 -2
- package/dist/{wallet-BWOwCd2Q-BFJM4lKx.js → wallet-BQ858ZqS-CO6_K_y6.js} +2 -2
- package/dist/{warehouse-CqDssJJV-Qbf7T5PR.js → warehouse-B6SIiuDq-DZO9LiIA.js} +2 -2
- package/dist/website-visibility-DqaQwSrL-C03f_hLN.js +6 -0
- package/dist/{wifi-Dt8207Jw-Cr0LhmdC.js → wifi-D-HZ2Tkx-CfYL72P9.js} +2 -2
- package/dist/{wifi-off-B_p79YVu-Dq9sGrnG.js → wifi-off-DsyNqu92-C-HJX4qP.js} +2 -2
- package/dist/{x-B2033JKZ-DV3cXTE4.js → x-CYsPbQJ5-DYyR6EhF.js} +2 -2
- package/dist/{x-small-C9YOZeBE-DCouhz2f.js → x-small-Bke_6LiL-BJnk9zK1.js} +2 -2
- package/dist/{zoom-in-CVkDSwyt-BkD5XvTN.js → zoom-in-DwPCKuSG-DhmmbdLi.js} +2 -2
- package/dist/{zoom-out-DqHlySLS-CkwQkN1u.js → zoom-out-DsLCC2bO-CcWrVs30.js} +2 -2
- package/package.json +74 -60
- package/dist/clip-DM4Wpi9M-CUSqndT9.js +0 -6
- package/dist/code-DmezwyM4-C0k-Hz9t.js +0 -6
- package/dist/hand-tap-5_UTZG9m-C3UoL36B.js +0 -6
- package/dist/invoice-items-CGz7rmum-DmPS3bCL.js +0 -6
- package/dist/plugs-zfSg1YW9-CSIIqcob.js +0 -6
- package/dist/receipt-BwBkV8gn-B26H7jjG.js +0 -6
- package/dist/truck-JWZ6uNC1-DjsZQhKr.js +0 -6
|
@@ -13,23 +13,27 @@ export declare class Checkbox extends FormComponent implements CheckboxProps {
|
|
|
13
13
|
#private;
|
|
14
14
|
static shadowRootOptions: {
|
|
15
15
|
delegatesFocus: boolean;
|
|
16
|
+
clonable?: boolean;
|
|
17
|
+
customElementRegistry?: CustomElementRegistry;
|
|
16
18
|
mode: ShadowRootMode;
|
|
17
19
|
serializable?: boolean;
|
|
18
20
|
slotAssignment?: SlotAssignmentMode;
|
|
19
21
|
};
|
|
20
22
|
static styles: import("lit").CSSResult[];
|
|
21
23
|
static get properties(): {
|
|
22
|
-
|
|
24
|
+
initialChecked: {
|
|
23
25
|
type: BooleanConstructor;
|
|
24
|
-
|
|
26
|
+
attribute: string;
|
|
25
27
|
};
|
|
26
|
-
|
|
28
|
+
providedChecked: {
|
|
27
29
|
type: BooleanConstructor;
|
|
30
|
+
reflect: boolean;
|
|
28
31
|
attribute: string;
|
|
29
32
|
};
|
|
30
|
-
|
|
33
|
+
providedIndeterminate: {
|
|
31
34
|
type: BooleanConstructor;
|
|
32
35
|
reflect: boolean;
|
|
36
|
+
attribute: string;
|
|
33
37
|
};
|
|
34
38
|
value: {
|
|
35
39
|
type: StringConstructor;
|
|
@@ -43,10 +47,23 @@ export declare class Checkbox extends FormComponent implements CheckboxProps {
|
|
|
43
47
|
* Should the checkbox be checked initialluy or when the form it is in is reset.
|
|
44
48
|
*/
|
|
45
49
|
initialChecked: CheckboxProps['initialChecked'];
|
|
50
|
+
/**
|
|
51
|
+
* We use a different property name internally so the react wrapper can still
|
|
52
|
+
* keep track of the property while we can use custom getter/setter to
|
|
53
|
+
* set and reflect the `checked` attribute.
|
|
54
|
+
*/
|
|
55
|
+
providedChecked: CheckboxProps['checked'];
|
|
56
|
+
/**
|
|
57
|
+
* We use a different property name internally so we can still
|
|
58
|
+
* keep track of the property while we can use custom getter/setter to
|
|
59
|
+
* set and reflect the `indeterminate` attribute.
|
|
60
|
+
*/
|
|
61
|
+
providedIndeterminate: CheckboxProps['indeterminate'];
|
|
46
62
|
static define(): void;
|
|
47
63
|
createRenderRoot(): DocumentFragment | HTMLElement;
|
|
48
64
|
connectedCallback(): Promise<void>;
|
|
49
65
|
disconnectedCallback(): void;
|
|
66
|
+
update(changedProperties: PropertyValues<this>): void;
|
|
50
67
|
updated(changedProperties: PropertyValues<this>): void;
|
|
51
68
|
render(): import("lit-html").TemplateResult<1>;
|
|
52
69
|
get input(): HTMLInputElement | null;
|
|
@@ -12,6 +12,8 @@ export declare class CloseButton extends Component implements CloseButtonProps {
|
|
|
12
12
|
#private;
|
|
13
13
|
static shadowRootOptions: {
|
|
14
14
|
delegatesFocus: boolean;
|
|
15
|
+
clonable?: boolean;
|
|
16
|
+
customElementRegistry?: CustomElementRegistry;
|
|
15
17
|
mode: ShadowRootMode;
|
|
16
18
|
serializable?: boolean;
|
|
17
19
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { CalendarDateConstraint, CalendarDate } from './date';
|
|
2
|
+
import type { CalendarSelection } from './date-picker.types';
|
|
3
|
+
/**
|
|
4
|
+
* Status information for a calendar day in the renderable month grid.
|
|
5
|
+
*/
|
|
6
|
+
export interface CalendarDayStatus {
|
|
7
|
+
/** Whether the date is blocked/disabled by constraints */
|
|
8
|
+
blocked: boolean;
|
|
9
|
+
/** Whether the date appears faded (not part of the current month) */
|
|
10
|
+
faded: boolean;
|
|
11
|
+
/** Whether the date is today */
|
|
12
|
+
today: boolean;
|
|
13
|
+
/** Whether this date is selected */
|
|
14
|
+
selected: boolean;
|
|
15
|
+
/** Whether this date is the start of a selection range */
|
|
16
|
+
'selection-start': boolean;
|
|
17
|
+
/** Whether this date is the end of a selection range */
|
|
18
|
+
'selection-end': boolean;
|
|
19
|
+
/** Whether this date is part of a selection range (between start and end) */
|
|
20
|
+
selection: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Structure representing a single day in the calendar grid.
|
|
24
|
+
*/
|
|
25
|
+
export interface CalendarDay {
|
|
26
|
+
/** The calendar date object */
|
|
27
|
+
date: CalendarDate;
|
|
28
|
+
/** Calculated status flags for this day */
|
|
29
|
+
status: CalendarDayStatus;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Structure representing a renderable month with its calendar grid.
|
|
33
|
+
*/
|
|
34
|
+
export interface RenderableMonth {
|
|
35
|
+
/** The month number (0-based) */
|
|
36
|
+
month: number;
|
|
37
|
+
/** The year number */
|
|
38
|
+
year: number;
|
|
39
|
+
/** Days organized by week (array of weekly arrays) */
|
|
40
|
+
weeks: CalendarDay[][];
|
|
41
|
+
}
|
|
42
|
+
export declare function createCalendar(year: number, month: number, options?: {
|
|
43
|
+
selection?: CalendarSelection;
|
|
44
|
+
constraints?: CalendarDateConstraint[];
|
|
45
|
+
weekStartDay?: number;
|
|
46
|
+
amountOfMonths?: number;
|
|
47
|
+
focusedDayIndex?: number | null;
|
|
48
|
+
}): {
|
|
49
|
+
year: number;
|
|
50
|
+
month: number;
|
|
51
|
+
months: RenderableMonth[];
|
|
52
|
+
days: CalendarDay[];
|
|
53
|
+
getReferenceTimestamp(): number;
|
|
54
|
+
setMonth(newMonth: number): /*elided*/ any;
|
|
55
|
+
setYear(newYear: number): /*elided*/ any;
|
|
56
|
+
setSelection(newSelection?: CalendarSelection | null): /*elided*/ any;
|
|
57
|
+
setConstraints(newConstraints: CalendarDateConstraint[]): /*elided*/ any;
|
|
58
|
+
setWeekStartDay(newWeekStartDay: number): /*elided*/ any;
|
|
59
|
+
nextMonth(): /*elided*/ any;
|
|
60
|
+
previousMonth(): /*elided*/ any;
|
|
61
|
+
setFocusedDayIndex(newFocusedDayIndex: number): /*elided*/ any;
|
|
62
|
+
getFocusedDayIndex(): number | null;
|
|
63
|
+
moveFocusedDayIndexBy(amount: number): /*elided*/ any;
|
|
64
|
+
getFocusedDayTimestamp(): number | null;
|
|
65
|
+
/**
|
|
66
|
+
* Reset the calendar to the selection date.
|
|
67
|
+
*/
|
|
68
|
+
reset(): /*elided*/ any;
|
|
69
|
+
isDayBlocked(day: number | CalendarDate): boolean;
|
|
70
|
+
};
|
|
71
|
+
export type Calendar = ReturnType<typeof createCalendar>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { CalendarDate } from './date';
|
|
2
|
+
export interface CalendarDateFormatter<T = string | number> {
|
|
3
|
+
format(date: CalendarDate): T;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Supported tokens:
|
|
7
|
+
*
|
|
8
|
+
*| | Token | Output |
|
|
9
|
+
*| :----------------------------- | :---- | :---------------------------------------- |
|
|
10
|
+
*| Month | MM | 01, 02, ..., 11, 12 |
|
|
11
|
+
*| | MMM | Jan, Feb, ..., Nov, Dec |
|
|
12
|
+
*| | MMMM | January, February, ..., November,December |
|
|
13
|
+
*| Day of Month | D | 1, 2, ..., 30, 31 |
|
|
14
|
+
*| Day of Month with leading 0 | DD | 01, 02, ..., 30, 31 |
|
|
15
|
+
*| Day of week | ddd | Sun, Mon, ... Fri, Sat |
|
|
16
|
+
*| | dddd | Sunday, Monday, ..., Friday, Saturday |
|
|
17
|
+
*| Year | YYYY | 1970, 1971, ..., 2029, 2030 |
|
|
18
|
+
*| Hour | HH | 00, 01, ..., 22, 23 |
|
|
19
|
+
*| | hh | 00, 01, ..., 11, 12 |
|
|
20
|
+
*| Minute | mm | 01, 02, ..., 58, 59 |
|
|
21
|
+
*| Seconds | ss | 01, 02, ..., 58, 59 |
|
|
22
|
+
*| Post or ante meridiem | a | am, pm |
|
|
23
|
+
*| | A | AM, PM |
|
|
24
|
+
*| Ordinal numbers | o | 1st, 2nd, 3rd, ..., 10th |
|
|
25
|
+
*
|
|
26
|
+
* Any character that is not a date token is treated as a separator.
|
|
27
|
+
* For example: "MM/DD/YYYY", "DD-MM-YYYY", "YYYY.MM.DD", "MM,DD|YYYY"
|
|
28
|
+
*
|
|
29
|
+
* @param format
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export interface Token {
|
|
33
|
+
value: string;
|
|
34
|
+
type: 'token' | 'separator';
|
|
35
|
+
}
|
|
36
|
+
export declare function tokenizer(format: string): Token[];
|
|
37
|
+
type FormatOptions = {
|
|
38
|
+
locale?: string;
|
|
39
|
+
timeZone?: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* This helper provides a convenient layer on top of `Intl.DateTimeFormat`,
|
|
43
|
+
* using common tokens (based on `momentjs`) to format dates.
|
|
44
|
+
*/
|
|
45
|
+
export declare function createCalendarDateFormatter(format: 'timestamp', options?: FormatOptions): CalendarDateFormatter<number>;
|
|
46
|
+
export declare function createCalendarDateFormatter(format: 'short-iso' | 'full-iso', options?: FormatOptions): CalendarDateFormatter<string>;
|
|
47
|
+
export declare function createCalendarDateFormatter(format: string, options?: FormatOptions): CalendarDateFormatter<string>;
|
|
48
|
+
export declare const DateIDFormatter: {
|
|
49
|
+
format(value: number | CalendarDate | null): string;
|
|
50
|
+
};
|
|
51
|
+
export declare const MMMDoYYYYFormatter: CalendarDateFormatter<string>;
|
|
52
|
+
export declare const MMMMFormatter: CalendarDateFormatter<string>;
|
|
53
|
+
export declare const ShortISOFormatter: CalendarDateFormatter<string>;
|
|
54
|
+
export declare const MMDDYYYYFormatter: CalendarDateFormatter<string>;
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CalendarDate } from './date';
|
|
2
|
+
export declare function parseDate(value: string, referenceDate?: CalendarDate | null): CalendarDate | null;
|
|
3
|
+
export declare function parseDateRange(value: string): [CalendarDate | null, CalendarDate | null] | null;
|
|
4
|
+
export declare function fromAttribute(value: number | string | [string | number | null, string | number | null] | null): [number | null, number | null];
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import type { PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
import { Popover } from '../popover';
|
|
3
|
+
import type { Calendar } from './date-calendar';
|
|
4
|
+
import type { CalendarDateConstraint } from './date';
|
|
5
|
+
import type { CalendarDateFormatter } from './date-formatter';
|
|
6
|
+
import type { DatePickerReturnFormat } from './date-picker.types';
|
|
7
|
+
import type { FieldStatus } from '../field';
|
|
8
|
+
import type { PopoverProps } from '../popover';
|
|
9
|
+
import '../button';
|
|
10
|
+
import '../close-button';
|
|
11
|
+
import '../layout/group';
|
|
12
|
+
import '../layout/stack';
|
|
13
|
+
import '../select';
|
|
14
|
+
import '../text';
|
|
15
|
+
declare const WEEK_DAYS: {
|
|
16
|
+
readonly sunday: {
|
|
17
|
+
readonly abbr: "Su";
|
|
18
|
+
readonly label: "Sunday";
|
|
19
|
+
};
|
|
20
|
+
readonly monday: {
|
|
21
|
+
readonly abbr: "Mo";
|
|
22
|
+
readonly label: "Monday";
|
|
23
|
+
};
|
|
24
|
+
readonly tuesday: {
|
|
25
|
+
readonly abbr: "Tu";
|
|
26
|
+
readonly label: "Tuesday";
|
|
27
|
+
};
|
|
28
|
+
readonly wednesday: {
|
|
29
|
+
readonly abbr: "We";
|
|
30
|
+
readonly label: "Wednesday";
|
|
31
|
+
};
|
|
32
|
+
readonly thursday: {
|
|
33
|
+
readonly abbr: "Th";
|
|
34
|
+
readonly label: "Thursday";
|
|
35
|
+
};
|
|
36
|
+
readonly friday: {
|
|
37
|
+
readonly abbr: "Fr";
|
|
38
|
+
readonly label: "Friday";
|
|
39
|
+
};
|
|
40
|
+
readonly saturday: {
|
|
41
|
+
readonly abbr: "Sa";
|
|
42
|
+
readonly label: "Saturday";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export type WeekDay = keyof typeof WEEK_DAYS;
|
|
46
|
+
declare const MONTHS: {
|
|
47
|
+
january: {
|
|
48
|
+
abbr: string;
|
|
49
|
+
label: string;
|
|
50
|
+
};
|
|
51
|
+
february: {
|
|
52
|
+
abbr: string;
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
march: {
|
|
56
|
+
abbr: string;
|
|
57
|
+
label: string;
|
|
58
|
+
};
|
|
59
|
+
april: {
|
|
60
|
+
abbr: string;
|
|
61
|
+
label: string;
|
|
62
|
+
};
|
|
63
|
+
may: {
|
|
64
|
+
abbr: string;
|
|
65
|
+
label: string;
|
|
66
|
+
};
|
|
67
|
+
june: {
|
|
68
|
+
abbr: string;
|
|
69
|
+
label: string;
|
|
70
|
+
};
|
|
71
|
+
july: {
|
|
72
|
+
abbr: string;
|
|
73
|
+
label: string;
|
|
74
|
+
};
|
|
75
|
+
august: {
|
|
76
|
+
abbr: string;
|
|
77
|
+
label: string;
|
|
78
|
+
};
|
|
79
|
+
september: {
|
|
80
|
+
abbr: string;
|
|
81
|
+
label: string;
|
|
82
|
+
};
|
|
83
|
+
october: {
|
|
84
|
+
abbr: string;
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
november: {
|
|
88
|
+
abbr: string;
|
|
89
|
+
label: string;
|
|
90
|
+
};
|
|
91
|
+
december: {
|
|
92
|
+
abbr: string;
|
|
93
|
+
label: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
export type MonthDefinition = keyof typeof MONTHS;
|
|
97
|
+
export interface DatePickerProps extends PopoverProps {
|
|
98
|
+
clearable?: boolean;
|
|
99
|
+
constraints?: CalendarDateConstraint[];
|
|
100
|
+
disabled?: boolean;
|
|
101
|
+
format?: string;
|
|
102
|
+
initialValue?: number | string | null;
|
|
103
|
+
label?: string;
|
|
104
|
+
months?: Record<MonthDefinition, {
|
|
105
|
+
abbr: string;
|
|
106
|
+
label: string;
|
|
107
|
+
}>;
|
|
108
|
+
name?: string;
|
|
109
|
+
placeholder?: string;
|
|
110
|
+
presets?: string[] | (string | {
|
|
111
|
+
label: string;
|
|
112
|
+
prompt: string;
|
|
113
|
+
})[];
|
|
114
|
+
returnFormat?: DatePickerReturnFormat;
|
|
115
|
+
status?: FieldStatus;
|
|
116
|
+
value?: number | string | [string | number | null, string | number | null] | null;
|
|
117
|
+
weekDays?: Record<WeekDay, {
|
|
118
|
+
abbr: string;
|
|
119
|
+
label: string;
|
|
120
|
+
}>;
|
|
121
|
+
weekStart?: WeekDay;
|
|
122
|
+
onchange?: GlobalEventHandlers['onchange'];
|
|
123
|
+
onclear?: () => void;
|
|
124
|
+
}
|
|
125
|
+
declare const DatePicker_base: import("../../utils/types").Constructor<import("../component/form-component.mixin").WithFormComponentMixinInterface> & typeof Popover;
|
|
126
|
+
export declare class DatePicker extends DatePicker_base implements DatePickerProps {
|
|
127
|
+
#private;
|
|
128
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[][];
|
|
129
|
+
static get properties(): {
|
|
130
|
+
clearable: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
};
|
|
133
|
+
constraints: {};
|
|
134
|
+
disabled: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
};
|
|
137
|
+
format: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
reflect: boolean;
|
|
140
|
+
};
|
|
141
|
+
formatter: {};
|
|
142
|
+
initialValue: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
attribute: string;
|
|
145
|
+
reflect: boolean;
|
|
146
|
+
};
|
|
147
|
+
label: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
};
|
|
150
|
+
months: {
|
|
151
|
+
type: ObjectConstructor;
|
|
152
|
+
};
|
|
153
|
+
name: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
reflect: boolean;
|
|
156
|
+
};
|
|
157
|
+
onchange: {};
|
|
158
|
+
placeholder: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
};
|
|
161
|
+
presets: {
|
|
162
|
+
type: ArrayConstructor;
|
|
163
|
+
};
|
|
164
|
+
providedValue: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
attribute: string;
|
|
167
|
+
};
|
|
168
|
+
returnFormat: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
reflect: boolean;
|
|
171
|
+
attribute: string;
|
|
172
|
+
};
|
|
173
|
+
status: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
reflect: boolean;
|
|
176
|
+
};
|
|
177
|
+
weekDays: {
|
|
178
|
+
type: ObjectConstructor;
|
|
179
|
+
attribute: string;
|
|
180
|
+
};
|
|
181
|
+
weekStart: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
reflect: boolean;
|
|
184
|
+
attribute: string;
|
|
185
|
+
};
|
|
186
|
+
calendar: {
|
|
187
|
+
state: boolean;
|
|
188
|
+
};
|
|
189
|
+
selection: {
|
|
190
|
+
state: boolean;
|
|
191
|
+
};
|
|
192
|
+
position: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
reflect: boolean;
|
|
195
|
+
};
|
|
196
|
+
placement: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
};
|
|
199
|
+
open: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
reflect: boolean;
|
|
202
|
+
};
|
|
203
|
+
asPopover: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
attribute: string;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Whether the date picker is clearable.
|
|
210
|
+
*/
|
|
211
|
+
clearable: DatePickerProps['clearable'];
|
|
212
|
+
/**
|
|
213
|
+
* Constraints to apply to the date picker's calendar.
|
|
214
|
+
*/
|
|
215
|
+
constraints: DatePickerProps['constraints'];
|
|
216
|
+
/**
|
|
217
|
+
* Should the picker be disabled.
|
|
218
|
+
*/
|
|
219
|
+
disabled: DatePickerProps['disabled'];
|
|
220
|
+
/**
|
|
221
|
+
* Date format.
|
|
222
|
+
*/
|
|
223
|
+
format: DatePickerProps['format'];
|
|
224
|
+
/**
|
|
225
|
+
* Value that will be selected by default on initialization and form reset.
|
|
226
|
+
*/
|
|
227
|
+
initialValue: DatePickerProps['initialValue'];
|
|
228
|
+
/**
|
|
229
|
+
* Label for the date picker input field.
|
|
230
|
+
*/
|
|
231
|
+
label: DatePickerProps['label'];
|
|
232
|
+
/**
|
|
233
|
+
* Array with the months to be used to render the calendar.
|
|
234
|
+
*/
|
|
235
|
+
months: DatePickerProps['months'];
|
|
236
|
+
/**
|
|
237
|
+
* Name that will represent this control in the form.
|
|
238
|
+
*/
|
|
239
|
+
name: DatePickerProps['name'];
|
|
240
|
+
/**
|
|
241
|
+
* Helper text to guide the user when there's no date selected.
|
|
242
|
+
*/
|
|
243
|
+
placeholder: DatePickerProps['placeholder'];
|
|
244
|
+
/**
|
|
245
|
+
* Date selection presets (used to offer quick date selection options).
|
|
246
|
+
*/
|
|
247
|
+
presets: DatePickerProps['presets'];
|
|
248
|
+
/**
|
|
249
|
+
* Current value.
|
|
250
|
+
*/
|
|
251
|
+
providedValue: DatePickerProps['value'];
|
|
252
|
+
/**
|
|
253
|
+
* The format of the date to return when the date picker is used as a form control.
|
|
254
|
+
*
|
|
255
|
+
* - `full-iso`: Returns the date in the format `YYYY-MM-DDTHH:mm:ss.sss`.
|
|
256
|
+
* - `short-iso`: Returns the date in the format `YYYY-MM-DD`.
|
|
257
|
+
* - `timestamp`: Returns the date as a timestamp.
|
|
258
|
+
*
|
|
259
|
+
* @default 'full-iso'
|
|
260
|
+
*/
|
|
261
|
+
returnFormat: DatePickerProps['returnFormat'];
|
|
262
|
+
/**
|
|
263
|
+
* Validation status type.
|
|
264
|
+
*/
|
|
265
|
+
status: DatePickerProps['status'];
|
|
266
|
+
/**
|
|
267
|
+
* Array with the week days to be used to render the calendar.
|
|
268
|
+
*/
|
|
269
|
+
weekDays: DatePickerProps['weekDays'];
|
|
270
|
+
/**
|
|
271
|
+
* The start day of the week used to render the calendar.
|
|
272
|
+
* @default 'sunday'
|
|
273
|
+
*/
|
|
274
|
+
weekStart: DatePickerProps['weekStart'];
|
|
275
|
+
/**
|
|
276
|
+
* Current selection.
|
|
277
|
+
*/
|
|
278
|
+
selection: [number | null, number | null];
|
|
279
|
+
calendar: Calendar;
|
|
280
|
+
private field;
|
|
281
|
+
/**
|
|
282
|
+
* Date formatter for the display value.
|
|
283
|
+
*/
|
|
284
|
+
protected displayValueFormatter: CalendarDateFormatter<string>;
|
|
285
|
+
/**
|
|
286
|
+
* Date formatter for the form value.
|
|
287
|
+
*/
|
|
288
|
+
protected formValueFormatter: CalendarDateFormatter;
|
|
289
|
+
static define(): void;
|
|
290
|
+
constructor();
|
|
291
|
+
createRenderRoot(): DocumentFragment | HTMLElement;
|
|
292
|
+
connectedCallback(): Promise<void>;
|
|
293
|
+
disconnectedCallback(): void;
|
|
294
|
+
update(changedProperties: PropertyValues<this>): void;
|
|
295
|
+
getReferenceElement(): HTMLInputElement | null;
|
|
296
|
+
getFloatingElement(): HTMLElement | null;
|
|
297
|
+
getArrowElement(): null;
|
|
298
|
+
getFloatingOffset(): {
|
|
299
|
+
crossAxis: number;
|
|
300
|
+
mainAxis: number;
|
|
301
|
+
};
|
|
302
|
+
protected renderPicker(): TemplateResult<1>;
|
|
303
|
+
renderCalendar(): TemplateResult<1>;
|
|
304
|
+
renderActions(): symbol | TemplateResult<1>;
|
|
305
|
+
protected renderPresets(): symbol | TemplateResult<1>;
|
|
306
|
+
protected renderFooter(): symbol | TemplateResult<1>;
|
|
307
|
+
render(): TemplateResult<1>;
|
|
308
|
+
get triggers(): HTMLInputElement[];
|
|
309
|
+
get dialogMessage(): HTMLDivElement | null;
|
|
310
|
+
get queried(): HTMLButtonElement[];
|
|
311
|
+
get value(): number | string | [string | number | null, string | number | null] | null;
|
|
312
|
+
set value(value: number | string | [string | number | null, string | number | null] | null);
|
|
313
|
+
/**
|
|
314
|
+
* Imperatively pick date/date range.
|
|
315
|
+
* This is here to be used especifically for testing purposes.
|
|
316
|
+
*/
|
|
317
|
+
pick: (value: number | [number | null, number | null]) => void;
|
|
318
|
+
clear: () => Promise<void>;
|
|
319
|
+
expand: (args?: {
|
|
320
|
+
focusOnTrigger?: boolean;
|
|
321
|
+
}) => Promise<void>;
|
|
322
|
+
collapse(args?: {
|
|
323
|
+
focusOnTrigger?: boolean;
|
|
324
|
+
}): Promise<void>;
|
|
325
|
+
/**
|
|
326
|
+
* Toggle select menu.
|
|
327
|
+
*/
|
|
328
|
+
toggle: (args?: {
|
|
329
|
+
focusOnTrigger?: boolean;
|
|
330
|
+
}) => Promise<void>;
|
|
331
|
+
protected initialize(value?: string | null): void;
|
|
332
|
+
protected getSelected: () => HTMLButtonElement | null;
|
|
333
|
+
protected handleDayClick: (timestamp: number) => void;
|
|
334
|
+
protected handleValueChange: (value: [number | null, number | null] | null) => boolean;
|
|
335
|
+
protected handleClear: () => void;
|
|
336
|
+
protected setDialogMessage: (message: string) => void;
|
|
337
|
+
protected clearDialogMessage: () => void;
|
|
338
|
+
protected formatDateValue: (value: number | null) => string;
|
|
339
|
+
protected updatePicker: () => void;
|
|
340
|
+
formResetCallback(): void;
|
|
341
|
+
formStateRestoreCallback(state: string): void;
|
|
342
|
+
formDisabledCallback(disabled: boolean): void;
|
|
343
|
+
/**
|
|
344
|
+
* Select date by value.
|
|
345
|
+
* This can also be used for testing purposes.
|
|
346
|
+
*/
|
|
347
|
+
pickDate: (value?: number | null) => void;
|
|
348
|
+
}
|
|
349
|
+
declare global {
|
|
350
|
+
interface HTMLElementTagNameMap {
|
|
351
|
+
'm-date-picker': DatePicker;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type CalendarSelection = [
|
|
2
|
+
string | number | null,
|
|
3
|
+
string | number | null
|
|
4
|
+
];
|
|
5
|
+
/**
|
|
6
|
+
* The format of the date to return when the date picker is used as a form control.
|
|
7
|
+
*
|
|
8
|
+
* - `full-iso`: Returns the date in the format `YYYY-MM-DDTHH:mm:ss.sss`.
|
|
9
|
+
* - `short-iso`: Returns the date in the format `YYYY-MM-DD`.
|
|
10
|
+
* - `timestamp`: Returns the date as a timestamp.
|
|
11
|
+
*
|
|
12
|
+
* @default 'full-iso'
|
|
13
|
+
*/
|
|
14
|
+
export type DatePickerReturnFormat = 'full-iso' | 'short-iso' | 'timestamp';
|