@atlaskit/smart-card 32.7.0 → 32.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/analytics.spec.yaml +63 -9
- package/dist/cjs/classNames.js +14 -82
- package/dist/cjs/extractors/action/extract-invoke-copy-link-action.js +53 -0
- package/dist/cjs/extractors/action/extract-invoke-download-action.js +57 -0
- package/dist/cjs/extractors/action/extract-invoke-preview-action.js +78 -0
- package/dist/cjs/extractors/action/extract-invoke-view-action.js +60 -0
- package/dist/cjs/extractors/action/extractDownloadActionProps.js +4 -0
- package/dist/cjs/extractors/action/extractPreviewActionProps.js +4 -0
- package/dist/cjs/extractors/action/extractViewActionProps.js +4 -0
- package/dist/cjs/extractors/common/actions/extractActions.js +1 -67
- package/dist/cjs/extractors/flexible/actions/extract-copy-link-action.js +12 -1
- package/dist/cjs/extractors/flexible/actions/extract-download-action.js +12 -1
- package/dist/cjs/extractors/flexible/actions/extract-preview-action.js +12 -1
- package/dist/cjs/extractors/flexible/actions/extract-view-action.js +3 -0
- package/dist/cjs/extractors/flexible/actions/index.js +40 -3
- package/dist/cjs/extractors/flexible/extract-state.js +19 -5
- package/dist/cjs/extractors/flexible/index.js +22 -8
- package/dist/cjs/i18n/cs.js +2 -4
- package/dist/cjs/i18n/da.js +2 -4
- package/dist/cjs/i18n/de.js +2 -4
- package/dist/cjs/i18n/en.js +2 -4
- package/dist/cjs/i18n/en_GB.js +2 -4
- package/dist/cjs/i18n/en_ZZ.js +2 -4
- package/dist/cjs/i18n/es.js +8 -10
- package/dist/cjs/i18n/fi.js +5 -7
- package/dist/cjs/i18n/fr.js +2 -4
- package/dist/cjs/i18n/hu.js +2 -4
- package/dist/cjs/i18n/it.js +2 -4
- package/dist/cjs/i18n/ja.js +8 -10
- package/dist/cjs/i18n/ko.js +2 -4
- package/dist/cjs/i18n/nb.js +2 -4
- package/dist/cjs/i18n/nl.js +2 -4
- package/dist/cjs/i18n/pl.js +2 -4
- package/dist/cjs/i18n/pt_BR.js +2 -4
- package/dist/cjs/i18n/ru.js +2 -4
- package/dist/cjs/i18n/sv.js +2 -4
- package/dist/cjs/i18n/th.js +2 -4
- package/dist/cjs/i18n/tr.js +8 -10
- package/dist/cjs/i18n/uk.js +2 -4
- package/dist/cjs/i18n/vi.js +2 -4
- package/dist/cjs/i18n/zh.js +2 -4
- package/dist/cjs/i18n/zh_TW.js +2 -4
- package/dist/cjs/state/hooks/use-invoke-client-action/index.js +56 -17
- package/dist/cjs/state/hooks-external/useSmartLinkActions.js +22 -3
- package/dist/cjs/utils/analytics/LinkAnalyticsContext.js +7 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/mocks.js +4 -1
- package/dist/cjs/view/BlockCard/components/Action.js +1 -58
- package/dist/cjs/view/BlockCard/index.js +29 -218
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleResolvedView.js +1 -0
- package/dist/cjs/view/BlockCard/views/flexible/unresolved-view/index.js +1 -0
- package/dist/cjs/view/CardWithUrl/component.js +2 -5
- package/dist/cjs/view/EmbedModal/index.js +72 -51
- package/dist/cjs/view/FlexibleCard/components/actions/copy-link-action/index.js +65 -32
- package/dist/cjs/view/FlexibleCard/components/actions/download-action/index.js +36 -28
- package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +40 -32
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +13 -6
- package/dist/cjs/view/FlexibleCard/components/utils.js +4 -0
- package/dist/cjs/view/FlexibleCard/index.js +11 -1
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +1 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/classNames.js +12 -10
- package/dist/es2019/extractors/action/extract-invoke-copy-link-action.js +29 -0
- package/dist/es2019/extractors/action/extract-invoke-download-action.js +31 -0
- package/dist/es2019/extractors/action/extract-invoke-preview-action.js +57 -0
- package/dist/es2019/extractors/action/extract-invoke-view-action.js +34 -0
- package/dist/es2019/extractors/action/extractDownloadActionProps.js +5 -0
- package/dist/es2019/extractors/action/extractPreviewActionProps.js +5 -0
- package/dist/es2019/extractors/action/extractViewActionProps.js +5 -0
- package/dist/es2019/extractors/common/actions/extractActions.js +1 -55
- package/dist/es2019/extractors/flexible/actions/extract-copy-link-action.js +11 -0
- package/dist/es2019/extractors/flexible/actions/extract-download-action.js +12 -0
- package/dist/es2019/extractors/flexible/actions/extract-preview-action.js +12 -0
- package/dist/es2019/extractors/flexible/actions/extract-view-action.js +4 -0
- package/dist/es2019/extractors/flexible/actions/index.js +48 -3
- package/dist/es2019/extractors/flexible/extract-state.js +17 -5
- package/dist/es2019/extractors/flexible/index.js +17 -6
- package/dist/es2019/i18n/cs.js +2 -4
- package/dist/es2019/i18n/da.js +2 -4
- package/dist/es2019/i18n/de.js +2 -4
- package/dist/es2019/i18n/en.js +2 -4
- package/dist/es2019/i18n/en_GB.js +2 -4
- package/dist/es2019/i18n/en_ZZ.js +2 -4
- package/dist/es2019/i18n/es.js +8 -10
- package/dist/es2019/i18n/fi.js +5 -7
- package/dist/es2019/i18n/fr.js +2 -4
- package/dist/es2019/i18n/hu.js +2 -4
- package/dist/es2019/i18n/it.js +2 -4
- package/dist/es2019/i18n/ja.js +8 -10
- package/dist/es2019/i18n/ko.js +2 -4
- package/dist/es2019/i18n/nb.js +2 -4
- package/dist/es2019/i18n/nl.js +2 -4
- package/dist/es2019/i18n/pl.js +2 -4
- package/dist/es2019/i18n/pt_BR.js +2 -4
- package/dist/es2019/i18n/ru.js +2 -4
- package/dist/es2019/i18n/sv.js +2 -4
- package/dist/es2019/i18n/th.js +2 -4
- package/dist/es2019/i18n/tr.js +8 -10
- package/dist/es2019/i18n/uk.js +2 -4
- package/dist/es2019/i18n/vi.js +2 -4
- package/dist/es2019/i18n/zh.js +2 -4
- package/dist/es2019/i18n/zh_TW.js +2 -4
- package/dist/es2019/state/hooks/use-invoke-client-action/index.js +91 -43
- package/dist/es2019/state/hooks-external/useSmartLinkActions.js +21 -3
- package/dist/es2019/utils/analytics/LinkAnalyticsContext.js +3 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/mocks.js +4 -1
- package/dist/es2019/view/BlockCard/components/Action.js +1 -48
- package/dist/es2019/view/BlockCard/index.js +27 -163
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleResolvedView.js +1 -0
- package/dist/es2019/view/BlockCard/views/flexible/unresolved-view/index.js +1 -0
- package/dist/es2019/view/CardWithUrl/component.js +2 -5
- package/dist/es2019/view/EmbedModal/index.js +41 -20
- package/dist/es2019/view/FlexibleCard/components/actions/copy-link-action/index.js +31 -16
- package/dist/es2019/view/FlexibleCard/components/actions/download-action/index.js +20 -12
- package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +25 -17
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +14 -7
- package/dist/es2019/view/FlexibleCard/components/utils.js +4 -0
- package/dist/es2019/view/FlexibleCard/index.js +12 -1
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +1 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/classNames.js +12 -10
- package/dist/esm/extractors/action/extract-invoke-copy-link-action.js +46 -0
- package/dist/esm/extractors/action/extract-invoke-download-action.js +50 -0
- package/dist/esm/extractors/action/extract-invoke-preview-action.js +71 -0
- package/dist/esm/extractors/action/extract-invoke-view-action.js +53 -0
- package/dist/esm/extractors/action/extractDownloadActionProps.js +5 -0
- package/dist/esm/extractors/action/extractPreviewActionProps.js +5 -0
- package/dist/esm/extractors/action/extractViewActionProps.js +5 -0
- package/dist/esm/extractors/common/actions/extractActions.js +1 -65
- package/dist/esm/extractors/flexible/actions/extract-copy-link-action.js +11 -0
- package/dist/esm/extractors/flexible/actions/extract-download-action.js +12 -0
- package/dist/esm/extractors/flexible/actions/extract-preview-action.js +12 -0
- package/dist/esm/extractors/flexible/actions/extract-view-action.js +4 -0
- package/dist/esm/extractors/flexible/actions/index.js +42 -5
- package/dist/esm/extractors/flexible/extract-state.js +19 -5
- package/dist/esm/extractors/flexible/index.js +19 -8
- package/dist/esm/i18n/cs.js +2 -4
- package/dist/esm/i18n/da.js +2 -4
- package/dist/esm/i18n/de.js +2 -4
- package/dist/esm/i18n/en.js +2 -4
- package/dist/esm/i18n/en_GB.js +2 -4
- package/dist/esm/i18n/en_ZZ.js +2 -4
- package/dist/esm/i18n/es.js +8 -10
- package/dist/esm/i18n/fi.js +5 -7
- package/dist/esm/i18n/fr.js +2 -4
- package/dist/esm/i18n/hu.js +2 -4
- package/dist/esm/i18n/it.js +2 -4
- package/dist/esm/i18n/ja.js +8 -10
- package/dist/esm/i18n/ko.js +2 -4
- package/dist/esm/i18n/nb.js +2 -4
- package/dist/esm/i18n/nl.js +2 -4
- package/dist/esm/i18n/pl.js +2 -4
- package/dist/esm/i18n/pt_BR.js +2 -4
- package/dist/esm/i18n/ru.js +2 -4
- package/dist/esm/i18n/sv.js +2 -4
- package/dist/esm/i18n/th.js +2 -4
- package/dist/esm/i18n/tr.js +8 -10
- package/dist/esm/i18n/uk.js +2 -4
- package/dist/esm/i18n/vi.js +2 -4
- package/dist/esm/i18n/zh.js +2 -4
- package/dist/esm/i18n/zh_TW.js +2 -4
- package/dist/esm/state/hooks/use-invoke-client-action/index.js +56 -17
- package/dist/esm/state/hooks-external/useSmartLinkActions.js +22 -3
- package/dist/esm/utils/analytics/LinkAnalyticsContext.js +7 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/mocks.js +4 -1
- package/dist/esm/view/BlockCard/components/Action.js +1 -54
- package/dist/esm/view/BlockCard/index.js +29 -164
- package/dist/esm/view/BlockCard/views/flexible/FlexibleResolvedView.js +1 -0
- package/dist/esm/view/BlockCard/views/flexible/unresolved-view/index.js +1 -0
- package/dist/esm/view/CardWithUrl/component.js +2 -5
- package/dist/esm/view/EmbedModal/index.js +73 -52
- package/dist/esm/view/FlexibleCard/components/actions/copy-link-action/index.js +65 -32
- package/dist/esm/view/FlexibleCard/components/actions/download-action/index.js +36 -28
- package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +40 -32
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +13 -6
- package/dist/esm/view/FlexibleCard/components/utils.js +4 -0
- package/dist/esm/view/FlexibleCard/index.js +11 -1
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +1 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/classNames.d.ts +12 -10
- package/dist/types/common/analytics/generated/analytics.types.d.ts +63 -2
- package/dist/types/common/analytics/types.d.ts +2 -0
- package/dist/types/extractors/action/extract-invoke-copy-link-action.d.ts +3 -0
- package/dist/types/extractors/action/extract-invoke-download-action.d.ts +3 -0
- package/dist/types/extractors/action/extract-invoke-preview-action.d.ts +11 -0
- package/dist/types/extractors/action/extract-invoke-view-action.d.ts +3 -0
- package/dist/types/extractors/action/extractDownloadActionProps.d.ts +4 -0
- package/dist/types/extractors/action/extractPreviewActionProps.d.ts +5 -1
- package/dist/types/extractors/action/extractViewActionProps.d.ts +4 -0
- package/dist/types/extractors/action/types.d.ts +9 -0
- package/dist/types/extractors/common/actions/extractActions.d.ts +0 -8
- package/dist/types/extractors/common/actions/types.d.ts +0 -9
- package/dist/types/extractors/flexible/actions/extract-copy-link-action.d.ts +6 -0
- package/dist/types/extractors/flexible/actions/extract-download-action.d.ts +6 -0
- package/dist/types/extractors/flexible/actions/extract-preview-action.d.ts +6 -0
- package/dist/types/extractors/flexible/actions/extract-view-action.d.ts +3 -0
- package/dist/types/extractors/flexible/actions/index.d.ts +21 -4
- package/dist/types/extractors/flexible/extract-state.d.ts +5 -2
- package/dist/types/extractors/flexible/index.d.ts +1 -1
- package/dist/types/i18n/cs.d.ts +1 -3
- package/dist/types/i18n/da.d.ts +1 -3
- package/dist/types/i18n/de.d.ts +1 -3
- package/dist/types/i18n/en.d.ts +1 -3
- package/dist/types/i18n/en_GB.d.ts +1 -3
- package/dist/types/i18n/en_ZZ.d.ts +1 -3
- package/dist/types/i18n/es.d.ts +1 -3
- package/dist/types/i18n/fi.d.ts +1 -3
- package/dist/types/i18n/fr.d.ts +1 -3
- package/dist/types/i18n/hu.d.ts +1 -3
- package/dist/types/i18n/it.d.ts +1 -3
- package/dist/types/i18n/ja.d.ts +1 -3
- package/dist/types/i18n/ko.d.ts +1 -3
- package/dist/types/i18n/nb.d.ts +1 -3
- package/dist/types/i18n/nl.d.ts +1 -3
- package/dist/types/i18n/pl.d.ts +1 -3
- package/dist/types/i18n/pt_BR.d.ts +1 -3
- package/dist/types/i18n/ru.d.ts +1 -3
- package/dist/types/i18n/sv.d.ts +1 -3
- package/dist/types/i18n/th.d.ts +1 -3
- package/dist/types/i18n/tr.d.ts +1 -3
- package/dist/types/i18n/uk.d.ts +1 -3
- package/dist/types/i18n/vi.d.ts +1 -3
- package/dist/types/i18n/zh.d.ts +1 -3
- package/dist/types/i18n/zh_TW.d.ts +1 -3
- package/dist/types/state/flexible-ui-context/types.d.ts +9 -3
- package/dist/types/state/hooks/use-invoke/types.d.ts +7 -1
- package/dist/types/state/hooks/use-invoke-client-action/index.d.ts +2 -2
- package/dist/types/state/hooks/use-invoke-client-action/types.d.ts +24 -2
- package/dist/types/state/hooks/use-resolve/index.d.ts +1 -0
- package/dist/types/utils/analytics/click.d.ts +1 -1
- package/dist/types/view/BlockCard/components/Action.d.ts +0 -4
- package/dist/types/view/BlockCard/index.d.ts +2 -17
- package/dist/types/view/BlockCard/types.d.ts +1 -6
- package/dist/types/view/Card/index.d.ts +1 -1
- package/dist/types/view/EmbedModal/index.d.ts +4 -0
- package/dist/types/view/EmbedModal/types.d.ts +7 -0
- package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +6 -0
- package/dist/types/view/FlexibleCard/components/utils.d.ts +4 -1
- package/dist/types/view/FlexibleCard/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +12 -3
- package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types-ts4.5/classNames.d.ts +12 -10
- package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +63 -2
- package/dist/types-ts4.5/common/analytics/types.d.ts +2 -0
- package/dist/types-ts4.5/extractors/action/extract-invoke-copy-link-action.d.ts +3 -0
- package/dist/types-ts4.5/extractors/action/extract-invoke-download-action.d.ts +3 -0
- package/dist/types-ts4.5/extractors/action/extract-invoke-preview-action.d.ts +11 -0
- package/dist/types-ts4.5/extractors/action/extract-invoke-view-action.d.ts +3 -0
- package/dist/types-ts4.5/extractors/action/extractDownloadActionProps.d.ts +4 -0
- package/dist/types-ts4.5/extractors/action/extractPreviewActionProps.d.ts +5 -1
- package/dist/types-ts4.5/extractors/action/extractViewActionProps.d.ts +4 -0
- package/dist/types-ts4.5/extractors/action/types.d.ts +9 -0
- package/dist/types-ts4.5/extractors/common/actions/extractActions.d.ts +0 -8
- package/dist/types-ts4.5/extractors/common/actions/types.d.ts +0 -9
- package/dist/types-ts4.5/extractors/flexible/actions/extract-copy-link-action.d.ts +6 -0
- package/dist/types-ts4.5/extractors/flexible/actions/extract-download-action.d.ts +6 -0
- package/dist/types-ts4.5/extractors/flexible/actions/extract-preview-action.d.ts +6 -0
- package/dist/types-ts4.5/extractors/flexible/actions/extract-view-action.d.ts +3 -0
- package/dist/types-ts4.5/extractors/flexible/actions/index.d.ts +21 -4
- package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +5 -2
- package/dist/types-ts4.5/extractors/flexible/index.d.ts +1 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -3
- package/dist/types-ts4.5/i18n/da.d.ts +1 -3
- package/dist/types-ts4.5/i18n/de.d.ts +1 -3
- package/dist/types-ts4.5/i18n/en.d.ts +1 -3
- package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -3
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -3
- package/dist/types-ts4.5/i18n/es.d.ts +1 -3
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -3
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -3
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -3
- package/dist/types-ts4.5/i18n/it.d.ts +1 -3
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -3
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -3
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -3
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -3
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -3
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -3
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -3
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -3
- package/dist/types-ts4.5/i18n/th.d.ts +1 -3
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -3
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -3
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -3
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -3
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -3
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +9 -3
- package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +7 -1
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/index.d.ts +2 -2
- package/dist/types-ts4.5/state/hooks/use-invoke-client-action/types.d.ts +24 -2
- package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +1 -0
- package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
- package/dist/types-ts4.5/view/BlockCard/components/Action.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/index.d.ts +2 -17
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +1 -6
- package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
- package/dist/types-ts4.5/view/EmbedModal/index.d.ts +8 -0
- package/dist/types-ts4.5/view/EmbedModal/types.d.ts +7 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/action-button.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +6 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +4 -1
- package/dist/types-ts4.5/view/FlexibleCard/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +12 -3
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/package.json +4 -1
- package/dist/cjs/extractors/block/index.js +0 -96
- package/dist/cjs/extractors/common/actions/extractPreviewAction.js +0 -106
- package/dist/cjs/view/BlockCard/actions/AuthorizeAction.js +0 -22
- package/dist/cjs/view/BlockCard/actions/DownloadAction.js +0 -21
- package/dist/cjs/view/BlockCard/actions/PreviewAction.js +0 -35
- package/dist/cjs/view/BlockCard/actions/RetryAction.js +0 -35
- package/dist/cjs/view/BlockCard/actions/ViewAction.js +0 -21
- package/dist/cjs/view/BlockCard/components/ActionIcon.js +0 -57
- package/dist/cjs/view/BlockCard/components/ActionList.js +0 -78
- package/dist/cjs/view/BlockCard/components/CollaboratorList.js +0 -52
- package/dist/cjs/view/BlockCard/components/Content.js +0 -45
- package/dist/cjs/view/BlockCard/components/ContentFooter.js +0 -41
- package/dist/cjs/view/BlockCard/components/ContentHeader.js +0 -45
- package/dist/cjs/view/BlockCard/components/Emoji.js +0 -33
- package/dist/cjs/view/BlockCard/components/Link.js +0 -31
- package/dist/cjs/view/BlockCard/components/Name.js +0 -61
- package/dist/cjs/view/BlockCard/components/Provider.js +0 -57
- package/dist/cjs/view/BlockCard/components/Thumbnail.js +0 -62
- package/dist/cjs/view/BlockCard/components/UnresolvedText.js +0 -24
- package/dist/cjs/view/BlockCard/views/ErroredView.js +0 -91
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +0 -121
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +0 -82
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +0 -143
- package/dist/cjs/view/BlockCard/views/ResolvingView.js +0 -57
- package/dist/cjs/view/BlockCard/views/UnauthorizedView.js +0 -72
- package/dist/cjs/view/BlockCard/views/styled.js +0 -18
- package/dist/cjs/view/CardWithData/component.js +0 -66
- package/dist/cjs/view/CardWithData/types.js +0 -5
- package/dist/cjs/view/common/Byline.js +0 -52
- package/dist/cjs/view/common/Metadata.js +0 -56
- package/dist/cjs/view/common/MetadataList.js +0 -43
- package/dist/es2019/extractors/block/index.js +0 -86
- package/dist/es2019/extractors/common/actions/extractPreviewAction.js +0 -91
- package/dist/es2019/view/BlockCard/actions/AuthorizeAction.js +0 -9
- package/dist/es2019/view/BlockCard/actions/DownloadAction.js +0 -11
- package/dist/es2019/view/BlockCard/actions/PreviewAction.js +0 -23
- package/dist/es2019/view/BlockCard/actions/RetryAction.js +0 -8
- package/dist/es2019/view/BlockCard/actions/ViewAction.js +0 -11
- package/dist/es2019/view/BlockCard/components/ActionIcon.js +0 -51
- package/dist/es2019/view/BlockCard/components/ActionList.js +0 -63
- package/dist/es2019/view/BlockCard/components/CollaboratorList.js +0 -42
- package/dist/es2019/view/BlockCard/components/Content.js +0 -36
- package/dist/es2019/view/BlockCard/components/ContentFooter.js +0 -32
- package/dist/es2019/view/BlockCard/components/ContentHeader.js +0 -39
- package/dist/es2019/view/BlockCard/components/Emoji.js +0 -26
- package/dist/es2019/view/BlockCard/components/Link.js +0 -24
- package/dist/es2019/view/BlockCard/components/Name.js +0 -54
- package/dist/es2019/view/BlockCard/components/Provider.js +0 -51
- package/dist/es2019/view/BlockCard/components/Thumbnail.js +0 -58
- package/dist/es2019/view/BlockCard/components/UnresolvedText.js +0 -18
- package/dist/es2019/view/BlockCard/views/ErroredView.js +0 -78
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +0 -104
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +0 -71
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +0 -121
- package/dist/es2019/view/BlockCard/views/ResolvingView.js +0 -46
- package/dist/es2019/view/BlockCard/views/UnauthorizedView.js +0 -60
- package/dist/es2019/view/BlockCard/views/styled.js +0 -10
- package/dist/es2019/view/CardWithData/component.js +0 -43
- package/dist/es2019/view/common/Byline.js +0 -44
- package/dist/es2019/view/common/Metadata.js +0 -49
- package/dist/es2019/view/common/MetadataList.js +0 -34
- package/dist/esm/extractors/block/index.js +0 -89
- package/dist/esm/extractors/common/actions/extractPreviewAction.js +0 -99
- package/dist/esm/state/reducers/types.js +0 -1
- package/dist/esm/view/BlockCard/actions/AuthorizeAction.js +0 -15
- package/dist/esm/view/BlockCard/actions/DownloadAction.js +0 -14
- package/dist/esm/view/BlockCard/actions/PreviewAction.js +0 -30
- package/dist/esm/view/BlockCard/actions/RetryAction.js +0 -28
- package/dist/esm/view/BlockCard/actions/ViewAction.js +0 -14
- package/dist/esm/view/BlockCard/components/ActionIcon.js +0 -50
- package/dist/esm/view/BlockCard/components/ActionList.js +0 -69
- package/dist/esm/view/BlockCard/components/CollaboratorList.js +0 -44
- package/dist/esm/view/BlockCard/components/Content.js +0 -38
- package/dist/esm/view/BlockCard/components/ContentFooter.js +0 -34
- package/dist/esm/view/BlockCard/components/ContentHeader.js +0 -38
- package/dist/esm/view/BlockCard/components/Emoji.js +0 -25
- package/dist/esm/view/BlockCard/components/Link.js +0 -24
- package/dist/esm/view/BlockCard/components/Name.js +0 -54
- package/dist/esm/view/BlockCard/components/Provider.js +0 -50
- package/dist/esm/view/BlockCard/components/Thumbnail.js +0 -57
- package/dist/esm/view/BlockCard/components/UnresolvedText.js +0 -17
- package/dist/esm/view/BlockCard/views/ErroredView.js +0 -87
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +0 -113
- package/dist/esm/view/BlockCard/views/NotFoundView.js +0 -78
- package/dist/esm/view/BlockCard/views/ResolvedView.js +0 -135
- package/dist/esm/view/BlockCard/views/ResolvingView.js +0 -49
- package/dist/esm/view/BlockCard/views/UnauthorizedView.js +0 -68
- package/dist/esm/view/BlockCard/views/styled.js +0 -10
- package/dist/esm/view/CardWithData/component.js +0 -59
- package/dist/esm/view/CardWithData/types.js +0 -1
- package/dist/esm/view/common/Byline.js +0 -45
- package/dist/esm/view/common/Metadata.js +0 -48
- package/dist/esm/view/common/MetadataList.js +0 -35
- package/dist/types/extractors/block/index.d.ts +0 -10
- package/dist/types/extractors/block/types.d.ts +0 -13
- package/dist/types/extractors/common/actions/extractPreviewAction.d.ts +0 -14
- package/dist/types/state/reducers/types.d.ts +0 -4
- package/dist/types/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types/view/BlockCard/actions/DownloadAction.d.ts +0 -4
- package/dist/types/view/BlockCard/actions/PreviewAction.d.ts +0 -27
- package/dist/types/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types/view/BlockCard/actions/ViewAction.d.ts +0 -4
- package/dist/types/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types/view/BlockCard/components/ActionList.d.ts +0 -10
- package/dist/types/view/BlockCard/components/CollaboratorList.d.ts +0 -18
- package/dist/types/view/BlockCard/components/Content.d.ts +0 -18
- package/dist/types/view/BlockCard/components/ContentFooter.d.ts +0 -12
- package/dist/types/view/BlockCard/components/ContentHeader.d.ts +0 -19
- package/dist/types/view/BlockCard/components/Emoji.d.ts +0 -10
- package/dist/types/view/BlockCard/components/Link.d.ts +0 -11
- package/dist/types/view/BlockCard/components/Name.d.ts +0 -21
- package/dist/types/view/BlockCard/components/Provider.d.ts +0 -11
- package/dist/types/view/BlockCard/components/Thumbnail.d.ts +0 -13
- package/dist/types/view/BlockCard/components/UnresolvedText.d.ts +0 -11
- package/dist/types/view/BlockCard/views/ErroredView.d.ts +0 -19
- package/dist/types/view/BlockCard/views/ForbiddenView.d.ts +0 -35
- package/dist/types/view/BlockCard/views/NotFoundView.d.ts +0 -26
- package/dist/types/view/BlockCard/views/ResolvedView.d.ts +0 -46
- package/dist/types/view/BlockCard/views/ResolvingView.d.ts +0 -18
- package/dist/types/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types/view/BlockCard/views/styled.d.ts +0 -5
- package/dist/types/view/CardWithData/component.d.ts +0 -5
- package/dist/types/view/CardWithData/types.d.ts +0 -15
- package/dist/types/view/common/Byline.d.ts +0 -13
- package/dist/types/view/common/Metadata.d.ts +0 -13
- package/dist/types/view/common/MetadataList.d.ts +0 -12
- package/dist/types-ts4.5/extractors/block/index.d.ts +0 -10
- package/dist/types-ts4.5/extractors/block/types.d.ts +0 -13
- package/dist/types-ts4.5/extractors/common/actions/extractPreviewAction.d.ts +0 -14
- package/dist/types-ts4.5/state/reducers/types.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/actions/AuthorizeAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/DownloadAction.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/actions/PreviewAction.d.ts +0 -27
- package/dist/types-ts4.5/view/BlockCard/actions/RetryAction.d.ts +0 -2
- package/dist/types-ts4.5/view/BlockCard/actions/ViewAction.d.ts +0 -4
- package/dist/types-ts4.5/view/BlockCard/components/ActionIcon.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/ActionList.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/CollaboratorList.d.ts +0 -18
- package/dist/types-ts4.5/view/BlockCard/components/Content.d.ts +0 -18
- package/dist/types-ts4.5/view/BlockCard/components/ContentFooter.d.ts +0 -12
- package/dist/types-ts4.5/view/BlockCard/components/ContentHeader.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/components/Emoji.d.ts +0 -10
- package/dist/types-ts4.5/view/BlockCard/components/Link.d.ts +0 -11
- package/dist/types-ts4.5/view/BlockCard/components/Name.d.ts +0 -21
- package/dist/types-ts4.5/view/BlockCard/components/Provider.d.ts +0 -11
- package/dist/types-ts4.5/view/BlockCard/components/Thumbnail.d.ts +0 -13
- package/dist/types-ts4.5/view/BlockCard/components/UnresolvedText.d.ts +0 -11
- package/dist/types-ts4.5/view/BlockCard/views/ErroredView.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/views/ForbiddenView.d.ts +0 -35
- package/dist/types-ts4.5/view/BlockCard/views/NotFoundView.d.ts +0 -26
- package/dist/types-ts4.5/view/BlockCard/views/ResolvedView.d.ts +0 -46
- package/dist/types-ts4.5/view/BlockCard/views/ResolvingView.d.ts +0 -18
- package/dist/types-ts4.5/view/BlockCard/views/UnauthorizedView.d.ts +0 -19
- package/dist/types-ts4.5/view/BlockCard/views/styled.d.ts +0 -5
- package/dist/types-ts4.5/view/CardWithData/component.d.ts +0 -5
- package/dist/types-ts4.5/view/CardWithData/types.d.ts +0 -15
- package/dist/types-ts4.5/view/common/Byline.d.ts +0 -13
- package/dist/types-ts4.5/view/common/Metadata.d.ts +0 -13
- package/dist/types-ts4.5/view/common/MetadataList.d.ts +0 -12
- /package/dist/cjs/{extractors/block → common/analytics}/types.js +0 -0
- /package/dist/cjs/{state/reducers → extractors/action}/types.js +0 -0
- /package/dist/es2019/{extractors/block → common/analytics}/types.js +0 -0
- /package/dist/es2019/{state/reducers → extractors/action}/types.js +0 -0
- /package/dist/{es2019/view/CardWithData → esm/common/analytics}/types.js +0 -0
- /package/dist/esm/extractors/{block → action}/types.js +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f06f113d9e5f9e84ba897b1fbfca3db4>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataContextType = {
|
|
@@ -12,7 +12,6 @@ export type PackageMetaDataContextType = {
|
|
|
12
12
|
};
|
|
13
13
|
export type CommonContextType = {
|
|
14
14
|
extensionKey: string | null;
|
|
15
|
-
resourceType: string | null;
|
|
16
15
|
destinationObjectType: string | null;
|
|
17
16
|
destinationSubproduct: string | null;
|
|
18
17
|
destinationProduct: string | null;
|
|
@@ -33,6 +32,33 @@ export type ResolvedContextType = {
|
|
|
33
32
|
destinationTenantId: string | null;
|
|
34
33
|
canBeDatasource: boolean | null;
|
|
35
34
|
location: string | null;
|
|
35
|
+
};
|
|
36
|
+
export type ButtonClickedCopyLinkAttributesType = {
|
|
37
|
+
actionType: string | null;
|
|
38
|
+
id: string | null;
|
|
39
|
+
definitionId: string | null;
|
|
40
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | null;
|
|
41
|
+
resourceType: string | null;
|
|
42
|
+
};
|
|
43
|
+
export type ButtonClickedDownloadDocumentAttributesType = {
|
|
44
|
+
actionType: string | null;
|
|
45
|
+
id: string | null;
|
|
46
|
+
definitionId: string | null;
|
|
47
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | null;
|
|
48
|
+
resourceType: string | null;
|
|
49
|
+
};
|
|
50
|
+
export type ButtonClickedInvokePreviewScreenAttributesType = {
|
|
51
|
+
actionType: string | null;
|
|
52
|
+
id: string | null;
|
|
53
|
+
definitionId: string | null;
|
|
54
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | null;
|
|
55
|
+
resourceType: string | null;
|
|
56
|
+
};
|
|
57
|
+
export type ButtonClickedShortcutGoToLinkAttributesType = {
|
|
58
|
+
actionType: string | null;
|
|
59
|
+
id: string | null;
|
|
60
|
+
definitionId: string | null;
|
|
61
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | null;
|
|
36
62
|
resourceType: string | null;
|
|
37
63
|
};
|
|
38
64
|
export type ButtonClickedAiSummaryAttributesType = {};
|
|
@@ -115,6 +141,23 @@ export type SmartLinkChunkLoadFailedAttributesType = {
|
|
|
115
141
|
error: Record<string, unknown>;
|
|
116
142
|
errorInfo: Record<string, unknown>;
|
|
117
143
|
};
|
|
144
|
+
export type SmartLinkActionResolvedAttributesType = {
|
|
145
|
+
actionType: string | null;
|
|
146
|
+
id: string | null;
|
|
147
|
+
definitionId: string | null;
|
|
148
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | null;
|
|
149
|
+
resourceType: string | null;
|
|
150
|
+
duration: number | null;
|
|
151
|
+
};
|
|
152
|
+
export type SmartLinkActionUnresolvedAttributesType = {
|
|
153
|
+
actionType: string | null;
|
|
154
|
+
id: string | null;
|
|
155
|
+
definitionId: string | null;
|
|
156
|
+
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | null;
|
|
157
|
+
resourceType: string | null;
|
|
158
|
+
duration: number | null;
|
|
159
|
+
reason: string | null;
|
|
160
|
+
};
|
|
118
161
|
export type SmartLinkClickedAttributesType = {
|
|
119
162
|
id: string;
|
|
120
163
|
display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview';
|
|
@@ -158,6 +201,18 @@ export type ButtonClickedSmartLinkFollowButtonAttributesType = {};
|
|
|
158
201
|
export type ButtonClickedStatusUpdateActionAttributesType = {};
|
|
159
202
|
export type ButtonClickedGetStatusTransitionsActionAttributesType = {};
|
|
160
203
|
export type AnalyticsEventAttributes = {
|
|
204
|
+
/**
|
|
205
|
+
* Fired when an copy link is clicked */
|
|
206
|
+
'ui.button.clicked.copyLink': ButtonClickedCopyLinkAttributesType;
|
|
207
|
+
/**
|
|
208
|
+
* Fired when an download is clicked */
|
|
209
|
+
'ui.button.clicked.downloadDocument': ButtonClickedDownloadDocumentAttributesType;
|
|
210
|
+
/**
|
|
211
|
+
* Fired when an preview is clicked */
|
|
212
|
+
'ui.button.clicked.invokePreviewScreen': ButtonClickedInvokePreviewScreenAttributesType;
|
|
213
|
+
/**
|
|
214
|
+
* Fired when an view link is clicked */
|
|
215
|
+
'ui.button.clicked.shortcutGoToLink': ButtonClickedShortcutGoToLinkAttributesType;
|
|
161
216
|
/**
|
|
162
217
|
* fired when an ai summary is clicked */
|
|
163
218
|
'ui.button.clicked.aiSummary': ButtonClickedAiSummaryAttributesType;
|
|
@@ -236,6 +291,12 @@ export type AnalyticsEventAttributes = {
|
|
|
236
291
|
/**
|
|
237
292
|
* fires an event that represents when a Smart Link renders unsuccessfully. */
|
|
238
293
|
'operational.smartLink.chunkLoadFailed': SmartLinkChunkLoadFailedAttributesType;
|
|
294
|
+
/**
|
|
295
|
+
* Fires an event when a Smart Link action is successfully resolved. */
|
|
296
|
+
'operational.smartLinkAction.resolved': SmartLinkActionResolvedAttributesType;
|
|
297
|
+
/**
|
|
298
|
+
* Fires an event when a Smart Link action is failed to resolved. */
|
|
299
|
+
'operational.smartLinkAction.unresolved': SmartLinkActionUnresolvedAttributesType;
|
|
239
300
|
/**
|
|
240
301
|
* fires an event that represents when a user clicks on a Smart Link. */
|
|
241
302
|
'ui.smartLink.clicked': SmartLinkClickedAttributesType;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
2
|
+
import { type ExtractClientActionsParam } from './types';
|
|
3
|
+
export declare const extractInvokeCopyLinkAction: ({ actionOptions, appearance, id, response, }: ExtractClientActionsParam) => InvokeClientActionProps | undefined;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
2
|
+
import { type ExtractClientActionsParam } from './types';
|
|
3
|
+
export declare const extractInvokeDownloadAction: ({ actionOptions, appearance, id, response, }: ExtractClientActionsParam) => InvokeClientActionProps | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FireEventFunction } from '../../common/analytics/types';
|
|
2
|
+
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
3
|
+
import { type AnalyticsOrigin } from '../../utils/types';
|
|
4
|
+
import { type EmbedModalProps } from '../../view/EmbedModal/types';
|
|
5
|
+
import { type ExtractClientActionsParam } from './types';
|
|
6
|
+
export type ExtractInvokePreviewActionParam = ExtractClientActionsParam & {
|
|
7
|
+
fireEvent?: FireEventFunction;
|
|
8
|
+
onClose?: EmbedModalProps['onClose'];
|
|
9
|
+
origin?: AnalyticsOrigin;
|
|
10
|
+
};
|
|
11
|
+
export declare const extractInvokePreviewAction: (param: ExtractInvokePreviewActionParam) => InvokeClientActionProps | undefined;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
2
|
+
import { type ExtractClientActionsParam } from './types';
|
|
3
|
+
export declare const extractInvokeViewAction: ({ actionOptions, appearance, id, response }: ExtractClientActionsParam, force?: boolean) => InvokeClientActionProps | undefined;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
2
2
|
import { type ExtractActionsProps } from '../common/actions/types';
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
5
|
+
* Replace with platform/packages/linking-platform/smart-card/src/extractors/action/extract-invoke-download-action.ts
|
|
6
|
+
*/
|
|
3
7
|
export declare const extractDownloadActionProps: ({ response, actionOptions, extensionKey, source, }: ExtractActionsProps) => InvokeClientActionProps | undefined;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
2
|
-
import type
|
|
2
|
+
import { type ExtractActionsProps } from '../common/actions/types';
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
5
|
+
* Replaced with platform/packages/linking-platform/smart-card/src/extractors/action/extract-invoke-preview-action.ts
|
|
6
|
+
*/
|
|
3
7
|
export declare const extractPreviewActionProps: ({ response, analytics, extensionKey, source, actionOptions, origin, }: ExtractActionsProps) => InvokeClientActionProps | undefined;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
|
|
2
2
|
import { type ExtractActionsProps } from '../common/actions/types';
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
5
|
+
* Replace with platform/packages/linking-platform/smart-card/src/extractors/action/extract-invoke-view-action.ts
|
|
6
|
+
*/
|
|
3
7
|
export declare const extractViewActionProps: ({ response, actionOptions, extensionKey, source, }: ExtractActionsProps) => InvokeClientActionProps | undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { JsonLd } from 'json-ld-types';
|
|
2
|
+
import type { CardActionOptions } from '../../view/Card/types';
|
|
3
|
+
import type { FlexibleCardProps } from '../../view/FlexibleCard/types';
|
|
4
|
+
export type ExtractClientActionsParam = {
|
|
5
|
+
actionOptions?: CardActionOptions;
|
|
6
|
+
appearance?: FlexibleCardProps['appearance'];
|
|
7
|
+
id?: string;
|
|
8
|
+
response: JsonLd.Response;
|
|
9
|
+
};
|
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
import { type JsonLd } from 'json-ld-types';
|
|
2
|
-
import { type InvokeHandler } from '../../../model/invoke-handler';
|
|
3
|
-
import { type ActionProps } from '../../../view/BlockCard/components/Action';
|
|
4
|
-
import { type CardActionOptions } from '../../../view/Card/types';
|
|
5
2
|
export declare const getActionsFromJsonLd: (jsonLd: JsonLd.Data.BaseData) => JsonLd.Primitives.Action[];
|
|
6
|
-
/**
|
|
7
|
-
* @private
|
|
8
|
-
* @deprecated - use flexible extractors instead
|
|
9
|
-
*/
|
|
10
|
-
export declare function extractClientActions(jsonLd: JsonLd.Data.BaseData, handler: InvokeHandler, actionOptions?: CardActionOptions): ActionProps[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type JsonLd } from 'json-ld-types';
|
|
3
2
|
import { type AnalyticsFacade } from '../../../state/analytics';
|
|
4
3
|
import { type AnalyticsOrigin } from '../../../utils/types';
|
|
@@ -11,11 +10,3 @@ export type ExtractActionsProps = {
|
|
|
11
10
|
source?: CardInnerAppearance;
|
|
12
11
|
origin?: AnalyticsOrigin;
|
|
13
12
|
};
|
|
14
|
-
export interface ActionProps {
|
|
15
|
-
/** String identifier for the action (e.g. 'preview-content') */
|
|
16
|
-
id: string;
|
|
17
|
-
/** The text to be displayed in the action's button */
|
|
18
|
-
text: React.ReactNode;
|
|
19
|
-
/** The function to be called on clicking the action. This is a promise so the state can transition correctly after the action finishes */
|
|
20
|
-
invoke: () => Promise<any>;
|
|
21
|
-
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { type JsonLd } from 'json-ld-types';
|
|
2
2
|
import { type CopyLinkActionData } from '../../../state/flexible-ui-context/types';
|
|
3
3
|
import { type CardActionOptions } from '../../../view/Card/types';
|
|
4
|
+
import { type ExtractClientActionsParam } from '../../action/types';
|
|
5
|
+
/**
|
|
6
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
7
|
+
* Replaced with extractCopyLinkClientAction()
|
|
8
|
+
*/
|
|
4
9
|
export declare const extractCopyLinkAction: (data: JsonLd.Data.BaseData, actionOptions?: CardActionOptions) => CopyLinkActionData | undefined;
|
|
10
|
+
export declare const extractCopyLinkClientAction: (param: ExtractClientActionsParam) => CopyLinkActionData | undefined;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { type JsonLd } from 'json-ld-types';
|
|
2
2
|
import { type DownloadActionData } from '../../../state/flexible-ui-context/types';
|
|
3
3
|
import { type CardActionOptions } from '../../../view/Card/types';
|
|
4
|
+
import { type ExtractClientActionsParam } from '../../action/types';
|
|
5
|
+
/**
|
|
6
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
7
|
+
* Replaced with extractDownloadClientAction()
|
|
8
|
+
*/
|
|
4
9
|
export declare const extractDownloadAction: (data: JsonLd.Data.BaseData, actionOptions?: CardActionOptions) => DownloadActionData | undefined;
|
|
10
|
+
export declare const extractDownloadClientAction: (param: ExtractClientActionsParam) => DownloadActionData | undefined;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { type JsonLd } from 'json-ld-types';
|
|
2
2
|
import { type PreviewActionData } from '../../../state/flexible-ui-context/types';
|
|
3
3
|
import { type CardActionOptions } from '../../../view/Card/types';
|
|
4
|
+
import { type ExtractInvokePreviewActionParam } from '../../action/extract-invoke-preview-action';
|
|
5
|
+
/**
|
|
6
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
7
|
+
* Replaced with extractPreviewClientAction()
|
|
8
|
+
*/
|
|
4
9
|
export declare const extractPreviewAction: (response: JsonLd.Response, actionOptions?: CardActionOptions) => PreviewActionData | undefined;
|
|
10
|
+
export declare const extractPreviewClientAction: (param: ExtractInvokePreviewActionParam) => PreviewActionData | undefined;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { type JsonLd } from 'json-ld-types';
|
|
2
2
|
import { type ViewActionData } from '../../../state/flexible-ui-context/types';
|
|
3
3
|
import { type CardActionOptions } from '../../../view/Card/types';
|
|
4
|
+
/**
|
|
5
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
6
|
+
*/
|
|
4
7
|
export declare const extractViewAction: (data: JsonLd.Data.BaseData, actionOptions?: CardActionOptions) => ViewActionData | undefined;
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
4
|
-
import type
|
|
1
|
+
import { type JsonLd } from 'json-ld-types';
|
|
2
|
+
import { type FireEventFunction } from '../../../common/analytics/types';
|
|
3
|
+
import { type FlexibleUiActions } from '../../../state/flexible-ui-context/types';
|
|
4
|
+
import { type AISummaryConfig } from '../../../state/hooks/use-ai-summary-config/types';
|
|
5
|
+
import { type AnalyticsOrigin } from '../../../utils/types';
|
|
6
|
+
import { type CardActionOptions, type CardInnerAppearance } from '../../../view/Card/types';
|
|
7
|
+
export type ExtractActionsParam = {
|
|
8
|
+
response: JsonLd.Response;
|
|
9
|
+
url?: string;
|
|
10
|
+
actionOptions?: CardActionOptions;
|
|
11
|
+
id?: string;
|
|
12
|
+
aiSummaryConfig?: AISummaryConfig;
|
|
13
|
+
appearance?: CardInnerAppearance;
|
|
14
|
+
origin?: AnalyticsOrigin;
|
|
15
|
+
fireEvent?: FireEventFunction;
|
|
16
|
+
};
|
|
17
|
+
export declare const extractFlexibleCardActions: ({ actionOptions, aiSummaryConfig, appearance, fireEvent, id, origin, response, url, }: ExtractActionsParam) => FlexibleUiActions | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* TODO: Remove on cleanup of platform-smart-card-migrate-embed-modal-analytics
|
|
20
|
+
* Replaced with extractFlexibleCardActions()
|
|
21
|
+
*/
|
|
5
22
|
declare const extractActions: (response: JsonLd.Response, url?: string, actionOptions?: CardActionOptions, id?: string, aiSummaryConfig?: AISummaryConfig) => FlexibleUiActions | undefined;
|
|
6
23
|
export default extractActions;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { JsonLd } from 'json-ld-types';
|
|
2
|
-
import { type
|
|
2
|
+
import { type FireEventFunction } from '../../common/analytics/types';
|
|
3
|
+
import { type ResolveFunction } from '../../state/hooks/use-resolve';
|
|
4
|
+
import { type AnalyticsOrigin } from '../../utils/types';
|
|
5
|
+
import { type CardActionOptions, type CardInnerAppearance } from '../../view/Card/types';
|
|
3
6
|
import { type LinkLozenge } from '../common/lozenge/types';
|
|
4
|
-
declare const extractState: (response?: JsonLd.Response, actionOptions?: CardActionOptions, id?: string) => LinkLozenge | undefined;
|
|
7
|
+
declare const extractState: (response?: JsonLd.Response, actionOptions?: CardActionOptions, id?: string, appearance?: CardInnerAppearance, origin?: AnalyticsOrigin, fireEvent?: FireEventFunction, resolve?: ResolveFunction) => LinkLozenge | undefined;
|
|
5
8
|
export default extractState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type FlexibleUiDataContext } from '../../state/flexible-ui-context/types';
|
|
2
2
|
import { type ExtractFlexibleUiDataContextParams } from '../../view/FlexibleCard/types';
|
|
3
|
-
declare const extractFlexibleUiContext: ({ id, renderers, actionOptions, response, aiSummaryConfig, ...props }?: Partial<ExtractFlexibleUiDataContextParams>) => FlexibleUiDataContext | undefined;
|
|
3
|
+
declare const extractFlexibleUiContext: ({ appearance, fireEvent, id, origin, renderers, resolve, actionOptions, response, aiSummaryConfig, ...props }?: Partial<ExtractFlexibleUiDataContextParams>) => FlexibleUiDataContext | undefined;
|
|
4
4
|
export default extractFlexibleUiContext;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|
|
@@ -88,7 +88,6 @@ declare const _default: {
|
|
|
88
88
|
'fabric.linking.invalid_permissions': string;
|
|
89
89
|
'fabric.linking.invalid_permissions_description': string;
|
|
90
90
|
'fabric.linking.join_to_view': string;
|
|
91
|
-
'fabric.linking.last_mentioned_in': string;
|
|
92
91
|
'fabric.linking.learn_more_about_connecting_account': string;
|
|
93
92
|
'fabric.linking.learn_more_about_smart_links': string;
|
|
94
93
|
'fabric.linking.link_safety_warning_message': string;
|
|
@@ -129,8 +128,7 @@ declare const _default: {
|
|
|
129
128
|
'fabric.linking.related_links_modal_unavailable_header': string;
|
|
130
129
|
'fabric.linking.related_links_modal_unavailable_message': string;
|
|
131
130
|
'fabric.linking.related_links_not_found': string;
|
|
132
|
-
'fabric.linking.related_links_view_related_urls
|
|
133
|
-
'fabric.linking.related_work_items_not_found': string;
|
|
131
|
+
'fabric.linking.related_links_view_related_urls': string;
|
|
134
132
|
'fabric.linking.request_access': string;
|
|
135
133
|
'fabric.linking.request_access_description': string;
|
|
136
134
|
'fabric.linking.request_access_pending': string;
|