@powerhousedao/design-system 6.2.3-dev.9 → 6.2.3-staging.0
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/dist/{Removed-CO_5C1ce.js → Removed-OP4eTrAN.js} +1 -1
- package/dist/{Removed-CO_5C1ce.js.map → Removed-OP4eTrAN.js.map} +1 -1
- package/dist/{Tabler-FjvVqX5a.js → Tabler-rjLxlzUV.js} +1 -1
- package/dist/{Tabler-FjvVqX5a.js.map → Tabler-rjLxlzUV.js.map} +1 -1
- package/dist/button-BYcXvZXr.d.ts +13 -0
- package/dist/button-BYcXvZXr.d.ts.map +1 -0
- package/dist/{character-counter-BWoglM2P.d.ts → character-counter-BZmZZCHN.d.ts} +2 -1
- package/dist/character-counter-BZmZZCHN.d.ts.map +1 -0
- package/dist/{checkbox-CGBtXQnI.d.ts → checkbox-BmTXBcCE.d.ts} +4 -4
- package/dist/checkbox-BmTXBcCE.d.ts.map +1 -0
- package/dist/{checkbox-base-CZo-4eL0.d.ts → checkbox-base-Bm0GPWgm.d.ts} +2 -2
- package/dist/checkbox-base-Bm0GPWgm.d.ts.map +1 -0
- package/dist/{command-tFzjgzge.d.ts → command-DHHTsHfH.d.ts} +5 -5
- package/dist/command-DHHTsHfH.d.ts.map +1 -0
- package/dist/connect/components/toast/toast.d.ts +8 -10
- package/dist/connect/components/toast/toast.d.ts.map +1 -1
- package/dist/connect/components/toast/toast.js +4 -4
- package/dist/connect/components/toast/toast.js.map +1 -1
- package/dist/connect/index.d.ts +376 -355
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +779 -151
- package/dist/connect/index.js.map +1 -1
- package/dist/{content-BHWIqmio.d.ts → content-BMXLcwWY.d.ts} +3 -3
- package/dist/content-BMXLcwWY.d.ts.map +1 -0
- package/dist/{enum-field-CwZVs3Ux.d.ts → enum-field-qgV9wsyI.d.ts} +4 -4
- package/dist/enum-field-qgV9wsyI.d.ts.map +1 -0
- package/dist/{form-CKRKn0TQ.d.ts → form-Brj5AQNr.d.ts} +3 -4
- package/dist/form-Brj5AQNr.d.ts.map +1 -0
- package/dist/{form-description-CYkcMEzm.d.ts → form-description-DJrDJzJi.d.ts} +2 -1
- package/dist/form-description-DJrDJzJi.d.ts.map +1 -0
- package/dist/{form-group-C8kL6pdZ.d.ts → form-group-Ckd28lpW.d.ts} +2 -1
- package/dist/form-group-Ckd28lpW.d.ts.map +1 -0
- package/dist/{form-label-b6nQi0XO.d.ts → form-label-C8ghd_lR.d.ts} +2 -1
- package/dist/form-label-C8ghd_lR.d.ts.map +1 -0
- package/dist/{form-message-Dq72nBXz.d.ts → form-message-CnKUkvlj.d.ts} +2 -1
- package/dist/form-message-CnKUkvlj.d.ts.map +1 -0
- package/dist/form-server-error-message-D2tFtDZ0.d.ts +6 -0
- package/dist/form-server-error-message-D2tFtDZ0.d.ts.map +1 -0
- package/dist/{icon-C4QOpsdI.js → icon-01W_S_9A.js} +3 -3
- package/dist/{icon-C4QOpsdI.js.map → icon-01W_S_9A.js.map} +1 -1
- package/dist/{id-autocomplete-C-hwriS5.d.ts → id-autocomplete-CHvGhffo.d.ts} +3 -3
- package/dist/id-autocomplete-CHvGhffo.d.ts.map +1 -0
- package/dist/{id-autocomplete-input-container-DFEyPh5p.d.ts → id-autocomplete-input-container-BqRQGpcs.d.ts} +3 -3
- package/dist/id-autocomplete-input-container-BqRQGpcs.d.ts.map +1 -0
- package/dist/{id-autocomplete-list-EzLpF23C.d.ts → id-autocomplete-list-ChQsiJDg.d.ts} +3 -3
- package/dist/id-autocomplete-list-ChQsiJDg.d.ts.map +1 -0
- package/dist/{id-autocomplete-list-option-CB5B07Hi.d.ts → id-autocomplete-list-option-MsqKeLXD.d.ts} +3 -3
- package/dist/id-autocomplete-list-option-MsqKeLXD.d.ts.map +1 -0
- package/dist/{index--hDSfvJT.d.ts → index-C05uhexJ.d.ts} +14 -45
- package/dist/index-C05uhexJ.d.ts.map +1 -0
- package/dist/index-CpSqVZKp.d.ts +2 -0
- package/dist/index-D6Zk5OLV.d.ts +4 -0
- package/dist/index-DSknqh8u.d.ts +30 -0
- package/dist/index-DU-WgcAh.d.ts +4 -0
- package/dist/index-DaRBrjZI.d.ts +3 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/{input-BpEQjaWV.d.ts → input-WDvjJFqf.d.ts} +2 -2
- package/dist/input-WDvjJFqf.d.ts.map +1 -0
- package/dist/json-viewer-Kg0IBIt-.d.ts +7 -0
- package/dist/json-viewer-Kg0IBIt-.d.ts.map +1 -0
- package/dist/{message-list-C4mPpBBa.d.ts → message-list-D8d2ltLd.d.ts} +3 -3
- package/dist/message-list-D8d2ltLd.d.ts.map +1 -0
- package/dist/{popover-XSBOuSih.d.ts → popover-TvQxa0RU.d.ts} +2 -2
- package/dist/popover-TvQxa0RU.d.ts.map +1 -0
- package/dist/{radio-eL0Oy86J.d.ts → radio-CTS4WsNy.d.ts} +2 -2
- package/dist/radio-CTS4WsNy.d.ts.map +1 -0
- package/dist/{radio-group-Bkli6nUz.d.ts → radio-group-CROIwgYz.d.ts} +2 -2
- package/dist/radio-group-CROIwgYz.d.ts.map +1 -0
- package/dist/{radio-group-field-wlqeiLN3.d.ts → radio-group-field-CjX_Zt0C.d.ts} +5 -6
- package/dist/radio-group-field-CjX_Zt0C.d.ts.map +1 -0
- package/dist/{search-autocomplete-BJJkrZ1i.d.ts → search-autocomplete-COvFRZIb.d.ts} +3 -3
- package/dist/search-autocomplete-COvFRZIb.d.ts.map +1 -0
- package/dist/{select-field-C97QIhUL.d.ts → select-field-BuXjM43L.d.ts} +5 -5
- package/dist/select-field-BuXjM43L.d.ts.map +1 -0
- package/dist/{selected-content-CGsK5PR4.d.ts → selected-content-C49jmTLU.d.ts} +3 -3
- package/dist/selected-content-C49jmTLU.d.ts.map +1 -0
- package/dist/{sidebar-DOoE4krt.d.ts → sidebar-4juLhREX.d.ts} +3 -3
- package/dist/sidebar-4juLhREX.d.ts.map +1 -0
- package/dist/{sidebar-provider-C2eyz9TL.d.ts → sidebar-provider-CMG6WQWo.d.ts} +4 -8
- package/dist/sidebar-provider-CMG6WQWo.d.ts.map +1 -0
- package/dist/splitted-input-diff-DBkgDh9Q.d.ts +11 -0
- package/dist/splitted-input-diff-DBkgDh9Q.d.ts.map +1 -0
- package/dist/{src-CVV6HzQZ.js → src-CrUksCLW.js} +17 -14
- package/dist/{src-CVV6HzQZ.js.map → src-CrUksCLW.js.map} +1 -1
- package/dist/text-field-3j4fLJ-7.d.ts +9 -0
- package/dist/text-field-3j4fLJ-7.d.ts.map +1 -0
- package/dist/text-input-diff-B7iFyzTK.d.ts +12 -0
- package/dist/text-input-diff-B7iFyzTK.d.ts.map +1 -0
- package/dist/{text-input-8zXIWHLi.d.ts → text-input-tkqggbWx.d.ts} +5 -6
- package/dist/text-input-tkqggbWx.d.ts.map +1 -0
- package/dist/{tooltip-BxS9HpML.d.ts → tooltip-B4uQJPUm.d.ts} +3 -4
- package/dist/tooltip-B4uQJPUm.d.ts.map +1 -0
- package/dist/{types-Bsn62tJB.d.ts → types-BNTIrhb5.d.ts} +2 -1
- package/dist/types-BNTIrhb5.d.ts.map +1 -0
- package/dist/{types-BTq-St7H.d.ts → types-CpFPFB1a.d.ts} +2 -1
- package/dist/types-CpFPFB1a.d.ts.map +1 -0
- package/dist/{types-C04Q_Fan.d.ts → types-D4CirgNk.d.ts} +2 -2
- package/dist/types-D4CirgNk.d.ts.map +1 -0
- package/dist/{types-CNbvfWjh.d.ts → types-DDSmPhHp.d.ts} +3 -3
- package/dist/types-DDSmPhHp.d.ts.map +1 -0
- package/dist/ui/components/button/button.d.ts +3 -2
- package/dist/ui/components/button/button.js +1 -1
- package/dist/ui/components/button/button.js.map +1 -1
- package/dist/ui/components/character-counter/character-counter.d.ts +3 -2
- package/dist/ui/components/character-counter/character-counter.js.map +1 -1
- package/dist/ui/components/checkbox/checkbox-base.d.ts +3 -2
- package/dist/ui/components/checkbox/checkbox-base.js +1 -1
- package/dist/ui/components/checkbox/checkbox-base.js.map +1 -1
- package/dist/ui/components/checkbox/checkbox.d.ts +3 -2
- package/dist/ui/components/checkbox/checkbox.js +1 -1
- package/dist/ui/components/checkbox/checkbox.js.map +1 -1
- package/dist/ui/components/command/command.d.ts +3 -2
- package/dist/ui/components/command/command.js +8 -8
- package/dist/ui/components/command/command.js.map +1 -1
- package/dist/ui/components/enum-field/enum-field.d.ts +3 -2
- package/dist/ui/components/enum-field/enum-field.js +1 -1
- package/dist/ui/components/enum-field/enum-field.js.map +1 -1
- package/dist/ui/components/enum-field/types.d.ts +3 -2
- package/dist/ui/components/form/form.d.ts +3 -2
- package/dist/ui/components/form/form.js +1 -1
- package/dist/ui/components/form/form.js.map +1 -1
- package/dist/ui/components/form/utils.d.ts +4 -4
- package/dist/ui/components/form/utils.d.ts.map +1 -1
- package/dist/ui/components/form/utils.js.map +1 -1
- package/dist/ui/components/form-description/form-description.d.ts +3 -2
- package/dist/ui/components/form-description/form-description.js.map +1 -1
- package/dist/ui/components/form-group/form-group.d.ts +3 -2
- package/dist/ui/components/form-group/form-group.js.map +1 -1
- package/dist/ui/components/form-label/form-label.d.ts +3 -2
- package/dist/ui/components/form-label/form-label.js +3 -2
- package/dist/ui/components/form-label/form-label.js.map +1 -1
- package/dist/ui/components/form-message/form-message.d.ts +3 -2
- package/dist/ui/components/form-message/form-message.js.map +1 -1
- package/dist/ui/components/form-message/form-server-error-message.d.ts +3 -2
- package/dist/ui/components/form-message/form-server-error-message.js.map +1 -1
- package/dist/ui/components/form-message/message-list.d.ts +3 -2
- package/dist/ui/components/form-message/message-list.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.d.ts +3 -5
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.d.ts.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.js +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +2 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js +2 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete.js +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete.js.map +1 -1
- package/dist/ui/components/id-autocomplete/types.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/use-id-autocomplete.js.map +1 -1
- package/dist/ui/components/index.d.ts +42 -40
- package/dist/ui/components/input/input.d.ts +3 -2
- package/dist/ui/components/input/input.js +1 -1
- package/dist/ui/components/input/input.js.map +1 -1
- package/dist/ui/components/input/splitted-input-diff.d.ts +3 -2
- package/dist/ui/components/input/splitted-input-diff.js +10 -9
- package/dist/ui/components/input/splitted-input-diff.js.map +1 -1
- package/dist/ui/components/input/subcomponent/input-diff.d.ts +2 -11
- package/dist/ui/components/input/subcomponent/input-diff.d.ts.map +1 -1
- package/dist/ui/components/input/subcomponent/input-diff.js.map +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.d.ts +3 -12
- package/dist/ui/components/input/subcomponent/text-diff.d.ts.map +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.js.map +1 -1
- package/dist/ui/components/json-viewer/json-viewer.d.ts +3 -2
- package/dist/ui/components/json-viewer/json-viewer.js +1 -1
- package/dist/ui/components/json-viewer/json-viewer.js.map +1 -1
- package/dist/ui/components/popover/popover.d.ts +3 -2
- package/dist/ui/components/popover/popover.js +1 -1
- package/dist/ui/components/popover/popover.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio-group-field.d.ts +3 -2
- package/dist/ui/components/radio-group-field/radio-group-field.js +4 -3
- package/dist/ui/components/radio-group-field/radio-group-field.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio-group.d.ts +3 -2
- package/dist/ui/components/radio-group-field/radio-group.js +1 -1
- package/dist/ui/components/radio-group-field/radio-group.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio.d.ts +3 -2
- package/dist/ui/components/radio-group-field/radio.js +1 -1
- package/dist/ui/components/radio-group-field/radio.js.map +1 -1
- package/dist/ui/components/search-autocomplete/index.d.ts +6 -4
- package/dist/ui/components/search-autocomplete/search-autocomplete.d.ts +3 -2
- package/dist/ui/components/search-autocomplete/search-autocomplete.js.map +1 -1
- package/dist/ui/components/search-autocomplete/types.d.ts +3 -2
- package/dist/ui/components/search-autocomplete/use-search-autocomplete.d.ts +3 -2
- package/dist/ui/components/search-autocomplete/use-search-autocomplete.js.map +1 -1
- package/dist/ui/components/select-field/content.d.ts +3 -2
- package/dist/ui/components/select-field/content.js +1 -1
- package/dist/ui/components/select-field/content.js.map +1 -1
- package/dist/ui/components/select-field/select-field.d.ts +3 -2
- package/dist/ui/components/select-field/select-field.js +1 -1
- package/dist/ui/components/select-field/select-field.js.map +1 -1
- package/dist/ui/components/select-field/selected-content.d.ts +3 -2
- package/dist/ui/components/select-field/selected-content.js +1 -1
- package/dist/ui/components/select-field/selected-content.js.map +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +3 -4
- package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -1
- package/dist/ui/components/select-field/use-select-field.d.ts +4 -12
- package/dist/ui/components/select-field/use-select-field.d.ts.map +1 -1
- package/dist/ui/components/select-field/use-select-field.js.map +1 -1
- package/dist/ui/components/sidebar/index.d.ts +6 -4
- package/dist/ui/components/sidebar/sidebar.d.ts +3 -2
- package/dist/ui/components/sidebar/sidebar.js +1 -1
- package/dist/ui/components/sidebar/sidebar.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +2 -7
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-header.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts +3 -18
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.js +3 -3
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +2 -4
- package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +4 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +3 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +7 -8
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +2 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts +2 -8
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js +2 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts +2 -4
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts +3 -9
- package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/status-icon.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/status-icon.js.map +1 -1
- package/dist/ui/components/sidebar/types.d.ts +3 -2
- package/dist/ui/components/sidebar/types.js +1 -1
- package/dist/ui/components/sidebar/types.js.map +1 -1
- package/dist/ui/components/sidebar/use-ellipsis.d.ts +2 -2
- package/dist/ui/components/sidebar/use-ellipsis.d.ts.map +1 -1
- package/dist/ui/components/sidebar/use-ellipsis.js.map +1 -1
- package/dist/ui/components/sidebar/use-sidebar-resize.d.ts +3 -9
- package/dist/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -1
- package/dist/ui/components/sidebar/use-sidebar-resize.js.map +1 -1
- package/dist/ui/components/sidebar/utils.d.ts +10 -11
- package/dist/ui/components/sidebar/utils.d.ts.map +1 -1
- package/dist/ui/components/sidebar/utils.js.map +1 -1
- package/dist/ui/components/text-field/text-field.d.ts +3 -2
- package/dist/ui/components/text-field/text-field.js +3 -2
- package/dist/ui/components/text-field/text-field.js.map +1 -1
- package/dist/ui/components/text-input/text-input-diff.d.ts +3 -2
- package/dist/ui/components/text-input/text-input-diff.js.map +1 -1
- package/dist/ui/components/text-input/text-input.d.ts +3 -2
- package/dist/ui/components/text-input/text-input.js +1 -1
- package/dist/ui/components/text-input/text-input.js.map +1 -1
- package/dist/ui/components/text-input/types.d.ts +3 -2
- package/dist/ui/components/tooltip/tooltip.d.ts +3 -2
- package/dist/ui/components/tooltip/tooltip.js +1 -1
- package/dist/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/ui/components/types.d.ts +3 -2
- package/dist/ui/components/value-transformer/value-transformer.d.ts +3 -2
- package/dist/ui/components/value-transformer/value-transformer.js +5 -3
- package/dist/ui/components/value-transformer/value-transformer.js.map +1 -1
- package/dist/ui/components/with-field-validation/with-field-validation.d.ts +3 -2
- package/dist/ui/components/with-field-validation/with-field-validation.js +1 -1
- package/dist/ui/components/with-field-validation/with-field-validation.js.map +1 -1
- package/dist/ui/index.d.ts +44 -42
- package/dist/ui/lib/date-picker.d.ts +4 -5
- package/dist/ui/lib/date-picker.d.ts.map +1 -1
- package/dist/ui/lib/date-picker.js +2 -1
- package/dist/ui/lib/date-picker.js.map +1 -1
- package/dist/ui/lib/date-time-picker.d.ts +6 -6
- package/dist/ui/lib/date-time-picker.d.ts.map +1 -1
- package/dist/ui/lib/date-time-picker.js.map +1 -1
- package/dist/ui/lib/deep-equal.d.ts +2 -2
- package/dist/ui/lib/deep-equal.d.ts.map +1 -1
- package/dist/ui/lib/deep-equal.js.map +1 -1
- package/dist/ui/lib/index.d.ts +2 -1
- package/dist/ui/lib/is-empty.d.ts +2 -2
- package/dist/ui/lib/is-empty.d.ts.map +1 -1
- package/dist/ui/lib/is-empty.js.map +1 -1
- package/dist/ui/lib/shared-value-transformers.d.ts +3 -4
- package/dist/ui/lib/shared-value-transformers.d.ts.map +1 -1
- package/dist/ui/lib/shared-value-transformers.js.map +1 -1
- package/dist/ui/lib/types.d.ts +3 -2
- package/dist/ui/lib/value-cast.d.ts +4 -4
- package/dist/ui/lib/value-cast.d.ts.map +1 -1
- package/dist/ui/lib/value-cast.js +10 -4
- package/dist/ui/lib/value-cast.js.map +1 -1
- package/dist/ui/types.d.ts +4 -3
- package/dist/{use-id-autocomplete-By7YSChC.d.ts → use-id-autocomplete-wdw3CfYc.d.ts} +5 -16
- package/dist/use-id-autocomplete-wdw3CfYc.d.ts.map +1 -0
- package/dist/{use-search-autocomplete-IfcQ_gKh.d.ts → use-search-autocomplete-vSvcsvcB.d.ts} +5 -6
- package/dist/use-search-autocomplete-vSvcsvcB.d.ts.map +1 -0
- package/dist/{value-transformer-DQjqtNih.d.ts → value-transformer-BAD6r8Ol.d.ts} +5 -7
- package/dist/value-transformer-BAD6r8Ol.d.ts.map +1 -0
- package/dist/{with-field-validation-Di5D8vU-.d.ts → with-field-validation-Bt02MQn2.d.ts} +3 -3
- package/dist/with-field-validation-Bt02MQn2.d.ts.map +1 -0
- package/package.json +8 -9
- package/dist/button-C8doazjv.d.ts +0 -15
- package/dist/button-C8doazjv.d.ts.map +0 -1
- package/dist/character-counter-BWoglM2P.d.ts.map +0 -1
- package/dist/checkbox-CGBtXQnI.d.ts.map +0 -1
- package/dist/checkbox-base-CZo-4eL0.d.ts.map +0 -1
- package/dist/command-tFzjgzge.d.ts.map +0 -1
- package/dist/content-BHWIqmio.d.ts.map +0 -1
- package/dist/enum-field-CwZVs3Ux.d.ts.map +0 -1
- package/dist/form-CKRKn0TQ.d.ts.map +0 -1
- package/dist/form-description-CYkcMEzm.d.ts.map +0 -1
- package/dist/form-group-C8kL6pdZ.d.ts.map +0 -1
- package/dist/form-label-b6nQi0XO.d.ts.map +0 -1
- package/dist/form-message-Dq72nBXz.d.ts.map +0 -1
- package/dist/form-server-error-message-DXbaiTfF.d.ts +0 -7
- package/dist/form-server-error-message-DXbaiTfF.d.ts.map +0 -1
- package/dist/id-autocomplete-C-hwriS5.d.ts.map +0 -1
- package/dist/id-autocomplete-input-container-DFEyPh5p.d.ts.map +0 -1
- package/dist/id-autocomplete-list-EzLpF23C.d.ts.map +0 -1
- package/dist/id-autocomplete-list-option-CB5B07Hi.d.ts.map +0 -1
- package/dist/index--hDSfvJT.d.ts.map +0 -1
- package/dist/index--okzibnx.d.ts +0 -1
- package/dist/index-BLwMeReG.d.ts +0 -1
- package/dist/index-Cw3C7_1f.d.ts +0 -1
- package/dist/index-E7Wvm5uX.d.ts +0 -1
- package/dist/index-J3R2mDFQ.d.ts +0 -1
- package/dist/input-BpEQjaWV.d.ts.map +0 -1
- package/dist/json-viewer-DaTgmzkS.d.ts +0 -8
- package/dist/json-viewer-DaTgmzkS.d.ts.map +0 -1
- package/dist/message-list-C4mPpBBa.d.ts.map +0 -1
- package/dist/popover-XSBOuSih.d.ts.map +0 -1
- package/dist/radio-eL0Oy86J.d.ts.map +0 -1
- package/dist/radio-group-Bkli6nUz.d.ts.map +0 -1
- package/dist/radio-group-field-wlqeiLN3.d.ts.map +0 -1
- package/dist/search-autocomplete-BJJkrZ1i.d.ts.map +0 -1
- package/dist/select-field-C97QIhUL.d.ts.map +0 -1
- package/dist/selected-content-CGsK5PR4.d.ts.map +0 -1
- package/dist/sidebar-DOoE4krt.d.ts.map +0 -1
- package/dist/sidebar-provider-C2eyz9TL.d.ts.map +0 -1
- package/dist/splitted-input-diff-CwPedpov.d.ts +0 -18
- package/dist/splitted-input-diff-CwPedpov.d.ts.map +0 -1
- package/dist/text-field-DSInH67J.d.ts +0 -10
- package/dist/text-field-DSInH67J.d.ts.map +0 -1
- package/dist/text-input-8zXIWHLi.d.ts.map +0 -1
- package/dist/text-input-diff-B0vLSKQm.d.ts +0 -20
- package/dist/text-input-diff-B0vLSKQm.d.ts.map +0 -1
- package/dist/tooltip-BxS9HpML.d.ts.map +0 -1
- package/dist/types-BTq-St7H.d.ts.map +0 -1
- package/dist/types-Bsn62tJB.d.ts.map +0 -1
- package/dist/types-C04Q_Fan.d.ts.map +0 -1
- package/dist/types-CNbvfWjh.d.ts.map +0 -1
- package/dist/use-id-autocomplete-By7YSChC.d.ts.map +0 -1
- package/dist/use-search-autocomplete-IfcQ_gKh.d.ts.map +0 -1
- package/dist/value-transformer-DQjqtNih.d.ts.map +0 -1
- package/dist/with-field-validation-Di5D8vU-.d.ts.map +0 -1
package/dist/connect/index.d.ts
CHANGED
|
@@ -1,93 +1,119 @@
|
|
|
1
|
-
import { D as Size, F as SidebarHeader, P as SidebarFooter, S as SelectOption, T as DivProps, X as Icon, Y as Modal, _t as SUCCESS, et as IconName, ft as AppOptions, gt as MISSING, ht as INITIAL_SYNC, mt as ERROR, pt as CONFLICT, ut as SyncStatus$1, vt as SYNCING, yt as syncStatuses } from "../index
|
|
2
|
-
import
|
|
1
|
+
import { D as Size, F as SidebarHeader, P as SidebarFooter, S as SelectOption, T as DivProps, X as Icon, Y as Modal, _t as SUCCESS, et as IconName, ft as AppOptions, gt as MISSING, ht as INITIAL_SYNC, mt as ERROR, pt as CONFLICT, ut as SyncStatus$1, vt as SYNCING, yt as syncStatuses } from "../index-C05uhexJ.js";
|
|
2
|
+
import "../index-DaRBrjZI.js";
|
|
3
3
|
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, FC, HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
-
import * as _radix_ui_react_tooltip0 from "@radix-ui/react-tooltip";
|
|
6
4
|
import { TooltipProps } from "@radix-ui/react-tooltip";
|
|
7
5
|
import { SubmitHandler } from "react-hook-form";
|
|
8
|
-
import { ConflictResolution, DocumentTypeIcon, DriveSystemInfoState, FileUploadProgress, IChannel, Job, RebuildResult, Remote, ValidationResult } from "@powerhousedao/reactor-browser";
|
|
6
|
+
import { ConflictResolution, DocumentTypeIcon, DriveSystemInfoState, FileUploadProgress, IChannel, IPeerAgreement, Job, RebuildResult, Remote, RemotePeer, SyncHold, ValidationResult } from "@powerhousedao/reactor-browser";
|
|
9
7
|
import Select from "react-select";
|
|
10
8
|
import { Operation, PHDocument } from "@powerhousedao/shared/document-model";
|
|
11
9
|
import { JsonViewProps } from "@uiw/react-json-view";
|
|
12
10
|
import { DocumentDriveDocument, FileNode, FolderNode, Node, SharingType } from "@powerhousedao/shared/document-drive";
|
|
13
11
|
import { ArrayElement, Simplify } from "type-fest";
|
|
14
12
|
import { RegistryPackage, RegistryPackageList } from "@powerhousedao/shared/registry";
|
|
15
|
-
|
|
16
13
|
//#region src/connect/components/account-popover/account-popover.d.ts
|
|
17
|
-
interface AccountPopoverProps {
|
|
14
|
+
export interface AccountPopoverProps {
|
|
18
15
|
children: ReactNode;
|
|
19
16
|
content: ReactNode;
|
|
20
17
|
open?: boolean;
|
|
21
18
|
onOpenChange?: (open: boolean) => void;
|
|
22
19
|
}
|
|
23
|
-
declare const AccountPopover: ({
|
|
24
|
-
children,
|
|
25
|
-
content,
|
|
26
|
-
open,
|
|
27
|
-
onOpenChange
|
|
28
|
-
}: AccountPopoverProps) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
export declare const AccountPopover: ({ children, content, open, onOpenChange }: AccountPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
21
|
//#endregion
|
|
30
22
|
//#region src/connect/components/account-popover/account-popover-login.d.ts
|
|
31
|
-
interface AccountPopoverLoginProps {
|
|
23
|
+
export interface AccountPopoverLoginProps {
|
|
32
24
|
onLogin: (() => void) | undefined;
|
|
33
25
|
}
|
|
34
|
-
declare const AccountPopoverLogin: FC<AccountPopoverLoginProps>;
|
|
26
|
+
export declare const AccountPopoverLogin: FC<AccountPopoverLoginProps>;
|
|
35
27
|
//#endregion
|
|
36
28
|
//#region src/connect/components/renown-login/renown-login-methods.d.ts
|
|
37
|
-
interface RenownLoginOption {
|
|
29
|
+
export interface RenownLoginOption {
|
|
38
30
|
id: string;
|
|
39
31
|
label: string;
|
|
40
32
|
onSelect: () => void;
|
|
41
33
|
lastUsed?: boolean;
|
|
42
34
|
}
|
|
43
|
-
interface RenownLoginMethodsProps {
|
|
35
|
+
export interface RenownLoginMethodsProps {
|
|
44
36
|
methods: RenownLoginOption[];
|
|
45
37
|
loading?: boolean;
|
|
46
38
|
error?: string | null;
|
|
47
39
|
className?: string;
|
|
48
40
|
}
|
|
49
|
-
declare const RenownLoginMethods: FC<RenownLoginMethodsProps>;
|
|
41
|
+
export declare const RenownLoginMethods: FC<RenownLoginMethodsProps>;
|
|
50
42
|
//#endregion
|
|
51
43
|
//#region src/connect/components/animated-loader/animated-loader.d.ts
|
|
52
|
-
type Props$
|
|
44
|
+
type Props$10 = ComponentPropsWithoutRef<"video"> & {
|
|
53
45
|
readonly size?: Size;
|
|
54
46
|
};
|
|
55
|
-
declare function AnimatedLoader(props: Props$
|
|
47
|
+
export declare function AnimatedLoader(props: Props$10): import("react/jsx-runtime").JSX.Element;
|
|
56
48
|
//#endregion
|
|
57
49
|
//#region src/connect/components/breadcrumbs/breadcrumbs.d.ts
|
|
58
|
-
declare function Breadcrumbs():
|
|
59
|
-
type BreadcrumbProps = {
|
|
50
|
+
export declare function Breadcrumbs(): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export type BreadcrumbProps = {
|
|
60
52
|
name: string;
|
|
61
53
|
id: string | undefined;
|
|
62
54
|
parentId: string | null | undefined;
|
|
63
55
|
onClick: () => void;
|
|
64
56
|
};
|
|
65
|
-
declare function Breadcrumb(props: BreadcrumbProps):
|
|
57
|
+
export declare function Breadcrumb(props: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/connect/components/catch-up-inspector/catch-up-inspector.d.ts
|
|
60
|
+
export type WatermarkStatus = {
|
|
61
|
+
head: number;
|
|
62
|
+
settledThrough: number;
|
|
63
|
+
waitingOn: string[];
|
|
64
|
+
stalledSinceUtcMs?: number;
|
|
65
|
+
};
|
|
66
|
+
export type SweepBlockedAt = {
|
|
67
|
+
ordinal: number;
|
|
68
|
+
documentId: string;
|
|
69
|
+
scope: string;
|
|
70
|
+
branch: string;
|
|
71
|
+
type: string;
|
|
72
|
+
error: string;
|
|
73
|
+
};
|
|
74
|
+
export type CatchUpConsumerStatus = {
|
|
75
|
+
consumerId: string;
|
|
76
|
+
thread: "host" | "projection";
|
|
77
|
+
appliedThrough: number;
|
|
78
|
+
trackedAbove: number;
|
|
79
|
+
blockedAt?: SweepBlockedAt;
|
|
80
|
+
lastAdvanceUtcMs: number;
|
|
81
|
+
};
|
|
82
|
+
export type CatchUpStatus = {
|
|
83
|
+
watermark: WatermarkStatus;
|
|
84
|
+
consumers: CatchUpConsumerStatus[];
|
|
85
|
+
};
|
|
86
|
+
export type CatchUpInspectorProps = {
|
|
87
|
+
readonly status: CatchUpStatus | undefined;
|
|
88
|
+
readonly onRefresh: () => Promise<void>;
|
|
89
|
+
readonly onSweepNow: () => Promise<void>;
|
|
90
|
+
};
|
|
91
|
+
export declare function CatchUpInspector({ status, onRefresh, onSweepNow }: CatchUpInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
66
92
|
//#endregion
|
|
67
93
|
//#region src/connect/components/combobox/combobox.d.ts
|
|
68
94
|
type SelectProps = ComponentPropsWithoutRef<typeof Select>;
|
|
69
|
-
type Props$
|
|
95
|
+
type Props$9 = Omit<SelectProps, "components" | "styles" | "theme"> & {
|
|
70
96
|
readonly addItemButtonProps?: {
|
|
71
97
|
label?: ReactNode;
|
|
72
98
|
onClick?: () => void;
|
|
73
99
|
};
|
|
74
100
|
};
|
|
75
|
-
declare function Combobox(props: Props$
|
|
101
|
+
export declare function Combobox(props: Props$9): import("react/jsx-runtime").JSX.Element;
|
|
76
102
|
//#endregion
|
|
77
103
|
//#region src/connect/components/consent-banner/consent-banner.d.ts
|
|
78
|
-
type CookieInput = {
|
|
104
|
+
export type CookieInput = {
|
|
79
105
|
id: string;
|
|
80
106
|
label: string;
|
|
81
107
|
value: boolean;
|
|
82
108
|
};
|
|
83
|
-
interface CookieBannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit"> {
|
|
109
|
+
export interface CookieBannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit"> {
|
|
84
110
|
cookies: CookieInput[];
|
|
85
111
|
submitLabel?: string;
|
|
86
112
|
rejectLabel?: string;
|
|
87
113
|
onSubmit?: (cookies: CookieInput[]) => void;
|
|
88
114
|
onReject?: () => void;
|
|
89
115
|
}
|
|
90
|
-
declare const CookieBanner: React.FC<CookieBannerProps>;
|
|
116
|
+
export declare const CookieBanner: React.FC<CookieBannerProps>;
|
|
91
117
|
//#endregion
|
|
92
118
|
//#region src/connect/components/db-explorer/components/table-view.d.ts
|
|
93
119
|
type ColumnInfo = {
|
|
@@ -119,31 +145,31 @@ type TableInfo = {
|
|
|
119
145
|
};
|
|
120
146
|
//#endregion
|
|
121
147
|
//#region src/connect/components/db-explorer/db-explorer.d.ts
|
|
122
|
-
type GetTableRowsOptions = {
|
|
148
|
+
export type GetTableRowsOptions = {
|
|
123
149
|
readonly schema?: string;
|
|
124
150
|
readonly limit: number;
|
|
125
151
|
readonly offset: number;
|
|
126
152
|
readonly sort?: SortOptions;
|
|
127
153
|
readonly filters?: FilterGroup;
|
|
128
154
|
};
|
|
129
|
-
type TablePage = {
|
|
155
|
+
export type TablePage = {
|
|
130
156
|
readonly columns: string[];
|
|
131
157
|
readonly rows: Record<string, unknown>[];
|
|
132
158
|
readonly total: number | null;
|
|
133
159
|
};
|
|
134
|
-
interface DbClient {
|
|
160
|
+
export interface DbClient {
|
|
135
161
|
readonly kind: string;
|
|
136
162
|
listTables(schema?: string): Promise<string[]>;
|
|
137
163
|
getTableSchema(table: string, schema?: string): Promise<ColumnInfo[]>;
|
|
138
164
|
getTableRows(table: string, options: GetTableRowsOptions): Promise<TablePage>;
|
|
139
165
|
}
|
|
140
|
-
type PgVersionControl = {
|
|
166
|
+
export type PgVersionControl = {
|
|
141
167
|
readonly currentPgVersion: number | null;
|
|
142
168
|
readonly supportedPgVersions: readonly number[];
|
|
143
169
|
readonly onResetToPgVersion: (major: number) => void | Promise<void>;
|
|
144
170
|
};
|
|
145
171
|
/** Props for the main DBExplorer component */
|
|
146
|
-
type DBExplorerProps = {
|
|
172
|
+
export type DBExplorerProps = {
|
|
147
173
|
readonly schema: string;
|
|
148
174
|
readonly getTables: () => Promise<TableInfo[]>;
|
|
149
175
|
readonly getTableRows: (table: string, options: GetTableRowsOptions) => Promise<TablePage>;
|
|
@@ -153,34 +179,21 @@ type DBExplorerProps = {
|
|
|
153
179
|
readonly onExportDb?: () => void | Promise<void>;
|
|
154
180
|
readonly pgVersionControl?: PgVersionControl;
|
|
155
181
|
};
|
|
156
|
-
declare function DBExplorer({
|
|
157
|
-
schema,
|
|
158
|
-
getTables,
|
|
159
|
-
getTableRows,
|
|
160
|
-
getDefaultSort,
|
|
161
|
-
pageSize,
|
|
162
|
-
onImportDb,
|
|
163
|
-
onExportDb,
|
|
164
|
-
pgVersionControl
|
|
165
|
-
}: DBExplorerProps): react_jsx_runtime0.JSX.Element;
|
|
182
|
+
export declare function DBExplorer({ schema, getTables, getTableRows, getDefaultSort, pageSize, onImportDb, onExportDb, pgVersionControl }: DBExplorerProps): import("react/jsx-runtime").JSX.Element;
|
|
166
183
|
//#endregion
|
|
167
184
|
//#region src/connect/components/debug-inspector/debug-inspector.d.ts
|
|
168
|
-
type DebugInspectorProps = {
|
|
185
|
+
export type DebugInspectorProps = {
|
|
169
186
|
readonly supportedPgVersions: readonly number[];
|
|
170
187
|
readonly currentPgVersion: number | null;
|
|
171
188
|
readonly onResetToPgVersion: (major: number) => Promise<void>;
|
|
172
189
|
};
|
|
173
|
-
declare function DebugInspector({
|
|
174
|
-
supportedPgVersions,
|
|
175
|
-
currentPgVersion,
|
|
176
|
-
onResetToPgVersion
|
|
177
|
-
}: DebugInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
190
|
+
export declare function DebugInspector({ supportedPgVersions, currentPgVersion, onResetToPgVersion }: DebugInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
178
191
|
//#endregion
|
|
179
192
|
//#region src/connect/components/default-editor-loader/default-editor-loader.d.ts
|
|
180
193
|
type DefaultEditorLoaderProps = DivProps & {
|
|
181
194
|
readonly message?: string;
|
|
182
195
|
};
|
|
183
|
-
declare function DefaultEditorLoader(props: DefaultEditorLoaderProps):
|
|
196
|
+
export declare function DefaultEditorLoader(props: DefaultEditorLoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
184
197
|
//#endregion
|
|
185
198
|
//#region src/connect/components/disclosure/disclosure.d.ts
|
|
186
199
|
type DisclosureProps = {
|
|
@@ -192,10 +205,10 @@ type DisclosureProps = {
|
|
|
192
205
|
toggleClassName?: string;
|
|
193
206
|
contentClassName?: string;
|
|
194
207
|
};
|
|
195
|
-
declare function Disclosure(props: DisclosureProps):
|
|
208
|
+
export declare function Disclosure(props: DisclosureProps): import("react/jsx-runtime").JSX.Element;
|
|
196
209
|
//#endregion
|
|
197
210
|
//#region src/connect/components/divider/divider.d.ts
|
|
198
|
-
declare function Divider(props: DivProps):
|
|
211
|
+
export declare function Divider(props: DivProps): import("react/jsx-runtime").JSX.Element;
|
|
199
212
|
//#endregion
|
|
200
213
|
//#region src/connect/components/document-state-viewer/document-state-viewer.d.ts
|
|
201
214
|
interface DocumentStateViewerProps {
|
|
@@ -204,15 +217,10 @@ interface DocumentStateViewerProps {
|
|
|
204
217
|
defaultScope?: string;
|
|
205
218
|
className?: string;
|
|
206
219
|
}
|
|
207
|
-
declare function DocumentStateViewer({
|
|
208
|
-
state,
|
|
209
|
-
ignoredScopes,
|
|
210
|
-
defaultScope,
|
|
211
|
-
className
|
|
212
|
-
}: DocumentStateViewerProps): react_jsx_runtime0.JSX.Element;
|
|
220
|
+
export declare function DocumentStateViewer({ state, ignoredScopes, defaultScope, className }: DocumentStateViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
213
221
|
//#endregion
|
|
214
222
|
//#region src/connect/components/document-timeline/document-timeline.d.ts
|
|
215
|
-
type TimelineBarItem = {
|
|
223
|
+
export type TimelineBarItem = {
|
|
216
224
|
id: string;
|
|
217
225
|
type: "bar";
|
|
218
226
|
addSize?: 0 | 1 | 2 | 3 | 4;
|
|
@@ -224,7 +232,7 @@ type TimelineBarItem = {
|
|
|
224
232
|
startDate?: Date;
|
|
225
233
|
endDate?: Date;
|
|
226
234
|
};
|
|
227
|
-
type TimelineDividerItem = {
|
|
235
|
+
export type TimelineDividerItem = {
|
|
228
236
|
id: string;
|
|
229
237
|
type: "divider";
|
|
230
238
|
timestampUtcMs?: string;
|
|
@@ -234,12 +242,12 @@ type TimelineDividerItem = {
|
|
|
234
242
|
startDate?: Date;
|
|
235
243
|
endDate?: Date;
|
|
236
244
|
};
|
|
237
|
-
type TimelineItem = TimelineBarItem | TimelineDividerItem;
|
|
238
|
-
interface DocumentTimelineProps {
|
|
245
|
+
export type TimelineItem = TimelineBarItem | TimelineDividerItem;
|
|
246
|
+
export interface DocumentTimelineProps {
|
|
239
247
|
onItemClick?: (item: TimelineItem | null) => void;
|
|
240
248
|
timeline?: Array<TimelineItem>;
|
|
241
249
|
}
|
|
242
|
-
declare const DocumentTimeline: (props: DocumentTimelineProps) =>
|
|
250
|
+
export declare const DocumentTimeline: (props: DocumentTimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
243
251
|
//#endregion
|
|
244
252
|
//#region src/connect/components/document-toolbar/containers.d.ts
|
|
245
253
|
/**
|
|
@@ -249,7 +257,7 @@ declare const DocumentTimeline: (props: DocumentTimelineProps) => react_jsx_runt
|
|
|
249
257
|
* still accepting standard `div` props. Pass a custom container to
|
|
250
258
|
* `DocumentToolbar` when you need to replace this wrapper.
|
|
251
259
|
*/
|
|
252
|
-
declare function ToolbarContainer(props: ComponentProps<"div">):
|
|
260
|
+
export declare function ToolbarContainer(props: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
253
261
|
/**
|
|
254
262
|
* Default container for a group of toolbar controls.
|
|
255
263
|
*
|
|
@@ -257,7 +265,7 @@ declare function ToolbarContainer(props: ComponentProps<"div">): react_jsx_runti
|
|
|
257
265
|
* component provides the default horizontal layout for the controls in that
|
|
258
266
|
* slot while still accepting standard `div` props.
|
|
259
267
|
*/
|
|
260
|
-
declare function ToolbarControlsContainer(props: ComponentProps<"div">):
|
|
268
|
+
export declare function ToolbarControlsContainer(props: ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
261
269
|
//#endregion
|
|
262
270
|
//#region src/connect/components/document-toolbar/constants.d.ts
|
|
263
271
|
/**
|
|
@@ -310,7 +318,6 @@ type ToolbarButtonProps = {
|
|
|
310
318
|
onClick?: ToolbarButtonClickHandler;
|
|
311
319
|
};
|
|
312
320
|
/**
|
|
313
|
-
|
|
314
321
|
* A map of built-in toolbar control names to replacement control components.
|
|
315
322
|
* Provide this when you want to override one or more built-in
|
|
316
323
|
* controls while keeping the rest of the default toolbar layout.
|
|
@@ -508,7 +515,7 @@ type DocumentToolbarProps = DocumentToolbarWithChildrenProps | DocumentToolbarWi
|
|
|
508
515
|
*
|
|
509
516
|
* To take over the toolbar contents completely, pass `children`.
|
|
510
517
|
*/
|
|
511
|
-
declare function DocumentToolbar(props: DocumentToolbarProps):
|
|
518
|
+
export declare function DocumentToolbar(props: DocumentToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
512
519
|
//#endregion
|
|
513
520
|
//#region src/connect/components/document-toolbar/toolbar-button.d.ts
|
|
514
521
|
/**
|
|
@@ -517,7 +524,7 @@ declare function DocumentToolbar(props: DocumentToolbarProps): react_jsx_runtime
|
|
|
517
524
|
* This component provides the default toolbar button styling and disabled-state
|
|
518
525
|
* behavior while accepting standard `button` props.
|
|
519
526
|
*/
|
|
520
|
-
declare function ToolbarButton(props: ComponentProps<"button">):
|
|
527
|
+
export declare function ToolbarButton(props: ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
|
|
521
528
|
/**
|
|
522
529
|
* Toolbar control for undoing the latest document revision.
|
|
523
530
|
*
|
|
@@ -525,7 +532,7 @@ declare function ToolbarButton(props: ComponentProps<"button">): react_jsx_runti
|
|
|
525
532
|
* Provide `children` to replace the default icon, or `onClick` to override the
|
|
526
533
|
* default undo behavior.
|
|
527
534
|
*/
|
|
528
|
-
declare function ToolbarUndoButton(props: ToolbarButtonProps):
|
|
535
|
+
export declare function ToolbarUndoButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
529
536
|
/**
|
|
530
537
|
* Toolbar control for redoing the latest undone document revision.
|
|
531
538
|
*
|
|
@@ -533,28 +540,28 @@ declare function ToolbarUndoButton(props: ToolbarButtonProps): react_jsx_runtime
|
|
|
533
540
|
* Provide `children` to replace the default icon, or `onClick` to override the
|
|
534
541
|
* default redo behavior.
|
|
535
542
|
*/
|
|
536
|
-
declare function ToolbarRedoButton(props: ToolbarButtonProps):
|
|
543
|
+
export declare function ToolbarRedoButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
537
544
|
/**
|
|
538
545
|
* Toolbar control for downloading the current document.
|
|
539
546
|
*
|
|
540
547
|
* Provide `children` to replace the default label, or `onClick` to override the
|
|
541
548
|
* default download behavior.
|
|
542
549
|
*/
|
|
543
|
-
declare function ToolbarDownloadButton(props: ToolbarButtonProps):
|
|
550
|
+
export declare function ToolbarDownloadButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
544
551
|
/**
|
|
545
552
|
* Toolbar control for opening the current document in Switchboard.
|
|
546
553
|
*
|
|
547
554
|
* Provide `children` to replace the default icon, or `onClick` to override the
|
|
548
555
|
* default behavior.
|
|
549
556
|
*/
|
|
550
|
-
declare function ToolbarSwitchboardButton(props: ToolbarButtonProps):
|
|
557
|
+
export declare function ToolbarSwitchboardButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
551
558
|
/**
|
|
552
559
|
* Toolbar control for showing the current document's revision history.
|
|
553
560
|
*
|
|
554
561
|
* Provide `children` to replace the default icon, or `onClick` to override the
|
|
555
562
|
* default revision-history behavior.
|
|
556
563
|
*/
|
|
557
|
-
declare function ToolbarHistoryButton(props: ToolbarButtonProps):
|
|
564
|
+
export declare function ToolbarHistoryButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
558
565
|
/**
|
|
559
566
|
* Toolbar control for closing the current document view.
|
|
560
567
|
*
|
|
@@ -562,7 +569,7 @@ declare function ToolbarHistoryButton(props: ToolbarButtonProps): react_jsx_runt
|
|
|
562
569
|
* `children` to replace the default icon, or `onClick` to override the default
|
|
563
570
|
* close behavior.
|
|
564
571
|
*/
|
|
565
|
-
declare function ToolbarCloseButton(props: ToolbarButtonProps):
|
|
572
|
+
export declare function ToolbarCloseButton(props: ToolbarButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
566
573
|
//#endregion
|
|
567
574
|
//#region src/connect/components/document-toolbar/toolbar-input.d.ts
|
|
568
575
|
/**
|
|
@@ -571,7 +578,7 @@ declare function ToolbarCloseButton(props: ToolbarButtonProps): react_jsx_runtim
|
|
|
571
578
|
* This wraps `NodeInput` with toolbar-specific text styling. Use it for inline
|
|
572
579
|
* toolbar editing flows where the user can submit a value or cancel editing.
|
|
573
580
|
*/
|
|
574
|
-
declare function ToolbarInput(props: {
|
|
581
|
+
export declare function ToolbarInput(props: {
|
|
575
582
|
/**
|
|
576
583
|
* Initial value to show in the input.
|
|
577
584
|
*/
|
|
@@ -592,7 +599,7 @@ declare function ToolbarInput(props: {
|
|
|
592
599
|
* Called when the user cancels editing.
|
|
593
600
|
*/
|
|
594
601
|
onCancel: () => void;
|
|
595
|
-
}):
|
|
602
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
596
603
|
//#endregion
|
|
597
604
|
//#region src/connect/components/document-toolbar/toolbar-name.d.ts
|
|
598
605
|
/**
|
|
@@ -602,14 +609,14 @@ declare function ToolbarInput(props: {
|
|
|
602
609
|
* When clicked, it switches to an inline input. Submitting the input renames
|
|
603
610
|
* both the node and the corresponding drive node entry.
|
|
604
611
|
*/
|
|
605
|
-
declare function ToolbarName(props: {
|
|
612
|
+
export declare function ToolbarName(props: {
|
|
606
613
|
document?: PHDocument | undefined;
|
|
607
614
|
inputClassName?: string;
|
|
608
615
|
titleClassName?: string;
|
|
609
|
-
}):
|
|
616
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
610
617
|
//#endregion
|
|
611
618
|
//#region src/connect/components/drive-auth-gate/drive-auth-gate.d.ts
|
|
612
|
-
interface DriveAuthGateProps {
|
|
619
|
+
export interface DriveAuthGateProps {
|
|
613
620
|
/** Visual state — `"login"` (anonymous) or `"unauthorized"` (already signed in, not the owner). Defaults to `"login"`. */
|
|
614
621
|
readonly mode?: "login" | "unauthorized";
|
|
615
622
|
/** Opens the login flow (e.g. `showPHModal({ type: "login" })`); the login methods live in that modal, not here. */
|
|
@@ -620,19 +627,16 @@ interface DriveAuthGateProps {
|
|
|
620
627
|
readonly onClose?: () => void;
|
|
621
628
|
readonly className?: string;
|
|
622
629
|
}
|
|
623
|
-
declare function DriveAuthGate(props: DriveAuthGateProps):
|
|
630
|
+
export declare function DriveAuthGate(props: DriveAuthGateProps): import("react/jsx-runtime").JSX.Element;
|
|
624
631
|
//#endregion
|
|
625
632
|
//#region src/connect/components/drop-zone/drop-zone-wrapper.d.ts
|
|
626
|
-
declare function DropZoneWrapper({
|
|
627
|
-
children,
|
|
628
|
-
...props
|
|
629
|
-
}: {
|
|
633
|
+
export declare function DropZoneWrapper({ children, ...props }: {
|
|
630
634
|
children: React.ReactNode;
|
|
631
|
-
} & ComponentPropsWithoutRef<"div">):
|
|
635
|
+
} & ComponentPropsWithoutRef<"div">): import("react/jsx-runtime").JSX.Element;
|
|
632
636
|
//#endregion
|
|
633
637
|
//#region src/connect/components/upload-file-item/upload-file-item.d.ts
|
|
634
|
-
type UploadFileItemStatus = "success" | "failed" | "pending" | "uploading" | "conflict" | "unsupported-document-type";
|
|
635
|
-
type UploadFileItemProps = ComponentPropsWithoutRef<"div"> & {
|
|
638
|
+
export type UploadFileItemStatus = "success" | "failed" | "pending" | "uploading" | "conflict" | "unsupported-document-type";
|
|
639
|
+
export type UploadFileItemProps = ComponentPropsWithoutRef<"div"> & {
|
|
636
640
|
readonly fileName: string;
|
|
637
641
|
readonly fileSize: string;
|
|
638
642
|
readonly status: UploadFileItemStatus;
|
|
@@ -643,7 +647,7 @@ type UploadFileItemProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
643
647
|
readonly onOpenDocument?: () => void;
|
|
644
648
|
readonly onFindResolution?: () => void;
|
|
645
649
|
};
|
|
646
|
-
declare const UploadFileItem: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
650
|
+
export declare const UploadFileItem: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
647
651
|
readonly fileName: string;
|
|
648
652
|
readonly fileSize: string;
|
|
649
653
|
readonly status: UploadFileItemStatus;
|
|
@@ -653,10 +657,10 @@ declare const UploadFileItem: react.ForwardRefExoticComponent<Omit<react.Detaile
|
|
|
653
657
|
readonly onClose?: () => void;
|
|
654
658
|
readonly onOpenDocument?: () => void;
|
|
655
659
|
readonly onFindResolution?: () => void;
|
|
656
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
660
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
657
661
|
//#endregion
|
|
658
662
|
//#region src/connect/components/drop-zone/utils.d.ts
|
|
659
|
-
type UploadTracker = {
|
|
663
|
+
export type UploadTracker = {
|
|
660
664
|
id: string;
|
|
661
665
|
fileName: string;
|
|
662
666
|
fileSize: string;
|
|
@@ -669,14 +673,14 @@ type UploadTracker = {
|
|
|
669
673
|
parentNode?: Node;
|
|
670
674
|
duplicateType?: "id" | "name";
|
|
671
675
|
};
|
|
672
|
-
type OnAddFileWithProgress = (file: File, parent: Node | undefined, onProgress?: (progress: FileUploadProgress) => void, resolveConflict?: ConflictResolution) => Promise<Node | undefined> | Node | undefined;
|
|
673
|
-
declare function generateId(): string;
|
|
674
|
-
declare function formatFileSize(bytes: number): string;
|
|
675
|
-
declare function mapProgressStageToStatus(stage: FileUploadProgress["stage"]): UploadTracker["status"];
|
|
676
|
-
declare function mapUploadsToFileItems(uploadsArray: (UploadTracker | undefined)[], removeUpload: (uploadId: string) => void, setSelectedNodeFn?: (nodeOrNodeSlug: Node | string | undefined) => void, onConflictResolution?: (uploadId: string) => void): UploadFileItemProps[];
|
|
676
|
+
export type OnAddFileWithProgress = (file: File, parent: Node | undefined, onProgress?: (progress: FileUploadProgress) => void, resolveConflict?: ConflictResolution) => Promise<Node | undefined> | Node | undefined;
|
|
677
|
+
export declare function generateId(): string;
|
|
678
|
+
export declare function formatFileSize(bytes: number): string;
|
|
679
|
+
export declare function mapProgressStageToStatus(stage: FileUploadProgress["stage"]): UploadTracker["status"];
|
|
680
|
+
export declare function mapUploadsToFileItems(uploadsArray: (UploadTracker | undefined)[], removeUpload: (uploadId: string) => void, setSelectedNodeFn?: (nodeOrNodeSlug: Node | string | undefined) => void, onConflictResolution?: (uploadId: string) => void): UploadFileItemProps[];
|
|
677
681
|
//#endregion
|
|
678
682
|
//#region src/connect/components/drop-zone/drop-zone.d.ts
|
|
679
|
-
type DropZoneProps = ComponentPropsWithoutRef<"div"> & {
|
|
683
|
+
export type DropZoneProps = ComponentPropsWithoutRef<"div"> & {
|
|
680
684
|
readonly title?: string;
|
|
681
685
|
readonly subtitle?: string;
|
|
682
686
|
readonly node?: Node;
|
|
@@ -687,10 +691,10 @@ type DropZoneProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
687
691
|
readonly driveId?: string;
|
|
688
692
|
readonly acceptedFileExtensions?: string[];
|
|
689
693
|
};
|
|
690
|
-
declare function DropZone(props: DropZoneProps):
|
|
694
|
+
export declare function DropZone(props: DropZoneProps): import("react/jsx-runtime").JSX.Element;
|
|
691
695
|
//#endregion
|
|
692
696
|
//#region src/connect/components/drop-zone/upload-file-list-container.d.ts
|
|
693
|
-
type UploadFileListContainerProps = ComponentPropsWithoutRef<"div"> & {
|
|
697
|
+
export type UploadFileListContainerProps = ComponentPropsWithoutRef<"div"> & {
|
|
694
698
|
readonly uploadsArray: (UploadTracker | undefined)[];
|
|
695
699
|
readonly uploadsCount: number;
|
|
696
700
|
readonly removeUpload: (uploadId: string) => void;
|
|
@@ -699,16 +703,16 @@ type UploadFileListContainerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
699
703
|
readonly onClose?: () => void;
|
|
700
704
|
readonly onConflictResolution?: (uploadId: string) => void;
|
|
701
705
|
};
|
|
702
|
-
declare function UploadFileListContainer(props: UploadFileListContainerProps):
|
|
706
|
+
export declare function UploadFileListContainer(props: UploadFileListContainerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
703
707
|
//#endregion
|
|
704
708
|
//#region src/connect/components/dropdown-menu/dropdown-menu.d.ts
|
|
705
|
-
type ConnectDropdownMenuItem<TItemId extends string> = {
|
|
709
|
+
export type ConnectDropdownMenuItem<TItemId extends string> = {
|
|
706
710
|
id: TItemId;
|
|
707
711
|
label: ReactNode;
|
|
708
712
|
icon?: React.JSX.Element;
|
|
709
713
|
className?: string;
|
|
710
714
|
};
|
|
711
|
-
interface ConnectDropdownMenuProps<TItemId extends string> {
|
|
715
|
+
export interface ConnectDropdownMenuProps<TItemId extends string> {
|
|
712
716
|
readonly children: ReactNode;
|
|
713
717
|
readonly items: ConnectDropdownMenuItem<TItemId>[];
|
|
714
718
|
readonly open?: boolean;
|
|
@@ -716,58 +720,58 @@ interface ConnectDropdownMenuProps<TItemId extends string> {
|
|
|
716
720
|
readonly onOpenChange?: (open: boolean) => void;
|
|
717
721
|
readonly menuClassName?: string;
|
|
718
722
|
}
|
|
719
|
-
declare function ConnectDropdownMenu<TItemId extends string>(props: ConnectDropdownMenuProps<TItemId>):
|
|
723
|
+
export declare function ConnectDropdownMenu<TItemId extends string>(props: ConnectDropdownMenuProps<TItemId>): import("react/jsx-runtime").JSX.Element;
|
|
720
724
|
//#endregion
|
|
721
725
|
//#region src/connect/components/editor-action-buttons/editor-action-buttons.d.ts
|
|
722
|
-
type EditorActionButtonsProps = {
|
|
726
|
+
export type EditorActionButtonsProps = {
|
|
723
727
|
readonly onSwitchboardLinkClick?: (() => void) | undefined;
|
|
724
728
|
readonly onDownloadDocument?: (() => void) | undefined;
|
|
725
729
|
readonly onClose: () => void;
|
|
726
730
|
readonly onShowRevisionHistory?: (() => void) | undefined;
|
|
727
731
|
readonly onShowTimeline?: (() => void) | undefined;
|
|
728
732
|
};
|
|
729
|
-
declare function EditorActionButtons(props: EditorActionButtonsProps):
|
|
733
|
+
export declare function EditorActionButtons(props: EditorActionButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
730
734
|
//#endregion
|
|
731
735
|
//#region src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.d.ts
|
|
732
|
-
type EditorUndoRedoButtonsProps = {
|
|
736
|
+
export type EditorUndoRedoButtonsProps = {
|
|
733
737
|
readonly canUndo: boolean;
|
|
734
738
|
readonly canRedo: boolean;
|
|
735
739
|
readonly undo: () => void;
|
|
736
740
|
readonly redo: () => void;
|
|
737
741
|
};
|
|
738
|
-
declare function EditorUndoRedoButtons(props: EditorUndoRedoButtonsProps):
|
|
742
|
+
export declare function EditorUndoRedoButtons(props: EditorUndoRedoButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
739
743
|
//#endregion
|
|
740
744
|
//#region src/connect/components/ens-avatar/ens-avatar.d.ts
|
|
741
|
-
type Props$
|
|
745
|
+
type Props$8 = {
|
|
742
746
|
readonly address: `0x${string}`;
|
|
743
747
|
readonly chainId?: number;
|
|
744
748
|
readonly avatarUrl?: string;
|
|
745
749
|
readonly size?: CSSProperties["width"];
|
|
746
750
|
};
|
|
747
|
-
declare function ENSAvatar(props: Props$
|
|
751
|
+
export declare function ENSAvatar(props: Props$8): import("react/jsx-runtime").JSX.Element;
|
|
748
752
|
//#endregion
|
|
749
753
|
//#region src/connect/components/file-item/file-item.d.ts
|
|
750
|
-
type Props$
|
|
754
|
+
type Props$7 = {
|
|
751
755
|
fileNode: FileNode;
|
|
752
756
|
className?: string;
|
|
753
757
|
customDocumentIconSrc?: string;
|
|
754
758
|
};
|
|
755
|
-
declare function FileItem(props: Props$
|
|
759
|
+
export declare function FileItem(props: Props$7): import("react/jsx-runtime").JSX.Element;
|
|
756
760
|
//#endregion
|
|
757
761
|
//#region src/connect/components/folder-item/folder-item.d.ts
|
|
758
|
-
declare function FolderItem(props: {
|
|
762
|
+
export declare function FolderItem(props: {
|
|
759
763
|
folderNode: FolderNode;
|
|
760
764
|
className?: string;
|
|
761
|
-
}):
|
|
765
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
762
766
|
//#endregion
|
|
763
767
|
//#region src/connect/components/footer/footer-link.d.ts
|
|
764
768
|
type FooterLinkProps<E extends React.ElementType> = {
|
|
765
769
|
readonly as?: E;
|
|
766
770
|
} & React.ComponentPropsWithRef<E>;
|
|
767
|
-
declare function FooterLink<E extends React.ElementType = "a">(props: FooterLinkProps<E>):
|
|
771
|
+
export declare function FooterLink<E extends React.ElementType = "a">(props: FooterLinkProps<E>): import("react/jsx-runtime").JSX.Element;
|
|
768
772
|
//#endregion
|
|
769
773
|
//#region src/connect/components/footer/footer.d.ts
|
|
770
|
-
declare const Footer: React.FC<React.HTMLAttributes<HTMLElement>>;
|
|
774
|
+
export declare const Footer: React.FC<React.HTMLAttributes<HTMLElement>>;
|
|
771
775
|
//#endregion
|
|
772
776
|
//#region src/connect/components/form-input/form-input.d.ts
|
|
773
777
|
type InputProps = ComponentPropsWithRef<"input">;
|
|
@@ -782,7 +786,7 @@ type FormInputProps = Omit<InputProps, "className"> & {
|
|
|
782
786
|
readonly errorMessageClassName?: string;
|
|
783
787
|
readonly hideErrors?: boolean;
|
|
784
788
|
};
|
|
785
|
-
declare const FormInput: react.ForwardRefExoticComponent<Omit<FormInputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
789
|
+
export declare const FormInput: import("react").ForwardRefExoticComponent<Omit<FormInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
786
790
|
//#endregion
|
|
787
791
|
//#region src/connect/components/form/add-local-drive-form.d.ts
|
|
788
792
|
type AddLocalDriveFormProps = {
|
|
@@ -791,7 +795,7 @@ type AddLocalDriveFormProps = {
|
|
|
791
795
|
readonly appOptions: AppOptions[];
|
|
792
796
|
};
|
|
793
797
|
type CreateDriveFormSubmitHandler = SubmitHandler<AppOptions>;
|
|
794
|
-
declare function AddLocalDriveForm(props: AddLocalDriveFormProps):
|
|
798
|
+
export declare function AddLocalDriveForm(props: AddLocalDriveFormProps): import("react/jsx-runtime").JSX.Element;
|
|
795
799
|
//#endregion
|
|
796
800
|
//#region src/connect/components/form/add-remote-drive-form.d.ts
|
|
797
801
|
type RemoteDriveDetails = {
|
|
@@ -801,10 +805,10 @@ type RemoteDriveDetails = {
|
|
|
801
805
|
location: "SWITCHBOARD";
|
|
802
806
|
availableOffline: boolean;
|
|
803
807
|
};
|
|
804
|
-
type AddRemoteDriveInput = RemoteDriveDetails & {
|
|
808
|
+
export type AddRemoteDriveInput = RemoteDriveDetails & {
|
|
805
809
|
url: string;
|
|
806
810
|
};
|
|
807
|
-
type AddPublicDriveFormProps = {
|
|
811
|
+
export type AddPublicDriveFormProps = {
|
|
808
812
|
readonly sharingType: SharingType;
|
|
809
813
|
readonly onSubmit: (data: AddRemoteDriveInput) => void;
|
|
810
814
|
readonly onCancel: () => void;
|
|
@@ -813,24 +817,22 @@ type AddPublicDriveFormProps = {
|
|
|
813
817
|
name: string;
|
|
814
818
|
}>;
|
|
815
819
|
};
|
|
816
|
-
declare function AddRemoteDriveForm(props: AddPublicDriveFormProps):
|
|
820
|
+
export declare function AddRemoteDriveForm(props: AddPublicDriveFormProps): import("react/jsx-runtime").JSX.Element;
|
|
817
821
|
//#endregion
|
|
818
822
|
//#region src/connect/components/formatted-json-viewer.d.ts
|
|
819
|
-
declare function FormattedJsonViewer(props: JsonViewProps<object>):
|
|
823
|
+
export declare function FormattedJsonViewer(props: JsonViewProps<object>): import("react/jsx-runtime").JSX.Element;
|
|
820
824
|
//#endregion
|
|
821
825
|
//#region src/connect/components/home-screen/home-background-image.d.ts
|
|
822
826
|
type HomeBackgroundImageProps = {
|
|
823
827
|
src?: string;
|
|
824
828
|
};
|
|
825
|
-
declare const HomeBackgroundImage: ({
|
|
826
|
-
src
|
|
827
|
-
}?: HomeBackgroundImageProps) => react_jsx_runtime0.JSX.Element;
|
|
829
|
+
export declare const HomeBackgroundImage: ({ src }?: HomeBackgroundImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
828
830
|
//#endregion
|
|
829
831
|
//#region src/connect/components/home-screen/home-screen-add-drive-item.d.ts
|
|
830
832
|
type HomeScreenAddDriveItemProps = {
|
|
831
833
|
readonly containerClassName?: string;
|
|
832
834
|
};
|
|
833
|
-
declare const HomeScreenAddDriveItem: (props: HomeScreenAddDriveItemProps) =>
|
|
835
|
+
export declare const HomeScreenAddDriveItem: (props: HomeScreenAddDriveItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
834
836
|
//#endregion
|
|
835
837
|
//#region src/connect/components/home-screen/home-screen-item.d.ts
|
|
836
838
|
type HomeScreenItemProps = {
|
|
@@ -841,7 +843,7 @@ type HomeScreenItemProps = {
|
|
|
841
843
|
readonly shareable?: boolean;
|
|
842
844
|
readonly onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
843
845
|
};
|
|
844
|
-
declare const HomeScreenItem: (props: HomeScreenItemProps) =>
|
|
846
|
+
export declare const HomeScreenItem: (props: HomeScreenItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
845
847
|
//#endregion
|
|
846
848
|
//#region src/connect/components/home-screen/home-screen.d.ts
|
|
847
849
|
type HomeScreenProps = {
|
|
@@ -849,41 +851,34 @@ type HomeScreenProps = {
|
|
|
849
851
|
readonly containerClassName?: string;
|
|
850
852
|
readonly homeBackground?: string | null;
|
|
851
853
|
};
|
|
852
|
-
declare const HomeScreen: (props: HomeScreenProps) =>
|
|
854
|
+
export declare const HomeScreen: (props: HomeScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
853
855
|
//#endregion
|
|
854
856
|
//#region src/connect/components/integrity-inspector/integrity-inspector.d.ts
|
|
855
|
-
type IntegrityInspectorProps = {
|
|
857
|
+
export type IntegrityInspectorProps = {
|
|
856
858
|
readonly onValidate: (documentId: string, branch?: string) => Promise<ValidationResult>;
|
|
857
859
|
readonly onRebuildKeyframes: (documentId: string, branch?: string) => Promise<RebuildResult>;
|
|
858
860
|
readonly onRebuildSnapshots: (documentId: string, branch?: string) => Promise<RebuildResult>;
|
|
859
861
|
};
|
|
860
|
-
declare function IntegrityInspector({
|
|
861
|
-
onValidate,
|
|
862
|
-
onRebuildKeyframes,
|
|
863
|
-
onRebuildSnapshots
|
|
864
|
-
}: IntegrityInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
862
|
+
export declare function IntegrityInspector({ onValidate, onRebuildKeyframes, onRebuildSnapshots }: IntegrityInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
865
863
|
//#endregion
|
|
866
864
|
//#region src/connect/components/loading-screen/loading-screen.d.ts
|
|
867
|
-
interface LoadingScreenProps {
|
|
865
|
+
export interface LoadingScreenProps {
|
|
868
866
|
showLoadingScreen: boolean;
|
|
869
867
|
loadingComponent?: React.ReactNode;
|
|
870
868
|
size?: number;
|
|
871
869
|
className?: string;
|
|
872
870
|
}
|
|
873
|
-
declare const LoadingScreen: React.FC<LoadingScreenProps>;
|
|
871
|
+
export declare const LoadingScreen: React.FC<LoadingScreenProps>;
|
|
874
872
|
//#endregion
|
|
875
873
|
//#region src/connect/components/logo-animation.d.ts
|
|
876
|
-
declare function LogoAnimation({
|
|
877
|
-
size,
|
|
878
|
-
className
|
|
879
|
-
}: {
|
|
880
|
-
size?: number | undefined;
|
|
874
|
+
export declare function LogoAnimation({ size, className }: {
|
|
881
875
|
className?: string | undefined;
|
|
882
|
-
|
|
876
|
+
size?: number | undefined;
|
|
877
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
883
878
|
//#endregion
|
|
884
879
|
//#region src/connect/components/modal/add-drive-modal/add-drive-modal.d.ts
|
|
885
880
|
type ModalProps$5 = ComponentPropsWithoutRef<typeof Modal>;
|
|
886
|
-
type AddDriveModalProps = {
|
|
881
|
+
export type AddDriveModalProps = {
|
|
887
882
|
readonly open: boolean;
|
|
888
883
|
readonly onOpenChange: (open: boolean) => void;
|
|
889
884
|
readonly onAddRemoteDrive: (data: AddRemoteDriveInput) => void;
|
|
@@ -896,11 +891,11 @@ type AddDriveModalProps = {
|
|
|
896
891
|
}>;
|
|
897
892
|
readonly appOptions: AppOptions[];
|
|
898
893
|
};
|
|
899
|
-
declare function AddDriveModal(props: AddDriveModalProps):
|
|
894
|
+
export declare function AddDriveModal(props: AddDriveModalProps): import("react/jsx-runtime").JSX.Element;
|
|
900
895
|
//#endregion
|
|
901
896
|
//#region src/connect/components/modal/confirmation-modal.d.ts
|
|
902
897
|
type ModalProps$4 = ComponentPropsWithoutRef<typeof Modal>;
|
|
903
|
-
type ConfirmationModalProps = {
|
|
898
|
+
export type ConfirmationModalProps = {
|
|
904
899
|
readonly open?: boolean;
|
|
905
900
|
readonly onOpenChange?: (open: boolean) => void;
|
|
906
901
|
readonly header: ReactNode;
|
|
@@ -913,22 +908,22 @@ type ConfirmationModalProps = {
|
|
|
913
908
|
readonly overlayProps?: ModalProps$4["overlayProps"];
|
|
914
909
|
readonly contentProps?: ModalProps$4["contentProps"];
|
|
915
910
|
};
|
|
916
|
-
declare function ConnectConfirmationModal(props: ConfirmationModalProps):
|
|
911
|
+
export declare function ConnectConfirmationModal(props: ConfirmationModalProps): import("react/jsx-runtime").JSX.Element;
|
|
917
912
|
//#endregion
|
|
918
913
|
//#region src/connect/components/modal/create-document-modal.d.ts
|
|
919
|
-
type CreateDocumentModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
914
|
+
export type CreateDocumentModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
920
915
|
readonly onContinue: (nodeName: string) => void;
|
|
921
916
|
};
|
|
922
|
-
declare function CreateDocumentModal(props: CreateDocumentModalProps):
|
|
917
|
+
export declare function CreateDocumentModal(props: CreateDocumentModalProps): import("react/jsx-runtime").JSX.Element;
|
|
923
918
|
//#endregion
|
|
924
919
|
//#region src/connect/components/modal/create-document-with-type-modal.d.ts
|
|
925
|
-
type DocumentTypeOption = {
|
|
920
|
+
export type DocumentTypeOption = {
|
|
926
921
|
readonly documentType: string;
|
|
927
922
|
readonly name: string;
|
|
928
923
|
readonly version?: number;
|
|
929
924
|
readonly description?: string;
|
|
930
925
|
};
|
|
931
|
-
type CreateDocumentWithTypeModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
926
|
+
export type CreateDocumentWithTypeModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
932
927
|
readonly documentTypes: readonly DocumentTypeOption[];
|
|
933
928
|
readonly onCreate: (input: {
|
|
934
929
|
name: string;
|
|
@@ -937,25 +932,25 @@ type CreateDocumentWithTypeModalProps = ComponentPropsWithoutRef<typeof Modal> &
|
|
|
937
932
|
}) => void;
|
|
938
933
|
readonly onTypeSelected?: (documentType: string) => void;
|
|
939
934
|
};
|
|
940
|
-
declare function CreateDocumentWithTypeModal(props: CreateDocumentWithTypeModalProps):
|
|
935
|
+
export declare function CreateDocumentWithTypeModal(props: CreateDocumentWithTypeModalProps): import("react/jsx-runtime").JSX.Element;
|
|
941
936
|
//#endregion
|
|
942
937
|
//#region src/connect/components/modal/delete-drive-modal.d.ts
|
|
943
|
-
interface ConnectDeleteDriveModalProps extends ConfirmationModalProps {
|
|
938
|
+
export interface ConnectDeleteDriveModalProps extends ConfirmationModalProps {
|
|
944
939
|
readonly inputPlaceholder: string;
|
|
945
940
|
readonly driveName: string;
|
|
946
941
|
}
|
|
947
|
-
declare const ConnectDeleteDriveModal: React.FC<ConnectDeleteDriveModalProps>;
|
|
942
|
+
export declare const ConnectDeleteDriveModal: React.FC<ConnectDeleteDriveModalProps>;
|
|
948
943
|
//#endregion
|
|
949
944
|
//#region src/connect/components/modal/delete-item-modal.d.ts
|
|
950
|
-
interface ConnectDeleteItemModalProps extends Omit<ConfirmationModalProps, "onContinue" | "continueLabel"> {
|
|
945
|
+
export interface ConnectDeleteItemModalProps extends Omit<ConfirmationModalProps, "onContinue" | "continueLabel"> {
|
|
951
946
|
readonly onDelete: () => void;
|
|
952
947
|
readonly deleteLabel: string;
|
|
953
948
|
}
|
|
954
|
-
declare function ConnectDeleteItemModal(props: ConnectDeleteItemModalProps):
|
|
949
|
+
export declare function ConnectDeleteItemModal(props: ConnectDeleteItemModalProps): import("react/jsx-runtime").JSX.Element;
|
|
955
950
|
//#endregion
|
|
956
951
|
//#region src/connect/components/modal/drive-settings-modal.d.ts
|
|
957
952
|
type ModalProps$3 = ComponentPropsWithoutRef<typeof Modal>;
|
|
958
|
-
type DriveSettingsModalProps = {
|
|
953
|
+
export type DriveSettingsModalProps = {
|
|
959
954
|
drive: DocumentDriveDocument;
|
|
960
955
|
sharingType: SharingType;
|
|
961
956
|
availableOffline: boolean;
|
|
@@ -969,10 +964,10 @@ type DriveSettingsModalProps = {
|
|
|
969
964
|
modalProps?: ModalProps$3;
|
|
970
965
|
containerProps?: DivProps;
|
|
971
966
|
};
|
|
972
|
-
declare function DriveSettingsModal(props: DriveSettingsModalProps):
|
|
967
|
+
export declare function DriveSettingsModal(props: DriveSettingsModalProps): import("react/jsx-runtime").JSX.Element;
|
|
973
968
|
//#endregion
|
|
974
969
|
//#region src/connect/components/processors-inspector/processors-inspector.d.ts
|
|
975
|
-
type ProcessorInfo = {
|
|
970
|
+
export type ProcessorInfo = {
|
|
976
971
|
processorId: string;
|
|
977
972
|
factoryId: string;
|
|
978
973
|
driveId: string;
|
|
@@ -982,36 +977,29 @@ type ProcessorInfo = {
|
|
|
982
977
|
lastError: string | undefined;
|
|
983
978
|
lastErrorTimestamp: Date | undefined;
|
|
984
979
|
};
|
|
985
|
-
type ProcessorsInspectorProps = {
|
|
980
|
+
export type ProcessorsInspectorProps = {
|
|
986
981
|
readonly getProcessors: () => Promise<ProcessorInfo[]>;
|
|
987
982
|
readonly onRetry?: (processorId: string) => Promise<void>;
|
|
988
983
|
};
|
|
989
|
-
declare function ProcessorsInspector({
|
|
990
|
-
getProcessors,
|
|
991
|
-
onRetry
|
|
992
|
-
}: ProcessorsInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
984
|
+
export declare function ProcessorsInspector({ getProcessors, onRetry }: ProcessorsInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
993
985
|
//#endregion
|
|
994
986
|
//#region src/connect/components/queue-inspector/queue-inspector.d.ts
|
|
995
|
-
type QueueState = {
|
|
987
|
+
export type QueueState = {
|
|
996
988
|
readonly isPaused: boolean;
|
|
997
989
|
readonly pendingJobs: Job[];
|
|
998
990
|
readonly executingJobs: Job[];
|
|
999
991
|
readonly totalPending: number;
|
|
1000
992
|
readonly totalExecuting: number;
|
|
1001
993
|
};
|
|
1002
|
-
type QueueInspectorProps = {
|
|
994
|
+
export type QueueInspectorProps = {
|
|
1003
995
|
readonly getQueueState: () => Promise<QueueState>;
|
|
1004
996
|
readonly onPause: () => Promise<void>;
|
|
1005
997
|
readonly onResume: () => Promise<void>;
|
|
1006
998
|
};
|
|
1007
|
-
declare function QueueInspector({
|
|
1008
|
-
getQueueState,
|
|
1009
|
-
onPause,
|
|
1010
|
-
onResume
|
|
1011
|
-
}: QueueInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
999
|
+
export declare function QueueInspector({ getQueueState, onPause, onResume }: QueueInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
1012
1000
|
//#endregion
|
|
1013
1001
|
//#region src/connect/components/remotes-inspector/remotes-inspector.d.ts
|
|
1014
|
-
type ConnectionStateSummary = {
|
|
1002
|
+
export type ConnectionStateSummary = {
|
|
1015
1003
|
state: string;
|
|
1016
1004
|
failureCount: number;
|
|
1017
1005
|
lastSuccessUtcMs: number;
|
|
@@ -1019,71 +1007,69 @@ type ConnectionStateSummary = {
|
|
|
1019
1007
|
pushBlocked: boolean;
|
|
1020
1008
|
pushFailureCount: number;
|
|
1021
1009
|
};
|
|
1022
|
-
type RemotesInspectorProps = {
|
|
1010
|
+
export type RemotesInspectorProps = {
|
|
1023
1011
|
readonly getRemotes: () => Promise<Remote[]>;
|
|
1024
1012
|
readonly removeRemote?: (name: string) => Promise<void>;
|
|
1025
1013
|
readonly addRemoteManual?: (url: string) => Promise<void>;
|
|
1026
1014
|
readonly triggerPull?: (name: string) => void;
|
|
1027
1015
|
readonly connectionStates?: ReadonlyMap<string, ConnectionStateSummary>;
|
|
1016
|
+
/** Shows each remote's manifest, what it limits and what is held from it. */
|
|
1017
|
+
readonly getAgreement?: () => IPeerAgreement;
|
|
1018
|
+
readonly getHolds?: (remoteName: string) => Promise<SyncHold[]>;
|
|
1028
1019
|
};
|
|
1029
|
-
declare function RemotesInspector({
|
|
1030
|
-
getRemotes,
|
|
1031
|
-
removeRemote,
|
|
1032
|
-
addRemoteManual,
|
|
1033
|
-
triggerPull,
|
|
1034
|
-
connectionStates
|
|
1035
|
-
}: RemotesInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
1020
|
+
export declare function RemotesInspector({ getRemotes, removeRemote, addRemoteManual, triggerPull, connectionStates, getAgreement, getHolds }: RemotesInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
1036
1021
|
//#endregion
|
|
1037
1022
|
//#region src/connect/components/remotes-inspector/components/channel-inspector.d.ts
|
|
1038
|
-
type ChannelInspectorProps = {
|
|
1023
|
+
export type ChannelInspectorProps = {
|
|
1039
1024
|
readonly remoteName: string;
|
|
1040
1025
|
readonly channel: IChannel;
|
|
1041
1026
|
readonly onBack: () => void;
|
|
1042
1027
|
readonly onRefresh?: () => void;
|
|
1043
1028
|
readonly connectionState?: ConnectionStateSummary;
|
|
1044
1029
|
};
|
|
1045
|
-
declare function ChannelInspector({
|
|
1046
|
-
remoteName,
|
|
1047
|
-
channel,
|
|
1048
|
-
onBack,
|
|
1049
|
-
onRefresh,
|
|
1050
|
-
connectionState
|
|
1051
|
-
}: ChannelInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
1030
|
+
export declare function ChannelInspector({ remoteName, channel, onBack, onRefresh, connectionState }: ChannelInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
1052
1031
|
//#endregion
|
|
1053
1032
|
//#region src/connect/components/remotes-inspector/components/connection-state-badge.d.ts
|
|
1054
|
-
type ConnectionStateBadgeProps = {
|
|
1033
|
+
export type ConnectionStateBadgeProps = {
|
|
1055
1034
|
readonly state: string;
|
|
1056
1035
|
readonly failureCount: number;
|
|
1057
1036
|
};
|
|
1058
|
-
declare function ConnectionStateBadge({
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1037
|
+
export declare function ConnectionStateBadge({ state, failureCount }: ConnectionStateBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
1038
|
+
//#endregion
|
|
1039
|
+
//#region src/connect/components/remotes-inspector/components/peer-agreement-panel.d.ts
|
|
1040
|
+
export type PeerAgreementPanelProps = {
|
|
1041
|
+
readonly remoteName: string;
|
|
1042
|
+
readonly collectionId: string;
|
|
1043
|
+
readonly peer: RemotePeer | undefined;
|
|
1044
|
+
readonly agreement: IPeerAgreement;
|
|
1045
|
+
readonly holds: readonly SyncHold[];
|
|
1046
|
+
};
|
|
1047
|
+
/** How a remote's peer announced itself. */
|
|
1048
|
+
export declare function peerManifestLabel(peer: RemotePeer | undefined): string;
|
|
1049
|
+
export declare function PeerAgreementPanel({ remoteName, collectionId, peer, agreement, holds }: PeerAgreementPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
1062
1050
|
//#endregion
|
|
1063
1051
|
//#region src/connect/components/worker-inspector/worker-inspector.d.ts
|
|
1064
|
-
type WorkerInfo = {
|
|
1052
|
+
export type WorkerInfo = {
|
|
1065
1053
|
readonly namespace: string;
|
|
1066
1054
|
readonly ownerId: string;
|
|
1067
1055
|
readonly bootedAtMs: number;
|
|
1068
1056
|
readonly connectedClients: number;
|
|
1069
1057
|
readonly appBuildId: string;
|
|
1070
|
-
readonly rpcProtocolVersion: number;
|
|
1058
|
+
readonly rpcProtocolVersion: number;
|
|
1059
|
+
/** Enforcement flags the running worker booted with; empty means none. */
|
|
1071
1060
|
readonly featureFlags?: string;
|
|
1072
1061
|
};
|
|
1073
|
-
type WorkerInspectorProps = {
|
|
1062
|
+
export type WorkerInspectorProps = {
|
|
1074
1063
|
readonly getInfo: () => Promise<WorkerInfo>;
|
|
1075
1064
|
readonly onRestart: () => Promise<void>;
|
|
1076
1065
|
};
|
|
1077
|
-
declare function WorkerInspector({
|
|
1078
|
-
getInfo,
|
|
1079
|
-
onRestart
|
|
1080
|
-
}: WorkerInspectorProps): react_jsx_runtime0.JSX.Element;
|
|
1066
|
+
export declare function WorkerInspector({ getInfo, onRestart }: WorkerInspectorProps): import("react/jsx-runtime").JSX.Element;
|
|
1081
1067
|
//#endregion
|
|
1082
1068
|
//#region src/connect/components/modal/inspector-modal/inspector-modal.d.ts
|
|
1083
1069
|
type ModalProps$2 = ComponentPropsWithoutRef<typeof Modal>;
|
|
1084
|
-
type InspectorTab = "Database" | "Remotes" | "Queue" | "Processors" | "Integrity" | "Worker";
|
|
1085
|
-
type InspectorUnavailableTabs = { readonly [K in InspectorTab]?: string };
|
|
1086
|
-
type InspectorModalProps = {
|
|
1070
|
+
export type InspectorTab = "Database" | "Remotes" | "Queue" | "Processors" | "Integrity" | "CatchUp" | "Worker";
|
|
1071
|
+
export type InspectorUnavailableTabs = { readonly [K in InspectorTab]?: string; };
|
|
1072
|
+
export type InspectorModalProps = {
|
|
1087
1073
|
readonly open: boolean;
|
|
1088
1074
|
readonly onOpenChange: (open: boolean) => void;
|
|
1089
1075
|
readonly modalProps?: ModalProps$2;
|
|
@@ -1093,45 +1079,33 @@ type InspectorModalProps = {
|
|
|
1093
1079
|
readonly queueInspectorProps?: QueueInspectorProps;
|
|
1094
1080
|
readonly processorsInspectorProps?: ProcessorsInspectorProps;
|
|
1095
1081
|
readonly integrityInspectorProps?: IntegrityInspectorProps;
|
|
1082
|
+
readonly catchUpInspectorProps?: CatchUpInspectorProps;
|
|
1096
1083
|
readonly workerInspectorProps?: WorkerInspectorProps;
|
|
1097
1084
|
readonly unavailableTabs?: InspectorUnavailableTabs;
|
|
1098
1085
|
readonly defaultTab?: InspectorTab;
|
|
1099
1086
|
};
|
|
1100
|
-
declare function InspectorModal({
|
|
1101
|
-
open,
|
|
1102
|
-
onOpenChange,
|
|
1103
|
-
modalProps,
|
|
1104
|
-
containerProps,
|
|
1105
|
-
dbExplorerProps,
|
|
1106
|
-
remotesInspectorProps,
|
|
1107
|
-
queueInspectorProps,
|
|
1108
|
-
processorsInspectorProps,
|
|
1109
|
-
integrityInspectorProps,
|
|
1110
|
-
workerInspectorProps,
|
|
1111
|
-
unavailableTabs,
|
|
1112
|
-
defaultTab
|
|
1113
|
-
}: InspectorModalProps): react_jsx_runtime0.JSX.Element;
|
|
1087
|
+
export declare function InspectorModal({ open, onOpenChange, modalProps, containerProps, dbExplorerProps, remotesInspectorProps, queueInspectorProps, processorsInspectorProps, integrityInspectorProps, catchUpInspectorProps, workerInspectorProps, unavailableTabs, defaultTab }: InspectorModalProps): import("react/jsx-runtime").JSX.Element;
|
|
1114
1088
|
//#endregion
|
|
1115
1089
|
//#region src/connect/components/modal/missing-package-modal.d.ts
|
|
1116
|
-
interface PendingPackageInstallation {
|
|
1090
|
+
export interface PendingPackageInstallation {
|
|
1117
1091
|
documentType: string;
|
|
1118
1092
|
packageName: string;
|
|
1119
1093
|
}
|
|
1120
|
-
type PackageInstallModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
1094
|
+
export type PackageInstallModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
1121
1095
|
readonly pendingInstallations: PendingPackageInstallation[];
|
|
1122
1096
|
readonly onInstall: (packageName: string) => Promise<void>;
|
|
1123
1097
|
readonly onDismiss: (packageName: string) => void;
|
|
1124
1098
|
};
|
|
1125
|
-
declare function PackageInstallModal(props: PackageInstallModalProps):
|
|
1099
|
+
export declare function PackageInstallModal(props: PackageInstallModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
1126
1100
|
//#endregion
|
|
1127
1101
|
//#region src/connect/components/modal/modal-button.d.ts
|
|
1128
|
-
declare function ModalButton(props: ComponentProps<"button"> & {
|
|
1102
|
+
export declare function ModalButton(props: ComponentProps<"button"> & {
|
|
1129
1103
|
variant: "confirm" | "cancel";
|
|
1130
|
-
}):
|
|
1104
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
1131
1105
|
//#endregion
|
|
1132
1106
|
//#region src/connect/components/modal/read-required-modal.d.ts
|
|
1133
1107
|
type ModalProps$1 = ComponentPropsWithoutRef<typeof Modal>;
|
|
1134
|
-
type ReadRequiredModalProps = {
|
|
1108
|
+
export type ReadRequiredModalProps = {
|
|
1135
1109
|
readonly open?: boolean;
|
|
1136
1110
|
readonly onOpenChange?: (open: boolean) => void;
|
|
1137
1111
|
readonly header: ReactNode;
|
|
@@ -1142,11 +1116,11 @@ type ReadRequiredModalProps = {
|
|
|
1142
1116
|
readonly overlayProps?: ModalProps$1["overlayProps"];
|
|
1143
1117
|
readonly contentProps?: ModalProps$1["contentProps"];
|
|
1144
1118
|
};
|
|
1145
|
-
declare function ReadRequiredModal(props: ReadRequiredModalProps):
|
|
1119
|
+
export declare function ReadRequiredModal(props: ReadRequiredModalProps): import("react/jsx-runtime").JSX.Element;
|
|
1146
1120
|
//#endregion
|
|
1147
1121
|
//#region src/connect/components/modal/replace-duplicate-modal.d.ts
|
|
1148
1122
|
type ModalProps = ComponentPropsWithoutRef<typeof Modal>;
|
|
1149
|
-
type ConnectReplaceDuplicateModalProps = {
|
|
1123
|
+
export type ConnectReplaceDuplicateModalProps = {
|
|
1150
1124
|
readonly open?: boolean;
|
|
1151
1125
|
readonly onOpenChange?: (open: boolean) => void;
|
|
1152
1126
|
readonly title?: string;
|
|
@@ -1157,14 +1131,14 @@ type ConnectReplaceDuplicateModalProps = {
|
|
|
1157
1131
|
readonly overlayProps?: ModalProps["overlayProps"];
|
|
1158
1132
|
readonly contentProps?: ModalProps["contentProps"];
|
|
1159
1133
|
};
|
|
1160
|
-
declare function ConnectReplaceDuplicateModal(props: ConnectReplaceDuplicateModalProps):
|
|
1134
|
+
export declare function ConnectReplaceDuplicateModal(props: ConnectReplaceDuplicateModalProps): import("react/jsx-runtime").JSX.Element;
|
|
1161
1135
|
//#endregion
|
|
1162
1136
|
//#region src/connect/components/modal/settings-modal-v2/about.d.ts
|
|
1163
|
-
type Props$
|
|
1137
|
+
type Props$6 = {
|
|
1164
1138
|
packageJson: unknown;
|
|
1165
1139
|
phCliVersion?: string;
|
|
1166
1140
|
};
|
|
1167
|
-
declare function About(props: Props$
|
|
1141
|
+
export declare function About(props: Props$6): import("react/jsx-runtime").JSX.Element;
|
|
1168
1142
|
//#endregion
|
|
1169
1143
|
//#region src/connect/components/modal/settings-modal-v2/danger-zone.d.ts
|
|
1170
1144
|
type ModifyDrivesProps = {
|
|
@@ -1176,21 +1150,21 @@ type LocalStorageProps = {
|
|
|
1176
1150
|
onClearStorage: () => void | Promise<void>;
|
|
1177
1151
|
className?: string;
|
|
1178
1152
|
};
|
|
1179
|
-
type Props$
|
|
1180
|
-
declare function DangerZone(props: Props$
|
|
1153
|
+
type Props$5 = ModifyDrivesProps & LocalStorageProps;
|
|
1154
|
+
export declare function DangerZone(props: Props$5): import("react/jsx-runtime").JSX.Element;
|
|
1181
1155
|
//#endregion
|
|
1182
1156
|
//#region src/connect/components/modal/settings-modal-v2/default-editor.d.ts
|
|
1183
|
-
type Props$
|
|
1157
|
+
type Props$4 = {
|
|
1184
1158
|
documentModelEditor: string;
|
|
1185
1159
|
setDocumentModelEditor: (value: string) => void;
|
|
1186
1160
|
documentModelEditorOptions: SelectOption[];
|
|
1187
1161
|
className?: string;
|
|
1188
1162
|
};
|
|
1189
|
-
declare function DefaultEditor(props: Props$
|
|
1190
|
-
declare function DefaultEditorSelect(props: Props$
|
|
1163
|
+
export declare function DefaultEditor(props: Props$4): import("react/jsx-runtime").JSX.Element;
|
|
1164
|
+
export declare function DefaultEditorSelect(props: Props$4): import("react/jsx-runtime").JSX.Element;
|
|
1191
1165
|
//#endregion
|
|
1192
1166
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.d.ts
|
|
1193
|
-
type AvailablePackagesPanelProps = {
|
|
1167
|
+
export type AvailablePackagesPanelProps = {
|
|
1194
1168
|
/**
|
|
1195
1169
|
* status: available | dismissed. In server-search mode these are already
|
|
1196
1170
|
* filtered by the registry; otherwise they're filtered client-side here.
|
|
@@ -1208,37 +1182,43 @@ type AvailablePackagesPanelProps = {
|
|
|
1208
1182
|
* client-side `filterPackages`. Set by the connect layer once the paginated
|
|
1209
1183
|
* search endpoint is wired.
|
|
1210
1184
|
*/
|
|
1211
|
-
serverSearch?: boolean;
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1185
|
+
serverSearch?: boolean;
|
|
1186
|
+
/** true while the first page / a new search is loading. */
|
|
1187
|
+
isLoading?: boolean;
|
|
1188
|
+
/** true while an additional page is being appended (infinite scroll). */
|
|
1189
|
+
isLoadingMore?: boolean;
|
|
1190
|
+
/** more pages exist on the server. */
|
|
1191
|
+
hasMore?: boolean;
|
|
1192
|
+
/** request the next page (infinite scroll). */
|
|
1215
1193
|
onLoadMore?: () => void;
|
|
1216
1194
|
/**
|
|
1217
1195
|
* Registry fetch failed. Presence-only — the panel never surfaces raw API
|
|
1218
1196
|
* messages; see `PackageRegistryError` for the user-facing copy.
|
|
1219
1197
|
*/
|
|
1220
|
-
error?: boolean;
|
|
1198
|
+
error?: boolean;
|
|
1199
|
+
/** retry the current fetch after an error. */
|
|
1221
1200
|
onRetry?: () => void;
|
|
1222
1201
|
mutable: boolean;
|
|
1223
1202
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1224
1203
|
onUninstall: (packageName: string) => void;
|
|
1225
1204
|
disabled?: boolean;
|
|
1226
1205
|
};
|
|
1227
|
-
declare const AvailablePackagesPanel: React.FC<AvailablePackagesPanelProps>;
|
|
1206
|
+
export declare const AvailablePackagesPanel: React.FC<AvailablePackagesPanelProps>;
|
|
1228
1207
|
//#endregion
|
|
1229
1208
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.d.ts
|
|
1230
|
-
type InstalledPackagesPanelProps = {
|
|
1231
|
-
/** status: local-install | registry-install */
|
|
1209
|
+
export type InstalledPackagesPanelProps = {
|
|
1210
|
+
/** status: local-install | registry-install */
|
|
1211
|
+
packages: RegistryPackageList;
|
|
1232
1212
|
query: string;
|
|
1233
1213
|
onQueryChange: (query: string) => void;
|
|
1234
1214
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1235
1215
|
onUninstall: (packageName: string) => void;
|
|
1236
1216
|
disabled?: boolean;
|
|
1237
1217
|
};
|
|
1238
|
-
declare const InstalledPackagesPanel: React.FC<InstalledPackagesPanelProps>;
|
|
1218
|
+
export declare const InstalledPackagesPanel: React.FC<InstalledPackagesPanelProps>;
|
|
1239
1219
|
//#endregion
|
|
1240
1220
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts
|
|
1241
|
-
declare const PackageManagerListItem: (props: {
|
|
1221
|
+
export declare const PackageManagerListItem: (props: {
|
|
1242
1222
|
registryPackage: RegistryPackage;
|
|
1243
1223
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1244
1224
|
onUninstall: (packageName: string) => void;
|
|
@@ -1248,7 +1228,7 @@ declare const PackageManagerListItem: (props: {
|
|
|
1248
1228
|
*/
|
|
1249
1229
|
preferredTag?: string;
|
|
1250
1230
|
className?: string;
|
|
1251
|
-
}) =>
|
|
1231
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
1252
1232
|
/**
|
|
1253
1233
|
* Scroll region shared by both Package Manager tab panels. Fills the space
|
|
1254
1234
|
* the panel gives it and scrolls its overflow. This works because the tab
|
|
@@ -1257,7 +1237,7 @@ declare const PackageManagerListItem: (props: {
|
|
|
1257
1237
|
* unbroken (`min-h-0` + `flex-1`/`h-full` at every level), so no
|
|
1258
1238
|
* viewport-measuring hack is needed.
|
|
1259
1239
|
*/
|
|
1260
|
-
declare const PackagePanelScrollArea: React.FC<{
|
|
1240
|
+
export declare const PackagePanelScrollArea: React.FC<{
|
|
1261
1241
|
children: ReactNode;
|
|
1262
1242
|
className?: string;
|
|
1263
1243
|
/**
|
|
@@ -1266,12 +1246,12 @@ declare const PackagePanelScrollArea: React.FC<{
|
|
|
1266
1246
|
*/
|
|
1267
1247
|
onReachEnd?: () => void;
|
|
1268
1248
|
}>;
|
|
1269
|
-
declare const PackageSubSection: React.FC<{
|
|
1249
|
+
export declare const PackageSubSection: React.FC<{
|
|
1270
1250
|
title: string;
|
|
1271
1251
|
count: number;
|
|
1272
1252
|
children: ReactNode;
|
|
1273
1253
|
}>;
|
|
1274
|
-
declare const PackageList: React.FC<{
|
|
1254
|
+
export declare const PackageList: React.FC<{
|
|
1275
1255
|
packages: RegistryPackageList;
|
|
1276
1256
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1277
1257
|
onUninstall: (packageName: string) => void;
|
|
@@ -1279,18 +1259,25 @@ declare const PackageList: React.FC<{
|
|
|
1279
1259
|
}>;
|
|
1280
1260
|
//#endregion
|
|
1281
1261
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts
|
|
1282
|
-
type PackageManagerProps = {
|
|
1283
|
-
/** status: local-install | registry-install */
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1262
|
+
export type PackageManagerProps = {
|
|
1263
|
+
/** status: local-install | registry-install */
|
|
1264
|
+
installedPackages: RegistryPackageList;
|
|
1265
|
+
/** status: available | dismissed (dismissed grouped at the bottom) */
|
|
1266
|
+
availablePackages: RegistryPackageList;
|
|
1267
|
+
/** true while the first page / a new search is loading. */
|
|
1268
|
+
isAvailableLoading?: boolean;
|
|
1269
|
+
/** true while an additional page is being appended (infinite scroll). */
|
|
1270
|
+
isLoadingMoreAvailable?: boolean;
|
|
1271
|
+
/** more Available pages exist on the server. */
|
|
1272
|
+
hasMoreAvailable?: boolean;
|
|
1273
|
+
/** request the next Available page (infinite scroll). */
|
|
1288
1274
|
onLoadMoreAvailable?: () => void;
|
|
1289
1275
|
/**
|
|
1290
1276
|
* Registry Available fetch failed. Presence-only — never pass raw API
|
|
1291
1277
|
* messages; the panel renders friendly copy via `PackageRegistryError`.
|
|
1292
1278
|
*/
|
|
1293
|
-
availableError?: boolean;
|
|
1279
|
+
availableError?: boolean;
|
|
1280
|
+
/** retry the Available fetch after an error. */
|
|
1294
1281
|
onAvailableRetry?: () => void;
|
|
1295
1282
|
/**
|
|
1296
1283
|
* When provided, Available search is delegated to the server (the panel
|
|
@@ -1316,15 +1303,16 @@ type PackageManagerProps = {
|
|
|
1316
1303
|
* `initialTab="installed"` mount). The caller dedupes — this is what
|
|
1317
1304
|
* makes the installed-rows version-metadata fetch lazy.
|
|
1318
1305
|
*/
|
|
1319
|
-
onInstalledTabOpen?: () => void;
|
|
1306
|
+
onInstalledTabOpen?: () => void;
|
|
1307
|
+
/** default "installed"; used by stories/tests */
|
|
1320
1308
|
initialTab?: "installed" | "available";
|
|
1321
1309
|
disabled?: boolean;
|
|
1322
1310
|
className?: string;
|
|
1323
1311
|
};
|
|
1324
|
-
declare const PackageManager: React.FC<PackageManagerProps>;
|
|
1312
|
+
export declare const PackageManager: React.FC<PackageManagerProps>;
|
|
1325
1313
|
//#endregion
|
|
1326
1314
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.d.ts
|
|
1327
|
-
type PackageRegistryErrorProps = {
|
|
1315
|
+
export type PackageRegistryErrorProps = {
|
|
1328
1316
|
/**
|
|
1329
1317
|
* `empty` — first load / search failed with nothing to show.
|
|
1330
1318
|
* `refresh` — a later fetch failed but previously loaded packages remain.
|
|
@@ -1336,56 +1324,56 @@ type PackageRegistryErrorProps = {
|
|
|
1336
1324
|
* Friendly registry-error banner. Never surfaces raw API / network messages —
|
|
1337
1325
|
* those stay in the console for debugging.
|
|
1338
1326
|
*/
|
|
1339
|
-
declare const PackageRegistryError: React.FC<PackageRegistryErrorProps>;
|
|
1327
|
+
export declare const PackageRegistryError: React.FC<PackageRegistryErrorProps>;
|
|
1340
1328
|
//#endregion
|
|
1341
1329
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts
|
|
1342
|
-
interface RegistryOption {
|
|
1330
|
+
export interface RegistryOption {
|
|
1343
1331
|
id: string;
|
|
1344
1332
|
label: string;
|
|
1345
1333
|
url: string;
|
|
1346
1334
|
editable?: boolean;
|
|
1347
1335
|
}
|
|
1348
|
-
type RegistryStatus = "idle" | "connecting" | "connected" | "error";
|
|
1336
|
+
export type RegistryStatus = "idle" | "connecting" | "connected" | "error";
|
|
1349
1337
|
//#endregion
|
|
1350
1338
|
//#region src/connect/components/modal/settings-modal-v2/settings-modal.d.ts
|
|
1351
|
-
type SettingsTab = {
|
|
1339
|
+
export type SettingsTab = {
|
|
1352
1340
|
id: string;
|
|
1353
1341
|
icon?: React.ReactNode;
|
|
1354
1342
|
label: React.ReactNode;
|
|
1355
1343
|
content: React.ReactNode | React.ComponentType<any>;
|
|
1356
1344
|
};
|
|
1357
|
-
type Props$
|
|
1345
|
+
type Props$3 = {
|
|
1358
1346
|
readonly title: React.ReactNode;
|
|
1359
1347
|
readonly tabs: SettingsTab[];
|
|
1360
1348
|
defaultTab?: string;
|
|
1361
1349
|
navFooter?: React.ReactNode;
|
|
1362
1350
|
} & ComponentProps<typeof Modal>;
|
|
1363
|
-
declare function SettingsModal(props: Props$
|
|
1351
|
+
export declare function SettingsModal(props: Props$3): import("react/jsx-runtime").JSX.Element;
|
|
1364
1352
|
//#endregion
|
|
1365
1353
|
//#region src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.d.ts
|
|
1366
1354
|
type ValidatedPackageJson = {
|
|
1367
1355
|
version: string;
|
|
1368
1356
|
dependencies: Record<string, string>;
|
|
1369
1357
|
};
|
|
1370
|
-
declare function verifyPackageJsonFields(packageJson: unknown): ValidatedPackageJson | false;
|
|
1371
|
-
type Props$
|
|
1358
|
+
export declare function verifyPackageJsonFields(packageJson: unknown): ValidatedPackageJson | false;
|
|
1359
|
+
type Props$2 = {
|
|
1372
1360
|
readonly packageJson: unknown;
|
|
1373
1361
|
readonly phCliVersion?: string;
|
|
1374
1362
|
};
|
|
1375
|
-
declare function DependencyVersions(props: Props$
|
|
1363
|
+
export declare function DependencyVersions(props: Props$2): import("react/jsx-runtime").JSX.Element | null;
|
|
1376
1364
|
//#endregion
|
|
1377
1365
|
//#region src/connect/components/modal/upgrade-drive-modal.d.ts
|
|
1378
|
-
type ConnectUpgradeDriveModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
1366
|
+
export type ConnectUpgradeDriveModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
1379
1367
|
readonly header: React.ReactNode;
|
|
1380
1368
|
readonly body: React.ReactNode;
|
|
1381
1369
|
readonly onContinue: () => void;
|
|
1382
1370
|
readonly cancelLabel: string;
|
|
1383
1371
|
readonly continueLabel: string;
|
|
1384
1372
|
};
|
|
1385
|
-
declare function ConnectUpgradeDriveModal(props: ConnectUpgradeDriveModalProps):
|
|
1373
|
+
export declare function ConnectUpgradeDriveModal(props: ConnectUpgradeDriveModalProps): import("react/jsx-runtime").JSX.Element;
|
|
1386
1374
|
//#endregion
|
|
1387
1375
|
//#region src/connect/components/node-input/node-input.d.ts
|
|
1388
|
-
type Props$
|
|
1376
|
+
type Props$1 = {
|
|
1389
1377
|
readonly name?: string;
|
|
1390
1378
|
readonly defaultValue?: string;
|
|
1391
1379
|
readonly placeholder?: string;
|
|
@@ -1395,35 +1383,72 @@ type Props$2 = {
|
|
|
1395
1383
|
readonly onSubmit: (value: string) => void;
|
|
1396
1384
|
readonly onCancel: () => void;
|
|
1397
1385
|
};
|
|
1398
|
-
declare function NodeInput(props: Props$
|
|
1386
|
+
export declare function NodeInput(props: Props$1): import("react/jsx-runtime").JSX.Element;
|
|
1399
1387
|
//#endregion
|
|
1400
1388
|
//#region src/connect/components/object-inspector-modal/object-inspector-modal.d.ts
|
|
1401
|
-
type ObjectInspectorModalProps = {
|
|
1389
|
+
export type ObjectInspectorModalProps = {
|
|
1402
1390
|
readonly open: boolean;
|
|
1403
1391
|
readonly onOpenChange: (open: boolean) => void;
|
|
1404
1392
|
readonly title: string;
|
|
1405
1393
|
readonly object: unknown;
|
|
1406
1394
|
};
|
|
1407
|
-
declare function ObjectInspectorModal({
|
|
1408
|
-
open,
|
|
1409
|
-
onOpenChange,
|
|
1410
|
-
title,
|
|
1411
|
-
object
|
|
1412
|
-
}: ObjectInspectorModalProps): react_jsx_runtime0.JSX.Element;
|
|
1395
|
+
export declare function ObjectInspectorModal({ open, onOpenChange, title, object }: ObjectInspectorModalProps): import("react/jsx-runtime").JSX.Element;
|
|
1413
1396
|
//#endregion
|
|
1414
1397
|
//#region src/connect/components/revision-history/revision-history.d.ts
|
|
1415
|
-
type
|
|
1398
|
+
type CommonProps = {
|
|
1416
1399
|
readonly documentTitle: string;
|
|
1417
1400
|
readonly documentId: string;
|
|
1418
|
-
readonly globalOperations: Operation[];
|
|
1419
|
-
readonly localOperations: Operation[];
|
|
1420
1401
|
readonly onClose: () => void;
|
|
1421
1402
|
readonly itemsPerPage?: number;
|
|
1422
1403
|
readonly documentState?: object;
|
|
1423
1404
|
readonly onCopyState?: () => void;
|
|
1424
1405
|
readonly onCopyDocId?: () => void;
|
|
1425
1406
|
};
|
|
1426
|
-
|
|
1407
|
+
/** The current, scoped props. */
|
|
1408
|
+
export type RevisionHistoryScopedProps = CommonProps & {
|
|
1409
|
+
/** The operations of the selected scope loaded so far, in any order. */
|
|
1410
|
+
readonly operations: readonly Operation[];
|
|
1411
|
+
/** A page of operations is being fetched. */
|
|
1412
|
+
readonly isLoading: boolean;
|
|
1413
|
+
/** More operations exist beyond the loaded ones. */
|
|
1414
|
+
readonly hasNextPage: boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* Called by the component whenever it can take the next page.
|
|
1417
|
+
* Must be referentially stable (for example the hook's `fetchNextPage`);
|
|
1418
|
+
* an inline arrow re-fires the effect every render.
|
|
1419
|
+
*/
|
|
1420
|
+
readonly onLoadNextPage: () => void;
|
|
1421
|
+
/** The scopes offered in the selector, for example the keys of `document.header.revision`. */
|
|
1422
|
+
readonly scopes: readonly string[];
|
|
1423
|
+
/** The selected scope. */
|
|
1424
|
+
readonly scope: string;
|
|
1425
|
+
readonly onScopeChange: (scope: string) => void;
|
|
1426
|
+
/**
|
|
1427
|
+
* The last page failed. Operations loaded so far are still shown, and the
|
|
1428
|
+
* walk stops asking for more; there is no retry from inside the component.
|
|
1429
|
+
*/
|
|
1430
|
+
readonly error?: Error;
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* Legacy props: the whole global and local history, toggled inside the
|
|
1434
|
+
* component.
|
|
1435
|
+
* @deprecated Pass one scope's `operations` with `scopes`/`scope`/`onScopeChange` and the loading props. Removed in the next major.
|
|
1436
|
+
*/
|
|
1437
|
+
export type RevisionHistoryLegacyProps = CommonProps & {
|
|
1438
|
+
readonly globalOperations: readonly Operation[];
|
|
1439
|
+
readonly localOperations: readonly Operation[];
|
|
1440
|
+
};
|
|
1441
|
+
export type RevisionHistoryProps = RevisionHistoryScopedProps | RevisionHistoryLegacyProps;
|
|
1442
|
+
/**
|
|
1443
|
+
* The revision history panel. Pages arrive oldest first while the timeline
|
|
1444
|
+
* renders newest first, so it waits for the whole history to load before
|
|
1445
|
+
* rendering the timeline, showing "Loading operations…" and a running count
|
|
1446
|
+
* in the meantime.
|
|
1447
|
+
*
|
|
1448
|
+
* Also accepts the deprecated `globalOperations`/`localOperations` pair
|
|
1449
|
+
* (see `RevisionHistoryLegacyProps`), toggling between them internally.
|
|
1450
|
+
*/
|
|
1451
|
+
export declare function RevisionHistory(props: RevisionHistoryProps): import("react/jsx-runtime").JSX.Element;
|
|
1427
1452
|
//#endregion
|
|
1428
1453
|
//#region src/connect/components/search-bar/filter-item.d.ts
|
|
1429
1454
|
type FilterItemType = {
|
|
@@ -1433,7 +1458,7 @@ type FilterItemType = {
|
|
|
1433
1458
|
};
|
|
1434
1459
|
//#endregion
|
|
1435
1460
|
//#region src/connect/components/search-bar/search-bar.d.ts
|
|
1436
|
-
interface ConnectSearchBarProps {
|
|
1461
|
+
export interface ConnectSearchBarProps {
|
|
1437
1462
|
value?: string;
|
|
1438
1463
|
onChange?: (value: string) => void;
|
|
1439
1464
|
placeholder?: string;
|
|
@@ -1443,17 +1468,17 @@ interface ConnectSearchBarProps {
|
|
|
1443
1468
|
onFilterSelect?: (filterId: string) => void;
|
|
1444
1469
|
className?: string;
|
|
1445
1470
|
}
|
|
1446
|
-
declare const ConnectSearchBar: React.FC<ConnectSearchBarProps>;
|
|
1471
|
+
export declare const ConnectSearchBar: React.FC<ConnectSearchBarProps>;
|
|
1447
1472
|
//#endregion
|
|
1448
1473
|
//#region src/connect/components/select/select.d.ts
|
|
1449
|
-
type ConnectSelectItem<TValue extends string> = {
|
|
1474
|
+
export type ConnectSelectItem<TValue extends string> = {
|
|
1450
1475
|
readonly value: TValue;
|
|
1451
1476
|
readonly displayValue?: React.ReactNode;
|
|
1452
1477
|
readonly description?: React.ReactNode;
|
|
1453
1478
|
readonly icon?: React.JSX.Element;
|
|
1454
1479
|
readonly disabled?: boolean;
|
|
1455
1480
|
};
|
|
1456
|
-
type ConnectSelectProps<TValue extends string> = {
|
|
1481
|
+
export type ConnectSelectProps<TValue extends string> = {
|
|
1457
1482
|
items: readonly ConnectSelectItem<TValue>[];
|
|
1458
1483
|
value: TValue;
|
|
1459
1484
|
id: string;
|
|
@@ -1462,20 +1487,21 @@ type ConnectSelectProps<TValue extends string> = {
|
|
|
1462
1487
|
menuClassName?: string;
|
|
1463
1488
|
itemClassName?: string;
|
|
1464
1489
|
borderRadius?: CSSProperties["borderRadius"];
|
|
1465
|
-
absolutePositionMenu?: boolean;
|
|
1490
|
+
absolutePositionMenu?: boolean;
|
|
1491
|
+
/** Applied to the expanded options list, e.g. to cap its height and make it scrollable. */
|
|
1466
1492
|
listClassName?: string;
|
|
1467
1493
|
};
|
|
1468
|
-
declare const ConnectSelect: <TValue extends string>(props: ConnectSelectProps<TValue> & RefAttributes<HTMLDivElement>) => ReactNode;
|
|
1494
|
+
export declare const ConnectSelect: <TValue extends string>(props: ConnectSelectProps<TValue> & RefAttributes<HTMLDivElement>) => ReactNode;
|
|
1469
1495
|
//#endregion
|
|
1470
1496
|
//#region src/connect/components/sidebar/sidebar-add-drive-item.d.ts
|
|
1471
1497
|
type SidebarAddDriveItemProps = {
|
|
1472
1498
|
readonly containerClassName?: string;
|
|
1473
1499
|
readonly onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
1474
1500
|
};
|
|
1475
|
-
declare const SidebarAddDriveItem: (props: SidebarAddDriveItemProps) =>
|
|
1501
|
+
export declare const SidebarAddDriveItem: (props: SidebarAddDriveItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
1476
1502
|
//#endregion
|
|
1477
1503
|
//#region src/connect/components/sidebar/sidebar-footer.d.ts
|
|
1478
|
-
interface ConnectSidebarFooterProps extends ComponentProps<typeof SidebarFooter> {
|
|
1504
|
+
export interface ConnectSidebarFooterProps extends ComponentProps<typeof SidebarFooter> {
|
|
1479
1505
|
address: `0x${string}` | undefined;
|
|
1480
1506
|
ensName?: string;
|
|
1481
1507
|
avatarUrl?: string;
|
|
@@ -1487,11 +1513,11 @@ interface ConnectSidebarFooterProps extends ComponentProps<typeof SidebarFooter>
|
|
|
1487
1513
|
showDebug?: boolean;
|
|
1488
1514
|
onDebugClick?: () => void;
|
|
1489
1515
|
}
|
|
1490
|
-
declare const ConnectSidebarFooter: React.FC<ConnectSidebarFooterProps>;
|
|
1516
|
+
export declare const ConnectSidebarFooter: React.FC<ConnectSidebarFooterProps>;
|
|
1491
1517
|
//#endregion
|
|
1492
1518
|
//#region src/connect/components/sidebar/sidebar-header.d.ts
|
|
1493
|
-
interface ConnectSidebarHeaderProps extends ComponentProps<typeof SidebarHeader> {}
|
|
1494
|
-
declare const ConnectSidebarHeader: React.FC<ConnectSidebarHeaderProps>;
|
|
1519
|
+
export interface ConnectSidebarHeaderProps extends ComponentProps<typeof SidebarHeader> {}
|
|
1520
|
+
export declare const ConnectSidebarHeader: React.FC<ConnectSidebarHeaderProps>;
|
|
1495
1521
|
//#endregion
|
|
1496
1522
|
//#region src/connect/components/sidebar/sidebar-item.d.ts
|
|
1497
1523
|
type SidebarItemProps = {
|
|
@@ -1502,26 +1528,26 @@ type SidebarItemProps = {
|
|
|
1502
1528
|
readonly active?: boolean;
|
|
1503
1529
|
readonly onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
1504
1530
|
};
|
|
1505
|
-
declare const SidebarItem: (props: SidebarItemProps) =>
|
|
1531
|
+
export declare const SidebarItem: (props: SidebarItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
1506
1532
|
//#endregion
|
|
1507
1533
|
//#region src/connect/components/sidebar/sidebar-login.d.ts
|
|
1508
|
-
interface SidebarLoginProps {
|
|
1534
|
+
export interface SidebarLoginProps {
|
|
1509
1535
|
onLogin: (() => void) | undefined;
|
|
1510
1536
|
}
|
|
1511
|
-
declare const SidebarLogin: React.FC<SidebarLoginProps>;
|
|
1537
|
+
export declare const SidebarLogin: React.FC<SidebarLoginProps>;
|
|
1512
1538
|
//#endregion
|
|
1513
1539
|
//#region src/connect/components/sidebar/sidebar-user.d.ts
|
|
1514
|
-
interface SidebarUserProps {
|
|
1540
|
+
export interface SidebarUserProps {
|
|
1515
1541
|
address: `0x${string}`;
|
|
1516
1542
|
ensName?: string;
|
|
1517
1543
|
avatarUrl?: string;
|
|
1518
1544
|
etherscanUrl: string;
|
|
1519
1545
|
onDisconnect: (() => void) | undefined;
|
|
1520
1546
|
}
|
|
1521
|
-
declare const SidebarUser: React.FC<SidebarUserProps>;
|
|
1547
|
+
export declare const SidebarUser: React.FC<SidebarUserProps>;
|
|
1522
1548
|
//#endregion
|
|
1523
1549
|
//#region src/connect/components/sidebar/sidebar.d.ts
|
|
1524
|
-
interface ConnectSidebarProps extends HTMLAttributes<HTMLElement>, ConnectSidebarHeaderProps, ConnectSidebarFooterProps {
|
|
1550
|
+
export interface ConnectSidebarProps extends HTMLAttributes<HTMLElement>, ConnectSidebarHeaderProps, ConnectSidebarFooterProps {
|
|
1525
1551
|
maxWidth?: string;
|
|
1526
1552
|
minWidth?: string;
|
|
1527
1553
|
headerContent?: React.ReactNode;
|
|
@@ -1531,17 +1557,17 @@ interface ConnectSidebarProps extends HTMLAttributes<HTMLElement>, ConnectSideba
|
|
|
1531
1557
|
etherscanUrl?: string;
|
|
1532
1558
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
1533
1559
|
}
|
|
1534
|
-
declare const ConnectSidebar: React.FC<ConnectSidebarProps>;
|
|
1560
|
+
export declare const ConnectSidebar: React.FC<ConnectSidebarProps>;
|
|
1535
1561
|
//#endregion
|
|
1536
1562
|
//#region src/connect/components/status-icon/sync-status-icon.d.ts
|
|
1537
|
-
type SyncStatusIconProps = Omit<ComponentPropsWithoutRef<typeof Icon>, "name"> & {
|
|
1563
|
+
export type SyncStatusIconProps = Omit<ComponentPropsWithoutRef<typeof Icon>, "name"> & {
|
|
1538
1564
|
syncStatus: SyncStatus$1;
|
|
1539
1565
|
overrideSyncIcons?: Partial<Record<SyncStatus$1, IconName>>;
|
|
1540
1566
|
};
|
|
1541
|
-
declare function SyncStatusIcon(props: SyncStatusIconProps):
|
|
1567
|
+
export declare function SyncStatusIcon(props: SyncStatusIconProps): import("react/jsx-runtime").JSX.Element;
|
|
1542
1568
|
//#endregion
|
|
1543
1569
|
//#region src/connect/components/tabs/tab-content.d.ts
|
|
1544
|
-
type TabContentProps = {
|
|
1570
|
+
export type TabContentProps = {
|
|
1545
1571
|
readonly label: ReactNode;
|
|
1546
1572
|
/**
|
|
1547
1573
|
* Stable tab value. Required when `label` is not a plain string (e.g. it
|
|
@@ -1553,31 +1579,25 @@ type TabContentProps = {
|
|
|
1553
1579
|
readonly children: ReactNode;
|
|
1554
1580
|
readonly disabled?: boolean;
|
|
1555
1581
|
};
|
|
1556
|
-
declare function TabContent(props: TabContentProps):
|
|
1582
|
+
export declare function TabContent(props: TabContentProps): import("react/jsx-runtime").JSX.Element;
|
|
1557
1583
|
//#endregion
|
|
1558
1584
|
//#region src/connect/components/tabs/tabs.d.ts
|
|
1559
|
-
declare function Tabs({
|
|
1560
|
-
children,
|
|
1561
|
-
defaultValue,
|
|
1562
|
-
onValueChange,
|
|
1563
|
-
listClassName
|
|
1564
|
-
}: {
|
|
1585
|
+
export declare function Tabs({ children, defaultValue, onValueChange, listClassName }: {
|
|
1565
1586
|
children: React$1.ReactNode;
|
|
1566
1587
|
defaultValue: string;
|
|
1567
|
-
onValueChange?: (value: string) => void;
|
|
1588
|
+
onValueChange?: (value: string) => void;
|
|
1589
|
+
/** Applied to the tab list row (not the panel content). */
|
|
1568
1590
|
listClassName?: string;
|
|
1569
|
-
}):
|
|
1591
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
1570
1592
|
//#endregion
|
|
1571
1593
|
//#region src/connect/components/theme-switch.d.ts
|
|
1572
|
-
declare function ThemeSwitch({
|
|
1573
|
-
horizontal
|
|
1574
|
-
}: {
|
|
1594
|
+
export declare function ThemeSwitch({ horizontal }: {
|
|
1575
1595
|
horizontal?: boolean;
|
|
1576
|
-
}):
|
|
1596
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
1577
1597
|
//#endregion
|
|
1578
1598
|
//#region src/connect/components/toggle/toggle.d.ts
|
|
1579
1599
|
type ToggleProps = Omit<ComponentPropsWithRef<"input">, "type">;
|
|
1580
|
-
declare const Toggle: react.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
1600
|
+
export declare const Toggle: import("react").ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
1581
1601
|
//#endregion
|
|
1582
1602
|
//#region src/connect/components/tooltip/tooltip.d.ts
|
|
1583
1603
|
type Props = TooltipProps & {
|
|
@@ -1586,106 +1606,106 @@ type Props = TooltipProps & {
|
|
|
1586
1606
|
readonly side?: "top" | "right" | "bottom" | "left";
|
|
1587
1607
|
readonly sideOffset?: number;
|
|
1588
1608
|
};
|
|
1589
|
-
declare function ConnectTooltip(props: Props):
|
|
1590
|
-
declare const ConnectTooltipProvider: react.FC<
|
|
1609
|
+
export declare function ConnectTooltip(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
1610
|
+
export declare const ConnectTooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
|
|
1591
1611
|
//#endregion
|
|
1592
1612
|
//#region src/connect/components/upload-file-list/upload-file-list.d.ts
|
|
1593
|
-
type UploadFileListProps = ComponentPropsWithoutRef<"div"> & {
|
|
1613
|
+
export type UploadFileListProps = ComponentPropsWithoutRef<"div"> & {
|
|
1594
1614
|
readonly items: ReadonlyArray<UploadFileItemProps>;
|
|
1595
1615
|
readonly title?: string;
|
|
1596
1616
|
readonly defaultCollapsed?: boolean;
|
|
1597
1617
|
readonly onClose?: () => void;
|
|
1598
1618
|
};
|
|
1599
|
-
declare function UploadFileList(props: UploadFileListProps):
|
|
1619
|
+
export declare function UploadFileList(props: UploadFileListProps): import("react/jsx-runtime").JSX.Element;
|
|
1600
1620
|
//#endregion
|
|
1601
1621
|
//#region src/connect/constants/options.d.ts
|
|
1602
|
-
declare const defaultDriveOptions: readonly ["DOWNLOAD", "NEW_FOLDER", "RENAME", "SETTINGS"];
|
|
1603
|
-
declare const defaultNodeOptions: readonly ["RENAME", "DELETE", "DUPLICATE"];
|
|
1604
|
-
declare const normalNodeOptions: readonly ["DUPLICATE", "RENAME", "DELETE", "SETTINGS"];
|
|
1605
|
-
declare const debugNodeOptions: readonly ["ADD_TRIGGER", "REMOVE_TRIGGER", "ADD_INVALID_TRIGGER"];
|
|
1606
|
-
declare const nodeOptions: readonly ["DUPLICATE", "RENAME", "DELETE", "SETTINGS", "ADD_TRIGGER", "REMOVE_TRIGGER", "ADD_INVALID_TRIGGER"];
|
|
1607
|
-
declare const sharingTypeOptions: readonly [{
|
|
1622
|
+
export declare const defaultDriveOptions: readonly ["DOWNLOAD", "NEW_FOLDER", "RENAME", "SETTINGS"];
|
|
1623
|
+
export declare const defaultNodeOptions: readonly ["RENAME", "DELETE", "DUPLICATE"];
|
|
1624
|
+
export declare const normalNodeOptions: readonly ["DUPLICATE", "RENAME", "DELETE", "SETTINGS"];
|
|
1625
|
+
export declare const debugNodeOptions: readonly ["ADD_TRIGGER", "REMOVE_TRIGGER", "ADD_INVALID_TRIGGER"];
|
|
1626
|
+
export declare const nodeOptions: readonly ["DUPLICATE", "RENAME", "DELETE", "SETTINGS", "ADD_TRIGGER", "REMOVE_TRIGGER", "ADD_INVALID_TRIGGER"];
|
|
1627
|
+
export declare const sharingTypeOptions: readonly [{
|
|
1608
1628
|
readonly value: "LOCAL";
|
|
1609
|
-
readonly icon:
|
|
1629
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1610
1630
|
readonly description: "Only available to you";
|
|
1611
1631
|
}, {
|
|
1612
1632
|
readonly value: "CLOUD";
|
|
1613
|
-
readonly icon:
|
|
1633
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1614
1634
|
readonly description: "Only available to people in this drive";
|
|
1615
1635
|
}, {
|
|
1616
1636
|
readonly value: "PUBLIC";
|
|
1617
|
-
readonly icon:
|
|
1637
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1618
1638
|
readonly description: "Available to everyone";
|
|
1619
1639
|
readonly disabled: true;
|
|
1620
1640
|
}];
|
|
1621
|
-
declare const locationInfoByLocation: {
|
|
1641
|
+
export declare const locationInfoByLocation: {
|
|
1622
1642
|
readonly CLOUD: {
|
|
1623
1643
|
readonly title: "Secure cloud";
|
|
1624
1644
|
readonly description: "End to end encryption between members.";
|
|
1625
|
-
readonly icon:
|
|
1645
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1626
1646
|
};
|
|
1627
1647
|
readonly LOCAL: {
|
|
1628
1648
|
readonly title: "Local";
|
|
1629
1649
|
readonly description: "Private and only available to you.";
|
|
1630
|
-
readonly icon:
|
|
1650
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1631
1651
|
};
|
|
1632
1652
|
readonly SWITCHBOARD: {
|
|
1633
1653
|
readonly title: "Switchboard";
|
|
1634
1654
|
readonly description: "Public and available to everyone.";
|
|
1635
|
-
readonly icon:
|
|
1655
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1636
1656
|
};
|
|
1637
1657
|
};
|
|
1638
|
-
declare const debugNodeOptionsMap: {
|
|
1658
|
+
export declare const debugNodeOptionsMap: {
|
|
1639
1659
|
readonly ADD_TRIGGER: {
|
|
1640
1660
|
readonly label: "Add Trigger";
|
|
1641
|
-
readonly icon:
|
|
1661
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1642
1662
|
};
|
|
1643
1663
|
readonly REMOVE_TRIGGER: {
|
|
1644
1664
|
readonly label: "Remove Trigger";
|
|
1645
|
-
readonly icon:
|
|
1665
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1646
1666
|
};
|
|
1647
1667
|
readonly ADD_INVALID_TRIGGER: {
|
|
1648
1668
|
readonly label: "Add Trigger";
|
|
1649
|
-
readonly icon:
|
|
1669
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1650
1670
|
};
|
|
1651
1671
|
};
|
|
1652
|
-
declare const folderNodeDropdownOptions: {
|
|
1672
|
+
export declare const folderNodeDropdownOptions: {
|
|
1653
1673
|
readonly DOWNLOAD: {
|
|
1654
1674
|
readonly label: "Download as zip";
|
|
1655
|
-
readonly icon:
|
|
1675
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1656
1676
|
};
|
|
1657
1677
|
readonly DUPLICATE: {
|
|
1658
1678
|
readonly label: "Duplicate";
|
|
1659
|
-
readonly icon:
|
|
1679
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1660
1680
|
};
|
|
1661
1681
|
readonly RENAME: {
|
|
1662
1682
|
readonly label: "Rename";
|
|
1663
|
-
readonly icon:
|
|
1683
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1664
1684
|
};
|
|
1665
1685
|
readonly DELETE: {
|
|
1666
1686
|
readonly label: "Delete";
|
|
1667
|
-
readonly icon:
|
|
1687
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1668
1688
|
readonly className: "text-destructive";
|
|
1669
1689
|
};
|
|
1670
1690
|
};
|
|
1671
|
-
declare const fileNodeDropdownOptions: {
|
|
1672
|
-
DOWNLOAD: {
|
|
1673
|
-
label: string;
|
|
1674
|
-
icon: react_jsx_runtime0.JSX.Element;
|
|
1675
|
-
};
|
|
1691
|
+
export declare const fileNodeDropdownOptions: {
|
|
1676
1692
|
DUPLICATE: {
|
|
1677
1693
|
readonly label: "Duplicate";
|
|
1678
|
-
readonly icon:
|
|
1694
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1679
1695
|
};
|
|
1680
1696
|
RENAME: {
|
|
1681
1697
|
readonly label: "Rename";
|
|
1682
|
-
readonly icon:
|
|
1698
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1683
1699
|
};
|
|
1684
1700
|
DELETE: {
|
|
1685
1701
|
readonly label: "Delete";
|
|
1686
|
-
readonly icon:
|
|
1702
|
+
readonly icon: import("react/jsx-runtime").JSX.Element;
|
|
1687
1703
|
readonly className: "text-destructive";
|
|
1688
1704
|
};
|
|
1705
|
+
DOWNLOAD: {
|
|
1706
|
+
label: string;
|
|
1707
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
1708
|
+
};
|
|
1689
1709
|
};
|
|
1690
1710
|
//#endregion
|
|
1691
1711
|
//#region src/connect/hooks/use-ens.d.ts
|
|
@@ -1715,14 +1735,14 @@ type UseEnsResult = {
|
|
|
1715
1735
|
isLoading: boolean;
|
|
1716
1736
|
error: Error | undefined;
|
|
1717
1737
|
};
|
|
1718
|
-
declare function useEns(address: `0x${string}` | undefined): UseEnsResult;
|
|
1738
|
+
export declare function useEns(address: `0x${string}` | undefined): UseEnsResult;
|
|
1719
1739
|
//#endregion
|
|
1720
1740
|
//#region src/connect/utils/address.d.ts
|
|
1721
|
-
declare function formatEthAddress(address: string): string;
|
|
1741
|
+
export declare function formatEthAddress(address: string): string;
|
|
1722
1742
|
//#endregion
|
|
1723
1743
|
//#region src/connect/utils/get-folder-status.d.ts
|
|
1724
1744
|
type SyncStatus = "INITIAL_SYNC" | "SYNCING" | "SUCCESS" | "CONFLICT" | "MISSING" | "ERROR";
|
|
1725
|
-
type FileStatus = {
|
|
1745
|
+
export type FileStatus = {
|
|
1726
1746
|
path: string;
|
|
1727
1747
|
status?: SyncStatus;
|
|
1728
1748
|
};
|
|
@@ -1733,7 +1753,7 @@ type FileStatus = {
|
|
|
1733
1753
|
* @param sortedFiles - The sorted list of files.
|
|
1734
1754
|
* @returns The sync status of the folder.
|
|
1735
1755
|
*/
|
|
1736
|
-
declare const getFolderStatus: (folderPath: string, sortedFiles: FileStatus[]) => SyncStatus;
|
|
1756
|
+
export declare const getFolderStatus: (folderPath: string, sortedFiles: FileStatus[]) => SyncStatus;
|
|
1737
1757
|
/**
|
|
1738
1758
|
* Sorts an array of files by their status.
|
|
1739
1759
|
* The order priority is:
|
|
@@ -1746,13 +1766,14 @@ declare const getFolderStatus: (folderPath: string, sortedFiles: FileStatus[]) =
|
|
|
1746
1766
|
* @param files - The array of files to be sorted.
|
|
1747
1767
|
* @returns The sorted array of files.
|
|
1748
1768
|
*/
|
|
1749
|
-
declare const sortFilesByStatus: (files: FileStatus[]) => FileStatus[];
|
|
1769
|
+
export declare const sortFilesByStatus: (files: FileStatus[]) => FileStatus[];
|
|
1750
1770
|
/**
|
|
1751
1771
|
* Removes files with a status of 'SUCCESS' from the given array of FileStatus objects.
|
|
1752
1772
|
* @param files - An array of FileStatus objects.
|
|
1753
1773
|
* @returns A new array containing only the FileStatus objects with a status other than 'SUCCESS'.
|
|
1754
1774
|
*/
|
|
1755
|
-
declare const removeSuccessFiles: (files: FileStatus[]) => FileStatus[];
|
|
1775
|
+
export declare const removeSuccessFiles: (files: FileStatus[]) => FileStatus[];
|
|
1756
1776
|
//#endregion
|
|
1757
|
-
export {
|
|
1777
|
+
export { type AppOptions, CONFLICT, type ColumnInfo, type ContainerComponent, type ControlPosition, type ControlSlot, type CustomToolbarControl, type CustomToolbarControlList, type CustomToolbarControls, type DocumentToolbarControlName, type DocumentToolbarProps, type DocumentToolbarWithChildrenProps, type DocumentToolbarWithCustomControlsProps, ERROR, type FilterClause, type FilterGroup, type FilterOperator, INITIAL_SYNC, MISSING, SUCCESS, SYNCING, type SortOptions, type TableInfo, type ToolbarButtonClickHandler, type ToolbarButtonProps, type ToolbarControlComponent, type ToolbarControlComponents, syncStatuses };
|
|
1778
|
+
export {};
|
|
1758
1779
|
//# sourceMappingURL=index.d.ts.map
|