@pine-ds/core 4.10.0 → 4.11.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/components/pds-datepicker.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pds-datepicker.cjs.entry.js +253 -75
- package/dist/cjs/pine-core.cjs.js +1 -1
- package/dist/collection/components/pds-datepicker/date-utils.js +42 -0
- package/dist/collection/components/pds-datepicker/pds-datepicker.js +163 -64
- package/dist/collection/components/pds-datepicker/stories/pds-datepicker.stories.js +11 -0
- package/dist/collection/components/pds-datepicker/value.js +76 -18
- package/dist/docs.json +35 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pds-datepicker.entry.js +253 -75
- package/dist/esm/pine-core.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/pds-datepicker.entry.js +1 -1
- package/dist/esm-es5/pine-core.js +1 -1
- package/dist/pine-core/p-3359a935.entry.js +1 -0
- package/dist/pine-core/p-XK45dzWR.system.js +1 -1
- package/dist/pine-core/p-d4968f9d.system.entry.js +1 -0
- package/dist/pine-core/pine-core.esm.js +1 -1
- package/dist/types/components/pds-datepicker/date-utils.d.ts +19 -0
- package/dist/types/components/pds-datepicker/datepicker-interface.d.ts +2 -1
- package/dist/types/components/pds-datepicker/pds-datepicker.d.ts +30 -5
- package/dist/types/components/pds-datepicker/value.d.ts +14 -2
- package/dist/types/components.d.ts +25 -10
- package/dist/vscode.html-data.json +11 -4
- package/hydrate/index.js +256 -76
- package/hydrate/index.mjs +256 -76
- package/package.json +2 -2
- package/dist/pine-core/p-8436cbfb.entry.js +0 -1
- package/dist/pine-core/p-d47b2a6a.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,g as n,b as a}from"./p-M31tvpDN.js";export{s as setNonce}from"./p-M31tvpDN.js";import"./p-BgNaWLoS.js";(()=>{const n=import.meta.url,a={};return""!==n&&(a.resourcesUrl=new URL(".",n).href),e(a)})().then((async e=>(await n(),a(JSON.parse('[["p-e3de6a1d",[[321,"pds-multiselect",{"componentId":[1,"component-id"],"label":[1],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"searchOptionsLabel":[1,"search-options-label"],"selectedItemsLabel":[1,"selected-items-label"],"optionsLabel":[1,"options-label"],"noOptionsFoundLabel":[1,"no-options-found-label"],"createOptionLabel":[1,"create-option-label"],"createOptionAriaLabel":[1,"create-option-aria-label"],"itemRemovedLabel":[1,"item-removed-label"],"pillRemoveLabel":[1,"pill-remove-label"],"selectedCountLabelOne":[1,"selected-count-label-one"],"selectedCountLabelOther":[1,"selected-count-label-other"],"selectedCountLabels":[1,"selected-count-labels"],"closePanelOnSelect":[4,"close-panel-on-select"],"name":[1],"value":[1040],"disabled":[4],"asyncUrl":[1,"async-url"],"asyncMethod":[1,"async-method"],"debounce":[2],"fetchTimeout":[2,"fetch-timeout"],"maxSelections":[2,"max-selections"],"maxHeight":[1,"max-height"],"triggerWidth":[1,"trigger-width"],"minWidth":[1,"min-width"],"panelWidth":[1,"panel-width"],"hideLabel":[4,"hide-label"],"hideSelectedItems":[4,"hide-selected-items"],"selectedDisplay":[1,"selected-display"],"pillPosition":[1,"pill-position"],"maxInlinePills":[2,"max-inline-pills"],"optionDisplay":[1,"option-display"],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"required":[4],"loading":[1028],"options":[16],"formatResult":[16],"createUrl":[1,"create-url"],"csrfToken":[1,"csrf-token"],"csrfHeaderName":[1,"csrf-header-name"],"optionActions":[4,"option-actions"],"optionActionLabel":[1,"option-action-label"],"optionActionDescription":[1,"option-action-description"],"isOpen":[32],"searchQuery":[32],"highlightedIndex":[32],"internalOptions":[32],"selectedItems":[32],"currentPage":[32],"hasMore":[32],"creating":[32],"removalAnnouncement":[32],"slottedTriggerEl":[32],"setFocus":[64],"clear":[64],"refreshOptions":[64]},[[6,"keydown","handleWindowKeyDown"]],{"debounce":[{"setupDebounce":0}],"value":[{"valueChanged":0}],"options":[{"optionsChanged":0}],"internalOptions":[{"internalOptionsChanged":0}],"isOpen":[{"isOpenChanged":0}],"disabled":[{"disabledChanged":0}]}]]],["p-da8b864a",[[321,"pds-combobox",{"componentId":[1,"component-id"],"name":[513],"customOptionLayouts":[4,"custom-option-layouts"],"customTriggerContent":[4,"custom-trigger-content"],"disabled":[4],"errorMessage":[1,"error-message"],"dropdownPlacement":[1,"dropdown-placement"],"dropdownWidth":[1,"dropdown-width"],"dropdownMount":[1,"dropdown-mount"],"drillInBackLabel":[1,"drill-in-back-label"],"noOptionsFoundLabel":[1,"no-options-found-label"],"flyoutMaxWidth":[1,"flyout-max-width"],"flyoutMinWidth":[1,"flyout-min-width"],"groupDisplay":[1,"group-display"],"helperMessage":[1,"helper-message"],"hideLabel":[4,"hide-label"],"invalid":[4],"label":[1],"maxHeight":[1,"max-height"],"mode":[1],"panelSearch":[4,"panel-search"],"placeholder":[1],"searchOptionsLabel":[1,"search-options-label"],"searchPlaceholder":[1,"search-placeholder"],"trigger":[1],"triggerWidth":[1,"trigger-width"],"triggerVariant":[1,"trigger-variant"],"triggerShape":[1,"trigger-shape"],"truncate":[516],"chipSentiment":[1,"chip-sentiment"],"chipLarge":[4,"chip-large"],"chipIcon":[1,"chip-icon"],"chipDot":[4,"chip-dot"],"value":[1025],"asyncUrl":[1,"async-url"],"asyncMethod":[1,"async-method"],"debounce":[2],"fetchTimeout":[2,"fetch-timeout"],"loading":[1028],"options":[16],"formatResult":[16],"displayText":[32],"filteredItems":[32],"highlightedIndex":[32],"isOpen":[32],"openGroup":[32],"drillDirection":[32],"highlightedGroup":[32],"keyboardNavigating":[32],"revealedGroupLabel":[32],"pointerCanHover":[32],"panelQuery":[32],"flyoutFallback":[32],"selectedOption":[32],"selectedOptionLayoutContent":[32],"selectedOptionChipProps":[32],"internalOptions":[32],"currentPage":[32],"hasMore":[32],"setFocus":[64],"getSelectedValue":[64],"clear":[64]},null,{"groupDisplay":[{"groupDisplayChanged":0}],"openGroup":[{"openGroupChanged":0}],"flyoutFallback":[{"flyoutFallbackChanged":0}],"disabled":[{"disabledChanged":0}],"isOpen":[{"isOpenChanged":0}],"debounce":[{"setupDebounce":0}],"options":[{"optionsChanged":0}],"value":[{"handleValueChange":0}],"selectedOption":[{"handleSelectedOptionChange":0}]}]]],["p-c7a53c4f",[[257,"pds-alert",{"componentId":[1,"component-id"],"heading":[1],"small":[4],"dismissible":[4],"hideIcon":[4,"hide-icon"],"variant":[1],"dismissLabel":[1,"dismiss-label"],"severityLabel":[1,"severity-label"],"hasActionsContent":[32]}]]],["p-124a0a24",[[1,"pds-copytext",{"border":[1540],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]},null,{"border":[{"restoreBorderDefault":0}],"truncate":[{"handleTruncateChange":0}],"value":[{"handleValueChange":0}]}]]],["p-8fb520df",[[257,"pds-table-head",{"indeterminate":[1028],"isSelected":[1028,"is-selected"],"border":[516],"background":[516]}]]],["p-61cfdbb2",[[257,"pds-table-row",{"indeterminate":[1028],"isSelected":[1028,"is-selected"],"hasDivider":[32],"isLastRow":[32]}]]],["p-8436cbfb",[[65,"pds-datepicker",{"applyLabel":[1,"apply-label"],"autoApply":[4,"auto-apply"],"cancelLabel":[1,"cancel-label"],"clearable":[4],"clearLabel":[1,"clear-label"],"componentId":[1,"component-id"],"customRangeLabel":[1,"custom-range-label"],"disabled":[4],"endTimeLabel":[1,"end-time-label"],"errorMessage":[1,"error-message"],"firstDayOfWeek":[2,"first-day-of-week"],"format":[1],"fullWidth":[4,"full-width"],"helperMessage":[1,"helper-message"],"hideLabel":[4,"hide-label"],"hourLabel":[1,"hour-label"],"invalid":[4],"invalidDateMessage":[1,"invalid-date-message"],"maxDateMessage":[1,"max-date-message"],"minDateMessage":[1,"min-date-message"],"label":[1],"locale":[1],"max":[1],"min":[1],"minuteIncrement":[2,"minute-increment"],"minuteLabel":[1,"minute-label"],"monthLabel":[1,"month-label"],"name":[1],"nextMonthLabel":[1,"next-month-label"],"periodLabel":[1,"period-label"],"placeholder":[1],"placement":[1],"presets":[1],"presetsLabel":[1,"presets-label"],"previousMonthLabel":[1,"previous-month-label"],"range":[4],"readonly":[4],"required":[4],"showDropdowns":[4,"show-dropdowns"],"startTimeLabel":[1,"start-time-label"],"timePicker":[4,"time-picker"],"timeLabel":[1,"time-label"],"triggerLabel":[1,"trigger-label"],"value":[1025],"yearLabel":[1,"year-label"],"isOpen":[32],"text":[32],"textError":[32],"activeDate":[32],"viewMonth":[32],"draftStart":[32],"draftEnd":[32],"startTime":[32],"endTime":[32],"previewDate":[32],"open":[64],"close":[64],"setFocus":[64]},null,{"value":[{"valueChanged":0}],"format":[{"contextChanged":0}],"locale":[{"contextChanged":0}],"timePicker":[{"contextChanged":0}],"range":[{"contextChanged":0}],"min":[{"contextChanged":0}],"max":[{"contextChanged":0}],"placement":[{"placementChanged":0}],"required":[{"requiredChanged":0}],"disabled":[{"interactivityChanged":0}],"readonly":[{"interactivityChanged":0}]}]]],["p-8ade17ce",[[257,"pds-dropdown-menu-item",{"componentId":[1,"component-id"],"destructive":[4],"disabled":[516],"download":[1],"href":[1],"informational":[516],"external":[516],"externalLabel":[1,"external-label"],"target":[513],"hasFocus":[32],"clickItem":[64]}]]],["p-a4ce12ef",[[257,"pds-property",{"componentId":[1,"component-id"],"icon":[1]}]]],["p-50ddadbf",[[257,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":[{"handleOpenState":0}]}]]],["p-5946203c",[[1,"pds-avatar",{"alt":[1],"badge":[4],"badgeLabel":[1,"badge-label"],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"initials":[1],"size":[1537],"status":[513],"statusLabel":[1,"status-label"],"statusRing":[4,"status-ring"],"variant":[1537],"triggerLabel":[1,"trigger-label"]},null,{"size":[{"restoreSizeDefault":0}],"variant":[{"restoreVariantDefault":0}]}]]],["p-e1d1b5d8",[[260,"pds-drawer",{"componentId":[1,"component-id"],"open":[1028],"side":[1],"size":[1],"scrollable":[4],"modal":[4],"lightDismiss":[4,"light-dismiss"],"initialFocus":[1,"initial-focus"]},[[0,"pdsModalClose","handleModalClose"],[0,"pdsModalOpen","handleModalOpen"],[5,"pointerdown","handleOutsidePointerDown"]]]]],["p-f354dbac",[[257,"pds-dropdown-menu",{"componentId":[1,"component-id"],"placement":[1],"currentFocusIndex":[32],"hasHeader":[32]},[[6,"keydown","handleEscapeKeyDown"],[6,"keydown","handleTabKeyDown"],[8,"keydown","handleKeyDown"],[8,"click","handleWindowClick"]]]]],["p-db7fb5a3",[[257,"pds-filter",{"componentId":[1,"component-id"],"variant":[1],"icon":[1],"text":[1],"isOpen":[32],"showFilter":[64],"hideFilter":[64]},[[9,"resize","handleWindowResize"],[9,"scroll","handleWindowScroll"],[4,"toggle","handlePopoverToggle"],[4,"click","handleDocumentClick"],[4,"keydown","handleEscapeKey"]]]]],["p-6a1aa8d3",[[262,"pds-radio",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"hasBorder":[4,"has-border"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1],"variant":[1],"_hasImage":[32]}]]],["p-973c3ac0",[[262,"pds-radio-group",{"componentId":[1,"component-id"],"direction":[1],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"gap":[1],"disabled":[4],"invalid":[4],"groupLabel":[1,"group-label"],"name":[1],"required":[4]},[[0,"change","handleRadioChange"]],{"name":[{"handlePropsChange":0}],"disabled":[{"handlePropsChange":0}],"invalid":[{"handlePropsChange":0}],"required":[{"handlePropsChange":0}]}]]],["p-a9d96e22",[[321,"pds-select",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"multiple":[4],"name":[1],"required":[4],"highlight":[516],"value":[1025]},null,{"value":[{"valueChanged":0}],"multiple":[{"multipleChanged":0}]}]]],["p-3610cb3b",[[262,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"showHandle":[1028,"show-handle"]}]]],["p-92115e88",[[321,"pds-switch",{"componentId":[1,"component-id"],"checked":[1028],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1],"hasLabelSlot":[32]},null,{"checked":[{"checkedChanged":0}]}]]],["p-39e57657",[[321,"pds-textarea",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"debounce":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"maxLength":[514,"max-length"],"highlight":[516],"value":[1025],"characterCountLabel":[1,"character-count-label"],"hasFocus":[32],"hasAction":[32],"setFocus":[64]},null,{"debounce":[{"debounceChanged":0}],"value":[{"valueChanged":0}],"maxLength":[{"maxLengthChanged":0}]}]]],["p-2dd30d12",[[257,"pds-toast",{"componentId":[1,"component-id"],"dismissible":[4],"duration":[2],"icon":[1],"type":[1],"dismissLabel":[1,"dismiss-label"],"severityLabel":[1,"severity-label"],"isVisible":[32],"isAnimatingOut":[32],"dismiss":[64]},null,{"duration":[{"handleDurationChange":0}]}]]],["p-7a51f15e",[[260,"mock-pds-modal",{"componentId":[1,"component-id"],"size":[1],"scrollable":[4],"backdropDismiss":[4,"backdrop-dismiss"],"open":[1028],"showModal":[64],"hideModal":[64]}]]],["p-ce9fa14b",[[257,"pds-container",{"size":[1],"tag":[1],"centered":[4]}]]],["p-e7002cee",[[1,"pds-divider",{"componentId":[1,"component-id"],"label":[1],"offset":[1],"vertical":[4]}]]],["p-64bcb378",[[260,"pds-drawer-content"]]],["p-1e3ef425",[[260,"pds-drawer-footer"]]],["p-c9ae7964",[[260,"pds-drawer-header"]]],["p-947582e1",[[1,"pds-dropdown-menu-separator",{"componentId":[1,"component-id"],"disabled":[4]}]]],["p-3c229091",[[257,"pds-filters",{"componentId":[1,"component-id"]}]]],["p-08b8e941",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["p-67999353",[[260,"pds-modal-content",{"border":[1537],"contentMaxHeight":[32]}]]],["p-97653e60",[[260,"pds-modal-footer"]]],["p-8e7f75e6",[[260,"pds-modal-header"]]],["p-d6f338e0",[[257,"pds-popover",{"popoverTargetAction":[1,"popover-target-action"],"openOn":[1,"open-on"],"popoverType":[1,"popover-type"],"componentId":[1,"component-id"],"maxWidth":[2,"max-width"],"padding":[1],"placement":[1537],"active":[32],"show":[64],"hide":[64],"toggle":[64]},null,{"openOn":[{"openOnChanged":0}],"padding":[{"applyPadding":0}],"placement":[{"restorePlacementDefault":0}]}]]],["p-d9719e37",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["p-f71d71ca",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"colGapBlock":[1,"col-gap-block"],"colGapInline":[1,"col-gap-inline"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["p-1f62bb71",[[262,"pds-sortable",{"border":[516],"disabled":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]},null,{"disabled":[{"handleDisabledChange":0}]}]]],["p-99530cb5",[[260,"pds-tab",{"disabled":[4],"href":[1],"active":[4],"target":[1],"turboFrame":[1,"turbo-frame"],"turboAction":[1,"turbo-action"],"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4],"navMode":[4,"nav-mode"]}]]],["p-97b73359",[[257,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"disableSelectAll":[4,"disable-select-all"],"rowDividers":[516,"row-dividers"],"defaultSortColumn":[1,"default-sort-column"],"defaultSortDirection":[1,"default-sort-direction"],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["p-1ca8d183",[[257,"pds-table-body"]]],["p-f6f4fd42",[[260,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028],"stretch":[4]}]]],["p-143b33a6",[[257,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"divider":[4],"stretch":[4],"nav":[4],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["p-bfa34194",[[260,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"maxWidth":[1,"max-width"],"opened":[1540],"_isInteractiveOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":[{"handleOpenToggle":0}]}]]],["p-39276663",[[273,"pds-button",{"componentId":[1,"component-id"],"download":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"loading":[4],"name":[1],"target":[1],"type":[1],"value":[1],"size":[1],"variant":[1],"hasStartContent":[32],"hasEndContent":[32],"forwardedAria":[32]},[[16,"keydown","handleFormKeyDown"]]]]],["p-590df41a",[[321,"pds-input",{"autocomplete":[1],"componentId":[1,"component-id"],"debounce":[2],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"max":[1],"maxlength":[1],"min":[1],"minlength":[1],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"step":[1],"type":[1],"value":[1032],"fullWidth":[4,"full-width"],"highlight":[516],"hasPrefix":[32],"hasSuffix":[32],"hasPrepend":[32],"hasAppend":[32],"hasAction":[32],"hasFocus":[32],"setFocus":[64]},null,{"debounce":[{"debounceChanged":0}],"value":[{"valueChanged":0}]}]]],["p-2a18852f",[[257,"pds-link",{"active":[516],"color":[1],"download":[1],"componentId":[1,"component-id"],"external":[4],"externalLabel":[1,"external-label"],"target":[1],"variant":[1],"fontSize":[1,"font-size"],"href":[1],"turbo":[1],"turboFrame":[1,"turbo-frame"],"turboAction":[1,"turbo-action"],"turboMethod":[1,"turbo-method"],"turboConfirm":[1,"turbo-confirm"],"turboStream":[1,"turbo-stream"],"turboPrefetch":[1,"turbo-prefetch"],"turboPreload":[1,"turbo-preload"]}]]],["p-07323107",[[257,"pds-table-head-cell",{"cellAlign":[1,"cell-align"],"sortable":[4],"sortingDirection":[32],"tableScrolling":[32],"isSelected":[32],"hasHeadBorder":[32],"hasHeadBackground":[32],"isActive":[32],"setActiveSort":[64],"clearActiveSort":[64]}]]],["p-e84fa9ed",[[260,"pds-modal",{"backdropDismiss":[4,"backdrop-dismiss"],"componentId":[1,"component-id"],"open":[1028],"size":[1],"scrollable":[4],"disableTopLayer":[4,"disable-top-layer"],"disableInitialFocus":[4,"disable-initial-focus"],"focusableElementsArray":[32],"showModal":[64],"hideModal":[64]},null,{"size":[{"sizeChanged":0}],"open":[{"handleOpenChange":0}]}]]],["p-97356d4b",[[257,"pds-table-cell",{"cellAlign":[1,"cell-align"],"truncate":[4],"tableScrolling":[32]},null,{"truncate":[{"handleTruncateChange":0}]}]]],["p-dd7ded84",[[257,"pds-chip",{"componentId":[1,"component-id"],"dot":[4],"dotColor":[1,"dot-color"],"icon":[1],"iconColor":[1,"icon-color"],"size":[1],"sentiment":[1],"variant":[1],"removeUrl":[1,"remove-url"],"removeHttpMethod":[1,"remove-http-method"],"removeTarget":[1,"remove-target"],"dismissLabel":[1,"dismiss-label"],"maxWidth":[513,"max-width"]}]]],["p-afc2f165",[[257,"pds-text",{"align":[1],"color":[1],"decoration":[1],"gutter":[1],"italic":[4],"size":[1],"weight":[1],"tag":[1],"truncate":[516]},null,{"truncate":[{"handleTruncateChange":0}],"size":[{"validateSize":0}]}]]],["p-f99bd77f",[[1,"pds-icon",{"color":[1],"flipRtl":[4,"flip-rtl"],"icon":[8],"name":[513],"size":[513],"src":[1],"inheritedAttributes":[32],"isFocusable":[32],"isVisible":[32],"svgContent":[32]},null,{"size":[{"updateStyles":0}],"color":[{"updateStyles":0}],"name":[{"onIconPropertyChange":0}],"src":[{"onIconPropertyChange":0}],"icon":[{"onIconPropertyChange":0}]}]]],["p-128c04e7",[[321,"pds-checkbox",{"checked":[1028],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[1028],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1],"variant":[1],"hasLabelSlot":[32]},null,{"checked":[{"updateIndeterminate":0},{"checkedChanged":0}]}]]],["p-a594c41f",[[257,"pds-loader",{"isLoading":[4,"is-loading"],"showLabel":[4,"show-label"],"size":[1537],"variant":[1]},null,{"size":[{"restoreSizeDefault":0}]}]]],["p-4cfe922b",[[0,"pds-box",{"alignItems":[1,"align-items"],"alignItemsXs":[1,"align-items-xs"],"alignItemsSm":[1,"align-items-sm"],"alignItemsMd":[1,"align-items-md"],"alignItemsLg":[1,"align-items-lg"],"alignItemsXl":[1,"align-items-xl"],"alignSelf":[1,"align-self"],"alignSelfXs":[1,"align-self-xs"],"alignSelfSm":[1,"align-self-sm"],"alignSelfMd":[1,"align-self-md"],"alignSelfLg":[1,"align-self-lg"],"alignSelfXl":[1,"align-self-xl"],"auto":[4],"autoXs":[4,"auto-xs"],"autoSm":[4,"auto-sm"],"autoMd":[4,"auto-md"],"autoLg":[4,"auto-lg"],"autoXl":[4,"auto-xl"],"backgroundColor":[1,"background-color"],"border":[4],"borderBlockEnd":[4,"border-block-end"],"borderBlockStart":[4,"border-block-start"],"borderColor":[1,"border-color"],"borderInlineEnd":[4,"border-inline-end"],"borderInlineStart":[4,"border-inline-start"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"fitXs":[4,"fit-xs"],"fitSm":[4,"fit-sm"],"fitMd":[4,"fit-md"],"fitLg":[4,"fit-lg"],"fitXl":[4,"fit-xl"],"gap":[1],"gapXs":[1,"gap-xs"],"gapSm":[1,"gap-sm"],"gapMd":[1,"gap-md"],"gapLg":[1,"gap-lg"],"gapXl":[1,"gap-xl"],"wrap":[4],"wrapXs":[4,"wrap-xs"],"wrapSm":[4,"wrap-sm"],"wrapMd":[4,"wrap-md"],"wrapLg":[4,"wrap-lg"],"wrapXl":[4,"wrap-xl"],"flex":[1],"justifyContent":[1,"justify-content"],"justifyContentXs":[1,"justify-content-xs"],"justifyContentSm":[1,"justify-content-sm"],"justifyContentMd":[1,"justify-content-md"],"justifyContentLg":[1,"justify-content-lg"],"justifyContentXl":[1,"justify-content-xl"],"marginBlockStart":[1,"margin-block-start"],"marginBlockStartXs":[1,"margin-block-start-xs"],"marginBlockStartSm":[1,"margin-block-start-sm"],"marginBlockStartMd":[1,"margin-block-start-md"],"marginBlockStartLg":[1,"margin-block-start-lg"],"marginBlockStartXl":[1,"margin-block-start-xl"],"marginInlineStart":[1,"margin-inline-start"],"marginInlineStartXs":[1,"margin-inline-start-xs"],"marginInlineStartSm":[1,"margin-inline-start-sm"],"marginInlineStartMd":[1,"margin-inline-start-md"],"marginInlineStartLg":[1,"margin-inline-start-lg"],"marginInlineStartXl":[1,"margin-inline-start-xl"],"marginInlineEnd":[1,"margin-inline-end"],"marginInlineEndXs":[1,"margin-inline-end-xs"],"marginInlineEndSm":[1,"margin-inline-end-sm"],"marginInlineEndMd":[1,"margin-inline-end-md"],"marginInlineEndLg":[1,"margin-inline-end-lg"],"marginInlineEndXl":[1,"margin-inline-end-xl"],"marginBlockEnd":[1,"margin-block-end"],"marginBlockEndXs":[1,"margin-block-end-xs"],"marginBlockEndSm":[1,"margin-block-end-sm"],"marginBlockEndMd":[1,"margin-block-end-md"],"marginBlockEndLg":[1,"margin-block-end-lg"],"marginBlockEndXl":[1,"margin-block-end-xl"],"minHeight":[513,"min-height"],"minWidth":[513,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"paddingXs":[1,"padding-xs"],"paddingSm":[1,"padding-sm"],"paddingMd":[1,"padding-md"],"paddingLg":[1,"padding-lg"],"paddingXl":[1,"padding-xl"],"paddingBlockStart":[1,"padding-block-start"],"paddingBlockStartXs":[1,"padding-block-start-xs"],"paddingBlockStartSm":[1,"padding-block-start-sm"],"paddingBlockStartMd":[1,"padding-block-start-md"],"paddingBlockStartLg":[1,"padding-block-start-lg"],"paddingBlockStartXl":[1,"padding-block-start-xl"],"paddingBlockEnd":[1,"padding-block-end"],"paddingBlockEndXs":[1,"padding-block-end-xs"],"paddingBlockEndSm":[1,"padding-block-end-sm"],"paddingBlockEndMd":[1,"padding-block-end-md"],"paddingBlockEndLg":[1,"padding-block-end-lg"],"paddingBlockEndXl":[1,"padding-block-end-xl"],"paddingInlineStart":[1,"padding-inline-start"],"paddingInlineStartXs":[1,"padding-inline-start-xs"],"paddingInlineStartSm":[1,"padding-inline-start-sm"],"paddingInlineStartMd":[1,"padding-inline-start-md"],"paddingInlineStartLg":[1,"padding-inline-start-lg"],"paddingInlineStartXl":[1,"padding-inline-start-xl"],"paddingInlineEnd":[1,"padding-inline-end"],"paddingInlineEndXs":[1,"padding-inline-end-xs"],"paddingInlineEndSm":[1,"padding-inline-end-sm"],"paddingInlineEndMd":[1,"padding-inline-end-md"],"paddingInlineEndLg":[1,"padding-inline-end-lg"],"paddingInlineEndXl":[1,"padding-inline-end-xl"],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]]]'),e))));
|
|
1
|
+
import{p as e,g as n,b as a}from"./p-M31tvpDN.js";export{s as setNonce}from"./p-M31tvpDN.js";import"./p-BgNaWLoS.js";(()=>{const n=import.meta.url,a={};return""!==n&&(a.resourcesUrl=new URL(".",n).href),e(a)})().then((async e=>(await n(),a(JSON.parse('[["p-e3de6a1d",[[321,"pds-multiselect",{"componentId":[1,"component-id"],"label":[1],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"searchOptionsLabel":[1,"search-options-label"],"selectedItemsLabel":[1,"selected-items-label"],"optionsLabel":[1,"options-label"],"noOptionsFoundLabel":[1,"no-options-found-label"],"createOptionLabel":[1,"create-option-label"],"createOptionAriaLabel":[1,"create-option-aria-label"],"itemRemovedLabel":[1,"item-removed-label"],"pillRemoveLabel":[1,"pill-remove-label"],"selectedCountLabelOne":[1,"selected-count-label-one"],"selectedCountLabelOther":[1,"selected-count-label-other"],"selectedCountLabels":[1,"selected-count-labels"],"closePanelOnSelect":[4,"close-panel-on-select"],"name":[1],"value":[1040],"disabled":[4],"asyncUrl":[1,"async-url"],"asyncMethod":[1,"async-method"],"debounce":[2],"fetchTimeout":[2,"fetch-timeout"],"maxSelections":[2,"max-selections"],"maxHeight":[1,"max-height"],"triggerWidth":[1,"trigger-width"],"minWidth":[1,"min-width"],"panelWidth":[1,"panel-width"],"hideLabel":[4,"hide-label"],"hideSelectedItems":[4,"hide-selected-items"],"selectedDisplay":[1,"selected-display"],"pillPosition":[1,"pill-position"],"maxInlinePills":[2,"max-inline-pills"],"optionDisplay":[1,"option-display"],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"required":[4],"loading":[1028],"options":[16],"formatResult":[16],"createUrl":[1,"create-url"],"csrfToken":[1,"csrf-token"],"csrfHeaderName":[1,"csrf-header-name"],"optionActions":[4,"option-actions"],"optionActionLabel":[1,"option-action-label"],"optionActionDescription":[1,"option-action-description"],"isOpen":[32],"searchQuery":[32],"highlightedIndex":[32],"internalOptions":[32],"selectedItems":[32],"currentPage":[32],"hasMore":[32],"creating":[32],"removalAnnouncement":[32],"slottedTriggerEl":[32],"setFocus":[64],"clear":[64],"refreshOptions":[64]},[[6,"keydown","handleWindowKeyDown"]],{"debounce":[{"setupDebounce":0}],"value":[{"valueChanged":0}],"options":[{"optionsChanged":0}],"internalOptions":[{"internalOptionsChanged":0}],"isOpen":[{"isOpenChanged":0}],"disabled":[{"disabledChanged":0}]}]]],["p-da8b864a",[[321,"pds-combobox",{"componentId":[1,"component-id"],"name":[513],"customOptionLayouts":[4,"custom-option-layouts"],"customTriggerContent":[4,"custom-trigger-content"],"disabled":[4],"errorMessage":[1,"error-message"],"dropdownPlacement":[1,"dropdown-placement"],"dropdownWidth":[1,"dropdown-width"],"dropdownMount":[1,"dropdown-mount"],"drillInBackLabel":[1,"drill-in-back-label"],"noOptionsFoundLabel":[1,"no-options-found-label"],"flyoutMaxWidth":[1,"flyout-max-width"],"flyoutMinWidth":[1,"flyout-min-width"],"groupDisplay":[1,"group-display"],"helperMessage":[1,"helper-message"],"hideLabel":[4,"hide-label"],"invalid":[4],"label":[1],"maxHeight":[1,"max-height"],"mode":[1],"panelSearch":[4,"panel-search"],"placeholder":[1],"searchOptionsLabel":[1,"search-options-label"],"searchPlaceholder":[1,"search-placeholder"],"trigger":[1],"triggerWidth":[1,"trigger-width"],"triggerVariant":[1,"trigger-variant"],"triggerShape":[1,"trigger-shape"],"truncate":[516],"chipSentiment":[1,"chip-sentiment"],"chipLarge":[4,"chip-large"],"chipIcon":[1,"chip-icon"],"chipDot":[4,"chip-dot"],"value":[1025],"asyncUrl":[1,"async-url"],"asyncMethod":[1,"async-method"],"debounce":[2],"fetchTimeout":[2,"fetch-timeout"],"loading":[1028],"options":[16],"formatResult":[16],"displayText":[32],"filteredItems":[32],"highlightedIndex":[32],"isOpen":[32],"openGroup":[32],"drillDirection":[32],"highlightedGroup":[32],"keyboardNavigating":[32],"revealedGroupLabel":[32],"pointerCanHover":[32],"panelQuery":[32],"flyoutFallback":[32],"selectedOption":[32],"selectedOptionLayoutContent":[32],"selectedOptionChipProps":[32],"internalOptions":[32],"currentPage":[32],"hasMore":[32],"setFocus":[64],"getSelectedValue":[64],"clear":[64]},null,{"groupDisplay":[{"groupDisplayChanged":0}],"openGroup":[{"openGroupChanged":0}],"flyoutFallback":[{"flyoutFallbackChanged":0}],"disabled":[{"disabledChanged":0}],"isOpen":[{"isOpenChanged":0}],"debounce":[{"setupDebounce":0}],"options":[{"optionsChanged":0}],"value":[{"handleValueChange":0}],"selectedOption":[{"handleSelectedOptionChange":0}]}]]],["p-c7a53c4f",[[257,"pds-alert",{"componentId":[1,"component-id"],"heading":[1],"small":[4],"dismissible":[4],"hideIcon":[4,"hide-icon"],"variant":[1],"dismissLabel":[1,"dismiss-label"],"severityLabel":[1,"severity-label"],"hasActionsContent":[32]}]]],["p-124a0a24",[[1,"pds-copytext",{"border":[1540],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]},null,{"border":[{"restoreBorderDefault":0}],"truncate":[{"handleTruncateChange":0}],"value":[{"handleValueChange":0}]}]]],["p-8fb520df",[[257,"pds-table-head",{"indeterminate":[1028],"isSelected":[1028,"is-selected"],"border":[516],"background":[516]}]]],["p-61cfdbb2",[[257,"pds-table-row",{"indeterminate":[1028],"isSelected":[1028,"is-selected"],"hasDivider":[32],"isLastRow":[32]}]]],["p-3359a935",[[65,"pds-datepicker",{"applyLabel":[1,"apply-label"],"autoApply":[4,"auto-apply"],"cancelLabel":[1,"cancel-label"],"clearable":[4],"clearLabel":[1,"clear-label"],"componentId":[1,"component-id"],"customRangeLabel":[1,"custom-range-label"],"disabled":[4],"endTimeLabel":[1,"end-time-label"],"errorMessage":[1,"error-message"],"firstDayOfWeek":[2,"first-day-of-week"],"format":[1],"fullWidth":[4,"full-width"],"helperMessage":[1,"helper-message"],"hideLabel":[4,"hide-label"],"hourLabel":[1,"hour-label"],"invalid":[4],"invalidDateMessage":[1,"invalid-date-message"],"maxDateMessage":[1,"max-date-message"],"minDateMessage":[1,"min-date-message"],"label":[1],"locale":[1],"max":[1],"min":[1],"minuteIncrement":[2,"minute-increment"],"minuteLabel":[1,"minute-label"],"monthLabel":[1,"month-label"],"monthDay":[4,"month-day"],"name":[1],"nextMonthLabel":[1,"next-month-label"],"periodLabel":[1,"period-label"],"placeholder":[1],"placement":[1],"presets":[1],"presetsLabel":[1,"presets-label"],"previousMonthLabel":[1,"previous-month-label"],"range":[4],"readonly":[4],"required":[4],"showDropdowns":[4,"show-dropdowns"],"startTimeLabel":[1,"start-time-label"],"timePicker":[4,"time-picker"],"timeLabel":[1,"time-label"],"triggerLabel":[1,"trigger-label"],"value":[1025],"yearLabel":[1,"year-label"],"isOpen":[32],"text":[32],"textError":[32],"activeDate":[32],"viewMonth":[32],"draftStart":[32],"draftEnd":[32],"startTime":[32],"endTime":[32],"previewDate":[32],"open":[64],"close":[64],"setFocus":[64]},null,{"value":[{"valueChanged":0}],"format":[{"contextChanged":0}],"locale":[{"contextChanged":0}],"timePicker":[{"contextChanged":0}],"range":[{"contextChanged":0}],"monthDay":[{"contextChanged":0}],"min":[{"contextChanged":0}],"max":[{"contextChanged":0}],"placement":[{"placementChanged":0}],"required":[{"requiredChanged":0}],"disabled":[{"interactivityChanged":0}],"readonly":[{"interactivityChanged":0}]}]]],["p-8ade17ce",[[257,"pds-dropdown-menu-item",{"componentId":[1,"component-id"],"destructive":[4],"disabled":[516],"download":[1],"href":[1],"informational":[516],"external":[516],"externalLabel":[1,"external-label"],"target":[513],"hasFocus":[32],"clickItem":[64]}]]],["p-a4ce12ef",[[257,"pds-property",{"componentId":[1,"component-id"],"icon":[1]}]]],["p-50ddadbf",[[257,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":[{"handleOpenState":0}]}]]],["p-5946203c",[[1,"pds-avatar",{"alt":[1],"badge":[4],"badgeLabel":[1,"badge-label"],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"initials":[1],"size":[1537],"status":[513],"statusLabel":[1,"status-label"],"statusRing":[4,"status-ring"],"variant":[1537],"triggerLabel":[1,"trigger-label"]},null,{"size":[{"restoreSizeDefault":0}],"variant":[{"restoreVariantDefault":0}]}]]],["p-e1d1b5d8",[[260,"pds-drawer",{"componentId":[1,"component-id"],"open":[1028],"side":[1],"size":[1],"scrollable":[4],"modal":[4],"lightDismiss":[4,"light-dismiss"],"initialFocus":[1,"initial-focus"]},[[0,"pdsModalClose","handleModalClose"],[0,"pdsModalOpen","handleModalOpen"],[5,"pointerdown","handleOutsidePointerDown"]]]]],["p-f354dbac",[[257,"pds-dropdown-menu",{"componentId":[1,"component-id"],"placement":[1],"currentFocusIndex":[32],"hasHeader":[32]},[[6,"keydown","handleEscapeKeyDown"],[6,"keydown","handleTabKeyDown"],[8,"keydown","handleKeyDown"],[8,"click","handleWindowClick"]]]]],["p-db7fb5a3",[[257,"pds-filter",{"componentId":[1,"component-id"],"variant":[1],"icon":[1],"text":[1],"isOpen":[32],"showFilter":[64],"hideFilter":[64]},[[9,"resize","handleWindowResize"],[9,"scroll","handleWindowScroll"],[4,"toggle","handlePopoverToggle"],[4,"click","handleDocumentClick"],[4,"keydown","handleEscapeKey"]]]]],["p-6a1aa8d3",[[262,"pds-radio",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"hasBorder":[4,"has-border"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1],"variant":[1],"_hasImage":[32]}]]],["p-973c3ac0",[[262,"pds-radio-group",{"componentId":[1,"component-id"],"direction":[1],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"gap":[1],"disabled":[4],"invalid":[4],"groupLabel":[1,"group-label"],"name":[1],"required":[4]},[[0,"change","handleRadioChange"]],{"name":[{"handlePropsChange":0}],"disabled":[{"handlePropsChange":0}],"invalid":[{"handlePropsChange":0}],"required":[{"handlePropsChange":0}]}]]],["p-a9d96e22",[[321,"pds-select",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"multiple":[4],"name":[1],"required":[4],"highlight":[516],"value":[1025]},null,{"value":[{"valueChanged":0}],"multiple":[{"multipleChanged":0}]}]]],["p-3610cb3b",[[262,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"showHandle":[1028,"show-handle"]}]]],["p-92115e88",[[321,"pds-switch",{"componentId":[1,"component-id"],"checked":[1028],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1],"hasLabelSlot":[32]},null,{"checked":[{"checkedChanged":0}]}]]],["p-39e57657",[[321,"pds-textarea",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"debounce":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"maxLength":[514,"max-length"],"highlight":[516],"value":[1025],"characterCountLabel":[1,"character-count-label"],"hasFocus":[32],"hasAction":[32],"setFocus":[64]},null,{"debounce":[{"debounceChanged":0}],"value":[{"valueChanged":0}],"maxLength":[{"maxLengthChanged":0}]}]]],["p-2dd30d12",[[257,"pds-toast",{"componentId":[1,"component-id"],"dismissible":[4],"duration":[2],"icon":[1],"type":[1],"dismissLabel":[1,"dismiss-label"],"severityLabel":[1,"severity-label"],"isVisible":[32],"isAnimatingOut":[32],"dismiss":[64]},null,{"duration":[{"handleDurationChange":0}]}]]],["p-7a51f15e",[[260,"mock-pds-modal",{"componentId":[1,"component-id"],"size":[1],"scrollable":[4],"backdropDismiss":[4,"backdrop-dismiss"],"open":[1028],"showModal":[64],"hideModal":[64]}]]],["p-ce9fa14b",[[257,"pds-container",{"size":[1],"tag":[1],"centered":[4]}]]],["p-e7002cee",[[1,"pds-divider",{"componentId":[1,"component-id"],"label":[1],"offset":[1],"vertical":[4]}]]],["p-64bcb378",[[260,"pds-drawer-content"]]],["p-1e3ef425",[[260,"pds-drawer-footer"]]],["p-c9ae7964",[[260,"pds-drawer-header"]]],["p-947582e1",[[1,"pds-dropdown-menu-separator",{"componentId":[1,"component-id"],"disabled":[4]}]]],["p-3c229091",[[257,"pds-filters",{"componentId":[1,"component-id"]}]]],["p-08b8e941",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["p-67999353",[[260,"pds-modal-content",{"border":[1537],"contentMaxHeight":[32]}]]],["p-97653e60",[[260,"pds-modal-footer"]]],["p-8e7f75e6",[[260,"pds-modal-header"]]],["p-d6f338e0",[[257,"pds-popover",{"popoverTargetAction":[1,"popover-target-action"],"openOn":[1,"open-on"],"popoverType":[1,"popover-type"],"componentId":[1,"component-id"],"maxWidth":[2,"max-width"],"padding":[1],"placement":[1537],"active":[32],"show":[64],"hide":[64],"toggle":[64]},null,{"openOn":[{"openOnChanged":0}],"padding":[{"applyPadding":0}],"placement":[{"restorePlacementDefault":0}]}]]],["p-d9719e37",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["p-f71d71ca",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"colGapBlock":[1,"col-gap-block"],"colGapInline":[1,"col-gap-inline"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["p-1f62bb71",[[262,"pds-sortable",{"border":[516],"disabled":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]},null,{"disabled":[{"handleDisabledChange":0}]}]]],["p-99530cb5",[[260,"pds-tab",{"disabled":[4],"href":[1],"active":[4],"target":[1],"turboFrame":[1,"turbo-frame"],"turboAction":[1,"turbo-action"],"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4],"navMode":[4,"nav-mode"]}]]],["p-97b73359",[[257,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"disableSelectAll":[4,"disable-select-all"],"rowDividers":[516,"row-dividers"],"defaultSortColumn":[1,"default-sort-column"],"defaultSortDirection":[1,"default-sort-direction"],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["p-1ca8d183",[[257,"pds-table-body"]]],["p-f6f4fd42",[[260,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028],"stretch":[4]}]]],["p-143b33a6",[[257,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"divider":[4],"stretch":[4],"nav":[4],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["p-bfa34194",[[260,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"maxWidth":[1,"max-width"],"opened":[1540],"_isInteractiveOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":[{"handleOpenToggle":0}]}]]],["p-39276663",[[273,"pds-button",{"componentId":[1,"component-id"],"download":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"loading":[4],"name":[1],"target":[1],"type":[1],"value":[1],"size":[1],"variant":[1],"hasStartContent":[32],"hasEndContent":[32],"forwardedAria":[32]},[[16,"keydown","handleFormKeyDown"]]]]],["p-590df41a",[[321,"pds-input",{"autocomplete":[1],"componentId":[1,"component-id"],"debounce":[2],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"max":[1],"maxlength":[1],"min":[1],"minlength":[1],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"step":[1],"type":[1],"value":[1032],"fullWidth":[4,"full-width"],"highlight":[516],"hasPrefix":[32],"hasSuffix":[32],"hasPrepend":[32],"hasAppend":[32],"hasAction":[32],"hasFocus":[32],"setFocus":[64]},null,{"debounce":[{"debounceChanged":0}],"value":[{"valueChanged":0}]}]]],["p-2a18852f",[[257,"pds-link",{"active":[516],"color":[1],"download":[1],"componentId":[1,"component-id"],"external":[4],"externalLabel":[1,"external-label"],"target":[1],"variant":[1],"fontSize":[1,"font-size"],"href":[1],"turbo":[1],"turboFrame":[1,"turbo-frame"],"turboAction":[1,"turbo-action"],"turboMethod":[1,"turbo-method"],"turboConfirm":[1,"turbo-confirm"],"turboStream":[1,"turbo-stream"],"turboPrefetch":[1,"turbo-prefetch"],"turboPreload":[1,"turbo-preload"]}]]],["p-07323107",[[257,"pds-table-head-cell",{"cellAlign":[1,"cell-align"],"sortable":[4],"sortingDirection":[32],"tableScrolling":[32],"isSelected":[32],"hasHeadBorder":[32],"hasHeadBackground":[32],"isActive":[32],"setActiveSort":[64],"clearActiveSort":[64]}]]],["p-e84fa9ed",[[260,"pds-modal",{"backdropDismiss":[4,"backdrop-dismiss"],"componentId":[1,"component-id"],"open":[1028],"size":[1],"scrollable":[4],"disableTopLayer":[4,"disable-top-layer"],"disableInitialFocus":[4,"disable-initial-focus"],"focusableElementsArray":[32],"showModal":[64],"hideModal":[64]},null,{"size":[{"sizeChanged":0}],"open":[{"handleOpenChange":0}]}]]],["p-97356d4b",[[257,"pds-table-cell",{"cellAlign":[1,"cell-align"],"truncate":[4],"tableScrolling":[32]},null,{"truncate":[{"handleTruncateChange":0}]}]]],["p-dd7ded84",[[257,"pds-chip",{"componentId":[1,"component-id"],"dot":[4],"dotColor":[1,"dot-color"],"icon":[1],"iconColor":[1,"icon-color"],"size":[1],"sentiment":[1],"variant":[1],"removeUrl":[1,"remove-url"],"removeHttpMethod":[1,"remove-http-method"],"removeTarget":[1,"remove-target"],"dismissLabel":[1,"dismiss-label"],"maxWidth":[513,"max-width"]}]]],["p-afc2f165",[[257,"pds-text",{"align":[1],"color":[1],"decoration":[1],"gutter":[1],"italic":[4],"size":[1],"weight":[1],"tag":[1],"truncate":[516]},null,{"truncate":[{"handleTruncateChange":0}],"size":[{"validateSize":0}]}]]],["p-f99bd77f",[[1,"pds-icon",{"color":[1],"flipRtl":[4,"flip-rtl"],"icon":[8],"name":[513],"size":[513],"src":[1],"inheritedAttributes":[32],"isFocusable":[32],"isVisible":[32],"svgContent":[32]},null,{"size":[{"updateStyles":0}],"color":[{"updateStyles":0}],"name":[{"onIconPropertyChange":0}],"src":[{"onIconPropertyChange":0}],"icon":[{"onIconPropertyChange":0}]}]]],["p-128c04e7",[[321,"pds-checkbox",{"checked":[1028],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[1028],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1],"variant":[1],"hasLabelSlot":[32]},null,{"checked":[{"updateIndeterminate":0},{"checkedChanged":0}]}]]],["p-a594c41f",[[257,"pds-loader",{"isLoading":[4,"is-loading"],"showLabel":[4,"show-label"],"size":[1537],"variant":[1]},null,{"size":[{"restoreSizeDefault":0}]}]]],["p-4cfe922b",[[0,"pds-box",{"alignItems":[1,"align-items"],"alignItemsXs":[1,"align-items-xs"],"alignItemsSm":[1,"align-items-sm"],"alignItemsMd":[1,"align-items-md"],"alignItemsLg":[1,"align-items-lg"],"alignItemsXl":[1,"align-items-xl"],"alignSelf":[1,"align-self"],"alignSelfXs":[1,"align-self-xs"],"alignSelfSm":[1,"align-self-sm"],"alignSelfMd":[1,"align-self-md"],"alignSelfLg":[1,"align-self-lg"],"alignSelfXl":[1,"align-self-xl"],"auto":[4],"autoXs":[4,"auto-xs"],"autoSm":[4,"auto-sm"],"autoMd":[4,"auto-md"],"autoLg":[4,"auto-lg"],"autoXl":[4,"auto-xl"],"backgroundColor":[1,"background-color"],"border":[4],"borderBlockEnd":[4,"border-block-end"],"borderBlockStart":[4,"border-block-start"],"borderColor":[1,"border-color"],"borderInlineEnd":[4,"border-inline-end"],"borderInlineStart":[4,"border-inline-start"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"fitXs":[4,"fit-xs"],"fitSm":[4,"fit-sm"],"fitMd":[4,"fit-md"],"fitLg":[4,"fit-lg"],"fitXl":[4,"fit-xl"],"gap":[1],"gapXs":[1,"gap-xs"],"gapSm":[1,"gap-sm"],"gapMd":[1,"gap-md"],"gapLg":[1,"gap-lg"],"gapXl":[1,"gap-xl"],"wrap":[4],"wrapXs":[4,"wrap-xs"],"wrapSm":[4,"wrap-sm"],"wrapMd":[4,"wrap-md"],"wrapLg":[4,"wrap-lg"],"wrapXl":[4,"wrap-xl"],"flex":[1],"justifyContent":[1,"justify-content"],"justifyContentXs":[1,"justify-content-xs"],"justifyContentSm":[1,"justify-content-sm"],"justifyContentMd":[1,"justify-content-md"],"justifyContentLg":[1,"justify-content-lg"],"justifyContentXl":[1,"justify-content-xl"],"marginBlockStart":[1,"margin-block-start"],"marginBlockStartXs":[1,"margin-block-start-xs"],"marginBlockStartSm":[1,"margin-block-start-sm"],"marginBlockStartMd":[1,"margin-block-start-md"],"marginBlockStartLg":[1,"margin-block-start-lg"],"marginBlockStartXl":[1,"margin-block-start-xl"],"marginInlineStart":[1,"margin-inline-start"],"marginInlineStartXs":[1,"margin-inline-start-xs"],"marginInlineStartSm":[1,"margin-inline-start-sm"],"marginInlineStartMd":[1,"margin-inline-start-md"],"marginInlineStartLg":[1,"margin-inline-start-lg"],"marginInlineStartXl":[1,"margin-inline-start-xl"],"marginInlineEnd":[1,"margin-inline-end"],"marginInlineEndXs":[1,"margin-inline-end-xs"],"marginInlineEndSm":[1,"margin-inline-end-sm"],"marginInlineEndMd":[1,"margin-inline-end-md"],"marginInlineEndLg":[1,"margin-inline-end-lg"],"marginInlineEndXl":[1,"margin-inline-end-xl"],"marginBlockEnd":[1,"margin-block-end"],"marginBlockEndXs":[1,"margin-block-end-xs"],"marginBlockEndSm":[1,"margin-block-end-sm"],"marginBlockEndMd":[1,"margin-block-end-md"],"marginBlockEndLg":[1,"margin-block-end-lg"],"marginBlockEndXl":[1,"margin-block-end-xl"],"minHeight":[513,"min-height"],"minWidth":[513,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"paddingXs":[1,"padding-xs"],"paddingSm":[1,"padding-sm"],"paddingMd":[1,"padding-md"],"paddingLg":[1,"padding-lg"],"paddingXl":[1,"padding-xl"],"paddingBlockStart":[1,"padding-block-start"],"paddingBlockStartXs":[1,"padding-block-start-xs"],"paddingBlockStartSm":[1,"padding-block-start-sm"],"paddingBlockStartMd":[1,"padding-block-start-md"],"paddingBlockStartLg":[1,"padding-block-start-lg"],"paddingBlockStartXl":[1,"padding-block-start-xl"],"paddingBlockEnd":[1,"padding-block-end"],"paddingBlockEndXs":[1,"padding-block-end-xs"],"paddingBlockEndSm":[1,"padding-block-end-sm"],"paddingBlockEndMd":[1,"padding-block-end-md"],"paddingBlockEndLg":[1,"padding-block-end-lg"],"paddingBlockEndXl":[1,"padding-block-end-xl"],"paddingInlineStart":[1,"padding-inline-start"],"paddingInlineStartXs":[1,"padding-inline-start-xs"],"paddingInlineStartSm":[1,"padding-inline-start-sm"],"paddingInlineStartMd":[1,"padding-inline-start-md"],"paddingInlineStartLg":[1,"padding-inline-start-lg"],"paddingInlineStartXl":[1,"padding-inline-start-xl"],"paddingInlineEnd":[1,"padding-inline-end"],"paddingInlineEndXs":[1,"padding-inline-end-xs"],"paddingInlineEndSm":[1,"padding-inline-end-sm"],"paddingInlineEndMd":[1,"padding-inline-end-md"],"paddingInlineEndLg":[1,"padding-inline-end-lg"],"paddingInlineEndXl":[1,"padding-inline-end-xl"],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]]]'),e))));
|
|
@@ -46,3 +46,22 @@ export declare function supportedLocale(locale: string | null | undefined): stri
|
|
|
46
46
|
*/
|
|
47
47
|
export declare function dateFormatter(locale: string, options: Intl.DateTimeFormatOptions): Intl.DateTimeFormat;
|
|
48
48
|
export declare function formatDate(date: Date, locale: string, options: Intl.DateTimeFormatOptions): string;
|
|
49
|
+
/**
|
|
50
|
+
* Month-day mode's year. A leap year, so February has its 29th; every date the mode holds is in it,
|
|
51
|
+
* and the value drops it (`--MM-DD`).
|
|
52
|
+
*/
|
|
53
|
+
export declare const MONTH_DAY_YEAR = 2000;
|
|
54
|
+
/** The same month and day in month-day mode's year. */
|
|
55
|
+
export declare function inMonthDayYear(date: Date): Date;
|
|
56
|
+
/**
|
|
57
|
+
* Parses a month and day, `--MM-DD` (ISO 8601 without a year), to a date in month-day mode's year.
|
|
58
|
+
* A full `YYYY-MM-DD` reads as its month and day. `null` when it isn't a real month and day.
|
|
59
|
+
*/
|
|
60
|
+
export declare function parseMonthDay(value: string | null | undefined): Date | null;
|
|
61
|
+
/** A date's month and day as `--MM-DD`. */
|
|
62
|
+
export declare function toMonthDay(date: Date): string;
|
|
63
|
+
/**
|
|
64
|
+
* A month's days for month-day mode, which has no weekdays: rows of seven from the 1st, with the
|
|
65
|
+
* last row filled out with `null`.
|
|
66
|
+
*/
|
|
67
|
+
export declare function monthDayRows(month: number): (Date | null)[][];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export interface DatepickerChangeEventDetail {
|
|
2
2
|
/**
|
|
3
3
|
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with
|
|
4
|
-
* the time picker, each date as `YYYY-MM-DDTHH:mm`. An empty string
|
|
4
|
+
* the time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, `--MM-DD`. An empty string
|
|
5
|
+
* when cleared.
|
|
5
6
|
*/
|
|
6
7
|
value: string;
|
|
7
8
|
/** Range mode: the first day of the range, `YYYY-MM-DD`, or `YYYY-MM-DDTHH:mm` with the time picker. */
|
|
@@ -5,7 +5,8 @@ type DateError = '' | 'format' | 'min' | 'max';
|
|
|
5
5
|
/**
|
|
6
6
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
7
7
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
8
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
8
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
9
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
9
10
|
*
|
|
10
11
|
* @part calendar - The open calendar. It's portaled out of the datepicker, so style it with `.pds-datepicker-calendar-portal::part(calendar)`.
|
|
11
12
|
* @part presets - The list of preset ranges in the calendar, styled with `.pds-datepicker-calendar-portal::part(presets)`.
|
|
@@ -87,8 +88,10 @@ export declare class PdsDatepicker {
|
|
|
87
88
|
* in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H`
|
|
88
89
|
* (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`,
|
|
89
90
|
* `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value
|
|
90
|
-
* and the change event stay ISO (`YYYY-MM-DD`), whatever the format.
|
|
91
|
-
* accepted too.
|
|
91
|
+
* and the change event stay ISO (`YYYY-MM-DD`; `--MM-DD` with `month-day`), whatever the format.
|
|
92
|
+
* Typed ISO dates are always accepted too. With `month-day`, a format without `YYYY` is taken as a
|
|
93
|
+
* month-and-day format and used as given, rather than reordered for the locale; leave it unset to
|
|
94
|
+
* follow the locale instead.
|
|
92
95
|
*/
|
|
93
96
|
format: string;
|
|
94
97
|
/**
|
|
@@ -154,6 +157,15 @@ export declare class PdsDatepicker {
|
|
|
154
157
|
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
155
158
|
*/
|
|
156
159
|
monthLabel: string;
|
|
160
|
+
/**
|
|
161
|
+
* Picks a month and day with no year, for a date that comes round every year, such as a birthday.
|
|
162
|
+
* The value is `--MM-DD` (ISO 8601 without a year), the field shows the date as the locale writes
|
|
163
|
+
* a month and day, and the calendar shows each month without a year or weekdays, with February
|
|
164
|
+
* always having its 29th. Turns off `range`, `time-picker`, `show-dropdowns`, `min` and `max`, and
|
|
165
|
+
* has no effect with `auto-apply`, `presets`, `first-day-of-week`, `min-date-message` or
|
|
166
|
+
* `max-date-message`, which all depend on them.
|
|
167
|
+
*/
|
|
168
|
+
monthDay: boolean;
|
|
157
169
|
/**
|
|
158
170
|
* Specifies the name. Submitted with the form name/value pair.
|
|
159
171
|
*/
|
|
@@ -168,7 +180,8 @@ export declare class PdsDatepicker {
|
|
|
168
180
|
periodLabel: string;
|
|
169
181
|
/**
|
|
170
182
|
* Specifies a short hint that describes the expected value of the field. Defaults to the format
|
|
171
|
-
* the field takes, such as `YYYY-MM-DD
|
|
183
|
+
* the field takes, such as `YYYY-MM-DD`; with `month-day`, to an example date instead, such as
|
|
184
|
+
* `December 31`.
|
|
172
185
|
*/
|
|
173
186
|
placeholder?: string;
|
|
174
187
|
/**
|
|
@@ -227,7 +240,9 @@ export declare class PdsDatepicker {
|
|
|
227
240
|
triggerLabel: string;
|
|
228
241
|
/**
|
|
229
242
|
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with
|
|
230
|
-
* the time picker, each date as `YYYY-MM-DDTHH:mm
|
|
243
|
+
* the time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, the month and day with no
|
|
244
|
+
* year, as `--MM-DD` (a full date is read too, as that month and day, and rewritten to it). An
|
|
245
|
+
* empty string when nothing is selected.
|
|
231
246
|
*/
|
|
232
247
|
value?: string;
|
|
233
248
|
/**
|
|
@@ -302,6 +317,16 @@ export declare class PdsDatepicker {
|
|
|
302
317
|
private get weekStart();
|
|
303
318
|
private get minDate();
|
|
304
319
|
private get maxDate();
|
|
320
|
+
/** Range mode, which month-day mode turns off. */
|
|
321
|
+
private get isRange();
|
|
322
|
+
/** The time picker, which month-day mode turns off. */
|
|
323
|
+
private get hasTime();
|
|
324
|
+
/** Today, or in month-day mode today's month and day. */
|
|
325
|
+
private get now();
|
|
326
|
+
/** In month-day mode, a date moved to the mode's year, as when the calendar wraps past December. */
|
|
327
|
+
private inView;
|
|
328
|
+
/** One day as the value holds it: `YYYY-MM-DD`, or `--MM-DD` in month-day mode. */
|
|
329
|
+
private dayValue;
|
|
305
330
|
private get isInteractive();
|
|
306
331
|
/** How many months the calendar shows side by side. */
|
|
307
332
|
private get monthCount();
|
|
@@ -18,11 +18,23 @@ export declare function formatWith(value: DateTimeValue, format: string, locale?
|
|
|
18
18
|
/**
|
|
19
19
|
* Reads typed text in a format of tokens, as written by `formatWith`. Leading zeros are optional,
|
|
20
20
|
* spaces are loose, and month names and AM/PM are matched without regard to case, in the locale or
|
|
21
|
-
* in English.
|
|
21
|
+
* in English. A format without `YYYY` reads into `year`, and without `year` it reads nothing.
|
|
22
|
+
* Returns `null` for anything that isn't a real date and time in that format.
|
|
22
23
|
*/
|
|
23
|
-
export declare function parseWith(text: string | null | undefined, format: string, locale?: string): DateTimeValue | null;
|
|
24
|
+
export declare function parseWith(text: string | null | undefined, format: string, locale?: string, year?: number): DateTimeValue | null;
|
|
24
25
|
/** Reads one typed date in the format, falling back to ISO, which is always accepted. */
|
|
25
26
|
export declare function parseFieldText(text: string | null | undefined, format?: string, locale?: string): DateTimeValue | null;
|
|
27
|
+
/**
|
|
28
|
+
* The locale's way of writing a month and day, as a format of tokens: `MMMM D` in English, `D MMMM`
|
|
29
|
+
* in French, `M月D日` in Japanese, or with `numeric`, `M/D` and `D/M`.
|
|
30
|
+
*/
|
|
31
|
+
export declare function monthDayFormat(locale?: string, month?: 'long' | 'numeric'): string;
|
|
32
|
+
/**
|
|
33
|
+
* Reads a typed month and day, into month-day mode's year: in the format, then as the locale writes
|
|
34
|
+
* it with a month name or in numbers, with the English order too, then as `--MM-DD` or a full ISO
|
|
35
|
+
* date, whose year is dropped.
|
|
36
|
+
*/
|
|
37
|
+
export declare function parseMonthDayText(text: string | null | undefined, format: string, locale?: string): DateTimeValue | null;
|
|
26
38
|
/**
|
|
27
39
|
* Parses a typed range: two dates (with times, optionally) joined by a dash or `to` with spaces
|
|
28
40
|
* around it, as `2026-09-13 – 2026-10-13`, or by `/` when the format doesn't use slashes. The
|
|
@@ -1206,7 +1206,8 @@ export namespace Components {
|
|
|
1206
1206
|
/**
|
|
1207
1207
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
1208
1208
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
1209
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
1209
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
1210
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
1210
1211
|
*/
|
|
1211
1212
|
interface PdsDatepicker {
|
|
1212
1213
|
/**
|
|
@@ -1265,7 +1266,7 @@ export namespace Components {
|
|
|
1265
1266
|
*/
|
|
1266
1267
|
"firstDayOfWeek"?: number;
|
|
1267
1268
|
/**
|
|
1268
|
-
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`), whatever the format. Typed ISO dates are always accepted too.
|
|
1269
|
+
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`; `--MM-DD` with `month-day`), whatever the format. Typed ISO dates are always accepted too. With `month-day`, a format without `YYYY` is taken as a month-and-day format and used as given, rather than reordered for the locale; leave it unset to follow the locale instead.
|
|
1269
1270
|
* @default 'YYYY-MM-DD'
|
|
1270
1271
|
*/
|
|
1271
1272
|
"format": string;
|
|
@@ -1331,6 +1332,11 @@ export namespace Components {
|
|
|
1331
1332
|
* @default 'Minute'
|
|
1332
1333
|
*/
|
|
1333
1334
|
"minuteLabel": string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Picks a month and day with no year, for a date that comes round every year, such as a birthday. The value is `--MM-DD` (ISO 8601 without a year), the field shows the date as the locale writes a month and day, and the calendar shows each month without a year or weekdays, with February always having its 29th. Turns off `range`, `time-picker`, `show-dropdowns`, `min` and `max`, and has no effect with `auto-apply`, `presets`, `first-day-of-week`, `min-date-message` or `max-date-message`, which all depend on them.
|
|
1337
|
+
* @default false
|
|
1338
|
+
*/
|
|
1339
|
+
"monthDay": boolean;
|
|
1334
1340
|
/**
|
|
1335
1341
|
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
1336
1342
|
* @default 'Month'
|
|
@@ -1355,7 +1361,7 @@ export namespace Components {
|
|
|
1355
1361
|
*/
|
|
1356
1362
|
"periodLabel": string;
|
|
1357
1363
|
/**
|
|
1358
|
-
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`.
|
|
1364
|
+
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`; with `month-day`, to an example date instead, such as `December 31`.
|
|
1359
1365
|
*/
|
|
1360
1366
|
"placeholder"?: string;
|
|
1361
1367
|
/**
|
|
@@ -1420,7 +1426,7 @@ export namespace Components {
|
|
|
1420
1426
|
*/
|
|
1421
1427
|
"triggerLabel": string;
|
|
1422
1428
|
/**
|
|
1423
|
-
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm
|
|
1429
|
+
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, the month and day with no year, as `--MM-DD` (a full date is read too, as that month and day, and rewritten to it). An empty string when nothing is selected.
|
|
1424
1430
|
* @default ''
|
|
1425
1431
|
*/
|
|
1426
1432
|
"value"?: string;
|
|
@@ -3288,7 +3294,8 @@ declare global {
|
|
|
3288
3294
|
/**
|
|
3289
3295
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
3290
3296
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
3291
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
3297
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
3298
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
3292
3299
|
*/
|
|
3293
3300
|
interface HTMLPdsDatepickerElement extends Components.PdsDatepicker, HTMLStencilElement {
|
|
3294
3301
|
addEventListener<K extends keyof HTMLPdsDatepickerElementEventMap>(type: K, listener: (this: HTMLPdsDatepickerElement, ev: PdsDatepickerCustomEvent<HTMLPdsDatepickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -5118,7 +5125,8 @@ declare namespace LocalJSX {
|
|
|
5118
5125
|
/**
|
|
5119
5126
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
5120
5127
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
5121
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
5128
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
5129
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
5122
5130
|
*/
|
|
5123
5131
|
interface PdsDatepicker {
|
|
5124
5132
|
/**
|
|
@@ -5177,7 +5185,7 @@ declare namespace LocalJSX {
|
|
|
5177
5185
|
*/
|
|
5178
5186
|
"form"?: string;
|
|
5179
5187
|
/**
|
|
5180
|
-
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`), whatever the format. Typed ISO dates are always accepted too.
|
|
5188
|
+
* How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name, in the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H` (24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`, `MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value and the change event stay ISO (`YYYY-MM-DD`; `--MM-DD` with `month-day`), whatever the format. Typed ISO dates are always accepted too. With `month-day`, a format without `YYYY` is taken as a month-and-day format and used as given, rather than reordered for the locale; leave it unset to follow the locale instead.
|
|
5181
5189
|
* @default 'YYYY-MM-DD'
|
|
5182
5190
|
*/
|
|
5183
5191
|
"format"?: string;
|
|
@@ -5243,6 +5251,11 @@ declare namespace LocalJSX {
|
|
|
5243
5251
|
* @default 'Minute'
|
|
5244
5252
|
*/
|
|
5245
5253
|
"minuteLabel"?: string;
|
|
5254
|
+
/**
|
|
5255
|
+
* Picks a month and day with no year, for a date that comes round every year, such as a birthday. The value is `--MM-DD` (ISO 8601 without a year), the field shows the date as the locale writes a month and day, and the calendar shows each month without a year or weekdays, with February always having its 29th. Turns off `range`, `time-picker`, `show-dropdowns`, `min` and `max`, and has no effect with `auto-apply`, `presets`, `first-day-of-week`, `min-date-message` or `max-date-message`, which all depend on them.
|
|
5256
|
+
* @default false
|
|
5257
|
+
*/
|
|
5258
|
+
"monthDay"?: boolean;
|
|
5246
5259
|
/**
|
|
5247
5260
|
* Accessible label for the month dropdown, when `show-dropdowns` is set.
|
|
5248
5261
|
* @default 'Month'
|
|
@@ -5275,7 +5288,7 @@ declare namespace LocalJSX {
|
|
|
5275
5288
|
*/
|
|
5276
5289
|
"periodLabel"?: string;
|
|
5277
5290
|
/**
|
|
5278
|
-
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`.
|
|
5291
|
+
* Specifies a short hint that describes the expected value of the field. Defaults to the format the field takes, such as `YYYY-MM-DD`; with `month-day`, to an example date instead, such as `December 31`.
|
|
5279
5292
|
*/
|
|
5280
5293
|
"placeholder"?: string;
|
|
5281
5294
|
/**
|
|
@@ -5336,7 +5349,7 @@ declare namespace LocalJSX {
|
|
|
5336
5349
|
*/
|
|
5337
5350
|
"triggerLabel"?: string;
|
|
5338
5351
|
/**
|
|
5339
|
-
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm
|
|
5352
|
+
* The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with the time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, the month and day with no year, as `--MM-DD` (a full date is read too, as that month and day, and rewritten to it). An empty string when nothing is selected.
|
|
5340
5353
|
* @default ''
|
|
5341
5354
|
*/
|
|
5342
5355
|
"value"?: string;
|
|
@@ -7296,6 +7309,7 @@ declare namespace LocalJSX {
|
|
|
7296
7309
|
"minuteIncrement": number;
|
|
7297
7310
|
"minuteLabel": string;
|
|
7298
7311
|
"monthLabel": string;
|
|
7312
|
+
"monthDay": boolean;
|
|
7299
7313
|
"name": string;
|
|
7300
7314
|
"nextMonthLabel": string;
|
|
7301
7315
|
"periodLabel": string;
|
|
@@ -7780,7 +7794,8 @@ declare module "@stencil/core" {
|
|
|
7780
7794
|
/**
|
|
7781
7795
|
* A field for one date, or in range mode a start and end date, with a calendar to pick from.
|
|
7782
7796
|
* The value is `YYYY-MM-DD`, or `YYYY-MM-DD/YYYY-MM-DD` for a range; with the time picker, each
|
|
7783
|
-
* date carries a time, as `YYYY-MM-DDTHH:mm`.
|
|
7797
|
+
* date carries a time, as `YYYY-MM-DDTHH:mm`. In month-day mode, for a date that comes round every
|
|
7798
|
+
* year such as a birthday, it's a month and day with no year, as `--MM-DD`.
|
|
7784
7799
|
*/
|
|
7785
7800
|
"pds-datepicker": LocalJSX.IntrinsicElements["pds-datepicker"] & JSXBase.HTMLAttributes<HTMLPdsDatepickerElement>;
|
|
7786
7801
|
"pds-divider": LocalJSX.IntrinsicElements["pds-divider"] & JSXBase.HTMLAttributes<HTMLPdsDividerElement>;
|
|
@@ -7776,7 +7776,7 @@
|
|
|
7776
7776
|
"name": "pds-datepicker",
|
|
7777
7777
|
"description": {
|
|
7778
7778
|
"kind": "markdown",
|
|
7779
|
-
"value": "Datepicker captures a single date, or in range mode a start and an end date. For a single date, people can type it as `YYYY-MM-DD` or pick it from a calendar that opens from the button in the field. The value is always a `YYYY-MM-DD` string (`YYYY-MM-DD/YYYY-MM-DD` for a range), so it never shifts by a day with the viewer's time zone
|
|
7779
|
+
"value": "Datepicker captures a single date, or in range mode a start and an end date. For a single date, people can type it as `YYYY-MM-DD` or pick it from a calendar that opens from the button in the field. The value is always a `YYYY-MM-DD` string (`YYYY-MM-DD/YYYY-MM-DD` for a range), so it never shifts by a day with the viewer's time zone. With `month-day`, for a date that comes round every year such as a birthday, it's a month and day with no year, `--MM-DD`.\n\n**Examples:**\n[Default](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#default), [Min and max](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#min-and-max), [Locale and first day of the week](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#locale-and-first-day-of-the-week), [Format](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#format), [Range](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#range), [Range with presets](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#range-with-presets), [Range that applies on pick](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#range-that-applies-on-pick), [Range with times](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#range-with-times), [Month and year dropdowns](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#month-and-year-dropdowns), [Month and day, without a year](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#month-and-day,-without-a-year), [Initially empty, with Clear](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#initially-empty,-with-clear), [Placement](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#placement), [Invalid](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#invalid), [Disabled](https://pine-design-system.netlify.app/?path=/docs/components-datepicker--docs#disabled)\n\n**CSS Parts:**\n- `calendar` - The open calendar. It's portaled out of the datepicker, so style it with `.pds-datepicker-calendar-portal::part(calendar)`.\n- `presets` - The list of preset ranges in the calendar, styled with `.pds-datepicker-calendar-portal::part(presets)`.\n\n**Events:**\n- `pdsBlur` - Emitted when the datepicker loses focus: when focus leaves the field and the calendar.\n- `pdsDatepickerChange` - Emitted when the value changes.\n\nThis event will not emit when programmatically setting the `value` property.\n- `pdsFocus` - Emitted when the datepicker gains focus: when focus moves into the field or the calendar from outside."
|
|
7780
7780
|
},
|
|
7781
7781
|
"attributes": [
|
|
7782
7782
|
{
|
|
@@ -7860,7 +7860,7 @@
|
|
|
7860
7860
|
"name": "format",
|
|
7861
7861
|
"description": {
|
|
7862
7862
|
"kind": "markdown",
|
|
7863
|
-
"value": "How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name,\nin the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H`\n(24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`,\n`MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value\nand the change event stay ISO (`YYYY-MM-DD`), whatever the format
|
|
7863
|
+
"value": "How the field shows dates and reads typed ones, as tokens: `YYYY`, `MMMM` or `MMM` (month name,\nin the locale), `MM` or `M` (month), `DD` or `D` (day), and with the time picker `HH` or `H`\n(24-hour), `hh` or `h` (12-hour), `mm` and `A` (AM/PM, in the locale), as `MM/DD/YYYY`,\n`MMM D, YYYY` or `D.M.YYYY h:mm A`. Put literal text in brackets, as `[Due] D/M/YYYY`. The value\nand the change event stay ISO (`YYYY-MM-DD`; `--MM-DD` with `month-day`), whatever the format.\nTyped ISO dates are always accepted too. With `month-day`, a format without `YYYY` is taken as a\nmonth-and-day format and used as given, rather than reordered for the locale; leave it unset to\nfollow the locale instead.\n\n**Default:** `'YYYY-MM-DD'`"
|
|
7864
7864
|
}
|
|
7865
7865
|
},
|
|
7866
7866
|
{
|
|
@@ -7961,6 +7961,13 @@
|
|
|
7961
7961
|
"value": "Accessible label for the minute in the time picker.\n\n**Default:** `'Minute'`"
|
|
7962
7962
|
}
|
|
7963
7963
|
},
|
|
7964
|
+
{
|
|
7965
|
+
"name": "month-day",
|
|
7966
|
+
"description": {
|
|
7967
|
+
"kind": "markdown",
|
|
7968
|
+
"value": "Picks a month and day with no year, for a date that comes round every year, such as a birthday.\nThe value is `--MM-DD` (ISO 8601 without a year), the field shows the date as the locale writes\na month and day, and the calendar shows each month without a year or weekdays, with February\nalways having its 29th. Turns off `range`, `time-picker`, `show-dropdowns`, `min` and `max`, and\nhas no effect with `auto-apply`, `presets`, `first-day-of-week`, `min-date-message` or\n`max-date-message`, which all depend on them.\n\n**Default:** `false`"
|
|
7969
|
+
}
|
|
7970
|
+
},
|
|
7964
7971
|
{
|
|
7965
7972
|
"name": "month-label",
|
|
7966
7973
|
"description": {
|
|
@@ -7993,7 +8000,7 @@
|
|
|
7993
8000
|
"name": "placeholder",
|
|
7994
8001
|
"description": {
|
|
7995
8002
|
"kind": "markdown",
|
|
7996
|
-
"value": "Specifies a short hint that describes the expected value of the field. Defaults to the format\nthe field takes, such as `YYYY-MM-DD`."
|
|
8003
|
+
"value": "Specifies a short hint that describes the expected value of the field. Defaults to the format\nthe field takes, such as `YYYY-MM-DD`; with `month-day`, to an example date instead, such as\n`December 31`."
|
|
7997
8004
|
}
|
|
7998
8005
|
},
|
|
7999
8006
|
{
|
|
@@ -8122,7 +8129,7 @@
|
|
|
8122
8129
|
"name": "value",
|
|
8123
8130
|
"description": {
|
|
8124
8131
|
"kind": "markdown",
|
|
8125
|
-
"value": "The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with\nthe time picker, each date as `YYYY-MM-DDTHH:mm
|
|
8132
|
+
"value": "The selected date as `YYYY-MM-DD`, or in range mode the range as `YYYY-MM-DD/YYYY-MM-DD`; with\nthe time picker, each date as `YYYY-MM-DDTHH:mm`; with `month-day`, the month and day with no\nyear, as `--MM-DD` (a full date is read too, as that month and day, and rewritten to it). An\nempty string when nothing is selected.\n\n**Default:** `''`"
|
|
8126
8133
|
}
|
|
8127
8134
|
},
|
|
8128
8135
|
{
|