@cloudscape-design/components 3.0.1302 → 3.0.1303

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.
Files changed (227) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +50 -50
  3. package/alert/styles.selectors.js +27 -27
  4. package/annotation-context/annotation/styles.css.js +13 -13
  5. package/annotation-context/annotation/styles.scoped.css +21 -21
  6. package/annotation-context/annotation/styles.selectors.js +13 -13
  7. package/app-layout/notifications/styles.css.js +3 -3
  8. package/app-layout/notifications/styles.scoped.css +7 -7
  9. package/app-layout/notifications/styles.selectors.js +3 -3
  10. package/app-layout/visual-refresh/styles.css.js +86 -86
  11. package/app-layout/visual-refresh/styles.scoped.css +258 -258
  12. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  13. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  14. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  15. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  16. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  17. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +7 -7
  18. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  19. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +27 -27
  20. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +54 -54
  21. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +27 -27
  22. package/attribute-editor/styles.css.js +15 -15
  23. package/attribute-editor/styles.scoped.css +28 -28
  24. package/attribute-editor/styles.selectors.js +15 -15
  25. package/breadcrumb-group/item/styles.css.js +7 -7
  26. package/breadcrumb-group/item/styles.scoped.css +28 -28
  27. package/breadcrumb-group/item/styles.selectors.js +7 -7
  28. package/button/styles.css.js +22 -22
  29. package/button/styles.scoped.css +256 -256
  30. package/button/styles.selectors.js +22 -22
  31. package/button-dropdown/item-element/styles.css.js +21 -21
  32. package/button-dropdown/item-element/styles.scoped.css +37 -37
  33. package/button-dropdown/item-element/styles.selectors.js +21 -21
  34. package/checkbox/styles.css.js +3 -3
  35. package/checkbox/styles.scoped.css +11 -11
  36. package/checkbox/styles.selectors.js +3 -3
  37. package/collection-preferences/content-display/index.d.ts.map +1 -1
  38. package/collection-preferences/content-display/index.js +1 -1
  39. package/collection-preferences/content-display/index.js.map +1 -1
  40. package/container/interfaces.d.ts +1 -0
  41. package/container/interfaces.d.ts.map +1 -1
  42. package/container/interfaces.js.map +1 -1
  43. package/content-layout/styles.css.js +14 -14
  44. package/content-layout/styles.scoped.css +27 -27
  45. package/content-layout/styles.selectors.js +14 -14
  46. package/dropdown/index.d.ts +3 -0
  47. package/dropdown/index.d.ts.map +1 -1
  48. package/dropdown/index.js +3 -0
  49. package/dropdown/index.js.map +1 -1
  50. package/dropdown/styles.css.js +20 -20
  51. package/dropdown/styles.scoped.css +49 -49
  52. package/dropdown/styles.selectors.js +20 -20
  53. package/expandable-section/styles.css.js +35 -35
  54. package/expandable-section/styles.scoped.css +66 -68
  55. package/expandable-section/styles.selectors.js +35 -35
  56. package/file-token-group/styles.css.js +23 -23
  57. package/file-token-group/styles.scoped.css +36 -36
  58. package/file-token-group/styles.selectors.js +23 -23
  59. package/flashbar/styles.css.js +50 -50
  60. package/flashbar/styles.scoped.css +187 -187
  61. package/flashbar/styles.selectors.js +50 -50
  62. package/help-panel/styles.css.js +6 -6
  63. package/help-panel/styles.scoped.css +73 -73
  64. package/help-panel/styles.selectors.js +6 -6
  65. package/i18n/messages/all.all.js +1 -1
  66. package/i18n/messages/all.all.json +1 -1
  67. package/i18n/messages/all.ar.js +1 -1
  68. package/i18n/messages/all.ar.json +1 -1
  69. package/i18n/messages/all.de.js +1 -1
  70. package/i18n/messages/all.de.json +1 -1
  71. package/i18n/messages/all.en-GB.js +1 -1
  72. package/i18n/messages/all.en-GB.json +1 -1
  73. package/i18n/messages/all.en.js +1 -1
  74. package/i18n/messages/all.en.json +1 -1
  75. package/i18n/messages/all.es.js +1 -1
  76. package/i18n/messages/all.es.json +1 -1
  77. package/i18n/messages/all.fr.js +1 -1
  78. package/i18n/messages/all.fr.json +1 -1
  79. package/i18n/messages/all.id.js +1 -1
  80. package/i18n/messages/all.id.json +1 -1
  81. package/i18n/messages/all.it.js +1 -1
  82. package/i18n/messages/all.it.json +1 -1
  83. package/i18n/messages/all.ja.js +1 -1
  84. package/i18n/messages/all.ja.json +1 -1
  85. package/i18n/messages/all.ko.js +1 -1
  86. package/i18n/messages/all.ko.json +1 -1
  87. package/i18n/messages/all.pt-BR.js +1 -1
  88. package/i18n/messages/all.pt-BR.json +1 -1
  89. package/i18n/messages/all.zh-CN.js +1 -1
  90. package/i18n/messages/all.zh-CN.json +1 -1
  91. package/i18n/messages/all.zh-TW.js +1 -1
  92. package/i18n/messages/all.zh-TW.json +1 -1
  93. package/icon/interfaces.d.ts +1 -1
  94. package/icon/interfaces.d.ts.map +1 -1
  95. package/icon/interfaces.js.map +1 -1
  96. package/icon/internal.d.ts.map +1 -1
  97. package/icon/internal.js +4 -86
  98. package/icon/internal.js.map +1 -1
  99. package/icon/styles.css.js +39 -41
  100. package/icon/styles.scoped.css +110 -135
  101. package/icon/styles.selectors.js +39 -41
  102. package/icon-provider/context.d.ts +3 -34
  103. package/icon-provider/context.d.ts.map +1 -1
  104. package/icon-provider/context.js +3 -7
  105. package/icon-provider/context.js.map +1 -1
  106. package/icon-provider/interfaces.d.ts +0 -52
  107. package/icon-provider/interfaces.d.ts.map +1 -1
  108. package/icon-provider/interfaces.js.map +1 -1
  109. package/icon-provider/internal.d.ts +1 -3
  110. package/icon-provider/internal.d.ts.map +1 -1
  111. package/icon-provider/internal.js +4 -13
  112. package/icon-provider/internal.js.map +1 -1
  113. package/index.d.ts +0 -1
  114. package/index.d.ts.map +1 -1
  115. package/index.js +0 -1
  116. package/index.js.map +1 -1
  117. package/input/styles.css.js +18 -18
  118. package/input/styles.scoped.css +82 -82
  119. package/input/styles.selectors.js +18 -18
  120. package/internal/base-component/styles.scoped.css +7 -9
  121. package/internal/components/drag-handle/button.d.ts.map +1 -1
  122. package/internal/components/drag-handle/button.js +1 -1
  123. package/internal/components/drag-handle/button.js.map +1 -1
  124. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  125. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  126. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  127. package/internal/components/radio-button/styles.css.js +7 -7
  128. package/internal/components/radio-button/styles.scoped.css +18 -18
  129. package/internal/components/radio-button/styles.selectors.js +7 -7
  130. package/internal/components/sortable-area/index.d.ts.map +1 -1
  131. package/internal/components/sortable-area/index.js +0 -1
  132. package/internal/components/sortable-area/index.js.map +1 -1
  133. package/internal/components/token-list/styles.css.js +10 -10
  134. package/internal/components/token-list/styles.scoped.css +25 -25
  135. package/internal/components/token-list/styles.selectors.js +10 -10
  136. package/internal/environment.d.ts +1 -2
  137. package/internal/environment.js +3 -4
  138. package/internal/environment.json +3 -4
  139. package/internal/generated/custom-css-properties/index.d.ts +0 -3
  140. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  141. package/internal/generated/custom-css-properties/index.js +159 -162
  142. package/internal/generated/custom-css-properties/index.js.map +1 -1
  143. package/internal/generated/styles/tokens.d.ts +5 -7
  144. package/internal/generated/styles/tokens.js +5 -7
  145. package/internal/generated/theming/index.cjs +25 -39
  146. package/internal/generated/theming/index.cjs.d.ts +45 -63
  147. package/internal/generated/theming/index.d.ts +45 -63
  148. package/internal/generated/theming/index.js +25 -39
  149. package/internal/manifest.json +1 -1
  150. package/item-card/styles.css.js +14 -14
  151. package/item-card/styles.scoped.css +63 -63
  152. package/item-card/styles.selectors.js +14 -14
  153. package/link/styles.css.js +21 -21
  154. package/link/styles.scoped.css +104 -104
  155. package/link/styles.selectors.js +21 -21
  156. package/manifest.json +2 -2
  157. package/modal/styles.css.js +31 -31
  158. package/modal/styles.scoped.css +48 -48
  159. package/modal/styles.selectors.js +31 -31
  160. package/package.json +1 -2
  161. package/progress-bar/styles.css.js +18 -18
  162. package/progress-bar/styles.scoped.css +48 -48
  163. package/progress-bar/styles.selectors.js +18 -18
  164. package/prompt-input/styles.css.js +26 -26
  165. package/prompt-input/styles.scoped.css +105 -105
  166. package/prompt-input/styles.selectors.js +26 -26
  167. package/radio-button/index.d.ts +3 -0
  168. package/radio-button/index.d.ts.map +1 -1
  169. package/radio-button/index.js +3 -0
  170. package/radio-button/index.js.map +1 -1
  171. package/segmented-control/styles.css.js +16 -16
  172. package/segmented-control/styles.scoped.css +46 -46
  173. package/segmented-control/styles.selectors.js +16 -16
  174. package/slider/styles.css.js +26 -26
  175. package/slider/styles.scoped.css +165 -165
  176. package/slider/styles.selectors.js +26 -26
  177. package/spinner/styles.css.js +13 -13
  178. package/spinner/styles.scoped.css +39 -39
  179. package/spinner/styles.selectors.js +13 -13
  180. package/tabs/styles.css.js +30 -30
  181. package/tabs/styles.scoped.css +76 -76
  182. package/tabs/styles.selectors.js +30 -30
  183. package/tag-editor/styles.css.js +3 -3
  184. package/tag-editor/styles.scoped.css +13 -13
  185. package/tag-editor/styles.selectors.js +3 -3
  186. package/test-utils/dom/index.d.ts +0 -28
  187. package/test-utils/dom/index.js +1 -20
  188. package/test-utils/dom/index.js.map +1 -1
  189. package/test-utils/selectors/index.d.ts +0 -18
  190. package/test-utils/selectors/index.js +1 -15
  191. package/test-utils/selectors/index.js.map +1 -1
  192. package/text-content/styles.css.js +1 -1
  193. package/text-content/styles.scoped.css +66 -66
  194. package/text-content/styles.selectors.js +1 -1
  195. package/textarea/styles.css.js +5 -5
  196. package/textarea/styles.scoped.css +45 -45
  197. package/textarea/styles.selectors.js +5 -5
  198. package/toggle/styles.css.js +10 -10
  199. package/toggle/styles.scoped.css +23 -23
  200. package/toggle/styles.selectors.js +10 -10
  201. package/token/styles.css.js +14 -14
  202. package/token/styles.scoped.css +46 -46
  203. package/token/styles.selectors.js +14 -14
  204. package/test-utils/dom/truncated-text/index.d.ts +0 -6
  205. package/test-utils/dom/truncated-text/index.js +0 -17
  206. package/test-utils/dom/truncated-text/index.js.map +0 -1
  207. package/test-utils/selectors/truncated-text/index.d.ts +0 -6
  208. package/test-utils/selectors/truncated-text/index.js +0 -17
  209. package/test-utils/selectors/truncated-text/index.js.map +0 -1
  210. package/truncated-text/index.d.ts +0 -7
  211. package/truncated-text/index.d.ts.map +0 -1
  212. package/truncated-text/index.js +0 -18
  213. package/truncated-text/index.js.map +0 -1
  214. package/truncated-text/interfaces.d.ts +0 -16
  215. package/truncated-text/interfaces.d.ts.map +0 -1
  216. package/truncated-text/interfaces.js +0 -2
  217. package/truncated-text/interfaces.js.map +0 -1
  218. package/truncated-text/internal.d.ts +0 -10
  219. package/truncated-text/internal.d.ts.map +0 -1
  220. package/truncated-text/internal.js +0 -47
  221. package/truncated-text/internal.js.map +0 -1
  222. package/truncated-text/styles.css.js +0 -6
  223. package/truncated-text/styles.scoped.css +0 -177
  224. package/truncated-text/styles.selectors.js +0 -7
  225. package/truncated-text/test-classes/styles.css.js +0 -6
  226. package/truncated-text/test-classes/styles.scoped.css +0 -7
  227. package/truncated-text/test-classes/styles.selectors.js +0 -7
@@ -1 +1 @@
1
- {"cloudscape-design-components":{"zh-TW":{"[charts]":{"loadingText":[{"type":0,"value":"正在載入圖表"}],"errorText":[{"type":0,"value":"無法擷取資料。請稍後再試一次。"}],"recoveryText":[{"type":0,"value":"重試"}],"i18nStrings.filterLabel":[{"type":0,"value":"篩選顯示的資料"}],"i18nStrings.filterPlaceholder":[{"type":0,"value":"篩選資料"}],"i18nStrings.legendAriaLabel":[{"type":0,"value":"圖例"}],"i18nStrings.chartAriaRoleDescription":[{"type":0,"value":"圖表"}],"i18nStrings.xAxisAriaRoleDescription":[{"type":0,"value":"X 軸"}],"i18nStrings.yAxisAriaRoleDescription":[{"type":0,"value":"Y 軸"}]},"alert":{"dismissAriaLabel":[{"type":0,"value":"關閉提醒"}],"i18nStrings.successIconAriaLabel":[{"type":0,"value":"成功"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}],"i18nStrings.infoIconAriaLabel":[{"type":0,"value":"資訊"}],"i18nStrings.dismissAriaLabel":[{"type":0,"value":"關閉提醒"}]},"annotation-context":{"i18nStrings.nextButtonText":[{"type":0,"value":"下一步"}],"i18nStrings.previousButtonText":[{"type":0,"value":"上一步"}],"i18nStrings.finishButtonText":[{"type":0,"value":"完成"}],"i18nStrings.labelDismissAnnotation":[{"type":0,"value":"關閉註釋"}],"i18nStrings.stepCounterText":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":",共 "},{"type":1,"value":"totalStepCount"},{"type":0,"value":" 步"}],"i18nStrings.taskTitle":[{"type":0,"value":"任務 "},{"type":1,"value":"taskNumber"},{"type":0,"value":":"},{"type":1,"value":"taskTitle"}],"i18nStrings.labelHotspot":[{"type":5,"value":"openState","options":{"true":{"value":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":" (共 "},{"type":1,"value":"totalStepCount"},{"type":0,"value":" 步) 的註釋"}]},"false":{"value":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":" (共 "},{"type":1,"value":"totalStepCount"},{"type":0,"value":" 步) 的註釋"}]},"other":{"value":[]}}}]},"app-layout":{"ariaLabels.drawers":[{"type":0,"value":"抽屜"}],"ariaLabels.drawersOverflow":[{"type":0,"value":"抽屜溢出"}],"ariaLabels.drawersOverflowWithBadge":[{"type":0,"value":"抽屜中徽章溢出"}],"ariaLabels.navigation":[{"type":0,"value":"側邊導覽"}],"ariaLabels.navigationClose":[{"type":0,"value":"關閉側邊導覽"}],"ariaLabels.navigationToggle":[{"type":0,"value":"開啟側邊導覽"}],"ariaLabels.notifications":[{"type":0,"value":"通知"}],"ariaLabels.tools":[{"type":0,"value":"說明面板"}],"ariaLabels.toolsClose":[{"type":0,"value":"關閉說明面板"}],"ariaLabels.toolsToggle":[{"type":0,"value":"開啟說明面板"}]},"area-chart":{"i18nStrings.detailTotalLabel":[{"type":0,"value":"合計"}]},"attribute-editor":{"removeButtonText":[{"type":0,"value":"移除"}],"i18nStrings.itemRemovedAriaLive":[{"type":0,"value":"項目已移除"}]},"autosuggest":{"errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"selectedAriaLabel":[{"type":0,"value":"已選取"}],"enteredTextLabel":[{"type":0,"value":"使用:“"},{"type":1,"value":"value"},{"type":0,"value":"”"}],"recoveryText":[{"type":0,"value":"重試"}]},"breadcrumb-group":{"expandAriaLabel":[{"type":0,"value":"顯示路徑"}]},"button":{"i18nStrings.externalIconAriaLabel":[{"type":0,"value":"在新索引標籤中開啟"}]},"calendar":{"nextMonthAriaLabel":[{"type":0,"value":"下個月"}],"previousMonthAriaLabel":[{"type":0,"value":"上個月"}],"todayAriaLabel":[{"type":0,"value":"今天"}],"i18nStrings.nextYearAriaLabel":[{"type":0,"value":"下一年"}],"i18nStrings.previousYearAriaLabel":[{"type":0,"value":"上一年"}],"i18nStrings.currentMonthAriaLabel":[{"type":0,"value":"當前月份"}]},"cards":{"ariaLabels.selectionGroupLabel":[{"type":0,"value":"項目選擇"}]},"code-editor":{"i18nStrings.loadingState":[{"type":0,"value":"正在載入程式碼編輯器"}],"i18nStrings.errorState":[{"type":0,"value":"載入程式碼編輯器時發生錯誤。"}],"i18nStrings.errorStateRecovery":[{"type":0,"value":"重試"}],"i18nStrings.editorGroupAriaLabel":[{"type":0,"value":"程式碼編輯器"}],"i18nStrings.statusBarGroupAriaLabel":[{"type":0,"value":"狀態列"}],"i18nStrings.cursorPosition":[{"type":0,"value":"行 "},{"type":1,"value":"row"},{"type":0,"value":"、欄 "},{"type":1,"value":"column"}],"i18nStrings.errorsTab":[{"type":0,"value":"錯誤"}],"i18nStrings.warningsTab":[{"type":0,"value":"警告"}],"i18nStrings.preferencesButtonAriaLabel":[{"type":0,"value":"偏好設定"}],"i18nStrings.paneCloseButtonAriaLabel":[{"type":0,"value":"關閉"}],"i18nStrings.preferencesModalHeader":[{"type":0,"value":"偏好設定"}],"i18nStrings.preferencesModalCancel":[{"type":0,"value":"取消"}],"i18nStrings.preferencesModalConfirm":[{"type":0,"value":"確認"}],"i18nStrings.preferencesModalWrapLines":[{"type":0,"value":"換行"}],"i18nStrings.preferencesModalTheme":[{"type":0,"value":"佈景主題"}],"i18nStrings.preferencesModalThemeFilteringAriaLabel":[{"type":0,"value":"篩選主題"}],"i18nStrings.preferencesModalThemeFilteringPlaceholder":[{"type":0,"value":"篩選主題"}],"i18nStrings.preferencesModalLightThemes":[{"type":0,"value":"淺色佈景主題"}],"i18nStrings.preferencesModalDarkThemes":[{"type":0,"value":"深色佈景主題"}],"i18nStrings.cursorPositionAriaLabel":[{"type":0,"value":"列 "},{"type":1,"value":"row"},{"type":0,"value":" 上的游標"}],"i18nStrings.resizeHandleAriaLabel":[{"type":0,"value":"調整大小控點"}],"i18nStrings.resizeHandleTooltipText":[{"type":0,"value":"拖曳或選取以調整大小"}]},"collection-preferences":{"title":[{"type":0,"value":"偏好設定"}],"confirmLabel":[{"type":0,"value":"確認"}],"cancelLabel":[{"type":0,"value":"取消"}],"pageSizePreference.title":[{"type":0,"value":"頁面大小"}],"wrapLinesPreference.label":[{"type":0,"value":"換行"}],"wrapLinesPreference.description":[{"type":0,"value":"選取以查看所有文字並換行"}],"stripedRowsPreference.label":[{"type":0,"value":"條紋列"}],"stripedRowsPreference.description":[{"type":0,"value":"選取以新增加網底的列"}],"contentDensityPreference.label":[{"type":0,"value":"精簡模式"}],"contentDensityPreference.description":[{"type":0,"value":"選擇以更密集、更精簡的模式顯示內容"}],"stickyColumnsPreference.firstColumns.title":[{"type":0,"value":"貼上第一欄"}],"stickyColumnsPreference.firstColumns.description":[{"type":0,"value":"水平捲動資料表內容時,保持第一欄可見。"}],"stickyColumnsPreference.firstColumns.options[0].label":[{"type":0,"value":"無"}],"stickyColumnsPreference.firstColumns.options[1].label":[{"type":0,"value":"第一欄"}],"stickyColumnsPreference.firstColumns.options[2].label":[{"type":0,"value":"前兩欄"}],"stickyColumnsPreference.lastColumns.title":[{"type":0,"value":"貼上最後一欄"}],"stickyColumnsPreference.lastColumns.description":[{"type":0,"value":"水平捲動資料表內容時,保持最後一欄可見。"}],"stickyColumnsPreference.lastColumns.options[0].label":[{"type":0,"value":"無"}],"stickyColumnsPreference.lastColumns.options[1].label":[{"type":0,"value":"最後一欄"}],"contentDisplayPreference.title":[{"type":0,"value":"欄偏好設定"}],"contentDisplayPreference.description":[{"type":0,"value":"自訂欄位的可見性和順序。"}],"contentDisplayPreference.dragHandleAriaLabel":[{"type":0,"value":"拖曳控點"}],"contentDisplayPreference.dragHandleAriaDescription":[{"type":0,"value":"使用空白鍵或 ENTER 鍵啟用項目拖曳功能,然後使用方向鍵移動項目的位置。若要完成位置移動,請使用空白鍵或 ENTER 鍵,或者若要捨棄移動,請使用 ESC 鍵。您可能需要在螢幕閱讀器上切換瀏覽模式。"}],"contentDisplayPreference.liveAnnouncementDndStarted":[{"type":0,"value":"在第 "},{"type":1,"value":"position"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置) 拾取了項目"}],"contentDisplayPreference.liveAnnouncementDndDiscarded":[{"type":0,"value":"重新排序已取消"}],"contentDisplayPreference.i18nStrings.columnFilteringPlaceholder":[{"type":0,"value":"篩選欄"}],"contentDisplayPreference.i18nStrings.columnFilteringAriaLabel":[{"type":0,"value":"篩選欄"}],"contentDisplayPreference.i18nStrings.columnFilteringNoMatchText":[{"type":0,"value":"找不到相符項目"}],"contentDisplayPreference.i18nStrings.columnFilteringClearFilterText":[{"type":0,"value":"清除篩選條件"}],"contentDisplayPreference.liveAnnouncementDndItemReordered":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"將項目移回 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"將項目移到 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}],"contentDisplayPreference.liveAnnouncementDndItemCommitted":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"項目移回原來的 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"項目已從 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置移到 "},{"type":1,"value":"finalPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}],"contentDisplayPreference.i18nStrings.columnFilteringCountText":[{"type":6,"value":"count","options":{"zero":{"value":[{"type":0,"value":"0 個符合"}]},"one":{"value":[{"type":0,"value":"1 個符合"}]},"other":{"value":[{"type":1,"value":"count"},{"type":0,"value":" 個符合"}]}},"offset":0,"pluralType":"cardinal"}]},"copy-to-clipboard":{"i18nStrings.copyButtonText":[{"type":0,"value":"複製"}]},"date-picker":{"i18nStrings.openCalendarAriaLabel":[{"type":5,"value":"selectedDate","options":{"none":{"value":[{"type":0,"value":"選擇日期"}]},"other":{"value":[{"type":0,"value":"選擇日期,所選日期為 "},{"type":1,"value":"selectedDate"}]}}}]},"date-range-picker":{"i18nStrings.relativeModeTitle":[{"type":0,"value":"相對模式"}],"i18nStrings.absoluteModeTitle":[{"type":0,"value":"絕對模式"}],"i18nStrings.relativeRangeSelectionHeading":[{"type":0,"value":"選擇範圍"}],"i18nStrings.relativeRangeSelectionMonthlyDescription":[{"type":0,"value":"每個選項代表完整的月份,從該月第一天算到最後一天。"}],"i18nStrings.cancelButtonLabel":[{"type":0,"value":"取消"}],"i18nStrings.clearButtonLabel":[{"type":0,"value":"清除和關閉"}],"i18nStrings.applyButtonLabel":[{"type":0,"value":"套用"}],"i18nStrings.customRelativeRangeOptionLabel":[{"type":0,"value":"自訂範圍"}],"i18nStrings.customRelativeRangeOptionDescription":[{"type":0,"value":"設定過去的自訂範圍"}],"i18nStrings.customRelativeRangeUnitLabel":[{"type":0,"value":"時間單位"}],"i18nStrings.customRelativeRangeDurationLabel":[{"type":0,"value":"持續時間"}],"i18nStrings.customRelativeRangeDurationPlaceholder":[{"type":0,"value":"輸入持續時間"}],"i18nStrings.previousMonthAriaLabel":[{"type":0,"value":"上個月"}],"i18nStrings.nextMonthAriaLabel":[{"type":0,"value":"下個月"}],"i18nStrings.previousYearAriaLabel":[{"type":0,"value":"上一年"}],"i18nStrings.nextYearAriaLabel":[{"type":0,"value":"下一年"}],"i18nStrings.currentMonthAriaLabel":[{"type":0,"value":"本月"}],"i18nStrings.todayAriaLabel":[{"type":0,"value":"今天"}],"i18nStrings.startMonthLabel":[{"type":0,"value":"開始月份"}],"i18nStrings.startDateLabel":[{"type":0,"value":"開始日期"}],"i18nStrings.startTimeLabel":[{"type":0,"value":"開始時間"}],"i18nStrings.endMonthLabel":[{"type":0,"value":"結束月份"}],"i18nStrings.endDateLabel":[{"type":0,"value":"結束日期"}],"i18nStrings.endTimeLabel":[{"type":0,"value":"結束時間"}],"i18nStrings.datePlaceholder":[{"type":0,"value":"YYYY-MM-DD"}],"i18nStrings.isoDatePlaceholder":[{"type":0,"value":"YYYY-MM-DD"}],"i18nStrings.slashedDatePlaceholder":[{"type":0,"value":"YYYY/MM/DD"}],"i18nStrings.timePlaceholder":[{"type":0,"value":"hh:mm:ss"}],"i18nStrings.dateTimeConstraintText":[{"type":0,"value":"日期請使用 YYYY/MM/DD 格式。時間請使用 24 小時格式。"}],"i18nStrings.dateConstraintText":[{"type":0,"value":"對於日期,請使用 YYYY/MM/DD。"}],"i18nStrings.slashedDateTimeConstraintText":[{"type":0,"value":"日期請使用 YYYY/MM/DD 格式。時間請使用 24 小時格式。"}],"i18nStrings.isoDateTimeConstraintText":[{"type":0,"value":"日期請使用 YYYY-MM-DD 格式。時間請使用 24 小時格式。"}],"i18nStrings.slashedDateConstraintText":[{"type":0,"value":"日期請使用 YYYY/MM/DD 格式。"}],"i18nStrings.isoDateConstraintText":[{"type":0,"value":"日期請使用 YYYY-MM-DD 格式。"}],"i18nStrings.slashedMonthConstraintText":[{"type":0,"value":"月份請使用 YYYY/MM 格式。"}],"i18nStrings.isoMonthConstraintText":[{"type":0,"value":"月份請使用 YYYY-MM 格式。"}],"i18nStrings.monthConstraintText":[{"type":0,"value":"對於月份,請使用 YYYY/MM。"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.renderSelectedAbsoluteRangeAriaLive":[{"type":0,"value":"已選取從 "},{"type":1,"value":"startDate"},{"type":0,"value":" 到 "},{"type":1,"value":"endDate"},{"type":0,"value":" 的範圍"}],"i18nStrings.formatRelativeRange":[{"type":5,"value":"unit","options":{"second":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"秒"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"秒"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"秒"}]}},"offset":0,"pluralType":"cardinal"}]},"minute":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"分鐘"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"分鐘"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"分鐘"}]}},"offset":0,"pluralType":"cardinal"}]},"hour":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"小時"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"小時"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"小時"}]}},"offset":0,"pluralType":"cardinal"}]},"day":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"天"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"天"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"天"}]}},"offset":0,"pluralType":"cardinal"}]},"week":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"週"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"週"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"週"}]}},"offset":0,"pluralType":"cardinal"}]},"month":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"個月"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"個月"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"個月"}]}},"offset":0,"pluralType":"cardinal"}]},"year":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"年"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"年"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"年"}]}},"offset":0,"pluralType":"cardinal"}]},"other":{"value":[]}}}],"i18nStrings.formatUnit":[{"type":5,"value":"unit","options":{"second":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"秒"}]},"one":{"value":[{"type":0,"value":"秒"}]},"other":{"value":[{"type":0,"value":"秒"}]}},"offset":0,"pluralType":"cardinal"}]},"minute":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"分鐘"}]},"one":{"value":[{"type":0,"value":"分鐘"}]},"other":{"value":[{"type":0,"value":"分鐘"}]}},"offset":0,"pluralType":"cardinal"}]},"hour":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"小時"}]},"one":{"value":[{"type":0,"value":"小時"}]},"other":{"value":[{"type":0,"value":"小時"}]}},"offset":0,"pluralType":"cardinal"}]},"day":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"天"}]},"one":{"value":[{"type":0,"value":"天"}]},"other":{"value":[{"type":0,"value":"天"}]}},"offset":0,"pluralType":"cardinal"}]},"week":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"週"}]},"one":{"value":[{"type":0,"value":"週"}]},"other":{"value":[{"type":0,"value":"週"}]}},"offset":0,"pluralType":"cardinal"}]},"month":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"個月"}]},"one":{"value":[{"type":0,"value":"個月"}]},"other":{"value":[{"type":0,"value":"個月"}]}},"offset":0,"pluralType":"cardinal"}]},"year":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"年"}]},"one":{"value":[{"type":0,"value":"年"}]},"other":{"value":[{"type":0,"value":"年"}]}},"offset":0,"pluralType":"cardinal"}]},"other":{"value":[]}}}]},"drawer":{"i18nStrings.loadingText":[{"type":0,"value":"載入內容"}]},"error-boundary":{"i18nStrings.headerText":[{"type":0,"value":"意外錯誤,內容無法顯示"}],"i18nStrings.descriptionText":[{"type":5,"value":"hasFeedback","options":{"true":{"value":[{"type":0,"value":"重新整理以再試一次。我們正在追蹤此問題,但您可以在此處分享"},{"type":8,"value":"Feedback","children":[{"type":0,"value":"更多資訊"}]},{"type":0,"value":"。"}]},"other":{"value":[{"type":0,"value":"重新整理以再試一次。"}]}}}],"i18nStrings.refreshActionText":[{"type":0,"value":"重新整理頁面"}]},"features-notification-drawer":{"i18nStrings.title":[{"type":0,"value":"最新功能發布"}],"i18nStrings.viewAll":[{"type":0,"value":"檢視所有功能發布"}],"ariaLabels.closeButton":[{"type":0,"value":"關閉通知"}],"ariaLabels.content":[{"type":0,"value":"功能通知"}],"ariaLabels.triggerButton":[{"type":0,"value":"顯示功能通知"}],"ariaLabels.resizeHandle":[{"type":0,"value":"調整功能通知的大小"}]},"file-token-group":{"i18nStrings.limitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.limitShowMore":[{"type":0,"value":"顯示更多"}],"i18nStrings.removeFileAriaLabel":[{"type":0,"value":"移除檔案 "},{"type":1,"value":"fileIndex"},{"type":0,"value":","},{"type":1,"value":"fileName"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}]},"file-upload":{"i18nStrings.limitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.limitShowMore":[{"type":0,"value":"顯示更多"}],"i18nStrings.removeFileAriaLabel":[{"type":0,"value":"移除檔案 "},{"type":1,"value":"fileIndex"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}],"i18nStrings.uploadButtonText":[{"type":5,"value":"multiple","options":{"true":{"value":[{"type":0,"value":"選擇檔案"}]},"false":{"value":[{"type":0,"value":"選擇檔案"}]},"other":{"value":[]}}}],"i18nStrings.dropzoneText":[{"type":5,"value":"multiple","options":{"true":{"value":[{"type":0,"value":"拖曳檔案以上傳"}]},"false":{"value":[{"type":0,"value":"拖曳檔案以上傳"}]},"other":{"value":[]}}}]},"flashbar":{"i18nStrings.ariaLabel":[{"type":0,"value":"通知"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.inProgressIconAriaLabel":[{"type":0,"value":"進行中"}],"i18nStrings.infoIconAriaLabel":[{"type":0,"value":"資訊"}],"i18nStrings.notificationBarAriaLabel":[{"type":0,"value":"所有通知"}],"i18nStrings.notificationBarText":[{"type":0,"value":"通知"}],"i18nStrings.successIconAriaLabel":[{"type":0,"value":"成功"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}]},"form-field":{"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}]},"form":{"errorIconAriaLabel":[{"type":0,"value":"錯誤"}]},"help-panel":{"loadingText":[{"type":0,"value":"載入內容"}]},"input":{"clearAriaLabel":[{"type":0,"value":"清除"}]},"link":{"externalIconAriaLabel":[{"type":0,"value":"在新索引標籤中開啟"}]},"list":{"dragHandleAriaLabel":[{"type":0,"value":"拖曳控點"}],"dragHandleAriaDescription":[{"type":0,"value":"使用空白鍵或 ENTER 鍵啟用項目拖曳功能,然後使用方向鍵移動項目的位置。若要完成位置移動,請使用空白鍵或 ENTER 鍵,或者若要捨棄移動,請使用 ESC 鍵。"}],"liveAnnouncementDndStarted":[{"type":0,"value":"在 "},{"type":1,"value":"position"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置) 拾取了項目"}],"liveAnnouncementDndDiscarded":[{"type":0,"value":"重新排序已取消"}],"liveAnnouncementDndItemReordered":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"將項目移回 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"將項目移到 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}],"liveAnnouncementDndItemCommitted":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"項目移回原來的 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"項目已從 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置移到 "},{"type":1,"value":"finalPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}]},"modal":{"closeAriaLabel":[{"type":0,"value":"關閉強制回應"}]},"multiselect":{"deselectAriaLabel":[{"type":0,"value":"移除 "},{"type":1,"value":"option__label"}],"i18nStrings.selectAllText":[{"type":0,"value":"選取全部"}]},"pagination":{"ariaLabels.nextPageLabel":[{"type":0,"value":"下一頁"}],"ariaLabels.pageLabel":[{"type":0,"value":"所有頁面中的第 "},{"type":1,"value":"pageNumber"},{"type":0,"value":" 頁"}],"ariaLabels.previousPageLabel":[{"type":0,"value":"上一頁"}],"ariaLabels.jumpToPageButtonLabel":[{"type":0,"value":"跳到頁面"}],"i18nStrings.jumpToPageInputLabel":[{"type":0,"value":"頁面"}],"i18nStrings.jumpToPageError":[{"type":0,"value":"頁面超出範圍。顯示最後一個可用頁面。"}],"i18nStrings.jumpToPageLoadingText":[{"type":0,"value":"正在載入"}]},"panel-resize-handle":{"i18nStrings.resizeHandleAriaLabel":[{"type":0,"value":"面板調整大小控點"}],"i18nStrings.resizeHandleTooltipText":[{"type":0,"value":"拖曳或選取以調整大小"}]},"pie-chart":{"i18nStrings.detailsValue":[{"type":0,"value":"值"}],"i18nStrings.detailsPercentage":[{"type":0,"value":"百分比"}],"i18nStrings.chartAriaRoleDescription":[{"type":0,"value":"圓餅圖"}],"i18nStrings.segmentAriaRoleDescription":[{"type":0,"value":"區段"}]},"popover":{"dismissAriaLabel":[{"type":0,"value":"關閉彈出視窗"}]},"prompt-input":{"i18nStrings.actionButtonAriaLabel":[{"type":0,"value":"提交提示"}],"i18nStrings.menuErrorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.menuRecoveryText":[{"type":0,"value":"重試"}],"i18nStrings.menuLoadingText":[{"type":0,"value":"正在載入項目"}],"i18nStrings.menuFinishedText":[{"type":0,"value":"結果結束"}],"i18nStrings.menuErrorText":[{"type":0,"value":"擷取項目時發生錯誤"}],"i18nStrings.selectedMenuItemAriaLabel":[{"type":0,"value":"已選取"}],"i18nStrings.tokenInsertedAriaLabel":[{"type":1,"value":"token__label"},{"type":0,"value":" 已插入"}],"i18nStrings.tokenPinnedAriaLabel":[{"type":1,"value":"token__label"},{"type":0,"value":" 已固定"}],"i18nStrings.tokenRemovedAriaLabel":[{"type":1,"value":"token__label"},{"type":0,"value":" 已移除"}]},"property-filter":{"i18nStrings.allPropertiesLabel":[{"type":0,"value":"所有屬性"}],"i18nStrings.applyActionText":[{"type":0,"value":"套用"}],"i18nStrings.cancelActionText":[{"type":0,"value":"取消"}],"i18nStrings.clearFiltersText":[{"type":0,"value":"清除篩選條件"}],"i18nStrings.editTokenHeader":[{"type":0,"value":"編輯篩選條件"}],"i18nStrings.groupPropertiesText":[{"type":0,"value":"屬性"}],"i18nStrings.groupValuesText":[{"type":0,"value":"值"}],"i18nStrings.operationAndText":[{"type":0,"value":"和"}],"i18nStrings.operationOrText":[{"type":0,"value":"或"}],"i18nStrings.operatorContainsText":[{"type":0,"value":"包含"}],"i18nStrings.operatorDoesNotContainText":[{"type":0,"value":"不包含"}],"i18nStrings.operatorDoesNotEqualText":[{"type":0,"value":"不等於"}],"i18nStrings.operatorEqualsText":[{"type":0,"value":"等於"}],"i18nStrings.operatorGreaterOrEqualText":[{"type":0,"value":"大於或等於"}],"i18nStrings.operatorGreaterText":[{"type":0,"value":"大於"}],"i18nStrings.operatorLessOrEqualText":[{"type":0,"value":"小於或等於"}],"i18nStrings.operatorLessText":[{"type":0,"value":"小於"}],"i18nStrings.operatorStartsWithText":[{"type":0,"value":"開始為"}],"i18nStrings.operatorDoesNotStartWithText":[{"type":0,"value":"開頭不能為"}],"i18nStrings.operatorText":[{"type":0,"value":"運算子"}],"i18nStrings.operatorsText":[{"type":0,"value":"運算子"}],"i18nStrings.propertyText":[{"type":0,"value":"屬性"}],"i18nStrings.removeTokenButtonAriaLabel":[{"type":0,"value":"移除篩選條件,"},{"type":1,"value":"token__formattedText"}],"i18nStrings.tokenEditorTokenActionsAriaLabel":[{"type":0,"value":"篩選動作,"},{"type":1,"value":"token__formattedText"}],"i18nStrings.tokenEditorTokenRemoveAriaLabel":[{"type":0,"value":"移除篩選條件,"},{"type":1,"value":"token__formattedText"}],"i18nStrings.tokenEditorTokenRemoveLabel":[{"type":0,"value":"移除篩選條件"}],"i18nStrings.tokenEditorTokenRemoveFromGroupLabel":[{"type":0,"value":"從群組中移除篩選條件"}],"i18nStrings.tokenEditorAddTokenActionsAriaLabel":[{"type":0,"value":"新增篩選動作"}],"i18nStrings.tokenEditorAddNewTokenLabel":[{"type":0,"value":"新增新的篩選條件"}],"i18nStrings.tokenEditorAddExistingTokenAriaLabel":[{"type":0,"value":"新增篩選條件 "},{"type":1,"value":"token__formattedText"},{"type":0,"value":" 至群組"}],"i18nStrings.tokenEditorAddExistingTokenLabel":[{"type":0,"value":"新增篩選條件 "},{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" "},{"type":1,"value":"token__operator"},{"type":0,"value":" "},{"type":1,"value":"token__value"},{"type":0,"value":" 至群組"}],"i18nStrings.tokenLimitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.tokenLimitShowMore":[{"type":0,"value":"顯示更多"}],"i18nStrings.valueText":[{"type":0,"value":"值"}],"i18nStrings.formatToken":[{"type":5,"value":"token__operator","options":{"equals":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 等於 "},{"type":1,"value":"token__value"}]},"not_equals":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 不等於 "},{"type":1,"value":"token__value"}]},"greater_than":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 大於 "},{"type":1,"value":"token__value"}]},"greater_than_equal":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 大於或等於 "},{"type":1,"value":"token__value"}]},"less_than":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 小於 "},{"type":1,"value":"token__value"}]},"less_than_equal":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 小於或等於 "},{"type":1,"value":"token__value"}]},"contains":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 包含 "},{"type":1,"value":"token__value"}]},"not_contains":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 不包含 "},{"type":1,"value":"token__value"}]},"starts_with":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 開頭為 "},{"type":1,"value":"token__value"}]},"not_starts_with":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 開頭不能為 "},{"type":1,"value":"token__value"}]},"other":{"value":[]}}}],"i18nStrings.groupEditAriaLabel":[{"type":5,"value":"group__formattedTokens__length","options":{"2":{"value":[{"type":0,"value":"編輯篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"}]},"3":{"value":[{"type":0,"value":"編輯篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"}]},"4":{"value":[{"type":0,"value":"編輯篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens3__formattedText"}]},"5":{"value":[{"type":0,"value":"再編輯 1 個篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens3__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"}]},"other":{"value":[{"type":0,"value":"編輯更多篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens3__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"}]}}}]},"s3-resource-selector":{"i18nStrings.inContextSelectPlaceholder":[{"type":0,"value":"選擇一個版本"}],"i18nStrings.inContextBrowseButton":[{"type":0,"value":"瀏覽 S3"}],"i18nStrings.inContextViewButton":[{"type":0,"value":"檢視"}],"i18nStrings.inContextViewButtonAriaLabel":[{"type":0,"value":"檢視 (在新索引標籤中開啟)"}],"i18nStrings.inContextLoadingText":[{"type":0,"value":"正在載入資源"}],"i18nStrings.inContextUriLabel":[{"type":0,"value":"S3 URI"}],"i18nStrings.inContextVersionSelectLabel":[{"type":0,"value":"選取版本"}],"i18nStrings.modalTitle":[{"type":0,"value":"在 S3 中選擇一個對象"}],"i18nStrings.modalCancelButton":[{"type":0,"value":"取消"}],"i18nStrings.modalSubmitButton":[{"type":0,"value":"選擇"}],"i18nStrings.modalBreadcrumbRootItem":[{"type":0,"value":"S3 儲存貯體"}],"i18nStrings.modalLastUpdatedText":[{"type":0,"value":"最後更新"}],"i18nStrings.selectionBuckets":[{"type":0,"value":"儲存貯體"}],"i18nStrings.selectionObjects":[{"type":0,"value":"物件"}],"i18nStrings.selectionVersions":[{"type":0,"value":"版本"}],"i18nStrings.selectionBucketsSearchPlaceholder":[{"type":0,"value":"尋找儲存貯體"}],"i18nStrings.selectionObjectsSearchPlaceholder":[{"type":0,"value":"按前綴查找物件"}],"i18nStrings.selectionVersionsSearchPlaceholder":[{"type":0,"value":"尋找版本"}],"i18nStrings.selectionBucketsLoading":[{"type":0,"value":"裝載儲存貯體"}],"i18nStrings.selectionBucketsNoItems":[{"type":0,"value":"沒有儲存貯體"}],"i18nStrings.selectionObjectsLoading":[{"type":0,"value":"載入物件"}],"i18nStrings.selectionObjectsNoItems":[{"type":0,"value":"沒有物件"}],"i18nStrings.selectionVersionsLoading":[{"type":0,"value":"載入版本"}],"i18nStrings.selectionVersionsNoItems":[{"type":0,"value":"沒有版本"}],"i18nStrings.filteringNoMatches":[{"type":0,"value":"無相符項目"}],"i18nStrings.filteringCantFindMatch":[{"type":0,"value":"找不到相符項目"}],"i18nStrings.clearFilterButtonText":[{"type":0,"value":"清除篩選條件"}],"i18nStrings.columnBucketID":[{"type":0,"value":"ID"}],"i18nStrings.columnBucketName":[{"type":0,"value":"名稱"}],"i18nStrings.columnBucketCreationDate":[{"type":0,"value":"建立日期"}],"i18nStrings.columnBucketRegion":[{"type":0,"value":"區域"}],"i18nStrings.columnObjectKey":[{"type":0,"value":"索引鍵"}],"i18nStrings.columnObjectLastModified":[{"type":0,"value":"上次修改"}],"i18nStrings.columnObjectSize":[{"type":0,"value":"尺寸"}],"i18nStrings.columnVersionID":[{"type":0,"value":"版本 ID"}],"i18nStrings.columnVersionLastModified":[{"type":0,"value":"上次修改"}],"i18nStrings.columnVersionSize":[{"type":0,"value":"尺寸"}],"i18nStrings.validationPathMustBegin":[{"type":0,"value":"路徑必須以 s3:// 開頭才有效。"}],"i18nStrings.validationBucketLowerCase":[{"type":0,"value":"儲存貯體名稱必須以小寫字元或數字開頭。"}],"i18nStrings.validationBucketMustNotContain":[{"type":0,"value":"儲存貯體名稱不得包含大寫字元。"}],"i18nStrings.validationBucketLength":[{"type":0,"value":"儲存貯體名稱必須介於 3 到 63 個字元之間。"}],"i18nStrings.validationBucketMustComplyDns":[{"type":0,"value":"儲存貯體名稱必須符合 DNS 命名慣例。"}],"i18nStrings.labelSortedDescending":[{"type":1,"value":"columnName"},{"type":0,"value":",遞減排序"}],"i18nStrings.labelSortedAscending":[{"type":1,"value":"columnName"},{"type":0,"value":",升序排序"}],"i18nStrings.labelNotSorted":[{"type":1,"value":"columnName"},{"type":0,"value":",未排序"}],"i18nStrings.labelsBucketsSelection.selectionGroupLabel":[{"type":0,"value":"儲存貯體"}],"i18nStrings.labelsBucketsSelection.itemSelectionLabel":[{"type":1,"value":"item__Name"}],"i18nStrings.labelsObjectsSelection.selectionGroupLabel":[{"type":0,"value":"物件"}],"i18nStrings.labelsObjectsSelection.itemSelectionLabel":[{"type":1,"value":"item__Key"}],"i18nStrings.labelsVersionsSelection.selectionGroupLabel":[{"type":0,"value":"版本"}],"i18nStrings.labelsVersionsSelection.itemSelectionLabel":[{"type":1,"value":"item__VersionId"}],"i18nStrings.labelFiltering":[{"type":0,"value":"尋找 "},{"type":1,"value":"itemsType"}],"i18nStrings.labelRefresh":[{"type":0,"value":"重新整理資料"}],"i18nStrings.labelBreadcrumbs":[{"type":0,"value":"S3 頁面導覽路徑"}],"i18nStrings.labelIconFolder":[{"type":0,"value":"資料夾"}],"i18nStrings.labelIconObject":[{"type":0,"value":"物件"}],"i18nStrings.filteringCounterText":[{"type":6,"value":"count","options":{"one":{"value":[{"type":0,"value":"1 個符合"}]},"other":{"value":[{"type":1,"value":"count"},{"type":0,"value":" 個符合"}]}},"offset":0,"pluralType":"cardinal"}]},"select":{"errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"selectedAriaLabel":[{"type":0,"value":"已選取"}],"recoveryText":[{"type":0,"value":"重試"}]},"slider":{"i18nStrings.valueTextRange":[{"type":1,"value":"value"},{"type":0,"value":",介於 "},{"type":1,"value":"previousValue"},{"type":0,"value":" 和 "},{"type":1,"value":"nextValue"},{"type":0,"value":" 之間"}]},"split-panel":{"i18nStrings.closeButtonAriaLabel":[{"type":0,"value":"關閉面板"}],"i18nStrings.openButtonAriaLabel":[{"type":0,"value":"打開面板"}],"i18nStrings.preferencesTitle":[{"type":0,"value":"分割面板偏好"}],"i18nStrings.preferencesPositionLabel":[{"type":0,"value":"分割面板位置"}],"i18nStrings.preferencesPositionDescription":[{"type":0,"value":"選擇服務的預設分割面板位置。"}],"i18nStrings.preferencesPositionSide":[{"type":0,"value":"側邊"}],"i18nStrings.preferencesPositionBottom":[{"type":0,"value":"底部"}],"i18nStrings.preferencesConfirm":[{"type":0,"value":"確認"}],"i18nStrings.preferencesCancel":[{"type":0,"value":"取消"}],"i18nStrings.resizeHandleAriaLabel":[{"type":0,"value":"調整分割面板大小"}],"i18nStrings.resizeHandleTooltipText":[{"type":0,"value":"拖曳或選取以調整大小"}]},"table":{"ariaLabels.resizerRoleDescription":[{"type":0,"value":"調整按鈕大小"}],"ariaLabels.submittingEditText":[{"type":0,"value":"提交編輯"}],"ariaLabels.successfulEditLabel":[{"type":0,"value":"編輯成功"}],"ariaLabels.expandButtonLabel":[{"type":0,"value":"展開"}],"ariaLabels.collapseButtonLabel":[{"type":0,"value":"摺疊"}],"columnDefinitions.editConfig.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"columnDefinitions.editConfig.editIconAriaLabel":[{"type":0,"value":"可編輯"}]},"tabs":{"i18nStrings.scrollLeftAriaLabel":[{"type":0,"value":"向左捲動"}],"i18nStrings.scrollRightAriaLabel":[{"type":0,"value":"向右捲動"}],"i18nStrings.tabsWithActionsAriaRoleDescription":[{"type":0,"value":"具有動作的標籤"}]},"tag-editor":{"i18nStrings.keyPlaceholder":[{"type":0,"value":"輸入索引鍵"}],"i18nStrings.valuePlaceholder":[{"type":0,"value":"輸入值"}],"i18nStrings.addButton":[{"type":0,"value":"新增標籤"}],"i18nStrings.removeButton":[{"type":0,"value":"移除"}],"i18nStrings.removeButtonAriaLabel":[{"type":0,"value":"移除 "},{"type":1,"value":"tag__key"}],"i18nStrings.undoButton":[{"type":0,"value":"復原"}],"i18nStrings.undoPrompt":[{"type":0,"value":"此標籤會在儲存變更時移除"}],"i18nStrings.loading":[{"type":0,"value":"正在載入與此資源相關聯的標籤"}],"i18nStrings.keyHeader":[{"type":0,"value":"索引鍵"}],"i18nStrings.valueHeader":[{"type":0,"value":"值"}],"i18nStrings.optional":[{"type":0,"value":"選用"}],"i18nStrings.keySuggestion":[{"type":0,"value":"自訂標籤索引鍵"}],"i18nStrings.valueSuggestion":[{"type":0,"value":"自訂標籤值"}],"i18nStrings.emptyTags":[{"type":0,"value":"沒有與資源相關聯的標籤。"}],"i18nStrings.tooManyKeysSuggestion":[{"type":0,"value":"您的索引鍵數目超過可顯示的數目"}],"i18nStrings.tooManyValuesSuggestion":[{"type":0,"value":"您的值數目超過可顯示的數目"}],"i18nStrings.keysSuggestionLoading":[{"type":0,"value":"正在載入標籤索引鍵"}],"i18nStrings.keysSuggestionError":[{"type":0,"value":"無法擷取標籤索引鍵"}],"i18nStrings.valuesSuggestionLoading":[{"type":0,"value":"正在載入標籤值"}],"i18nStrings.valuesSuggestionError":[{"type":0,"value":"無法擷取標籤值"}],"i18nStrings.emptyKeyError":[{"type":0,"value":"您必須指定標籤索引鍵"}],"i18nStrings.maxKeyCharLengthError":[{"type":0,"value":"標籤索引鍵中可使用的字元數上限為 128 個字元。"}],"i18nStrings.maxValueCharLengthError":[{"type":0,"value":"標籤值中可使用的字元數上限為 256 個字元。"}],"i18nStrings.duplicateKeyError":[{"type":0,"value":"您必須指定唯一的標籤索引鍵。"}],"i18nStrings.invalidKeyError":[{"type":0,"value":"無效的金鑰。金鑰只能包含 Unicode 字母、數字、空格和下列符號︰ _.:/=+@–"}],"i18nStrings.invalidValueError":[{"type":0,"value":"無效的值。值只能包含 Unicode 字母、數字、空格和下列符號︰_.:/=+@ –"}],"i18nStrings.awsPrefixError":[{"type":0,"value":"開頭不能為 aws:"}],"i18nStrings.tagLimitReached":[{"type":6,"value":"tagLimit","options":{"one":{"value":[{"type":0,"value":"您已達到 1 個標籤的上限。"}]},"other":{"value":[{"type":0,"value":"您已達到 "},{"type":1,"value":"tagLimit"},{"type":0,"value":" 個標籤的上限。"}]}},"offset":0,"pluralType":"cardinal"}],"i18nStrings.tagLimitExceeded":[{"type":6,"value":"tagLimit","options":{"one":{"value":[{"type":0,"value":"您已超過 1 個標籤的上限。"}]},"other":{"value":[{"type":0,"value":"您已超過 "},{"type":1,"value":"tagLimit"},{"type":0,"value":" 個標籤的上限。"}]}},"offset":0,"pluralType":"cardinal"}],"i18nStrings.tagLimit":[{"type":5,"value":"tagLimitAvailable","options":{"true":{"value":[{"type":6,"value":"availableTags","options":{"other":{"value":[{"type":0,"value":"您最多可以新增 "},{"type":1,"value":"tagLimit"},{"type":0,"value":" 個標籤。"}]}},"offset":0,"pluralType":"cardinal"}]},"false":{"value":[{"type":6,"value":"availableTags","options":{"one":{"value":[{"type":0,"value":"您最多可以再新增 1 個標籤。"}]},"other":{"value":[{"type":0,"value":"您最多可以再新增 "},{"type":1,"value":"availableTags"},{"type":0,"value":" 個標籤。"}]}},"offset":0,"pluralType":"cardinal"}]},"other":{"value":[]}}}]},"token-group":{"i18nStrings.limitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.limitShowMore":[{"type":0,"value":"顯示更多"}]},"top-navigation":{"i18nStrings.searchIconAriaLabel":[{"type":0,"value":"搜尋"}],"i18nStrings.searchDismissIconAriaLabel":[{"type":0,"value":"關閉搜尋"}],"i18nStrings.overflowMenuTriggerText":[{"type":0,"value":"更多"}],"i18nStrings.overflowMenuDismissIconAriaLabel":[{"type":0,"value":"關閉選單"}],"i18nStrings.overflowMenuBackIconAriaLabel":[{"type":0,"value":"返回"}],"i18nStrings.overflowMenuTitleText":[{"type":0,"value":"全部"}]},"tree-view":{"i18nStrings.expandButtonLabel":[{"type":0,"value":"展開"}],"i18nStrings.collapseButtonLabel":[{"type":0,"value":"收合"}]},"tutorial-panel":{"i18nStrings.loadingText":[{"type":0,"value":"正在載入"}],"i18nStrings.tutorialListTitle":[{"type":0,"value":"選擇教學"}],"i18nStrings.tutorialListDownloadLinkText":[{"type":0,"value":"下載 PDF 版本"}],"i18nStrings.labelTutorialListDownloadLink":[{"type":0,"value":"下載本教學課程的 PDF 版本"}],"i18nStrings.tutorialCompletedText":[{"type":0,"value":"教學已完成"}],"i18nStrings.learnMoreLinkText":[{"type":0,"value":"進一步了解"}],"i18nStrings.startTutorialButtonText":[{"type":0,"value":"開始教學"}],"i18nStrings.restartTutorialButtonText":[{"type":0,"value":"重新啟動教學課程"}],"i18nStrings.completionScreenTitle":[{"type":0,"value":"恭喜!您已完成了教學課程。"}],"i18nStrings.feedbackLinkText":[{"type":0,"value":"意見回饋"}],"i18nStrings.dismissTutorialButtonText":[{"type":0,"value":"結束教學"}],"i18nStrings.taskTitle":[{"type":0,"value":"任務 "},{"type":1,"value":"taskNumber"},{"type":0,"value":":"},{"type":1,"value":"taskTitle"}],"i18nStrings.stepTitle":[{"type":0,"value":"步驟"},{"type":1,"value":"stepNumber"},{"type":0,"value":"︰"},{"type":1,"value":"stepTitle"}],"i18nStrings.labelExitTutorial":[{"type":0,"value":"結束教學"}],"i18nStrings.labelTotalSteps":[{"type":0,"value":"總步驟︰"},{"type":1,"value":"totalStepCount"}],"i18nStrings.labelsTaskStatus.pending":[{"type":0,"value":"等待中"}],"i18nStrings.labelsTaskStatus.in-progress":[{"type":0,"value":"進行中"}],"i18nStrings.labelsTaskStatus.success":[{"type":0,"value":"成功"}]},"wizard":{"i18nStrings.stepNumberLabel":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"}],"i18nStrings.collapsedStepsLabel":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":",共 "},{"type":1,"value":"stepsCount"},{"type":0,"value":" 步"}],"i18nStrings.skipToButtonLabel":[{"type":0,"value":"跳到 "},{"type":1,"value":"task__title"}],"i18nStrings.navigationAriaLabel":[{"type":0,"value":"步驟"}],"i18nStrings.cancelButton":[{"type":0,"value":"取消"}],"i18nStrings.previousButton":[{"type":0,"value":"上一步"}],"i18nStrings.nextButton":[{"type":0,"value":"下一步"}],"i18nStrings.optional":[{"type":0,"value":"選用"}],"i18nStrings.nextButtonLoadingAnnouncement":[{"type":0,"value":"載入下一個步驟"}],"i18nStrings.submitButtonLoadingAnnouncement":[{"type":0,"value":"提交表單"}]}}}}
1
+ {"cloudscape-design-components":{"zh-TW":{"[charts]":{"loadingText":[{"type":0,"value":"正在載入圖表"}],"errorText":[{"type":0,"value":"無法擷取資料。請稍後再試一次。"}],"recoveryText":[{"type":0,"value":"重試"}],"i18nStrings.filterLabel":[{"type":0,"value":"篩選顯示的資料"}],"i18nStrings.filterPlaceholder":[{"type":0,"value":"篩選資料"}],"i18nStrings.legendAriaLabel":[{"type":0,"value":"圖例"}],"i18nStrings.chartAriaRoleDescription":[{"type":0,"value":"圖表"}],"i18nStrings.xAxisAriaRoleDescription":[{"type":0,"value":"X 軸"}],"i18nStrings.yAxisAriaRoleDescription":[{"type":0,"value":"Y 軸"}]},"alert":{"dismissAriaLabel":[{"type":0,"value":"關閉提醒"}],"i18nStrings.successIconAriaLabel":[{"type":0,"value":"成功"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}],"i18nStrings.infoIconAriaLabel":[{"type":0,"value":"資訊"}],"i18nStrings.dismissAriaLabel":[{"type":0,"value":"關閉提醒"}]},"annotation-context":{"i18nStrings.nextButtonText":[{"type":0,"value":"下一步"}],"i18nStrings.previousButtonText":[{"type":0,"value":"上一步"}],"i18nStrings.finishButtonText":[{"type":0,"value":"完成"}],"i18nStrings.labelDismissAnnotation":[{"type":0,"value":"關閉註釋"}],"i18nStrings.stepCounterText":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":",共 "},{"type":1,"value":"totalStepCount"},{"type":0,"value":" 步"}],"i18nStrings.taskTitle":[{"type":0,"value":"任務 "},{"type":1,"value":"taskNumber"},{"type":0,"value":":"},{"type":1,"value":"taskTitle"}],"i18nStrings.labelHotspot":[{"type":5,"value":"openState","options":{"true":{"value":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":" (共 "},{"type":1,"value":"totalStepCount"},{"type":0,"value":" 步) 的註釋"}]},"false":{"value":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":" (共 "},{"type":1,"value":"totalStepCount"},{"type":0,"value":" 步) 的註釋"}]},"other":{"value":[]}}}]},"app-layout":{"ariaLabels.drawers":[{"type":0,"value":"抽屜"}],"ariaLabels.drawersOverflow":[{"type":0,"value":"抽屜溢出"}],"ariaLabels.drawersOverflowWithBadge":[{"type":0,"value":"抽屜中徽章溢出"}],"ariaLabels.navigation":[{"type":0,"value":"側邊導覽"}],"ariaLabels.navigationClose":[{"type":0,"value":"關閉側邊導覽"}],"ariaLabels.navigationToggle":[{"type":0,"value":"開啟側邊導覽"}],"ariaLabels.notifications":[{"type":0,"value":"通知"}],"ariaLabels.tools":[{"type":0,"value":"說明面板"}],"ariaLabels.toolsClose":[{"type":0,"value":"關閉說明面板"}],"ariaLabels.toolsToggle":[{"type":0,"value":"開啟說明面板"}]},"area-chart":{"i18nStrings.detailTotalLabel":[{"type":0,"value":"合計"}]},"attribute-editor":{"removeButtonText":[{"type":0,"value":"移除"}],"i18nStrings.itemRemovedAriaLive":[{"type":0,"value":"項目已移除"}]},"autosuggest":{"errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"selectedAriaLabel":[{"type":0,"value":"已選取"}],"enteredTextLabel":[{"type":0,"value":"使用:“"},{"type":1,"value":"value"},{"type":0,"value":"”"}],"recoveryText":[{"type":0,"value":"重試"}]},"breadcrumb-group":{"expandAriaLabel":[{"type":0,"value":"顯示路徑"}]},"button":{"i18nStrings.externalIconAriaLabel":[{"type":0,"value":"在新索引標籤中開啟"}]},"calendar":{"nextMonthAriaLabel":[{"type":0,"value":"下個月"}],"previousMonthAriaLabel":[{"type":0,"value":"上個月"}],"todayAriaLabel":[{"type":0,"value":"今天"}],"i18nStrings.nextYearAriaLabel":[{"type":0,"value":"下一年"}],"i18nStrings.previousYearAriaLabel":[{"type":0,"value":"上一年"}],"i18nStrings.currentMonthAriaLabel":[{"type":0,"value":"當前月份"}]},"cards":{"ariaLabels.selectionGroupLabel":[{"type":0,"value":"項目選擇"}]},"code-editor":{"i18nStrings.loadingState":[{"type":0,"value":"正在載入程式碼編輯器"}],"i18nStrings.errorState":[{"type":0,"value":"載入程式碼編輯器時發生錯誤。"}],"i18nStrings.errorStateRecovery":[{"type":0,"value":"重試"}],"i18nStrings.editorGroupAriaLabel":[{"type":0,"value":"程式碼編輯器"}],"i18nStrings.statusBarGroupAriaLabel":[{"type":0,"value":"狀態列"}],"i18nStrings.cursorPosition":[{"type":0,"value":"行 "},{"type":1,"value":"row"},{"type":0,"value":"、欄 "},{"type":1,"value":"column"}],"i18nStrings.errorsTab":[{"type":0,"value":"錯誤"}],"i18nStrings.warningsTab":[{"type":0,"value":"警告"}],"i18nStrings.preferencesButtonAriaLabel":[{"type":0,"value":"偏好設定"}],"i18nStrings.paneCloseButtonAriaLabel":[{"type":0,"value":"關閉"}],"i18nStrings.preferencesModalHeader":[{"type":0,"value":"偏好設定"}],"i18nStrings.preferencesModalCancel":[{"type":0,"value":"取消"}],"i18nStrings.preferencesModalConfirm":[{"type":0,"value":"確認"}],"i18nStrings.preferencesModalWrapLines":[{"type":0,"value":"換行"}],"i18nStrings.preferencesModalTheme":[{"type":0,"value":"佈景主題"}],"i18nStrings.preferencesModalThemeFilteringAriaLabel":[{"type":0,"value":"篩選主題"}],"i18nStrings.preferencesModalThemeFilteringPlaceholder":[{"type":0,"value":"篩選主題"}],"i18nStrings.preferencesModalLightThemes":[{"type":0,"value":"淺色佈景主題"}],"i18nStrings.preferencesModalDarkThemes":[{"type":0,"value":"深色佈景主題"}],"i18nStrings.cursorPositionAriaLabel":[{"type":0,"value":"列 "},{"type":1,"value":"row"},{"type":0,"value":" 上的游標"}],"i18nStrings.resizeHandleAriaLabel":[{"type":0,"value":"調整大小控點"}],"i18nStrings.resizeHandleTooltipText":[{"type":0,"value":"拖曳或選取以調整大小"}]},"collection-preferences":{"title":[{"type":0,"value":"偏好設定"}],"confirmLabel":[{"type":0,"value":"確認"}],"cancelLabel":[{"type":0,"value":"取消"}],"pageSizePreference.title":[{"type":0,"value":"頁面大小"}],"wrapLinesPreference.label":[{"type":0,"value":"換行"}],"wrapLinesPreference.description":[{"type":0,"value":"選取以查看所有文字並換行"}],"stripedRowsPreference.label":[{"type":0,"value":"條紋列"}],"stripedRowsPreference.description":[{"type":0,"value":"選取以新增加網底的列"}],"contentDensityPreference.label":[{"type":0,"value":"精簡模式"}],"contentDensityPreference.description":[{"type":0,"value":"選擇以更密集、更精簡的模式顯示內容"}],"stickyColumnsPreference.firstColumns.title":[{"type":0,"value":"貼上第一欄"}],"stickyColumnsPreference.firstColumns.description":[{"type":0,"value":"水平捲動資料表內容時,保持第一欄可見。"}],"stickyColumnsPreference.firstColumns.options[0].label":[{"type":0,"value":"無"}],"stickyColumnsPreference.firstColumns.options[1].label":[{"type":0,"value":"第一欄"}],"stickyColumnsPreference.firstColumns.options[2].label":[{"type":0,"value":"前兩欄"}],"stickyColumnsPreference.lastColumns.title":[{"type":0,"value":"貼上最後一欄"}],"stickyColumnsPreference.lastColumns.description":[{"type":0,"value":"水平捲動資料表內容時,保持最後一欄可見。"}],"stickyColumnsPreference.lastColumns.options[0].label":[{"type":0,"value":"無"}],"stickyColumnsPreference.lastColumns.options[1].label":[{"type":0,"value":"最後一欄"}],"contentDisplayPreference.title":[{"type":0,"value":"欄偏好設定"}],"contentDisplayPreference.description":[{"type":0,"value":"自訂欄位的可見性和順序。"}],"contentDisplayPreference.dragHandleAriaLabel":[{"type":0,"value":"拖曳控點"}],"contentDisplayPreference.dragHandleAriaDescription":[{"type":0,"value":"使用空白鍵或 ENTER 鍵啟用項目拖曳功能,然後使用方向鍵移動項目的位置。若要完成位置移動,請使用空白鍵或 ENTER 鍵,或者若要捨棄移動,請使用 ESC 鍵。"}],"contentDisplayPreference.liveAnnouncementDndStarted":[{"type":0,"value":"在第 "},{"type":1,"value":"position"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置) 拾取了項目"}],"contentDisplayPreference.liveAnnouncementDndDiscarded":[{"type":0,"value":"重新排序已取消"}],"contentDisplayPreference.i18nStrings.columnFilteringPlaceholder":[{"type":0,"value":"篩選欄"}],"contentDisplayPreference.i18nStrings.columnFilteringAriaLabel":[{"type":0,"value":"篩選欄"}],"contentDisplayPreference.i18nStrings.columnFilteringNoMatchText":[{"type":0,"value":"找不到相符項目"}],"contentDisplayPreference.i18nStrings.columnFilteringClearFilterText":[{"type":0,"value":"清除篩選條件"}],"contentDisplayPreference.liveAnnouncementDndItemReordered":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"將項目移回 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"將項目移到 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}],"contentDisplayPreference.liveAnnouncementDndItemCommitted":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"項目移回原來的 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"項目已從 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置移到 "},{"type":1,"value":"finalPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}],"contentDisplayPreference.i18nStrings.columnFilteringCountText":[{"type":6,"value":"count","options":{"zero":{"value":[{"type":0,"value":"0 個符合"}]},"one":{"value":[{"type":0,"value":"1 個符合"}]},"other":{"value":[{"type":1,"value":"count"},{"type":0,"value":" 個符合"}]}},"offset":0,"pluralType":"cardinal"}]},"copy-to-clipboard":{"i18nStrings.copyButtonText":[{"type":0,"value":"複製"}]},"date-picker":{"i18nStrings.openCalendarAriaLabel":[{"type":5,"value":"selectedDate","options":{"none":{"value":[{"type":0,"value":"選擇日期"}]},"other":{"value":[{"type":0,"value":"選擇日期,所選日期為 "},{"type":1,"value":"selectedDate"}]}}}]},"date-range-picker":{"i18nStrings.relativeModeTitle":[{"type":0,"value":"相對模式"}],"i18nStrings.absoluteModeTitle":[{"type":0,"value":"絕對模式"}],"i18nStrings.relativeRangeSelectionHeading":[{"type":0,"value":"選擇範圍"}],"i18nStrings.relativeRangeSelectionMonthlyDescription":[{"type":0,"value":"每個選項代表完整的月份,從該月第一天算到最後一天。"}],"i18nStrings.cancelButtonLabel":[{"type":0,"value":"取消"}],"i18nStrings.clearButtonLabel":[{"type":0,"value":"清除和關閉"}],"i18nStrings.applyButtonLabel":[{"type":0,"value":"套用"}],"i18nStrings.customRelativeRangeOptionLabel":[{"type":0,"value":"自訂範圍"}],"i18nStrings.customRelativeRangeOptionDescription":[{"type":0,"value":"設定過去的自訂範圍"}],"i18nStrings.customRelativeRangeUnitLabel":[{"type":0,"value":"時間單位"}],"i18nStrings.customRelativeRangeDurationLabel":[{"type":0,"value":"持續時間"}],"i18nStrings.customRelativeRangeDurationPlaceholder":[{"type":0,"value":"輸入持續時間"}],"i18nStrings.previousMonthAriaLabel":[{"type":0,"value":"上個月"}],"i18nStrings.nextMonthAriaLabel":[{"type":0,"value":"下個月"}],"i18nStrings.previousYearAriaLabel":[{"type":0,"value":"上一年"}],"i18nStrings.nextYearAriaLabel":[{"type":0,"value":"下一年"}],"i18nStrings.currentMonthAriaLabel":[{"type":0,"value":"本月"}],"i18nStrings.todayAriaLabel":[{"type":0,"value":"今天"}],"i18nStrings.startMonthLabel":[{"type":0,"value":"開始月份"}],"i18nStrings.startDateLabel":[{"type":0,"value":"開始日期"}],"i18nStrings.startTimeLabel":[{"type":0,"value":"開始時間"}],"i18nStrings.endMonthLabel":[{"type":0,"value":"結束月份"}],"i18nStrings.endDateLabel":[{"type":0,"value":"結束日期"}],"i18nStrings.endTimeLabel":[{"type":0,"value":"結束時間"}],"i18nStrings.datePlaceholder":[{"type":0,"value":"YYYY-MM-DD"}],"i18nStrings.isoDatePlaceholder":[{"type":0,"value":"YYYY-MM-DD"}],"i18nStrings.slashedDatePlaceholder":[{"type":0,"value":"YYYY/MM/DD"}],"i18nStrings.timePlaceholder":[{"type":0,"value":"hh:mm:ss"}],"i18nStrings.dateTimeConstraintText":[{"type":0,"value":"日期請使用 YYYY/MM/DD 格式。時間請使用 24 小時格式。"}],"i18nStrings.dateConstraintText":[{"type":0,"value":"對於日期,請使用 YYYY/MM/DD。"}],"i18nStrings.slashedDateTimeConstraintText":[{"type":0,"value":"日期請使用 YYYY/MM/DD 格式。時間請使用 24 小時格式。"}],"i18nStrings.isoDateTimeConstraintText":[{"type":0,"value":"日期請使用 YYYY-MM-DD 格式。時間請使用 24 小時格式。"}],"i18nStrings.slashedDateConstraintText":[{"type":0,"value":"日期請使用 YYYY/MM/DD 格式。"}],"i18nStrings.isoDateConstraintText":[{"type":0,"value":"日期請使用 YYYY-MM-DD 格式。"}],"i18nStrings.slashedMonthConstraintText":[{"type":0,"value":"月份請使用 YYYY/MM 格式。"}],"i18nStrings.isoMonthConstraintText":[{"type":0,"value":"月份請使用 YYYY-MM 格式。"}],"i18nStrings.monthConstraintText":[{"type":0,"value":"對於月份,請使用 YYYY/MM。"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.renderSelectedAbsoluteRangeAriaLive":[{"type":0,"value":"已選取從 "},{"type":1,"value":"startDate"},{"type":0,"value":" 到 "},{"type":1,"value":"endDate"},{"type":0,"value":" 的範圍"}],"i18nStrings.formatRelativeRange":[{"type":5,"value":"unit","options":{"second":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"秒"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"秒"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"秒"}]}},"offset":0,"pluralType":"cardinal"}]},"minute":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"分鐘"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"分鐘"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"分鐘"}]}},"offset":0,"pluralType":"cardinal"}]},"hour":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"小時"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"小時"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"小時"}]}},"offset":0,"pluralType":"cardinal"}]},"day":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"天"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"天"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"天"}]}},"offset":0,"pluralType":"cardinal"}]},"week":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"週"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"週"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"週"}]}},"offset":0,"pluralType":"cardinal"}]},"month":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"個月"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"個月"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"個月"}]}},"offset":0,"pluralType":"cardinal"}]},"year":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"年"}]},"one":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"年"}]},"other":{"value":[{"type":0,"value":"最後"},{"type":1,"value":"amount"},{"type":0,"value":"年"}]}},"offset":0,"pluralType":"cardinal"}]},"other":{"value":[]}}}],"i18nStrings.formatUnit":[{"type":5,"value":"unit","options":{"second":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"秒"}]},"one":{"value":[{"type":0,"value":"秒"}]},"other":{"value":[{"type":0,"value":"秒"}]}},"offset":0,"pluralType":"cardinal"}]},"minute":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"分鐘"}]},"one":{"value":[{"type":0,"value":"分鐘"}]},"other":{"value":[{"type":0,"value":"分鐘"}]}},"offset":0,"pluralType":"cardinal"}]},"hour":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"小時"}]},"one":{"value":[{"type":0,"value":"小時"}]},"other":{"value":[{"type":0,"value":"小時"}]}},"offset":0,"pluralType":"cardinal"}]},"day":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"天"}]},"one":{"value":[{"type":0,"value":"天"}]},"other":{"value":[{"type":0,"value":"天"}]}},"offset":0,"pluralType":"cardinal"}]},"week":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"週"}]},"one":{"value":[{"type":0,"value":"週"}]},"other":{"value":[{"type":0,"value":"週"}]}},"offset":0,"pluralType":"cardinal"}]},"month":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"個月"}]},"one":{"value":[{"type":0,"value":"個月"}]},"other":{"value":[{"type":0,"value":"個月"}]}},"offset":0,"pluralType":"cardinal"}]},"year":{"value":[{"type":6,"value":"amount","options":{"zero":{"value":[{"type":0,"value":"年"}]},"one":{"value":[{"type":0,"value":"年"}]},"other":{"value":[{"type":0,"value":"年"}]}},"offset":0,"pluralType":"cardinal"}]},"other":{"value":[]}}}]},"drawer":{"i18nStrings.loadingText":[{"type":0,"value":"載入內容"}]},"error-boundary":{"i18nStrings.headerText":[{"type":0,"value":"意外錯誤,內容無法顯示"}],"i18nStrings.descriptionText":[{"type":5,"value":"hasFeedback","options":{"true":{"value":[{"type":0,"value":"重新整理以再試一次。我們正在追蹤此問題,但您可以在此處分享"},{"type":8,"value":"Feedback","children":[{"type":0,"value":"更多資訊"}]},{"type":0,"value":"。"}]},"other":{"value":[{"type":0,"value":"重新整理以再試一次。"}]}}}],"i18nStrings.refreshActionText":[{"type":0,"value":"重新整理頁面"}]},"features-notification-drawer":{"i18nStrings.title":[{"type":0,"value":"最新功能發布"}],"i18nStrings.viewAll":[{"type":0,"value":"檢視所有功能發布"}],"ariaLabels.closeButton":[{"type":0,"value":"關閉通知"}],"ariaLabels.content":[{"type":0,"value":"功能通知"}],"ariaLabels.triggerButton":[{"type":0,"value":"顯示功能通知"}],"ariaLabels.resizeHandle":[{"type":0,"value":"調整功能通知的大小"}]},"file-token-group":{"i18nStrings.limitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.limitShowMore":[{"type":0,"value":"顯示更多"}],"i18nStrings.removeFileAriaLabel":[{"type":0,"value":"移除檔案 "},{"type":1,"value":"fileIndex"},{"type":0,"value":","},{"type":1,"value":"fileName"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}]},"file-upload":{"i18nStrings.limitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.limitShowMore":[{"type":0,"value":"顯示更多"}],"i18nStrings.removeFileAriaLabel":[{"type":0,"value":"移除檔案 "},{"type":1,"value":"fileIndex"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}],"i18nStrings.uploadButtonText":[{"type":5,"value":"multiple","options":{"true":{"value":[{"type":0,"value":"選擇檔案"}]},"false":{"value":[{"type":0,"value":"選擇檔案"}]},"other":{"value":[]}}}],"i18nStrings.dropzoneText":[{"type":5,"value":"multiple","options":{"true":{"value":[{"type":0,"value":"拖曳檔案以上傳"}]},"false":{"value":[{"type":0,"value":"拖曳檔案以上傳"}]},"other":{"value":[]}}}]},"flashbar":{"i18nStrings.ariaLabel":[{"type":0,"value":"通知"}],"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.inProgressIconAriaLabel":[{"type":0,"value":"進行中"}],"i18nStrings.infoIconAriaLabel":[{"type":0,"value":"資訊"}],"i18nStrings.notificationBarAriaLabel":[{"type":0,"value":"所有通知"}],"i18nStrings.notificationBarText":[{"type":0,"value":"通知"}],"i18nStrings.successIconAriaLabel":[{"type":0,"value":"成功"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}]},"form-field":{"i18nStrings.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.warningIconAriaLabel":[{"type":0,"value":"警告"}]},"form":{"errorIconAriaLabel":[{"type":0,"value":"錯誤"}]},"help-panel":{"loadingText":[{"type":0,"value":"載入內容"}]},"input":{"clearAriaLabel":[{"type":0,"value":"清除"}]},"link":{"externalIconAriaLabel":[{"type":0,"value":"在新索引標籤中開啟"}]},"list":{"dragHandleAriaLabel":[{"type":0,"value":"拖曳控點"}],"dragHandleAriaDescription":[{"type":0,"value":"使用空白鍵或 ENTER 鍵啟用項目拖曳功能,然後使用方向鍵移動項目的位置。若要完成位置移動,請使用空白鍵或 ENTER 鍵,或者若要捨棄移動,請使用 ESC 鍵。"}],"liveAnnouncementDndStarted":[{"type":0,"value":"在 "},{"type":1,"value":"position"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置) 拾取了項目"}],"liveAnnouncementDndDiscarded":[{"type":0,"value":"重新排序已取消"}],"liveAnnouncementDndItemReordered":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"將項目移回 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"將項目移到 "},{"type":1,"value":"currentPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}],"liveAnnouncementDndItemCommitted":[{"type":5,"value":"isInitialPosition","options":{"true":{"value":[{"type":0,"value":"項目移回原來的 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"false":{"value":[{"type":0,"value":"項目已從 "},{"type":1,"value":"initialPosition"},{"type":0,"value":" 位置移到 "},{"type":1,"value":"finalPosition"},{"type":0,"value":" 位置 (共 "},{"type":1,"value":"total"},{"type":0,"value":" 個位置)"}]},"other":{"value":[]}}}]},"modal":{"closeAriaLabel":[{"type":0,"value":"關閉強制回應"}]},"multiselect":{"deselectAriaLabel":[{"type":0,"value":"移除 "},{"type":1,"value":"option__label"}],"i18nStrings.selectAllText":[{"type":0,"value":"選取全部"}]},"pagination":{"ariaLabels.nextPageLabel":[{"type":0,"value":"下一頁"}],"ariaLabels.pageLabel":[{"type":0,"value":"所有頁面中的第 "},{"type":1,"value":"pageNumber"},{"type":0,"value":" 頁"}],"ariaLabels.previousPageLabel":[{"type":0,"value":"上一頁"}],"ariaLabels.jumpToPageButtonLabel":[{"type":0,"value":"跳到頁面"}],"i18nStrings.jumpToPageInputLabel":[{"type":0,"value":"頁面"}],"i18nStrings.jumpToPageError":[{"type":0,"value":"頁面超出範圍。顯示最後一個可用頁面。"}],"i18nStrings.jumpToPageLoadingText":[{"type":0,"value":"正在載入"}]},"panel-resize-handle":{"i18nStrings.resizeHandleAriaLabel":[{"type":0,"value":"面板調整大小控點"}],"i18nStrings.resizeHandleTooltipText":[{"type":0,"value":"拖曳或選取以調整大小"}]},"pie-chart":{"i18nStrings.detailsValue":[{"type":0,"value":"值"}],"i18nStrings.detailsPercentage":[{"type":0,"value":"百分比"}],"i18nStrings.chartAriaRoleDescription":[{"type":0,"value":"圓餅圖"}],"i18nStrings.segmentAriaRoleDescription":[{"type":0,"value":"區段"}]},"popover":{"dismissAriaLabel":[{"type":0,"value":"關閉彈出視窗"}]},"prompt-input":{"i18nStrings.actionButtonAriaLabel":[{"type":0,"value":"提交提示"}],"i18nStrings.menuErrorIconAriaLabel":[{"type":0,"value":"錯誤"}],"i18nStrings.menuRecoveryText":[{"type":0,"value":"重試"}],"i18nStrings.menuLoadingText":[{"type":0,"value":"正在載入項目"}],"i18nStrings.menuFinishedText":[{"type":0,"value":"結果結束"}],"i18nStrings.menuErrorText":[{"type":0,"value":"擷取項目時發生錯誤"}],"i18nStrings.selectedMenuItemAriaLabel":[{"type":0,"value":"已選取"}],"i18nStrings.tokenInsertedAriaLabel":[{"type":1,"value":"token__label"},{"type":0,"value":" 已插入"}],"i18nStrings.tokenPinnedAriaLabel":[{"type":1,"value":"token__label"},{"type":0,"value":" 已固定"}],"i18nStrings.tokenRemovedAriaLabel":[{"type":1,"value":"token__label"},{"type":0,"value":" 已移除"}]},"property-filter":{"i18nStrings.allPropertiesLabel":[{"type":0,"value":"所有屬性"}],"i18nStrings.applyActionText":[{"type":0,"value":"套用"}],"i18nStrings.cancelActionText":[{"type":0,"value":"取消"}],"i18nStrings.clearFiltersText":[{"type":0,"value":"清除篩選條件"}],"i18nStrings.editTokenHeader":[{"type":0,"value":"編輯篩選條件"}],"i18nStrings.groupPropertiesText":[{"type":0,"value":"屬性"}],"i18nStrings.groupValuesText":[{"type":0,"value":"值"}],"i18nStrings.operationAndText":[{"type":0,"value":"和"}],"i18nStrings.operationOrText":[{"type":0,"value":"或"}],"i18nStrings.operatorContainsText":[{"type":0,"value":"包含"}],"i18nStrings.operatorDoesNotContainText":[{"type":0,"value":"不包含"}],"i18nStrings.operatorDoesNotEqualText":[{"type":0,"value":"不等於"}],"i18nStrings.operatorEqualsText":[{"type":0,"value":"等於"}],"i18nStrings.operatorGreaterOrEqualText":[{"type":0,"value":"大於或等於"}],"i18nStrings.operatorGreaterText":[{"type":0,"value":"大於"}],"i18nStrings.operatorLessOrEqualText":[{"type":0,"value":"小於或等於"}],"i18nStrings.operatorLessText":[{"type":0,"value":"小於"}],"i18nStrings.operatorStartsWithText":[{"type":0,"value":"開始為"}],"i18nStrings.operatorDoesNotStartWithText":[{"type":0,"value":"開頭不能為"}],"i18nStrings.operatorText":[{"type":0,"value":"運算子"}],"i18nStrings.operatorsText":[{"type":0,"value":"運算子"}],"i18nStrings.propertyText":[{"type":0,"value":"屬性"}],"i18nStrings.removeTokenButtonAriaLabel":[{"type":0,"value":"移除篩選條件,"},{"type":1,"value":"token__formattedText"}],"i18nStrings.tokenEditorTokenActionsAriaLabel":[{"type":0,"value":"篩選動作,"},{"type":1,"value":"token__formattedText"}],"i18nStrings.tokenEditorTokenRemoveAriaLabel":[{"type":0,"value":"移除篩選條件,"},{"type":1,"value":"token__formattedText"}],"i18nStrings.tokenEditorTokenRemoveLabel":[{"type":0,"value":"移除篩選條件"}],"i18nStrings.tokenEditorTokenRemoveFromGroupLabel":[{"type":0,"value":"從群組中移除篩選條件"}],"i18nStrings.tokenEditorAddTokenActionsAriaLabel":[{"type":0,"value":"新增篩選動作"}],"i18nStrings.tokenEditorAddNewTokenLabel":[{"type":0,"value":"新增新的篩選條件"}],"i18nStrings.tokenEditorAddExistingTokenAriaLabel":[{"type":0,"value":"新增篩選條件 "},{"type":1,"value":"token__formattedText"},{"type":0,"value":" 至群組"}],"i18nStrings.tokenEditorAddExistingTokenLabel":[{"type":0,"value":"新增篩選條件 "},{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" "},{"type":1,"value":"token__operator"},{"type":0,"value":" "},{"type":1,"value":"token__value"},{"type":0,"value":" 至群組"}],"i18nStrings.tokenLimitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.tokenLimitShowMore":[{"type":0,"value":"顯示更多"}],"i18nStrings.valueText":[{"type":0,"value":"值"}],"i18nStrings.formatToken":[{"type":5,"value":"token__operator","options":{"equals":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 等於 "},{"type":1,"value":"token__value"}]},"not_equals":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 不等於 "},{"type":1,"value":"token__value"}]},"greater_than":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 大於 "},{"type":1,"value":"token__value"}]},"greater_than_equal":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 大於或等於 "},{"type":1,"value":"token__value"}]},"less_than":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 小於 "},{"type":1,"value":"token__value"}]},"less_than_equal":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 小於或等於 "},{"type":1,"value":"token__value"}]},"contains":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 包含 "},{"type":1,"value":"token__value"}]},"not_contains":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 不包含 "},{"type":1,"value":"token__value"}]},"starts_with":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 開頭為 "},{"type":1,"value":"token__value"}]},"not_starts_with":{"value":[{"type":1,"value":"token__propertyLabel"},{"type":0,"value":" 開頭不能為 "},{"type":1,"value":"token__value"}]},"other":{"value":[]}}}],"i18nStrings.groupEditAriaLabel":[{"type":5,"value":"group__formattedTokens__length","options":{"2":{"value":[{"type":0,"value":"編輯篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"}]},"3":{"value":[{"type":0,"value":"編輯篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"}]},"4":{"value":[{"type":0,"value":"編輯篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens3__formattedText"}]},"5":{"value":[{"type":0,"value":"再編輯 1 個篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens3__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"}]},"other":{"value":[{"type":0,"value":"編輯更多篩選群組 "},{"type":1,"value":"group__formattedTokens0__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens1__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens2__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"},{"type":0,"value":" "},{"type":1,"value":"group__formattedTokens3__formattedText"},{"type":0,"value":" "},{"type":1,"value":"group__operationLabel"}]}}}]},"s3-resource-selector":{"i18nStrings.inContextSelectPlaceholder":[{"type":0,"value":"選擇一個版本"}],"i18nStrings.inContextBrowseButton":[{"type":0,"value":"瀏覽 S3"}],"i18nStrings.inContextViewButton":[{"type":0,"value":"檢視"}],"i18nStrings.inContextViewButtonAriaLabel":[{"type":0,"value":"檢視 (在新索引標籤中開啟)"}],"i18nStrings.inContextLoadingText":[{"type":0,"value":"正在載入資源"}],"i18nStrings.inContextUriLabel":[{"type":0,"value":"S3 URI"}],"i18nStrings.inContextVersionSelectLabel":[{"type":0,"value":"選取版本"}],"i18nStrings.modalTitle":[{"type":0,"value":"在 S3 中選擇一個對象"}],"i18nStrings.modalCancelButton":[{"type":0,"value":"取消"}],"i18nStrings.modalSubmitButton":[{"type":0,"value":"選擇"}],"i18nStrings.modalBreadcrumbRootItem":[{"type":0,"value":"S3 儲存貯體"}],"i18nStrings.modalLastUpdatedText":[{"type":0,"value":"最後更新"}],"i18nStrings.selectionBuckets":[{"type":0,"value":"儲存貯體"}],"i18nStrings.selectionObjects":[{"type":0,"value":"物件"}],"i18nStrings.selectionVersions":[{"type":0,"value":"版本"}],"i18nStrings.selectionBucketsSearchPlaceholder":[{"type":0,"value":"尋找儲存貯體"}],"i18nStrings.selectionObjectsSearchPlaceholder":[{"type":0,"value":"按前綴查找物件"}],"i18nStrings.selectionVersionsSearchPlaceholder":[{"type":0,"value":"尋找版本"}],"i18nStrings.selectionBucketsLoading":[{"type":0,"value":"裝載儲存貯體"}],"i18nStrings.selectionBucketsNoItems":[{"type":0,"value":"沒有儲存貯體"}],"i18nStrings.selectionObjectsLoading":[{"type":0,"value":"載入物件"}],"i18nStrings.selectionObjectsNoItems":[{"type":0,"value":"沒有物件"}],"i18nStrings.selectionVersionsLoading":[{"type":0,"value":"載入版本"}],"i18nStrings.selectionVersionsNoItems":[{"type":0,"value":"沒有版本"}],"i18nStrings.filteringNoMatches":[{"type":0,"value":"無相符項目"}],"i18nStrings.filteringCantFindMatch":[{"type":0,"value":"找不到相符項目"}],"i18nStrings.clearFilterButtonText":[{"type":0,"value":"清除篩選條件"}],"i18nStrings.columnBucketID":[{"type":0,"value":"ID"}],"i18nStrings.columnBucketName":[{"type":0,"value":"名稱"}],"i18nStrings.columnBucketCreationDate":[{"type":0,"value":"建立日期"}],"i18nStrings.columnBucketRegion":[{"type":0,"value":"區域"}],"i18nStrings.columnObjectKey":[{"type":0,"value":"索引鍵"}],"i18nStrings.columnObjectLastModified":[{"type":0,"value":"上次修改"}],"i18nStrings.columnObjectSize":[{"type":0,"value":"尺寸"}],"i18nStrings.columnVersionID":[{"type":0,"value":"版本 ID"}],"i18nStrings.columnVersionLastModified":[{"type":0,"value":"上次修改"}],"i18nStrings.columnVersionSize":[{"type":0,"value":"尺寸"}],"i18nStrings.validationPathMustBegin":[{"type":0,"value":"路徑必須以 s3:// 開頭才有效。"}],"i18nStrings.validationBucketLowerCase":[{"type":0,"value":"儲存貯體名稱必須以小寫字元或數字開頭。"}],"i18nStrings.validationBucketMustNotContain":[{"type":0,"value":"儲存貯體名稱不得包含大寫字元。"}],"i18nStrings.validationBucketLength":[{"type":0,"value":"儲存貯體名稱必須介於 3 到 63 個字元之間。"}],"i18nStrings.validationBucketMustComplyDns":[{"type":0,"value":"儲存貯體名稱必須符合 DNS 命名慣例。"}],"i18nStrings.labelSortedDescending":[{"type":1,"value":"columnName"},{"type":0,"value":",遞減排序"}],"i18nStrings.labelSortedAscending":[{"type":1,"value":"columnName"},{"type":0,"value":",升序排序"}],"i18nStrings.labelNotSorted":[{"type":1,"value":"columnName"},{"type":0,"value":",未排序"}],"i18nStrings.labelsBucketsSelection.selectionGroupLabel":[{"type":0,"value":"儲存貯體"}],"i18nStrings.labelsBucketsSelection.itemSelectionLabel":[{"type":1,"value":"item__Name"}],"i18nStrings.labelsObjectsSelection.selectionGroupLabel":[{"type":0,"value":"物件"}],"i18nStrings.labelsObjectsSelection.itemSelectionLabel":[{"type":1,"value":"item__Key"}],"i18nStrings.labelsVersionsSelection.selectionGroupLabel":[{"type":0,"value":"版本"}],"i18nStrings.labelsVersionsSelection.itemSelectionLabel":[{"type":1,"value":"item__VersionId"}],"i18nStrings.labelFiltering":[{"type":0,"value":"尋找 "},{"type":1,"value":"itemsType"}],"i18nStrings.labelRefresh":[{"type":0,"value":"重新整理資料"}],"i18nStrings.labelBreadcrumbs":[{"type":0,"value":"S3 頁面導覽路徑"}],"i18nStrings.labelIconFolder":[{"type":0,"value":"資料夾"}],"i18nStrings.labelIconObject":[{"type":0,"value":"物件"}],"i18nStrings.filteringCounterText":[{"type":6,"value":"count","options":{"one":{"value":[{"type":0,"value":"1 個符合"}]},"other":{"value":[{"type":1,"value":"count"},{"type":0,"value":" 個符合"}]}},"offset":0,"pluralType":"cardinal"}]},"select":{"errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"selectedAriaLabel":[{"type":0,"value":"已選取"}],"recoveryText":[{"type":0,"value":"重試"}]},"slider":{"i18nStrings.valueTextRange":[{"type":1,"value":"value"},{"type":0,"value":",介於 "},{"type":1,"value":"previousValue"},{"type":0,"value":" 和 "},{"type":1,"value":"nextValue"},{"type":0,"value":" 之間"}]},"split-panel":{"i18nStrings.closeButtonAriaLabel":[{"type":0,"value":"關閉面板"}],"i18nStrings.openButtonAriaLabel":[{"type":0,"value":"打開面板"}],"i18nStrings.preferencesTitle":[{"type":0,"value":"分割面板偏好"}],"i18nStrings.preferencesPositionLabel":[{"type":0,"value":"分割面板位置"}],"i18nStrings.preferencesPositionDescription":[{"type":0,"value":"選擇服務的預設分割面板位置。"}],"i18nStrings.preferencesPositionSide":[{"type":0,"value":"側邊"}],"i18nStrings.preferencesPositionBottom":[{"type":0,"value":"底部"}],"i18nStrings.preferencesConfirm":[{"type":0,"value":"確認"}],"i18nStrings.preferencesCancel":[{"type":0,"value":"取消"}],"i18nStrings.resizeHandleAriaLabel":[{"type":0,"value":"調整分割面板大小"}],"i18nStrings.resizeHandleTooltipText":[{"type":0,"value":"拖曳或選取以調整大小"}]},"table":{"ariaLabels.resizerRoleDescription":[{"type":0,"value":"調整按鈕大小"}],"ariaLabels.submittingEditText":[{"type":0,"value":"提交編輯"}],"ariaLabels.successfulEditLabel":[{"type":0,"value":"編輯成功"}],"ariaLabels.expandButtonLabel":[{"type":0,"value":"展開"}],"ariaLabels.collapseButtonLabel":[{"type":0,"value":"摺疊"}],"columnDefinitions.editConfig.errorIconAriaLabel":[{"type":0,"value":"錯誤"}],"columnDefinitions.editConfig.editIconAriaLabel":[{"type":0,"value":"可編輯"}]},"tabs":{"i18nStrings.scrollLeftAriaLabel":[{"type":0,"value":"向左捲動"}],"i18nStrings.scrollRightAriaLabel":[{"type":0,"value":"向右捲動"}],"i18nStrings.tabsWithActionsAriaRoleDescription":[{"type":0,"value":"具有動作的標籤"}]},"tag-editor":{"i18nStrings.keyPlaceholder":[{"type":0,"value":"輸入索引鍵"}],"i18nStrings.valuePlaceholder":[{"type":0,"value":"輸入值"}],"i18nStrings.addButton":[{"type":0,"value":"新增標籤"}],"i18nStrings.removeButton":[{"type":0,"value":"移除"}],"i18nStrings.removeButtonAriaLabel":[{"type":0,"value":"移除 "},{"type":1,"value":"tag__key"}],"i18nStrings.undoButton":[{"type":0,"value":"復原"}],"i18nStrings.undoPrompt":[{"type":0,"value":"此標籤會在儲存變更時移除"}],"i18nStrings.loading":[{"type":0,"value":"正在載入與此資源相關聯的標籤"}],"i18nStrings.keyHeader":[{"type":0,"value":"索引鍵"}],"i18nStrings.valueHeader":[{"type":0,"value":"值"}],"i18nStrings.optional":[{"type":0,"value":"選用"}],"i18nStrings.keySuggestion":[{"type":0,"value":"自訂標籤索引鍵"}],"i18nStrings.valueSuggestion":[{"type":0,"value":"自訂標籤值"}],"i18nStrings.emptyTags":[{"type":0,"value":"沒有與資源相關聯的標籤。"}],"i18nStrings.tooManyKeysSuggestion":[{"type":0,"value":"您的索引鍵數目超過可顯示的數目"}],"i18nStrings.tooManyValuesSuggestion":[{"type":0,"value":"您的值數目超過可顯示的數目"}],"i18nStrings.keysSuggestionLoading":[{"type":0,"value":"正在載入標籤索引鍵"}],"i18nStrings.keysSuggestionError":[{"type":0,"value":"無法擷取標籤索引鍵"}],"i18nStrings.valuesSuggestionLoading":[{"type":0,"value":"正在載入標籤值"}],"i18nStrings.valuesSuggestionError":[{"type":0,"value":"無法擷取標籤值"}],"i18nStrings.emptyKeyError":[{"type":0,"value":"您必須指定標籤索引鍵"}],"i18nStrings.maxKeyCharLengthError":[{"type":0,"value":"標籤索引鍵中可使用的字元數上限為 128 個字元。"}],"i18nStrings.maxValueCharLengthError":[{"type":0,"value":"標籤值中可使用的字元數上限為 256 個字元。"}],"i18nStrings.duplicateKeyError":[{"type":0,"value":"您必須指定唯一的標籤索引鍵。"}],"i18nStrings.invalidKeyError":[{"type":0,"value":"無效的金鑰。金鑰只能包含 Unicode 字母、數字、空格和下列符號︰ _.:/=+@–"}],"i18nStrings.invalidValueError":[{"type":0,"value":"無效的值。值只能包含 Unicode 字母、數字、空格和下列符號︰_.:/=+@ –"}],"i18nStrings.awsPrefixError":[{"type":0,"value":"開頭不能為 aws:"}],"i18nStrings.tagLimitReached":[{"type":6,"value":"tagLimit","options":{"one":{"value":[{"type":0,"value":"您已達到 1 個標籤的上限。"}]},"other":{"value":[{"type":0,"value":"您已達到 "},{"type":1,"value":"tagLimit"},{"type":0,"value":" 個標籤的上限。"}]}},"offset":0,"pluralType":"cardinal"}],"i18nStrings.tagLimitExceeded":[{"type":6,"value":"tagLimit","options":{"one":{"value":[{"type":0,"value":"您已超過 1 個標籤的上限。"}]},"other":{"value":[{"type":0,"value":"您已超過 "},{"type":1,"value":"tagLimit"},{"type":0,"value":" 個標籤的上限。"}]}},"offset":0,"pluralType":"cardinal"}],"i18nStrings.tagLimit":[{"type":5,"value":"tagLimitAvailable","options":{"true":{"value":[{"type":6,"value":"availableTags","options":{"other":{"value":[{"type":0,"value":"您最多可以新增 "},{"type":1,"value":"tagLimit"},{"type":0,"value":" 個標籤。"}]}},"offset":0,"pluralType":"cardinal"}]},"false":{"value":[{"type":6,"value":"availableTags","options":{"one":{"value":[{"type":0,"value":"您最多可以再新增 1 個標籤。"}]},"other":{"value":[{"type":0,"value":"您最多可以再新增 "},{"type":1,"value":"availableTags"},{"type":0,"value":" 個標籤。"}]}},"offset":0,"pluralType":"cardinal"}]},"other":{"value":[]}}}]},"token-group":{"i18nStrings.limitShowFewer":[{"type":0,"value":"顯示較少"}],"i18nStrings.limitShowMore":[{"type":0,"value":"顯示更多"}]},"top-navigation":{"i18nStrings.searchIconAriaLabel":[{"type":0,"value":"搜尋"}],"i18nStrings.searchDismissIconAriaLabel":[{"type":0,"value":"關閉搜尋"}],"i18nStrings.overflowMenuTriggerText":[{"type":0,"value":"更多"}],"i18nStrings.overflowMenuDismissIconAriaLabel":[{"type":0,"value":"關閉選單"}],"i18nStrings.overflowMenuBackIconAriaLabel":[{"type":0,"value":"返回"}],"i18nStrings.overflowMenuTitleText":[{"type":0,"value":"全部"}]},"tree-view":{"i18nStrings.expandButtonLabel":[{"type":0,"value":"展開"}],"i18nStrings.collapseButtonLabel":[{"type":0,"value":"收合"}]},"tutorial-panel":{"i18nStrings.loadingText":[{"type":0,"value":"正在載入"}],"i18nStrings.tutorialListTitle":[{"type":0,"value":"選擇教學"}],"i18nStrings.tutorialListDownloadLinkText":[{"type":0,"value":"下載 PDF 版本"}],"i18nStrings.labelTutorialListDownloadLink":[{"type":0,"value":"下載本教學課程的 PDF 版本"}],"i18nStrings.tutorialCompletedText":[{"type":0,"value":"教學已完成"}],"i18nStrings.learnMoreLinkText":[{"type":0,"value":"進一步了解"}],"i18nStrings.startTutorialButtonText":[{"type":0,"value":"開始教學"}],"i18nStrings.restartTutorialButtonText":[{"type":0,"value":"重新啟動教學課程"}],"i18nStrings.completionScreenTitle":[{"type":0,"value":"恭喜!您已完成了教學課程。"}],"i18nStrings.feedbackLinkText":[{"type":0,"value":"意見回饋"}],"i18nStrings.dismissTutorialButtonText":[{"type":0,"value":"結束教學"}],"i18nStrings.taskTitle":[{"type":0,"value":"任務 "},{"type":1,"value":"taskNumber"},{"type":0,"value":":"},{"type":1,"value":"taskTitle"}],"i18nStrings.stepTitle":[{"type":0,"value":"步驟"},{"type":1,"value":"stepNumber"},{"type":0,"value":"︰"},{"type":1,"value":"stepTitle"}],"i18nStrings.labelExitTutorial":[{"type":0,"value":"結束教學"}],"i18nStrings.labelTotalSteps":[{"type":0,"value":"總步驟︰"},{"type":1,"value":"totalStepCount"}],"i18nStrings.labelsTaskStatus.pending":[{"type":0,"value":"等待中"}],"i18nStrings.labelsTaskStatus.in-progress":[{"type":0,"value":"進行中"}],"i18nStrings.labelsTaskStatus.success":[{"type":0,"value":"成功"}]},"wizard":{"i18nStrings.stepNumberLabel":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"}],"i18nStrings.collapsedStepsLabel":[{"type":0,"value":"步驟 "},{"type":1,"value":"stepNumber"},{"type":0,"value":",共 "},{"type":1,"value":"stepsCount"},{"type":0,"value":" 步"}],"i18nStrings.skipToButtonLabel":[{"type":0,"value":"跳到 "},{"type":1,"value":"task__title"}],"i18nStrings.navigationAriaLabel":[{"type":0,"value":"步驟"}],"i18nStrings.cancelButton":[{"type":0,"value":"取消"}],"i18nStrings.previousButton":[{"type":0,"value":"上一步"}],"i18nStrings.nextButton":[{"type":0,"value":"下一步"}],"i18nStrings.optional":[{"type":0,"value":"選用"}],"i18nStrings.nextButtonLoadingAnnouncement":[{"type":0,"value":"載入下一個步驟"}],"i18nStrings.submitButtonLoadingAnnouncement":[{"type":0,"value":"提交表單"}]}}}}
@@ -79,5 +79,5 @@ export interface IconProps extends BaseComponentProps {
79
79
  export declare namespace IconProps {
80
80
  type Name = BuiltInIconName | IconRegistryIconName;
81
81
  type Variant = 'normal' | 'disabled' | 'error' | 'inverted' | 'link' | 'subtle' | 'success' | 'warning';
82
- type Size = 'x-small' | 'small' | 'normal' | 'medium' | 'big' | 'large' | 'inherit';
82
+ type Size = 'small' | 'normal' | 'medium' | 'big' | 'large' | 'inherit';
83
83
  }
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/icon/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,MAAM,WAAW,SAAU,SAAQ,kBAAkB;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC;IAEtB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC;IAE5B;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEtB;;;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C,EAAE,gBAAgB,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;CACxE;AAED,yBAAiB,SAAS,CAAC;IACzB,KAAY,IAAI,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAE1D,KAAY,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAE/G,KAAY,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;CAChF"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/icon/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BuiltInIconName, IconRegistryIconName } from '../icon-provider/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface IconProps extends BaseComponentProps {\n /**\n * Specifies the icon to be displayed.\n */\n name?: IconProps.Name;\n\n /**\n * Specifies the size of the icon.\n *\n * If you set size to `inherit`, an icon size will be assigned based on the icon's inherited line height.\n * For icons used alongside text, ensure the icon is placed inside the acompanying text tag.\n * The icon will be vertically centered based on the height.\n *\n * @visualrefresh `medium` size\n */\n size?: IconProps.Size;\n\n /**\n * Specifies the color variant of the icon. The `normal` variant picks up the current color of its context.\n */\n variant?: IconProps.Variant;\n\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available, and your custom icon cannot be an SVG.\n * For SVG icons, use the `svg` slot instead.\n *\n * If you set both `url` and `svg`, `svg` will take precedence.\n */\n url?: string;\n\n /**\n * Specifies alternate text for a custom icon (using the `url` attribute).\n * This property is ignored if you use a predefined icon or if you set your custom icon using the `svg` slot.\n *\n * @deprecated Use `ariaLabel` instead.\n */\n alt?: string;\n\n /**\n * Specifies alternate text for the icon. We recommend that you provide this for accessibility.\n */\n ariaLabel?: string;\n\n /**\n * Specifies the SVG of a custom icon.\n *\n * Use this property if the icon you want isn't available, and you want your custom icon to inherit colors dictated by variant or hover states.\n * When this property is set, the component will be decorated with `aria-hidden=\"true\"`. Ensure that the `svg` element:\n * - has attribute `focusable=\"false\"`.\n * - has `viewBox=\"0 0 16 16\"`.\n *\n * If you set the `svg` element as the root node of the slot, the component will automatically\n * - set `stroke=\"currentColor\"`, `fill=\"none\"`, and `vertical-align=\"top\"`.\n * - set the stroke width based on the size of the icon.\n * - set the width and height of the SVG element based on the size of the icon.\n *\n * If you don't want these styles to be automatically set, wrap the `svg` element into a `span` and ensure icon `size` is not set to `inherit`.\n * You can still set the stroke to `currentColor` to inherit the color of the surrounding elements.\n *\n * If you set both `url` and `svg`, `svg` will take precedence.\n *\n * *Note:* Remember to remove any additional elements (for example: `defs`) and related CSS classes from SVG files exported from design software.\n * In most cases, they aren't needed, as the `svg` element inherits styles from the icon component.\n */\n svg?: React.ReactNode;\n\n /**\n * Attributes to add to the native element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeAttributes?: NativeAttributes<React.HTMLAttributes<HTMLElement>>;\n}\n\nexport namespace IconProps {\n export type Name = BuiltInIconName | IconRegistryIconName;\n\n export type Variant = 'normal' | 'disabled' | 'error' | 'inverted' | 'link' | 'subtle' | 'success' | 'warning';\n\n export type Size = 'x-small' | 'small' | 'normal' | 'medium' | 'big' | 'large' | 'inherit';\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/icon/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BuiltInIconName, IconRegistryIconName } from '../icon-provider/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n/**\n * @awsuiSystem core\n */\nimport { NativeAttributes } from '../internal/utils/with-native-attributes';\n\nexport interface IconProps extends BaseComponentProps {\n /**\n * Specifies the icon to be displayed.\n */\n name?: IconProps.Name;\n\n /**\n * Specifies the size of the icon.\n *\n * If you set size to `inherit`, an icon size will be assigned based on the icon's inherited line height.\n * For icons used alongside text, ensure the icon is placed inside the acompanying text tag.\n * The icon will be vertically centered based on the height.\n *\n * @visualrefresh `medium` size\n */\n size?: IconProps.Size;\n\n /**\n * Specifies the color variant of the icon. The `normal` variant picks up the current color of its context.\n */\n variant?: IconProps.Variant;\n\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available, and your custom icon cannot be an SVG.\n * For SVG icons, use the `svg` slot instead.\n *\n * If you set both `url` and `svg`, `svg` will take precedence.\n */\n url?: string;\n\n /**\n * Specifies alternate text for a custom icon (using the `url` attribute).\n * This property is ignored if you use a predefined icon or if you set your custom icon using the `svg` slot.\n *\n * @deprecated Use `ariaLabel` instead.\n */\n alt?: string;\n\n /**\n * Specifies alternate text for the icon. We recommend that you provide this for accessibility.\n */\n ariaLabel?: string;\n\n /**\n * Specifies the SVG of a custom icon.\n *\n * Use this property if the icon you want isn't available, and you want your custom icon to inherit colors dictated by variant or hover states.\n * When this property is set, the component will be decorated with `aria-hidden=\"true\"`. Ensure that the `svg` element:\n * - has attribute `focusable=\"false\"`.\n * - has `viewBox=\"0 0 16 16\"`.\n *\n * If you set the `svg` element as the root node of the slot, the component will automatically\n * - set `stroke=\"currentColor\"`, `fill=\"none\"`, and `vertical-align=\"top\"`.\n * - set the stroke width based on the size of the icon.\n * - set the width and height of the SVG element based on the size of the icon.\n *\n * If you don't want these styles to be automatically set, wrap the `svg` element into a `span` and ensure icon `size` is not set to `inherit`.\n * You can still set the stroke to `currentColor` to inherit the color of the surrounding elements.\n *\n * If you set both `url` and `svg`, `svg` will take precedence.\n *\n * *Note:* Remember to remove any additional elements (for example: `defs`) and related CSS classes from SVG files exported from design software.\n * In most cases, they aren't needed, as the `svg` element inherits styles from the icon component.\n */\n svg?: React.ReactNode;\n\n /**\n * Attributes to add to the native element.\n * Some attributes will be automatically combined with internal attribute values:\n * - `className` will be appended.\n * - Event handlers will be chained, unless the default is prevented.\n *\n * We do not support using this attribute to apply custom styling.\n *\n * @awsuiSystem core\n */\n nativeAttributes?: NativeAttributes<React.HTMLAttributes<HTMLElement>>;\n}\n\nexport namespace IconProps {\n export type Name = BuiltInIconName | IconRegistryIconName;\n\n export type Variant = 'normal' | 'disabled' | 'error' | 'inverted' | 'link' | 'subtle' | 'success' | 'warning';\n\n export type Size = 'small' | 'normal' | 'medium' | 'big' | 'large' | 'inherit';\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/icon/internal.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,KAAK,iBAAiB,GAAG,SAAS,GAChC,0BAA0B,GAAG;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAsGJ,QAAA,MAAM,YAAY,GAAI,yGAYnB,iBAAiB,gBAyJnB,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAC7B,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/icon/internal.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,KAAK,iBAAiB,GAAG,SAAS,GAChC,0BAA0B,GAAG;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAuBJ,QAAA,MAAM,YAAY,GAAI,yGAYnB,iBAAiB,gBA6HnB,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAC7B,eAAe,YAAY,CAAC"}
package/icon/internal.js CHANGED
@@ -5,67 +5,9 @@ import clsx from 'clsx';
5
5
  import { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';
6
6
  import { InternalIconContext } from '../icon-provider/context';
7
7
  import { getBaseProps } from '../internal/base-component';
8
- import customCSSPropertiesMap from '../internal/generated/custom-css-properties';
9
8
  import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
10
9
  import WithNativeAttributes from '../internal/utils/with-native-attributes';
11
10
  import styles from './styles.css.js';
12
- /**
13
- * Base pixel sizes for each named icon size variant.
14
- * Used to compute the stroke-width scale factor when a pixel override is provided.
15
- * These must match the CSS `inline-size` values from the SCSS $_icon-sizes map
16
- * (i.e. the actual rendered size of the SVG element without any override).
17
- * Note: "small" uses $size-icon-normal (16px), same as "normal".
18
- */
19
- const BASE_SIZE_PX = {
20
- 'x-small': 12,
21
- small: 16,
22
- normal: 16,
23
- medium: 20,
24
- big: 32,
25
- large: 48,
26
- };
27
- /**
28
- * CSS scale factors for each icon size variant.
29
- * These match the scaleFactor values in mixins.scss and represent how much
30
- * the SVG viewBox is scaled up relative to the base 16×16 coordinate system.
31
- * The stroke-width must be divided by this factor to render at the intended visual size.
32
- */
33
- const SCALE_FACTOR = {
34
- 'x-small': 0.75,
35
- small: 1,
36
- normal: 1,
37
- medium: 1.25,
38
- big: 2,
39
- large: 3,
40
- };
41
- /**
42
- * Computes the CSS custom property values needed to apply size and stroke-width overrides
43
- * for a given icon size variant.
44
- *
45
- * When a size override is active, the stroke-width must be compensated so the visual stroke
46
- * stays at the themed value. When an explicit stroke-width override is also provided, it takes
47
- * precedence and incorporates both the SVG scale factor and any size compensation.
48
- */
49
- function computeSizeOverrides({ sizeOverrides, strokeWidthOverrides, iconSize, }) {
50
- var _a;
51
- const result = {};
52
- const targetSizePx = sizeOverrides[iconSize];
53
- if (targetSizePx !== undefined) {
54
- result.size = targetSizePx;
55
- const basePx = BASE_SIZE_PX[iconSize];
56
- if (basePx !== undefined && targetSizePx !== basePx) {
57
- result.strokeScale = basePx / targetSizePx;
58
- }
59
- }
60
- const rawStroke = strokeWidthOverrides[iconSize];
61
- if (rawStroke !== undefined) {
62
- const scaleFactor = (_a = SCALE_FACTOR[iconSize]) !== null && _a !== void 0 ? _a : 1;
63
- const basePx = BASE_SIZE_PX[iconSize];
64
- const sizeCompensation = result.size !== undefined && basePx !== undefined ? basePx / result.size : 1;
65
- result.strokeWidth = `${(rawStroke / scaleFactor) * sizeCompensation}px`;
66
- }
67
- return result;
68
- }
69
11
  function iconSizeMap(height, fontSize) {
70
12
  if (height === null) {
71
13
  // This is the best guess for the contextual height while server rendering.
@@ -83,46 +25,22 @@ function iconSizeMap(height, fontSize) {
83
25
  return 'medium';
84
26
  }
85
27
  else if (height <= 16) {
86
- return !!fontSize && fontSize <= 12 ? 'x-small' : 'small';
28
+ return 'small';
87
29
  }
88
30
  else {
89
31
  return 'normal';
90
32
  }
91
33
  }
92
34
  const InternalIcon = ({ name, size = 'normal', variant = 'normal', url, alt, ariaLabel, svg, badge, nativeAttributes, __internalRootRef, ...props }) => {
93
- const { icons, sizeOverrides, strokeWidthOverrides } = useContext(InternalIconContext);
35
+ const icons = useContext(InternalIconContext);
94
36
  const iconRef = useRef(null);
95
37
  // To ensure a re-render is triggered on visual mode changes
96
38
  useVisualRefresh();
97
39
  const [parentHeight, setParentHeight] = useState(null);
98
40
  const [parentFontSize, setParentFontSize] = useState(null);
99
- // Determine the effective size class for CSS purposes
100
41
  const contextualSize = size === 'inherit';
101
42
  const iconSize = contextualSize ? iconSizeMap(parentHeight, parentFontSize) : size;
102
- // Build inline styles for the wrapper span.
103
- // When a size override is active, we set --icon-size-override which the CSS uses
104
- // for both the span's inline-size and the child SVG's inline-size/block-size.
105
- const inlineStyles = {};
106
- const setVar = (key, value) => (inlineStyles[key] = value);
107
- if (contextualSize && parentHeight !== null) {
108
- // Keep the wrapper at line-height so the inline-flex container stays tall enough
109
- // for correct text alignment. align-items: center will center the icon within it,
110
- // even when a size override makes the icon smaller than the line-height.
111
- inlineStyles.height = `${parentHeight}px`;
112
- }
113
- // Apply size and stroke-width overrides from IconProvider for the resolved size variant.
114
- // For size="inherit", iconSize is the variant resolved from the measured line-height
115
- // (e.g. "small"), so provider overrides for that variant are respected.
116
- const override = computeSizeOverrides({ sizeOverrides, strokeWidthOverrides, iconSize });
117
- if (override.size) {
118
- setVar(customCSSPropertiesMap.iconSizeOverride, `${override.size}px`);
119
- }
120
- if (override.strokeWidth) {
121
- setVar(customCSSPropertiesMap.iconStrokeWidthOverride, override.strokeWidth);
122
- }
123
- else if (override.strokeScale) {
124
- setVar(customCSSPropertiesMap.iconStrokeScale, override.strokeScale);
125
- }
43
+ const inlineStyles = contextualSize && parentHeight !== null ? { height: `${parentHeight}px` } : {};
126
44
  const baseProps = getBaseProps(props);
127
45
  baseProps.className = clsx(baseProps.className, styles.icon, contextualSize && styles['icon-flex-height'], badge && styles.badge, !contextualSize && styles[`size-${iconSize}-mapped-height`], styles[`size-${iconSize}`], styles[`variant-${variant}`], styles[`name-${name}`]);
128
46
  // Possible infinite loop is not a concern here because line
@@ -154,7 +72,7 @@ const InternalIcon = ({ name, size = 'normal', variant = 'normal', url, alt, ari
154
72
  }
155
73
  const validIcon = name && Object.prototype.hasOwnProperty.call(icons, name);
156
74
  function iconMap(name) {
157
- if (name === 'gen-ai' && (iconSize === 'small' || iconSize === 'x-small')) {
75
+ if (name === 'gen-ai' && iconSize === 'small') {
158
76
  return (React.createElement("svg", { width: "12", height: "12", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", focusable: "false", "aria-hidden": "true", "data-testid": "gen-ai-filled" },
159
77
  React.createElement("path", { d: "m8 4.4 1.018 2.582L11.6 8 9.018 9.018 8 11.6 6.982 9.018 4.4 8l2.582-1.018L8 4.4ZM2.405 2.41l.002-.003.003-.002-.003-.002-.002-.003-.002.003-.003.002.003.002.002.003Z", className: "filled" })));
160
78
  }
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/icon/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,sBAAsB,MAAM,6CAA6C,CAAC;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,oBAAoB,MAAM,0CAA0C,CAAC;AAG5E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAOrC;;;;;;GAMG;AACH,MAAM,YAAY,GAA2B;IAC3C,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,GAAG,EAAE,EAAE;IACP,KAAK,EAAE,EAAE;CACV,CAAC;AAEF;;;;;GAKG;AACH,MAAM,YAAY,GAA2B;IAC3C,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,IAAI;IACZ,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC;AAWF;;;;;;;GAOG;AACH,SAAS,oBAAoB,CAAC,EAC5B,aAAa,EACb,oBAAoB,EACpB,QAAQ,GAKT;;IACC,MAAM,MAAM,GAAuB,EAAE,CAAC;IAEtC,MAAM,YAAY,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC7C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-Identifier: Apache-2.0\nimport React, { useContext, useLayoutEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalIconContext } from '../icon-provider/context';\nimport { getBaseProps } from '../internal/base-component';\nimport customCSSPropertiesMap from '../internal/generated/custom-css-properties';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport WithNativeAttributes from '../internal/utils/with-native-attributes';\nimport { IconProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype InternalIconProps = IconProps &\n InternalBaseComponentProps & {\n badge?: boolean;\n };\n\n/**\n * Base pixel sizes for each named icon size variant.\n * Used to compute the stroke-width scale factor when a pixel override is provided.\n * These must match the CSS `inline-size` values from the SCSS $_icon-sizes map\n * (i.e. the actual rendered size of the SVG element without any override).\n * Note: \"small\" uses $size-icon-normal (16px), same as \"normal\".\n */\nconst BASE_SIZE_PX: Record<string, number> = {\n 'x-small': 12,\n small: 16,\n normal: 16,\n medium: 20,\n big: 32,\n large: 48,\n};\n\n/**\n * CSS scale factors for each icon size variant.\n * These match the scaleFactor values in mixins.scss and represent how much\n * the SVG viewBox is scaled up relative to the base 16×16 coordinate system.\n * The stroke-width must be divided by this factor to render at the intended visual size.\n */\nconst SCALE_FACTOR: Record<string, number> = {\n 'x-small': 0.75,\n small: 1,\n normal: 1,\n medium: 1.25,\n big: 2,\n large: 3,\n};\n\ninterface SizeOverrideResult {\n /** Target pixel size for the icon wrapper and SVG. */\n size?: number;\n /** Pre-formatted CSS stroke-width value (e.g. \"1.5px\") that overrides the token value. */\n strokeWidth?: string;\n /** Unitless scale factor applied to the token stroke-width to compensate for a size override. */\n strokeScale?: number;\n}\n\n/**\n * Computes the CSS custom property values needed to apply size and stroke-width overrides\n * for a given icon size variant.\n *\n * When a size override is active, the stroke-width must be compensated so the visual stroke\n * stays at the themed value. When an explicit stroke-width override is also provided, it takes\n * precedence and incorporates both the SVG scale factor and any size compensation.\n */\nfunction computeSizeOverrides({\n sizeOverrides,\n strokeWidthOverrides,\n iconSize,\n}: {\n sizeOverrides: Partial<Record<string, number>>;\n strokeWidthOverrides: Partial<Record<string, number>>;\n iconSize: string;\n}): SizeOverrideResult {\n const result: SizeOverrideResult = {};\n\n const targetSizePx = sizeOverrides[iconSize];\n if (targetSizePx !== undefined) {\n result.size = targetSizePx;\n const basePx = BASE_SIZE_PX[iconSize];\n if (basePx !== undefined && targetSizePx !== basePx) {\n result.strokeScale = basePx / targetSizePx;\n }\n }\n\n const rawStroke = strokeWidthOverrides[iconSize];\n if (rawStroke !== undefined) {\n const scaleFactor = SCALE_FACTOR[iconSize] ?? 1;\n const basePx = BASE_SIZE_PX[iconSize];\n const sizeCompensation = result.size !== undefined && basePx !== undefined ? basePx / result.size : 1;\n result.strokeWidth = `${(rawStroke / scaleFactor) * sizeCompensation}px`;\n }\n\n return result;\n}\n\nfunction iconSizeMap(height: number | null, fontSize?: number | null) {\n if (height === null) {\n // This is the best guess for the contextual height while server rendering.\n return 'normal';\n }\n\n // Only display medium size icon when both line-height >= 24px AND font-size >= 20px\n // This prevents icons from becoming medium size inappropriately\n if (height >= 50) {\n return 'large';\n } else if (height >= 36) {\n return 'big';\n } else if (height >= 24 && !!fontSize && fontSize >= 20) {\n return 'medium';\n } else if (height <= 16) {\n return !!fontSize && fontSize <= 12 ? 'x-small' : 'small';\n } else {\n return 'normal';\n }\n}\n\nconst InternalIcon = ({\n name,\n size = 'normal',\n variant = 'normal',\n url,\n alt,\n ariaLabel,\n svg,\n badge,\n nativeAttributes,\n __internalRootRef,\n ...props\n}: InternalIconProps) => {\n const { icons, sizeOverrides, strokeWidthOverrides } = useContext(InternalIconContext);\n const iconRef = useRef<HTMLElement>(null);\n // To ensure a re-render is triggered on visual mode changes\n useVisualRefresh();\n const [parentHeight, setParentHeight] = useState<number | null>(null);\n const [parentFontSize, setParentFontSize] = useState<number | null>(null);\n\n // Determine the effective size class for CSS purposes\n const contextualSize = size === 'inherit';\n const iconSize = contextualSize ? iconSizeMap(parentHeight, parentFontSize) : size;\n\n // Build inline styles for the wrapper span.\n // When a size override is active, we set --icon-size-override which the CSS uses\n // for both the span's inline-size and the child SVG's inline-size/block-size.\n const inlineStyles: React.CSSProperties = {};\n const setVar = (key: string, value: string | number) => ((inlineStyles as Record<string, unknown>)[key] = value);\n\n if (contextualSize && parentHeight !== null) {\n // Keep the wrapper at line-height so the inline-flex container stays tall enough\n // for correct text alignment. align-items: center will center the icon within it,\n // even when a size override makes the icon smaller than the line-height.\n inlineStyles.height = `${parentHeight}px`;\n }\n\n // Apply size and stroke-width overrides from IconProvider for the resolved size variant.\n // For size=\"inherit\", iconSize is the variant resolved from the measured line-height\n // (e.g. \"small\"), so provider overrides for that variant are respected.\n const override = computeSizeOverrides({ sizeOverrides, strokeWidthOverrides, iconSize });\n if (override.size) {\n setVar(customCSSPropertiesMap.iconSizeOverride, `${override.size}px`);\n }\n if (override.strokeWidth) {\n setVar(customCSSPropertiesMap.iconStrokeWidthOverride, override.strokeWidth);\n } else if (override.strokeScale) {\n setVar(customCSSPropertiesMap.iconStrokeScale, override.strokeScale);\n }\n\n const baseProps = getBaseProps(props);\n\n baseProps.className = clsx(\n baseProps.className,\n styles.icon,\n contextualSize && styles['icon-flex-height'],\n badge && styles.badge,\n !contextualSize && styles[`size-${iconSize}-mapped-height`],\n styles[`size-${iconSize}`],\n styles[`variant-${variant}`],\n styles[`name-${name}`]\n );\n\n // Possible infinite loop is not a concern here because line\n // height should not change without an external state update.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useLayoutEffect(() => {\n if (!contextualSize || !iconRef.current) {\n return;\n }\n const computedStyle = getComputedStyle(iconRef.current);\n const { lineHeight, fontSize } = computedStyle;\n const newParentHeight = parseInt(lineHeight, 10);\n const newParentFontSize = parseInt(fontSize, 10);\n setParentHeight(newParentHeight);\n setParentFontSize(newParentFontSize);\n });\n\n const mergedRef = useMergeRefs(iconRef, __internalRootRef);\n const hasAriaLabel = typeof ariaLabel === 'string';\n const labelAttributes = hasAriaLabel ? { role: 'img', 'aria-label': ariaLabel } : {};\n\n if (svg) {\n if (url) {\n warnOnce(\n 'Icon',\n 'You have specified both `url` and `svg`. `svg` will take precedence and `url` will be ignored.'\n );\n }\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n aria-hidden={!hasAriaLabel}\n style={inlineStyles}\n >\n {svg}\n </WithNativeAttributes>\n );\n }\n\n if (url) {\n return (\n <WithNativeAttributes\n {...baseProps}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n <img src={url} alt={ariaLabel ?? alt} />\n </WithNativeAttributes>\n );\n }\n\n const validIcon = name && Object.prototype.hasOwnProperty.call(icons, name);\n\n function iconMap(name: IconProps.Name) {\n if (name === 'gen-ai' && (iconSize === 'small' || iconSize === 'x-small')) {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 16 16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n aria-hidden=\"true\"\n data-testid=\"gen-ai-filled\"\n >\n <path\n d=\"m8 4.4 1.018 2.582L11.6 8 9.018 9.018 8 11.6 6.982 9.018 4.4 8l2.582-1.018L8 4.4ZM2.405 2.41l.002-.003.003-.002-.003-.002-.002-.003-.002.003-.003.002.003.002.002.003Z\"\n className=\"filled\"\n />\n </svg>\n );\n } else {\n const icon = icons[name];\n if (!icon) {\n warnOnce(\n 'Icon',\n `You have specified \\`name=\"${name}\"\\` but no icon with that name was found in the current IconProvider context. If this is a custom icon, ensure your app is wrapped in an \\`IconProvider\\` with the icon defined via \\`defineIcons\\`.`\n );\n }\n return icon;\n }\n }\n\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n {validIcon ? iconMap(name) : undefined}\n </WithNativeAttributes>\n );\n};\n\nexport { InternalIconProps };\nexport default InternalIcon;\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/icon/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,oBAAoB,MAAM,0CAA0C,CAAC;AAG5E,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAOrC,SAAS,WAAW,CAAC,MAAqB,EAAE,QAAwB;IAClE,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QACpB,2EAA2E;QAC3E,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,oFAAoF;IACpF,gEAAgE;IAChE,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;QACjB,OAAO,OAAO,CAAC;IACjB,CAAC;SAAM,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC;IACf,CAAC;SAAM,IAAI,MAAM,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,IAAI,EAAE,EAAE,CAAC;QACxD,OAAO,QAAQ,CAAC;IAClB,CAAC;SAAM,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC;IACjB,CAAC;SAAM,CAAC;QACN,O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CAAC,CAAC,CAAC,CAAC,SAAS,CACjB,CACxB,CAAC;AACJ,CAAC,CAAC;AAGF,eAAe,YAAY,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useLayoutEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalIconContext } from '../icon-provider/context';\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport WithNativeAttributes from '../internal/utils/with-native-attributes';\nimport { IconProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype InternalIconProps = IconProps &\n InternalBaseComponentProps & {\n badge?: boolean;\n };\n\nfunction iconSizeMap(height: number | null, fontSize?: number | null) {\n if (height === null) {\n // This is the best guess for the contextual height while server rendering.\n return 'normal';\n }\n\n // Only display medium size icon when both line-height >= 24px AND font-size >= 20px\n // This prevents icons from becoming medium size inappropriately\n if (height >= 50) {\n return 'large';\n } else if (height >= 36) {\n return 'big';\n } else if (height >= 24 && !!fontSize && fontSize >= 20) {\n return 'medium';\n } else if (height <= 16) {\n return 'small';\n } else {\n return 'normal';\n }\n}\n\nconst InternalIcon = ({\n name,\n size = 'normal',\n variant = 'normal',\n url,\n alt,\n ariaLabel,\n svg,\n badge,\n nativeAttributes,\n __internalRootRef,\n ...props\n}: InternalIconProps) => {\n const icons = useContext(InternalIconContext);\n const iconRef = useRef<HTMLElement>(null);\n // To ensure a re-render is triggered on visual mode changes\n useVisualRefresh();\n const [parentHeight, setParentHeight] = useState<number | null>(null);\n const [parentFontSize, setParentFontSize] = useState<number | null>(null);\n const contextualSize = size === 'inherit';\n const iconSize = contextualSize ? iconSizeMap(parentHeight, parentFontSize) : size;\n const inlineStyles = contextualSize && parentHeight !== null ? { height: `${parentHeight}px` } : {};\n const baseProps = getBaseProps(props);\n\n baseProps.className = clsx(\n baseProps.className,\n styles.icon,\n contextualSize && styles['icon-flex-height'],\n badge && styles.badge,\n !contextualSize && styles[`size-${iconSize}-mapped-height`],\n styles[`size-${iconSize}`],\n styles[`variant-${variant}`],\n styles[`name-${name}`]\n );\n\n // Possible infinite loop is not a concern here because line\n // height should not change without an external state update.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useLayoutEffect(() => {\n if (!contextualSize || !iconRef.current) {\n return;\n }\n const computedStyle = getComputedStyle(iconRef.current);\n const { lineHeight, fontSize } = computedStyle;\n const newParentHeight = parseInt(lineHeight, 10);\n const newParentFontSize = parseInt(fontSize, 10);\n setParentHeight(newParentHeight);\n setParentFontSize(newParentFontSize);\n });\n\n const mergedRef = useMergeRefs(iconRef, __internalRootRef);\n const hasAriaLabel = typeof ariaLabel === 'string';\n const labelAttributes = hasAriaLabel ? { role: 'img', 'aria-label': ariaLabel } : {};\n\n if (svg) {\n if (url) {\n warnOnce(\n 'Icon',\n 'You have specified both `url` and `svg`. `svg` will take precedence and `url` will be ignored.'\n );\n }\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n aria-hidden={!hasAriaLabel}\n style={inlineStyles}\n >\n {svg}\n </WithNativeAttributes>\n );\n }\n\n if (url) {\n return (\n <WithNativeAttributes\n {...baseProps}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n <img src={url} alt={ariaLabel ?? alt} />\n </WithNativeAttributes>\n );\n }\n\n const validIcon = name && Object.prototype.hasOwnProperty.call(icons, name);\n\n function iconMap(name: IconProps.Name) {\n if (name === 'gen-ai' && iconSize === 'small') {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 16 16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n aria-hidden=\"true\"\n data-testid=\"gen-ai-filled\"\n >\n <path\n d=\"m8 4.4 1.018 2.582L11.6 8 9.018 9.018 8 11.6 6.982 9.018 4.4 8l2.582-1.018L8 4.4ZM2.405 2.41l.002-.003.003-.002-.003-.002-.002-.003-.002.003-.003.002.003.002.002.003Z\"\n className=\"filled\"\n />\n </svg>\n );\n } else {\n const icon = icons[name];\n if (!icon) {\n warnOnce(\n 'Icon',\n `You have specified \\`name=\"${name}\"\\` but no icon with that name was found in the current IconProvider context. If this is a custom icon, ensure your app is wrapped in an \\`IconProvider\\` with the icon defined via \\`defineIcons\\`.`\n );\n }\n return icon;\n }\n }\n\n return (\n <WithNativeAttributes\n {...baseProps}\n {...labelAttributes}\n tag=\"span\"\n componentName=\"Icon\"\n nativeAttributes={nativeAttributes}\n ref={mergedRef}\n style={inlineStyles}\n >\n {validIcon ? iconMap(name) : undefined}\n </WithNativeAttributes>\n );\n};\n\nexport { InternalIconProps };\nexport default InternalIcon;\n"]}