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