@cloudscape-design/components 3.0.706 → 3.0.707
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/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.th.js +1 -1
- package/i18n/messages/all.th.json +1 -1
- package/i18n/messages/all.tr.js +1 -1
- package/i18n/messages/all.tr.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/i18n/messages-types.d.ts +1 -1
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +22 -22
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/property-filter/i18n-utils.d.ts +9 -0
- package/property-filter/i18n-utils.d.ts.map +1 -0
- package/property-filter/i18n-utils.js +48 -0
- package/property-filter/i18n-utils.js.map +1 -0
- package/property-filter/index.d.ts.map +1 -1
- package/property-filter/index.js +5 -38
- package/property-filter/index.js.map +1 -1
- package/property-filter/interfaces.d.ts +8 -1
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js +12 -13
- package/property-filter/token.js.map +1 -1
- package/property-filter/utils.d.ts +0 -6
- package/property-filter/utils.d.ts.map +1 -1
- package/property-filter/utils.js +0 -8
- package/property-filter/utils.js.map +1 -1
- package/tabs/styles.css.js +28 -28
- package/tabs/styles.scoped.css +49 -54
- package/tabs/styles.selectors.js +28 -28
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +4 -3
- package/tabs/tab-header-bar.js.map +1 -1
- package/tabs/test-classes/styles.css.js +6 -0
- package/tabs/test-classes/styles.scoped.css +7 -0
- package/tabs/test-classes/styles.selectors.js +7 -0
- package/test-utils/dom/tabs/index.js +4 -3
- package/test-utils/dom/tabs/index.js.map +1 -1
- package/test-utils/selectors/tabs/index.js +4 -3
- package/test-utils/selectors/tabs/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages-types.js","sourceRoot":"","sources":["../../../src/i18n/messages-types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/* eslint-disable prettier/prettier */\n\n/** Auto-generated argument types based on \"en\" i18n strings. Do not edit manually. */\nexport interface I18nFormatArgTypes {\n \"[charts]\": {\n \"loadingText\": never;\n \"errorText\": never;\n \"recoveryText\": never;\n \"i18nStrings.filterLabel\": never;\n \"i18nStrings.filterPlaceholder\": never;\n \"i18nStrings.legendAriaLabel\": never;\n \"i18nStrings.chartAriaRoleDescription\": never;\n \"i18nStrings.xAxisAriaRoleDescription\": never;\n \"i18nStrings.yAxisAriaRoleDescription\": never;\n }\n \"alert\": {\n \"dismissAriaLabel\": never;\n }\n \"annotation-context\": {\n \"i18nStrings.nextButtonText\": never;\n \"i18nStrings.previousButtonText\": never;\n \"i18nStrings.finishButtonText\": never;\n \"i18nStrings.labelDismissAnnotation\": never;\n \"i18nStrings.stepCounterText\": {\n \"stepNumber\": string | number;\n \"totalStepCount\": string | number;\n }\n \"i18nStrings.taskTitle\": {\n \"taskNumber\": string | number;\n \"taskTitle\": string | number;\n }\n \"i18nStrings.labelHotspot\": {\n \"openState\": string;\n \"stepNumber\": string | number;\n \"totalStepCount\": string | number;\n }\n }\n \"app-layout\": {\n \"ariaLabels.drawers\": never;\n \"ariaLabels.drawersOverflow\": never;\n \"ariaLabels.drawersOverflowWithBadge\": never;\n \"ariaLabels.navigation\": never;\n \"ariaLabels.navigationClose\": never;\n \"ariaLabels.navigationToggle\": never;\n \"ariaLabels.notifications\": never;\n \"ariaLabels.tools\": never;\n \"ariaLabels.toolsClose\": never;\n \"ariaLabels.toolsToggle\": never;\n }\n \"area-chart\": {\n \"i18nStrings.detailTotalLabel\": never;\n }\n \"attribute-editor\": {\n \"removeButtonText\": never;\n }\n \"autosuggest\": {\n \"errorIconAriaLabel\": never;\n \"selectedAriaLabel\": never;\n \"enteredTextLabel\": {\n \"value\": string | number;\n }\n \"recoveryText\": never;\n }\n \"breadcrumb-group\": {\n \"expandAriaLabel\": never;\n }\n \"calendar\": {\n \"nextMonthAriaLabel\": never;\n \"previousMonthAriaLabel\": never;\n \"todayAriaLabel\": never;\n \"i18nStrings.nextYearAriaLabel\": never;\n \"i18nStrings.previousYearAriaLabel\": never;\n \"i18nStrings.currentMonthAriaLabel\": never;\n }\n \"cards\": {\n \"ariaLabels.selectionGroupLabel\": never;\n }\n \"code-editor\": {\n \"i18nStrings.loadingState\": never;\n \"i18nStrings.errorState\": never;\n \"i18nStrings.errorStateRecovery\": never;\n \"i18nStrings.editorGroupAriaLabel\": never;\n \"i18nStrings.statusBarGroupAriaLabel\": never;\n \"i18nStrings.cursorPosition\": {\n \"row\": string | number;\n \"column\": string | number;\n }\n \"i18nStrings.errorsTab\": never;\n \"i18nStrings.warningsTab\": never;\n \"i18nStrings.preferencesButtonAriaLabel\": never;\n \"i18nStrings.paneCloseButtonAriaLabel\": never;\n \"i18nStrings.preferencesModalHeader\": never;\n \"i18nStrings.preferencesModalCancel\": never;\n \"i18nStrings.preferencesModalConfirm\": never;\n \"i18nStrings.preferencesModalWrapLines\": never;\n \"i18nStrings.preferencesModalTheme\": never;\n \"i18nStrings.preferencesModalLightThemes\": never;\n \"i18nStrings.preferencesModalDarkThemes\": never;\n \"i18nStrings.cursorPositionAriaLabel\": {\n \"row\": string | number;\n }\n }\n \"collection-preferences\": {\n \"title\": never;\n \"confirmLabel\": never;\n \"cancelLabel\": never;\n \"pageSizePreference.title\": never;\n \"wrapLinesPreference.label\": never;\n \"wrapLinesPreference.description\": never;\n \"stripedRowsPreference.label\": never;\n \"stripedRowsPreference.description\": never;\n \"contentDensityPreference.label\": never;\n \"contentDensityPreference.description\": never;\n \"stickyColumnsPreference.firstColumns.title\": never;\n \"stickyColumnsPreference.firstColumns.description\": never;\n \"stickyColumnsPreference.firstColumns.options[0].label\": never;\n \"stickyColumnsPreference.firstColumns.options[1].label\": never;\n \"stickyColumnsPreference.firstColumns.options[2].label\": never;\n \"stickyColumnsPreference.lastColumns.title\": never;\n \"stickyColumnsPreference.lastColumns.description\": never;\n \"stickyColumnsPreference.lastColumns.options[0].label\": never;\n \"stickyColumnsPreference.lastColumns.options[1].label\": never;\n \"contentDisplayPreference.title\": never;\n \"contentDisplayPreference.description\": never;\n \"contentDisplayPreference.dragHandleAriaLabel\": never;\n \"contentDisplayPreference.dragHandleAriaDescription\": never;\n \"contentDisplayPreference.liveAnnouncementDndStarted\": {\n \"position\": string | number;\n \"total\": string | number;\n }\n \"contentDisplayPreference.liveAnnouncementDndDiscarded\": never;\n \"contentDisplayPreference.liveAnnouncementDndItemReordered\": {\n \"isInitialPosition\": string;\n \"currentPosition\": string | number;\n \"total\": string | number;\n }\n \"contentDisplayPreference.liveAnnouncementDndItemCommitted\": {\n \"isInitialPosition\": string;\n \"initialPosition\": string | number;\n \"total\": string | number;\n \"finalPosition\": string | number;\n }\n }\n \"copy-to-clipboard\": {\n \"i18nStrings.copyButtonText\": never;\n }\n \"date-range-picker\": {\n \"i18nStrings.relativeModeTitle\": never;\n \"i18nStrings.absoluteModeTitle\": never;\n \"i18nStrings.relativeRangeSelectionHeading\": never;\n \"i18nStrings.cancelButtonLabel\": never;\n \"i18nStrings.clearButtonLabel\": never;\n \"i18nStrings.applyButtonLabel\": never;\n \"i18nStrings.customRelativeRangeOptionLabel\": never;\n \"i18nStrings.customRelativeRangeOptionDescription\": never;\n \"i18nStrings.customRelativeRangeUnitLabel\": never;\n \"i18nStrings.customRelativeRangeDurationLabel\": never;\n \"i18nStrings.customRelativeRangeDurationPlaceholder\": never;\n \"i18nStrings.startDateLabel\": never;\n \"i18nStrings.startTimeLabel\": never;\n \"i18nStrings.endDateLabel\": never;\n \"i18nStrings.endTimeLabel\": never;\n \"i18nStrings.dateTimeConstraintText\": never;\n \"i18nStrings.errorIconAriaLabel\": never;\n \"i18nStrings.renderSelectedAbsoluteRangeAriaLive\": {\n \"startDate\": string | number;\n \"endDate\": string | number;\n }\n \"i18nStrings.formatRelativeRange\": {\n \"unit\": string;\n \"amount\": number;\n }\n \"i18nStrings.formatUnit\": {\n \"unit\": string;\n \"amount\": number;\n }\n }\n \"drawer\": {\n \"i18nStrings.loadingText\": never;\n }\n \"flashbar\": {\n \"i18nStrings.ariaLabel\": never;\n \"i18nStrings.errorIconAriaLabel\": never;\n \"i18nStrings.inProgressIconAriaLabel\": never;\n \"i18nStrings.infoIconAriaLabel\": never;\n \"i18nStrings.notificationBarAriaLabel\": never;\n \"i18nStrings.notificationBarText\": never;\n \"i18nStrings.successIconAriaLabel\": never;\n \"i18nStrings.warningIconAriaLabel\": never;\n }\n \"form-field\": {\n \"i18nStrings.errorIconAriaLabel\": never;\n \"i18nStrings.warningIconAriaLabel\": never;\n }\n \"form\": {\n \"errorIconAriaLabel\": never;\n }\n \"help-panel\": {\n \"loadingText\": never;\n }\n \"input\": {\n \"clearAriaLabel\": never;\n }\n \"link\": {\n \"externalIconAriaLabel\": never;\n }\n \"modal\": {\n \"closeAriaLabel\": never;\n }\n \"multiselect\": {\n \"deselectAriaLabel\": {\n \"option__label\": string | number;\n }\n }\n \"pagination\": {\n \"ariaLabels.nextPageLabel\": never;\n \"ariaLabels.pageLabel\": {\n \"pageNumber\": string | number;\n }\n \"ariaLabels.previousPageLabel\": never;\n }\n \"pie-chart\": {\n \"i18nStrings.detailsValue\": never;\n \"i18nStrings.detailsPercentage\": never;\n \"i18nStrings.chartAriaRoleDescription\": never;\n \"i18nStrings.segmentAriaRoleDescription\": never;\n }\n \"popover\": {\n \"dismissAriaLabel\": never;\n }\n \"property-filter\": {\n \"i18nStrings.allPropertiesLabel\": never;\n \"i18nStrings.applyActionText\": never;\n \"i18nStrings.cancelActionText\": never;\n \"i18nStrings.clearFiltersText\": never;\n \"i18nStrings.editTokenHeader\": never;\n \"i18nStrings.groupPropertiesText\": never;\n \"i18nStrings.groupValuesText\": never;\n \"i18nStrings.operationAndText\": never;\n \"i18nStrings.operationOrText\": never;\n \"i18nStrings.operatorContainsText\": never;\n \"i18nStrings.operatorDoesNotContainText\": never;\n \"i18nStrings.operatorDoesNotEqualText\": never;\n \"i18nStrings.operatorEqualsText\": never;\n \"i18nStrings.operatorGreaterOrEqualText\": never;\n \"i18nStrings.operatorGreaterText\": never;\n \"i18nStrings.operatorLessOrEqualText\": never;\n \"i18nStrings.operatorLessText\": never;\n \"i18nStrings.operatorStartsWithText\": never;\n \"i18nStrings.operatorDoesNotStartWithText\": never;\n \"i18nStrings.operatorText\": never;\n \"i18nStrings.operatorsText\": never;\n \"i18nStrings.propertyText\": never;\n \"i18nStrings.tokenLimitShowFewer\": never;\n \"i18nStrings.tokenLimitShowMore\": never;\n \"i18nStrings.valueText\": never;\n \"i18nStrings.removeTokenButtonAriaLabel\": {\n \"token__operator\": string;\n \"token__propertyKey\": string | number;\n \"token__value\": string | number;\n }\n }\n \"s3-resource-selector\": {\n \"i18nStrings.inContextSelectPlaceholder\": never;\n \"i18nStrings.inContextBrowseButton\": never;\n \"i18nStrings.inContextViewButton\": never;\n \"i18nStrings.inContextViewButtonAriaLabel\": never;\n \"i18nStrings.inContextLoadingText\": never;\n \"i18nStrings.inContextUriLabel\": never;\n \"i18nStrings.inContextVersionSelectLabel\": never;\n \"i18nStrings.modalTitle\": never;\n \"i18nStrings.modalCancelButton\": never;\n \"i18nStrings.modalSubmitButton\": never;\n \"i18nStrings.modalBreadcrumbRootItem\": never;\n \"i18nStrings.modalLastUpdatedText\": never;\n \"i18nStrings.selectionBuckets\": never;\n \"i18nStrings.selectionObjects\": never;\n \"i18nStrings.selectionVersions\": never;\n \"i18nStrings.selectionBucketsSearchPlaceholder\": never;\n \"i18nStrings.selectionObjectsSearchPlaceholder\": never;\n \"i18nStrings.selectionVersionsSearchPlaceholder\": never;\n \"i18nStrings.selectionBucketsLoading\": never;\n \"i18nStrings.selectionBucketsNoItems\": never;\n \"i18nStrings.selectionObjectsLoading\": never;\n \"i18nStrings.selectionObjectsNoItems\": never;\n \"i18nStrings.selectionVersionsLoading\": never;\n \"i18nStrings.selectionVersionsNoItems\": never;\n \"i18nStrings.filteringNoMatches\": never;\n \"i18nStrings.filteringCantFindMatch\": never;\n \"i18nStrings.clearFilterButtonText\": never;\n \"i18nStrings.columnBucketID\": never;\n \"i18nStrings.columnBucketName\": never;\n \"i18nStrings.columnBucketCreationDate\": never;\n \"i18nStrings.columnBucketRegion\": never;\n \"i18nStrings.columnObjectKey\": never;\n \"i18nStrings.columnObjectLastModified\": never;\n \"i18nStrings.columnObjectSize\": never;\n \"i18nStrings.columnVersionID\": never;\n \"i18nStrings.columnVersionLastModified\": never;\n \"i18nStrings.columnVersionSize\": never;\n \"i18nStrings.validationPathMustBegin\": never;\n \"i18nStrings.validationBucketLowerCase\": never;\n \"i18nStrings.validationBucketMustNotContain\": never;\n \"i18nStrings.validationBucketLength\": never;\n \"i18nStrings.validationBucketMustComplyDns\": never;\n \"i18nStrings.labelSortedDescending\": {\n \"columnName\": string | number;\n }\n \"i18nStrings.labelSortedAscending\": {\n \"columnName\": string | number;\n }\n \"i18nStrings.labelNotSorted\": {\n \"columnName\": string | number;\n }\n \"i18nStrings.labelsBucketsSelection.selectionGroupLabel\": never;\n \"i18nStrings.labelsBucketsSelection.itemSelectionLabel\": {\n \"item__Name\": string | number;\n }\n \"i18nStrings.labelsObjectsSelection.selectionGroupLabel\": never;\n \"i18nStrings.labelsObjectsSelection.itemSelectionLabel\": {\n \"item__Key\": string | number;\n }\n \"i18nStrings.labelsVersionsSelection.selectionGroupLabel\": never;\n \"i18nStrings.labelsVersionsSelection.itemSelectionLabel\": {\n \"item__VersionId\": string | number;\n }\n \"i18nStrings.labelFiltering\": {\n \"itemsType\": string | number;\n }\n \"i18nStrings.labelRefresh\": never;\n \"i18nStrings.labelBreadcrumbs\": never;\n \"i18nStrings.filteringCounterText\": {\n \"count\": number;\n }\n }\n \"select\": {\n \"errorIconAriaLabel\": never;\n \"selectedAriaLabel\": never;\n \"recoveryText\": never;\n }\n \"slider\": {\n \"i18nStrings.valueTextRange\": {\n \"value\": string | number;\n \"previousValue\": string | number;\n \"nextValue\": string | number;\n }\n }\n \"split-panel\": {\n \"i18nStrings.closeButtonAriaLabel\": never;\n \"i18nStrings.openButtonAriaLabel\": never;\n \"i18nStrings.preferencesTitle\": never;\n \"i18nStrings.preferencesPositionLabel\": never;\n \"i18nStrings.preferencesPositionDescription\": never;\n \"i18nStrings.preferencesPositionSide\": never;\n \"i18nStrings.preferencesPositionBottom\": never;\n \"i18nStrings.preferencesConfirm\": never;\n \"i18nStrings.preferencesCancel\": never;\n \"i18nStrings.resizeHandleAriaLabel\": never;\n }\n \"table\": {\n \"ariaLabels.resizerRoleDescription\": never;\n \"ariaLabels.submittingEditText\": never;\n \"ariaLabels.successfulEditLabel\": never;\n \"ariaLabels.expandButtonLabel\": never;\n \"ariaLabels.collapseButtonLabel\": never;\n \"columnDefinitions.editConfig.errorIconAriaLabel\": never;\n \"columnDefinitions.editConfig.editIconAriaLabel\": never;\n }\n \"tabs\": {\n \"i18nStrings.scrollLeftAriaLabel\": never;\n \"i18nStrings.scrollRightAriaLabel\": never;\n \"i18nStrings.tabsWithActionsAriaRoleDescription\": never;\n }\n \"tag-editor\": {\n \"i18nStrings.keyPlaceholder\": never;\n \"i18nStrings.valuePlaceholder\": never;\n \"i18nStrings.addButton\": never;\n \"i18nStrings.removeButton\": never;\n \"i18nStrings.removeButtonAriaLabel\": {\n \"tag__key\": string | number;\n }\n \"i18nStrings.undoButton\": never;\n \"i18nStrings.undoPrompt\": never;\n \"i18nStrings.loading\": never;\n \"i18nStrings.keyHeader\": never;\n \"i18nStrings.valueHeader\": never;\n \"i18nStrings.optional\": never;\n \"i18nStrings.keySuggestion\": never;\n \"i18nStrings.valueSuggestion\": never;\n \"i18nStrings.emptyTags\": never;\n \"i18nStrings.tooManyKeysSuggestion\": never;\n \"i18nStrings.tooManyValuesSuggestion\": never;\n \"i18nStrings.keysSuggestionLoading\": never;\n \"i18nStrings.keysSuggestionError\": never;\n \"i18nStrings.valuesSuggestionLoading\": never;\n \"i18nStrings.valuesSuggestionError\": never;\n \"i18nStrings.emptyKeyError\": never;\n \"i18nStrings.maxKeyCharLengthError\": never;\n \"i18nStrings.maxValueCharLengthError\": never;\n \"i18nStrings.duplicateKeyError\": never;\n \"i18nStrings.invalidKeyError\": never;\n \"i18nStrings.invalidValueError\": never;\n \"i18nStrings.awsPrefixError\": never;\n \"i18nStrings.tagLimitReached\": {\n \"tagLimit\": number;\n }\n \"i18nStrings.tagLimitExceeded\": {\n \"tagLimit\": number;\n }\n \"i18nStrings.tagLimit\": {\n \"tagLimitAvailable\": string;\n \"availableTags\": number;\n \"tagLimit\": string | number;\n }\n }\n \"token-group\": {\n \"i18nStrings.limitShowFewer\": never;\n \"i18nStrings.limitShowMore\": never;\n }\n \"top-navigation\": {\n \"i18nStrings.searchIconAriaLabel\": never;\n \"i18nStrings.searchDismissIconAriaLabel\": never;\n \"i18nStrings.overflowMenuTriggerText\": never;\n \"i18nStrings.overflowMenuDismissIconAriaLabel\": never;\n \"i18nStrings.overflowMenuBackIconAriaLabel\": never;\n \"i18nStrings.overflowMenuTitleText\": never;\n }\n \"tutorial-panel\": {\n \"i18nStrings.loadingText\": never;\n \"i18nStrings.tutorialListTitle\": never;\n \"i18nStrings.tutorialListDownloadLinkText\": never;\n \"i18nStrings.labelTutorialListDownloadLink\": never;\n \"i18nStrings.tutorialCompletedText\": never;\n \"i18nStrings.learnMoreLinkText\": never;\n \"i18nStrings.startTutorialButtonText\": never;\n \"i18nStrings.restartTutorialButtonText\": never;\n \"i18nStrings.completionScreenTitle\": never;\n \"i18nStrings.feedbackLinkText\": never;\n \"i18nStrings.dismissTutorialButtonText\": never;\n \"i18nStrings.taskTitle\": {\n \"taskNumber\": string | number;\n \"taskTitle\": string | number;\n }\n \"i18nStrings.stepTitle\": {\n \"stepNumber\": string | number;\n \"stepTitle\": string | number;\n }\n \"i18nStrings.labelExitTutorial\": never;\n \"i18nStrings.labelTotalSteps\": {\n \"totalStepCount\": string | number;\n }\n \"i18nStrings.labelsTaskStatus.pending\": never;\n \"i18nStrings.labelsTaskStatus.in-progress\": never;\n \"i18nStrings.labelsTaskStatus.success\": never;\n }\n \"wizard\": {\n \"i18nStrings.stepNumberLabel\": {\n \"stepNumber\": string | number;\n }\n \"i18nStrings.collapsedStepsLabel\": {\n \"stepNumber\": string | number;\n \"stepsCount\": string | number;\n }\n \"i18nStrings.skipToButtonLabel\": {\n \"task__title\": string | number;\n }\n \"i18nStrings.navigationAriaLabel\": never;\n \"i18nStrings.cancelButton\": never;\n \"i18nStrings.previousButton\": never;\n \"i18nStrings.nextButton\": never;\n \"i18nStrings.optional\": never;\n \"i18nStrings.nextButtonLoadingAnnouncement\": never;\n \"i18nStrings.submitButtonLoadingAnnouncement\": never;\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"messages-types.js","sourceRoot":"","sources":["../../../src/i18n/messages-types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/* eslint-disable prettier/prettier */\n\n/** Auto-generated argument types based on \"en\" i18n strings. Do not edit manually. */\nexport interface I18nFormatArgTypes {\n \"[charts]\": {\n \"loadingText\": never;\n \"errorText\": never;\n \"recoveryText\": never;\n \"i18nStrings.filterLabel\": never;\n \"i18nStrings.filterPlaceholder\": never;\n \"i18nStrings.legendAriaLabel\": never;\n \"i18nStrings.chartAriaRoleDescription\": never;\n \"i18nStrings.xAxisAriaRoleDescription\": never;\n \"i18nStrings.yAxisAriaRoleDescription\": never;\n }\n \"alert\": {\n \"dismissAriaLabel\": never;\n }\n \"annotation-context\": {\n \"i18nStrings.nextButtonText\": never;\n \"i18nStrings.previousButtonText\": never;\n \"i18nStrings.finishButtonText\": never;\n \"i18nStrings.labelDismissAnnotation\": never;\n \"i18nStrings.stepCounterText\": {\n \"stepNumber\": string | number;\n \"totalStepCount\": string | number;\n }\n \"i18nStrings.taskTitle\": {\n \"taskNumber\": string | number;\n \"taskTitle\": string | number;\n }\n \"i18nStrings.labelHotspot\": {\n \"openState\": string;\n \"stepNumber\": string | number;\n \"totalStepCount\": string | number;\n }\n }\n \"app-layout\": {\n \"ariaLabels.drawers\": never;\n \"ariaLabels.drawersOverflow\": never;\n \"ariaLabels.drawersOverflowWithBadge\": never;\n \"ariaLabels.navigation\": never;\n \"ariaLabels.navigationClose\": never;\n \"ariaLabels.navigationToggle\": never;\n \"ariaLabels.notifications\": never;\n \"ariaLabels.tools\": never;\n \"ariaLabels.toolsClose\": never;\n \"ariaLabels.toolsToggle\": never;\n }\n \"area-chart\": {\n \"i18nStrings.detailTotalLabel\": never;\n }\n \"attribute-editor\": {\n \"removeButtonText\": never;\n }\n \"autosuggest\": {\n \"errorIconAriaLabel\": never;\n \"selectedAriaLabel\": never;\n \"enteredTextLabel\": {\n \"value\": string | number;\n }\n \"recoveryText\": never;\n }\n \"breadcrumb-group\": {\n \"expandAriaLabel\": never;\n }\n \"calendar\": {\n \"nextMonthAriaLabel\": never;\n \"previousMonthAriaLabel\": never;\n \"todayAriaLabel\": never;\n \"i18nStrings.nextYearAriaLabel\": never;\n \"i18nStrings.previousYearAriaLabel\": never;\n \"i18nStrings.currentMonthAriaLabel\": never;\n }\n \"cards\": {\n \"ariaLabels.selectionGroupLabel\": never;\n }\n \"code-editor\": {\n \"i18nStrings.loadingState\": never;\n \"i18nStrings.errorState\": never;\n \"i18nStrings.errorStateRecovery\": never;\n \"i18nStrings.editorGroupAriaLabel\": never;\n \"i18nStrings.statusBarGroupAriaLabel\": never;\n \"i18nStrings.cursorPosition\": {\n \"row\": string | number;\n \"column\": string | number;\n }\n \"i18nStrings.errorsTab\": never;\n \"i18nStrings.warningsTab\": never;\n \"i18nStrings.preferencesButtonAriaLabel\": never;\n \"i18nStrings.paneCloseButtonAriaLabel\": never;\n \"i18nStrings.preferencesModalHeader\": never;\n \"i18nStrings.preferencesModalCancel\": never;\n \"i18nStrings.preferencesModalConfirm\": never;\n \"i18nStrings.preferencesModalWrapLines\": never;\n \"i18nStrings.preferencesModalTheme\": never;\n \"i18nStrings.preferencesModalLightThemes\": never;\n \"i18nStrings.preferencesModalDarkThemes\": never;\n \"i18nStrings.cursorPositionAriaLabel\": {\n \"row\": string | number;\n }\n }\n \"collection-preferences\": {\n \"title\": never;\n \"confirmLabel\": never;\n \"cancelLabel\": never;\n \"pageSizePreference.title\": never;\n \"wrapLinesPreference.label\": never;\n \"wrapLinesPreference.description\": never;\n \"stripedRowsPreference.label\": never;\n \"stripedRowsPreference.description\": never;\n \"contentDensityPreference.label\": never;\n \"contentDensityPreference.description\": never;\n \"stickyColumnsPreference.firstColumns.title\": never;\n \"stickyColumnsPreference.firstColumns.description\": never;\n \"stickyColumnsPreference.firstColumns.options[0].label\": never;\n \"stickyColumnsPreference.firstColumns.options[1].label\": never;\n \"stickyColumnsPreference.firstColumns.options[2].label\": never;\n \"stickyColumnsPreference.lastColumns.title\": never;\n \"stickyColumnsPreference.lastColumns.description\": never;\n \"stickyColumnsPreference.lastColumns.options[0].label\": never;\n \"stickyColumnsPreference.lastColumns.options[1].label\": never;\n \"contentDisplayPreference.title\": never;\n \"contentDisplayPreference.description\": never;\n \"contentDisplayPreference.dragHandleAriaLabel\": never;\n \"contentDisplayPreference.dragHandleAriaDescription\": never;\n \"contentDisplayPreference.liveAnnouncementDndStarted\": {\n \"position\": string | number;\n \"total\": string | number;\n }\n \"contentDisplayPreference.liveAnnouncementDndDiscarded\": never;\n \"contentDisplayPreference.liveAnnouncementDndItemReordered\": {\n \"isInitialPosition\": string;\n \"currentPosition\": string | number;\n \"total\": string | number;\n }\n \"contentDisplayPreference.liveAnnouncementDndItemCommitted\": {\n \"isInitialPosition\": string;\n \"initialPosition\": string | number;\n \"total\": string | number;\n \"finalPosition\": string | number;\n }\n }\n \"copy-to-clipboard\": {\n \"i18nStrings.copyButtonText\": never;\n }\n \"date-range-picker\": {\n \"i18nStrings.relativeModeTitle\": never;\n \"i18nStrings.absoluteModeTitle\": never;\n \"i18nStrings.relativeRangeSelectionHeading\": never;\n \"i18nStrings.cancelButtonLabel\": never;\n \"i18nStrings.clearButtonLabel\": never;\n \"i18nStrings.applyButtonLabel\": never;\n \"i18nStrings.customRelativeRangeOptionLabel\": never;\n \"i18nStrings.customRelativeRangeOptionDescription\": never;\n \"i18nStrings.customRelativeRangeUnitLabel\": never;\n \"i18nStrings.customRelativeRangeDurationLabel\": never;\n \"i18nStrings.customRelativeRangeDurationPlaceholder\": never;\n \"i18nStrings.startDateLabel\": never;\n \"i18nStrings.startTimeLabel\": never;\n \"i18nStrings.endDateLabel\": never;\n \"i18nStrings.endTimeLabel\": never;\n \"i18nStrings.dateTimeConstraintText\": never;\n \"i18nStrings.errorIconAriaLabel\": never;\n \"i18nStrings.renderSelectedAbsoluteRangeAriaLive\": {\n \"startDate\": string | number;\n \"endDate\": string | number;\n }\n \"i18nStrings.formatRelativeRange\": {\n \"unit\": string;\n \"amount\": number;\n }\n \"i18nStrings.formatUnit\": {\n \"unit\": string;\n \"amount\": number;\n }\n }\n \"drawer\": {\n \"i18nStrings.loadingText\": never;\n }\n \"flashbar\": {\n \"i18nStrings.ariaLabel\": never;\n \"i18nStrings.errorIconAriaLabel\": never;\n \"i18nStrings.inProgressIconAriaLabel\": never;\n \"i18nStrings.infoIconAriaLabel\": never;\n \"i18nStrings.notificationBarAriaLabel\": never;\n \"i18nStrings.notificationBarText\": never;\n \"i18nStrings.successIconAriaLabel\": never;\n \"i18nStrings.warningIconAriaLabel\": never;\n }\n \"form-field\": {\n \"i18nStrings.errorIconAriaLabel\": never;\n \"i18nStrings.warningIconAriaLabel\": never;\n }\n \"form\": {\n \"errorIconAriaLabel\": never;\n }\n \"help-panel\": {\n \"loadingText\": never;\n }\n \"input\": {\n \"clearAriaLabel\": never;\n }\n \"link\": {\n \"externalIconAriaLabel\": never;\n }\n \"modal\": {\n \"closeAriaLabel\": never;\n }\n \"multiselect\": {\n \"deselectAriaLabel\": {\n \"option__label\": string | number;\n }\n }\n \"pagination\": {\n \"ariaLabels.nextPageLabel\": never;\n \"ariaLabels.pageLabel\": {\n \"pageNumber\": string | number;\n }\n \"ariaLabels.previousPageLabel\": never;\n }\n \"pie-chart\": {\n \"i18nStrings.detailsValue\": never;\n \"i18nStrings.detailsPercentage\": never;\n \"i18nStrings.chartAriaRoleDescription\": never;\n \"i18nStrings.segmentAriaRoleDescription\": never;\n }\n \"popover\": {\n \"dismissAriaLabel\": never;\n }\n \"property-filter\": {\n \"i18nStrings.allPropertiesLabel\": never;\n \"i18nStrings.applyActionText\": never;\n \"i18nStrings.cancelActionText\": never;\n \"i18nStrings.clearFiltersText\": never;\n \"i18nStrings.editTokenHeader\": never;\n \"i18nStrings.groupPropertiesText\": never;\n \"i18nStrings.groupValuesText\": never;\n \"i18nStrings.operationAndText\": never;\n \"i18nStrings.operationOrText\": never;\n \"i18nStrings.operatorContainsText\": never;\n \"i18nStrings.operatorDoesNotContainText\": never;\n \"i18nStrings.operatorDoesNotEqualText\": never;\n \"i18nStrings.operatorEqualsText\": never;\n \"i18nStrings.operatorGreaterOrEqualText\": never;\n \"i18nStrings.operatorGreaterText\": never;\n \"i18nStrings.operatorLessOrEqualText\": never;\n \"i18nStrings.operatorLessText\": never;\n \"i18nStrings.operatorStartsWithText\": never;\n \"i18nStrings.operatorDoesNotStartWithText\": never;\n \"i18nStrings.operatorText\": never;\n \"i18nStrings.operatorsText\": never;\n \"i18nStrings.propertyText\": never;\n \"i18nStrings.tokenLimitShowFewer\": never;\n \"i18nStrings.tokenLimitShowMore\": never;\n \"i18nStrings.valueText\": never;\n \"i18nStrings.removeTokenButtonAriaLabel\": {\n \"token__operator\": string;\n \"token__propertyLabel\": string | number;\n \"token__value\": string | number;\n }\n }\n \"s3-resource-selector\": {\n \"i18nStrings.inContextSelectPlaceholder\": never;\n \"i18nStrings.inContextBrowseButton\": never;\n \"i18nStrings.inContextViewButton\": never;\n \"i18nStrings.inContextViewButtonAriaLabel\": never;\n \"i18nStrings.inContextLoadingText\": never;\n \"i18nStrings.inContextUriLabel\": never;\n \"i18nStrings.inContextVersionSelectLabel\": never;\n \"i18nStrings.modalTitle\": never;\n \"i18nStrings.modalCancelButton\": never;\n \"i18nStrings.modalSubmitButton\": never;\n \"i18nStrings.modalBreadcrumbRootItem\": never;\n \"i18nStrings.modalLastUpdatedText\": never;\n \"i18nStrings.selectionBuckets\": never;\n \"i18nStrings.selectionObjects\": never;\n \"i18nStrings.selectionVersions\": never;\n \"i18nStrings.selectionBucketsSearchPlaceholder\": never;\n \"i18nStrings.selectionObjectsSearchPlaceholder\": never;\n \"i18nStrings.selectionVersionsSearchPlaceholder\": never;\n \"i18nStrings.selectionBucketsLoading\": never;\n \"i18nStrings.selectionBucketsNoItems\": never;\n \"i18nStrings.selectionObjectsLoading\": never;\n \"i18nStrings.selectionObjectsNoItems\": never;\n \"i18nStrings.selectionVersionsLoading\": never;\n \"i18nStrings.selectionVersionsNoItems\": never;\n \"i18nStrings.filteringNoMatches\": never;\n \"i18nStrings.filteringCantFindMatch\": never;\n \"i18nStrings.clearFilterButtonText\": never;\n \"i18nStrings.columnBucketID\": never;\n \"i18nStrings.columnBucketName\": never;\n \"i18nStrings.columnBucketCreationDate\": never;\n \"i18nStrings.columnBucketRegion\": never;\n \"i18nStrings.columnObjectKey\": never;\n \"i18nStrings.columnObjectLastModified\": never;\n \"i18nStrings.columnObjectSize\": never;\n \"i18nStrings.columnVersionID\": never;\n \"i18nStrings.columnVersionLastModified\": never;\n \"i18nStrings.columnVersionSize\": never;\n \"i18nStrings.validationPathMustBegin\": never;\n \"i18nStrings.validationBucketLowerCase\": never;\n \"i18nStrings.validationBucketMustNotContain\": never;\n \"i18nStrings.validationBucketLength\": never;\n \"i18nStrings.validationBucketMustComplyDns\": never;\n \"i18nStrings.labelSortedDescending\": {\n \"columnName\": string | number;\n }\n \"i18nStrings.labelSortedAscending\": {\n \"columnName\": string | number;\n }\n \"i18nStrings.labelNotSorted\": {\n \"columnName\": string | number;\n }\n \"i18nStrings.labelsBucketsSelection.selectionGroupLabel\": never;\n \"i18nStrings.labelsBucketsSelection.itemSelectionLabel\": {\n \"item__Name\": string | number;\n }\n \"i18nStrings.labelsObjectsSelection.selectionGroupLabel\": never;\n \"i18nStrings.labelsObjectsSelection.itemSelectionLabel\": {\n \"item__Key\": string | number;\n }\n \"i18nStrings.labelsVersionsSelection.selectionGroupLabel\": never;\n \"i18nStrings.labelsVersionsSelection.itemSelectionLabel\": {\n \"item__VersionId\": string | number;\n }\n \"i18nStrings.labelFiltering\": {\n \"itemsType\": string | number;\n }\n \"i18nStrings.labelRefresh\": never;\n \"i18nStrings.labelBreadcrumbs\": never;\n \"i18nStrings.filteringCounterText\": {\n \"count\": number;\n }\n }\n \"select\": {\n \"errorIconAriaLabel\": never;\n \"selectedAriaLabel\": never;\n \"recoveryText\": never;\n }\n \"slider\": {\n \"i18nStrings.valueTextRange\": {\n \"value\": string | number;\n \"previousValue\": string | number;\n \"nextValue\": string | number;\n }\n }\n \"split-panel\": {\n \"i18nStrings.closeButtonAriaLabel\": never;\n \"i18nStrings.openButtonAriaLabel\": never;\n \"i18nStrings.preferencesTitle\": never;\n \"i18nStrings.preferencesPositionLabel\": never;\n \"i18nStrings.preferencesPositionDescription\": never;\n \"i18nStrings.preferencesPositionSide\": never;\n \"i18nStrings.preferencesPositionBottom\": never;\n \"i18nStrings.preferencesConfirm\": never;\n \"i18nStrings.preferencesCancel\": never;\n \"i18nStrings.resizeHandleAriaLabel\": never;\n }\n \"table\": {\n \"ariaLabels.resizerRoleDescription\": never;\n \"ariaLabels.submittingEditText\": never;\n \"ariaLabels.successfulEditLabel\": never;\n \"ariaLabels.expandButtonLabel\": never;\n \"ariaLabels.collapseButtonLabel\": never;\n \"columnDefinitions.editConfig.errorIconAriaLabel\": never;\n \"columnDefinitions.editConfig.editIconAriaLabel\": never;\n }\n \"tabs\": {\n \"i18nStrings.scrollLeftAriaLabel\": never;\n \"i18nStrings.scrollRightAriaLabel\": never;\n \"i18nStrings.tabsWithActionsAriaRoleDescription\": never;\n }\n \"tag-editor\": {\n \"i18nStrings.keyPlaceholder\": never;\n \"i18nStrings.valuePlaceholder\": never;\n \"i18nStrings.addButton\": never;\n \"i18nStrings.removeButton\": never;\n \"i18nStrings.removeButtonAriaLabel\": {\n \"tag__key\": string | number;\n }\n \"i18nStrings.undoButton\": never;\n \"i18nStrings.undoPrompt\": never;\n \"i18nStrings.loading\": never;\n \"i18nStrings.keyHeader\": never;\n \"i18nStrings.valueHeader\": never;\n \"i18nStrings.optional\": never;\n \"i18nStrings.keySuggestion\": never;\n \"i18nStrings.valueSuggestion\": never;\n \"i18nStrings.emptyTags\": never;\n \"i18nStrings.tooManyKeysSuggestion\": never;\n \"i18nStrings.tooManyValuesSuggestion\": never;\n \"i18nStrings.keysSuggestionLoading\": never;\n \"i18nStrings.keysSuggestionError\": never;\n \"i18nStrings.valuesSuggestionLoading\": never;\n \"i18nStrings.valuesSuggestionError\": never;\n \"i18nStrings.emptyKeyError\": never;\n \"i18nStrings.maxKeyCharLengthError\": never;\n \"i18nStrings.maxValueCharLengthError\": never;\n \"i18nStrings.duplicateKeyError\": never;\n \"i18nStrings.invalidKeyError\": never;\n \"i18nStrings.invalidValueError\": never;\n \"i18nStrings.awsPrefixError\": never;\n \"i18nStrings.tagLimitReached\": {\n \"tagLimit\": number;\n }\n \"i18nStrings.tagLimitExceeded\": {\n \"tagLimit\": number;\n }\n \"i18nStrings.tagLimit\": {\n \"tagLimitAvailable\": string;\n \"availableTags\": number;\n \"tagLimit\": string | number;\n }\n }\n \"token-group\": {\n \"i18nStrings.limitShowFewer\": never;\n \"i18nStrings.limitShowMore\": never;\n }\n \"top-navigation\": {\n \"i18nStrings.searchIconAriaLabel\": never;\n \"i18nStrings.searchDismissIconAriaLabel\": never;\n \"i18nStrings.overflowMenuTriggerText\": never;\n \"i18nStrings.overflowMenuDismissIconAriaLabel\": never;\n \"i18nStrings.overflowMenuBackIconAriaLabel\": never;\n \"i18nStrings.overflowMenuTitleText\": never;\n }\n \"tutorial-panel\": {\n \"i18nStrings.loadingText\": never;\n \"i18nStrings.tutorialListTitle\": never;\n \"i18nStrings.tutorialListDownloadLinkText\": never;\n \"i18nStrings.labelTutorialListDownloadLink\": never;\n \"i18nStrings.tutorialCompletedText\": never;\n \"i18nStrings.learnMoreLinkText\": never;\n \"i18nStrings.startTutorialButtonText\": never;\n \"i18nStrings.restartTutorialButtonText\": never;\n \"i18nStrings.completionScreenTitle\": never;\n \"i18nStrings.feedbackLinkText\": never;\n \"i18nStrings.dismissTutorialButtonText\": never;\n \"i18nStrings.taskTitle\": {\n \"taskNumber\": string | number;\n \"taskTitle\": string | number;\n }\n \"i18nStrings.stepTitle\": {\n \"stepNumber\": string | number;\n \"stepTitle\": string | number;\n }\n \"i18nStrings.labelExitTutorial\": never;\n \"i18nStrings.labelTotalSteps\": {\n \"totalStepCount\": string | number;\n }\n \"i18nStrings.labelsTaskStatus.pending\": never;\n \"i18nStrings.labelsTaskStatus.in-progress\": never;\n \"i18nStrings.labelsTaskStatus.success\": never;\n }\n \"wizard\": {\n \"i18nStrings.stepNumberLabel\": {\n \"stepNumber\": string | number;\n }\n \"i18nStrings.collapsedStepsLabel\": {\n \"stepNumber\": string | number;\n \"stepsCount\": string | number;\n }\n \"i18nStrings.skipToButtonLabel\": {\n \"task__title\": string | number;\n }\n \"i18nStrings.navigationAriaLabel\": never;\n \"i18nStrings.cancelButton\": never;\n \"i18nStrings.previousButton\": never;\n \"i18nStrings.nextButton\": never;\n \"i18nStrings.optional\": never;\n \"i18nStrings.nextButtonLoadingAnnouncement\": never;\n \"i18nStrings.submitButtonLoadingAnnouncement\": never;\n }\n}"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"horizontal": "
|
|
6
|
-
"vertical": "
|
|
7
|
-
"list": "
|
|
8
|
-
"list-item": "awsui_list-
|
|
9
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
10
|
-
"toggle": "
|
|
11
|
-
"description": "
|
|
12
|
-
"separator": "
|
|
4
|
+
"root": "awsui_root_gfwv3_101jq_97",
|
|
5
|
+
"horizontal": "awsui_horizontal_gfwv3_101jq_101",
|
|
6
|
+
"vertical": "awsui_vertical_gfwv3_101jq_106",
|
|
7
|
+
"list": "awsui_list_gfwv3_101jq_110",
|
|
8
|
+
"list-item": "awsui_list-item_gfwv3_101jq_130",
|
|
9
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_101jq_137",
|
|
10
|
+
"toggle": "awsui_toggle_gfwv3_101jq_137",
|
|
11
|
+
"description": "awsui_description_gfwv3_101jq_232",
|
|
12
|
+
"separator": "awsui_separator_gfwv3_101jq_236"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -94,20 +94,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_root_gfwv3_101jq_97:not(#\9) {
|
|
98
98
|
display: flex;
|
|
99
|
-
flex-wrap: wrap;
|
|
100
99
|
gap: var(--space-scaled-xs-26e2du, 8px);
|
|
101
100
|
}
|
|
102
|
-
.
|
|
101
|
+
.awsui_root_gfwv3_101jq_97.awsui_horizontal_gfwv3_101jq_101:not(#\9) {
|
|
103
102
|
gap: var(--space-xs-zb16t3, 8px);
|
|
104
103
|
flex-direction: row;
|
|
104
|
+
flex-wrap: wrap;
|
|
105
105
|
}
|
|
106
|
-
.
|
|
106
|
+
.awsui_root_gfwv3_101jq_97.awsui_vertical_gfwv3_101jq_106:not(#\9) {
|
|
107
107
|
flex-direction: column;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.
|
|
110
|
+
.awsui_list_gfwv3_101jq_110:not(#\9) {
|
|
111
111
|
display: contents;
|
|
112
112
|
list-style: none;
|
|
113
113
|
padding-block: 0;
|
|
@@ -115,32 +115,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
115
115
|
margin-block: 0;
|
|
116
116
|
margin-inline: 0;
|
|
117
117
|
}
|
|
118
|
-
.
|
|
118
|
+
.awsui_list_gfwv3_101jq_110.awsui_horizontal_gfwv3_101jq_101:not(#\9), .awsui_list_gfwv3_101jq_110.awsui_vertical_gfwv3_101jq_106:not(#\9) {
|
|
119
119
|
display: flex;
|
|
120
|
-
flex-wrap: wrap;
|
|
121
120
|
gap: var(--space-xs-zb16t3, 8px);
|
|
122
121
|
}
|
|
123
|
-
.
|
|
122
|
+
.awsui_list_gfwv3_101jq_110.awsui_horizontal_gfwv3_101jq_101:not(#\9) {
|
|
124
123
|
flex-direction: row;
|
|
124
|
+
flex-wrap: wrap;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.awsui_list_gfwv3_101jq_110.awsui_vertical_gfwv3_101jq_106:not(#\9) {
|
|
127
127
|
flex-direction: column;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.awsui_list-
|
|
130
|
+
.awsui_list-item_gfwv3_101jq_130:not(#\9) {
|
|
131
131
|
padding-block: 0;
|
|
132
132
|
padding-inline: 0;
|
|
133
133
|
margin-block: 0;
|
|
134
134
|
margin-inline: 0;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.awsui_toggle-container-
|
|
137
|
+
.awsui_toggle-container-inline_gfwv3_101jq_137:not(#\9) {
|
|
138
138
|
padding-inline-start: var(--space-xs-zb16t3, 8px);
|
|
139
139
|
display: flex;
|
|
140
140
|
align-items: center;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
143
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9) {
|
|
144
144
|
border-collapse: separate;
|
|
145
145
|
border-spacing: 0;
|
|
146
146
|
box-sizing: border-box;
|
|
@@ -195,34 +195,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
195
195
|
margin-inline-start: -1px;
|
|
196
196
|
}
|
|
197
197
|
@media (prefers-reduced-motion: reduce) {
|
|
198
|
-
.
|
|
198
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9) {
|
|
199
199
|
animation: none;
|
|
200
200
|
transition: none;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
.awsui-motion-disabled .
|
|
203
|
+
.awsui-motion-disabled .awsui_toggle_gfwv3_101jq_137:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_101jq_137:not(#\9) {
|
|
204
204
|
animation: none;
|
|
205
205
|
transition: none;
|
|
206
206
|
}
|
|
207
|
-
.
|
|
207
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9):hover {
|
|
208
208
|
cursor: pointer;
|
|
209
209
|
color: var(--color-text-link-hover-8j6p14, #033160);
|
|
210
210
|
}
|
|
211
|
-
.
|
|
211
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9):focus {
|
|
212
212
|
outline: none;
|
|
213
213
|
}
|
|
214
|
-
.
|
|
214
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9):active {
|
|
215
215
|
color: var(--color-text-link-hover-8j6p14, #033160);
|
|
216
216
|
}
|
|
217
|
-
.
|
|
217
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9):active, .awsui_toggle_gfwv3_101jq_137:not(#\9):focus, .awsui_toggle_gfwv3_101jq_137:not(#\9):hover {
|
|
218
218
|
text-decoration-line: underline;
|
|
219
219
|
text-decoration-color: currentColor;
|
|
220
220
|
}
|
|
221
|
-
.
|
|
221
|
+
.awsui_toggle_gfwv3_101jq_137:not(#\9):active, .awsui_toggle_gfwv3_101jq_137:not(#\9):focus, .awsui_toggle_gfwv3_101jq_137:not(#\9):hover {
|
|
222
222
|
text-decoration: none;
|
|
223
223
|
text-decoration-color: transparent;
|
|
224
224
|
}
|
|
225
|
-
body[data-awsui-focus-visible=true] .
|
|
225
|
+
body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_101jq_137:not(#\9):focus {
|
|
226
226
|
outline: 2px dotted transparent;
|
|
227
227
|
border-block: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
228
228
|
border-inline: var(--border-field-width-09w7vk, 2px) solid var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
@@ -232,11 +232,11 @@ body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_1gn2o_137:not(#\9):focus
|
|
|
232
232
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
233
233
|
box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-b2ntyl, #0972d3);
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
.awsui_toggle_gfwv3_101jq_137 > .awsui_description_gfwv3_101jq_232:not(#\9) {
|
|
236
236
|
margin-inline-start: var(--space-xxs-p8yyaw, 4px);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.
|
|
239
|
+
.awsui_separator_gfwv3_101jq_236:not(#\9) {
|
|
240
240
|
margin-block: 0;
|
|
241
241
|
margin-inline: var(--space-scaled-m-mo5yse, 16px);
|
|
242
242
|
inline-size: var(--border-divider-section-width-1061zr, 1px);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"horizontal": "
|
|
7
|
-
"vertical": "
|
|
8
|
-
"list": "
|
|
9
|
-
"list-item": "awsui_list-
|
|
10
|
-
"toggle-container-inline": "awsui_toggle-container-
|
|
11
|
-
"toggle": "
|
|
12
|
-
"description": "
|
|
13
|
-
"separator": "
|
|
5
|
+
"root": "awsui_root_gfwv3_101jq_97",
|
|
6
|
+
"horizontal": "awsui_horizontal_gfwv3_101jq_101",
|
|
7
|
+
"vertical": "awsui_vertical_gfwv3_101jq_106",
|
|
8
|
+
"list": "awsui_list_gfwv3_101jq_110",
|
|
9
|
+
"list-item": "awsui_list-item_gfwv3_101jq_130",
|
|
10
|
+
"toggle-container-inline": "awsui_toggle-container-inline_gfwv3_101jq_137",
|
|
11
|
+
"toggle": "awsui_toggle_gfwv3_101jq_137",
|
|
12
|
+
"description": "awsui_description_gfwv3_101jq_232",
|
|
13
|
+
"separator": "awsui_separator_gfwv3_101jq_236"
|
|
14
14
|
};
|
|
15
15
|
|
package/internal/environment.js
CHANGED
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormattedToken, I18nStrings, InternalToken } from './interfaces';
|
|
2
|
+
export declare function getI18nToken(token: FormattedToken): {
|
|
3
|
+
token__operator: string;
|
|
4
|
+
token__propertyKey: string;
|
|
5
|
+
token__propertyLabel: string;
|
|
6
|
+
token__value: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function getFormattedToken(token: InternalToken, i18nStrings: I18nStrings): FormattedToken;
|
|
9
|
+
//# sourceMappingURL=i18n-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n-utils.d.ts","sourceRoot":"","sources":["../../../src/property-filter/i18n-utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9F,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG;IACnD,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;CACtB,CAOA;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,GAAG,cAAc,CAKhG"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
export function getI18nToken(token) {
|
|
4
|
+
var _a;
|
|
5
|
+
return {
|
|
6
|
+
token__propertyKey: (_a = token.propertyKey) !== null && _a !== void 0 ? _a : '',
|
|
7
|
+
token__propertyLabel: token.propertyLabel,
|
|
8
|
+
token__operator: getOperatorI18nString(token.operator),
|
|
9
|
+
token__value: token.value,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export function getFormattedToken(token, i18nStrings) {
|
|
13
|
+
var _a, _b, _c;
|
|
14
|
+
const valueFormatter = (_a = token.property) === null || _a === void 0 ? void 0 : _a.getValueFormatter(token.operator);
|
|
15
|
+
const propertyLabel = token.property ? token.property.propertyLabel : (_b = i18nStrings.allPropertiesLabel) !== null && _b !== void 0 ? _b : '';
|
|
16
|
+
const tokenValue = valueFormatter ? valueFormatter(token.value) : token.value;
|
|
17
|
+
return { propertyKey: (_c = token.property) === null || _c === void 0 ? void 0 : _c.propertyKey, propertyLabel, operator: token.operator, value: tokenValue };
|
|
18
|
+
}
|
|
19
|
+
function getOperatorI18nString(operator) {
|
|
20
|
+
switch (operator) {
|
|
21
|
+
case '=':
|
|
22
|
+
return 'equals';
|
|
23
|
+
case '!=':
|
|
24
|
+
return 'not_equals';
|
|
25
|
+
case '>':
|
|
26
|
+
return 'greater_than';
|
|
27
|
+
case '>=':
|
|
28
|
+
return 'greater_than_equal';
|
|
29
|
+
case '<':
|
|
30
|
+
return 'less_than';
|
|
31
|
+
case '<=':
|
|
32
|
+
return 'less_than_equal';
|
|
33
|
+
case ':':
|
|
34
|
+
return 'contains';
|
|
35
|
+
case '!:':
|
|
36
|
+
return 'not_contains';
|
|
37
|
+
case '^':
|
|
38
|
+
return 'starts_with';
|
|
39
|
+
case '!^':
|
|
40
|
+
return 'not_starts_with';
|
|
41
|
+
// The line is ignored from coverage because it is not reachable.
|
|
42
|
+
// The purpose of it is to prevent TS errors if ComparisonOperator type gets extended.
|
|
43
|
+
/* istanbul ignore next */
|
|
44
|
+
default:
|
|
45
|
+
return operator;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=i18n-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n-utils.js","sourceRoot":"","sources":["../../../src/property-filter/i18n-utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,MAAM,UAAU,YAAY,CAAC,KAAqB;;IAMhD,OAAO;QACL,kBAAkB,EAAE,MAAA,KAAK,CAAC,WAAW,mCAAI,EAAE;QAC3C,oBAAoB,EAAE,KAAK,CAAC,aAAa;QACzC,eAAe,EAAE,qBAAqB,CAAC,KAAK,CAAC,QAAQ,CAAC;QACtD,YAAY,EAAE,KAAK,CAAC,KAAK;KAC1B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,KAAoB,EAAE,WAAwB;;IAC9E,MAAM,cAAc,GAAG,MAAA,KAAK,CAAC,QAAQ,0CAAE,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzE,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAA,WAAW,CAAC,kBAAkB,mCAAI,EAAE,CAAC;IAC3G,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;IAC9E,OAAO,EAAE,WAAW,EAAE,MAAA,KAAK,CAAC,QAAQ,0CAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AAClH,CAAC;AAED,SAAS,qBAAqB,CAAC,QAA4B;IACzD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,QAAQ,CAAC;QAClB,KAAK,IAAI;YACP,OAAO,YAAY,CAAC;QACtB,KAAK,GAAG;YACN,OAAO,cAAc,CAAC;QACxB,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC;QAC9B,KAAK,GAAG;YACN,OAAO,WAAW,CAAC;QACrB,KAAK,IAAI;YACP,OAAO,iBAAiB,CAAC;QAC3B,KAAK,GAAG;YACN,OAAO,UAAU,CAAC;QACpB,KAAK,IAAI;YACP,OAAO,cAAc,CAAC;QACxB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,IAAI;YACP,OAAO,iBAAiB,CAAC;QAC3B,iEAAiE;QACjE,sFAAsF;QACtF,0BAA0B;QAC1B;YACE,OAAO,QAAQ,CAAC;KACnB;AACH,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ComparisonOperator, FormattedToken, I18nStrings, InternalToken } from './interfaces';\n\nexport function getI18nToken(token: FormattedToken): {\n token__operator: string;\n token__propertyKey: string;\n token__propertyLabel: string;\n token__value: string;\n} {\n return {\n token__propertyKey: token.propertyKey ?? '',\n token__propertyLabel: token.propertyLabel,\n token__operator: getOperatorI18nString(token.operator),\n token__value: token.value,\n };\n}\n\nexport function getFormattedToken(token: InternalToken, i18nStrings: I18nStrings): FormattedToken {\n const valueFormatter = token.property?.getValueFormatter(token.operator);\n const propertyLabel = token.property ? token.property.propertyLabel : i18nStrings.allPropertiesLabel ?? '';\n const tokenValue = valueFormatter ? valueFormatter(token.value) : token.value;\n return { propertyKey: token.property?.propertyKey, propertyLabel, operator: token.operator, value: tokenValue };\n}\n\nfunction getOperatorI18nString(operator: ComparisonOperator): string {\n switch (operator) {\n case '=':\n return 'equals';\n case '!=':\n return 'not_equals';\n case '>':\n return 'greater_than';\n case '>=':\n return 'greater_than_equal';\n case '<':\n return 'less_than';\n case '<=':\n return 'less_than_equal';\n case ':':\n return 'contains';\n case '!:':\n return 'not_contains';\n case '^':\n return 'starts_with';\n case '!^':\n return 'not_starts_with';\n // The line is ignored from coverage because it is not reachable.\n // The purpose of it is to prevent TS errors if ComparisonOperator type gets extended.\n /* istanbul ignore next */\n default:\n return operator;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/property-filter/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/property-filter/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAoBrE,OAAO,EASL,mBAAmB,EAGpB,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,QAAA,MAAM,cAAc,qGAgZnB,CAAC;AAGF,eAAe,cAAc,CAAC"}
|
package/property-filter/index.js
CHANGED
|
@@ -16,41 +16,13 @@ import { joinStrings } from '../internal/utils/strings';
|
|
|
16
16
|
import InternalSpaceBetween from '../space-between/internal';
|
|
17
17
|
import { SearchResults } from '../text-filter/search-results';
|
|
18
18
|
import { getAllowedOperators, getAutosuggestOptions, getQueryActions, parseText } from './controller';
|
|
19
|
+
import { getI18nToken } from './i18n-utils';
|
|
19
20
|
import { PropertyEditor } from './property-editor';
|
|
20
21
|
import PropertyFilterAutosuggest from './property-filter-autosuggest';
|
|
21
22
|
import { TokenButton } from './token';
|
|
22
23
|
import { useLoadItems } from './use-load-items';
|
|
23
24
|
import { matchTokenValue } from './utils';
|
|
24
25
|
import styles from './styles.css.js';
|
|
25
|
-
function getOperatorI18nString(operator) {
|
|
26
|
-
switch (operator) {
|
|
27
|
-
case '=':
|
|
28
|
-
return 'equals';
|
|
29
|
-
case '!=':
|
|
30
|
-
return 'not_equals';
|
|
31
|
-
case '>':
|
|
32
|
-
return 'greater_than';
|
|
33
|
-
case '>=':
|
|
34
|
-
return 'greater_than_equal';
|
|
35
|
-
case '<':
|
|
36
|
-
return 'less_than';
|
|
37
|
-
case '<=':
|
|
38
|
-
return 'less_than_equal';
|
|
39
|
-
case ':':
|
|
40
|
-
return 'contains';
|
|
41
|
-
case '!:':
|
|
42
|
-
return 'not_contains';
|
|
43
|
-
case '^':
|
|
44
|
-
return 'starts_with';
|
|
45
|
-
case '!^':
|
|
46
|
-
return 'not_starts_with';
|
|
47
|
-
// The line is ignored from coverage because it is not reachable.
|
|
48
|
-
// The purpose of it is to prevent TS errors if ComparisonOperator type gets extended.
|
|
49
|
-
/* istanbul ignore next */
|
|
50
|
-
default:
|
|
51
|
-
return operator;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
26
|
const PropertyFilter = React.forwardRef((_a, ref) => {
|
|
55
27
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
|
|
56
28
|
var { disabled, countText, query, hideOperations, onChange, filteringProperties, filteringOptions = [], customGroupsText = [], disableFreeTextFiltering = false, freeTextFiltering, onLoadItems, virtualScroll, customControl, customFilterActions, filteringPlaceholder, filteringAriaLabel, filteringEmpty, filteringLoadingText, filteringFinishedText, filteringErrorText, filteringRecoveryText, filteringConstraintText, filteringStatusType, asyncProperties, tokenLimit, expandToViewport, tokenLimitShowFewerAriaLabel, tokenLimitShowMoreAriaLabel } = _a, rest = __rest(_a, ["disabled", "countText", "query", "hideOperations", "onChange", "filteringProperties", "filteringOptions", "customGroupsText", "disableFreeTextFiltering", "freeTextFiltering", "onLoadItems", "virtualScroll", "customControl", "customFilterActions", "filteringPlaceholder", "filteringAriaLabel", "filteringEmpty", "filteringLoadingText", "filteringFinishedText", "filteringErrorText", "filteringRecoveryText", "filteringConstraintText", "filteringStatusType", "asyncProperties", "tokenLimit", "expandToViewport", "tokenLimitShowFewerAriaLabel", "tokenLimitShowMoreAriaLabel"]);
|
|
@@ -61,16 +33,9 @@ const PropertyFilter = React.forwardRef((_a, ref) => {
|
|
|
61
33
|
const inputRef = useRef(null);
|
|
62
34
|
const baseProps = getBaseProps(rest);
|
|
63
35
|
const i18n = useInternalI18n('property-filter');
|
|
64
|
-
const i18nStrings = Object.assign(Object.assign({}, rest.i18nStrings), { allPropertiesLabel: i18n('i18nStrings.allPropertiesLabel', (_b = rest.i18nStrings) === null || _b === void 0 ? void 0 : _b.allPropertiesLabel), applyActionText: i18n('i18nStrings.applyActionText', (_c = rest.i18nStrings) === null || _c === void 0 ? void 0 : _c.applyActionText), cancelActionText: i18n('i18nStrings.cancelActionText', (_d = rest.i18nStrings) === null || _d === void 0 ? void 0 : _d.cancelActionText), clearFiltersText: i18n('i18nStrings.clearFiltersText', (_e = rest.i18nStrings) === null || _e === void 0 ? void 0 : _e.clearFiltersText), editTokenHeader: i18n('i18nStrings.editTokenHeader', (_f = rest.i18nStrings) === null || _f === void 0 ? void 0 : _f.editTokenHeader), groupPropertiesText: i18n('i18nStrings.groupPropertiesText', (_g = rest.i18nStrings) === null || _g === void 0 ? void 0 : _g.groupPropertiesText), groupValuesText: i18n('i18nStrings.groupValuesText', (_h = rest.i18nStrings) === null || _h === void 0 ? void 0 : _h.groupValuesText), operationAndText: i18n('i18nStrings.operationAndText', (_j = rest.i18nStrings) === null || _j === void 0 ? void 0 : _j.operationAndText), operationOrText: i18n('i18nStrings.operationOrText', (_k = rest.i18nStrings) === null || _k === void 0 ? void 0 : _k.operationOrText), operatorContainsText: i18n('i18nStrings.operatorContainsText', (_l = rest.i18nStrings) === null || _l === void 0 ? void 0 : _l.operatorContainsText), operatorDoesNotContainText: i18n('i18nStrings.operatorDoesNotContainText', (_m = rest.i18nStrings) === null || _m === void 0 ? void 0 : _m.operatorDoesNotContainText), operatorDoesNotEqualText: i18n('i18nStrings.operatorDoesNotEqualText', (_o = rest.i18nStrings) === null || _o === void 0 ? void 0 : _o.operatorDoesNotEqualText), operatorEqualsText: i18n('i18nStrings.operatorEqualsText', (_p = rest.i18nStrings) === null || _p === void 0 ? void 0 : _p.operatorEqualsText), operatorGreaterOrEqualText: i18n('i18nStrings.operatorGreaterOrEqualText', (_q = rest.i18nStrings) === null || _q === void 0 ? void 0 : _q.operatorGreaterOrEqualText), operatorGreaterText: i18n('i18nStrings.operatorGreaterText', (_r = rest.i18nStrings) === null || _r === void 0 ? void 0 : _r.operatorGreaterText), operatorLessOrEqualText: i18n('i18nStrings.operatorLessOrEqualText', (_s = rest.i18nStrings) === null || _s === void 0 ? void 0 : _s.operatorLessOrEqualText), operatorLessText: i18n('i18nStrings.operatorLessText', (_t = rest.i18nStrings) === null || _t === void 0 ? void 0 : _t.operatorLessText), operatorStartsWithText: i18n('i18nStrings.operatorStartsWithText', (_u = rest.i18nStrings) === null || _u === void 0 ? void 0 : _u.operatorStartsWithText), operatorDoesNotStartWithText: i18n('i18nStrings.operatorDoesNotStartWithText', (_v = rest.i18nStrings) === null || _v === void 0 ? void 0 : _v.operatorDoesNotStartWithText), operatorText: i18n('i18nStrings.operatorText', (_w = rest.i18nStrings) === null || _w === void 0 ? void 0 : _w.operatorText), operatorsText: i18n('i18nStrings.operatorsText', (_x = rest.i18nStrings) === null || _x === void 0 ? void 0 : _x.operatorsText), propertyText: i18n('i18nStrings.propertyText', (_y = rest.i18nStrings) === null || _y === void 0 ? void 0 : _y.propertyText), tokenLimitShowFewer: i18n('i18nStrings.tokenLimitShowFewer', (_z = rest.i18nStrings) === null || _z === void 0 ? void 0 : _z.tokenLimitShowFewer), tokenLimitShowMore: i18n('i18nStrings.tokenLimitShowMore', (_0 = rest.i18nStrings) === null || _0 === void 0 ? void 0 : _0.tokenLimitShowMore), valueText: i18n('i18nStrings.valueText', (_1 = rest.i18nStrings) === null || _1 === void 0 ? void 0 : _1.valueText)
|
|
65
|
-
var _a;
|
|
66
|
-
return format({
|
|
67
|
-
token__operator: getOperatorI18nString(token.operator),
|
|
68
|
-
token__propertyKey: (_a = token.propertyKey) !== null && _a !== void 0 ? _a : '',
|
|
69
|
-
token__value: token.value,
|
|
70
|
-
});
|
|
71
|
-
}) });
|
|
36
|
+
const i18nStrings = Object.assign(Object.assign({}, rest.i18nStrings), { allPropertiesLabel: i18n('i18nStrings.allPropertiesLabel', (_b = rest.i18nStrings) === null || _b === void 0 ? void 0 : _b.allPropertiesLabel), applyActionText: i18n('i18nStrings.applyActionText', (_c = rest.i18nStrings) === null || _c === void 0 ? void 0 : _c.applyActionText), cancelActionText: i18n('i18nStrings.cancelActionText', (_d = rest.i18nStrings) === null || _d === void 0 ? void 0 : _d.cancelActionText), clearFiltersText: i18n('i18nStrings.clearFiltersText', (_e = rest.i18nStrings) === null || _e === void 0 ? void 0 : _e.clearFiltersText), editTokenHeader: i18n('i18nStrings.editTokenHeader', (_f = rest.i18nStrings) === null || _f === void 0 ? void 0 : _f.editTokenHeader), groupPropertiesText: i18n('i18nStrings.groupPropertiesText', (_g = rest.i18nStrings) === null || _g === void 0 ? void 0 : _g.groupPropertiesText), groupValuesText: i18n('i18nStrings.groupValuesText', (_h = rest.i18nStrings) === null || _h === void 0 ? void 0 : _h.groupValuesText), operationAndText: i18n('i18nStrings.operationAndText', (_j = rest.i18nStrings) === null || _j === void 0 ? void 0 : _j.operationAndText), operationOrText: i18n('i18nStrings.operationOrText', (_k = rest.i18nStrings) === null || _k === void 0 ? void 0 : _k.operationOrText), operatorContainsText: i18n('i18nStrings.operatorContainsText', (_l = rest.i18nStrings) === null || _l === void 0 ? void 0 : _l.operatorContainsText), operatorDoesNotContainText: i18n('i18nStrings.operatorDoesNotContainText', (_m = rest.i18nStrings) === null || _m === void 0 ? void 0 : _m.operatorDoesNotContainText), operatorDoesNotEqualText: i18n('i18nStrings.operatorDoesNotEqualText', (_o = rest.i18nStrings) === null || _o === void 0 ? void 0 : _o.operatorDoesNotEqualText), operatorEqualsText: i18n('i18nStrings.operatorEqualsText', (_p = rest.i18nStrings) === null || _p === void 0 ? void 0 : _p.operatorEqualsText), operatorGreaterOrEqualText: i18n('i18nStrings.operatorGreaterOrEqualText', (_q = rest.i18nStrings) === null || _q === void 0 ? void 0 : _q.operatorGreaterOrEqualText), operatorGreaterText: i18n('i18nStrings.operatorGreaterText', (_r = rest.i18nStrings) === null || _r === void 0 ? void 0 : _r.operatorGreaterText), operatorLessOrEqualText: i18n('i18nStrings.operatorLessOrEqualText', (_s = rest.i18nStrings) === null || _s === void 0 ? void 0 : _s.operatorLessOrEqualText), operatorLessText: i18n('i18nStrings.operatorLessText', (_t = rest.i18nStrings) === null || _t === void 0 ? void 0 : _t.operatorLessText), operatorStartsWithText: i18n('i18nStrings.operatorStartsWithText', (_u = rest.i18nStrings) === null || _u === void 0 ? void 0 : _u.operatorStartsWithText), operatorDoesNotStartWithText: i18n('i18nStrings.operatorDoesNotStartWithText', (_v = rest.i18nStrings) === null || _v === void 0 ? void 0 : _v.operatorDoesNotStartWithText), operatorText: i18n('i18nStrings.operatorText', (_w = rest.i18nStrings) === null || _w === void 0 ? void 0 : _w.operatorText), operatorsText: i18n('i18nStrings.operatorsText', (_x = rest.i18nStrings) === null || _x === void 0 ? void 0 : _x.operatorsText), propertyText: i18n('i18nStrings.propertyText', (_y = rest.i18nStrings) === null || _y === void 0 ? void 0 : _y.propertyText), tokenLimitShowFewer: i18n('i18nStrings.tokenLimitShowFewer', (_z = rest.i18nStrings) === null || _z === void 0 ? void 0 : _z.tokenLimitShowFewer), tokenLimitShowMore: i18n('i18nStrings.tokenLimitShowMore', (_0 = rest.i18nStrings) === null || _0 === void 0 ? void 0 : _0.tokenLimitShowMore), valueText: i18n('i18nStrings.valueText', (_1 = rest.i18nStrings) === null || _1 === void 0 ? void 0 : _1.valueText) });
|
|
72
37
|
useImperativeHandle(ref, () => ({ focus: () => { var _a; return (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); } }), []);
|
|
73
|
-
const showResults = !!((
|
|
38
|
+
const showResults = !!((_2 = query.tokens) === null || _2 === void 0 ? void 0 : _2.length) && !disabled && !!countText;
|
|
74
39
|
const { addToken, removeToken, setToken, setOperation, removeAllTokens } = getQueryActions(query, onChange, inputRef);
|
|
75
40
|
const [filteringText, setFilteringText] = useState('');
|
|
76
41
|
const { internalProperties, internalOptions, internalQuery, internalFreeText } = (() => {
|
|
@@ -106,6 +71,7 @@ const PropertyFilter = React.forwardRef((_a, ref) => {
|
|
|
106
71
|
property: token.propertyKey ? getProperty(token.propertyKey) : null,
|
|
107
72
|
operator: token.operator,
|
|
108
73
|
value: token.value,
|
|
74
|
+
__source: token,
|
|
109
75
|
})),
|
|
110
76
|
};
|
|
111
77
|
const internalFreeText = {
|
|
@@ -115,6 +81,7 @@ const PropertyFilter = React.forwardRef((_a, ref) => {
|
|
|
115
81
|
};
|
|
116
82
|
return { internalProperties: [...propertyByKey.values()], internalOptions, internalQuery, internalFreeText };
|
|
117
83
|
})();
|
|
84
|
+
i18nStrings.removeTokenButtonAriaLabel = i18n('i18nStrings.removeTokenButtonAriaLabel', (_3 = rest.i18nStrings) === null || _3 === void 0 ? void 0 : _3.removeTokenButtonAriaLabel, format => token => format(getI18nToken(token)));
|
|
118
85
|
const parsedText = parseText(filteringText, internalProperties, internalFreeText);
|
|
119
86
|
const autosuggestOptions = getAutosuggestOptions(parsedText, internalProperties, internalOptions, customGroupsText, i18nStrings);
|
|
120
87
|
const createToken = (currentText) => {
|