@ironsource/shared-ui 2.0.0-rc.5 → 2.0.0-rc.6
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/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_14dcdae5_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_f080f37f_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_99f1dcca_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c218ef1f_lang.css +1 -0
- package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_c0c12287_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_571b7c2f_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +1 -0
- package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +1 -0
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +1 -0
- package/ExpandRowToggle.vue_vue_type_style_index_0_scoped_b053baa6_lang.css +1 -0
- package/FieldHelpText.vue_vue_type_style_index_0_scoped_c551c20f_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +1 -0
- package/IconButtonV4.vue_vue_type_style_index_0_scoped_2ca54aa8_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_2c9debd6_lang.css +1 -0
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_ff32d111_lang.css +1 -0
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_4a87e4fd_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +1 -0
- package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_f5061530_lang.css +1 -0
- package/MultiBarMenu.vue_vue_type_style_index_0_scoped_ae2bbc6c_lang.css +1 -0
- package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +1 -0
- package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
- package/SortIcon.vue_vue_type_style_index_0_scoped_2bda5d4a_lang.css +1 -0
- package/SortOrderIcon.vue_vue_type_style_index_0_scoped_cb20f507_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_6b769df2_lang.css +1 -0
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +1 -0
- package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_bab86b0a_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_d4dc4582_lang.css +1 -0
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_13b5aebd_lang.css +1 -0
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7792f772_lang.css +1 -0
- package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
- package/TooltipV4.vue_vue_type_style_index_0_lang.css +1 -0
- package/components/appTrigger/AppTrigger.vue.js +2 -2
- package/components/appTrigger/AppTrigger.vue2.js +3 -3
- package/components/button/v3/ScrollButton.vue.js +3 -3
- package/components/button/v3/ScrollButton.vue2.js +3 -3
- package/components/button/v4/IconButtonV4.vue.d.ts +66 -0
- package/components/button/v4/IconButtonV4.vue.js +7 -0
- package/components/button/v4/IconButtonV4.vue2.js +35 -0
- package/components/button/v4/index.d.ts +190 -3
- package/components/button/v4/index.js +6 -4
- package/components/dialog/common/Dialog.common.d.ts +10 -0
- package/components/dialog/common/Dialog.common.js +57 -0
- package/components/dialog/{Dialog.vue.d.ts → v3/Dialog.vue.d.ts} +1 -1
- package/components/dialog/v3/Dialog.vue.js +7 -0
- package/components/dialog/v3/Dialog.vue2.js +137 -0
- package/components/dialog/{index.d.ts → v3/index.d.ts} +8 -8
- package/components/dialog/v3/index.js +8 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +109 -0
- package/components/dialog/v4/DialogV4.vue.js +7 -0
- package/components/dialog/v4/DialogV4.vue2.js +119 -0
- package/components/dialog/v4/index.d.ts +345 -0
- package/components/dialog/{index.js → v4/index.js} +1 -1
- package/components/dropdown/common/Dropdown.common.js +15 -15
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +40 -40
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +66 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +7 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +36 -35
- package/components/dropdown/v4/Dropdown.types.d.ts +3 -0
- package/components/dropdown/v4/Dropdown.types.js +8 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -20
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +222 -186
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +29 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +7 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +19 -0
- package/components/dropdown/v4/index.d.ts +190 -115
- package/components/dropdown/v4/index.js +14 -4
- package/components/emptyState/v3/EmptyState.vue.js +7 -0
- package/components/emptyState/{EmptyState.vue2.js → v3/EmptyState.vue2.js} +7 -7
- package/components/emptyState/{EmptyStateIcon.vue.js → v3/EmptyStateIcon.vue.js} +8 -8
- package/components/emptyState/v4/EmptyStateV4.types.d.ts +2 -0
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +56 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +7 -0
- package/components/emptyState/v4/EmptyStateV4.vue2.js +66 -0
- package/components/emptyState/v4/icons/IconError.vue.js +16 -0
- package/components/emptyState/v4/icons/IconFiles.vue.d.ts +2 -0
- package/components/emptyState/v4/icons/IconFiles.vue.js +16 -0
- package/components/emptyState/v4/icons/IconNoAccess.vue.d.ts +2 -0
- package/components/emptyState/v4/icons/IconNoAccess.vue.js +16 -0
- package/components/emptyState/v4/icons/IconNoData.vue.d.ts +2 -0
- package/components/emptyState/v4/icons/IconNoData.vue.js +16 -0
- package/components/emptyState/v4/icons/IconNoResults.vue.d.ts +2 -0
- package/components/emptyState/v4/icons/IconNoResults.vue.js +16 -0
- package/components/emptyState/v4/icons/IconSettings.vue.d.ts +2 -0
- package/components/emptyState/v4/icons/IconSettings.vue.js +16 -0
- package/components/emptyState/v4/index.d.ts +145 -0
- package/components/emptyState/v4/index.js +6 -0
- package/components/icon/v4/Icon.types.d.ts +2 -0
- package/components/icon/v4/IconV4.vue.d.ts +3 -3
- package/components/icon/v4/IconV4.vue.js +4 -4
- package/components/icon/v4/IconV4.vue2.js +27 -24
- package/components/icon/v4/index.d.ts +7 -7
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.js +2 -2
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeOption.vue2.js +3 -3
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +3 -3
- package/components/includeExclude/index.d.ts +40 -40
- package/components/input/common/Input.common.d.ts +1 -1
- package/components/input/common/Input.common.js +2 -2
- package/components/input/v3/Input.vue.js +2 -2
- package/components/input/v3/Input.vue2.js +3 -3
- package/components/input/v4/TextField.vue.d.ts +8 -3
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +81 -74
- package/components/input/v4/index.d.ts +27 -8
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +20 -20
- package/components/multibar/MultiBar.types.d.ts +6 -0
- package/components/multibar/MultiBar.vue.d.ts +65 -0
- package/components/multibar/MultiBar.vue.js +7 -0
- package/components/multibar/MultiBar.vue2.js +96 -0
- package/components/multibar/MultiBarMenu.vue.d.ts +34 -0
- package/components/multibar/MultiBarMenu.vue.js +7 -0
- package/components/multibar/MultiBarMenu.vue2.js +50 -0
- package/components/multibar/index.d.ts +77 -0
- package/components/multibar/index.js +6 -0
- package/components/popover/index.d.ts +16 -16
- package/components/search/v4/SearchV4.vue.js +2 -2
- package/components/search/v4/SearchV4.vue2.js +29 -32
- package/components/shared/FieldHelpText.vue.js +3 -3
- package/components/shared/FieldHelpText.vue2.js +21 -25
- package/components/shared/FieldLabel.vue.d.ts +1 -1
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +31 -35
- package/components/table/common/Table.common.d.ts +35 -0
- package/components/table/common/Table.common.js +114 -0
- package/components/table/{Table.types.d.ts → common/Table.types.d.ts} +7 -0
- package/components/table/v3/SortOrderIcon.vue.d.ts +2 -0
- package/components/table/v3/SortOrderIcon.vue.js +21 -0
- package/components/table/{Table.vue.d.ts → v3/Table.vue.d.ts} +2 -3
- package/components/table/v3/Table.vue.js +7 -0
- package/components/table/v3/Table.vue2.js +248 -0
- package/components/table/v3/TableHeaderSorter.vue.js +7 -0
- package/components/table/{TableHeaderSorter.vue2.js → v3/TableHeaderSorter.vue2.js} +1 -1
- package/components/table/{index.d.ts → v3/index.d.ts} +49 -49
- package/components/table/v3/index.js +10 -0
- package/components/table/v4/DataGrid.vue.d.ts +182 -0
- package/components/table/v4/DataGrid.vue.js +7 -0
- package/components/table/v4/DataGrid.vue2.js +296 -0
- package/components/table/v4/DataGridMenu.vue.d.ts +34 -0
- package/components/table/v4/DataGridMenu.vue.js +7 -0
- package/components/table/v4/DataGridMenu.vue2.js +50 -0
- package/components/table/v4/ExpandRowToggle.vue.d.ts +33 -0
- package/components/table/v4/ExpandRowToggle.vue.js +7 -0
- package/components/table/v4/ExpandRowToggle.vue2.js +24 -0
- package/components/table/v4/SortIcon.vue.d.ts +15 -0
- package/components/table/v4/SortIcon.vue.js +7 -0
- package/components/table/v4/SortIcon.vue2.js +24 -0
- package/components/table/v4/index.d.ts +601 -0
- package/components/table/v4/index.js +8 -0
- package/components/table/v4/storyUtils.d.ts +4 -0
- package/components/table-cells/common/Editable.common.d.ts +5 -0
- package/components/table-cells/common/Editable.common.js +39 -0
- package/components/table-cells/v3/Editable.vue.js +7 -0
- package/components/table-cells/v3/Editable.vue2.js +43 -0
- package/components/table-cells/{index.d.ts → v3/index.d.ts} +2 -2
- package/components/table-cells/{index.js → v3/index.js} +2 -2
- package/components/table-cells/v4/EditableV4.vue.d.ts +51 -0
- package/components/table-cells/v4/EditableV4.vue.js +7 -0
- package/components/table-cells/v4/EditableV4.vue2.js +45 -0
- package/components/table-cells/v4/index.d.ts +146 -0
- package/components/table-cells/v4/index.js +6 -0
- package/components/tabs/common/Tabs.types.d.ts +6 -0
- package/components/tabs/common/tabsCommon.d.ts +16 -0
- package/components/tabs/common/tabsCommon.js +43 -0
- package/components/tabs/{Tabs.vue.d.ts → v3/Tabs.vue.d.ts} +1 -6
- package/components/tabs/v3/Tabs.vue.js +7 -0
- package/components/tabs/v3/Tabs.vue2.js +85 -0
- package/components/tabs/{index.d.ts → v3/index.d.ts} +8 -48
- package/components/tabs/v4/TabsV4.vue.d.ts +56 -0
- package/components/tabs/v4/TabsV4.vue.js +7 -0
- package/components/tabs/v4/TabsV4.vue2.js +75 -0
- package/components/tabs/v4/index.d.ts +148 -0
- package/components/tabs/v4/index.js +6 -0
- package/components/toggle/v3/Toggle.vue.js +7 -0
- package/components/toggle/{Toggle.vue2.js → v3/Toggle.vue2.js} +17 -17
- package/components/toggle/v4/ToggleV4.vue.d.ts +98 -0
- package/components/tooltip/common/Tooltip.common.d.ts +3 -0
- package/components/tooltip/common/Tooltip.common.js +27 -0
- package/components/tooltip/v3/TextWithTitleContent.vue.js +7 -0
- package/components/tooltip/{TextWithTitleContent.vue2.js → v3/TextWithTitleContent.vue2.js} +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +5 -0
- package/components/tooltip/v3/Tooltip.vue2.js +87 -0
- package/components/tooltip/{index.js → v3/index.js} +2 -2
- package/components/tooltip/v4/TextWithTitleContent.vue.d.ts +33 -0
- package/components/tooltip/v4/TextWithTitleContent.vue.js +7 -0
- package/components/tooltip/v4/TextWithTitleContent.vue2.js +36 -0
- package/components/tooltip/v4/TooltipV4.vue.d.ts +85 -0
- package/components/tooltip/v4/TooltipV4.vue.js +67 -0
- package/components/tooltip/v4/TooltipV4.vue2.js +0 -0
- package/components/tooltip/v4/TooltipV4.vue3.js +4 -0
- package/components/tooltip/v4/index.d.ts +249 -0
- package/components/tooltip/v4/index.js +6 -0
- package/index.d.ts +4897 -333
- package/index.js +150 -153
- package/package.json +55 -19
- package/testids/index.d.ts +11 -3
- package/testids/index.js +14 -14
- package/utils/storybook-utils.d.ts +1 -0
- package/utils/string.d.ts +2 -0
- package/utils/string.js +5 -0
- package/AppTrigger.vue_vue_type_style_index_0_scoped_512ac1ab_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_4cbcfcce_lang.css +0 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_40b833a0_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_34bd23a1_lang.css +0 -1
- package/Editable.vue_vue_type_style_index_0_scoped_3b865286_lang.css +0 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_f082a371_lang.css +0 -1
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +0 -1
- package/FieldHelpText.vue_vue_type_style_index_0_scoped_d5507827_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_90f19704_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_f23078a4_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_802d4031_lang.css +0 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_1621ad67_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_daccb4bb_lang.css +0 -1
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_18847008_lang.css +0 -1
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_df79f184_lang.css +0 -1
- package/Input.vue_vue_type_style_index_0_scoped_79f436f9_lang.css +0 -1
- package/ScrollButton.vue_vue_type_style_index_0_scoped_90bacbbc_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_63f11472_lang.css +0 -1
- package/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +0 -1
- package/Table.vue_vue_type_style_index_0_scoped_096d493a_lang.css +0 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +0 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_e92a7c21_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_7aa32734_lang.css +0 -1
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7da6e1ca_lang.css +0 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_d97166d1_lang.css +0 -1
- package/components/dialog/Dialog.vue.js +0 -7
- package/components/dialog/Dialog.vue2.js +0 -178
- package/components/emptyState/EmptyState.vue.js +0 -7
- package/components/table/SortOrderIcon.vue.js +0 -21
- package/components/table/Table.vue.js +0 -7
- package/components/table/Table.vue2.js +0 -298
- package/components/table/TableHeaderSorter.vue.js +0 -7
- package/components/table/index.js +0 -8
- package/components/table-cells/Editable.vue.js +0 -7
- package/components/table-cells/Editable.vue2.js +0 -66
- package/components/tabs/Tabs.vue.js +0 -7
- package/components/tabs/Tabs.vue2.js +0 -96
- package/components/toggle/Toggle.vue.js +0 -7
- package/components/tooltip/TextWithTitleContent.vue.js +0 -7
- package/components/tooltip/Tooltip.vue.js +0 -84
- package/components/tooltip/Tooltip.vue2.js +0 -5
- /package/components/dialog/{Reason.d.ts → common/Reason.d.ts} +0 -0
- /package/components/dialog/{Reason.js → common/Reason.js} +0 -0
- /package/components/emptyState/{EmptyState.vue.d.ts → v3/EmptyState.vue.d.ts} +0 -0
- /package/components/emptyState/{EmptyStateIcon.vue.d.ts → v3/EmptyStateIcon.vue.d.ts} +0 -0
- /package/components/emptyState/{EmptyStateIcon.vue2.js → v3/EmptyStateIcon.vue2.js} +0 -0
- /package/components/emptyState/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/emptyState/{index.js → v3/index.js} +0 -0
- /package/components/{table/SortOrderIcon.vue.d.ts → emptyState/v4/icons/IconError.vue.d.ts} +0 -0
- /package/components/table/{TableContext.d.ts → common/TableContext.d.ts} +0 -0
- /package/components/table/{TableContext.js → common/TableContext.js} +0 -0
- /package/components/table/{SortOrderIcon.vue2.js → v3/SortOrderIcon.vue2.js} +0 -0
- /package/components/table/{TableHeaderSorter.vue.d.ts → v3/TableHeaderSorter.vue.d.ts} +0 -0
- /package/components/table/{codeTemplate.d.ts → v3/codeTemplate.d.ts} +0 -0
- /package/components/table-cells/{EditableContext.d.ts → common/EditableContext.d.ts} +0 -0
- /package/components/table-cells/{EditableContext.js → common/EditableContext.js} +0 -0
- /package/components/table-cells/{Editable.vue.d.ts → v3/Editable.vue.d.ts} +0 -0
- /package/components/tabs/{index.js → v3/index.js} +0 -0
- /package/components/toggle/{Toggle.vue.d.ts → v3/Toggle.vue.d.ts} +0 -0
- /package/components/toggle/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/toggle/{index.js → v3/index.js} +0 -0
- /package/components/tooltip/{Tooltip.types.d.ts → common/Tooltip.types.d.ts} +0 -0
- /package/components/tooltip/{TextWithTitleContent.vue.d.ts → v3/TextWithTitleContent.vue.d.ts} +0 -0
- /package/components/tooltip/{Tooltip.vue.d.ts → v3/Tooltip.vue.d.ts} +0 -0
- /package/components/tooltip/{index.d.ts → v3/index.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Button from './ButtonV4.vue';
|
|
2
|
-
|
|
2
|
+
import IconButton from './IconButtonV4.vue';
|
|
3
|
+
declare const ButtonTypes: () => (({
|
|
3
4
|
new (...args: any[]): {
|
|
4
5
|
$: import("vue").ComponentInternalInstance;
|
|
5
6
|
$data: {};
|
|
@@ -205,5 +206,191 @@ declare const ButtonTypes: () => ({
|
|
|
205
206
|
default?(_: {}): any;
|
|
206
207
|
loader?(_: {}): any;
|
|
207
208
|
};
|
|
208
|
-
}))
|
|
209
|
-
|
|
209
|
+
})) | ({
|
|
210
|
+
new (...args: any[]): {
|
|
211
|
+
$: import("vue").ComponentInternalInstance;
|
|
212
|
+
$data: {};
|
|
213
|
+
$props: Partial<{
|
|
214
|
+
type: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
215
|
+
size: "small" | "medium" | "large" | "extraLarge";
|
|
216
|
+
testId: string;
|
|
217
|
+
variant: "default" | "outlined";
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
iconName: string;
|
|
220
|
+
color: "default" | "error" | "primary";
|
|
221
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
222
|
+
type: {
|
|
223
|
+
type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
size: {
|
|
227
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
|
|
228
|
+
default: string;
|
|
229
|
+
};
|
|
230
|
+
testId: {
|
|
231
|
+
type: import("vue").PropType<string>;
|
|
232
|
+
default: string;
|
|
233
|
+
};
|
|
234
|
+
variant: {
|
|
235
|
+
type: import("vue").PropType<"default" | "outlined">;
|
|
236
|
+
default: string;
|
|
237
|
+
};
|
|
238
|
+
disabled: {
|
|
239
|
+
type: import("vue").PropType<boolean>;
|
|
240
|
+
default: boolean;
|
|
241
|
+
};
|
|
242
|
+
iconName: {
|
|
243
|
+
type: import("vue").PropType<string>;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
color: {
|
|
247
|
+
type: import("vue").PropType<"default" | "error" | "primary">;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "size" | "testId" | "variant" | "disabled" | "iconName" | "color">;
|
|
251
|
+
$attrs: {
|
|
252
|
+
[x: string]: unknown;
|
|
253
|
+
};
|
|
254
|
+
$refs: {
|
|
255
|
+
[x: string]: unknown;
|
|
256
|
+
};
|
|
257
|
+
$slots: Readonly<{
|
|
258
|
+
[name: string]: import("vue").Slot;
|
|
259
|
+
}>;
|
|
260
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
261
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
262
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
263
|
+
$el: any;
|
|
264
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
265
|
+
type: {
|
|
266
|
+
type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
size: {
|
|
270
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
testId: {
|
|
274
|
+
type: import("vue").PropType<string>;
|
|
275
|
+
default: string;
|
|
276
|
+
};
|
|
277
|
+
variant: {
|
|
278
|
+
type: import("vue").PropType<"default" | "outlined">;
|
|
279
|
+
default: string;
|
|
280
|
+
};
|
|
281
|
+
disabled: {
|
|
282
|
+
type: import("vue").PropType<boolean>;
|
|
283
|
+
default: boolean;
|
|
284
|
+
};
|
|
285
|
+
iconName: {
|
|
286
|
+
type: import("vue").PropType<string>;
|
|
287
|
+
default: string;
|
|
288
|
+
};
|
|
289
|
+
color: {
|
|
290
|
+
type: import("vue").PropType<"default" | "error" | "primary">;
|
|
291
|
+
default: string;
|
|
292
|
+
};
|
|
293
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
294
|
+
type: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
295
|
+
size: "small" | "medium" | "large" | "extraLarge";
|
|
296
|
+
testId: string;
|
|
297
|
+
variant: "default" | "outlined";
|
|
298
|
+
disabled: boolean;
|
|
299
|
+
iconName: string;
|
|
300
|
+
color: "default" | "error" | "primary";
|
|
301
|
+
}, {}, string> & {
|
|
302
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
303
|
+
created?: (() => void) | (() => void)[];
|
|
304
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
305
|
+
mounted?: (() => void) | (() => void)[];
|
|
306
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
307
|
+
updated?: (() => void) | (() => void)[];
|
|
308
|
+
activated?: (() => void) | (() => void)[];
|
|
309
|
+
deactivated?: (() => void) | (() => void)[];
|
|
310
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
311
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
312
|
+
destroyed?: (() => void) | (() => void)[];
|
|
313
|
+
unmounted?: (() => void) | (() => void)[];
|
|
314
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
315
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
316
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
317
|
+
};
|
|
318
|
+
$forceUpdate: () => void;
|
|
319
|
+
$nextTick: typeof import("vue").nextTick;
|
|
320
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
321
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
322
|
+
type: {
|
|
323
|
+
type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
|
|
324
|
+
default: string;
|
|
325
|
+
};
|
|
326
|
+
size: {
|
|
327
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
|
|
328
|
+
default: string;
|
|
329
|
+
};
|
|
330
|
+
testId: {
|
|
331
|
+
type: import("vue").PropType<string>;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
variant: {
|
|
335
|
+
type: import("vue").PropType<"default" | "outlined">;
|
|
336
|
+
default: string;
|
|
337
|
+
};
|
|
338
|
+
disabled: {
|
|
339
|
+
type: import("vue").PropType<boolean>;
|
|
340
|
+
default: boolean;
|
|
341
|
+
};
|
|
342
|
+
iconName: {
|
|
343
|
+
type: import("vue").PropType<string>;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
color: {
|
|
347
|
+
type: import("vue").PropType<"default" | "error" | "primary">;
|
|
348
|
+
default: string;
|
|
349
|
+
};
|
|
350
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
351
|
+
__isFragment?: never;
|
|
352
|
+
__isTeleport?: never;
|
|
353
|
+
__isSuspense?: never;
|
|
354
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
355
|
+
type: {
|
|
356
|
+
type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
|
|
357
|
+
default: string;
|
|
358
|
+
};
|
|
359
|
+
size: {
|
|
360
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
|
|
361
|
+
default: string;
|
|
362
|
+
};
|
|
363
|
+
testId: {
|
|
364
|
+
type: import("vue").PropType<string>;
|
|
365
|
+
default: string;
|
|
366
|
+
};
|
|
367
|
+
variant: {
|
|
368
|
+
type: import("vue").PropType<"default" | "outlined">;
|
|
369
|
+
default: string;
|
|
370
|
+
};
|
|
371
|
+
disabled: {
|
|
372
|
+
type: import("vue").PropType<boolean>;
|
|
373
|
+
default: boolean;
|
|
374
|
+
};
|
|
375
|
+
iconName: {
|
|
376
|
+
type: import("vue").PropType<string>;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
color: {
|
|
380
|
+
type: import("vue").PropType<"default" | "error" | "primary">;
|
|
381
|
+
default: string;
|
|
382
|
+
};
|
|
383
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
384
|
+
type: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
385
|
+
size: "small" | "medium" | "large" | "extraLarge";
|
|
386
|
+
testId: string;
|
|
387
|
+
variant: "default" | "outlined";
|
|
388
|
+
disabled: boolean;
|
|
389
|
+
iconName: string;
|
|
390
|
+
color: "default" | "error" | "primary";
|
|
391
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
392
|
+
$slots: {
|
|
393
|
+
default?(_: {}): any;
|
|
394
|
+
};
|
|
395
|
+
})))[];
|
|
396
|
+
export { Button, IconButton, ButtonTypes };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import o from "./ButtonV4.vue.js";
|
|
2
|
+
import t from "./IconButtonV4.vue.js";
|
|
3
|
+
const m = () => [o, t];
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
o as Button,
|
|
6
|
+
m as ButtonTypes,
|
|
7
|
+
t as IconButton
|
|
6
8
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Reason } from './Reason';
|
|
2
|
+
export declare const dialogCommon: (props: any, emit: any) => {
|
|
3
|
+
visible: import("vue").Ref<boolean>;
|
|
4
|
+
inlineStyle: import("vue").ComputedRef<{
|
|
5
|
+
width: any;
|
|
6
|
+
} | {
|
|
7
|
+
width?: undefined;
|
|
8
|
+
}>;
|
|
9
|
+
handleClose: (reason: Reason) => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ref as v, computed as y, watch as D } from "vue";
|
|
2
|
+
import { Reason as C } from "./Reason.js";
|
|
3
|
+
import { useTimeoutFn as f } from "@vueuse/core";
|
|
4
|
+
const O = (e, t) => {
|
|
5
|
+
const l = v(!1);
|
|
6
|
+
let n, i;
|
|
7
|
+
const a = (o) => {
|
|
8
|
+
l.value = !1, t("close", o), t("update:modelValue", !1);
|
|
9
|
+
}, u = () => {
|
|
10
|
+
l.value = !0, t("open");
|
|
11
|
+
}, c = (o) => {
|
|
12
|
+
if (n?.(), i?.(), e.closeDelay && e.closeDelay > 0) {
|
|
13
|
+
({ stop: i } = f(
|
|
14
|
+
() => a(o),
|
|
15
|
+
e.closeDelay
|
|
16
|
+
));
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
a(o);
|
|
20
|
+
}, s = () => {
|
|
21
|
+
if (i?.(), n?.(), e.openDelay && e.openDelay > 0) {
|
|
22
|
+
({ stop: n } = f(() => u(), e.openDelay));
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
u();
|
|
26
|
+
}, d = y(
|
|
27
|
+
() => e.width ? { width: e.width } : {}
|
|
28
|
+
);
|
|
29
|
+
D(
|
|
30
|
+
() => e.modelValue,
|
|
31
|
+
(o) => {
|
|
32
|
+
if (o) {
|
|
33
|
+
s();
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
l.value && c(C.Other);
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
function r(o) {
|
|
40
|
+
function m(h) {
|
|
41
|
+
h || (t("close", o), l.value = !1);
|
|
42
|
+
}
|
|
43
|
+
if (e.beforeClose) {
|
|
44
|
+
e.beforeClose(m);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
c(o);
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
visible: l,
|
|
51
|
+
inlineStyle: d,
|
|
52
|
+
handleClose: r
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
O as dialogCommon
|
|
57
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Reason } from '@/components/dialog/Reason';
|
|
1
|
+
import { Reason } from '@/components/dialog/common/Reason';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
appendToBody?: boolean;
|
|
4
4
|
content?: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Dialog.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-eeac406b"]]);
|
|
5
|
+
export {
|
|
6
|
+
a as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import "../../../Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css"; import { defineComponent as E, useCssVars as N, openBlock as s, createBlock as m, Teleport as w, createVNode as r, Transition as D, withCtx as n, unref as t, normalizeClass as f, createElementVNode as i, normalizeStyle as R, withKeys as A, renderSlot as u, createTextVNode as $, toDisplayString as h, createCommentVNode as l, createElementBlock as y } from "vue";
|
|
2
|
+
import { UseFocusTrap as S } from "@vueuse/integrations/useFocusTrap/component";
|
|
3
|
+
import k from "../../typography/Text.vue.js";
|
|
4
|
+
import { NOOP as T } from "@vue/shared";
|
|
5
|
+
import { Reason as B } from "../common/Reason.js";
|
|
6
|
+
import "../../button/v3/Button.vue.js";
|
|
7
|
+
import V from "../../button/v3/IconButton.vue.js";
|
|
8
|
+
import "../../button/v3/ScrollButton.vue.js";
|
|
9
|
+
import g from "../../icon/v3/Icon.vue.js";
|
|
10
|
+
import { DialogTestIdModifiers as o } from "../../../testids/index.js";
|
|
11
|
+
import { dialogCommon as P } from "../common/Dialog.common.js";
|
|
12
|
+
const z = ["data-testid"], p = ["data-testid"], K = ["data-testid"], F = ["data-testid"], H = { class: "placeholder" }, U = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "footer"
|
|
15
|
+
}, W = ["data-testid"], x = ["data-testid"], ee = /* @__PURE__ */ E({
|
|
16
|
+
__name: "Dialog",
|
|
17
|
+
props: {
|
|
18
|
+
appendToBody: { type: Boolean, default: !0 },
|
|
19
|
+
content: { default: null },
|
|
20
|
+
width: { default: "" },
|
|
21
|
+
closeDelay: { default: 0 },
|
|
22
|
+
openDelay: { default: 0 },
|
|
23
|
+
escapeToClose: { type: Boolean, default: !0 },
|
|
24
|
+
showBackdrop: { type: Boolean, default: !0 },
|
|
25
|
+
headerBorder: { type: Boolean, default: !0 },
|
|
26
|
+
closeOnClickOutside: { type: Boolean, default: !1 },
|
|
27
|
+
modelValue: { type: Boolean },
|
|
28
|
+
beforeClose: { type: Function, default: null },
|
|
29
|
+
title: { default: "" },
|
|
30
|
+
showCloseButton: { type: Boolean, default: !0 },
|
|
31
|
+
themeClass: { default: "" },
|
|
32
|
+
testId: { default: "" }
|
|
33
|
+
},
|
|
34
|
+
emits: ["update:modelValue", "open", "close"],
|
|
35
|
+
setup(e, { emit: I }) {
|
|
36
|
+
const O = e;
|
|
37
|
+
N((d) => ({
|
|
38
|
+
"639c24b4": e.width
|
|
39
|
+
}));
|
|
40
|
+
const { visible: b, inlineStyle: v, handleClose: c } = P(O, I);
|
|
41
|
+
return (d, a) => (s(), m(w, {
|
|
42
|
+
to: "body",
|
|
43
|
+
disabled: !e.appendToBody
|
|
44
|
+
}, [
|
|
45
|
+
r(D, null, {
|
|
46
|
+
default: n(() => [
|
|
47
|
+
t(b) ? (s(), m(t(S), {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: f(["container", e.themeClass])
|
|
50
|
+
}, {
|
|
51
|
+
default: n(() => [
|
|
52
|
+
i("div", {
|
|
53
|
+
class: "modal",
|
|
54
|
+
style: R(t(v)),
|
|
55
|
+
"data-testid": `${e.testId}-${t(o).WRAPPER}`,
|
|
56
|
+
onKeydown: a[1] || (a[1] = A((C) => e.escapeToClose ? t(c)(t(B).Escape) : t(T)(), ["esc"]))
|
|
57
|
+
}, [
|
|
58
|
+
i("header", {
|
|
59
|
+
class: f(["header", { "header--bordered": e.headerBorder }]),
|
|
60
|
+
"data-testid": `${e.testId}-${t(o).HEADER}`
|
|
61
|
+
}, [
|
|
62
|
+
e.headerBorder ? u(d.$slots, "header", { key: 0 }, () => [
|
|
63
|
+
r(k, { strong: "" }, {
|
|
64
|
+
default: n(() => [
|
|
65
|
+
$(h(e.title), 1)
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
})
|
|
69
|
+
], !0) : l("", !0),
|
|
70
|
+
e.showCloseButton ? (s(), m(t(V), {
|
|
71
|
+
key: 1,
|
|
72
|
+
class: "button close-button",
|
|
73
|
+
size: "md",
|
|
74
|
+
theme: "secondary",
|
|
75
|
+
variant: "colorized",
|
|
76
|
+
"icon-name": "close",
|
|
77
|
+
"data-testid": `${e.testId}-${t(o).ACTION_CLOSE}`,
|
|
78
|
+
onClick: a[0] || (a[0] = (C) => t(c)(t(B).CloseButton))
|
|
79
|
+
}, {
|
|
80
|
+
default: n(() => [
|
|
81
|
+
r(g, {
|
|
82
|
+
"font-size": "md",
|
|
83
|
+
name: "close"
|
|
84
|
+
})
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["data-testid"])) : l("", !0)
|
|
88
|
+
], 10, p),
|
|
89
|
+
e.headerBorder ? l("", !0) : (s(), y("div", {
|
|
90
|
+
key: 0,
|
|
91
|
+
class: "header--secondary",
|
|
92
|
+
"data-testid": `${e.testId}-${t(o).HEADER_SECONDARY}`
|
|
93
|
+
}, [
|
|
94
|
+
u(d.$slots, "header", {}, () => [
|
|
95
|
+
r(k, { strong: "" }, {
|
|
96
|
+
default: n(() => [
|
|
97
|
+
$(h(e.title), 1)
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
})
|
|
101
|
+
], !0)
|
|
102
|
+
], 8, K)),
|
|
103
|
+
i("div", {
|
|
104
|
+
class: f(["content", { "content--bordered": e.headerBorder }]),
|
|
105
|
+
"data-testid": `${e.testId}-${t(o).CONTENT}`
|
|
106
|
+
}, [
|
|
107
|
+
u(d.$slots, "default", {}, () => [
|
|
108
|
+
i("div", H, h(e.content), 1)
|
|
109
|
+
], !0)
|
|
110
|
+
], 10, F),
|
|
111
|
+
d.$slots.footer ? (s(), y("footer", U, [
|
|
112
|
+
i("div", {
|
|
113
|
+
class: "action-buttons",
|
|
114
|
+
"data-testid": `${e.testId}-${t(o).ACTION_BUTTONS_WRAPPER}`
|
|
115
|
+
}, [
|
|
116
|
+
u(d.$slots, "footer", {}, void 0, !0)
|
|
117
|
+
], 8, W)
|
|
118
|
+
])) : l("", !0)
|
|
119
|
+
], 44, z),
|
|
120
|
+
e.showBackdrop ? (s(), y("div", {
|
|
121
|
+
key: 0,
|
|
122
|
+
class: "backdrop",
|
|
123
|
+
"data-testid": `${e.testId}-${t(o).BACKDROP}`,
|
|
124
|
+
onClick: a[2] || (a[2] = (C) => e.closeOnClickOutside ? t(c)(t(B).Backdrop) : t(T)())
|
|
125
|
+
}, null, 8, x)) : l("", !0)
|
|
126
|
+
]),
|
|
127
|
+
_: 3
|
|
128
|
+
}, 8, ["class"])) : l("", !0)
|
|
129
|
+
]),
|
|
130
|
+
_: 3
|
|
131
|
+
})
|
|
132
|
+
], 8, ["disabled"]));
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
export {
|
|
136
|
+
ee as default
|
|
137
|
+
};
|
|
@@ -79,7 +79,7 @@ declare const DialogTypes: () => ({
|
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
81
|
}>> & {
|
|
82
|
-
onClose?: (reason: import("
|
|
82
|
+
onClose?: (reason: import("../common/Reason").Reason) => any;
|
|
83
83
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
84
84
|
onOpen?: () => any;
|
|
85
85
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "themeClass" | "width" | "testId" | "content" | "appendToBody" | "closeDelay" | "openDelay" | "escapeToClose" | "showBackdrop" | "headerBorder" | "closeOnClickOutside" | "beforeClose" | "showCloseButton">;
|
|
@@ -94,7 +94,7 @@ declare const DialogTypes: () => ({
|
|
|
94
94
|
}>;
|
|
95
95
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
96
96
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
97
|
-
$emit: ((event: "close", reason: import("
|
|
97
|
+
$emit: ((event: "close", reason: import("../common/Reason").Reason) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void);
|
|
98
98
|
$el: any;
|
|
99
99
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
100
100
|
title: {
|
|
@@ -158,13 +158,13 @@ declare const DialogTypes: () => ({
|
|
|
158
158
|
default: boolean;
|
|
159
159
|
};
|
|
160
160
|
}>> & {
|
|
161
|
-
onClose?: (reason: import("
|
|
161
|
+
onClose?: (reason: import("../common/Reason").Reason) => any;
|
|
162
162
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
163
163
|
onOpen?: () => any;
|
|
164
164
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
165
165
|
"update:modelValue": (value: boolean) => void;
|
|
166
166
|
open: () => void;
|
|
167
|
-
close: (reason: import("
|
|
167
|
+
close: (reason: import("../common/Reason").Reason) => void;
|
|
168
168
|
}, string, {
|
|
169
169
|
title: string;
|
|
170
170
|
themeClass: string;
|
|
@@ -262,7 +262,7 @@ declare const DialogTypes: () => ({
|
|
|
262
262
|
default: boolean;
|
|
263
263
|
};
|
|
264
264
|
}>> & {
|
|
265
|
-
onClose?: (reason: import("
|
|
265
|
+
onClose?: (reason: import("../common/Reason").Reason) => any;
|
|
266
266
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
267
267
|
onOpen?: () => any;
|
|
268
268
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -331,13 +331,13 @@ declare const DialogTypes: () => ({
|
|
|
331
331
|
default: boolean;
|
|
332
332
|
};
|
|
333
333
|
}>> & {
|
|
334
|
-
onClose?: (reason: import("
|
|
334
|
+
onClose?: (reason: import("../common/Reason").Reason) => any;
|
|
335
335
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
336
336
|
onOpen?: () => any;
|
|
337
337
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
338
338
|
"update:modelValue": (value: boolean) => void;
|
|
339
339
|
open: () => void;
|
|
340
|
-
close: (reason: import("
|
|
340
|
+
close: (reason: import("../common/Reason").Reason) => void;
|
|
341
341
|
}, string, {
|
|
342
342
|
title: string;
|
|
343
343
|
themeClass: string;
|
|
@@ -362,4 +362,4 @@ declare const DialogTypes: () => ({
|
|
|
362
362
|
}))[];
|
|
363
363
|
export { default as Dialog } from './Dialog.vue';
|
|
364
364
|
export { DialogTypes };
|
|
365
|
-
export * from '
|
|
365
|
+
export * from '../common/Reason';
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Reason } from '@/components/dialog/common/Reason';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
content?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
appendToBody?: boolean;
|
|
8
|
+
size?: "small" | "medium" | "extraSmall";
|
|
9
|
+
showBackdrop?: boolean;
|
|
10
|
+
closeDelay?: number;
|
|
11
|
+
openDelay?: number;
|
|
12
|
+
escapeToClose?: boolean;
|
|
13
|
+
closeOnClickOutside?: boolean;
|
|
14
|
+
beforeClose?: (show: () => void) => void;
|
|
15
|
+
showCloseButton?: boolean;
|
|
16
|
+
testId?: string;
|
|
17
|
+
}>, {
|
|
18
|
+
content: any;
|
|
19
|
+
title: string;
|
|
20
|
+
subtitle: string;
|
|
21
|
+
size: string;
|
|
22
|
+
appendToBody: boolean;
|
|
23
|
+
showBackdrop: boolean;
|
|
24
|
+
openDelay: number;
|
|
25
|
+
closeDelay: number;
|
|
26
|
+
closeOnClickOutside: boolean;
|
|
27
|
+
showCloseButton: boolean;
|
|
28
|
+
escapeToClose: boolean;
|
|
29
|
+
beforeClose: any;
|
|
30
|
+
testId: string;
|
|
31
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (value: boolean) => void;
|
|
33
|
+
open: () => void;
|
|
34
|
+
close: (reason: Reason) => void;
|
|
35
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
36
|
+
modelValue: boolean;
|
|
37
|
+
content?: string;
|
|
38
|
+
title?: string;
|
|
39
|
+
subtitle?: string;
|
|
40
|
+
appendToBody?: boolean;
|
|
41
|
+
size?: "small" | "medium" | "extraSmall";
|
|
42
|
+
showBackdrop?: boolean;
|
|
43
|
+
closeDelay?: number;
|
|
44
|
+
openDelay?: number;
|
|
45
|
+
escapeToClose?: boolean;
|
|
46
|
+
closeOnClickOutside?: boolean;
|
|
47
|
+
beforeClose?: (show: () => void) => void;
|
|
48
|
+
showCloseButton?: boolean;
|
|
49
|
+
testId?: string;
|
|
50
|
+
}>, {
|
|
51
|
+
content: any;
|
|
52
|
+
title: string;
|
|
53
|
+
subtitle: string;
|
|
54
|
+
size: string;
|
|
55
|
+
appendToBody: boolean;
|
|
56
|
+
showBackdrop: boolean;
|
|
57
|
+
openDelay: number;
|
|
58
|
+
closeDelay: number;
|
|
59
|
+
closeOnClickOutside: boolean;
|
|
60
|
+
showCloseButton: boolean;
|
|
61
|
+
escapeToClose: boolean;
|
|
62
|
+
beforeClose: any;
|
|
63
|
+
testId: string;
|
|
64
|
+
}>>> & {
|
|
65
|
+
onClose?: (reason: Reason) => any;
|
|
66
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
67
|
+
onOpen?: () => any;
|
|
68
|
+
}, {
|
|
69
|
+
title: string;
|
|
70
|
+
size: "small" | "medium" | "extraSmall";
|
|
71
|
+
testId: string;
|
|
72
|
+
content: string;
|
|
73
|
+
subtitle: string;
|
|
74
|
+
appendToBody: boolean;
|
|
75
|
+
closeDelay: number;
|
|
76
|
+
openDelay: number;
|
|
77
|
+
escapeToClose: boolean;
|
|
78
|
+
showBackdrop: boolean;
|
|
79
|
+
closeOnClickOutside: boolean;
|
|
80
|
+
beforeClose: (show: () => void) => void;
|
|
81
|
+
showCloseButton: boolean;
|
|
82
|
+
}>, {
|
|
83
|
+
header?(_: {}): any;
|
|
84
|
+
default?(_: {}): any;
|
|
85
|
+
footer?(_: {}): any;
|
|
86
|
+
}>;
|
|
87
|
+
export default _default;
|
|
88
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
89
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
90
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
91
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
92
|
+
} : {
|
|
93
|
+
type: import('vue').PropType<T[K]>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
type __VLS_WithDefaults<P, D> = {
|
|
98
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
99
|
+
default: D[K];
|
|
100
|
+
}> : P[K];
|
|
101
|
+
};
|
|
102
|
+
type __VLS_Prettify<T> = {
|
|
103
|
+
[K in keyof T]: T[K];
|
|
104
|
+
} & {};
|
|
105
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./DialogV4.vue2.js";
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DialogV4.vue_vue_type_style_index_0_scoped_c0c12287_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c0c12287"]]);
|
|
5
|
+
export {
|
|
6
|
+
t as default
|
|
7
|
+
};
|