@pie-element/ebsr 6.6.3-next.414 → 6.6.3-next.430
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/configure/CHANGELOG.md +25 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +17 -0
- package/controller/package.json +1 -1
- package/package.json +3 -3
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +0 -1972
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +0 -1563
- package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +0 -5
- package/configure/node_modules/@pie-element/multiple-choice/README.md +0 -56
- package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +0 -1387
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +0 -1140
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +0 -103
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +0 -193
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +0 -471
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +0 -20
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +0 -527
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +0 -714
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +0 -18
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +0 -242
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +0 -36
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +0 -15
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +0 -311
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +0 -245
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +0 -8
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +0 -52
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +0 -7
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +0 -326
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +0 -266
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +0 -284
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +0 -174
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +0 -151
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +0 -97
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +0 -341
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +0 -35
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/CHANGELOG.json +0 -1677
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/CHANGELOG.md +0 -1498
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/LICENSE.md +0 -5
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/README.md +0 -12
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/checkbox.js +0 -86
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/checkbox.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js +0 -176
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js +0 -391
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-utils.js +0 -54
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-utils.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js +0 -194
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js +0 -75
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js +0 -184
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/form-section.js +0 -44
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/form-section.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/help.js +0 -152
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/help.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/index.js +0 -195
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/input.js +0 -144
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/input.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/inputs.js +0 -120
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/inputs.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/langs.js +0 -187
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/langs.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js +0 -109
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/index.js +0 -24
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js +0 -111
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js +0 -95
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/mui-box/index.js +0 -79
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/mui-box/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field.js +0 -274
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/radio-with-label.js +0 -41
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/radio-with-label.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/display-size.js +0 -77
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/display-size.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/index.js +0 -136
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/panel.js +0 -422
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/panel.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js +0 -43
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/toggle.js +0 -56
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/toggle.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tabs/index.js +0 -113
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tabs/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tags-input/index.js +0 -206
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tags-input/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/two-choice.js +0 -190
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/two-choice.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js +0 -91
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/package.json +0 -30
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/checkbox.jsx +0 -63
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-configuration/feedback-menu.jsx +0 -103
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-configuration/index.jsx +0 -301
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-utils.js +0 -30
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/feedback-selector.jsx +0 -116
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/group.jsx +0 -54
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/index.jsx +0 -98
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/form-section.jsx +0 -23
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/help.jsx +0 -88
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/index.js +0 -54
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/input.jsx +0 -72
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/inputs.jsx +0 -88
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/langs.jsx +0 -122
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/config-layout.jsx +0 -64
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/index.js +0 -4
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/layout-contents.jsx +0 -60
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/settings-box.jsx +0 -31
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/mui-box/index.jsx +0 -64
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/number-text-field.jsx +0 -196
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/radio-with-label.jsx +0 -18
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/display-size.jsx +0 -52
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/index.js +0 -75
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/panel.jsx +0 -297
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/settings-radio-label.jsx +0 -20
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/toggle.jsx +0 -31
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/tabs/index.jsx +0 -51
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/tags-input/index.jsx +0 -121
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/two-choice.jsx +0 -94
- package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/with-stateful-model.jsx +0 -36
- package/configure/node_modules/@pie-element/multiple-choice/package.json +0 -30
- package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.json +0 -547
- package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.md +0 -513
- package/configure/node_modules/@pie-lib/correct-answer-toggle/LICENSE.md +0 -5
- package/configure/node_modules/@pie-lib/correct-answer-toggle/README.md +0 -64
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js +0 -81
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js.map +0 -1
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js +0 -150
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js +0 -65
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js.map +0 -1
- package/configure/node_modules/@pie-lib/correct-answer-toggle/package.json +0 -36
- package/configure/node_modules/@pie-lib/correct-answer-toggle/preview.png +0 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/expander.jsx +0 -60
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/index.jsx +0 -73
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/styles.js +0 -60
- package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.json +0 -3162
- package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.md +0 -1441
- package/configure/node_modules/@pie-lib/editable-html/LICENSE.md +0 -5
- package/configure/node_modules/@pie-lib/editable-html/README.md +0 -45
- package/configure/node_modules/@pie-lib/editable-html/deploy.sh +0 -16
- package/configure/node_modules/@pie-lib/editable-html/lib/editor.js +0 -698
- package/configure/node_modules/@pie-lib/editable-html/lib/editor.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/index.js +0 -213
- package/configure/node_modules/@pie-lib/editable-html/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js +0 -16
- package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js +0 -248
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js +0 -141
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js +0 -219
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js +0 -141
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js +0 -133
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js +0 -136
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js +0 -352
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js +0 -338
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js +0 -445
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js +0 -105
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js +0 -100
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js +0 -229
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js +0 -97
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js +0 -53
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js +0 -93
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js +0 -277
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js +0 -70
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js +0 -110
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js +0 -69
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js +0 -443
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js +0 -167
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js +0 -129
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js +0 -50
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js +0 -263
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js +0 -32
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js +0 -164
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js +0 -350
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js +0 -62
- package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js +0 -405
- package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/lib/theme.js +0 -9
- package/configure/node_modules/@pie-lib/editable-html/lib/theme.js.map +0 -1
- package/configure/node_modules/@pie-lib/editable-html/package.json +0 -51
- package/configure/node_modules/@pie-lib/editable-html/playground/image/data.js +0 -59
- package/configure/node_modules/@pie-lib/editable-html/playground/image/index.html +0 -24
- package/configure/node_modules/@pie-lib/editable-html/playground/image/index.jsx +0 -83
- package/configure/node_modules/@pie-lib/editable-html/playground/index.html +0 -27
- package/configure/node_modules/@pie-lib/editable-html/playground/mathquill/index.html +0 -25
- package/configure/node_modules/@pie-lib/editable-html/playground/mathquill/index.jsx +0 -151
- package/configure/node_modules/@pie-lib/editable-html/playground/package.json +0 -15
- package/configure/node_modules/@pie-lib/editable-html/playground/prod-test/index.html +0 -26
- package/configure/node_modules/@pie-lib/editable-html/playground/prod-test/index.jsx +0 -30
- package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/data.js +0 -29
- package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/image-plugin.jsx +0 -40
- package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/index.html +0 -23
- package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/index.jsx +0 -96
- package/configure/node_modules/@pie-lib/editable-html/playground/serialization/data.js +0 -29
- package/configure/node_modules/@pie-lib/editable-html/playground/serialization/image-plugin.jsx +0 -40
- package/configure/node_modules/@pie-lib/editable-html/playground/serialization/index.html +0 -24
- package/configure/node_modules/@pie-lib/editable-html/playground/serialization/index.jsx +0 -12
- package/configure/node_modules/@pie-lib/editable-html/playground/static.json +0 -3
- package/configure/node_modules/@pie-lib/editable-html/playground/table-examples.html +0 -67
- package/configure/node_modules/@pie-lib/editable-html/playground/webpack.config.js +0 -42
- package/configure/node_modules/@pie-lib/editable-html/src/editor.jsx +0 -584
- package/configure/node_modules/@pie-lib/editable-html/src/index.jsx +0 -128
- package/configure/node_modules/@pie-lib/editable-html/src/parse-html.js +0 -8
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/README.md +0 -27
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/component.jsx +0 -166
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/image-toolbar.jsx +0 -62
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/index.jsx +0 -180
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/insert-image-handler.js +0 -93
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/index.jsx +0 -112
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/list/index.jsx +0 -113
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/math/index.jsx +0 -289
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/index.jsx +0 -281
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-dialog.js +0 -372
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-toolbar.jsx +0 -53
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-wrapper.jsx +0 -43
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/choice.jsx +0 -160
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/index.jsx +0 -78
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/explicit-constructed-response/index.jsx +0 -45
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/icons/index.jsx +0 -68
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/index.jsx +0 -244
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/inline-dropdown/index.jsx +0 -63
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/utils.jsx +0 -77
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/icons/index.jsx +0 -59
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/index.jsx +0 -390
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/table-toolbar.jsx +0 -104
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/default-toolbar.jsx +0 -103
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/done-button.jsx +0 -36
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/editor-and-toolbar.jsx +0 -217
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/index.jsx +0 -21
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar-buttons.jsx +0 -86
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar.jsx +0 -313
- package/configure/node_modules/@pie-lib/editable-html/src/plugins/utils.js +0 -32
- package/configure/node_modules/@pie-lib/editable-html/src/serialization.jsx +0 -369
- package/configure/node_modules/@pie-lib/editable-html/src/theme.js +0 -1
- package/configure/node_modules/@pie-lib/editable-html/static.json +0 -1
- package/configure/node_modules/@pie-lib/math-input/CHANGELOG.json +0 -1412
- package/configure/node_modules/@pie-lib/math-input/CHANGELOG.md +0 -874
- package/configure/node_modules/@pie-lib/math-input/LICENSE.md +0 -5
- package/configure/node_modules/@pie-lib/math-input/README.md +0 -27
- package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js +0 -123
- package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/index.js +0 -75
- package/configure/node_modules/@pie-lib/math-input/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js +0 -367
- package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js +0 -30
- package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js +0 -41
- package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js +0 -17
- package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js +0 -46
- package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js +0 -26
- package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js +0 -53
- package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js +0 -16
- package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js +0 -35
- package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js +0 -31
- package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js +0 -139
- package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js +0 -198
- package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js +0 -50
- package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js +0 -32
- package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js +0 -23
- package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js +0 -23
- package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js +0 -69
- package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js +0 -23
- package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js +0 -17
- package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js +0 -38
- package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js +0 -23
- package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js +0 -53
- package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js +0 -126
- package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js +0 -29
- package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/math-input.js +0 -200
- package/configure/node_modules/@pie-lib/math-input/lib/math-input.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js +0 -23
- package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js +0 -24
- package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js +0 -255
- package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js +0 -216
- package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-input/package.json +0 -26
- package/configure/node_modules/@pie-lib/math-input/src/horizontal-keypad.jsx +0 -53
- package/configure/node_modules/@pie-lib/math-input/src/index.jsx +0 -27
- package/configure/node_modules/@pie-lib/math-input/src/keypad/index.jsx +0 -279
- package/configure/node_modules/@pie-lib/math-input/src/keypad/keys-layout.js +0 -17
- package/configure/node_modules/@pie-lib/math-input/src/keys/basic-operators.js +0 -32
- package/configure/node_modules/@pie-lib/math-input/src/keys/chars.js +0 -5
- package/configure/node_modules/@pie-lib/math-input/src/keys/comparison.js +0 -27
- package/configure/node_modules/@pie-lib/math-input/src/keys/constants.js +0 -18
- package/configure/node_modules/@pie-lib/math-input/src/keys/digits.js +0 -40
- package/configure/node_modules/@pie-lib/math-input/src/keys/edit.js +0 -3
- package/configure/node_modules/@pie-lib/math-input/src/keys/exponent.js +0 -27
- package/configure/node_modules/@pie-lib/math-input/src/keys/fractions.js +0 -23
- package/configure/node_modules/@pie-lib/math-input/src/keys/geometry.js +0 -116
- package/configure/node_modules/@pie-lib/math-input/src/keys/grades.js +0 -265
- package/configure/node_modules/@pie-lib/math-input/src/keys/index.js +0 -21
- package/configure/node_modules/@pie-lib/math-input/src/keys/log.js +0 -22
- package/configure/node_modules/@pie-lib/math-input/src/keys/logic.js +0 -15
- package/configure/node_modules/@pie-lib/math-input/src/keys/matrices.js +0 -15
- package/configure/node_modules/@pie-lib/math-input/src/keys/misc.js +0 -60
- package/configure/node_modules/@pie-lib/math-input/src/keys/navigation.js +0 -8
- package/configure/node_modules/@pie-lib/math-input/src/keys/operators.js +0 -9
- package/configure/node_modules/@pie-lib/math-input/src/keys/statistics.js +0 -29
- package/configure/node_modules/@pie-lib/math-input/src/keys/sub-sup.js +0 -15
- package/configure/node_modules/@pie-lib/math-input/src/keys/trigonometry.js +0 -15
- package/configure/node_modules/@pie-lib/math-input/src/keys/utils.js +0 -71
- package/configure/node_modules/@pie-lib/math-input/src/keys/vars.js +0 -19
- package/configure/node_modules/@pie-lib/math-input/src/math-input.jsx +0 -128
- package/configure/node_modules/@pie-lib/math-input/src/mq/custom-elements.js +0 -11
- package/configure/node_modules/@pie-lib/math-input/src/mq/index.js +0 -4
- package/configure/node_modules/@pie-lib/math-input/src/mq/input.jsx +0 -163
- package/configure/node_modules/@pie-lib/math-input/src/mq/static.jsx +0 -139
- package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +0 -657
- package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +0 -412
- package/configure/node_modules/@pie-lib/math-rendering/LICENSE.md +0 -5
- package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +0 -30
- package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +0 -312
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +0 -23
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +0 -119
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +0 -99
- package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +0 -239
- package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-rendering/package.json +0 -19
- package/configure/node_modules/@pie-lib/math-rendering/playground/demo.html +0 -872
- package/configure/node_modules/@pie-lib/math-rendering/playground/demo.js +0 -108
- package/configure/node_modules/@pie-lib/math-rendering/playground/main.html +0 -156
- package/configure/node_modules/@pie-lib/math-rendering/playground/main.js +0 -16
- package/configure/node_modules/@pie-lib/math-rendering/playground/webpack.config.js +0 -29
- package/configure/node_modules/@pie-lib/math-rendering/src/index.js +0 -4
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +0 -215
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +0 -13
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +0 -24
- package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +0 -69
- package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +0 -203
- package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.json +0 -847
- package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.md +0 -742
- package/configure/node_modules/@pie-lib/math-toolbar/LICENSE.md +0 -5
- package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js +0 -53
- package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js +0 -386
- package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js +0 -259
- package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js +0 -163
- package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js.map +0 -1
- package/configure/node_modules/@pie-lib/math-toolbar/package.json +0 -36
- package/configure/node_modules/@pie-lib/math-toolbar/src/done-button.jsx +0 -39
- package/configure/node_modules/@pie-lib/math-toolbar/src/editor-and-pad.jsx +0 -311
- package/configure/node_modules/@pie-lib/math-toolbar/src/index.jsx +0 -185
- package/configure/node_modules/@pie-lib/math-toolbar/src/math-preview.jsx +0 -101
- package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +0 -937
- package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +0 -616
- package/configure/node_modules/@pie-lib/render-ui/LICENSE.md +0 -5
- package/configure/node_modules/@pie-lib/render-ui/README.md +0 -33
- package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +0 -144
- package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/color.js +0 -134
- package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +0 -154
- package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +0 -24
- package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +0 -98
- package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/index.js +0 -99
- package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +0 -60
- package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +0 -129
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +0 -133
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +0 -28
- package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +0 -28
- package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +0 -154
- package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +0 -194
- package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +0 -1
- package/configure/node_modules/@pie-lib/render-ui/package.json +0 -30
- package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +0 -68
- package/configure/node_modules/@pie-lib/render-ui/src/color.js +0 -48
- package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +0 -100
- package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +0 -14
- package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +0 -40
- package/configure/node_modules/@pie-lib/render-ui/src/index.js +0 -27
- package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +0 -41
- package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +0 -77
- package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +0 -73
- package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +0 -19
- package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +0 -19
- package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +0 -89
- package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +0 -118
- package/configure/node_modules/immutable/LICENSE +0 -21
- package/configure/node_modules/immutable/README.md +0 -657
- package/configure/node_modules/immutable/dist/immutable-nonambient.d.ts +0 -5607
- package/configure/node_modules/immutable/dist/immutable.d.ts +0 -5611
- package/configure/node_modules/immutable/dist/immutable.es.js +0 -5893
- package/configure/node_modules/immutable/dist/immutable.js +0 -5948
- package/configure/node_modules/immutable/dist/immutable.js.flow +0 -2340
- package/configure/node_modules/immutable/dist/immutable.min.js +0 -55
- package/configure/node_modules/immutable/package.json +0 -41
- package/configure/node_modules/slate-dev-environment/Readme.md +0 -1
- package/configure/node_modules/slate-dev-environment/dist/slate-dev-environment.js +0 -287
- package/configure/node_modules/slate-dev-environment/dist/slate-dev-environment.min.js +0 -1
- package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.es.js +0 -264
- package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.es.js.map +0 -1
- package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.js +0 -282
- package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.js.map +0 -1
- package/configure/node_modules/slate-dev-environment/package.json +0 -21
- package/configure/node_modules/slate-edit-list/CHANGELOG.md +0 -124
- package/configure/node_modules/slate-edit-list/LICENSE +0 -201
- package/configure/node_modules/slate-edit-list/README.md +0 -159
- package/configure/node_modules/slate-edit-list/dist/changes/decreaseItemDepth.js +0 -73
- package/configure/node_modules/slate-edit-list/dist/changes/decreaseItemDepth.js.flow +0 -88
- package/configure/node_modules/slate-edit-list/dist/changes/increaseItemDepth.js +0 -70
- package/configure/node_modules/slate-edit-list/dist/changes/increaseItemDepth.js.flow +0 -77
- package/configure/node_modules/slate-edit-list/dist/changes/index.js +0 -34
- package/configure/node_modules/slate-edit-list/dist/changes/index.js.flow +0 -13
- package/configure/node_modules/slate-edit-list/dist/changes/splitListItem.js +0 -27
- package/configure/node_modules/slate-edit-list/dist/changes/splitListItem.js.flow +0 -26
- package/configure/node_modules/slate-edit-list/dist/changes/unwrapList.js +0 -52
- package/configure/node_modules/slate-edit-list/dist/changes/unwrapList.js.flow +0 -46
- package/configure/node_modules/slate-edit-list/dist/changes/wrapInList.js +0 -67
- package/configure/node_modules/slate-edit-list/dist/changes/wrapInList.js.flow +0 -67
- package/configure/node_modules/slate-edit-list/dist/core.js +0 -80
- package/configure/node_modules/slate-edit-list/dist/core.js.flow +0 -76
- package/configure/node_modules/slate-edit-list/dist/handlers/index.js +0 -24
- package/configure/node_modules/slate-edit-list/dist/handlers/index.js.flow +0 -5
- package/configure/node_modules/slate-edit-list/dist/handlers/onBackspace.js +0 -45
- package/configure/node_modules/slate-edit-list/dist/handlers/onBackspace.js.flow +0 -44
- package/configure/node_modules/slate-edit-list/dist/handlers/onEnter.js +0 -54
- package/configure/node_modules/slate-edit-list/dist/handlers/onEnter.js.flow +0 -54
- package/configure/node_modules/slate-edit-list/dist/handlers/onTab.js +0 -39
- package/configure/node_modules/slate-edit-list/dist/handlers/onTab.js.flow +0 -34
- package/configure/node_modules/slate-edit-list/dist/index.js +0 -58
- package/configure/node_modules/slate-edit-list/dist/index.js.flow +0 -45
- package/configure/node_modules/slate-edit-list/dist/options.js +0 -34
- package/configure/node_modules/slate-edit-list/dist/options.js.flow +0 -26
- package/configure/node_modules/slate-edit-list/dist/utils/getCurrentItem.js +0 -24
- package/configure/node_modules/slate-edit-list/dist/utils/getCurrentItem.js.flow +0 -20
- package/configure/node_modules/slate-edit-list/dist/utils/getCurrentList.js +0 -31
- package/configure/node_modules/slate-edit-list/dist/utils/getCurrentList.js.flow +0 -21
- package/configure/node_modules/slate-edit-list/dist/utils/getItemDepth.js +0 -34
- package/configure/node_modules/slate-edit-list/dist/utils/getItemDepth.js.flow +0 -24
- package/configure/node_modules/slate-edit-list/dist/utils/getItemsAtRange.js +0 -60
- package/configure/node_modules/slate-edit-list/dist/utils/getItemsAtRange.js.flow +0 -51
- package/configure/node_modules/slate-edit-list/dist/utils/getListForItem.js +0 -25
- package/configure/node_modules/slate-edit-list/dist/utils/getListForItem.js.flow +0 -16
- package/configure/node_modules/slate-edit-list/dist/utils/getPreviousItem.js +0 -39
- package/configure/node_modules/slate-edit-list/dist/utils/getPreviousItem.js.flow +0 -29
- package/configure/node_modules/slate-edit-list/dist/utils/index.js +0 -49
- package/configure/node_modules/slate-edit-list/dist/utils/index.js.flow +0 -19
- package/configure/node_modules/slate-edit-list/dist/utils/isList.js +0 -15
- package/configure/node_modules/slate-edit-list/dist/utils/isList.js.flow +0 -13
- package/configure/node_modules/slate-edit-list/dist/utils/isSelectionInList.js +0 -22
- package/configure/node_modules/slate-edit-list/dist/utils/isSelectionInList.js.flow +0 -14
- package/configure/node_modules/slate-edit-list/dist/validation/index.js +0 -19
- package/configure/node_modules/slate-edit-list/dist/validation/index.js.flow +0 -4
- package/configure/node_modules/slate-edit-list/dist/validation/schema.js +0 -83
- package/configure/node_modules/slate-edit-list/dist/validation/schema.js.flow +0 -81
- package/configure/node_modules/slate-edit-list/dist/validation/validateNode.js +0 -61
- package/configure/node_modules/slate-edit-list/dist/validation/validateNode.js.flow +0 -61
- package/configure/node_modules/slate-edit-list/package.json +0 -67
- package/configure/node_modules/slate-edit-table/CHANGELOG.md +0 -192
- package/configure/node_modules/slate-edit-table/LICENSE +0 -201
- package/configure/node_modules/slate-edit-table/README.md +0 -269
- package/configure/node_modules/slate-edit-table/dist/changes/clearCell.js +0 -29
- package/configure/node_modules/slate-edit-table/dist/changes/clearCell.js.flow +0 -26
- package/configure/node_modules/slate-edit-table/dist/changes/index.js +0 -69
- package/configure/node_modules/slate-edit-table/dist/changes/index.js.flow +0 -27
- package/configure/node_modules/slate-edit-table/dist/changes/insertColumn.js +0 -43
- package/configure/node_modules/slate-edit-table/dist/changes/insertColumn.js.flow +0 -46
- package/configure/node_modules/slate-edit-table/dist/changes/insertRow.js +0 -36
- package/configure/node_modules/slate-edit-table/dist/changes/insertRow.js.flow +0 -35
- package/configure/node_modules/slate-edit-table/dist/changes/insertTable.js +0 -29
- package/configure/node_modules/slate-edit-table/dist/changes/insertTable.js.flow +0 -27
- package/configure/node_modules/slate-edit-table/dist/changes/moveSelection.js +0 -32
- package/configure/node_modules/slate-edit-table/dist/changes/moveSelection.js.flow +0 -31
- package/configure/node_modules/slate-edit-table/dist/changes/moveSelectionBy.js +0 -84
- package/configure/node_modules/slate-edit-table/dist/changes/moveSelectionBy.js.flow +0 -80
- package/configure/node_modules/slate-edit-table/dist/changes/removeColumn.js +0 -36
- package/configure/node_modules/slate-edit-table/dist/changes/removeColumn.js.flow +0 -28
- package/configure/node_modules/slate-edit-table/dist/changes/removeColumnByKey.js +0 -52
- package/configure/node_modules/slate-edit-table/dist/changes/removeColumnByKey.js.flow +0 -40
- package/configure/node_modules/slate-edit-table/dist/changes/removeRow.js +0 -36
- package/configure/node_modules/slate-edit-table/dist/changes/removeRow.js.flow +0 -27
- package/configure/node_modules/slate-edit-table/dist/changes/removeRowByKey.js +0 -41
- package/configure/node_modules/slate-edit-table/dist/changes/removeRowByKey.js.flow +0 -30
- package/configure/node_modules/slate-edit-table/dist/changes/removeTable.js +0 -26
- package/configure/node_modules/slate-edit-table/dist/changes/removeTable.js.flow +0 -17
- package/configure/node_modules/slate-edit-table/dist/changes/removeTableByKey.js +0 -56
- package/configure/node_modules/slate-edit-table/dist/changes/removeTableByKey.js.flow +0 -54
- package/configure/node_modules/slate-edit-table/dist/core.js +0 -88
- package/configure/node_modules/slate-edit-table/dist/core.js.flow +0 -94
- package/configure/node_modules/slate-edit-table/dist/handlers/index.js +0 -39
- package/configure/node_modules/slate-edit-table/dist/handlers/index.js.flow +0 -8
- package/configure/node_modules/slate-edit-table/dist/handlers/onBackspace.js +0 -82
- package/configure/node_modules/slate-edit-table/dist/handlers/onBackspace.js.flow +0 -87
- package/configure/node_modules/slate-edit-table/dist/handlers/onEnter.js +0 -34
- package/configure/node_modules/slate-edit-table/dist/handlers/onEnter.js.flow +0 -37
- package/configure/node_modules/slate-edit-table/dist/handlers/onKeyDown.js +0 -71
- package/configure/node_modules/slate-edit-table/dist/handlers/onKeyDown.js.flow +0 -56
- package/configure/node_modules/slate-edit-table/dist/handlers/onModEnter.js +0 -35
- package/configure/node_modules/slate-edit-table/dist/handlers/onModEnter.js.flow +0 -38
- package/configure/node_modules/slate-edit-table/dist/handlers/onTab.js +0 -56
- package/configure/node_modules/slate-edit-table/dist/handlers/onTab.js.flow +0 -51
- package/configure/node_modules/slate-edit-table/dist/handlers/onUpDown.js +0 -38
- package/configure/node_modules/slate-edit-table/dist/handlers/onUpDown.js.flow +0 -41
- package/configure/node_modules/slate-edit-table/dist/index.js +0 -36
- package/configure/node_modules/slate-edit-table/dist/index.js.flow +0 -27
- package/configure/node_modules/slate-edit-table/dist/options.js +0 -61
- package/configure/node_modules/slate-edit-table/dist/options.js.flow +0 -42
- package/configure/node_modules/slate-edit-table/dist/utils/TablePosition.js +0 -306
- package/configure/node_modules/slate-edit-table/dist/utils/TablePosition.js.flow +0 -211
- package/configure/node_modules/slate-edit-table/dist/utils/createCell.js +0 -30
- package/configure/node_modules/slate-edit-table/dist/utils/createCell.js.flow +0 -26
- package/configure/node_modules/slate-edit-table/dist/utils/createRow.js +0 -30
- package/configure/node_modules/slate-edit-table/dist/utils/createRow.js.flow +0 -28
- package/configure/node_modules/slate-edit-table/dist/utils/createTable.js +0 -30
- package/configure/node_modules/slate-edit-table/dist/utils/createTable.js.flow +0 -33
- package/configure/node_modules/slate-edit-table/dist/utils/forEachCells.js +0 -21
- package/configure/node_modules/slate-edit-table/dist/utils/forEachCells.js.flow +0 -22
- package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtColumn.js +0 -22
- package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtColumn.js.flow +0 -19
- package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtRow.js +0 -20
- package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtRow.js.flow +0 -19
- package/configure/node_modules/slate-edit-table/dist/utils/getPosition.js +0 -24
- package/configure/node_modules/slate-edit-table/dist/utils/getPosition.js.flow +0 -19
- package/configure/node_modules/slate-edit-table/dist/utils/getPositionByKey.js +0 -26
- package/configure/node_modules/slate-edit-table/dist/utils/getPositionByKey.js.flow +0 -21
- package/configure/node_modules/slate-edit-table/dist/utils/getRow.js +0 -24
- package/configure/node_modules/slate-edit-table/dist/utils/getRow.js.flow +0 -19
- package/configure/node_modules/slate-edit-table/dist/utils/index.js +0 -64
- package/configure/node_modules/slate-edit-table/dist/utils/index.js.flow +0 -25
- package/configure/node_modules/slate-edit-table/dist/utils/isSelectionInTable.js +0 -34
- package/configure/node_modules/slate-edit-table/dist/utils/isSelectionInTable.js.flow +0 -27
- package/configure/node_modules/slate-edit-table/dist/utils/isSelectionOutOfTable.js +0 -30
- package/configure/node_modules/slate-edit-table/dist/utils/isSelectionOutOfTable.js.flow +0 -23
- package/configure/node_modules/slate-edit-table/dist/validation/index.js +0 -19
- package/configure/node_modules/slate-edit-table/dist/validation/index.js.flow +0 -4
- package/configure/node_modules/slate-edit-table/dist/validation/schema.js +0 -101
- package/configure/node_modules/slate-edit-table/dist/validation/schema.js.flow +0 -98
- package/configure/node_modules/slate-edit-table/dist/validation/validateNode.js +0 -56
- package/configure/node_modules/slate-edit-table/dist/validation/validateNode.js.flow +0 -49
- package/configure/node_modules/slate-edit-table/package.json +0 -69
|
@@ -1,2340 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file provides type definitions for use with the Flow type checker.
|
|
3
|
-
*
|
|
4
|
-
* An important caveat when using these definitions is that the types for
|
|
5
|
-
* `Collection.Keyed`, `Collection.Indexed`, `Seq.Keyed`, and so on are stubs.
|
|
6
|
-
* When referring to those types, you can get the proper definitions by
|
|
7
|
-
* importing the types `KeyedCollection`, `IndexedCollection`, `KeyedSeq`, etc.
|
|
8
|
-
* For example,
|
|
9
|
-
*
|
|
10
|
-
* import { Seq } from 'immutable'
|
|
11
|
-
* import type { IndexedCollection, IndexedSeq } from 'immutable'
|
|
12
|
-
*
|
|
13
|
-
* const someSeq: IndexedSeq<number> = Seq.Indexed.of(1, 2, 3)
|
|
14
|
-
*
|
|
15
|
-
* function takesASeq<T, TS: IndexedCollection<T>>(iter: TS): TS {
|
|
16
|
-
* return iter.butLast()
|
|
17
|
-
* }
|
|
18
|
-
*
|
|
19
|
-
* takesASeq(someSeq)
|
|
20
|
-
*
|
|
21
|
-
* @flow strict
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
// Helper type that represents plain objects allowed as arguments to
|
|
25
|
-
// some constructors and functions.
|
|
26
|
-
type PlainObjInput<K, V> = { +[key: K]: V, __proto__: null };
|
|
27
|
-
|
|
28
|
-
// Helper types to extract the "keys" and "values" use by the *In() methods.
|
|
29
|
-
type $KeyOf<C> = $Call<
|
|
30
|
-
(<K>(?_Collection<K, mixed>) => K) &
|
|
31
|
-
(<T>(?$ReadOnlyArray<T>) => number) &
|
|
32
|
-
(<T>(?RecordInstance<T> | T) => $Keys<T>),
|
|
33
|
-
C
|
|
34
|
-
>;
|
|
35
|
-
|
|
36
|
-
type $ValOf<C, K = $KeyOf<C>> = $Call<
|
|
37
|
-
(<V>(?_Collection<any, V>) => V) &
|
|
38
|
-
(<T>(?$ReadOnlyArray<T>) => T) &
|
|
39
|
-
(<T, K: $Keys<T>>(?RecordInstance<T> | T, K) => $ElementType<T, K>) &
|
|
40
|
-
(<V>(?{ [any]: V }) => V),
|
|
41
|
-
C,
|
|
42
|
-
K
|
|
43
|
-
>;
|
|
44
|
-
|
|
45
|
-
type $IterableOf<C> = $Call<
|
|
46
|
-
(<V: Array<any> | IndexedCollection<any> | SetCollection<any>>(
|
|
47
|
-
V
|
|
48
|
-
) => Iterable<$ValOf<V>>) &
|
|
49
|
-
(<
|
|
50
|
-
V:
|
|
51
|
-
| KeyedCollection<any, any>
|
|
52
|
-
| RecordInstance<any>
|
|
53
|
-
| PlainObjInput<any, any>
|
|
54
|
-
>(
|
|
55
|
-
V
|
|
56
|
-
) => Iterable<[$KeyOf<V>, $ValOf<V>]>),
|
|
57
|
-
C
|
|
58
|
-
>;
|
|
59
|
-
|
|
60
|
-
declare class _Collection<K, +V> implements ValueObject {
|
|
61
|
-
equals(other: mixed): boolean;
|
|
62
|
-
hashCode(): number;
|
|
63
|
-
get(key: K, ..._: []): V | void;
|
|
64
|
-
get<NSV>(key: K, notSetValue: NSV): V | NSV;
|
|
65
|
-
has(key: K): boolean;
|
|
66
|
-
includes(value: V): boolean;
|
|
67
|
-
contains(value: V): boolean;
|
|
68
|
-
first<NSV>(notSetValue?: NSV): V | NSV;
|
|
69
|
-
last<NSV>(notSetValue?: NSV): V | NSV;
|
|
70
|
-
|
|
71
|
-
hasIn(keyPath: Iterable<mixed>): boolean;
|
|
72
|
-
|
|
73
|
-
getIn(keyPath: [], notSetValue?: mixed): this;
|
|
74
|
-
getIn<NSV>(keyPath: [K], notSetValue: NSV): V | NSV;
|
|
75
|
-
getIn<NSV, K2: $KeyOf<V>>(
|
|
76
|
-
keyPath: [K, K2],
|
|
77
|
-
notSetValue: NSV
|
|
78
|
-
): $ValOf<V, K2> | NSV;
|
|
79
|
-
getIn<NSV, K2: $KeyOf<V>, K3: $KeyOf<$ValOf<V, K2>>>(
|
|
80
|
-
keyPath: [K, K2, K3],
|
|
81
|
-
notSetValue: NSV
|
|
82
|
-
): $ValOf<$ValOf<V, K2>, K3> | NSV;
|
|
83
|
-
getIn<
|
|
84
|
-
NSV,
|
|
85
|
-
K2: $KeyOf<V>,
|
|
86
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
87
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>
|
|
88
|
-
>(
|
|
89
|
-
keyPath: [K, K2, K3, K4],
|
|
90
|
-
notSetValue: NSV
|
|
91
|
-
): $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4> | NSV;
|
|
92
|
-
getIn<
|
|
93
|
-
NSV,
|
|
94
|
-
K2: $KeyOf<V>,
|
|
95
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
96
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
97
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>
|
|
98
|
-
>(
|
|
99
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
100
|
-
notSetValue: NSV
|
|
101
|
-
): $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5> | NSV;
|
|
102
|
-
|
|
103
|
-
update<U>(updater: (value: this) => U): U;
|
|
104
|
-
|
|
105
|
-
toJS(): Array<any> | { [key: string]: mixed };
|
|
106
|
-
toJSON(): Array<V> | { [key: string]: V };
|
|
107
|
-
toArray(): Array<V> | Array<[K, V]>;
|
|
108
|
-
toObject(): { [key: string]: V };
|
|
109
|
-
toMap(): Map<K, V>;
|
|
110
|
-
toOrderedMap(): OrderedMap<K, V>;
|
|
111
|
-
toSet(): Set<V>;
|
|
112
|
-
toOrderedSet(): OrderedSet<V>;
|
|
113
|
-
toList(): List<V>;
|
|
114
|
-
toStack(): Stack<V>;
|
|
115
|
-
toSeq(): Seq<K, V>;
|
|
116
|
-
toKeyedSeq(): KeyedSeq<K, V>;
|
|
117
|
-
toIndexedSeq(): IndexedSeq<V>;
|
|
118
|
-
toSetSeq(): SetSeq<V>;
|
|
119
|
-
|
|
120
|
-
keys(): Iterator<K>;
|
|
121
|
-
values(): Iterator<V>;
|
|
122
|
-
entries(): Iterator<[K, V]>;
|
|
123
|
-
|
|
124
|
-
keySeq(): IndexedSeq<K>;
|
|
125
|
-
valueSeq(): IndexedSeq<V>;
|
|
126
|
-
entrySeq(): IndexedSeq<[K, V]>;
|
|
127
|
-
|
|
128
|
-
reverse(): this;
|
|
129
|
-
sort(comparator?: (valueA: V, valueB: V) => number): this;
|
|
130
|
-
|
|
131
|
-
sortBy<C>(
|
|
132
|
-
comparatorValueMapper: (value: V, key: K, iter: this) => C,
|
|
133
|
-
comparator?: (valueA: C, valueB: C) => number
|
|
134
|
-
): this;
|
|
135
|
-
|
|
136
|
-
groupBy<G>(
|
|
137
|
-
grouper: (value: V, key: K, iter: this) => G,
|
|
138
|
-
context?: mixed
|
|
139
|
-
): KeyedSeq<G, this>;
|
|
140
|
-
|
|
141
|
-
forEach(
|
|
142
|
-
sideEffect: (value: V, key: K, iter: this) => any,
|
|
143
|
-
context?: mixed
|
|
144
|
-
): number;
|
|
145
|
-
|
|
146
|
-
slice(begin?: number, end?: number): this;
|
|
147
|
-
rest(): this;
|
|
148
|
-
butLast(): this;
|
|
149
|
-
skip(amount: number): this;
|
|
150
|
-
skipLast(amount: number): this;
|
|
151
|
-
skipWhile(
|
|
152
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
153
|
-
context?: mixed
|
|
154
|
-
): this;
|
|
155
|
-
skipUntil(
|
|
156
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
157
|
-
context?: mixed
|
|
158
|
-
): this;
|
|
159
|
-
take(amount: number): this;
|
|
160
|
-
takeLast(amount: number): this;
|
|
161
|
-
takeWhile(
|
|
162
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
163
|
-
context?: mixed
|
|
164
|
-
): this;
|
|
165
|
-
takeUntil(
|
|
166
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
167
|
-
context?: mixed
|
|
168
|
-
): this;
|
|
169
|
-
|
|
170
|
-
filterNot(
|
|
171
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
172
|
-
context?: mixed
|
|
173
|
-
): this;
|
|
174
|
-
|
|
175
|
-
reduce<R>(
|
|
176
|
-
reducer: (reduction: R, value: V, key: K, iter: this) => R,
|
|
177
|
-
initialReduction: R,
|
|
178
|
-
context?: mixed
|
|
179
|
-
): R;
|
|
180
|
-
reduce<R>(reducer: (reduction: V | R, value: V, key: K, iter: this) => R): R;
|
|
181
|
-
|
|
182
|
-
reduceRight<R>(
|
|
183
|
-
reducer: (reduction: R, value: V, key: K, iter: this) => R,
|
|
184
|
-
initialReduction: R,
|
|
185
|
-
context?: mixed
|
|
186
|
-
): R;
|
|
187
|
-
reduceRight<R>(
|
|
188
|
-
reducer: (reduction: V | R, value: V, key: K, iter: this) => R
|
|
189
|
-
): R;
|
|
190
|
-
|
|
191
|
-
every(
|
|
192
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
193
|
-
context?: mixed
|
|
194
|
-
): boolean;
|
|
195
|
-
some(
|
|
196
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
197
|
-
context?: mixed
|
|
198
|
-
): boolean;
|
|
199
|
-
join(separator?: string): string;
|
|
200
|
-
isEmpty(): boolean;
|
|
201
|
-
count(
|
|
202
|
-
predicate?: (value: V, key: K, iter: this) => mixed,
|
|
203
|
-
context?: mixed
|
|
204
|
-
): number;
|
|
205
|
-
countBy<G>(
|
|
206
|
-
grouper: (value: V, key: K, iter: this) => G,
|
|
207
|
-
context?: mixed
|
|
208
|
-
): Map<G, number>;
|
|
209
|
-
|
|
210
|
-
find<NSV>(
|
|
211
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
212
|
-
context?: mixed,
|
|
213
|
-
notSetValue?: NSV
|
|
214
|
-
): V | NSV;
|
|
215
|
-
findLast<NSV>(
|
|
216
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
217
|
-
context?: mixed,
|
|
218
|
-
notSetValue?: NSV
|
|
219
|
-
): V | NSV;
|
|
220
|
-
|
|
221
|
-
findEntry(predicate: (value: V, key: K, iter: this) => mixed): [K, V] | void;
|
|
222
|
-
findLastEntry(
|
|
223
|
-
predicate: (value: V, key: K, iter: this) => mixed
|
|
224
|
-
): [K, V] | void;
|
|
225
|
-
|
|
226
|
-
findKey(
|
|
227
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
228
|
-
context?: mixed
|
|
229
|
-
): K | void;
|
|
230
|
-
findLastKey(
|
|
231
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
232
|
-
context?: mixed
|
|
233
|
-
): K | void;
|
|
234
|
-
|
|
235
|
-
keyOf(searchValue: V): K | void;
|
|
236
|
-
lastKeyOf(searchValue: V): K | void;
|
|
237
|
-
|
|
238
|
-
max(comparator?: (valueA: V, valueB: V) => number): V;
|
|
239
|
-
maxBy<C>(
|
|
240
|
-
comparatorValueMapper: (value: V, key: K, iter: this) => C,
|
|
241
|
-
comparator?: (valueA: C, valueB: C) => number
|
|
242
|
-
): V;
|
|
243
|
-
min(comparator?: (valueA: V, valueB: V) => number): V;
|
|
244
|
-
minBy<C>(
|
|
245
|
-
comparatorValueMapper: (value: V, key: K, iter: this) => C,
|
|
246
|
-
comparator?: (valueA: C, valueB: C) => number
|
|
247
|
-
): V;
|
|
248
|
-
|
|
249
|
-
isSubset(iter: Iterable<V>): boolean;
|
|
250
|
-
isSuperset(iter: Iterable<V>): boolean;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
declare function isImmutable(
|
|
254
|
-
maybeImmutable: mixed
|
|
255
|
-
): boolean %checks(maybeImmutable instanceof Collection);
|
|
256
|
-
declare function isCollection(
|
|
257
|
-
maybeCollection: mixed
|
|
258
|
-
): boolean %checks(maybeCollection instanceof Collection);
|
|
259
|
-
declare function isKeyed(
|
|
260
|
-
maybeKeyed: mixed
|
|
261
|
-
): boolean %checks(maybeKeyed instanceof KeyedCollection);
|
|
262
|
-
declare function isIndexed(
|
|
263
|
-
maybeIndexed: mixed
|
|
264
|
-
): boolean %checks(maybeIndexed instanceof IndexedCollection);
|
|
265
|
-
declare function isAssociative(
|
|
266
|
-
maybeAssociative: mixed
|
|
267
|
-
): boolean %checks(maybeAssociative instanceof KeyedCollection ||
|
|
268
|
-
maybeAssociative instanceof IndexedCollection);
|
|
269
|
-
declare function isOrdered(
|
|
270
|
-
maybeOrdered: mixed
|
|
271
|
-
): boolean %checks(maybeOrdered instanceof IndexedCollection ||
|
|
272
|
-
maybeOrdered instanceof OrderedMap ||
|
|
273
|
-
maybeOrdered instanceof OrderedSet);
|
|
274
|
-
declare function isValueObject(maybeValue: mixed): boolean;
|
|
275
|
-
|
|
276
|
-
declare function isSeq(maybeSeq: any): boolean %checks(maybeSeq instanceof Seq);
|
|
277
|
-
declare function isList(maybeList: any): boolean %checks(maybeList instanceof
|
|
278
|
-
List);
|
|
279
|
-
declare function isMap(maybeMap: any): boolean %checks(maybeMap instanceof Map);
|
|
280
|
-
declare function isOrderedMap(
|
|
281
|
-
maybeOrderedMap: any
|
|
282
|
-
): boolean %checks(maybeOrderedMap instanceof OrderedMap);
|
|
283
|
-
declare function isStack(maybeStack: any): boolean %checks(maybeStack instanceof
|
|
284
|
-
Stack);
|
|
285
|
-
declare function isSet(maybeSet: any): boolean %checks(maybeSet instanceof Set);
|
|
286
|
-
declare function isOrderedSet(
|
|
287
|
-
maybeOrderedSet: any
|
|
288
|
-
): boolean %checks(maybeOrderedSet instanceof OrderedSet);
|
|
289
|
-
declare function isRecord(
|
|
290
|
-
maybeRecord: any
|
|
291
|
-
): boolean %checks(maybeRecord instanceof Record);
|
|
292
|
-
|
|
293
|
-
declare interface ValueObject {
|
|
294
|
-
equals(other: mixed): boolean;
|
|
295
|
-
hashCode(): number;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
declare class Collection<K, +V> extends _Collection<K, V> {
|
|
299
|
-
static Keyed: typeof KeyedCollection;
|
|
300
|
-
static Indexed: typeof IndexedCollection;
|
|
301
|
-
static Set: typeof SetCollection;
|
|
302
|
-
|
|
303
|
-
static isCollection: typeof isCollection;
|
|
304
|
-
static isKeyed: typeof isKeyed;
|
|
305
|
-
static isIndexed: typeof isIndexed;
|
|
306
|
-
static isAssociative: typeof isAssociative;
|
|
307
|
-
static isOrdered: typeof isOrdered;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
declare class KeyedCollection<K, +V> extends Collection<K, V> {
|
|
311
|
-
static <K, V>(
|
|
312
|
-
values?: Iterable<[K, V]> | PlainObjInput<K, V>
|
|
313
|
-
): KeyedCollection<K, V>;
|
|
314
|
-
|
|
315
|
-
toJS(): { [key: string]: mixed };
|
|
316
|
-
toJSON(): { [key: string]: V };
|
|
317
|
-
toArray(): Array<[K, V]>;
|
|
318
|
-
@@iterator(): Iterator<[K, V]>;
|
|
319
|
-
toSeq(): KeyedSeq<K, V>;
|
|
320
|
-
flip(): KeyedCollection<V, K>;
|
|
321
|
-
|
|
322
|
-
concat<KC, VC>(
|
|
323
|
-
...iters: Array<Iterable<[KC, VC]> | PlainObjInput<KC, VC>>
|
|
324
|
-
): KeyedCollection<K | KC, V | VC>;
|
|
325
|
-
|
|
326
|
-
filter(predicate: typeof Boolean): KeyedCollection<K, $NonMaybeType<V>>;
|
|
327
|
-
filter(
|
|
328
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
329
|
-
context?: mixed
|
|
330
|
-
): KeyedCollection<K, V>;
|
|
331
|
-
|
|
332
|
-
map<M>(
|
|
333
|
-
mapper: (value: V, key: K, iter: this) => M,
|
|
334
|
-
context?: mixed
|
|
335
|
-
): KeyedCollection<K, M>;
|
|
336
|
-
|
|
337
|
-
mapKeys<M>(
|
|
338
|
-
mapper: (key: K, value: V, iter: this) => M,
|
|
339
|
-
context?: mixed
|
|
340
|
-
): KeyedCollection<M, V>;
|
|
341
|
-
|
|
342
|
-
mapEntries<KM, VM>(
|
|
343
|
-
mapper: (entry: [K, V], index: number, iter: this) => [KM, VM],
|
|
344
|
-
context?: mixed
|
|
345
|
-
): KeyedCollection<KM, VM>;
|
|
346
|
-
|
|
347
|
-
flatMap<KM, VM>(
|
|
348
|
-
mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>,
|
|
349
|
-
context?: mixed
|
|
350
|
-
): KeyedCollection<KM, VM>;
|
|
351
|
-
|
|
352
|
-
flatten(depth?: number): KeyedCollection<any, any>;
|
|
353
|
-
flatten(shallow?: boolean): KeyedCollection<any, any>;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
Collection.Keyed = KeyedCollection;
|
|
357
|
-
|
|
358
|
-
declare class IndexedCollection<+T> extends Collection<number, T> {
|
|
359
|
-
static <T>(iter?: Iterable<T>): IndexedCollection<T>;
|
|
360
|
-
|
|
361
|
-
toJS(): Array<mixed>;
|
|
362
|
-
toJSON(): Array<T>;
|
|
363
|
-
toArray(): Array<T>;
|
|
364
|
-
@@iterator(): Iterator<T>;
|
|
365
|
-
toSeq(): IndexedSeq<T>;
|
|
366
|
-
fromEntrySeq<K, V>(): KeyedSeq<K, V>;
|
|
367
|
-
interpose(separator: T): this;
|
|
368
|
-
interleave(...collections: Iterable<T>[]): this;
|
|
369
|
-
splice(index: number, removeNum: number, ...values: T[]): this;
|
|
370
|
-
|
|
371
|
-
zip<A>(a: Iterable<A>, ..._: []): IndexedCollection<[T, A]>;
|
|
372
|
-
zip<A, B>(
|
|
373
|
-
a: Iterable<A>,
|
|
374
|
-
b: Iterable<B>,
|
|
375
|
-
..._: []
|
|
376
|
-
): IndexedCollection<[T, A, B]>;
|
|
377
|
-
zip<A, B, C>(
|
|
378
|
-
a: Iterable<A>,
|
|
379
|
-
b: Iterable<B>,
|
|
380
|
-
c: Iterable<C>,
|
|
381
|
-
..._: []
|
|
382
|
-
): IndexedCollection<[T, A, B, C]>;
|
|
383
|
-
zip<A, B, C, D>(
|
|
384
|
-
a: Iterable<A>,
|
|
385
|
-
b: Iterable<B>,
|
|
386
|
-
c: Iterable<C>,
|
|
387
|
-
d: Iterable<D>,
|
|
388
|
-
..._: []
|
|
389
|
-
): IndexedCollection<[T, A, B, C, D]>;
|
|
390
|
-
zip<A, B, C, D, E>(
|
|
391
|
-
a: Iterable<A>,
|
|
392
|
-
b: Iterable<B>,
|
|
393
|
-
c: Iterable<C>,
|
|
394
|
-
d: Iterable<D>,
|
|
395
|
-
e: Iterable<E>,
|
|
396
|
-
..._: []
|
|
397
|
-
): IndexedCollection<[T, A, B, C, D, E]>;
|
|
398
|
-
|
|
399
|
-
zipAll<A>(a: Iterable<A>, ..._: []): IndexedCollection<[T | void, A | void]>;
|
|
400
|
-
zipAll<A, B>(
|
|
401
|
-
a: Iterable<A>,
|
|
402
|
-
b: Iterable<B>,
|
|
403
|
-
..._: []
|
|
404
|
-
): IndexedCollection<[T | void, A | void, B | void]>;
|
|
405
|
-
zipAll<A, B, C>(
|
|
406
|
-
a: Iterable<A>,
|
|
407
|
-
b: Iterable<B>,
|
|
408
|
-
c: Iterable<C>,
|
|
409
|
-
..._: []
|
|
410
|
-
): IndexedCollection<[T | void, A | void, B | void, C | void]>;
|
|
411
|
-
zipAll<A, B, C, D>(
|
|
412
|
-
a: Iterable<A>,
|
|
413
|
-
b: Iterable<B>,
|
|
414
|
-
c: Iterable<C>,
|
|
415
|
-
d: Iterable<D>,
|
|
416
|
-
..._: []
|
|
417
|
-
): IndexedCollection<[T | void, A | void, B | void, C | void, D | void]>;
|
|
418
|
-
zipAll<A, B, C, D, E>(
|
|
419
|
-
a: Iterable<A>,
|
|
420
|
-
b: Iterable<B>,
|
|
421
|
-
c: Iterable<C>,
|
|
422
|
-
d: Iterable<D>,
|
|
423
|
-
e: Iterable<E>,
|
|
424
|
-
..._: []
|
|
425
|
-
): IndexedCollection<
|
|
426
|
-
[T | void, A | void, B | void, C | void, D | void, E | void]
|
|
427
|
-
>;
|
|
428
|
-
|
|
429
|
-
zipWith<A, R>(
|
|
430
|
-
zipper: (value: T, a: A) => R,
|
|
431
|
-
a: Iterable<A>,
|
|
432
|
-
..._: []
|
|
433
|
-
): IndexedCollection<R>;
|
|
434
|
-
zipWith<A, B, R>(
|
|
435
|
-
zipper: (value: T, a: A, b: B) => R,
|
|
436
|
-
a: Iterable<A>,
|
|
437
|
-
b: Iterable<B>,
|
|
438
|
-
..._: []
|
|
439
|
-
): IndexedCollection<R>;
|
|
440
|
-
zipWith<A, B, C, R>(
|
|
441
|
-
zipper: (value: T, a: A, b: B, c: C) => R,
|
|
442
|
-
a: Iterable<A>,
|
|
443
|
-
b: Iterable<B>,
|
|
444
|
-
c: Iterable<C>,
|
|
445
|
-
..._: []
|
|
446
|
-
): IndexedCollection<R>;
|
|
447
|
-
zipWith<A, B, C, D, R>(
|
|
448
|
-
zipper: (value: T, a: A, b: B, c: C, d: D) => R,
|
|
449
|
-
a: Iterable<A>,
|
|
450
|
-
b: Iterable<B>,
|
|
451
|
-
c: Iterable<C>,
|
|
452
|
-
d: Iterable<D>,
|
|
453
|
-
..._: []
|
|
454
|
-
): IndexedCollection<R>;
|
|
455
|
-
zipWith<A, B, C, D, E, R>(
|
|
456
|
-
zipper: (value: T, a: A, b: B, c: C, d: D, e: E) => R,
|
|
457
|
-
a: Iterable<A>,
|
|
458
|
-
b: Iterable<B>,
|
|
459
|
-
c: Iterable<C>,
|
|
460
|
-
d: Iterable<D>,
|
|
461
|
-
e: Iterable<E>,
|
|
462
|
-
..._: []
|
|
463
|
-
): IndexedCollection<R>;
|
|
464
|
-
|
|
465
|
-
indexOf(searchValue: T): number;
|
|
466
|
-
lastIndexOf(searchValue: T): number;
|
|
467
|
-
findIndex(
|
|
468
|
-
predicate: (value: T, index: number, iter: this) => mixed,
|
|
469
|
-
context?: mixed
|
|
470
|
-
): number;
|
|
471
|
-
findLastIndex(
|
|
472
|
-
predicate: (value: T, index: number, iter: this) => mixed,
|
|
473
|
-
context?: mixed
|
|
474
|
-
): number;
|
|
475
|
-
|
|
476
|
-
concat<C>(...iters: Array<Iterable<C> | C>): IndexedCollection<T | C>;
|
|
477
|
-
|
|
478
|
-
filter(predicate: typeof Boolean): IndexedCollection<$NonMaybeType<T>>;
|
|
479
|
-
filter(
|
|
480
|
-
predicate: (value: T, index: number, iter: this) => mixed,
|
|
481
|
-
context?: mixed
|
|
482
|
-
): IndexedCollection<T>;
|
|
483
|
-
|
|
484
|
-
map<M>(
|
|
485
|
-
mapper: (value: T, index: number, iter: this) => M,
|
|
486
|
-
context?: mixed
|
|
487
|
-
): IndexedCollection<M>;
|
|
488
|
-
|
|
489
|
-
flatMap<M>(
|
|
490
|
-
mapper: (value: T, index: number, iter: this) => Iterable<M>,
|
|
491
|
-
context?: mixed
|
|
492
|
-
): IndexedCollection<M>;
|
|
493
|
-
|
|
494
|
-
flatten(depth?: number): IndexedCollection<any>;
|
|
495
|
-
flatten(shallow?: boolean): IndexedCollection<any>;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
declare class SetCollection<+T> extends Collection<T, T> {
|
|
499
|
-
static <T>(iter?: Iterable<T>): SetCollection<T>;
|
|
500
|
-
|
|
501
|
-
toJS(): Array<mixed>;
|
|
502
|
-
toJSON(): Array<T>;
|
|
503
|
-
toArray(): Array<T>;
|
|
504
|
-
@@iterator(): Iterator<T>;
|
|
505
|
-
toSeq(): SetSeq<T>;
|
|
506
|
-
|
|
507
|
-
concat<U>(...collections: Iterable<U>[]): SetCollection<T | U>;
|
|
508
|
-
|
|
509
|
-
// `filter`, `map` and `flatMap` cannot be defined further up the hierarchy,
|
|
510
|
-
// because the implementation for `KeyedCollection` allows the value type to
|
|
511
|
-
// change without constraining the key type. That does not work for
|
|
512
|
-
// `SetCollection` - the value and key types *must* match.
|
|
513
|
-
filter(predicate: typeof Boolean): SetCollection<$NonMaybeType<T>>;
|
|
514
|
-
filter(
|
|
515
|
-
predicate: (value: T, value: T, iter: this) => mixed,
|
|
516
|
-
context?: mixed
|
|
517
|
-
): SetCollection<T>;
|
|
518
|
-
|
|
519
|
-
map<M>(
|
|
520
|
-
mapper: (value: T, value: T, iter: this) => M,
|
|
521
|
-
context?: mixed
|
|
522
|
-
): SetCollection<M>;
|
|
523
|
-
|
|
524
|
-
flatMap<M>(
|
|
525
|
-
mapper: (value: T, value: T, iter: this) => Iterable<M>,
|
|
526
|
-
context?: mixed
|
|
527
|
-
): SetCollection<M>;
|
|
528
|
-
|
|
529
|
-
flatten(depth?: number): SetCollection<any>;
|
|
530
|
-
flatten(shallow?: boolean): SetCollection<any>;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
declare function isSeq(maybeSeq: mixed): boolean %checks(maybeSeq instanceof
|
|
534
|
-
Seq);
|
|
535
|
-
declare class Seq<K, +V> extends _Collection<K, V> {
|
|
536
|
-
static Keyed: typeof KeyedSeq;
|
|
537
|
-
static Indexed: typeof IndexedSeq;
|
|
538
|
-
static Set: typeof SetSeq;
|
|
539
|
-
|
|
540
|
-
static <K, V>(values: KeyedSeq<K, V>): KeyedSeq<K, V>;
|
|
541
|
-
static <T>(values: SetSeq<T>): SetSeq<K, V>;
|
|
542
|
-
static <T>(values: Iterable<T>): IndexedSeq<T>;
|
|
543
|
-
static <K, V>(values?: PlainObjInput<K, V>): KeyedSeq<K, V>;
|
|
544
|
-
|
|
545
|
-
static isSeq: typeof isSeq;
|
|
546
|
-
|
|
547
|
-
size: number | void;
|
|
548
|
-
cacheResult(): this;
|
|
549
|
-
toSeq(): this;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
declare class KeyedSeq<K, +V> extends Seq<K, V> mixins KeyedCollection<K, V> {
|
|
553
|
-
static <K, V>(
|
|
554
|
-
values?: Iterable<[K, V]> | PlainObjInput<K, V>
|
|
555
|
-
): KeyedSeq<K, V>;
|
|
556
|
-
|
|
557
|
-
// Override specialized return types
|
|
558
|
-
flip(): KeyedSeq<V, K>;
|
|
559
|
-
|
|
560
|
-
concat<KC, VC>(
|
|
561
|
-
...iters: Array<Iterable<[KC, VC]> | PlainObjInput<KC, VC>>
|
|
562
|
-
): KeyedSeq<K | KC, V | VC>;
|
|
563
|
-
|
|
564
|
-
filter(predicate: typeof Boolean): KeyedSeq<K, $NonMaybeType<V>>;
|
|
565
|
-
filter(
|
|
566
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
567
|
-
context?: mixed
|
|
568
|
-
): KeyedSeq<K, V>;
|
|
569
|
-
|
|
570
|
-
map<M>(
|
|
571
|
-
mapper: (value: V, key: K, iter: this) => M,
|
|
572
|
-
context?: mixed
|
|
573
|
-
): KeyedSeq<K, M>;
|
|
574
|
-
|
|
575
|
-
mapKeys<M>(
|
|
576
|
-
mapper: (key: K, value: V, iter: this) => M,
|
|
577
|
-
context?: mixed
|
|
578
|
-
): KeyedSeq<M, V>;
|
|
579
|
-
|
|
580
|
-
mapEntries<KM, VM>(
|
|
581
|
-
mapper: (entry: [K, V], index: number, iter: this) => [KM, VM],
|
|
582
|
-
context?: mixed
|
|
583
|
-
): KeyedSeq<KM, VM>;
|
|
584
|
-
|
|
585
|
-
flatMap<KM, VM>(
|
|
586
|
-
mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>,
|
|
587
|
-
context?: mixed
|
|
588
|
-
): KeyedSeq<KM, VM>;
|
|
589
|
-
|
|
590
|
-
flatten(depth?: number): KeyedSeq<any, any>;
|
|
591
|
-
flatten(shallow?: boolean): KeyedSeq<any, any>;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
declare class IndexedSeq<+T>
|
|
595
|
-
extends Seq<number, T>
|
|
596
|
-
mixins IndexedCollection<T> {
|
|
597
|
-
static <T>(values?: Iterable<T>): IndexedSeq<T>;
|
|
598
|
-
|
|
599
|
-
static of<T>(...values: T[]): IndexedSeq<T>;
|
|
600
|
-
|
|
601
|
-
// Override specialized return types
|
|
602
|
-
|
|
603
|
-
concat<C>(...iters: Array<Iterable<C> | C>): IndexedSeq<T | C>;
|
|
604
|
-
|
|
605
|
-
filter(predicate: typeof Boolean): IndexedSeq<$NonMaybeType<T>>;
|
|
606
|
-
filter(
|
|
607
|
-
predicate: (value: T, index: number, iter: this) => mixed,
|
|
608
|
-
context?: mixed
|
|
609
|
-
): IndexedSeq<T>;
|
|
610
|
-
|
|
611
|
-
map<M>(
|
|
612
|
-
mapper: (value: T, index: number, iter: this) => M,
|
|
613
|
-
context?: mixed
|
|
614
|
-
): IndexedSeq<M>;
|
|
615
|
-
|
|
616
|
-
flatMap<M>(
|
|
617
|
-
mapper: (value: T, index: number, iter: this) => Iterable<M>,
|
|
618
|
-
context?: mixed
|
|
619
|
-
): IndexedSeq<M>;
|
|
620
|
-
|
|
621
|
-
flatten(depth?: number): IndexedSeq<any>;
|
|
622
|
-
flatten(shallow?: boolean): IndexedSeq<any>;
|
|
623
|
-
|
|
624
|
-
zip<A>(a: Iterable<A>, ..._: []): IndexedSeq<[T, A]>;
|
|
625
|
-
zip<A, B>(a: Iterable<A>, b: Iterable<B>, ..._: []): IndexedSeq<[T, A, B]>;
|
|
626
|
-
zip<A, B, C>(
|
|
627
|
-
a: Iterable<A>,
|
|
628
|
-
b: Iterable<B>,
|
|
629
|
-
c: Iterable<C>,
|
|
630
|
-
..._: []
|
|
631
|
-
): IndexedSeq<[T, A, B, C]>;
|
|
632
|
-
zip<A, B, C, D>(
|
|
633
|
-
a: Iterable<A>,
|
|
634
|
-
b: Iterable<B>,
|
|
635
|
-
c: Iterable<C>,
|
|
636
|
-
d: Iterable<D>,
|
|
637
|
-
..._: []
|
|
638
|
-
): IndexedSeq<[T, A, B, C, D]>;
|
|
639
|
-
zip<A, B, C, D, E>(
|
|
640
|
-
a: Iterable<A>,
|
|
641
|
-
b: Iterable<B>,
|
|
642
|
-
c: Iterable<C>,
|
|
643
|
-
d: Iterable<D>,
|
|
644
|
-
e: Iterable<E>,
|
|
645
|
-
..._: []
|
|
646
|
-
): IndexedSeq<[T, A, B, C, D, E]>;
|
|
647
|
-
|
|
648
|
-
zipAll<A>(a: Iterable<A>, ..._: []): IndexedSeq<[T | void, A | void]>;
|
|
649
|
-
zipAll<A, B>(
|
|
650
|
-
a: Iterable<A>,
|
|
651
|
-
b: Iterable<B>,
|
|
652
|
-
..._: []
|
|
653
|
-
): IndexedSeq<[T | void, A | void, B | void]>;
|
|
654
|
-
zipAll<A, B, C>(
|
|
655
|
-
a: Iterable<A>,
|
|
656
|
-
b: Iterable<B>,
|
|
657
|
-
c: Iterable<C>,
|
|
658
|
-
..._: []
|
|
659
|
-
): IndexedSeq<[T | void, A | void, B | void, C | void]>;
|
|
660
|
-
zipAll<A, B, C, D>(
|
|
661
|
-
a: Iterable<A>,
|
|
662
|
-
b: Iterable<B>,
|
|
663
|
-
c: Iterable<C>,
|
|
664
|
-
d: Iterable<D>,
|
|
665
|
-
..._: []
|
|
666
|
-
): IndexedSeq<[T | void, A | void, B | void, C | void, D | void]>;
|
|
667
|
-
zipAll<A, B, C, D, E>(
|
|
668
|
-
a: Iterable<A>,
|
|
669
|
-
b: Iterable<B>,
|
|
670
|
-
c: Iterable<C>,
|
|
671
|
-
d: Iterable<D>,
|
|
672
|
-
e: Iterable<E>,
|
|
673
|
-
..._: []
|
|
674
|
-
): IndexedSeq<[T | void, A | void, B | void, C | void, D | void, E | void]>;
|
|
675
|
-
|
|
676
|
-
zipWith<A, R>(
|
|
677
|
-
zipper: (value: T, a: A) => R,
|
|
678
|
-
a: Iterable<A>,
|
|
679
|
-
..._: []
|
|
680
|
-
): IndexedSeq<R>;
|
|
681
|
-
zipWith<A, B, R>(
|
|
682
|
-
zipper: (value: T, a: A, b: B) => R,
|
|
683
|
-
a: Iterable<A>,
|
|
684
|
-
b: Iterable<B>,
|
|
685
|
-
..._: []
|
|
686
|
-
): IndexedSeq<R>;
|
|
687
|
-
zipWith<A, B, C, R>(
|
|
688
|
-
zipper: (value: T, a: A, b: B, c: C) => R,
|
|
689
|
-
a: Iterable<A>,
|
|
690
|
-
b: Iterable<B>,
|
|
691
|
-
c: Iterable<C>,
|
|
692
|
-
..._: []
|
|
693
|
-
): IndexedSeq<R>;
|
|
694
|
-
zipWith<A, B, C, D, R>(
|
|
695
|
-
zipper: (value: T, a: A, b: B, c: C, d: D) => R,
|
|
696
|
-
a: Iterable<A>,
|
|
697
|
-
b: Iterable<B>,
|
|
698
|
-
c: Iterable<C>,
|
|
699
|
-
d: Iterable<D>,
|
|
700
|
-
..._: []
|
|
701
|
-
): IndexedSeq<R>;
|
|
702
|
-
zipWith<A, B, C, D, E, R>(
|
|
703
|
-
zipper: (value: T, a: A, b: B, c: C, d: D, e: E) => R,
|
|
704
|
-
a: Iterable<A>,
|
|
705
|
-
b: Iterable<B>,
|
|
706
|
-
c: Iterable<C>,
|
|
707
|
-
d: Iterable<D>,
|
|
708
|
-
e: Iterable<E>,
|
|
709
|
-
..._: []
|
|
710
|
-
): IndexedSeq<R>;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
declare class SetSeq<+T> extends Seq<T, T> mixins SetCollection<T> {
|
|
714
|
-
static <T>(values?: Iterable<T>): SetSeq<T>;
|
|
715
|
-
|
|
716
|
-
static of<T>(...values: T[]): SetSeq<T>;
|
|
717
|
-
|
|
718
|
-
// Override specialized return types
|
|
719
|
-
|
|
720
|
-
concat<U>(...collections: Iterable<U>[]): SetSeq<T | U>;
|
|
721
|
-
|
|
722
|
-
filter(predicate: typeof Boolean): SetSeq<$NonMaybeType<T>>;
|
|
723
|
-
filter(
|
|
724
|
-
predicate: (value: T, value: T, iter: this) => mixed,
|
|
725
|
-
context?: mixed
|
|
726
|
-
): SetSeq<T>;
|
|
727
|
-
|
|
728
|
-
map<M>(
|
|
729
|
-
mapper: (value: T, value: T, iter: this) => M,
|
|
730
|
-
context?: mixed
|
|
731
|
-
): SetSeq<M>;
|
|
732
|
-
|
|
733
|
-
flatMap<M>(
|
|
734
|
-
mapper: (value: T, value: T, iter: this) => Iterable<M>,
|
|
735
|
-
context?: mixed
|
|
736
|
-
): SetSeq<M>;
|
|
737
|
-
|
|
738
|
-
flatten(depth?: number): SetSeq<any>;
|
|
739
|
-
flatten(shallow?: boolean): SetSeq<any>;
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
declare class UpdatableInCollection<K, +V> {
|
|
743
|
-
setIn<S>(keyPath: [], value: S): S;
|
|
744
|
-
setIn(keyPath: [K], value: V): this;
|
|
745
|
-
setIn<K2: $KeyOf<V>, S: $ValOf<V, K2>>(keyPath: [K, K2], value: S): this;
|
|
746
|
-
setIn<K2: $KeyOf<V>, K3: $KeyOf<$ValOf<V, K2>>, S: $ValOf<$ValOf<V, K2>, K3>>(
|
|
747
|
-
keyPath: [K, K2, K3],
|
|
748
|
-
value: S
|
|
749
|
-
): this;
|
|
750
|
-
setIn<
|
|
751
|
-
K2: $KeyOf<V>,
|
|
752
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
753
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
754
|
-
S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>
|
|
755
|
-
>(
|
|
756
|
-
keyPath: [K, K2, K3, K4],
|
|
757
|
-
value: S
|
|
758
|
-
): this;
|
|
759
|
-
setIn<
|
|
760
|
-
K2: $KeyOf<V>,
|
|
761
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
762
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
763
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
|
|
764
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>
|
|
765
|
-
>(
|
|
766
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
767
|
-
value: S
|
|
768
|
-
): this;
|
|
769
|
-
|
|
770
|
-
deleteIn(keyPath: []): void;
|
|
771
|
-
deleteIn(keyPath: [K]): this;
|
|
772
|
-
deleteIn<K2: $KeyOf<V>>(keyPath: [K, K2]): this;
|
|
773
|
-
deleteIn<K2: $KeyOf<V>, K3: $KeyOf<$ValOf<V, K2>>>(
|
|
774
|
-
keyPath: [K, K2, K3]
|
|
775
|
-
): this;
|
|
776
|
-
deleteIn<
|
|
777
|
-
K2: $KeyOf<V>,
|
|
778
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
779
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>
|
|
780
|
-
>(
|
|
781
|
-
keyPath: [K, K2, K3, K4]
|
|
782
|
-
): this;
|
|
783
|
-
deleteIn<
|
|
784
|
-
K2: $KeyOf<V>,
|
|
785
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
786
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
787
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>
|
|
788
|
-
>(
|
|
789
|
-
keyPath: [K, K2, K3, K4, K5]
|
|
790
|
-
): this;
|
|
791
|
-
|
|
792
|
-
removeIn(keyPath: []): void;
|
|
793
|
-
removeIn(keyPath: [K]): this;
|
|
794
|
-
removeIn<K2: $KeyOf<V>>(keyPath: [K, K2]): this;
|
|
795
|
-
removeIn<K2: $KeyOf<V>, K3: $KeyOf<$ValOf<V, K2>>>(
|
|
796
|
-
keyPath: [K, K2, K3]
|
|
797
|
-
): this;
|
|
798
|
-
removeIn<
|
|
799
|
-
K2: $KeyOf<V>,
|
|
800
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
801
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>
|
|
802
|
-
>(
|
|
803
|
-
keyPath: [K, K2, K3, K4]
|
|
804
|
-
): this;
|
|
805
|
-
removeIn<
|
|
806
|
-
K2: $KeyOf<V>,
|
|
807
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
808
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
809
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>
|
|
810
|
-
>(
|
|
811
|
-
keyPath: [K, K2, K3, K4, K5]
|
|
812
|
-
): this;
|
|
813
|
-
|
|
814
|
-
updateIn<U>(keyPath: [], notSetValue: mixed, updater: (value: this) => U): U;
|
|
815
|
-
updateIn<U>(keyPath: [], updater: (value: this) => U): U;
|
|
816
|
-
updateIn<NSV>(keyPath: [K], notSetValue: NSV, updater: (value: V) => V): this;
|
|
817
|
-
updateIn(keyPath: [K], updater: (value: V) => V): this;
|
|
818
|
-
updateIn<NSV, K2: $KeyOf<V>, S: $ValOf<V, K2>>(
|
|
819
|
-
keyPath: [K, K2],
|
|
820
|
-
notSetValue: NSV,
|
|
821
|
-
updater: (value: $ValOf<V, K2> | NSV) => S
|
|
822
|
-
): this;
|
|
823
|
-
updateIn<K2: $KeyOf<V>, S: $ValOf<V, K2>>(
|
|
824
|
-
keyPath: [K, K2],
|
|
825
|
-
updater: (value: $ValOf<V, K2>) => S
|
|
826
|
-
): this;
|
|
827
|
-
updateIn<
|
|
828
|
-
NSV,
|
|
829
|
-
K2: $KeyOf<V>,
|
|
830
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
831
|
-
S: $ValOf<$ValOf<V, K2>, K3>
|
|
832
|
-
>(
|
|
833
|
-
keyPath: [K, K2, K3],
|
|
834
|
-
notSetValue: NSV,
|
|
835
|
-
updater: (value: $ValOf<$ValOf<V, K2>, K3> | NSV) => S
|
|
836
|
-
): this;
|
|
837
|
-
updateIn<
|
|
838
|
-
K2: $KeyOf<V>,
|
|
839
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
840
|
-
S: $ValOf<$ValOf<V, K2>, K3>
|
|
841
|
-
>(
|
|
842
|
-
keyPath: [K, K2, K3],
|
|
843
|
-
updater: (value: $ValOf<$ValOf<V, K2>, K3>) => S
|
|
844
|
-
): this;
|
|
845
|
-
updateIn<
|
|
846
|
-
NSV,
|
|
847
|
-
K2: $KeyOf<V>,
|
|
848
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
849
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
850
|
-
S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>
|
|
851
|
-
>(
|
|
852
|
-
keyPath: [K, K2, K3, K4],
|
|
853
|
-
notSetValue: NSV,
|
|
854
|
-
updater: (value: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4> | NSV) => S
|
|
855
|
-
): this;
|
|
856
|
-
updateIn<
|
|
857
|
-
K2: $KeyOf<V>,
|
|
858
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
859
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
860
|
-
S: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>
|
|
861
|
-
>(
|
|
862
|
-
keyPath: [K, K2, K3, K4],
|
|
863
|
-
updater: (value: $ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>) => S
|
|
864
|
-
): this;
|
|
865
|
-
updateIn<
|
|
866
|
-
NSV,
|
|
867
|
-
K2: $KeyOf<V>,
|
|
868
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
869
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
870
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
|
|
871
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>
|
|
872
|
-
>(
|
|
873
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
874
|
-
notSetValue: NSV,
|
|
875
|
-
updater: (
|
|
876
|
-
value: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5> | NSV
|
|
877
|
-
) => S
|
|
878
|
-
): this;
|
|
879
|
-
updateIn<
|
|
880
|
-
K2: $KeyOf<V>,
|
|
881
|
-
K3: $KeyOf<$ValOf<V, K2>>,
|
|
882
|
-
K4: $KeyOf<$ValOf<$ValOf<V, K2>, K3>>,
|
|
883
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>>,
|
|
884
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>
|
|
885
|
-
>(
|
|
886
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
887
|
-
updater: (value: $ValOf<$ValOf<$ValOf<$ValOf<V, K2>, K3>, K4>, K5>) => S
|
|
888
|
-
): this;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
declare function isList(maybeList: mixed): boolean %checks(maybeList instanceof
|
|
892
|
-
List);
|
|
893
|
-
declare class List<+T>
|
|
894
|
-
extends IndexedCollection<T>
|
|
895
|
-
mixins UpdatableInCollection<number, T> {
|
|
896
|
-
static (collection?: Iterable<T>): List<T>;
|
|
897
|
-
|
|
898
|
-
static of<T>(...values: T[]): List<T>;
|
|
899
|
-
|
|
900
|
-
static isList: typeof isList;
|
|
901
|
-
|
|
902
|
-
size: number;
|
|
903
|
-
|
|
904
|
-
set<U>(index: number, value: U): List<T | U>;
|
|
905
|
-
delete(index: number): this;
|
|
906
|
-
remove(index: number): this;
|
|
907
|
-
insert<U>(index: number, value: U): List<T | U>;
|
|
908
|
-
clear(): this;
|
|
909
|
-
push<U>(...values: U[]): List<T | U>;
|
|
910
|
-
pop(): this;
|
|
911
|
-
unshift<U>(...values: U[]): List<T | U>;
|
|
912
|
-
shift(): this;
|
|
913
|
-
|
|
914
|
-
update<U>(updater: (value: this) => U): U;
|
|
915
|
-
update<U>(index: number, updater: (value: T) => U): List<T | U>;
|
|
916
|
-
update<U>(
|
|
917
|
-
index: number,
|
|
918
|
-
notSetValue: U,
|
|
919
|
-
updater: (value: T) => U
|
|
920
|
-
): List<T | U>;
|
|
921
|
-
|
|
922
|
-
merge<U>(...collections: Iterable<U>[]): List<T | U>;
|
|
923
|
-
|
|
924
|
-
setSize(size: number): this;
|
|
925
|
-
|
|
926
|
-
mergeIn(keyPath: Iterable<mixed>, ...collections: Iterable<mixed>[]): this;
|
|
927
|
-
mergeDeepIn(
|
|
928
|
-
keyPath: Iterable<mixed>,
|
|
929
|
-
...collections: Iterable<mixed>[]
|
|
930
|
-
): this;
|
|
931
|
-
|
|
932
|
-
withMutations(mutator: (mutable: this) => mixed): this;
|
|
933
|
-
asMutable(): this;
|
|
934
|
-
wasAltered(): boolean;
|
|
935
|
-
asImmutable(): this;
|
|
936
|
-
|
|
937
|
-
// Override specialized return types
|
|
938
|
-
|
|
939
|
-
concat<C>(...iters: Array<Iterable<C> | C>): List<T | C>;
|
|
940
|
-
|
|
941
|
-
filter(predicate: typeof Boolean): List<$NonMaybeType<T>>;
|
|
942
|
-
filter(
|
|
943
|
-
predicate: (value: T, index: number, iter: this) => mixed,
|
|
944
|
-
context?: mixed
|
|
945
|
-
): List<T>;
|
|
946
|
-
|
|
947
|
-
map<M>(
|
|
948
|
-
mapper: (value: T, index: number, iter: this) => M,
|
|
949
|
-
context?: mixed
|
|
950
|
-
): List<M>;
|
|
951
|
-
|
|
952
|
-
flatMap<M>(
|
|
953
|
-
mapper: (value: T, index: number, iter: this) => Iterable<M>,
|
|
954
|
-
context?: mixed
|
|
955
|
-
): List<M>;
|
|
956
|
-
|
|
957
|
-
flatten(depth?: number): List<any>;
|
|
958
|
-
flatten(shallow?: boolean): List<any>;
|
|
959
|
-
|
|
960
|
-
zip<A>(a: Iterable<A>, ..._: []): List<[T, A]>;
|
|
961
|
-
zip<A, B>(a: Iterable<A>, b: Iterable<B>, ..._: []): List<[T, A, B]>;
|
|
962
|
-
zip<A, B, C>(
|
|
963
|
-
a: Iterable<A>,
|
|
964
|
-
b: Iterable<B>,
|
|
965
|
-
c: Iterable<C>,
|
|
966
|
-
..._: []
|
|
967
|
-
): List<[T, A, B, C]>;
|
|
968
|
-
zip<A, B, C, D>(
|
|
969
|
-
a: Iterable<A>,
|
|
970
|
-
b: Iterable<B>,
|
|
971
|
-
c: Iterable<C>,
|
|
972
|
-
d: Iterable<D>,
|
|
973
|
-
..._: []
|
|
974
|
-
): List<[T, A, B, C, D]>;
|
|
975
|
-
zip<A, B, C, D, E>(
|
|
976
|
-
a: Iterable<A>,
|
|
977
|
-
b: Iterable<B>,
|
|
978
|
-
c: Iterable<C>,
|
|
979
|
-
d: Iterable<D>,
|
|
980
|
-
e: Iterable<E>,
|
|
981
|
-
..._: []
|
|
982
|
-
): List<[T, A, B, C, D, E]>;
|
|
983
|
-
|
|
984
|
-
zipAll<A>(a: Iterable<A>, ..._: []): List<[T | void, A | void]>;
|
|
985
|
-
zipAll<A, B>(
|
|
986
|
-
a: Iterable<A>,
|
|
987
|
-
b: Iterable<B>,
|
|
988
|
-
..._: []
|
|
989
|
-
): List<[T | void, A | void, B | void]>;
|
|
990
|
-
zipAll<A, B, C>(
|
|
991
|
-
a: Iterable<A>,
|
|
992
|
-
b: Iterable<B>,
|
|
993
|
-
c: Iterable<C>,
|
|
994
|
-
..._: []
|
|
995
|
-
): List<[T | void, A | void, B | void, C | void]>;
|
|
996
|
-
zipAll<A, B, C, D>(
|
|
997
|
-
a: Iterable<A>,
|
|
998
|
-
b: Iterable<B>,
|
|
999
|
-
c: Iterable<C>,
|
|
1000
|
-
d: Iterable<D>,
|
|
1001
|
-
..._: []
|
|
1002
|
-
): List<[T | void, A | void, B | void, C | void, D | void]>;
|
|
1003
|
-
zipAll<A, B, C, D, E>(
|
|
1004
|
-
a: Iterable<A>,
|
|
1005
|
-
b: Iterable<B>,
|
|
1006
|
-
c: Iterable<C>,
|
|
1007
|
-
d: Iterable<D>,
|
|
1008
|
-
e: Iterable<E>,
|
|
1009
|
-
..._: []
|
|
1010
|
-
): List<[T | void, A | void, B | void, C | void, D | void, E | void]>;
|
|
1011
|
-
|
|
1012
|
-
zipWith<A, R>(
|
|
1013
|
-
zipper: (value: T, a: A) => R,
|
|
1014
|
-
a: Iterable<A>,
|
|
1015
|
-
..._: []
|
|
1016
|
-
): List<R>;
|
|
1017
|
-
zipWith<A, B, R>(
|
|
1018
|
-
zipper: (value: T, a: A, b: B) => R,
|
|
1019
|
-
a: Iterable<A>,
|
|
1020
|
-
b: Iterable<B>,
|
|
1021
|
-
..._: []
|
|
1022
|
-
): List<R>;
|
|
1023
|
-
zipWith<A, B, C, R>(
|
|
1024
|
-
zipper: (value: T, a: A, b: B, c: C) => R,
|
|
1025
|
-
a: Iterable<A>,
|
|
1026
|
-
b: Iterable<B>,
|
|
1027
|
-
c: Iterable<C>,
|
|
1028
|
-
..._: []
|
|
1029
|
-
): List<R>;
|
|
1030
|
-
zipWith<A, B, C, D, R>(
|
|
1031
|
-
zipper: (value: T, a: A, b: B, c: C, d: D) => R,
|
|
1032
|
-
a: Iterable<A>,
|
|
1033
|
-
b: Iterable<B>,
|
|
1034
|
-
c: Iterable<C>,
|
|
1035
|
-
d: Iterable<D>,
|
|
1036
|
-
..._: []
|
|
1037
|
-
): List<R>;
|
|
1038
|
-
zipWith<A, B, C, D, E, R>(
|
|
1039
|
-
zipper: (value: T, a: A, b: B, c: C, d: D, e: E) => R,
|
|
1040
|
-
a: Iterable<A>,
|
|
1041
|
-
b: Iterable<B>,
|
|
1042
|
-
c: Iterable<C>,
|
|
1043
|
-
d: Iterable<D>,
|
|
1044
|
-
e: Iterable<E>,
|
|
1045
|
-
..._: []
|
|
1046
|
-
): List<R>;
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
declare function isMap(maybeMap: mixed): boolean %checks(maybeMap instanceof
|
|
1050
|
-
Map);
|
|
1051
|
-
declare class Map<K, +V>
|
|
1052
|
-
extends KeyedCollection<K, V>
|
|
1053
|
-
mixins UpdatableInCollection<K, V> {
|
|
1054
|
-
static <K, V>(values?: Iterable<[K, V]> | PlainObjInput<K, V>): Map<K, V>;
|
|
1055
|
-
|
|
1056
|
-
static isMap: typeof isMap;
|
|
1057
|
-
|
|
1058
|
-
size: number;
|
|
1059
|
-
|
|
1060
|
-
set<K_, V_>(key: K_, value: V_): Map<K | K_, V | V_>;
|
|
1061
|
-
delete(key: K): this;
|
|
1062
|
-
remove(key: K): this;
|
|
1063
|
-
clear(): this;
|
|
1064
|
-
|
|
1065
|
-
deleteAll(keys: Iterable<K>): Map<K, V>;
|
|
1066
|
-
removeAll(keys: Iterable<K>): Map<K, V>;
|
|
1067
|
-
|
|
1068
|
-
update<U>(updater: (value: this) => U): U;
|
|
1069
|
-
update<V_>(key: K, updater: (value: V) => V_): Map<K, V | V_>;
|
|
1070
|
-
update<V_>(
|
|
1071
|
-
key: K,
|
|
1072
|
-
notSetValue: V_,
|
|
1073
|
-
updater: (value: V) => V_
|
|
1074
|
-
): Map<K, V | V_>;
|
|
1075
|
-
|
|
1076
|
-
merge<K_, V_>(
|
|
1077
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1078
|
-
): Map<K | K_, V | V_>;
|
|
1079
|
-
concat<K_, V_>(
|
|
1080
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1081
|
-
): Map<K | K_, V | V_>;
|
|
1082
|
-
|
|
1083
|
-
mergeWith<K_, W, X>(
|
|
1084
|
-
merger: (oldVal: V, newVal: W, key: K) => X,
|
|
1085
|
-
...collections: (Iterable<[K_, W]> | PlainObjInput<K_, W>)[]
|
|
1086
|
-
): Map<K | K_, V | W | X>;
|
|
1087
|
-
|
|
1088
|
-
mergeDeep<K_, V_>(
|
|
1089
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1090
|
-
): Map<K | K_, V | V_>;
|
|
1091
|
-
|
|
1092
|
-
mergeDeepWith<K_, V_>(
|
|
1093
|
-
merger: (oldVal: any, newVal: any, key: any) => mixed,
|
|
1094
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1095
|
-
): Map<K | K_, V | V_>;
|
|
1096
|
-
|
|
1097
|
-
mergeIn(
|
|
1098
|
-
keyPath: Iterable<mixed>,
|
|
1099
|
-
...collections: (Iterable<mixed> | PlainObjInput<mixed, mixed>)[]
|
|
1100
|
-
): this;
|
|
1101
|
-
mergeDeepIn(
|
|
1102
|
-
keyPath: Iterable<mixed>,
|
|
1103
|
-
...collections: (Iterable<mixed> | PlainObjInput<mixed, mixed>)[]
|
|
1104
|
-
): this;
|
|
1105
|
-
|
|
1106
|
-
withMutations(mutator: (mutable: this) => mixed): this;
|
|
1107
|
-
asMutable(): this;
|
|
1108
|
-
wasAltered(): boolean;
|
|
1109
|
-
asImmutable(): this;
|
|
1110
|
-
|
|
1111
|
-
// Override specialized return types
|
|
1112
|
-
|
|
1113
|
-
flip(): Map<V, K>;
|
|
1114
|
-
|
|
1115
|
-
filter(predicate: typeof Boolean): Map<K, $NonMaybeType<V>>;
|
|
1116
|
-
filter(
|
|
1117
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
1118
|
-
context?: mixed
|
|
1119
|
-
): Map<K, V>;
|
|
1120
|
-
|
|
1121
|
-
map<M>(
|
|
1122
|
-
mapper: (value: V, key: K, iter: this) => M,
|
|
1123
|
-
context?: mixed
|
|
1124
|
-
): Map<K, M>;
|
|
1125
|
-
|
|
1126
|
-
mapKeys<M>(
|
|
1127
|
-
mapper: (key: K, value: V, iter: this) => M,
|
|
1128
|
-
context?: mixed
|
|
1129
|
-
): Map<M, V>;
|
|
1130
|
-
|
|
1131
|
-
mapEntries<KM, VM>(
|
|
1132
|
-
mapper: (entry: [K, V], index: number, iter: this) => [KM, VM],
|
|
1133
|
-
context?: mixed
|
|
1134
|
-
): Map<KM, VM>;
|
|
1135
|
-
|
|
1136
|
-
flatMap<KM, VM>(
|
|
1137
|
-
mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>,
|
|
1138
|
-
context?: mixed
|
|
1139
|
-
): Map<KM, VM>;
|
|
1140
|
-
|
|
1141
|
-
flatten(depth?: number): Map<any, any>;
|
|
1142
|
-
flatten(shallow?: boolean): Map<any, any>;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
declare function isOrderedMap(
|
|
1146
|
-
maybeOrderedMap: mixed
|
|
1147
|
-
): boolean %checks(maybeOrderedMap instanceof OrderedMap);
|
|
1148
|
-
declare class OrderedMap<K, +V>
|
|
1149
|
-
extends Map<K, V>
|
|
1150
|
-
mixins UpdatableInCollection<K, V> {
|
|
1151
|
-
static <K, V>(
|
|
1152
|
-
values?: Iterable<[K, V]> | PlainObjInput<K, V>
|
|
1153
|
-
): OrderedMap<K, V>;
|
|
1154
|
-
|
|
1155
|
-
static isOrderedMap: typeof isOrderedMap;
|
|
1156
|
-
|
|
1157
|
-
size: number;
|
|
1158
|
-
|
|
1159
|
-
set<K_, V_>(key: K_, value: V_): OrderedMap<K | K_, V | V_>;
|
|
1160
|
-
delete(key: K): this;
|
|
1161
|
-
remove(key: K): this;
|
|
1162
|
-
clear(): this;
|
|
1163
|
-
|
|
1164
|
-
update<U>(updater: (value: this) => U): U;
|
|
1165
|
-
update<V_>(key: K, updater: (value: V) => V_): OrderedMap<K, V | V_>;
|
|
1166
|
-
update<V_>(
|
|
1167
|
-
key: K,
|
|
1168
|
-
notSetValue: V_,
|
|
1169
|
-
updater: (value: V) => V_
|
|
1170
|
-
): OrderedMap<K, V | V_>;
|
|
1171
|
-
|
|
1172
|
-
merge<K_, V_>(
|
|
1173
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1174
|
-
): OrderedMap<K | K_, V | V_>;
|
|
1175
|
-
concat<K_, V_>(
|
|
1176
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1177
|
-
): OrderedMap<K | K_, V | V_>;
|
|
1178
|
-
|
|
1179
|
-
mergeWith<K_, W, X>(
|
|
1180
|
-
merger: (oldVal: V, newVal: W, key: K) => X,
|
|
1181
|
-
...collections: (Iterable<[K_, W]> | PlainObjInput<K_, W>)[]
|
|
1182
|
-
): OrderedMap<K | K_, V | W | X>;
|
|
1183
|
-
|
|
1184
|
-
mergeDeep<K_, V_>(
|
|
1185
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1186
|
-
): OrderedMap<K | K_, V | V_>;
|
|
1187
|
-
|
|
1188
|
-
mergeDeepWith<K_, V_>(
|
|
1189
|
-
merger: (oldVal: any, newVal: any, key: any) => mixed,
|
|
1190
|
-
...collections: (Iterable<[K_, V_]> | PlainObjInput<K_, V_>)[]
|
|
1191
|
-
): OrderedMap<K | K_, V | V_>;
|
|
1192
|
-
|
|
1193
|
-
mergeIn(
|
|
1194
|
-
keyPath: Iterable<mixed>,
|
|
1195
|
-
...collections: (Iterable<mixed> | PlainObjInput<mixed, mixed>)[]
|
|
1196
|
-
): this;
|
|
1197
|
-
mergeDeepIn(
|
|
1198
|
-
keyPath: Iterable<mixed>,
|
|
1199
|
-
...collections: (Iterable<mixed> | PlainObjInput<mixed, mixed>)[]
|
|
1200
|
-
): this;
|
|
1201
|
-
|
|
1202
|
-
withMutations(mutator: (mutable: this) => mixed): this;
|
|
1203
|
-
asMutable(): this;
|
|
1204
|
-
wasAltered(): boolean;
|
|
1205
|
-
asImmutable(): this;
|
|
1206
|
-
|
|
1207
|
-
// Override specialized return types
|
|
1208
|
-
|
|
1209
|
-
flip(): OrderedMap<V, K>;
|
|
1210
|
-
|
|
1211
|
-
filter(predicate: typeof Boolean): OrderedMap<K, $NonMaybeType<V>>;
|
|
1212
|
-
filter(
|
|
1213
|
-
predicate: (value: V, key: K, iter: this) => mixed,
|
|
1214
|
-
context?: mixed
|
|
1215
|
-
): OrderedMap<K, V>;
|
|
1216
|
-
|
|
1217
|
-
map<M>(
|
|
1218
|
-
mapper: (value: V, key: K, iter: this) => M,
|
|
1219
|
-
context?: mixed
|
|
1220
|
-
): OrderedMap<K, M>;
|
|
1221
|
-
|
|
1222
|
-
mapKeys<M>(
|
|
1223
|
-
mapper: (key: K, value: V, iter: this) => M,
|
|
1224
|
-
context?: mixed
|
|
1225
|
-
): OrderedMap<M, V>;
|
|
1226
|
-
|
|
1227
|
-
mapEntries<KM, VM>(
|
|
1228
|
-
mapper: (entry: [K, V], index: number, iter: this) => [KM, VM],
|
|
1229
|
-
context?: mixed
|
|
1230
|
-
): OrderedMap<KM, VM>;
|
|
1231
|
-
|
|
1232
|
-
flatMap<KM, VM>(
|
|
1233
|
-
mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>,
|
|
1234
|
-
context?: mixed
|
|
1235
|
-
): OrderedMap<KM, VM>;
|
|
1236
|
-
|
|
1237
|
-
flatten(depth?: number): OrderedMap<any, any>;
|
|
1238
|
-
flatten(shallow?: boolean): OrderedMap<any, any>;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
declare function isSet(maybeSet: mixed): boolean %checks(maybeSet instanceof
|
|
1242
|
-
Set);
|
|
1243
|
-
declare class Set<+T> extends SetCollection<T> {
|
|
1244
|
-
static <T>(values?: Iterable<T>): Set<T>;
|
|
1245
|
-
|
|
1246
|
-
static of<T>(...values: T[]): Set<T>;
|
|
1247
|
-
static fromKeys<T>(
|
|
1248
|
-
values: Iterable<[T, mixed]> | PlainObjInput<T, mixed>
|
|
1249
|
-
): Set<T>;
|
|
1250
|
-
|
|
1251
|
-
static intersect(sets: Iterable<Iterable<T>>): Set<T>;
|
|
1252
|
-
static union(sets: Iterable<Iterable<T>>): Set<T>;
|
|
1253
|
-
|
|
1254
|
-
static isSet: typeof isSet;
|
|
1255
|
-
|
|
1256
|
-
size: number;
|
|
1257
|
-
|
|
1258
|
-
add<U>(value: U): Set<T | U>;
|
|
1259
|
-
delete(value: T): this;
|
|
1260
|
-
remove(value: T): this;
|
|
1261
|
-
clear(): this;
|
|
1262
|
-
union<U>(...collections: Iterable<U>[]): Set<T | U>;
|
|
1263
|
-
merge<U>(...collections: Iterable<U>[]): Set<T | U>;
|
|
1264
|
-
concat<U>(...collections: Iterable<U>[]): Set<T | U>;
|
|
1265
|
-
intersect<U>(...collections: Iterable<U>[]): Set<T & U>;
|
|
1266
|
-
subtract(...collections: Iterable<mixed>[]): this;
|
|
1267
|
-
|
|
1268
|
-
withMutations(mutator: (mutable: this) => mixed): this;
|
|
1269
|
-
asMutable(): this;
|
|
1270
|
-
wasAltered(): boolean;
|
|
1271
|
-
asImmutable(): this;
|
|
1272
|
-
|
|
1273
|
-
// Override specialized return types
|
|
1274
|
-
|
|
1275
|
-
filter(predicate: typeof Boolean): Set<$NonMaybeType<T>>;
|
|
1276
|
-
filter(
|
|
1277
|
-
predicate: (value: T, value: T, iter: this) => mixed,
|
|
1278
|
-
context?: mixed
|
|
1279
|
-
): Set<T>;
|
|
1280
|
-
|
|
1281
|
-
map<M>(
|
|
1282
|
-
mapper: (value: T, value: T, iter: this) => M,
|
|
1283
|
-
context?: mixed
|
|
1284
|
-
): Set<M>;
|
|
1285
|
-
|
|
1286
|
-
flatMap<M>(
|
|
1287
|
-
mapper: (value: T, value: T, iter: this) => Iterable<M>,
|
|
1288
|
-
context?: mixed
|
|
1289
|
-
): Set<M>;
|
|
1290
|
-
|
|
1291
|
-
flatten(depth?: number): Set<any>;
|
|
1292
|
-
flatten(shallow?: boolean): Set<any>;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
// Overrides except for `isOrderedSet` are for specialized return types
|
|
1296
|
-
declare function isOrderedSet(
|
|
1297
|
-
maybeOrderedSet: mixed
|
|
1298
|
-
): boolean %checks(maybeOrderedSet instanceof OrderedSet);
|
|
1299
|
-
declare class OrderedSet<+T> extends Set<T> {
|
|
1300
|
-
static <T>(values?: Iterable<T>): OrderedSet<T>;
|
|
1301
|
-
|
|
1302
|
-
static of<T>(...values: T[]): OrderedSet<T>;
|
|
1303
|
-
static fromKeys<T>(
|
|
1304
|
-
values: Iterable<[T, mixed]> | PlainObjInput<T, mixed>
|
|
1305
|
-
): OrderedSet<T>;
|
|
1306
|
-
|
|
1307
|
-
static isOrderedSet: typeof isOrderedSet;
|
|
1308
|
-
|
|
1309
|
-
size: number;
|
|
1310
|
-
|
|
1311
|
-
add<U>(value: U): OrderedSet<T | U>;
|
|
1312
|
-
union<U>(...collections: Iterable<U>[]): OrderedSet<T | U>;
|
|
1313
|
-
merge<U>(...collections: Iterable<U>[]): OrderedSet<T | U>;
|
|
1314
|
-
concat<U>(...collections: Iterable<U>[]): OrderedSet<T | U>;
|
|
1315
|
-
intersect<U>(...collections: Iterable<U>[]): OrderedSet<T & U>;
|
|
1316
|
-
|
|
1317
|
-
filter(predicate: typeof Boolean): OrderedSet<$NonMaybeType<T>>;
|
|
1318
|
-
filter(
|
|
1319
|
-
predicate: (value: T, value: T, iter: this) => mixed,
|
|
1320
|
-
context?: mixed
|
|
1321
|
-
): OrderedSet<T>;
|
|
1322
|
-
|
|
1323
|
-
map<M>(
|
|
1324
|
-
mapper: (value: T, value: T, iter: this) => M,
|
|
1325
|
-
context?: mixed
|
|
1326
|
-
): OrderedSet<M>;
|
|
1327
|
-
|
|
1328
|
-
flatMap<M>(
|
|
1329
|
-
mapper: (value: T, value: T, iter: this) => Iterable<M>,
|
|
1330
|
-
context?: mixed
|
|
1331
|
-
): OrderedSet<M>;
|
|
1332
|
-
|
|
1333
|
-
flatten(depth?: number): OrderedSet<any>;
|
|
1334
|
-
flatten(shallow?: boolean): OrderedSet<any>;
|
|
1335
|
-
|
|
1336
|
-
zip<A>(a: Iterable<A>, ..._: []): OrderedSet<[T, A]>;
|
|
1337
|
-
zip<A, B>(a: Iterable<A>, b: Iterable<B>, ..._: []): OrderedSet<[T, A, B]>;
|
|
1338
|
-
zip<A, B, C>(
|
|
1339
|
-
a: Iterable<A>,
|
|
1340
|
-
b: Iterable<B>,
|
|
1341
|
-
c: Iterable<C>,
|
|
1342
|
-
..._: []
|
|
1343
|
-
): OrderedSet<[T, A, B, C]>;
|
|
1344
|
-
zip<A, B, C, D>(
|
|
1345
|
-
a: Iterable<A>,
|
|
1346
|
-
b: Iterable<B>,
|
|
1347
|
-
c: Iterable<C>,
|
|
1348
|
-
d: Iterable<D>,
|
|
1349
|
-
..._: []
|
|
1350
|
-
): OrderedSet<[T, A, B, C, D]>;
|
|
1351
|
-
zip<A, B, C, D, E>(
|
|
1352
|
-
a: Iterable<A>,
|
|
1353
|
-
b: Iterable<B>,
|
|
1354
|
-
c: Iterable<C>,
|
|
1355
|
-
d: Iterable<D>,
|
|
1356
|
-
e: Iterable<E>,
|
|
1357
|
-
..._: []
|
|
1358
|
-
): OrderedSet<[T, A, B, C, D, E]>;
|
|
1359
|
-
|
|
1360
|
-
zipAll<A>(a: Iterable<A>, ..._: []): OrderedSet<[T | void, A | void]>;
|
|
1361
|
-
zipAll<A, B>(
|
|
1362
|
-
a: Iterable<A>,
|
|
1363
|
-
b: Iterable<B>,
|
|
1364
|
-
..._: []
|
|
1365
|
-
): OrderedSet<[T | void, A | void, B | void]>;
|
|
1366
|
-
zipAll<A, B, C>(
|
|
1367
|
-
a: Iterable<A>,
|
|
1368
|
-
b: Iterable<B>,
|
|
1369
|
-
c: Iterable<C>,
|
|
1370
|
-
..._: []
|
|
1371
|
-
): OrderedSet<[T | void, A | void, B | void, C | void]>;
|
|
1372
|
-
zipAll<A, B, C, D>(
|
|
1373
|
-
a: Iterable<A>,
|
|
1374
|
-
b: Iterable<B>,
|
|
1375
|
-
c: Iterable<C>,
|
|
1376
|
-
d: Iterable<D>,
|
|
1377
|
-
..._: []
|
|
1378
|
-
): OrderedSet<[T | void, A | void, B | void, C | void, D | void]>;
|
|
1379
|
-
zipAll<A, B, C, D, E>(
|
|
1380
|
-
a: Iterable<A>,
|
|
1381
|
-
b: Iterable<B>,
|
|
1382
|
-
c: Iterable<C>,
|
|
1383
|
-
d: Iterable<D>,
|
|
1384
|
-
e: Iterable<E>,
|
|
1385
|
-
..._: []
|
|
1386
|
-
): OrderedSet<[T | void, A | void, B | void, C | void, D | void, E | void]>;
|
|
1387
|
-
|
|
1388
|
-
zipWith<A, R>(
|
|
1389
|
-
zipper: (value: T, a: A) => R,
|
|
1390
|
-
a: Iterable<A>,
|
|
1391
|
-
..._: []
|
|
1392
|
-
): OrderedSet<R>;
|
|
1393
|
-
zipWith<A, B, R>(
|
|
1394
|
-
zipper: (value: T, a: A, b: B) => R,
|
|
1395
|
-
a: Iterable<A>,
|
|
1396
|
-
b: Iterable<B>,
|
|
1397
|
-
..._: []
|
|
1398
|
-
): OrderedSet<R>;
|
|
1399
|
-
zipWith<A, B, C, R>(
|
|
1400
|
-
zipper: (value: T, a: A, b: B, c: C) => R,
|
|
1401
|
-
a: Iterable<A>,
|
|
1402
|
-
b: Iterable<B>,
|
|
1403
|
-
c: Iterable<C>,
|
|
1404
|
-
..._: []
|
|
1405
|
-
): OrderedSet<R>;
|
|
1406
|
-
zipWith<A, B, C, D, R>(
|
|
1407
|
-
zipper: (value: T, a: A, b: B, c: C, d: D) => R,
|
|
1408
|
-
a: Iterable<A>,
|
|
1409
|
-
b: Iterable<B>,
|
|
1410
|
-
c: Iterable<C>,
|
|
1411
|
-
d: Iterable<D>,
|
|
1412
|
-
..._: []
|
|
1413
|
-
): OrderedSet<R>;
|
|
1414
|
-
zipWith<A, B, C, D, E, R>(
|
|
1415
|
-
zipper: (value: T, a: A, b: B, c: C, d: D, e: E) => R,
|
|
1416
|
-
a: Iterable<A>,
|
|
1417
|
-
b: Iterable<B>,
|
|
1418
|
-
c: Iterable<C>,
|
|
1419
|
-
d: Iterable<D>,
|
|
1420
|
-
e: Iterable<E>,
|
|
1421
|
-
..._: []
|
|
1422
|
-
): OrderedSet<R>;
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
declare function isStack(
|
|
1426
|
-
maybeStack: mixed
|
|
1427
|
-
): boolean %checks(maybeStack instanceof Stack);
|
|
1428
|
-
declare class Stack<+T> extends IndexedCollection<T> {
|
|
1429
|
-
static <T>(collection?: Iterable<T>): Stack<T>;
|
|
1430
|
-
|
|
1431
|
-
static isStack(maybeStack: mixed): boolean;
|
|
1432
|
-
static of<T>(...values: T[]): Stack<T>;
|
|
1433
|
-
|
|
1434
|
-
static isStack: typeof isStack;
|
|
1435
|
-
|
|
1436
|
-
size: number;
|
|
1437
|
-
|
|
1438
|
-
peek(): T;
|
|
1439
|
-
clear(): this;
|
|
1440
|
-
unshift<U>(...values: U[]): Stack<T | U>;
|
|
1441
|
-
unshiftAll<U>(iter: Iterable<U>): Stack<T | U>;
|
|
1442
|
-
shift(): this;
|
|
1443
|
-
push<U>(...values: U[]): Stack<T | U>;
|
|
1444
|
-
pushAll<U>(iter: Iterable<U>): Stack<T | U>;
|
|
1445
|
-
pop(): this;
|
|
1446
|
-
|
|
1447
|
-
withMutations(mutator: (mutable: this) => mixed): this;
|
|
1448
|
-
asMutable(): this;
|
|
1449
|
-
wasAltered(): boolean;
|
|
1450
|
-
asImmutable(): this;
|
|
1451
|
-
|
|
1452
|
-
// Override specialized return types
|
|
1453
|
-
|
|
1454
|
-
concat<C>(...iters: Array<Iterable<C> | C>): Stack<T | C>;
|
|
1455
|
-
|
|
1456
|
-
filter(predicate: typeof Boolean): Stack<$NonMaybeType<T>>;
|
|
1457
|
-
filter(
|
|
1458
|
-
predicate: (value: T, index: number, iter: this) => mixed,
|
|
1459
|
-
context?: mixed
|
|
1460
|
-
): Stack<T>;
|
|
1461
|
-
|
|
1462
|
-
map<M>(
|
|
1463
|
-
mapper: (value: T, index: number, iter: this) => M,
|
|
1464
|
-
context?: mixed
|
|
1465
|
-
): Stack<M>;
|
|
1466
|
-
|
|
1467
|
-
flatMap<M>(
|
|
1468
|
-
mapper: (value: T, index: number, iter: this) => Iterable<M>,
|
|
1469
|
-
context?: mixed
|
|
1470
|
-
): Stack<M>;
|
|
1471
|
-
|
|
1472
|
-
flatten(depth?: number): Stack<any>;
|
|
1473
|
-
flatten(shallow?: boolean): Stack<any>;
|
|
1474
|
-
|
|
1475
|
-
zip<A>(a: Iterable<A>, ..._: []): Stack<[T, A]>;
|
|
1476
|
-
zip<A, B>(a: Iterable<A>, b: Iterable<B>, ..._: []): Stack<[T, A, B]>;
|
|
1477
|
-
zip<A, B, C>(
|
|
1478
|
-
a: Iterable<A>,
|
|
1479
|
-
b: Iterable<B>,
|
|
1480
|
-
c: Iterable<C>,
|
|
1481
|
-
..._: []
|
|
1482
|
-
): Stack<[T, A, B, C]>;
|
|
1483
|
-
zip<A, B, C, D>(
|
|
1484
|
-
a: Iterable<A>,
|
|
1485
|
-
b: Iterable<B>,
|
|
1486
|
-
c: Iterable<C>,
|
|
1487
|
-
d: Iterable<D>,
|
|
1488
|
-
..._: []
|
|
1489
|
-
): Stack<[T, A, B, C, D]>;
|
|
1490
|
-
zip<A, B, C, D, E>(
|
|
1491
|
-
a: Iterable<A>,
|
|
1492
|
-
b: Iterable<B>,
|
|
1493
|
-
c: Iterable<C>,
|
|
1494
|
-
d: Iterable<D>,
|
|
1495
|
-
e: Iterable<E>,
|
|
1496
|
-
..._: []
|
|
1497
|
-
): Stack<[T, A, B, C, D, E]>;
|
|
1498
|
-
|
|
1499
|
-
zipAll<A>(a: Iterable<A>, ..._: []): Stack<[T | void, A | void]>;
|
|
1500
|
-
zipAll<A, B>(
|
|
1501
|
-
a: Iterable<A>,
|
|
1502
|
-
b: Iterable<B>,
|
|
1503
|
-
..._: []
|
|
1504
|
-
): Stack<[T | void, A | void, B | void]>;
|
|
1505
|
-
zipAll<A, B, C>(
|
|
1506
|
-
a: Iterable<A>,
|
|
1507
|
-
b: Iterable<B>,
|
|
1508
|
-
c: Iterable<C>,
|
|
1509
|
-
..._: []
|
|
1510
|
-
): Stack<[T | void, A | void, B | void, C | void]>;
|
|
1511
|
-
zipAll<A, B, C, D>(
|
|
1512
|
-
a: Iterable<A>,
|
|
1513
|
-
b: Iterable<B>,
|
|
1514
|
-
c: Iterable<C>,
|
|
1515
|
-
d: Iterable<D>,
|
|
1516
|
-
..._: []
|
|
1517
|
-
): Stack<[T | void, A | void, B | void, C | void, D | void]>;
|
|
1518
|
-
zipAll<A, B, C, D, E>(
|
|
1519
|
-
a: Iterable<A>,
|
|
1520
|
-
b: Iterable<B>,
|
|
1521
|
-
c: Iterable<C>,
|
|
1522
|
-
d: Iterable<D>,
|
|
1523
|
-
e: Iterable<E>,
|
|
1524
|
-
..._: []
|
|
1525
|
-
): Stack<[T | void, A | void, B | void, C | void, D | void, E | void]>;
|
|
1526
|
-
|
|
1527
|
-
zipWith<A, R>(
|
|
1528
|
-
zipper: (value: T, a: A) => R,
|
|
1529
|
-
a: Iterable<A>,
|
|
1530
|
-
..._: []
|
|
1531
|
-
): Stack<R>;
|
|
1532
|
-
zipWith<A, B, R>(
|
|
1533
|
-
zipper: (value: T, a: A, b: B) => R,
|
|
1534
|
-
a: Iterable<A>,
|
|
1535
|
-
b: Iterable<B>,
|
|
1536
|
-
..._: []
|
|
1537
|
-
): Stack<R>;
|
|
1538
|
-
zipWith<A, B, C, R>(
|
|
1539
|
-
zipper: (value: T, a: A, b: B, c: C) => R,
|
|
1540
|
-
a: Iterable<A>,
|
|
1541
|
-
b: Iterable<B>,
|
|
1542
|
-
c: Iterable<C>,
|
|
1543
|
-
..._: []
|
|
1544
|
-
): Stack<R>;
|
|
1545
|
-
zipWith<A, B, C, D, R>(
|
|
1546
|
-
zipper: (value: T, a: A, b: B, c: C, d: D) => R,
|
|
1547
|
-
a: Iterable<A>,
|
|
1548
|
-
b: Iterable<B>,
|
|
1549
|
-
c: Iterable<C>,
|
|
1550
|
-
d: Iterable<D>,
|
|
1551
|
-
..._: []
|
|
1552
|
-
): Stack<R>;
|
|
1553
|
-
zipWith<A, B, C, D, E, R>(
|
|
1554
|
-
zipper: (value: T, a: A, b: B, c: C, d: D, e: E) => R,
|
|
1555
|
-
a: Iterable<A>,
|
|
1556
|
-
b: Iterable<B>,
|
|
1557
|
-
c: Iterable<C>,
|
|
1558
|
-
d: Iterable<D>,
|
|
1559
|
-
e: Iterable<E>,
|
|
1560
|
-
..._: []
|
|
1561
|
-
): Stack<R>;
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
declare function Range(
|
|
1565
|
-
start?: number,
|
|
1566
|
-
end?: number,
|
|
1567
|
-
step?: number
|
|
1568
|
-
): IndexedSeq<number>;
|
|
1569
|
-
declare function Repeat<T>(value: T, times?: number): IndexedSeq<T>;
|
|
1570
|
-
|
|
1571
|
-
// The type of a Record factory function.
|
|
1572
|
-
type RecordFactory<Values: Object> = Class<RecordInstance<Values>>;
|
|
1573
|
-
|
|
1574
|
-
// The type of runtime Record instances.
|
|
1575
|
-
type RecordOf<Values: Object> = RecordInstance<Values> & $ReadOnly<Values>;
|
|
1576
|
-
|
|
1577
|
-
// The values of a Record instance.
|
|
1578
|
-
type _RecordValues<T, R: RecordInstance<T> | T> = R;
|
|
1579
|
-
type RecordValues<R> = _RecordValues<*, R>;
|
|
1580
|
-
|
|
1581
|
-
declare function isRecord(
|
|
1582
|
-
maybeRecord: any
|
|
1583
|
-
): boolean %checks(maybeRecord instanceof RecordInstance);
|
|
1584
|
-
declare class Record {
|
|
1585
|
-
static <Values: Object>(spec: Values, name?: string): typeof RecordInstance;
|
|
1586
|
-
constructor<Values: Object>(
|
|
1587
|
-
spec: Values,
|
|
1588
|
-
name?: string
|
|
1589
|
-
): typeof RecordInstance;
|
|
1590
|
-
|
|
1591
|
-
static isRecord: typeof isRecord;
|
|
1592
|
-
|
|
1593
|
-
static getDescriptiveName(record: RecordInstance<any>): string;
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
declare class RecordInstance<T: Object = Object> {
|
|
1597
|
-
static (values?: Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>): RecordOf<T>;
|
|
1598
|
-
// Note: a constructor can only create an instance of RecordInstance<T>,
|
|
1599
|
-
// it's encouraged to not use `new` when creating Records.
|
|
1600
|
-
constructor(values?: Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>): void;
|
|
1601
|
-
|
|
1602
|
-
size: number;
|
|
1603
|
-
|
|
1604
|
-
has(key: string): boolean;
|
|
1605
|
-
|
|
1606
|
-
get<K: $Keys<T>>(key: K, ..._: []): $ElementType<T, K>;
|
|
1607
|
-
get<K: $Keys<T>, NSV>(key: K, notSetValue: NSV): $ElementType<T, K> | NSV;
|
|
1608
|
-
|
|
1609
|
-
hasIn(keyPath: Iterable<mixed>): boolean;
|
|
1610
|
-
|
|
1611
|
-
getIn(keyPath: [], notSetValue?: mixed): this & $ReadOnly<T>;
|
|
1612
|
-
getIn<K: $Keys<T>>(keyPath: [K], notSetValue?: mixed): $ElementType<T, K>;
|
|
1613
|
-
getIn<NSV, K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>>(
|
|
1614
|
-
keyPath: [K, K2],
|
|
1615
|
-
notSetValue: NSV
|
|
1616
|
-
): $ValOf<$ValOf<T, K>, K2> | NSV;
|
|
1617
|
-
getIn<
|
|
1618
|
-
NSV,
|
|
1619
|
-
K: $Keys<T>,
|
|
1620
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1621
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>
|
|
1622
|
-
>(
|
|
1623
|
-
keyPath: [K, K2, K3],
|
|
1624
|
-
notSetValue: NSV
|
|
1625
|
-
): $ValOf<$ValOf<$ValOf<T, K>, K2>, K3> | NSV;
|
|
1626
|
-
getIn<
|
|
1627
|
-
NSV,
|
|
1628
|
-
K: $Keys<T>,
|
|
1629
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1630
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1631
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>
|
|
1632
|
-
>(
|
|
1633
|
-
keyPath: [K, K2, K3, K4],
|
|
1634
|
-
notSetValue: NSV
|
|
1635
|
-
): $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4> | NSV;
|
|
1636
|
-
getIn<
|
|
1637
|
-
NSV,
|
|
1638
|
-
K: $Keys<T>,
|
|
1639
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1640
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1641
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1642
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>
|
|
1643
|
-
>(
|
|
1644
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
1645
|
-
notSetValue: NSV
|
|
1646
|
-
): $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5> | NSV;
|
|
1647
|
-
|
|
1648
|
-
equals(other: any): boolean;
|
|
1649
|
-
hashCode(): number;
|
|
1650
|
-
|
|
1651
|
-
set<K: $Keys<T>>(key: K, value: $ElementType<T, K>): this & $ReadOnly<T>;
|
|
1652
|
-
update<K: $Keys<T>>(
|
|
1653
|
-
key: K,
|
|
1654
|
-
updater: (value: $ElementType<T, K>) => $ElementType<T, K>
|
|
1655
|
-
): this & $ReadOnly<T>;
|
|
1656
|
-
merge(
|
|
1657
|
-
...collections: Array<Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>>
|
|
1658
|
-
): this & $ReadOnly<T>;
|
|
1659
|
-
mergeDeep(
|
|
1660
|
-
...collections: Array<Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>>
|
|
1661
|
-
): this & $ReadOnly<T>;
|
|
1662
|
-
|
|
1663
|
-
mergeWith(
|
|
1664
|
-
merger: (oldVal: $ValOf<T>, newVal: $ValOf<T>, key: $Keys<T>) => $ValOf<T>,
|
|
1665
|
-
...collections: Array<Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>>
|
|
1666
|
-
): this & $ReadOnly<T>;
|
|
1667
|
-
mergeDeepWith(
|
|
1668
|
-
merger: (oldVal: any, newVal: any, key: any) => any,
|
|
1669
|
-
...collections: Array<Iterable<[$Keys<T>, $ValOf<T>]> | $Shape<T>>
|
|
1670
|
-
): this & $ReadOnly<T>;
|
|
1671
|
-
|
|
1672
|
-
delete<K: $Keys<T>>(key: K): this & $ReadOnly<T>;
|
|
1673
|
-
remove<K: $Keys<T>>(key: K): this & $ReadOnly<T>;
|
|
1674
|
-
clear(): this & $ReadOnly<T>;
|
|
1675
|
-
|
|
1676
|
-
setIn<S>(keyPath: [], value: S): S;
|
|
1677
|
-
setIn<K: $Keys<T>, S: $ValOf<T, K>>(
|
|
1678
|
-
keyPath: [K],
|
|
1679
|
-
value: S
|
|
1680
|
-
): this & $ReadOnly<T>;
|
|
1681
|
-
setIn<K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>, S: $ValOf<$ValOf<T, K>, K2>>(
|
|
1682
|
-
keyPath: [K, K2],
|
|
1683
|
-
value: S
|
|
1684
|
-
): this & $ReadOnly<T>;
|
|
1685
|
-
setIn<
|
|
1686
|
-
K: $Keys<T>,
|
|
1687
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1688
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1689
|
-
S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>
|
|
1690
|
-
>(
|
|
1691
|
-
keyPath: [K, K2, K3],
|
|
1692
|
-
value: S
|
|
1693
|
-
): this & $ReadOnly<T>;
|
|
1694
|
-
setIn<
|
|
1695
|
-
K: $Keys<T>,
|
|
1696
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1697
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1698
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1699
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>
|
|
1700
|
-
>(
|
|
1701
|
-
keyPath: [K, K2, K3, K4],
|
|
1702
|
-
value: S
|
|
1703
|
-
): this & $ReadOnly<T>;
|
|
1704
|
-
setIn<
|
|
1705
|
-
K: $Keys<T>,
|
|
1706
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1707
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1708
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1709
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
|
|
1710
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
|
|
1711
|
-
>(
|
|
1712
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
1713
|
-
value: S
|
|
1714
|
-
): this & $ReadOnly<T>;
|
|
1715
|
-
|
|
1716
|
-
deleteIn(keyPath: []): void;
|
|
1717
|
-
deleteIn<K: $Keys<T>>(keyPath: [K]): this & $ReadOnly<T>;
|
|
1718
|
-
deleteIn<K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>>(
|
|
1719
|
-
keyPath: [K, K2]
|
|
1720
|
-
): this & $ReadOnly<T>;
|
|
1721
|
-
deleteIn<
|
|
1722
|
-
K: $Keys<T>,
|
|
1723
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1724
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>
|
|
1725
|
-
>(
|
|
1726
|
-
keyPath: [K, K2, K3]
|
|
1727
|
-
): this & $ReadOnly<T>;
|
|
1728
|
-
deleteIn<
|
|
1729
|
-
K: $Keys<T>,
|
|
1730
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1731
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1732
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>
|
|
1733
|
-
>(
|
|
1734
|
-
keyPath: [K, K2, K3, K4]
|
|
1735
|
-
): this & $ReadOnly<T>;
|
|
1736
|
-
deleteIn<
|
|
1737
|
-
K: $Keys<T>,
|
|
1738
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1739
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1740
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1741
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>
|
|
1742
|
-
>(
|
|
1743
|
-
keyPath: [K, K2, K3, K4, K5]
|
|
1744
|
-
): this & $ReadOnly<T>;
|
|
1745
|
-
|
|
1746
|
-
removeIn(keyPath: []): void;
|
|
1747
|
-
removeIn<K: $Keys<T>>(keyPath: [K]): this & $ReadOnly<T>;
|
|
1748
|
-
removeIn<K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>>(
|
|
1749
|
-
keyPath: [K, K2]
|
|
1750
|
-
): this & $ReadOnly<T>;
|
|
1751
|
-
removeIn<
|
|
1752
|
-
K: $Keys<T>,
|
|
1753
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1754
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>
|
|
1755
|
-
>(
|
|
1756
|
-
keyPath: [K, K2, K3]
|
|
1757
|
-
): this & $ReadOnly<T>;
|
|
1758
|
-
removeIn<
|
|
1759
|
-
K: $Keys<T>,
|
|
1760
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1761
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1762
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>
|
|
1763
|
-
>(
|
|
1764
|
-
keyPath: [K, K2, K3, K4]
|
|
1765
|
-
): this & $ReadOnly<T>;
|
|
1766
|
-
removeIn<
|
|
1767
|
-
K: $Keys<T>,
|
|
1768
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1769
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1770
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1771
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>
|
|
1772
|
-
>(
|
|
1773
|
-
keyPath: [K, K2, K3, K4, K5]
|
|
1774
|
-
): this & $ReadOnly<T>;
|
|
1775
|
-
|
|
1776
|
-
updateIn<U>(
|
|
1777
|
-
keyPath: [],
|
|
1778
|
-
notSetValue: mixed,
|
|
1779
|
-
updater: (value: this & T) => U
|
|
1780
|
-
): U;
|
|
1781
|
-
updateIn<U>(keyPath: [], updater: (value: this & T) => U): U;
|
|
1782
|
-
updateIn<NSV, K: $Keys<T>, S: $ValOf<T, K>>(
|
|
1783
|
-
keyPath: [K],
|
|
1784
|
-
notSetValue: NSV,
|
|
1785
|
-
updater: (value: $ValOf<T, K>) => S
|
|
1786
|
-
): this & $ReadOnly<T>;
|
|
1787
|
-
updateIn<K: $Keys<T>, S: $ValOf<T, K>>(
|
|
1788
|
-
keyPath: [K],
|
|
1789
|
-
updater: (value: $ValOf<T, K>) => S
|
|
1790
|
-
): this & $ReadOnly<T>;
|
|
1791
|
-
updateIn<
|
|
1792
|
-
NSV,
|
|
1793
|
-
K: $Keys<T>,
|
|
1794
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1795
|
-
S: $ValOf<$ValOf<T, K>, K2>
|
|
1796
|
-
>(
|
|
1797
|
-
keyPath: [K, K2],
|
|
1798
|
-
notSetValue: NSV,
|
|
1799
|
-
updater: (value: $ValOf<$ValOf<T, K>, K2> | NSV) => S
|
|
1800
|
-
): this & $ReadOnly<T>;
|
|
1801
|
-
updateIn<K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>, S: $ValOf<$ValOf<T, K>, K2>>(
|
|
1802
|
-
keyPath: [K, K2],
|
|
1803
|
-
updater: (value: $ValOf<$ValOf<T, K>, K2>) => S
|
|
1804
|
-
): this & $ReadOnly<T>;
|
|
1805
|
-
updateIn<
|
|
1806
|
-
NSV,
|
|
1807
|
-
K: $Keys<T>,
|
|
1808
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1809
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1810
|
-
S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>
|
|
1811
|
-
>(
|
|
1812
|
-
keyPath: [K, K2, K3],
|
|
1813
|
-
notSetValue: NSV,
|
|
1814
|
-
updater: (value: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3> | NSV) => S
|
|
1815
|
-
): this & $ReadOnly<T>;
|
|
1816
|
-
updateIn<
|
|
1817
|
-
K: $Keys<T>,
|
|
1818
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1819
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1820
|
-
S: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>
|
|
1821
|
-
>(
|
|
1822
|
-
keyPath: [K, K2, K3],
|
|
1823
|
-
updater: (value: $ValOf<$ValOf<$ValOf<T, K>, K2>, K3>) => S
|
|
1824
|
-
): this & $ReadOnly<T>;
|
|
1825
|
-
updateIn<
|
|
1826
|
-
NSV,
|
|
1827
|
-
K: $Keys<T>,
|
|
1828
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1829
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1830
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1831
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>
|
|
1832
|
-
>(
|
|
1833
|
-
keyPath: [K, K2, K3, K4],
|
|
1834
|
-
notSetValue: NSV,
|
|
1835
|
-
updater: (
|
|
1836
|
-
value: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4> | NSV
|
|
1837
|
-
) => S
|
|
1838
|
-
): this & $ReadOnly<T>;
|
|
1839
|
-
updateIn<
|
|
1840
|
-
K: $Keys<T>,
|
|
1841
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1842
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1843
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1844
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>
|
|
1845
|
-
>(
|
|
1846
|
-
keyPath: [K, K2, K3, K4],
|
|
1847
|
-
updater: (value: $ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>) => S
|
|
1848
|
-
): this & $ReadOnly<T>;
|
|
1849
|
-
updateIn<
|
|
1850
|
-
NSV,
|
|
1851
|
-
K: $Keys<T>,
|
|
1852
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1853
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1854
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1855
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
|
|
1856
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
|
|
1857
|
-
>(
|
|
1858
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
1859
|
-
notSetValue: NSV,
|
|
1860
|
-
updater: (
|
|
1861
|
-
value: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5> | NSV
|
|
1862
|
-
) => S
|
|
1863
|
-
): this & $ReadOnly<T>;
|
|
1864
|
-
updateIn<
|
|
1865
|
-
K: $Keys<T>,
|
|
1866
|
-
K2: $KeyOf<$ValOf<T, K>>,
|
|
1867
|
-
K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>,
|
|
1868
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>,
|
|
1869
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>,
|
|
1870
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
|
|
1871
|
-
>(
|
|
1872
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
1873
|
-
updater: (
|
|
1874
|
-
value: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>, K5>
|
|
1875
|
-
) => S
|
|
1876
|
-
): this & $ReadOnly<T>;
|
|
1877
|
-
|
|
1878
|
-
mergeIn(
|
|
1879
|
-
keyPath: Iterable<mixed>,
|
|
1880
|
-
...collections: Array<any>
|
|
1881
|
-
): this & $ReadOnly<T>;
|
|
1882
|
-
mergeDeepIn(
|
|
1883
|
-
keyPath: Iterable<mixed>,
|
|
1884
|
-
...collections: Array<any>
|
|
1885
|
-
): this & $ReadOnly<T>;
|
|
1886
|
-
|
|
1887
|
-
toSeq(): KeyedSeq<$Keys<T>, any>;
|
|
1888
|
-
|
|
1889
|
-
toJS(): { [key: $Keys<T>]: mixed };
|
|
1890
|
-
toJSON(): T;
|
|
1891
|
-
toObject(): T;
|
|
1892
|
-
|
|
1893
|
-
withMutations(mutator: (mutable: this & T) => mixed): this & $ReadOnly<T>;
|
|
1894
|
-
asMutable(): this & $ReadOnly<T>;
|
|
1895
|
-
wasAltered(): boolean;
|
|
1896
|
-
asImmutable(): this & $ReadOnly<T>;
|
|
1897
|
-
|
|
1898
|
-
@@iterator(): Iterator<[$Keys<T>, $ValOf<T>]>;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
declare function fromJS(
|
|
1902
|
-
jsValue: mixed,
|
|
1903
|
-
reviver?: (
|
|
1904
|
-
key: string | number,
|
|
1905
|
-
sequence: KeyedCollection<string, mixed> | IndexedCollection<mixed>,
|
|
1906
|
-
path?: Array<string | number>
|
|
1907
|
-
) => mixed
|
|
1908
|
-
): mixed;
|
|
1909
|
-
|
|
1910
|
-
declare function is(first: mixed, second: mixed): boolean;
|
|
1911
|
-
declare function hash(value: mixed): number;
|
|
1912
|
-
|
|
1913
|
-
declare function get<C: Object, K: $Keys<C>>(
|
|
1914
|
-
collection: C,
|
|
1915
|
-
key: K,
|
|
1916
|
-
notSetValue: mixed
|
|
1917
|
-
): $ValOf<C, K>;
|
|
1918
|
-
declare function get<C, K: $KeyOf<C>, NSV>(
|
|
1919
|
-
collection: C,
|
|
1920
|
-
key: K,
|
|
1921
|
-
notSetValue: NSV
|
|
1922
|
-
): $ValOf<C, K> | NSV;
|
|
1923
|
-
|
|
1924
|
-
declare function has(collection: Object, key: mixed): boolean;
|
|
1925
|
-
declare function remove<C>(collection: C, key: $KeyOf<C>): C;
|
|
1926
|
-
declare function set<C, K: $KeyOf<C>, V: $ValOf<C, K>>(
|
|
1927
|
-
collection: C,
|
|
1928
|
-
key: K,
|
|
1929
|
-
value: V
|
|
1930
|
-
): C;
|
|
1931
|
-
declare function update<C, K: $KeyOf<C>, V: $ValOf<C, K>, NSV>(
|
|
1932
|
-
collection: C,
|
|
1933
|
-
key: K,
|
|
1934
|
-
notSetValue: NSV,
|
|
1935
|
-
updater: ($ValOf<C, K> | NSV) => V
|
|
1936
|
-
): C;
|
|
1937
|
-
declare function update<C, K: $KeyOf<C>, V: $ValOf<C, K>>(
|
|
1938
|
-
collection: C,
|
|
1939
|
-
key: K,
|
|
1940
|
-
updater: ($ValOf<C, K>) => V
|
|
1941
|
-
): C;
|
|
1942
|
-
|
|
1943
|
-
declare function getIn<C>(collection: C, keyPath: [], notSetValue?: mixed): C;
|
|
1944
|
-
declare function getIn<C, K: $KeyOf<C>, NSV>(
|
|
1945
|
-
collection: C,
|
|
1946
|
-
keyPath: [K],
|
|
1947
|
-
notSetValue: NSV
|
|
1948
|
-
): $ValOf<C, K> | NSV;
|
|
1949
|
-
declare function getIn<C, K: $KeyOf<C>, K2: $KeyOf<$ValOf<C, K>>, NSV>(
|
|
1950
|
-
collection: C,
|
|
1951
|
-
keyPath: [K, K2],
|
|
1952
|
-
notSetValue: NSV
|
|
1953
|
-
): $ValOf<$ValOf<C, K>, K2> | NSV;
|
|
1954
|
-
declare function getIn<
|
|
1955
|
-
C,
|
|
1956
|
-
K: $KeyOf<C>,
|
|
1957
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
1958
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
1959
|
-
NSV
|
|
1960
|
-
>(
|
|
1961
|
-
collection: C,
|
|
1962
|
-
keyPath: [K, K2, K3],
|
|
1963
|
-
notSetValue: NSV
|
|
1964
|
-
): $ValOf<$ValOf<$ValOf<C, K>, K2>, K3> | NSV;
|
|
1965
|
-
declare function getIn<
|
|
1966
|
-
C,
|
|
1967
|
-
K: $KeyOf<C>,
|
|
1968
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
1969
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
1970
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
1971
|
-
NSV
|
|
1972
|
-
>(
|
|
1973
|
-
collection: C,
|
|
1974
|
-
keyPath: [K, K2, K3, K4],
|
|
1975
|
-
notSetValue: NSV
|
|
1976
|
-
): $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4> | NSV;
|
|
1977
|
-
declare function getIn<
|
|
1978
|
-
C,
|
|
1979
|
-
K: $KeyOf<C>,
|
|
1980
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
1981
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
1982
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
1983
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
|
|
1984
|
-
NSV
|
|
1985
|
-
>(
|
|
1986
|
-
collection: C,
|
|
1987
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
1988
|
-
notSetValue: NSV
|
|
1989
|
-
): $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5> | NSV;
|
|
1990
|
-
|
|
1991
|
-
declare function hasIn(collection: Object, keyPath: Iterable<mixed>): boolean;
|
|
1992
|
-
|
|
1993
|
-
declare function removeIn<C>(collection: C, keyPath: []): void;
|
|
1994
|
-
declare function removeIn<C, K: $KeyOf<C>>(collection: C, keyPath: [K]): C;
|
|
1995
|
-
declare function removeIn<C, K: $KeyOf<C>, K2: $KeyOf<$ValOf<C>>>(
|
|
1996
|
-
collection: C,
|
|
1997
|
-
keyPath: [K, K2]
|
|
1998
|
-
): C;
|
|
1999
|
-
declare function removeIn<
|
|
2000
|
-
C,
|
|
2001
|
-
K: $KeyOf<C>,
|
|
2002
|
-
K2: $KeyOf<$ValOf<C>>,
|
|
2003
|
-
K3: $KeyOf<$ValOf<$ValOf<C>, K2>>
|
|
2004
|
-
>(
|
|
2005
|
-
collection: C,
|
|
2006
|
-
keyPath: [K, K2, K3]
|
|
2007
|
-
): C;
|
|
2008
|
-
declare function removeIn<
|
|
2009
|
-
C,
|
|
2010
|
-
K: $KeyOf<C>,
|
|
2011
|
-
K2: $KeyOf<$ValOf<C>>,
|
|
2012
|
-
K3: $KeyOf<$ValOf<$ValOf<C>, K2>>,
|
|
2013
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C>, K2>, K3>>
|
|
2014
|
-
>(
|
|
2015
|
-
collection: C,
|
|
2016
|
-
keyPath: [K, K2, K3, K4]
|
|
2017
|
-
): C;
|
|
2018
|
-
declare function removeIn<
|
|
2019
|
-
C,
|
|
2020
|
-
K: $KeyOf<C>,
|
|
2021
|
-
K2: $KeyOf<$ValOf<C>>,
|
|
2022
|
-
K3: $KeyOf<$ValOf<$ValOf<C>, K2>>,
|
|
2023
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C>, K2>, K3>>,
|
|
2024
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C>, K2>, K3>, K4>>
|
|
2025
|
-
>(
|
|
2026
|
-
collection: C,
|
|
2027
|
-
keyPath: [K, K2, K3, K4, K5]
|
|
2028
|
-
): C;
|
|
2029
|
-
|
|
2030
|
-
declare function setIn<S>(collection: Object, keyPath: [], value: S): S;
|
|
2031
|
-
declare function setIn<C, K: $KeyOf<C>, S: $ValOf<C, K>>(
|
|
2032
|
-
collection: C,
|
|
2033
|
-
keyPath: [K],
|
|
2034
|
-
value: S
|
|
2035
|
-
): C;
|
|
2036
|
-
declare function setIn<
|
|
2037
|
-
C,
|
|
2038
|
-
K: $KeyOf<C>,
|
|
2039
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2040
|
-
S: $ValOf<$ValOf<C, K>, K2>
|
|
2041
|
-
>(
|
|
2042
|
-
collection: C,
|
|
2043
|
-
keyPath: [K, K2],
|
|
2044
|
-
value: S
|
|
2045
|
-
): C;
|
|
2046
|
-
declare function setIn<
|
|
2047
|
-
C,
|
|
2048
|
-
K: $KeyOf<C>,
|
|
2049
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2050
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2051
|
-
S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>
|
|
2052
|
-
>(
|
|
2053
|
-
collection: C,
|
|
2054
|
-
keyPath: [K, K2, K3],
|
|
2055
|
-
value: S
|
|
2056
|
-
): C;
|
|
2057
|
-
declare function setIn<
|
|
2058
|
-
C,
|
|
2059
|
-
K: $KeyOf<C>,
|
|
2060
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2061
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2062
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
2063
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>
|
|
2064
|
-
>(
|
|
2065
|
-
collection: C,
|
|
2066
|
-
keyPath: [K, K2, K3, K4],
|
|
2067
|
-
value: S
|
|
2068
|
-
): C;
|
|
2069
|
-
declare function setIn<
|
|
2070
|
-
C,
|
|
2071
|
-
K: $KeyOf<C>,
|
|
2072
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2073
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2074
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
2075
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
|
|
2076
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>
|
|
2077
|
-
>(
|
|
2078
|
-
collection: C,
|
|
2079
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
2080
|
-
value: S
|
|
2081
|
-
): C;
|
|
2082
|
-
|
|
2083
|
-
declare function updateIn<C, S>(
|
|
2084
|
-
collection: C,
|
|
2085
|
-
keyPath: [],
|
|
2086
|
-
notSetValue: mixed,
|
|
2087
|
-
updater: (value: C) => S
|
|
2088
|
-
): S;
|
|
2089
|
-
declare function updateIn<C, S>(
|
|
2090
|
-
collection: C,
|
|
2091
|
-
keyPath: [],
|
|
2092
|
-
updater: (value: C) => S
|
|
2093
|
-
): S;
|
|
2094
|
-
declare function updateIn<C, K: $KeyOf<C>, S: $ValOf<C, K>, NSV>(
|
|
2095
|
-
collection: C,
|
|
2096
|
-
keyPath: [K],
|
|
2097
|
-
notSetValue: NSV,
|
|
2098
|
-
updater: (value: $ValOf<C, K> | NSV) => S
|
|
2099
|
-
): C;
|
|
2100
|
-
declare function updateIn<C, K: $KeyOf<C>, S: $ValOf<C, K>>(
|
|
2101
|
-
collection: C,
|
|
2102
|
-
keyPath: [K],
|
|
2103
|
-
updater: (value: $ValOf<C, K>) => S
|
|
2104
|
-
): C;
|
|
2105
|
-
declare function updateIn<
|
|
2106
|
-
C,
|
|
2107
|
-
K: $KeyOf<C>,
|
|
2108
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2109
|
-
S: $ValOf<$ValOf<C, K>, K2>,
|
|
2110
|
-
NSV
|
|
2111
|
-
>(
|
|
2112
|
-
collection: C,
|
|
2113
|
-
keyPath: [K, K2],
|
|
2114
|
-
notSetValue: NSV,
|
|
2115
|
-
updater: (value: $ValOf<$ValOf<C, K>, K2> | NSV) => S
|
|
2116
|
-
): C;
|
|
2117
|
-
declare function updateIn<
|
|
2118
|
-
C,
|
|
2119
|
-
K: $KeyOf<C>,
|
|
2120
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2121
|
-
S: $ValOf<$ValOf<C, K>, K2>
|
|
2122
|
-
>(
|
|
2123
|
-
collection: C,
|
|
2124
|
-
keyPath: [K, K2],
|
|
2125
|
-
updater: (value: $ValOf<$ValOf<C, K>, K2>) => S
|
|
2126
|
-
): C;
|
|
2127
|
-
declare function updateIn<
|
|
2128
|
-
C,
|
|
2129
|
-
K: $KeyOf<C>,
|
|
2130
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2131
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2132
|
-
S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>,
|
|
2133
|
-
NSV
|
|
2134
|
-
>(
|
|
2135
|
-
collection: C,
|
|
2136
|
-
keyPath: [K, K2, K3],
|
|
2137
|
-
notSetValue: NSV,
|
|
2138
|
-
updater: (value: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3> | NSV) => S
|
|
2139
|
-
): C;
|
|
2140
|
-
declare function updateIn<
|
|
2141
|
-
C,
|
|
2142
|
-
K: $KeyOf<C>,
|
|
2143
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2144
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2145
|
-
S: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>
|
|
2146
|
-
>(
|
|
2147
|
-
collection: C,
|
|
2148
|
-
keyPath: [K, K2, K3],
|
|
2149
|
-
updater: (value: $ValOf<$ValOf<$ValOf<C, K>, K2>, K3>) => S
|
|
2150
|
-
): C;
|
|
2151
|
-
declare function updateIn<
|
|
2152
|
-
C,
|
|
2153
|
-
K: $KeyOf<C>,
|
|
2154
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2155
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2156
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
2157
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>,
|
|
2158
|
-
NSV
|
|
2159
|
-
>(
|
|
2160
|
-
collection: C,
|
|
2161
|
-
keyPath: [K, K2, K3, K4],
|
|
2162
|
-
notSetValue: NSV,
|
|
2163
|
-
updater: (value: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4> | NSV) => S
|
|
2164
|
-
): C;
|
|
2165
|
-
declare function updateIn<
|
|
2166
|
-
C,
|
|
2167
|
-
K: $KeyOf<C>,
|
|
2168
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2169
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2170
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
2171
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>
|
|
2172
|
-
>(
|
|
2173
|
-
collection: C,
|
|
2174
|
-
keyPath: [K, K2, K3, K4],
|
|
2175
|
-
updater: (value: $ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>) => S
|
|
2176
|
-
): C;
|
|
2177
|
-
declare function updateIn<
|
|
2178
|
-
C,
|
|
2179
|
-
K: $KeyOf<C>,
|
|
2180
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2181
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2182
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
2183
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
|
|
2184
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>,
|
|
2185
|
-
NSV
|
|
2186
|
-
>(
|
|
2187
|
-
collection: C,
|
|
2188
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
2189
|
-
notSetValue: NSV,
|
|
2190
|
-
updater: (
|
|
2191
|
-
value: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5> | NSV
|
|
2192
|
-
) => S
|
|
2193
|
-
): C;
|
|
2194
|
-
declare function updateIn<
|
|
2195
|
-
C,
|
|
2196
|
-
K: $KeyOf<C>,
|
|
2197
|
-
K2: $KeyOf<$ValOf<C, K>>,
|
|
2198
|
-
K3: $KeyOf<$ValOf<$ValOf<C, K>, K2>>,
|
|
2199
|
-
K4: $KeyOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>>,
|
|
2200
|
-
K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>>,
|
|
2201
|
-
S: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>
|
|
2202
|
-
>(
|
|
2203
|
-
collection: C,
|
|
2204
|
-
keyPath: [K, K2, K3, K4, K5],
|
|
2205
|
-
updater: (
|
|
2206
|
-
value: $ValOf<$ValOf<$ValOf<$ValOf<$ValOf<C, K>, K2>, K3>, K4>, K5>
|
|
2207
|
-
) => S
|
|
2208
|
-
): C;
|
|
2209
|
-
|
|
2210
|
-
declare function merge<C>(
|
|
2211
|
-
collection: C,
|
|
2212
|
-
...collections: Array<
|
|
2213
|
-
| $IterableOf<C>
|
|
2214
|
-
| $Shape<RecordValues<C>>
|
|
2215
|
-
| PlainObjInput<$KeyOf<C>, $ValOf<C>>
|
|
2216
|
-
>
|
|
2217
|
-
): C;
|
|
2218
|
-
declare function mergeWith<C>(
|
|
2219
|
-
merger: (oldVal: $ValOf<C>, newVal: $ValOf<C>, key: $KeyOf<C>) => $ValOf<C>,
|
|
2220
|
-
collection: C,
|
|
2221
|
-
...collections: Array<
|
|
2222
|
-
| $IterableOf<C>
|
|
2223
|
-
| $Shape<RecordValues<C>>
|
|
2224
|
-
| PlainObjInput<$KeyOf<C>, $ValOf<C>>
|
|
2225
|
-
>
|
|
2226
|
-
): C;
|
|
2227
|
-
declare function mergeDeep<C>(
|
|
2228
|
-
collection: C,
|
|
2229
|
-
...collections: Array<
|
|
2230
|
-
| $IterableOf<C>
|
|
2231
|
-
| $Shape<RecordValues<C>>
|
|
2232
|
-
| PlainObjInput<$KeyOf<C>, $ValOf<C>>
|
|
2233
|
-
>
|
|
2234
|
-
): C;
|
|
2235
|
-
declare function mergeDeepWith<C>(
|
|
2236
|
-
merger: (oldVal: any, newVal: any, key: any) => mixed,
|
|
2237
|
-
collection: C,
|
|
2238
|
-
...collections: Array<
|
|
2239
|
-
| $IterableOf<C>
|
|
2240
|
-
| $Shape<RecordValues<C>>
|
|
2241
|
-
| PlainObjInput<$KeyOf<C>, $ValOf<C>>
|
|
2242
|
-
>
|
|
2243
|
-
): C;
|
|
2244
|
-
|
|
2245
|
-
export {
|
|
2246
|
-
Collection,
|
|
2247
|
-
Seq,
|
|
2248
|
-
List,
|
|
2249
|
-
Map,
|
|
2250
|
-
OrderedMap,
|
|
2251
|
-
OrderedSet,
|
|
2252
|
-
Range,
|
|
2253
|
-
Repeat,
|
|
2254
|
-
Record,
|
|
2255
|
-
Set,
|
|
2256
|
-
Stack,
|
|
2257
|
-
fromJS,
|
|
2258
|
-
is,
|
|
2259
|
-
hash,
|
|
2260
|
-
isImmutable,
|
|
2261
|
-
isCollection,
|
|
2262
|
-
isKeyed,
|
|
2263
|
-
isIndexed,
|
|
2264
|
-
isAssociative,
|
|
2265
|
-
isOrdered,
|
|
2266
|
-
isRecord,
|
|
2267
|
-
isValueObject,
|
|
2268
|
-
get,
|
|
2269
|
-
has,
|
|
2270
|
-
remove,
|
|
2271
|
-
set,
|
|
2272
|
-
update,
|
|
2273
|
-
getIn,
|
|
2274
|
-
hasIn,
|
|
2275
|
-
removeIn,
|
|
2276
|
-
setIn,
|
|
2277
|
-
updateIn,
|
|
2278
|
-
merge,
|
|
2279
|
-
mergeWith,
|
|
2280
|
-
mergeDeep,
|
|
2281
|
-
mergeDeepWith,
|
|
2282
|
-
};
|
|
2283
|
-
|
|
2284
|
-
export default {
|
|
2285
|
-
Collection,
|
|
2286
|
-
Seq,
|
|
2287
|
-
|
|
2288
|
-
List,
|
|
2289
|
-
Map,
|
|
2290
|
-
OrderedMap,
|
|
2291
|
-
OrderedSet,
|
|
2292
|
-
Range,
|
|
2293
|
-
Repeat,
|
|
2294
|
-
Record,
|
|
2295
|
-
Set,
|
|
2296
|
-
Stack,
|
|
2297
|
-
|
|
2298
|
-
fromJS,
|
|
2299
|
-
is,
|
|
2300
|
-
hash,
|
|
2301
|
-
|
|
2302
|
-
isImmutable,
|
|
2303
|
-
isCollection,
|
|
2304
|
-
isKeyed,
|
|
2305
|
-
isIndexed,
|
|
2306
|
-
isAssociative,
|
|
2307
|
-
isOrdered,
|
|
2308
|
-
isRecord,
|
|
2309
|
-
isValueObject,
|
|
2310
|
-
|
|
2311
|
-
get,
|
|
2312
|
-
has,
|
|
2313
|
-
remove,
|
|
2314
|
-
set,
|
|
2315
|
-
update,
|
|
2316
|
-
getIn,
|
|
2317
|
-
hasIn,
|
|
2318
|
-
removeIn,
|
|
2319
|
-
setIn,
|
|
2320
|
-
updateIn,
|
|
2321
|
-
merge,
|
|
2322
|
-
mergeWith,
|
|
2323
|
-
mergeDeep,
|
|
2324
|
-
mergeDeepWith,
|
|
2325
|
-
};
|
|
2326
|
-
|
|
2327
|
-
export type {
|
|
2328
|
-
KeyedCollection,
|
|
2329
|
-
IndexedCollection,
|
|
2330
|
-
SetCollection,
|
|
2331
|
-
KeyedSeq,
|
|
2332
|
-
IndexedSeq,
|
|
2333
|
-
SetSeq,
|
|
2334
|
-
RecordFactory,
|
|
2335
|
-
RecordOf,
|
|
2336
|
-
RecordInstance,
|
|
2337
|
-
ValueObject,
|
|
2338
|
-
$KeyOf,
|
|
2339
|
-
$ValOf,
|
|
2340
|
-
};
|