@cloudscape-design/components 3.0.365 → 3.0.366
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/app-layout/defaults.d.ts +1 -2
- package/app-layout/defaults.d.ts.map +1 -1
- package/app-layout/defaults.js.map +1 -1
- package/app-layout/drawer/index.d.ts.map +1 -1
- package/app-layout/drawer/index.js +3 -9
- package/app-layout/drawer/index.js.map +1 -1
- package/app-layout/drawer/interfaces.d.ts +5 -1
- package/app-layout/drawer/interfaces.d.ts.map +1 -1
- package/app-layout/drawer/interfaces.js.map +1 -1
- package/app-layout/drawer/resizable-drawer.d.ts.map +1 -1
- package/app-layout/drawer/resizable-drawer.js +6 -2
- package/app-layout/drawer/resizable-drawer.js.map +1 -1
- package/app-layout/index.d.ts.map +1 -1
- package/app-layout/index.js +43 -123
- package/app-layout/index.js.map +1 -1
- package/app-layout/utils/use-drawers.d.ts +28 -0
- package/app-layout/utils/use-drawers.d.ts.map +1 -0
- package/app-layout/utils/use-drawers.js +86 -0
- package/app-layout/utils/use-drawers.js.map +1 -0
- package/app-layout/utils/use-resize.d.ts +8 -4
- package/app-layout/utils/use-resize.d.ts.map +1 -1
- package/app-layout/utils/use-resize.js +5 -37
- package/app-layout/utils/use-resize.js.map +1 -1
- package/app-layout/visual-refresh/context.d.ts +5 -4
- package/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/app-layout/visual-refresh/context.js +20 -38
- package/app-layout/visual-refresh/context.js.map +1 -1
- package/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/app-layout/visual-refresh/drawers.js +11 -18
- package/app-layout/visual-refresh/drawers.js.map +1 -1
- package/app-layout/visual-refresh/mobile-toolbar.js +2 -2
- package/app-layout/visual-refresh/mobile-toolbar.js.map +1 -1
- package/app-layout/visual-refresh/split-panel.js +1 -1
- package/app-layout/visual-refresh/split-panel.js.map +1 -1
- package/app-layout/visual-refresh/styles.css.js +69 -69
- package/app-layout/visual-refresh/styles.scoped.css +167 -166
- package/app-layout/visual-refresh/styles.selectors.js +69 -69
- package/app-layout/visual-refresh/tools.js +1 -1
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/button/icon-helper.d.ts +1 -0
- package/button/icon-helper.d.ts.map +1 -1
- package/button/icon-helper.js +2 -2
- package/button/icon-helper.js.map +1 -1
- package/button/internal.d.ts +2 -0
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +2 -1
- package/button/internal.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +10 -1
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +15 -1
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/index.d.ts +4 -0
- package/button-dropdown/item-element/index.d.ts.map +1 -1
- package/button-dropdown/item-element/index.js +1 -1
- package/button-dropdown/item-element/index.js.map +1 -1
- package/icon/styles.css.js +21 -21
- package/icon/styles.scoped.css +54 -54
- package/icon/styles.selectors.js +21 -21
- package/internal/base-component/styles.scoped.css +5 -0
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/theming/index.cjs +31 -0
- package/internal/generated/theming/index.js +31 -0
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/property-filter/index.d.ts.map +1 -1
- package/property-filter/index.js +2 -1
- package/property-filter/index.js.map +1 -1
- package/property-filter/styles.css.js +30 -29
- package/property-filter/styles.scoped.css +38 -32
- package/property-filter/styles.selectors.js +30 -29
|
@@ -741,6 +741,10 @@ module.exports.preset = {
|
|
|
741
741
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
742
742
|
"dark": "rgba(0, 7, 22, 1)"
|
|
743
743
|
},
|
|
744
|
+
"colorBackgroundBadgeIcon": {
|
|
745
|
+
"light": "{colorRed600}",
|
|
746
|
+
"dark": "{colorRed500}"
|
|
747
|
+
},
|
|
744
748
|
"colorBackgroundButtonLinkActive": {
|
|
745
749
|
"light": "{colorBlue200}",
|
|
746
750
|
"dark": "{colorGrey650}"
|
|
@@ -2755,6 +2759,10 @@ module.exports.preset = {
|
|
|
2755
2759
|
"light": "rgba(0, 7, 22, 1)",
|
|
2756
2760
|
"dark": "rgba(0, 7, 22, 1)"
|
|
2757
2761
|
},
|
|
2762
|
+
"colorBackgroundBadgeIcon": {
|
|
2763
|
+
"light": "{colorRed500}",
|
|
2764
|
+
"dark": "{colorRed500}"
|
|
2765
|
+
},
|
|
2758
2766
|
"colorBackgroundButtonLinkActive": {
|
|
2759
2767
|
"light": "{colorGrey650}",
|
|
2760
2768
|
"dark": "{colorGrey650}"
|
|
@@ -3757,6 +3765,10 @@ module.exports.preset = {
|
|
|
3757
3765
|
"light": "rgba(0, 7, 22, 1)",
|
|
3758
3766
|
"dark": "rgba(0, 7, 22, 1)"
|
|
3759
3767
|
},
|
|
3768
|
+
"colorBackgroundBadgeIcon": {
|
|
3769
|
+
"light": "{colorRed500}",
|
|
3770
|
+
"dark": "{colorRed500}"
|
|
3771
|
+
},
|
|
3760
3772
|
"colorBackgroundButtonLinkActive": {
|
|
3761
3773
|
"light": "{colorGrey650}",
|
|
3762
3774
|
"dark": "{colorGrey650}"
|
|
@@ -4691,6 +4703,10 @@ module.exports.preset = {
|
|
|
4691
4703
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
4692
4704
|
"dark": "rgba(0, 7, 22, 1)"
|
|
4693
4705
|
},
|
|
4706
|
+
"colorBackgroundBadgeIcon": {
|
|
4707
|
+
"light": "{colorRed600}",
|
|
4708
|
+
"dark": "{colorRed500}"
|
|
4709
|
+
},
|
|
4694
4710
|
"colorBackgroundButtonLinkActive": {
|
|
4695
4711
|
"light": "{colorBlue200}",
|
|
4696
4712
|
"dark": "{colorGrey650}"
|
|
@@ -5625,6 +5641,10 @@ module.exports.preset = {
|
|
|
5625
5641
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
5626
5642
|
"dark": "rgba(0, 7, 22, 1)"
|
|
5627
5643
|
},
|
|
5644
|
+
"colorBackgroundBadgeIcon": {
|
|
5645
|
+
"light": "{colorRed600}",
|
|
5646
|
+
"dark": "{colorRed500}"
|
|
5647
|
+
},
|
|
5628
5648
|
"colorBackgroundButtonLinkActive": {
|
|
5629
5649
|
"light": "{colorBlue200}",
|
|
5630
5650
|
"dark": "{colorGrey650}"
|
|
@@ -6559,6 +6579,10 @@ module.exports.preset = {
|
|
|
6559
6579
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
6560
6580
|
"dark": "rgba(0, 7, 22, 1)"
|
|
6561
6581
|
},
|
|
6582
|
+
"colorBackgroundBadgeIcon": {
|
|
6583
|
+
"light": "{colorRed600}",
|
|
6584
|
+
"dark": "{colorRed500}"
|
|
6585
|
+
},
|
|
6562
6586
|
"colorBackgroundButtonLinkActive": {
|
|
6563
6587
|
"light": "{colorBlue200}",
|
|
6564
6588
|
"dark": "{colorGrey650}"
|
|
@@ -7495,6 +7519,10 @@ module.exports.preset = {
|
|
|
7495
7519
|
"light": "rgba(0, 7, 22, 1)",
|
|
7496
7520
|
"dark": "rgba(0, 7, 22, 1)"
|
|
7497
7521
|
},
|
|
7522
|
+
"colorBackgroundBadgeIcon": {
|
|
7523
|
+
"light": "{colorRed500}",
|
|
7524
|
+
"dark": "{colorRed500}"
|
|
7525
|
+
},
|
|
7498
7526
|
"colorBackgroundButtonLinkActive": {
|
|
7499
7527
|
"light": "{colorGrey650}",
|
|
7500
7528
|
"dark": "{colorGrey650}"
|
|
@@ -8554,6 +8582,7 @@ module.exports.preset = {
|
|
|
8554
8582
|
"colorGreyTransparent": "color",
|
|
8555
8583
|
"colorGreyTransparentHeavy": "color",
|
|
8556
8584
|
"colorGreyTransparentLight": "color",
|
|
8585
|
+
"colorBackgroundBadgeIcon": "color",
|
|
8557
8586
|
"colorBackgroundButtonLinkActive": "color",
|
|
8558
8587
|
"colorBackgroundButtonLinkHover": "color",
|
|
8559
8588
|
"colorBackgroundButtonNormalActive": "color",
|
|
@@ -9640,6 +9669,7 @@ module.exports.preset = {
|
|
|
9640
9669
|
"colorGreyTransparent": "color-grey-transparent",
|
|
9641
9670
|
"colorGreyTransparentHeavy": "color-grey-transparent-heavy",
|
|
9642
9671
|
"colorGreyTransparentLight": "color-grey-transparent-light",
|
|
9672
|
+
"colorBackgroundBadgeIcon": "color-background-badge-icon",
|
|
9643
9673
|
"colorBackgroundButtonLinkActive": "color-background-button-link-active",
|
|
9644
9674
|
"colorBackgroundButtonLinkHover": "color-background-button-link-hover",
|
|
9645
9675
|
"colorBackgroundButtonNormalActive": "color-background-button-normal-active",
|
|
@@ -10319,6 +10349,7 @@ module.exports.preset = {
|
|
|
10319
10349
|
"colorGreyTransparent": "--color-grey-transparent-ekx6mv",
|
|
10320
10350
|
"colorGreyTransparentHeavy": "--color-grey-transparent-heavy-iqptxt",
|
|
10321
10351
|
"colorGreyTransparentLight": "--color-grey-transparent-light-6bril0",
|
|
10352
|
+
"colorBackgroundBadgeIcon": "--color-background-badge-icon-q1kfox",
|
|
10322
10353
|
"colorBackgroundButtonLinkActive": "--color-background-button-link-active-cbd6sf",
|
|
10323
10354
|
"colorBackgroundButtonLinkHover": "--color-background-button-link-hover-t0fnno",
|
|
10324
10355
|
"colorBackgroundButtonNormalActive": "--color-background-button-normal-active-qmds3y",
|
|
@@ -741,6 +741,10 @@ export var preset = {
|
|
|
741
741
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
742
742
|
"dark": "rgba(0, 7, 22, 1)"
|
|
743
743
|
},
|
|
744
|
+
"colorBackgroundBadgeIcon": {
|
|
745
|
+
"light": "{colorRed600}",
|
|
746
|
+
"dark": "{colorRed500}"
|
|
747
|
+
},
|
|
744
748
|
"colorBackgroundButtonLinkActive": {
|
|
745
749
|
"light": "{colorBlue200}",
|
|
746
750
|
"dark": "{colorGrey650}"
|
|
@@ -2755,6 +2759,10 @@ export var preset = {
|
|
|
2755
2759
|
"light": "rgba(0, 7, 22, 1)",
|
|
2756
2760
|
"dark": "rgba(0, 7, 22, 1)"
|
|
2757
2761
|
},
|
|
2762
|
+
"colorBackgroundBadgeIcon": {
|
|
2763
|
+
"light": "{colorRed500}",
|
|
2764
|
+
"dark": "{colorRed500}"
|
|
2765
|
+
},
|
|
2758
2766
|
"colorBackgroundButtonLinkActive": {
|
|
2759
2767
|
"light": "{colorGrey650}",
|
|
2760
2768
|
"dark": "{colorGrey650}"
|
|
@@ -3757,6 +3765,10 @@ export var preset = {
|
|
|
3757
3765
|
"light": "rgba(0, 7, 22, 1)",
|
|
3758
3766
|
"dark": "rgba(0, 7, 22, 1)"
|
|
3759
3767
|
},
|
|
3768
|
+
"colorBackgroundBadgeIcon": {
|
|
3769
|
+
"light": "{colorRed500}",
|
|
3770
|
+
"dark": "{colorRed500}"
|
|
3771
|
+
},
|
|
3760
3772
|
"colorBackgroundButtonLinkActive": {
|
|
3761
3773
|
"light": "{colorGrey650}",
|
|
3762
3774
|
"dark": "{colorGrey650}"
|
|
@@ -4691,6 +4703,10 @@ export var preset = {
|
|
|
4691
4703
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
4692
4704
|
"dark": "rgba(0, 7, 22, 1)"
|
|
4693
4705
|
},
|
|
4706
|
+
"colorBackgroundBadgeIcon": {
|
|
4707
|
+
"light": "{colorRed600}",
|
|
4708
|
+
"dark": "{colorRed500}"
|
|
4709
|
+
},
|
|
4694
4710
|
"colorBackgroundButtonLinkActive": {
|
|
4695
4711
|
"light": "{colorBlue200}",
|
|
4696
4712
|
"dark": "{colorGrey650}"
|
|
@@ -5625,6 +5641,10 @@ export var preset = {
|
|
|
5625
5641
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
5626
5642
|
"dark": "rgba(0, 7, 22, 1)"
|
|
5627
5643
|
},
|
|
5644
|
+
"colorBackgroundBadgeIcon": {
|
|
5645
|
+
"light": "{colorRed600}",
|
|
5646
|
+
"dark": "{colorRed500}"
|
|
5647
|
+
},
|
|
5628
5648
|
"colorBackgroundButtonLinkActive": {
|
|
5629
5649
|
"light": "{colorBlue200}",
|
|
5630
5650
|
"dark": "{colorGrey650}"
|
|
@@ -6559,6 +6579,10 @@ export var preset = {
|
|
|
6559
6579
|
"light": "rgba(0, 7, 22, 0.12)",
|
|
6560
6580
|
"dark": "rgba(0, 7, 22, 1)"
|
|
6561
6581
|
},
|
|
6582
|
+
"colorBackgroundBadgeIcon": {
|
|
6583
|
+
"light": "{colorRed600}",
|
|
6584
|
+
"dark": "{colorRed500}"
|
|
6585
|
+
},
|
|
6562
6586
|
"colorBackgroundButtonLinkActive": {
|
|
6563
6587
|
"light": "{colorBlue200}",
|
|
6564
6588
|
"dark": "{colorGrey650}"
|
|
@@ -7495,6 +7519,10 @@ export var preset = {
|
|
|
7495
7519
|
"light": "rgba(0, 7, 22, 1)",
|
|
7496
7520
|
"dark": "rgba(0, 7, 22, 1)"
|
|
7497
7521
|
},
|
|
7522
|
+
"colorBackgroundBadgeIcon": {
|
|
7523
|
+
"light": "{colorRed500}",
|
|
7524
|
+
"dark": "{colorRed500}"
|
|
7525
|
+
},
|
|
7498
7526
|
"colorBackgroundButtonLinkActive": {
|
|
7499
7527
|
"light": "{colorGrey650}",
|
|
7500
7528
|
"dark": "{colorGrey650}"
|
|
@@ -8554,6 +8582,7 @@ export var preset = {
|
|
|
8554
8582
|
"colorGreyTransparent": "color",
|
|
8555
8583
|
"colorGreyTransparentHeavy": "color",
|
|
8556
8584
|
"colorGreyTransparentLight": "color",
|
|
8585
|
+
"colorBackgroundBadgeIcon": "color",
|
|
8557
8586
|
"colorBackgroundButtonLinkActive": "color",
|
|
8558
8587
|
"colorBackgroundButtonLinkHover": "color",
|
|
8559
8588
|
"colorBackgroundButtonNormalActive": "color",
|
|
@@ -9640,6 +9669,7 @@ export var preset = {
|
|
|
9640
9669
|
"colorGreyTransparent": "color-grey-transparent",
|
|
9641
9670
|
"colorGreyTransparentHeavy": "color-grey-transparent-heavy",
|
|
9642
9671
|
"colorGreyTransparentLight": "color-grey-transparent-light",
|
|
9672
|
+
"colorBackgroundBadgeIcon": "color-background-badge-icon",
|
|
9643
9673
|
"colorBackgroundButtonLinkActive": "color-background-button-link-active",
|
|
9644
9674
|
"colorBackgroundButtonLinkHover": "color-background-button-link-hover",
|
|
9645
9675
|
"colorBackgroundButtonNormalActive": "color-background-button-normal-active",
|
|
@@ -10319,6 +10349,7 @@ export var preset = {
|
|
|
10319
10349
|
"colorGreyTransparent": "--color-grey-transparent-ekx6mv",
|
|
10320
10350
|
"colorGreyTransparentHeavy": "--color-grey-transparent-heavy-iqptxt",
|
|
10321
10351
|
"colorGreyTransparentLight": "--color-grey-transparent-light-6bril0",
|
|
10352
|
+
"colorBackgroundBadgeIcon": "--color-background-badge-icon-q1kfox",
|
|
10322
10353
|
"colorBackgroundButtonLinkActive": "--color-background-button-link-active-cbd6sf",
|
|
10323
10354
|
"colorBackgroundButtonLinkHover": "--color-background-button-link-hover-t0fnno",
|
|
10324
10355
|
"colorBackgroundButtonNormalActive": "--color-background-button-normal-active-qmds3y",
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["property-filter/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAUrE,OAAO,EACL,mBAAmB,EASpB,MAAM,cAAc,CAAC;AAetB,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAa/B,QAAA,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["property-filter/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAUrE,OAAO,EACL,mBAAmB,EASpB,MAAM,cAAc,CAAC;AAetB,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAa/B,QAAA,MAAM,cAAc,qGAwWnB,CAAC;AAGF,eAAe,cAAc,CAAC"}
|
package/property-filter/index.js
CHANGED
|
@@ -189,7 +189,8 @@ const PropertyFilter = React.forwardRef((_a, ref) => {
|
|
|
189
189
|
(_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus({ preventDropdown: true });
|
|
190
190
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.close();
|
|
191
191
|
} })), hideEnteredTextOption: disableFreeTextFiltering && parsedText.step !== 'property', clearAriaLabel: i18nStrings.clearAriaLabel, searchResultsId: showResults ? searchResultsId : undefined })),
|
|
192
|
-
showResults ? React.createElement(
|
|
192
|
+
showResults ? (React.createElement("div", { className: styles.results },
|
|
193
|
+
React.createElement(SearchResults, { id: searchResultsId }, countText))) : null),
|
|
193
194
|
tokens && tokens.length > 0 && (React.createElement("div", { className: styles.tokens },
|
|
194
195
|
React.createElement(InternalSpaceBetween, { size: "xs", direction: "horizontal" },
|
|
195
196
|
React.createElement(TokenList, { alignment: "inline", limit: tokenLimit, items: tokens, renderItem: (token, tokenIndex) => (React.createElement(TokenButton, { token: token, first: tokenIndex === 0, operation: operation, removeToken: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["property-filter/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAa5D,OAA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;wBAC/C,aAAa,EAAE,WAAW,CAAC,kBAAkB;qBAC9C,EACD,KAAK,EACH,oBAAC,cAAc,IACb,UAAU,EAAC,MAAM,EACjB,OAAO,EAAE,eAAe,EACxB,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,EAC/B,QAAQ,EAAE,QAAQ,IAEjB,WAAW,CAAC,gBAAgB,CACd,EAEnB,gBAAgB,EAAE,iBAAiB,GACnC,CACmB,CACnB,CACP,CACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AACnD,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useRef, useState, useImperativeHandle } from 'react';\n\nimport InternalSpaceBetween from '../space-between/internal';\nimport { InternalButton } from '../button/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { KeyCode } from '../internal/keycode';\nimport { useUniqueId } from '../internal/hooks/use-unique-id/index';\nimport { fireNonCancelableEvent } from '../internal/events';\n\nimport {\n PropertyFilterProps,\n ParsedText,\n Ref,\n ComparisonOperator,\n Token,\n InternalFilteringProperty,\n InternalFilteringOption,\n FilteringProperty,\n ExtendedOperator,\n} from './interfaces';\nimport { TokenButton } from './token';\nimport { getQueryActions, parseText, getAutosuggestOptions, getAllowedOperators } from './controller';\nimport { useLoadItems } from './use-load-items';\nimport styles from './styles.css.js';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport PropertyFilterAutosuggest, { PropertyFilterAutosuggestProps } from './property-filter-autosuggest';\nimport { PropertyEditor } from './property-editor';\nimport { AutosuggestInputRef } from '../internal/components/autosuggest-input';\nimport { matchTokenValue } from './utils';\nimport { PropertyFilterOperator } from '@cloudscape-design/collection-hooks';\nimport { useInternalI18n } from '../i18n/context';\nimport TokenList from '../internal/components/token-list';\nimport { SearchResults } from '../text-filter/search-results';\n\nexport { PropertyFilterProps };\n\nconst OPERATOR_I18N_MAPPING: Record<PropertyFilterOperator, string> = {\n '=': 'equals',\n '!=': 'not_equals',\n '>': 'greater_than',\n '>=': 'greater_than_equal',\n '<': 'less_than',\n '<=': 'less_than_equal',\n ':': 'contains',\n '!:': 'not_contains',\n};\n\nconst PropertyFilter = React.forwardRef(\n (\n {\n disabled,\n countText,\n query,\n hideOperations,\n onChange,\n filteringProperties,\n filteringOptions = [],\n customGroupsText = [],\n disableFreeTextFiltering = false,\n onLoadItems,\n virtualScroll,\n customControl,\n filteringPlaceholder,\n filteringAriaLabel,\n filteringEmpty,\n filteringLoadingText,\n filteringFinishedText,\n filteringErrorText,\n filteringRecoveryText,\n filteringStatusType,\n asyncProperties,\n tokenLimit,\n expandToViewport,\n ...rest\n }: PropertyFilterProps,\n ref: React.Ref<Ref>\n ) => {\n const { __internalRootRef } = useBaseComponent('PropertyFilter');\n const [removedTokenIndex, setRemovedTokenIndex] = useState<null | number>(null);\n\n const inputRef = useRef<AutosuggestInputRef>(null);\n const baseProps = getBaseProps(rest);\n\n const i18n = useInternalI18n('property-filter');\n const i18nStrings: PropertyFilterProps.I18nStrings = {\n ...rest.i18nStrings,\n allPropertiesLabel: i18n('i18nStrings.allPropertiesLabel', rest.i18nStrings?.allPropertiesLabel),\n applyActionText: i18n('i18nStrings.applyActionText', rest.i18nStrings?.applyActionText),\n cancelActionText: i18n('i18nStrings.cancelActionText', rest.i18nStrings?.cancelActionText),\n clearFiltersText: i18n('i18nStrings.clearFiltersText', rest.i18nStrings?.clearFiltersText),\n editTokenHeader: i18n('i18nStrings.editTokenHeader', rest.i18nStrings?.editTokenHeader),\n groupPropertiesText: i18n('i18nStrings.groupPropertiesText', rest.i18nStrings?.groupPropertiesText),\n groupValuesText: i18n('i18nStrings.groupValuesText', rest.i18nStrings?.groupValuesText),\n operationAndText: i18n('i18nStrings.operationAndText', rest.i18nStrings?.operationAndText),\n operationOrText: i18n('i18nStrings.operationOrText', rest.i18nStrings?.operationOrText),\n operatorContainsText: i18n('i18nStrings.operatorContainsText', rest.i18nStrings?.operatorContainsText),\n operatorDoesNotContainText: i18n(\n 'i18nStrings.operatorDoesNotContainText',\n rest.i18nStrings?.operatorDoesNotContainText\n ),\n operatorDoesNotEqualText: i18n(\n 'i18nStrings.operatorDoesNotEqualText',\n rest.i18nStrings?.operatorDoesNotEqualText\n ),\n operatorEqualsText: i18n('i18nStrings.operatorEqualsText', rest.i18nStrings?.operatorEqualsText),\n operatorGreaterOrEqualText: i18n(\n 'i18nStrings.operatorGreaterOrEqualText',\n rest.i18nStrings?.operatorGreaterOrEqualText\n ),\n operatorGreaterText: i18n('i18nStrings.operatorGreaterText', rest.i18nStrings?.operatorGreaterText),\n operatorLessOrEqualText: i18n('i18nStrings.operatorLessOrEqualText', rest.i18nStrings?.operatorLessOrEqualText),\n operatorLessText: i18n('i18nStrings.operatorLessText', rest.i18nStrings?.operatorLessText),\n operatorText: i18n('i18nStrings.operatorText', rest.i18nStrings?.operatorText),\n operatorsText: i18n('i18nStrings.operatorsText', rest.i18nStrings?.operatorsText),\n propertyText: i18n('i18nStrings.propertyText', rest.i18nStrings?.propertyText),\n tokenLimitShowFewer: i18n('i18nStrings.tokenLimitShowFewer', rest.i18nStrings?.tokenLimitShowFewer),\n tokenLimitShowMore: i18n('i18nStrings.tokenLimitShowMore', rest.i18nStrings?.tokenLimitShowMore),\n valueText: i18n('i18nStrings.valueText', rest.i18nStrings?.valueText),\n removeTokenButtonAriaLabel: i18n(\n 'i18nStrings.removeTokenButtonAriaLabel',\n rest.i18nStrings?.removeTokenButtonAriaLabel,\n format => token =>\n format({\n token__operator: OPERATOR_I18N_MAPPING[token.operator],\n token__propertyKey: token.propertyKey ?? '',\n token__value: token.value,\n })\n ),\n };\n\n useImperativeHandle(ref, () => ({ focus: () => inputRef.current?.focus() }), []);\n const { tokens, operation } = query;\n const showResults = !!tokens?.length && !disabled && !!countText;\n const { addToken, removeToken, setToken, setOperation, removeAllTokens } = getQueryActions(\n query,\n onChange,\n inputRef\n );\n const [filteringText, setFilteringText] = useState<string>('');\n\n const internalFilteringProperties: readonly InternalFilteringProperty[] = filteringProperties.map(property => {\n const extendedOperators = (property.operators ?? []).reduce(\n (acc, operator) => (typeof operator === 'object' ? acc.set(operator.operator, operator) : acc),\n new Map<PropertyFilterOperator, null | ExtendedOperator<any>>()\n );\n return {\n propertyKey: property.key,\n propertyLabel: property.propertyLabel ?? '',\n groupValuesLabel: property.groupValuesLabel ?? '',\n propertyGroup: property.group,\n operators: (property.operators ?? []).map(op => (typeof op === 'string' ? op : op.operator)),\n defaultOperator: property.defaultOperator ?? '=',\n getValueFormatter: operator => (operator ? extendedOperators.get(operator)?.format ?? null : null),\n getValueFormRenderer: operator => (operator ? extendedOperators.get(operator)?.form ?? null : null),\n externalProperty: property,\n };\n });\n\n const propertyByKey = new Map(internalFilteringProperties.map(p => [p.propertyKey, p]));\n\n const internalFilteringOptions: readonly InternalFilteringOption[] = filteringOptions.map(option => {\n const formatter = propertyByKey.get(option.propertyKey)?.getValueFormatter();\n return {\n propertyKey: option.propertyKey,\n value: option.value,\n label: formatter ? formatter(option.value) : option.label ?? option.value ?? '',\n };\n });\n\n const parsedText = parseText(filteringText, internalFilteringProperties, disableFreeTextFiltering);\n const autosuggestOptions = getAutosuggestOptions(\n parsedText,\n internalFilteringOptions,\n internalFilteringProperties,\n customGroupsText,\n i18nStrings\n );\n\n const createToken = (currentText: string) => {\n const parsedText = parseText(currentText, internalFilteringProperties, disableFreeTextFiltering);\n let newToken: Token;\n switch (parsedText.step) {\n case 'property': {\n newToken = matchTokenValue(\n {\n propertyKey: parsedText.property.propertyKey,\n operator: parsedText.operator,\n value: parsedText.value,\n },\n internalFilteringOptions\n );\n break;\n }\n case 'free-text': {\n newToken = {\n operator: parsedText.operator || ':',\n value: parsedText.value,\n };\n break;\n }\n case 'operator': {\n newToken = {\n operator: ':',\n value: currentText,\n };\n break;\n }\n }\n if (disableFreeTextFiltering && !('propertyKey' in newToken)) {\n return;\n }\n addToken(newToken);\n setFilteringText('');\n };\n const ignoreKeyDown = useRef<boolean>(false);\n const handleKeyDown: PropertyFilterAutosuggestProps['onKeyDown'] = event => {\n if (filteringText && !ignoreKeyDown.current && event.detail.keyCode === KeyCode.enter) {\n createToken(filteringText);\n }\n };\n const getLoadMoreDetail = (parsedText: ParsedText, filteringText: string) => {\n const loadMoreDetail: {\n filteringProperty: FilteringProperty | undefined;\n filteringText: string;\n filteringOperator: ComparisonOperator | undefined;\n } = {\n filteringProperty: undefined,\n filteringText,\n filteringOperator: undefined,\n };\n if (parsedText.step === 'property') {\n loadMoreDetail.filteringProperty = parsedText.property.externalProperty;\n loadMoreDetail.filteringText = parsedText.value;\n loadMoreDetail.filteringOperator = parsedText.operator;\n }\n return loadMoreDetail;\n };\n const loadMoreDetail = getLoadMoreDetail(parsedText, filteringText);\n const inputLoadItemsHandlers = useLoadItems(\n onLoadItems,\n loadMoreDetail.filteringText,\n loadMoreDetail.filteringProperty,\n loadMoreDetail.filteringText,\n loadMoreDetail.filteringOperator\n );\n const asyncProps = {\n empty: filteringEmpty,\n loadingText: filteringLoadingText,\n finishedText: filteringFinishedText,\n errorText: filteringErrorText,\n recoveryText: filteringRecoveryText,\n statusType: filteringStatusType,\n };\n const asyncAutosuggestProps =\n !!filteringText.length || asyncProperties\n ? {\n ...inputLoadItemsHandlers,\n ...asyncProps,\n }\n : {};\n const handleSelected: PropertyFilterAutosuggestProps['onOptionClick'] = event => {\n // The ignoreKeyDown flag makes sure `createToken` routine runs only once. Autosuggest's `onKeyDown` fires,\n // when an item is selected from the list using \"enter\" key.\n ignoreKeyDown.current = true;\n setTimeout(() => {\n ignoreKeyDown.current = false;\n }, 0);\n const { detail: option } = event;\n const value = option.value || '';\n\n if (!('keepOpenOnSelect' in option)) {\n createToken(value);\n return;\n }\n\n // stop dropdown from closing\n event.preventDefault();\n\n const parsedText = parseText(value, internalFilteringProperties, disableFreeTextFiltering);\n const loadMoreDetail = getLoadMoreDetail(parsedText, value);\n\n // Insert operator automatically if only one operator is defined for the given property.\n if (parsedText.step === 'operator') {\n const operators = getAllowedOperators(parsedText.property);\n if (value.trim() === parsedText.property.propertyLabel && operators.length === 1) {\n loadMoreDetail.filteringProperty = parsedText.property.externalProperty;\n loadMoreDetail.filteringOperator = operators[0];\n loadMoreDetail.filteringText = '';\n setFilteringText(parsedText.property.propertyLabel + ' ' + operators[0] + ' ');\n }\n }\n\n fireNonCancelableEvent(onLoadItems, { ...loadMoreDetail, firstPage: true, samePage: false });\n };\n\n const operatorForm =\n parsedText.step === 'property' && parsedText.property.getValueFormRenderer(parsedText.operator);\n\n const searchResultsId = useUniqueId('property-filter-search-results');\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root)} ref={__internalRootRef}>\n <div className={styles['search-field']}>\n {customControl && <div className={styles['custom-control']}>{customControl}</div>}\n <PropertyFilterAutosuggest\n ref={inputRef}\n virtualScroll={virtualScroll}\n enteredTextLabel={i18nStrings.enteredTextLabel}\n ariaLabel={filteringAriaLabel ?? i18nStrings.filteringAriaLabel}\n placeholder={filteringPlaceholder ?? i18nStrings.filteringPlaceholder}\n ariaLabelledby={rest.ariaLabelledby}\n ariaDescribedby={rest.ariaDescribedby}\n controlId={rest.controlId}\n value={filteringText}\n disabled={disabled}\n onKeyDown={handleKeyDown}\n {...autosuggestOptions}\n onChange={event => setFilteringText(event.detail.value)}\n empty={filteringEmpty}\n {...asyncAutosuggestProps}\n expandToViewport={expandToViewport}\n onOptionClick={handleSelected}\n customForm={\n operatorForm && (\n <PropertyEditor\n property={parsedText.property}\n operator={parsedText.operator}\n filter={parsedText.value}\n operatorForm={operatorForm}\n i18nStrings={i18nStrings}\n onCancel={() => {\n setFilteringText('');\n inputRef.current?.close();\n inputRef.current?.focus({ preventDropdown: true });\n }}\n onSubmit={token => {\n addToken(token);\n setFilteringText('');\n inputRef.current?.focus({ preventDropdown: true });\n inputRef.current?.close();\n }}\n />\n )\n }\n hideEnteredTextOption={disableFreeTextFiltering && parsedText.step !== 'property'}\n clearAriaLabel={i18nStrings.clearAriaLabel}\n searchResultsId={showResults ? searchResultsId : undefined}\n />\n {showResults ? <SearchResults id={searchResultsId}>{countText}</SearchResults> : null}\n </div>\n {tokens && tokens.length > 0 && (\n <div className={styles.tokens}>\n <InternalSpaceBetween size=\"xs\" direction=\"horizontal\">\n <TokenList\n alignment=\"inline\"\n limit={tokenLimit}\n items={tokens}\n renderItem={(token, tokenIndex) => (\n <TokenButton\n token={token}\n first={tokenIndex === 0}\n operation={operation}\n removeToken={() => {\n removeToken(tokenIndex);\n setRemovedTokenIndex(tokenIndex);\n }}\n setToken={(newToken: Token) => setToken(tokenIndex, newToken)}\n setOperation={setOperation}\n filteringOptions={internalFilteringOptions}\n filteringProperties={internalFilteringProperties}\n asyncProps={asyncProps}\n onLoadItems={onLoadItems}\n i18nStrings={i18nStrings}\n asyncProperties={asyncProperties}\n hideOperations={hideOperations}\n customGroupsText={customGroupsText}\n disableFreeTextFiltering={disableFreeTextFiltering}\n disabled={disabled}\n expandToViewport={expandToViewport}\n />\n )}\n i18nStrings={{\n limitShowFewer: i18nStrings.tokenLimitShowFewer,\n limitShowMore: i18nStrings.tokenLimitShowMore,\n }}\n after={\n <InternalButton\n formAction=\"none\"\n onClick={removeAllTokens}\n className={styles['remove-all']}\n disabled={disabled}\n >\n {i18nStrings.clearFiltersText}\n </InternalButton>\n }\n removedItemIndex={removedTokenIndex}\n />\n </InternalSpaceBetween>\n </div>\n )}\n </div>\n );\n }\n);\n\napplyDisplayName(PropertyFilter, 'PropertyFilter');\nexport default PropertyFilter;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["property-filter/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,mB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E,CAAC,QAAe,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,EAC7D,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,wBAAwB,EAC1C,mBAAmB,EAAE,2BAA2B,EAChD,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,EAClC,wBAAwB,EAAE,wBAAwB,EAClD,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB,GAClC,CACH,EACD,WAAW,EAAE;wBACX,cAAc,EAAE,WAAW,CAAC,mBAAmB;wBAC/C,aAAa,EAAE,WAAW,CAAC,kBAAkB;qBAC9C,EACD,KAAK,EACH,oBAAC,cAAc,IACb,UAAU,EAAC,MAAM,EACjB,OAAO,EAAE,eAAe,EACxB,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,EAC/B,QAAQ,EAAE,QAAQ,IAEjB,WAAW,CAAC,gBAAgB,CACd,EAEnB,gBAAgB,EAAE,iBAAiB,GACnC,CACmB,CACnB,CACP,CACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAgB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AACnD,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport clsx from 'clsx';\nimport React, { useRef, useState, useImperativeHandle } from 'react';\n\nimport InternalSpaceBetween from '../space-between/internal';\nimport { InternalButton } from '../button/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { KeyCode } from '../internal/keycode';\nimport { useUniqueId } from '../internal/hooks/use-unique-id/index';\nimport { fireNonCancelableEvent } from '../internal/events';\n\nimport {\n PropertyFilterProps,\n ParsedText,\n Ref,\n ComparisonOperator,\n Token,\n InternalFilteringProperty,\n InternalFilteringOption,\n FilteringProperty,\n ExtendedOperator,\n} from './interfaces';\nimport { TokenButton } from './token';\nimport { getQueryActions, parseText, getAutosuggestOptions, getAllowedOperators } from './controller';\nimport { useLoadItems } from './use-load-items';\nimport styles from './styles.css.js';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport PropertyFilterAutosuggest, { PropertyFilterAutosuggestProps } from './property-filter-autosuggest';\nimport { PropertyEditor } from './property-editor';\nimport { AutosuggestInputRef } from '../internal/components/autosuggest-input';\nimport { matchTokenValue } from './utils';\nimport { PropertyFilterOperator } from '@cloudscape-design/collection-hooks';\nimport { useInternalI18n } from '../i18n/context';\nimport TokenList from '../internal/components/token-list';\nimport { SearchResults } from '../text-filter/search-results';\n\nexport { PropertyFilterProps };\n\nconst OPERATOR_I18N_MAPPING: Record<PropertyFilterOperator, string> = {\n '=': 'equals',\n '!=': 'not_equals',\n '>': 'greater_than',\n '>=': 'greater_than_equal',\n '<': 'less_than',\n '<=': 'less_than_equal',\n ':': 'contains',\n '!:': 'not_contains',\n};\n\nconst PropertyFilter = React.forwardRef(\n (\n {\n disabled,\n countText,\n query,\n hideOperations,\n onChange,\n filteringProperties,\n filteringOptions = [],\n customGroupsText = [],\n disableFreeTextFiltering = false,\n onLoadItems,\n virtualScroll,\n customControl,\n filteringPlaceholder,\n filteringAriaLabel,\n filteringEmpty,\n filteringLoadingText,\n filteringFinishedText,\n filteringErrorText,\n filteringRecoveryText,\n filteringStatusType,\n asyncProperties,\n tokenLimit,\n expandToViewport,\n ...rest\n }: PropertyFilterProps,\n ref: React.Ref<Ref>\n ) => {\n const { __internalRootRef } = useBaseComponent('PropertyFilter');\n const [removedTokenIndex, setRemovedTokenIndex] = useState<null | number>(null);\n\n const inputRef = useRef<AutosuggestInputRef>(null);\n const baseProps = getBaseProps(rest);\n\n const i18n = useInternalI18n('property-filter');\n const i18nStrings: PropertyFilterProps.I18nStrings = {\n ...rest.i18nStrings,\n allPropertiesLabel: i18n('i18nStrings.allPropertiesLabel', rest.i18nStrings?.allPropertiesLabel),\n applyActionText: i18n('i18nStrings.applyActionText', rest.i18nStrings?.applyActionText),\n cancelActionText: i18n('i18nStrings.cancelActionText', rest.i18nStrings?.cancelActionText),\n clearFiltersText: i18n('i18nStrings.clearFiltersText', rest.i18nStrings?.clearFiltersText),\n editTokenHeader: i18n('i18nStrings.editTokenHeader', rest.i18nStrings?.editTokenHeader),\n groupPropertiesText: i18n('i18nStrings.groupPropertiesText', rest.i18nStrings?.groupPropertiesText),\n groupValuesText: i18n('i18nStrings.groupValuesText', rest.i18nStrings?.groupValuesText),\n operationAndText: i18n('i18nStrings.operationAndText', rest.i18nStrings?.operationAndText),\n operationOrText: i18n('i18nStrings.operationOrText', rest.i18nStrings?.operationOrText),\n operatorContainsText: i18n('i18nStrings.operatorContainsText', rest.i18nStrings?.operatorContainsText),\n operatorDoesNotContainText: i18n(\n 'i18nStrings.operatorDoesNotContainText',\n rest.i18nStrings?.operatorDoesNotContainText\n ),\n operatorDoesNotEqualText: i18n(\n 'i18nStrings.operatorDoesNotEqualText',\n rest.i18nStrings?.operatorDoesNotEqualText\n ),\n operatorEqualsText: i18n('i18nStrings.operatorEqualsText', rest.i18nStrings?.operatorEqualsText),\n operatorGreaterOrEqualText: i18n(\n 'i18nStrings.operatorGreaterOrEqualText',\n rest.i18nStrings?.operatorGreaterOrEqualText\n ),\n operatorGreaterText: i18n('i18nStrings.operatorGreaterText', rest.i18nStrings?.operatorGreaterText),\n operatorLessOrEqualText: i18n('i18nStrings.operatorLessOrEqualText', rest.i18nStrings?.operatorLessOrEqualText),\n operatorLessText: i18n('i18nStrings.operatorLessText', rest.i18nStrings?.operatorLessText),\n operatorText: i18n('i18nStrings.operatorText', rest.i18nStrings?.operatorText),\n operatorsText: i18n('i18nStrings.operatorsText', rest.i18nStrings?.operatorsText),\n propertyText: i18n('i18nStrings.propertyText', rest.i18nStrings?.propertyText),\n tokenLimitShowFewer: i18n('i18nStrings.tokenLimitShowFewer', rest.i18nStrings?.tokenLimitShowFewer),\n tokenLimitShowMore: i18n('i18nStrings.tokenLimitShowMore', rest.i18nStrings?.tokenLimitShowMore),\n valueText: i18n('i18nStrings.valueText', rest.i18nStrings?.valueText),\n removeTokenButtonAriaLabel: i18n(\n 'i18nStrings.removeTokenButtonAriaLabel',\n rest.i18nStrings?.removeTokenButtonAriaLabel,\n format => token =>\n format({\n token__operator: OPERATOR_I18N_MAPPING[token.operator],\n token__propertyKey: token.propertyKey ?? '',\n token__value: token.value,\n })\n ),\n };\n\n useImperativeHandle(ref, () => ({ focus: () => inputRef.current?.focus() }), []);\n const { tokens, operation } = query;\n const showResults = !!tokens?.length && !disabled && !!countText;\n const { addToken, removeToken, setToken, setOperation, removeAllTokens } = getQueryActions(\n query,\n onChange,\n inputRef\n );\n const [filteringText, setFilteringText] = useState<string>('');\n\n const internalFilteringProperties: readonly InternalFilteringProperty[] = filteringProperties.map(property => {\n const extendedOperators = (property.operators ?? []).reduce(\n (acc, operator) => (typeof operator === 'object' ? acc.set(operator.operator, operator) : acc),\n new Map<PropertyFilterOperator, null | ExtendedOperator<any>>()\n );\n return {\n propertyKey: property.key,\n propertyLabel: property.propertyLabel ?? '',\n groupValuesLabel: property.groupValuesLabel ?? '',\n propertyGroup: property.group,\n operators: (property.operators ?? []).map(op => (typeof op === 'string' ? op : op.operator)),\n defaultOperator: property.defaultOperator ?? '=',\n getValueFormatter: operator => (operator ? extendedOperators.get(operator)?.format ?? null : null),\n getValueFormRenderer: operator => (operator ? extendedOperators.get(operator)?.form ?? null : null),\n externalProperty: property,\n };\n });\n\n const propertyByKey = new Map(internalFilteringProperties.map(p => [p.propertyKey, p]));\n\n const internalFilteringOptions: readonly InternalFilteringOption[] = filteringOptions.map(option => {\n const formatter = propertyByKey.get(option.propertyKey)?.getValueFormatter();\n return {\n propertyKey: option.propertyKey,\n value: option.value,\n label: formatter ? formatter(option.value) : option.label ?? option.value ?? '',\n };\n });\n\n const parsedText = parseText(filteringText, internalFilteringProperties, disableFreeTextFiltering);\n const autosuggestOptions = getAutosuggestOptions(\n parsedText,\n internalFilteringOptions,\n internalFilteringProperties,\n customGroupsText,\n i18nStrings\n );\n\n const createToken = (currentText: string) => {\n const parsedText = parseText(currentText, internalFilteringProperties, disableFreeTextFiltering);\n let newToken: Token;\n switch (parsedText.step) {\n case 'property': {\n newToken = matchTokenValue(\n {\n propertyKey: parsedText.property.propertyKey,\n operator: parsedText.operator,\n value: parsedText.value,\n },\n internalFilteringOptions\n );\n break;\n }\n case 'free-text': {\n newToken = {\n operator: parsedText.operator || ':',\n value: parsedText.value,\n };\n break;\n }\n case 'operator': {\n newToken = {\n operator: ':',\n value: currentText,\n };\n break;\n }\n }\n if (disableFreeTextFiltering && !('propertyKey' in newToken)) {\n return;\n }\n addToken(newToken);\n setFilteringText('');\n };\n const ignoreKeyDown = useRef<boolean>(false);\n const handleKeyDown: PropertyFilterAutosuggestProps['onKeyDown'] = event => {\n if (filteringText && !ignoreKeyDown.current && event.detail.keyCode === KeyCode.enter) {\n createToken(filteringText);\n }\n };\n const getLoadMoreDetail = (parsedText: ParsedText, filteringText: string) => {\n const loadMoreDetail: {\n filteringProperty: FilteringProperty | undefined;\n filteringText: string;\n filteringOperator: ComparisonOperator | undefined;\n } = {\n filteringProperty: undefined,\n filteringText,\n filteringOperator: undefined,\n };\n if (parsedText.step === 'property') {\n loadMoreDetail.filteringProperty = parsedText.property.externalProperty;\n loadMoreDetail.filteringText = parsedText.value;\n loadMoreDetail.filteringOperator = parsedText.operator;\n }\n return loadMoreDetail;\n };\n const loadMoreDetail = getLoadMoreDetail(parsedText, filteringText);\n const inputLoadItemsHandlers = useLoadItems(\n onLoadItems,\n loadMoreDetail.filteringText,\n loadMoreDetail.filteringProperty,\n loadMoreDetail.filteringText,\n loadMoreDetail.filteringOperator\n );\n const asyncProps = {\n empty: filteringEmpty,\n loadingText: filteringLoadingText,\n finishedText: filteringFinishedText,\n errorText: filteringErrorText,\n recoveryText: filteringRecoveryText,\n statusType: filteringStatusType,\n };\n const asyncAutosuggestProps =\n !!filteringText.length || asyncProperties\n ? {\n ...inputLoadItemsHandlers,\n ...asyncProps,\n }\n : {};\n const handleSelected: PropertyFilterAutosuggestProps['onOptionClick'] = event => {\n // The ignoreKeyDown flag makes sure `createToken` routine runs only once. Autosuggest's `onKeyDown` fires,\n // when an item is selected from the list using \"enter\" key.\n ignoreKeyDown.current = true;\n setTimeout(() => {\n ignoreKeyDown.current = false;\n }, 0);\n const { detail: option } = event;\n const value = option.value || '';\n\n if (!('keepOpenOnSelect' in option)) {\n createToken(value);\n return;\n }\n\n // stop dropdown from closing\n event.preventDefault();\n\n const parsedText = parseText(value, internalFilteringProperties, disableFreeTextFiltering);\n const loadMoreDetail = getLoadMoreDetail(parsedText, value);\n\n // Insert operator automatically if only one operator is defined for the given property.\n if (parsedText.step === 'operator') {\n const operators = getAllowedOperators(parsedText.property);\n if (value.trim() === parsedText.property.propertyLabel && operators.length === 1) {\n loadMoreDetail.filteringProperty = parsedText.property.externalProperty;\n loadMoreDetail.filteringOperator = operators[0];\n loadMoreDetail.filteringText = '';\n setFilteringText(parsedText.property.propertyLabel + ' ' + operators[0] + ' ');\n }\n }\n\n fireNonCancelableEvent(onLoadItems, { ...loadMoreDetail, firstPage: true, samePage: false });\n };\n\n const operatorForm =\n parsedText.step === 'property' && parsedText.property.getValueFormRenderer(parsedText.operator);\n\n const searchResultsId = useUniqueId('property-filter-search-results');\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles.root)} ref={__internalRootRef}>\n <div className={styles['search-field']}>\n {customControl && <div className={styles['custom-control']}>{customControl}</div>}\n <PropertyFilterAutosuggest\n ref={inputRef}\n virtualScroll={virtualScroll}\n enteredTextLabel={i18nStrings.enteredTextLabel}\n ariaLabel={filteringAriaLabel ?? i18nStrings.filteringAriaLabel}\n placeholder={filteringPlaceholder ?? i18nStrings.filteringPlaceholder}\n ariaLabelledby={rest.ariaLabelledby}\n ariaDescribedby={rest.ariaDescribedby}\n controlId={rest.controlId}\n value={filteringText}\n disabled={disabled}\n onKeyDown={handleKeyDown}\n {...autosuggestOptions}\n onChange={event => setFilteringText(event.detail.value)}\n empty={filteringEmpty}\n {...asyncAutosuggestProps}\n expandToViewport={expandToViewport}\n onOptionClick={handleSelected}\n customForm={\n operatorForm && (\n <PropertyEditor\n property={parsedText.property}\n operator={parsedText.operator}\n filter={parsedText.value}\n operatorForm={operatorForm}\n i18nStrings={i18nStrings}\n onCancel={() => {\n setFilteringText('');\n inputRef.current?.close();\n inputRef.current?.focus({ preventDropdown: true });\n }}\n onSubmit={token => {\n addToken(token);\n setFilteringText('');\n inputRef.current?.focus({ preventDropdown: true });\n inputRef.current?.close();\n }}\n />\n )\n }\n hideEnteredTextOption={disableFreeTextFiltering && parsedText.step !== 'property'}\n clearAriaLabel={i18nStrings.clearAriaLabel}\n searchResultsId={showResults ? searchResultsId : undefined}\n />\n {showResults ? (\n <div className={styles.results}>\n <SearchResults id={searchResultsId}>{countText}</SearchResults>\n </div>\n ) : null}\n </div>\n {tokens && tokens.length > 0 && (\n <div className={styles.tokens}>\n <InternalSpaceBetween size=\"xs\" direction=\"horizontal\">\n <TokenList\n alignment=\"inline\"\n limit={tokenLimit}\n items={tokens}\n renderItem={(token, tokenIndex) => (\n <TokenButton\n token={token}\n first={tokenIndex === 0}\n operation={operation}\n removeToken={() => {\n removeToken(tokenIndex);\n setRemovedTokenIndex(tokenIndex);\n }}\n setToken={(newToken: Token) => setToken(tokenIndex, newToken)}\n setOperation={setOperation}\n filteringOptions={internalFilteringOptions}\n filteringProperties={internalFilteringProperties}\n asyncProps={asyncProps}\n onLoadItems={onLoadItems}\n i18nStrings={i18nStrings}\n asyncProperties={asyncProperties}\n hideOperations={hideOperations}\n customGroupsText={customGroupsText}\n disableFreeTextFiltering={disableFreeTextFiltering}\n disabled={disabled}\n expandToViewport={expandToViewport}\n />\n )}\n i18nStrings={{\n limitShowFewer: i18nStrings.tokenLimitShowFewer,\n limitShowMore: i18nStrings.tokenLimitShowMore,\n }}\n after={\n <InternalButton\n formAction=\"none\"\n onClick={removeAllTokens}\n className={styles['remove-all']}\n disabled={disabled}\n >\n {i18nStrings.clearFiltersText}\n </InternalButton>\n }\n removedItemIndex={removedTokenIndex}\n />\n </InternalSpaceBetween>\n </div>\n )}\n </div>\n );\n }\n);\n\napplyDisplayName(PropertyFilter, 'PropertyFilter');\nexport default PropertyFilter;\n"]}
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"search-field": "awsui_search-
|
|
6
|
-
"input-wrapper": "awsui_input-
|
|
7
|
-
"add-token": "awsui_add-
|
|
8
|
-
"tokens": "
|
|
9
|
-
"token-operator": "awsui_token-
|
|
10
|
-
"property-editor": "awsui_property-
|
|
11
|
-
"token-editor": "awsui_token-
|
|
12
|
-
"property-editor-form": "awsui_property-editor-
|
|
13
|
-
"token-editor-form": "awsui_token-editor-
|
|
14
|
-
"property-editor-field-property": "awsui_property-editor-field-
|
|
15
|
-
"token-editor-field-property": "awsui_token-editor-field-
|
|
16
|
-
"property-editor-field-operator": "awsui_property-editor-field-
|
|
17
|
-
"token-editor-field-operator": "awsui_token-editor-field-
|
|
18
|
-
"property-editor-field-value": "awsui_property-editor-field-
|
|
19
|
-
"token-editor-field-value": "awsui_token-editor-field-
|
|
20
|
-
"property-editor-cancel": "awsui_property-editor-
|
|
21
|
-
"token-editor-cancel": "awsui_token-editor-
|
|
22
|
-
"property-editor-submit": "awsui_property-editor-
|
|
23
|
-
"token-editor-submit": "awsui_token-editor-
|
|
24
|
-
"property-editor-actions": "awsui_property-editor-
|
|
25
|
-
"token-editor-actions": "awsui_token-editor-
|
|
26
|
-
"custom-content-wrapper": "awsui_custom-content-
|
|
27
|
-
"custom-control": "awsui_custom-
|
|
28
|
-
"input": "
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
4
|
+
"root": "awsui_root_1wzqe_1tzz6_93",
|
|
5
|
+
"search-field": "awsui_search-field_1wzqe_1tzz6_106",
|
|
6
|
+
"input-wrapper": "awsui_input-wrapper_1wzqe_1tzz6_112",
|
|
7
|
+
"add-token": "awsui_add-token_1wzqe_1tzz6_116",
|
|
8
|
+
"tokens": "awsui_tokens_1wzqe_1tzz6_123",
|
|
9
|
+
"token-operator": "awsui_token-operator_1wzqe_1tzz6_127",
|
|
10
|
+
"property-editor": "awsui_property-editor_1wzqe_1tzz6_131",
|
|
11
|
+
"token-editor": "awsui_token-editor_1wzqe_1tzz6_132",
|
|
12
|
+
"property-editor-form": "awsui_property-editor-form_1wzqe_1tzz6_136",
|
|
13
|
+
"token-editor-form": "awsui_token-editor-form_1wzqe_1tzz6_137",
|
|
14
|
+
"property-editor-field-property": "awsui_property-editor-field-property_1wzqe_1tzz6_140",
|
|
15
|
+
"token-editor-field-property": "awsui_token-editor-field-property_1wzqe_1tzz6_141",
|
|
16
|
+
"property-editor-field-operator": "awsui_property-editor-field-operator_1wzqe_1tzz6_144",
|
|
17
|
+
"token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_1tzz6_145",
|
|
18
|
+
"property-editor-field-value": "awsui_property-editor-field-value_1wzqe_1tzz6_148",
|
|
19
|
+
"token-editor-field-value": "awsui_token-editor-field-value_1wzqe_1tzz6_149",
|
|
20
|
+
"property-editor-cancel": "awsui_property-editor-cancel_1wzqe_1tzz6_152",
|
|
21
|
+
"token-editor-cancel": "awsui_token-editor-cancel_1wzqe_1tzz6_153",
|
|
22
|
+
"property-editor-submit": "awsui_property-editor-submit_1wzqe_1tzz6_156",
|
|
23
|
+
"token-editor-submit": "awsui_token-editor-submit_1wzqe_1tzz6_157",
|
|
24
|
+
"property-editor-actions": "awsui_property-editor-actions_1wzqe_1tzz6_160",
|
|
25
|
+
"token-editor-actions": "awsui_token-editor-actions_1wzqe_1tzz6_161",
|
|
26
|
+
"custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_1tzz6_179",
|
|
27
|
+
"custom-control": "awsui_custom-control_1wzqe_1tzz6_183",
|
|
28
|
+
"input": "awsui_input_1wzqe_1tzz6_112",
|
|
29
|
+
"results": "awsui_results_1wzqe_1tzz6_191",
|
|
30
|
+
"token-trigger": "awsui_token-trigger_1wzqe_1tzz6_197",
|
|
31
|
+
"remove-all": "awsui_remove-all_1wzqe_1tzz6_203",
|
|
32
|
+
"token-label": "awsui_token-label_1wzqe_1tzz6_204",
|
|
33
|
+
"join-operation": "awsui_join-operation_1wzqe_1tzz6_205"
|
|
33
34
|
};
|
|
34
35
|
|
|
@@ -90,7 +90,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_root_1wzqe_1tzz6_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -129,100 +129,106 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
129
129
|
-moz-osx-font-smoothing: auto;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.awsui_search-
|
|
132
|
+
.awsui_search-field_1wzqe_1tzz6_106:not(#\9) {
|
|
133
133
|
display: flex;
|
|
134
|
-
align-items:
|
|
134
|
+
align-items: flex-end;
|
|
135
135
|
max-width: calc(688px - 2 * var(--space-l-t419sm, 20px));
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.awsui_input-
|
|
138
|
+
.awsui_input-wrapper_1wzqe_1tzz6_112:not(#\9) {
|
|
139
139
|
flex-grow: 1;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.awsui_add-
|
|
142
|
+
.awsui_add-token_1wzqe_1tzz6_116:not(#\9) {
|
|
143
143
|
border-left: 1px solid var(--color-border-divider-default-et9j7s, #e9ebed);
|
|
144
144
|
box-sizing: border-box;
|
|
145
145
|
margin-left: var(--space-m-udix3p, 16px);
|
|
146
146
|
padding-left: var(--space-m-udix3p, 16px);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.
|
|
149
|
+
.awsui_tokens_1wzqe_1tzz6_123:not(#\9) {
|
|
150
150
|
margin: var(--space-xs-zb16t3, 8px) 0;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
.awsui_token-
|
|
153
|
+
.awsui_token-operator_1wzqe_1tzz6_127:not(#\9) {
|
|
154
154
|
font-weight: bold;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.awsui_property-
|
|
158
|
-
.awsui_token-
|
|
157
|
+
.awsui_property-editor_1wzqe_1tzz6_131:not(#\9),
|
|
158
|
+
.awsui_token-editor_1wzqe_1tzz6_132:not(#\9) {
|
|
159
159
|
-webkit-user-select: text;
|
|
160
160
|
user-select: text;
|
|
161
161
|
margin: var(--space-xxs-p8yyaw, 4px);
|
|
162
162
|
}
|
|
163
|
-
.awsui_property-editor-
|
|
164
|
-
.awsui_token-editor-
|
|
163
|
+
.awsui_property-editor-form_1wzqe_1tzz6_136:not(#\9),
|
|
164
|
+
.awsui_token-editor-form_1wzqe_1tzz6_137:not(#\9) {
|
|
165
165
|
margin-bottom: var(--space-scaled-l-0hpmd7, 20px);
|
|
166
166
|
}
|
|
167
|
-
.awsui_property-editor-field-
|
|
168
|
-
.awsui_token-editor-field-
|
|
167
|
+
.awsui_property-editor-field-property_1wzqe_1tzz6_140:not(#\9),
|
|
168
|
+
.awsui_token-editor-field-property_1wzqe_1tzz6_141:not(#\9) {
|
|
169
169
|
/* used in test-utils */
|
|
170
170
|
}
|
|
171
|
-
.awsui_property-editor-field-
|
|
172
|
-
.awsui_token-editor-field-
|
|
171
|
+
.awsui_property-editor-field-operator_1wzqe_1tzz6_144:not(#\9),
|
|
172
|
+
.awsui_token-editor-field-operator_1wzqe_1tzz6_145:not(#\9) {
|
|
173
173
|
margin-top: var(--space-scaled-l-0hpmd7, 20px);
|
|
174
174
|
}
|
|
175
|
-
.awsui_property-editor-field-
|
|
176
|
-
.awsui_token-editor-field-
|
|
175
|
+
.awsui_property-editor-field-value_1wzqe_1tzz6_148:not(#\9),
|
|
176
|
+
.awsui_token-editor-field-value_1wzqe_1tzz6_149:not(#\9) {
|
|
177
177
|
margin-top: var(--space-scaled-l-0hpmd7, 20px);
|
|
178
178
|
}
|
|
179
|
-
.awsui_property-editor-
|
|
180
|
-
.awsui_token-editor-
|
|
179
|
+
.awsui_property-editor-cancel_1wzqe_1tzz6_152:not(#\9),
|
|
180
|
+
.awsui_token-editor-cancel_1wzqe_1tzz6_153:not(#\9) {
|
|
181
181
|
margin-right: var(--space-xs-zb16t3, 8px);
|
|
182
182
|
}
|
|
183
|
-
.awsui_property-editor-
|
|
184
|
-
.awsui_token-editor-
|
|
183
|
+
.awsui_property-editor-submit_1wzqe_1tzz6_156:not(#\9),
|
|
184
|
+
.awsui_token-editor-submit_1wzqe_1tzz6_157:not(#\9) {
|
|
185
185
|
/* used in test-utils */
|
|
186
186
|
}
|
|
187
|
-
.awsui_property-editor-
|
|
188
|
-
.awsui_token-editor-
|
|
187
|
+
.awsui_property-editor-actions_1wzqe_1tzz6_160:not(#\9),
|
|
188
|
+
.awsui_token-editor-actions_1wzqe_1tzz6_161:not(#\9) {
|
|
189
189
|
display: flex;
|
|
190
190
|
justify-content: flex-end;
|
|
191
191
|
padding-top: var(--space-s-34lx8l, 12px);
|
|
192
192
|
border-top: 1px solid var(--color-border-dropdown-item-default-dofu99, #e9ebed);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.awsui_token-editor-
|
|
195
|
+
.awsui_token-editor-actions_1wzqe_1tzz6_161:not(#\9) {
|
|
196
196
|
padding-right: calc(var(--space-m-udix3p, 16px) + var(--space-xxs-p8yyaw, 4px));
|
|
197
197
|
margin-left: calc(-1 * var(--space-m-udix3p, 16px) + -1 * var(--space-xxs-p8yyaw, 4px));
|
|
198
198
|
margin-right: calc(-1 * var(--space-m-udix3p, 16px) + -1 * var(--space-xxs-p8yyaw, 4px));
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.awsui_property-
|
|
201
|
+
.awsui_property-editor_1wzqe_1tzz6_131:not(#\9) {
|
|
202
202
|
padding: var(--space-m-udix3p, 16px);
|
|
203
203
|
overflow-y: auto;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.awsui_custom-content-
|
|
206
|
+
.awsui_custom-content-wrapper_1wzqe_1tzz6_179:not(#\9) {
|
|
207
207
|
display: contents;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
.awsui_custom-
|
|
210
|
+
.awsui_custom-control_1wzqe_1tzz6_183:not(#\9) {
|
|
211
211
|
margin-right: var(--space-s-34lx8l, 12px);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
.
|
|
214
|
+
.awsui_input_1wzqe_1tzz6_112:not(#\9) {
|
|
215
215
|
flex: 1;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.
|
|
218
|
+
.awsui_results_1wzqe_1tzz6_191:not(#\9) {
|
|
219
|
+
padding: calc(var(--space-scaled-xxs-7597g1, 4px) + var(--border-field-width-09w7vk, 2px));
|
|
220
|
+
padding-left: 0;
|
|
221
|
+
padding-right: 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.awsui_token-trigger_1wzqe_1tzz6_197:not(#\9) {
|
|
219
225
|
min-width: 0;
|
|
220
226
|
-ms-word-break: break-all;
|
|
221
227
|
word-break: break-word;
|
|
222
228
|
}
|
|
223
229
|
|
|
224
|
-
.awsui_remove-
|
|
225
|
-
.awsui_token-
|
|
226
|
-
.awsui_join-
|
|
230
|
+
.awsui_remove-all_1wzqe_1tzz6_203:not(#\9),
|
|
231
|
+
.awsui_token-label_1wzqe_1tzz6_204:not(#\9),
|
|
232
|
+
.awsui_join-operation_1wzqe_1tzz6_205:not(#\9) {
|
|
227
233
|
/* used in test-utils */
|
|
228
234
|
}
|