@esri/calcite-components 6.0.0-next.45 → 6.0.0-next.46
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/dist/cdn/{NDAIR3XA.js → 2GWNPJCU.js} +1 -1
- package/dist/cdn/{G7TG6NG6.js → 2KWXVHHR.js} +1 -1
- package/dist/cdn/{7G7EMTUF.js → 3RH67CDR.js} +1 -1
- package/dist/cdn/{HKQLIXK4.js → 4MGMV2CD.js} +1 -1
- package/dist/cdn/{7LX2HH4J.js → 536Q3W3O.js} +1 -1
- package/dist/cdn/{B7WSIKMX.js → 54B35BBQ.js} +1 -1
- package/dist/cdn/{M5M2KVGR.js → 54PEVOT6.js} +1 -1
- package/dist/cdn/{FIMAKXGQ.js → 55WOTGCY.js} +1 -1
- package/dist/cdn/{2BIOP4MZ.js → 57HPNYPL.js} +1 -1
- package/dist/cdn/{BBT33BLB.js → 5DYLNIMS.js} +1 -1
- package/dist/cdn/5KXWCZAS.js +4 -0
- package/dist/cdn/{MFE2PLXT.js → 5UQFY5XR.js} +1 -1
- package/dist/cdn/{DWZ74JD7.js → 66SOCFAT.js} +1 -1
- package/dist/cdn/{ITBA55JA.js → 6AKTAHUS.js} +1 -1
- package/dist/cdn/{XBCDGCEZ.js → 6LBEX6AB.js} +1 -1
- package/dist/cdn/{HW4DTINV.js → 6Q7QR4UU.js} +1 -1
- package/dist/cdn/{WPEOUBDT.js → 6WE4QYUX.js} +1 -1
- package/dist/cdn/{YRR3PUGK.js → 7BC364WX.js} +1 -1
- package/dist/cdn/{ROTQFWHY.js → 7Y4TF3AX.js} +1 -1
- package/dist/cdn/{2H2OYEBM.js → AM4VPYFA.js} +1 -1
- package/dist/cdn/{CAUI7BYL.js → ASXRPCJB.js} +1 -1
- package/dist/cdn/{7GBJQ4FI.js → AU5DLGII.js} +1 -1
- package/dist/cdn/{34CJLGUM.js → AZQPYZKF.js} +1 -1
- package/dist/cdn/{JOSWADID.js → B2XYWKFW.js} +1 -1
- package/dist/cdn/{FQCIOXC6.js → BEJMUC3W.js} +1 -1
- package/dist/cdn/{UI2FYJXI.js → BEMPSWZH.js} +1 -1
- package/dist/cdn/{MLS526NK.js → BXSGEW7M.js} +1 -1
- package/dist/cdn/{ERJB3YHY.js → C44U3WON.js} +1 -1
- package/dist/cdn/{SFIHVHUM.js → C72PAGEU.js} +1 -1
- package/dist/cdn/{QE7VKFYE.js → CIMM5EHR.js} +1 -1
- package/dist/cdn/{VCZSRR5D.js → CO5B7PPE.js} +1 -1
- package/dist/cdn/{XYJIYNCG.js → CTB7NMOP.js} +1 -1
- package/dist/cdn/{VAXMIDPA.js → DIUDA6T3.js} +1 -1
- package/dist/cdn/{A2EQLDFB.js → DJOEMGW5.js} +1 -1
- package/dist/cdn/{2FBLLPR3.js → E4JAEOLX.js} +1 -1
- package/dist/cdn/{CRPPRHQB.js → E4VTC53J.js} +1 -1
- package/dist/cdn/{C7VNQIOE.js → EED4H4ZJ.js} +1 -1
- package/dist/cdn/{DZVMWCOM.js → EKFFSBPC.js} +1 -1
- package/dist/cdn/{RWZC2XKT.js → EQPAUP6B.js} +1 -1
- package/dist/cdn/ET5BRIOF.js +2 -0
- package/dist/cdn/{LHJ5CGO4.js → F66DZIMH.js} +1 -1
- package/dist/cdn/{KHKYZGRZ.js → FAXIOVEV.js} +1 -1
- package/dist/cdn/{UI6AYIRK.js → FJCH3FFF.js} +1 -1
- package/dist/cdn/{ZEZAVNIG.js → FSK7PPUB.js} +1 -1
- package/dist/cdn/{NLCNLC4I.js → FTJK6UTW.js} +1 -1
- package/dist/cdn/{QBGRBD75.js → G5HQCWN7.js} +1 -1
- package/dist/cdn/{MX5BTLD5.js → G6CL2TZP.js} +1 -1
- package/dist/cdn/{YTX53CIX.js → GBHV7UB7.js} +1 -1
- package/dist/cdn/{AZQ6AVBH.js → GMFI7KCV.js} +1 -1
- package/dist/cdn/{RF2EH4W5.js → GZ2WKK2P.js} +1 -1
- package/dist/cdn/{ZTDESRDK.js → H66QM7TN.js} +1 -1
- package/dist/cdn/{FZHXD6BS.js → HP7XESXK.js} +1 -1
- package/dist/cdn/{QXKA464H.js → I267WTBZ.js} +1 -1
- package/dist/cdn/{FCT5GPFK.js → IGECXJY5.js} +1 -1
- package/dist/cdn/{X6F6GYSO.js → IIOT34VO.js} +1 -1
- package/dist/cdn/{KE6XDJG4.js → IK4CWSF6.js} +1 -1
- package/dist/cdn/{ZTACZSAI.js → IQLO5XRY.js} +1 -1
- package/dist/cdn/{453XPXSM.js → IWVHGBUR.js} +1 -1
- package/dist/cdn/{V7LESKPF.js → J22KIVYJ.js} +1 -1
- package/dist/cdn/{7A7RZ6FX.js → JB7WHUVP.js} +1 -1
- package/dist/cdn/{JGOE7QEG.js → JMWJKQE3.js} +1 -1
- package/dist/cdn/{TQ57Q3JQ.js → JPHW77RB.js} +1 -1
- package/dist/cdn/{6B3MOZIA.js → JPQSSQMW.js} +1 -1
- package/dist/cdn/{AMB3M3OP.js → JWIWU772.js} +1 -1
- package/dist/cdn/{TBJXZCJK.js → JWRYVJUD.js} +1 -1
- package/dist/cdn/{6XG4QOCM.js → KIXUBI7A.js} +1 -1
- package/dist/cdn/{6WNKZVIE.js → KR5QRAZM.js} +1 -1
- package/dist/cdn/{L3HMVANK.js → KYY36XYF.js} +1 -1
- package/dist/cdn/{RLS4LQWH.js → LI2FQWYL.js} +1 -1
- package/dist/cdn/{SWMMD4H5.js → LVWYQI77.js} +1 -1
- package/dist/cdn/{LR56TC5M.js → LZQMZ4TH.js} +1 -1
- package/dist/cdn/{6HJWDZHT.js → M246Q4H5.js} +1 -1
- package/dist/cdn/{PREALUNT.js → M5M3XMFB.js} +1 -1
- package/dist/cdn/{PWZGFWOM.js → MGE7JFNC.js} +1 -1
- package/dist/cdn/{F5S6VMMZ.js → MIF5NSHB.js} +1 -1
- package/dist/cdn/{Z6TJIXO7.js → MJAK65JX.js} +1 -1
- package/dist/cdn/{K5NVTVMK.js → MYDKINOW.js} +1 -1
- package/dist/cdn/{C4BG4VYS.js → MYJTLWCJ.js} +1 -1
- package/dist/cdn/{X6U5ODAE.js → NDBTQ5YZ.js} +1 -1
- package/dist/cdn/{T2Q5VTYE.js → NGUD2GI2.js} +1 -1
- package/dist/cdn/{FRZORQAM.js → NIHGJTFV.js} +1 -1
- package/dist/cdn/{34MDAXOX.js → NJU4CJ3L.js} +1 -1
- package/dist/cdn/{26DODVH5.js → NMC27PMN.js} +1 -1
- package/dist/cdn/{4HUPCETD.js → NMXY6OTC.js} +1 -1
- package/dist/cdn/{V7LEFNX3.js → NSQK4DWU.js} +1 -1
- package/dist/cdn/{MTM7VABB.js → NTFEJXLW.js} +1 -1
- package/dist/cdn/{R6XPJG3I.js → O4JIA7J3.js} +1 -1
- package/dist/cdn/{2HVWMIXF.js → ODAW3SA7.js} +1 -1
- package/dist/cdn/{RL3MGXVK.js → OTYTHQIX.js} +1 -1
- package/dist/cdn/{EBRZUBPI.js → P2UJWGW4.js} +1 -1
- package/dist/cdn/{BGNMVMTJ.js → PJDRQM5E.js} +1 -1
- package/dist/cdn/{XSN6ROXT.js → POONBKJM.js} +1 -1
- package/dist/cdn/{4IHIALNQ.js → QCX2TEX2.js} +1 -1
- package/dist/cdn/{VF7KL4A5.js → QGJSQ5BP.js} +1 -1
- package/dist/cdn/{F7WX2UIN.js → QHOUOQ7P.js} +1 -1
- package/dist/cdn/{YYB3V3FA.js → QOMOSGUU.js} +1 -1
- package/dist/cdn/{O7PNJVUF.js → QSTP2DBA.js} +1 -1
- package/dist/cdn/{3YJNMDNR.js → R2Z7T5ZQ.js} +1 -1
- package/dist/cdn/{YVXV3GZT.js → R4REM7OQ.js} +1 -1
- package/dist/cdn/{KZAKOROX.js → RAL4RKII.js} +1 -1
- package/dist/cdn/{M37EX7MP.js → RJF6IZCZ.js} +1 -1
- package/dist/cdn/{P54FRB23.js → RS35OTCN.js} +1 -1
- package/dist/cdn/{U4XDMTIM.js → RUNPPOC4.js} +1 -1
- package/dist/cdn/{5L3SBVVK.js → RUNVW545.js} +1 -1
- package/dist/cdn/{GAHDUXCB.js → RXPYPA6O.js} +1 -1
- package/dist/cdn/{3ABKL52M.js → SEE32DST.js} +1 -1
- package/dist/cdn/{CNNZUX2A.js → SM2B5B6A.js} +1 -1
- package/dist/cdn/{MZAV4AQ7.js → SR5TE6K2.js} +1 -1
- package/dist/cdn/{WTZT5KRN.js → SUCUYWQ7.js} +1 -1
- package/dist/cdn/{4JDB4ESH.js → SUSGEJSH.js} +1 -1
- package/dist/cdn/{3M6M4U5C.js → TAAPGIQQ.js} +1 -1
- package/dist/cdn/{EWTLQ7IM.js → THHKY4JC.js} +1 -1
- package/dist/cdn/{SJLU737V.js → TKL65RYS.js} +1 -1
- package/dist/cdn/{4L4QYBCT.js → TPKYOVSE.js} +1 -1
- package/dist/cdn/{OXX6CCPA.js → TYQDJ37Y.js} +1 -1
- package/dist/cdn/{VM4COOKU.js → U2TTDPZH.js} +1 -1
- package/dist/cdn/{LSA3PERR.js → UCY2RQLZ.js} +1 -1
- package/dist/cdn/{4MB4W6QQ.js → ULQAU2WE.js} +1 -1
- package/dist/cdn/{6JYFRCL2.js → UQ47HQRD.js} +1 -1
- package/dist/cdn/{Z3UOGATM.js → URG7T4ER.js} +1 -1
- package/dist/cdn/{ONR4D7M6.js → URSEMICR.js} +1 -1
- package/dist/cdn/{XZ2QTCWH.js → USBY7JLW.js} +1 -1
- package/dist/cdn/{V3TWPU3T.js → UTJ56NOT.js} +1 -1
- package/dist/cdn/{KLA3MAFG.js → UTUIW3MD.js} +1 -1
- package/dist/cdn/{3JFXFQ2P.js → UUTZWRQT.js} +1 -1
- package/dist/cdn/{NEXZINWS.js → UXX5OZY4.js} +1 -1
- package/dist/cdn/{ITCOUUXS.js → VSU7RAOV.js} +1 -1
- package/dist/cdn/{FQF5KOVN.js → VW6EBA5C.js} +1 -1
- package/dist/cdn/{6SX3ITD4.js → W7XV5RWX.js} +1 -1
- package/dist/cdn/{KUEPNPKO.js → WATCY47J.js} +1 -1
- package/dist/cdn/{GUKXTXVN.js → WUI7B3LN.js} +1 -1
- package/dist/cdn/{D6CAUHNL.js → X3C3OD2R.js} +1 -1
- package/dist/cdn/{LDDO47AD.js → XBLARWUV.js} +1 -1
- package/dist/cdn/{DMECBOWN.js → XC67A255.js} +1 -1
- package/dist/cdn/{7EMKTKXE.js → YE4HKJGD.js} +1 -1
- package/dist/cdn/{QCI7E7NI.js → YSQHGDQV.js} +1 -1
- package/dist/cdn/{PXZ2XIID.js → ZITMW4EK.js} +1 -1
- package/dist/cdn/{XPWLA23P.js → ZKZOZFRF.js} +1 -1
- package/dist/cdn/{ENQD4KJA.js → ZOMN64VJ.js} +1 -1
- package/dist/cdn/{JJJBNWTY.js → ZSDVPK3W.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useTime.js +1 -3
- package/dist/components/calcite-accordion/customElement.js +3 -1
- package/dist/components/calcite-accordion-item/customElement.js +3 -1
- package/dist/components/calcite-action-bar/customElement.js +6 -1
- package/dist/components/calcite-action-group/customElement.d.ts +0 -3
- package/dist/components/calcite-action-group/customElement.js +4 -1
- package/dist/components/calcite-action-menu/customElement.d.ts +40 -6
- package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -1
- package/dist/components/calcite-block-group/customElement.js +25 -5
- package/dist/components/calcite-color-picker/utils.d.ts +2 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +21 -3
- package/dist/components/calcite-combobox/customElement.js +10 -3
- package/dist/components/calcite-combobox/types.d.ts +1 -0
- package/dist/components/calcite-combobox-item/customElement.d.ts +5 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +5 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +6 -2
- package/dist/components/calcite-dialog/customElement.js +8 -2
- package/dist/components/calcite-dropdown/customElement.js +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +7 -2
- package/dist/components/calcite-dropdown-item/customElement.js +3 -1
- package/dist/components/calcite-flow/customElement.js +4 -1
- package/dist/components/calcite-graph/customElement.d.ts +22 -3
- package/dist/components/calcite-graph/types.d.ts +7 -7
- package/dist/components/calcite-icon/types.d.ts +4 -4
- package/dist/components/calcite-inline-editable/customElement.js +7 -2
- package/dist/components/calcite-input-date-picker/customElement.js +4 -1
- package/dist/components/calcite-input-time-picker/customElement.js +4 -1
- package/dist/components/calcite-input-time-zone/customElement.js +4 -1
- package/dist/components/calcite-list/customElement.js +16 -2
- package/dist/components/calcite-list-item/customElement.js +9 -2
- package/dist/components/calcite-list-item-group/customElement.js +3 -1
- package/dist/components/calcite-loader/customElement.d.ts +0 -3
- package/dist/components/calcite-menu/customElement.d.ts +3 -3
- package/dist/components/calcite-menu-item/customElement.js +4 -1
- package/dist/components/calcite-meter/customElement.d.ts +0 -3
- package/dist/components/calcite-navigation/customElement.js +13 -1
- package/dist/components/calcite-panel/customElement.js +4 -1
- package/dist/components/calcite-sheet/customElement.d.ts +0 -3
- package/dist/components/calcite-sheet/customElement.js +25 -6
- package/dist/components/calcite-shell/customElement.js +4 -1
- package/dist/components/calcite-shell-panel/customElement.d.ts +1 -10
- package/dist/components/calcite-shell-panel/customElement.js +19 -5
- package/dist/components/calcite-slider/customElement.js +14 -4
- package/dist/components/calcite-sort-handle/customElement.d.ts +81 -14
- package/dist/components/calcite-sort-handle/types.d.ts +14 -3
- package/dist/components/calcite-split-button/customElement.js +4 -1
- package/dist/components/calcite-stack/customElement.d.ts +12 -2
- package/dist/components/calcite-stepper/customElement.js +4 -1
- package/dist/components/calcite-stepper-item/customElement.js +3 -1
- package/dist/components/calcite-tab-nav/customElement.js +3 -1
- package/dist/components/calcite-tab-title/customElement.js +6 -2
- package/dist/components/calcite-table/customElement.js +3 -1
- package/dist/components/calcite-table-row/customElement.js +3 -1
- package/dist/components/calcite-text/customElement.d.ts +3 -3
- package/dist/components/calcite-text-area/customElement.js +3 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +0 -3
- package/dist/components/calcite-tree-item/customElement.js +3 -1
- package/dist/components/types.d.ts +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +2 -9
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -13
- package/dist/types/preact.d.ts +2 -15
- package/dist/types/react.d.ts +2 -17
- package/dist/types/stencil.d.ts +2 -13
- package/dist/utils/config.d.ts +16 -16
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/floating-ui.d.ts +7 -7
- package/dist/utils/locale.d.ts +3 -3
- package/dist/utils/time.d.ts +1 -3
- package/package.json +7 -7
- package/dist/cdn/RRBGCYLX.js +0 -2
- package/dist/cdn/Y5PMHXQ3.js +0 -4
- package/dist/components/calcite-date-picker-day/customElement.d.ts +0 -77
- package/dist/components/calcite-date-picker-day/index.d.ts +0 -1
- package/dist/components/calcite-date-picker-month/customElement.d.ts +0 -40
- package/dist/components/calcite-date-picker-month/index.d.ts +0 -1
- package/dist/controllers/useTime.d.ts +0 -136
- package/dist/utils/dom.d.ts +0 -19
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../types.js";
|
|
4
|
-
|
|
5
|
-
export abstract class DatePickerDay extends LitElement {
|
|
6
|
-
/**
|
|
7
|
-
* When `true`, the component is active.
|
|
8
|
-
*
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
accessor active: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Date is in the current month.
|
|
14
|
-
*
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
accessor currentMonth: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Day of the month to be shown.
|
|
20
|
-
*
|
|
21
|
-
* @required
|
|
22
|
-
*/
|
|
23
|
-
accessor day: number;
|
|
24
|
-
/**
|
|
25
|
-
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
26
|
-
*
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
accessor disabled: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Date is the end of date range.
|
|
32
|
-
*
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
accessor endOfRange: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Date is currently highlighted as part of the range,
|
|
38
|
-
*
|
|
39
|
-
* @default false
|
|
40
|
-
*/
|
|
41
|
-
accessor highlighted: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* When `true`, activates the component's range mode to allow a start and end date.
|
|
44
|
-
*
|
|
45
|
-
* @default false
|
|
46
|
-
*/
|
|
47
|
-
accessor range: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Date is being hovered and within the set range.
|
|
50
|
-
*
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
accessor rangeHover: boolean;
|
|
54
|
-
/** Specifies the size of the component. */
|
|
55
|
-
accessor scale: Scale;
|
|
56
|
-
/**
|
|
57
|
-
* When `true`, the component is selected.
|
|
58
|
-
*
|
|
59
|
-
* @default false
|
|
60
|
-
*/
|
|
61
|
-
accessor selected: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Date is the start of date range.
|
|
64
|
-
*
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
accessor startOfRange: boolean;
|
|
68
|
-
/** The component's value. */
|
|
69
|
-
accessor value: Date;
|
|
70
|
-
/**
|
|
71
|
-
* Sets focus on the component.
|
|
72
|
-
*
|
|
73
|
-
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
74
|
-
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
75
|
-
*/
|
|
76
|
-
setFocus(options?: FocusOptions): Promise<void>;
|
|
77
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { HoverRange } from "../../utils/date.js";
|
|
4
|
-
import type { Scale } from "../types.js";
|
|
5
|
-
import type { HeadingLevel } from "../functional/Heading.js";
|
|
6
|
-
|
|
7
|
-
export abstract class DatePickerMonth extends LitElement {
|
|
8
|
-
/** The currently active Date. */
|
|
9
|
-
accessor activeDate: Date;
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the number of calendars displayed when `range` is `true`.
|
|
12
|
-
*
|
|
13
|
-
* @default 2
|
|
14
|
-
*/
|
|
15
|
-
accessor calendars: 1 | 2;
|
|
16
|
-
/** End date currently active. */
|
|
17
|
-
accessor endDate: Date | undefined;
|
|
18
|
-
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
19
|
-
accessor headingLevel: HeadingLevel;
|
|
20
|
-
/** The range of dates currently being hovered. */
|
|
21
|
-
accessor hoverRange: HoverRange | undefined;
|
|
22
|
-
/** Specifies the latest allowed date (`"yyyy-mm-dd"`). */
|
|
23
|
-
accessor max: Date | undefined;
|
|
24
|
-
/** Specifies the earliest allowed date (`"yyyy-mm-dd"`). */
|
|
25
|
-
accessor min: Date | undefined;
|
|
26
|
-
/** Specifies the monthStyle used by the component. */
|
|
27
|
-
accessor monthStyle: "abbreviated" | "wide";
|
|
28
|
-
/**
|
|
29
|
-
* When `true`, activates the component's range mode which renders two calendars for selecting ranges of dates.
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
accessor range: boolean;
|
|
34
|
-
/** Specifies the size of the component. */
|
|
35
|
-
accessor scale: Scale;
|
|
36
|
-
/** Already selected date. */
|
|
37
|
-
accessor selectedDate: Date | undefined;
|
|
38
|
-
/** Start date currently active. */
|
|
39
|
-
accessor startDate: Date | undefined;
|
|
40
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import type { PropertyValues } from "lit";
|
|
2
|
-
import type { GenericController, T9nMeta } from "@arcgis/lumina/controllers";
|
|
3
|
-
import type { GenericT9nStrings } from "@arcgis/toolkit/intl";
|
|
4
|
-
import type { LitElement, EventEmitter } from "@arcgis/lumina";
|
|
5
|
-
import type { EffectiveHourFormat, HourFormat, Meridiem } from "../utils/time.js";
|
|
6
|
-
import type { Locale, NumberingSystem } from "../utils/locale.js";
|
|
7
|
-
|
|
8
|
-
export const useTime: (component: LitElement & TimeComponent) => TimeController;
|
|
9
|
-
|
|
10
|
-
export interface TimeComponent extends LitElement {
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the component's hour format.
|
|
13
|
-
*
|
|
14
|
-
* - `"user"` displays the user's locale format.
|
|
15
|
-
* - `"12"` displays a 12-hour format.
|
|
16
|
-
* - `"24"` displays a 24-hour format.
|
|
17
|
-
*/
|
|
18
|
-
hourFormat: HourFormat;
|
|
19
|
-
/**
|
|
20
|
-
* Translated messages and locale information
|
|
21
|
-
*
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
messages: Partial<GenericT9nStrings> | T9nMeta<GenericT9nStrings>;
|
|
25
|
-
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
26
|
-
numberingSystem: NumberingSystem;
|
|
27
|
-
/** Specifies the granularity the component's `value` must adhere to (in seconds). */
|
|
28
|
-
step: number;
|
|
29
|
-
/** The component's time value in ISO (24-hour) format. */
|
|
30
|
-
value: string | null;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export class TimeController extends GenericController<TimeProperties, TimeComponent> {
|
|
34
|
-
calciteTimeChange: EventEmitter<string>;
|
|
35
|
-
fractionalSecond?: string | null;
|
|
36
|
-
handleFractionalSecondKeyDownEvent: (event: KeyboardEvent) => void;
|
|
37
|
-
handleHourKeyDownEvent: (event: KeyboardEvent) => void;
|
|
38
|
-
handleMeridiemKeyDownEvent: (event: KeyboardEvent) => void;
|
|
39
|
-
handleMinuteKeyDownEvent: (event: KeyboardEvent) => void;
|
|
40
|
-
handleSecondKeyDownEvent: (event: KeyboardEvent) => void;
|
|
41
|
-
get hasValue(): boolean;
|
|
42
|
-
hour?: string | null;
|
|
43
|
-
hourFormat?: EffectiveHourFormat | null;
|
|
44
|
-
locale?: Locale | null;
|
|
45
|
-
/** @default "." */
|
|
46
|
-
localizedDecimalSeparator: string;
|
|
47
|
-
localizedFractionalSecond?: string | null;
|
|
48
|
-
localizedHour?: string | null;
|
|
49
|
-
localizedHourSuffix?: string | null;
|
|
50
|
-
localizedMeridiem?: string | null;
|
|
51
|
-
localizedMinute?: string | null;
|
|
52
|
-
localizedMinuteSuffix?: string | null;
|
|
53
|
-
localizedSecond?: string | null;
|
|
54
|
-
localizedSecondSuffix?: string | null;
|
|
55
|
-
meridiem?: Meridiem | null;
|
|
56
|
-
meridiemOrder?: number | null;
|
|
57
|
-
minute?: string | null;
|
|
58
|
-
second?: string | null;
|
|
59
|
-
/** @default false */
|
|
60
|
-
userChangedValue: boolean;
|
|
61
|
-
decrementHour(): void;
|
|
62
|
-
decrementMinute(): void;
|
|
63
|
-
decrementSecond(): void;
|
|
64
|
-
hostConnected(): void;
|
|
65
|
-
/** @param changes */
|
|
66
|
-
hostUpdate(changes: PropertyValues): void;
|
|
67
|
-
incrementHour(): void;
|
|
68
|
-
incrementMinute(): void;
|
|
69
|
-
incrementSecond(): void;
|
|
70
|
-
/** @param direction */
|
|
71
|
-
nudgeFractionalSecond(direction: "up" | "down"): void;
|
|
72
|
-
/**
|
|
73
|
-
* @param value
|
|
74
|
-
* @param userChangedValue
|
|
75
|
-
*/
|
|
76
|
-
setValue(value: string | null, userChangedValue?: boolean): void;
|
|
77
|
-
/**
|
|
78
|
-
* @param key
|
|
79
|
-
* @param value
|
|
80
|
-
*/
|
|
81
|
-
setValuePart(key: "hour" | "minute" | "second" | "fractionalSecond" | "meridiem", value?: number | string | Meridiem): void;
|
|
82
|
-
/** @param direction */
|
|
83
|
-
toggleMeridiem(direction: "down" | "up"): void;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type TimeProperties = {
|
|
87
|
-
/** Change event that fires when the value is committed on Enter keypress or blur */
|
|
88
|
-
calciteTimeChange: CustomEvent<string>;
|
|
89
|
-
/** The fractional second portion of the time value. */
|
|
90
|
-
fractionalSecond: string;
|
|
91
|
-
/** Returns true if any portion of the time value is truthy. */
|
|
92
|
-
hasValue: boolean;
|
|
93
|
-
/** The hour portion of the time value (in ISO 24-hour format). */
|
|
94
|
-
hour?: string;
|
|
95
|
-
/**
|
|
96
|
-
* The effective hour format, calculated based on the component's hour-format property.
|
|
97
|
-
* The component's hour-format of "user" will resolve to the locale's default hour format.
|
|
98
|
-
*
|
|
99
|
-
* `"12"` displays a 12-hour format, and
|
|
100
|
-
* `"24"` displays a 24-hour format.
|
|
101
|
-
*/
|
|
102
|
-
hourFormat: EffectiveHourFormat;
|
|
103
|
-
/** The language and region code to localize the time value. */
|
|
104
|
-
locale: Locale;
|
|
105
|
-
/** The decimal separator used by the locale. */
|
|
106
|
-
localizedDecimalSeparator: string;
|
|
107
|
-
/** The decimal separator used by the locale. */
|
|
108
|
-
localizedFractionalSecond: string;
|
|
109
|
-
/** The localized fractional second portion of the time value. */
|
|
110
|
-
localizedHour: string;
|
|
111
|
-
/** The hour suffix used by the locale. */
|
|
112
|
-
localizedHourSuffix: string;
|
|
113
|
-
/** The localized meridiem portion of the time value, when hourFormat resolves to 12. */
|
|
114
|
-
localizedMeridiem: string;
|
|
115
|
-
/** The localized minute portion of the time value. */
|
|
116
|
-
localizedMinute: string;
|
|
117
|
-
/** The localized minute suffix used by the locale. */
|
|
118
|
-
localizedMinuteSuffix: string;
|
|
119
|
-
/** The localized second portion of the time value. */
|
|
120
|
-
localizedSecond: string;
|
|
121
|
-
/** The localized second suffix used by the locale. */
|
|
122
|
-
localizedSecondSuffix: string;
|
|
123
|
-
/**
|
|
124
|
-
* The effective meridiem of the time value, when hourFormat resolves to 12.
|
|
125
|
-
*
|
|
126
|
-
* `"AM"` for hours between 0 and 12
|
|
127
|
-
* `"PM"` for hours between 12 and 23
|
|
128
|
-
*/
|
|
129
|
-
meridiem: Meridiem;
|
|
130
|
-
/** An integer representing the order in which the meridiem appears for the locale within an array of values returned by Intl.DateTimeFormat. */
|
|
131
|
-
meridiemOrder: number;
|
|
132
|
-
/** The minute portion of the time value. */
|
|
133
|
-
minute?: string;
|
|
134
|
-
/** The second portion of the time value. */
|
|
135
|
-
second: string;
|
|
136
|
-
};
|
package/dist/utils/dom.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helper to get the first focusable element.
|
|
3
|
-
*
|
|
4
|
-
* @param element - The html element containing focusable elements.
|
|
5
|
-
* @param includeContainer - When true, the container element will be considered as well.
|
|
6
|
-
* @returns the first focusable element.
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export function getFirstFocusable(element: HTMLElement, includeContainer?: boolean): HTMLElement | undefined;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Helper to focus the first focusable element.
|
|
13
|
-
*
|
|
14
|
-
* @param element - The html element containing focusable elements.
|
|
15
|
-
* @param includeContainer - When true, the container element will be considered as well.
|
|
16
|
-
* @param options
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
export function focusFirstFocusable(element: HTMLElement, includeContainer?: boolean, options?: FocusOptions): void;
|