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