@revolist/revogrid 4.0.11 → 4.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-53fde1aa.js.map +1 -1
- package/dist/cjs/base.plugin-32f80cb5.js +219 -0
- package/dist/cjs/base.plugin-32f80cb5.js.map +1 -0
- package/dist/cjs/{column.service-e83d9809.js → column.service-52b4cac9.js} +28 -12
- package/dist/cjs/column.service-52b4cac9.js.map +1 -0
- package/dist/cjs/dimension.helpers-ee39d6c4.js.map +1 -1
- package/dist/cjs/events-b28cc194.js +52 -0
- package/dist/cjs/events-b28cc194.js.map +1 -0
- package/dist/cjs/filter.button-db6cbd2e.js.map +1 -1
- package/dist/cjs/{header-cell-renderer-8ba9b56d.js → header-cell-renderer-a3f202a1.js} +2 -2
- package/dist/cjs/{header-cell-renderer-8ba9b56d.js.map → header-cell-renderer-a3f202a1.js.map} +1 -1
- package/dist/cjs/{index-73c149e3.js → index-a9f1b728.js} +3 -4
- package/dist/cjs/index-a9f1b728.js.map +1 -0
- package/dist/cjs/index.cjs.js +26 -23
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{key.utils-59b9b528.js → key.utils-ee3d9eab.js} +2 -2
- package/dist/cjs/{key.utils-59b9b528.js.map → key.utils-ee3d9eab.js.map} +1 -1
- package/dist/cjs/revo-grid.cjs.entry.js +74 -164
- package/dist/cjs/revo-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-attribution_6.cjs.entry.js +193 -142
- package/dist/cjs/revogr-attribution_6.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js +2 -2
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-data_4.cjs.entry.js +9 -9
- package/dist/cjs/revogr-data_4.cjs.entry.js.map +1 -1
- package/dist/cjs/revogr-filter-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/{selection.store-2e110a67.js → selection.helpers-32abb2a9.js} +77 -75
- package/dist/cjs/selection.helpers-32abb2a9.js.map +1 -0
- package/dist/cjs/{throttle-f7aee21b.js → throttle-46478b04.js} +2 -2
- package/dist/cjs/{throttle-f7aee21b.js.map → throttle-46478b04.js.map} +1 -1
- package/dist/cjs/{viewport.helpers-6670177c.js → viewport.store-2ab4e166.js} +186 -1
- package/dist/cjs/viewport.store-2ab4e166.js.map +1 -0
- package/dist/collection/components/clipboard/revogr-clipboard.js +2 -2
- package/dist/collection/components/clipboard/revogr-clipboard.js.map +1 -1
- package/dist/collection/components/data/cell-renderer.js.map +1 -1
- package/dist/collection/components/data/column.service.js +2 -2
- package/dist/collection/components/data/column.service.js.map +1 -1
- package/dist/collection/components/data/revogr-data.js +46 -46
- package/dist/collection/components/data/revogr-data.js.map +1 -1
- package/dist/collection/components/data/row-highlight.plugin.js.map +1 -1
- package/dist/collection/components/editors/edit.utils.js.map +1 -1
- package/dist/collection/components/editors/revogr-edit.js +9 -9
- package/dist/collection/components/editors/revogr-edit.js.map +1 -1
- package/dist/collection/components/editors/text-editor.js.map +1 -1
- package/dist/collection/components/header/header-cell-renderer.js.map +1 -1
- package/dist/collection/components/header/header-renderer.js.map +1 -1
- package/dist/collection/components/header/revogr-header.js +28 -28
- package/dist/collection/components/header/revogr-header.js.map +1 -1
- package/dist/collection/components/order/order-renderer.js.map +1 -1
- package/dist/collection/components/order/order-row.service.js +1 -1
- package/dist/collection/components/order/order-row.service.js.map +1 -1
- package/dist/collection/components/order/revogr-order-editor.js +31 -28
- package/dist/collection/components/order/revogr-order-editor.js.map +1 -1
- package/dist/collection/components/overlay/autofill.service.js +37 -26
- package/dist/collection/components/overlay/autofill.service.js.map +1 -1
- package/dist/collection/components/overlay/keyboard.service.js +8 -8
- package/dist/collection/components/overlay/keyboard.service.js.map +1 -1
- package/dist/collection/components/overlay/revogr-overlay-selection.js +141 -93
- package/dist/collection/components/overlay/revogr-overlay-selection.js.map +1 -1
- package/dist/collection/components/overlay/selection.utils.js +37 -9
- package/dist/collection/components/overlay/selection.utils.js.map +1 -1
- package/dist/collection/components/revoGrid/grid.helpers.js.map +1 -1
- package/dist/collection/components/revoGrid/revo-grid-style.css +8 -3
- package/dist/collection/components/revoGrid/revo-grid.js +150 -135
- package/dist/collection/components/revoGrid/revo-grid.js.map +1 -1
- package/dist/collection/components/revoGrid/viewport.helpers.js +22 -8
- package/dist/collection/components/revoGrid/viewport.helpers.js.map +1 -1
- package/dist/collection/components/revoGrid/viewport.scrolling.service.js +4 -2
- package/dist/collection/components/revoGrid/viewport.scrolling.service.js.map +1 -1
- package/dist/collection/components/revoGrid/viewport.service.js +2 -2
- package/dist/collection/components/revoGrid/viewport.service.js.map +1 -1
- package/dist/collection/components/rowHeaders/revogr-row-headers.js +11 -12
- package/dist/collection/components/rowHeaders/revogr-row-headers.js.map +1 -1
- package/dist/collection/components/rowHeaders/row-header-render.js.map +1 -1
- package/dist/collection/components/scroll/revogr-viewport-scroll.js +17 -17
- package/dist/collection/components/scroll/revogr-viewport-scroll.js.map +1 -1
- package/dist/collection/components/scrollable/revogr-scroll-virtual.js +17 -17
- package/dist/collection/components/scrollable/revogr-scroll-virtual.js.map +1 -1
- package/dist/collection/components/selectionFocus/revogr-focus.js +44 -43
- package/dist/collection/components/selectionFocus/revogr-focus.js.map +1 -1
- package/dist/collection/components/selectionTempRange/revogr-temp-range.js +12 -12
- package/dist/collection/components/selectionTempRange/revogr-temp-range.js.map +1 -1
- package/dist/collection/components/vnode/vnode.utils.js.map +1 -1
- package/dist/collection/index.js +2 -12
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/plugins/column.auto-size.plugin.js +3 -4
- package/dist/collection/plugins/column.auto-size.plugin.js.map +1 -1
- package/dist/collection/plugins/export/export.plugin.js +1 -1
- package/dist/collection/plugins/export/export.plugin.js.map +1 -1
- package/dist/collection/plugins/export/types.js.map +1 -1
- package/dist/collection/plugins/filter/filter.button.js.map +1 -1
- package/dist/collection/plugins/filter/filter.plugin.js.map +1 -1
- package/dist/collection/plugins/filter/filter.pop.js +4 -4
- package/dist/collection/plugins/filter/filter.pop.js.map +1 -1
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +1 -1
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js.map +1 -1
- package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js.map +1 -1
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.row.plugin.js +1 -2
- package/dist/collection/plugins/groupingRow/grouping.row.plugin.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.row.renderer.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.row.types.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.service.js.map +1 -1
- package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js +1 -1
- package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js.map +1 -1
- package/dist/collection/plugins/moveColumn/column.drag.plugin.js +1 -1
- package/dist/collection/plugins/moveColumn/column.drag.plugin.js.map +1 -1
- package/dist/collection/plugins/sorting/sorting.plugin.js +2 -2
- package/dist/collection/plugins/sorting/sorting.plugin.js.map +1 -1
- package/dist/collection/plugins/sorting/sorting.sign.js.map +1 -1
- package/dist/collection/serve/controller.js +86 -18
- package/dist/collection/services/column.data.provider.js +1 -2
- package/dist/collection/services/column.data.provider.js.map +1 -1
- package/dist/collection/services/data.provider.js +1 -2
- package/dist/collection/services/data.provider.js.map +1 -1
- package/dist/collection/services/dimension.provider.js +3 -5
- package/dist/collection/services/dimension.provider.js.map +1 -1
- package/dist/collection/services/selection.store.connector.js +1 -2
- package/dist/collection/services/selection.store.connector.js.map +1 -1
- package/dist/collection/services/viewport.provider.js +1 -2
- package/dist/collection/services/viewport.provider.js.map +1 -1
- package/dist/collection/store/dataSource/data.proxy.js.map +1 -1
- package/dist/collection/store/dataSource/data.store.js +1 -1
- package/dist/collection/store/dataSource/data.store.js.map +1 -1
- package/dist/collection/store/dataSource/trimmed.plugin.js.map +1 -1
- package/dist/collection/store/dimension/dimension.helpers.js.map +1 -1
- package/dist/collection/store/dimension/dimension.store.js +1 -1
- package/dist/collection/store/dimension/dimension.store.js.map +1 -1
- package/dist/collection/store/{storeTypes.js → index.js} +5 -1
- package/dist/collection/store/index.js.map +1 -0
- package/dist/collection/store/selection/index.js +0 -1
- package/dist/collection/store/selection/index.js.map +1 -1
- package/dist/collection/store/selection/selection.helpers.js.map +1 -1
- package/dist/collection/store/selection/selection.store.js +1 -1
- package/dist/collection/store/selection/selection.store.js.map +1 -1
- package/dist/collection/store/vp/index.js.map +1 -0
- package/dist/collection/store/vp/viewport.helpers.js.map +1 -0
- package/dist/collection/store/{viewport → vp}/viewport.store.js +4 -7
- package/dist/collection/store/vp/viewport.store.js.map +1 -0
- package/dist/collection/types/index.js +11 -0
- package/dist/collection/types/index.js.map +1 -0
- package/dist/collection/types/interfaces.js +4 -0
- package/dist/collection/types/interfaces.js.map +1 -1
- package/dist/collection/types/viewport.interfaces.js.map +1 -1
- package/dist/collection/utils/events.js +11 -1
- package/dist/collection/utils/events.js.map +1 -1
- package/dist/collection/utils/index.js +0 -1
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/collection/utils/row-header-utils.js +2 -2
- package/dist/collection/utils/row-header-utils.js.map +1 -1
- package/dist/collection/utils/store.utils.js.map +1 -1
- package/dist/esm/app-globals-ef1fca59.js.map +1 -1
- package/dist/esm/base.plugin-d0e589d8.js +213 -0
- package/dist/esm/base.plugin-d0e589d8.js.map +1 -0
- package/dist/esm/{column.service-f4922a8d.js → column.service-a826bbd6.js} +27 -11
- package/dist/esm/column.service-a826bbd6.js.map +1 -0
- package/dist/esm/dimension.helpers-a3065cb1.js.map +1 -1
- package/dist/esm/events-77b43b40.js +48 -0
- package/dist/esm/events-77b43b40.js.map +1 -0
- package/dist/esm/filter.button-46ce4f80.js.map +1 -1
- package/dist/esm/{header-cell-renderer-ac962570.js → header-cell-renderer-19738045.js} +2 -2
- package/dist/esm/{header-cell-renderer-ac962570.js.map → header-cell-renderer-19738045.js.map} +1 -1
- package/dist/esm/{index-98fd0168.js → index-5a722722.js} +3 -4
- package/dist/esm/index-5a722722.js.map +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/{key.utils-2836e8ae.js → key.utils-7c5d91dd.js} +2 -2
- package/dist/esm/{key.utils-2836e8ae.js.map → key.utils-7c5d91dd.js.map} +1 -1
- package/dist/esm/revo-grid.entry.js +42 -132
- package/dist/esm/revo-grid.entry.js.map +1 -1
- package/dist/esm/revogr-attribution_6.entry.js +187 -136
- package/dist/esm/revogr-attribution_6.entry.js.map +1 -1
- package/dist/esm/revogr-clipboard_3.entry.js +2 -2
- package/dist/esm/revogr-clipboard_3.entry.js.map +1 -1
- package/dist/esm/revogr-data_4.entry.js +9 -9
- package/dist/esm/revogr-data_4.entry.js.map +1 -1
- package/dist/esm/revogr-filter-panel.entry.js.map +1 -1
- package/dist/esm/{selection.store-2577ddf9.js → selection.helpers-883ce6bc.js} +77 -75
- package/dist/esm/selection.helpers-883ce6bc.js.map +1 -0
- package/dist/esm/{throttle-cfd527d6.js → throttle-eeca0062.js} +2 -2
- package/dist/esm/{throttle-cfd527d6.js.map → throttle-eeca0062.js.map} +1 -1
- package/dist/esm/{viewport.helpers-6591d423.js → viewport.store-d9e291c5.js} +187 -3
- package/dist/esm/viewport.store-d9e291c5.js.map +1 -0
- package/dist/revo-grid/app-globals-ef1fca59.js.map +1 -1
- package/dist/revo-grid/base.plugin-d0e589d8.js +5 -0
- package/dist/revo-grid/base.plugin-d0e589d8.js.map +1 -0
- package/dist/revo-grid/column.service-a826bbd6.js +5 -0
- package/dist/revo-grid/column.service-a826bbd6.js.map +1 -0
- package/dist/revo-grid/dimension.helpers-a3065cb1.js.map +1 -1
- package/dist/revo-grid/events-77b43b40.js +5 -0
- package/dist/revo-grid/events-77b43b40.js.map +1 -0
- package/dist/revo-grid/filter.button-46ce4f80.js.map +1 -1
- package/dist/revo-grid/{header-cell-renderer-ac962570.js → header-cell-renderer-19738045.js} +2 -2
- package/dist/revo-grid/{header-cell-renderer-ac962570.js.map → header-cell-renderer-19738045.js.map} +1 -1
- package/dist/revo-grid/index-5a722722.js +5 -0
- package/dist/{esm/index-98fd0168.js.map → revo-grid/index-5a722722.js.map} +1 -1
- package/dist/revo-grid/index.esm.js +1 -1
- package/dist/revo-grid/{key.utils-2836e8ae.js → key.utils-7c5d91dd.js} +2 -2
- package/dist/revo-grid/key.utils-7c5d91dd.js.map +1 -0
- package/dist/revo-grid/revo-grid.entry.js +1 -1
- package/dist/revo-grid/revo-grid.entry.js.map +1 -1
- package/dist/revo-grid/revogr-attribution_6.entry.js +1 -1
- package/dist/revo-grid/revogr-attribution_6.entry.js.map +1 -1
- package/dist/revo-grid/revogr-clipboard_3.entry.js +1 -1
- package/dist/revo-grid/revogr-clipboard_3.entry.js.map +1 -1
- package/dist/revo-grid/revogr-data_4.entry.js +1 -1
- package/dist/revo-grid/revogr-data_4.entry.js.map +1 -1
- package/dist/revo-grid/revogr-filter-panel.entry.js.map +1 -1
- package/dist/revo-grid/selection.helpers-883ce6bc.js +5 -0
- package/dist/revo-grid/selection.helpers-883ce6bc.js.map +1 -0
- package/dist/revo-grid/{throttle-cfd527d6.js → throttle-eeca0062.js} +2 -2
- package/dist/revo-grid/viewport.store-d9e291c5.js +5 -0
- package/dist/revo-grid/viewport.store-d9e291c5.js.map +1 -0
- package/dist/types/components/clipboard/revogr-clipboard.d.ts +1 -1
- package/dist/types/components/data/cell-renderer.d.ts +1 -1
- package/dist/types/components/data/column.service.d.ts +5 -5
- package/dist/types/components/data/revogr-data.d.ts +4 -4
- package/dist/types/components/data/row-highlight.plugin.d.ts +1 -1
- package/dist/types/components/editors/edit.utils.d.ts +1 -1
- package/dist/types/components/editors/revogr-edit.d.ts +2 -2
- package/dist/types/components/editors/text-editor.d.ts +2 -2
- package/dist/types/components/header/header-cell-renderer.d.ts +1 -1
- package/dist/types/components/header/header-renderer.d.ts +2 -2
- package/dist/types/components/header/revogr-header.d.ts +4 -4
- package/dist/types/components/order/order-renderer.d.ts +2 -2
- package/dist/types/components/order/order-row.service.d.ts +1 -2
- package/dist/types/components/order/revogr-order-editor.d.ts +7 -4
- package/dist/types/components/overlay/autofill.service.d.ts +11 -10
- package/dist/types/components/overlay/keyboard.service.d.ts +4 -5
- package/dist/types/components/overlay/revogr-overlay-selection.d.ts +42 -19
- package/dist/types/components/overlay/selection.utils.d.ts +13 -6
- package/dist/types/components/revoGrid/grid.helpers.d.ts +1 -1
- package/dist/types/components/revoGrid/revo-grid.d.ts +10 -7
- package/dist/types/components/revoGrid/viewport.helpers.d.ts +14 -5
- package/dist/types/components/revoGrid/viewport.scrolling.service.d.ts +1 -3
- package/dist/types/components/revoGrid/viewport.service.d.ts +1 -4
- package/dist/types/components/rowHeaders/revogr-row-headers.d.ts +1 -2
- package/dist/types/components/rowHeaders/row-header-render.d.ts +1 -1
- package/dist/types/components/scroll/revogr-viewport-scroll.d.ts +2 -2
- package/dist/types/components/scrollable/revogr-scroll-virtual.d.ts +2 -2
- package/dist/types/components/selectionFocus/revogr-focus.d.ts +3 -5
- package/dist/types/components/selectionTempRange/revogr-temp-range.d.ts +2 -2
- package/dist/types/components/vnode/vnode.utils.d.ts +1 -1
- package/dist/types/components.d.ts +30 -16
- package/dist/types/index.d.ts +2 -12
- package/dist/types/plugins/export/export.plugin.d.ts +1 -1
- package/dist/types/plugins/export/types.d.ts +1 -1
- package/dist/types/plugins/filter/filter.button.d.ts +1 -1
- package/dist/types/plugins/filter/filter.plugin.d.ts +2 -2
- package/dist/types/plugins/filter/filter.pop.d.ts +1 -1
- package/dist/types/plugins/groupingColumn/columnGroupsRenderer.d.ts +3 -4
- package/dist/types/plugins/groupingColumn/grouping.col.plugin.d.ts +3 -3
- package/dist/types/plugins/groupingColumn/headerGroupRenderer.d.ts +2 -2
- package/dist/types/plugins/groupingRow/grouping.row.expand.service.d.ts +1 -1
- package/dist/types/plugins/groupingRow/grouping.row.plugin.d.ts +2 -2
- package/dist/types/plugins/groupingRow/grouping.row.renderer.d.ts +1 -1
- package/dist/types/plugins/groupingRow/grouping.row.types.d.ts +1 -1
- package/dist/types/plugins/groupingRow/grouping.service.d.ts +1 -1
- package/dist/types/plugins/groupingRow/grouping.trimmed.service.d.ts +1 -1
- package/dist/types/plugins/moveColumn/column.drag.plugin.d.ts +1 -3
- package/dist/types/plugins/sorting/sorting.plugin.d.ts +1 -3
- package/dist/types/plugins/sorting/sorting.sign.d.ts +1 -1
- package/dist/types/services/column.data.provider.d.ts +2 -3
- package/dist/types/services/data.provider.d.ts +2 -5
- package/dist/types/services/dimension.provider.d.ts +2 -4
- package/dist/types/services/selection.store.connector.d.ts +2 -3
- package/dist/types/services/viewport.provider.d.ts +3 -3
- package/dist/types/store/dataSource/data.proxy.d.ts +2 -2
- package/dist/types/store/dataSource/data.store.d.ts +3 -3
- package/dist/types/store/dataSource/trimmed.plugin.d.ts +1 -1
- package/dist/types/store/dimension/dimension.helpers.d.ts +1 -1
- package/dist/types/store/dimension/dimension.store.d.ts +4 -5
- package/dist/types/store/{storeTypes.d.ts → index.d.ts} +5 -1
- package/dist/types/store/selection/index.d.ts +0 -1
- package/dist/types/store/selection/selection.helpers.d.ts +1 -1
- package/dist/types/store/selection/selection.store.d.ts +2 -2
- package/dist/types/store/vp/index.d.ts +7 -0
- package/dist/types/store/{viewport → vp}/viewport.helpers.d.ts +1 -1
- package/dist/types/store/{viewport → vp}/viewport.store.d.ts +3 -7
- package/dist/types/types/index.d.ts +7 -0
- package/dist/types/types/interfaces.d.ts +444 -23
- package/dist/types/types/viewport.interfaces.d.ts +5 -8
- package/dist/types/utils/events.d.ts +4 -1
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/row-header-utils.d.ts +1 -1
- package/dist/types/utils/store.utils.d.ts +1 -1
- package/hydrate/index.js +3224 -3126
- package/package.json +7 -8
- package/standalone/_baseIteratee.js +1104 -13
- package/standalone/_baseIteratee.js.map +1 -1
- package/standalone/_nodeUtil.js +260 -0
- package/standalone/_nodeUtil.js.map +1 -0
- package/standalone/column.service.js +78 -74
- package/standalone/column.service.js.map +1 -1
- package/standalone/data.store.js +2 -4
- package/standalone/data.store.js.map +1 -1
- package/standalone/debounce.js +2 -2
- package/standalone/dimension.helpers.js +1 -1
- package/standalone/dimension.helpers.js.map +1 -1
- package/standalone/filter.button.js.map +1 -1
- package/standalone/identity.js +42 -2
- package/standalone/identity.js.map +1 -1
- package/standalone/index.js +5 -7
- package/standalone/index.js.map +1 -1
- package/standalone/index2.js +2 -3
- package/standalone/index2.js.map +1 -1
- package/standalone/isObjectLike.js +1 -34
- package/standalone/isObjectLike.js.map +1 -1
- package/standalone/revo-grid.js +125 -106
- package/standalone/revo-grid.js.map +1 -1
- package/standalone/revogr-clipboard2.js.map +1 -1
- package/standalone/revogr-data2.js +3 -0
- package/standalone/revogr-data2.js.map +1 -1
- package/standalone/revogr-edit2.js +1 -1
- package/standalone/revogr-edit2.js.map +1 -1
- package/standalone/revogr-filter-panel.js.map +1 -1
- package/standalone/revogr-focus2.js +7 -3
- package/standalone/revogr-focus2.js.map +1 -1
- package/standalone/revogr-header2.js +5 -4
- package/standalone/revogr-header2.js.map +1 -1
- package/standalone/revogr-order-editor2.js +3 -0
- package/standalone/revogr-order-editor2.js.map +1 -1
- package/standalone/revogr-overlay-selection2.js +143 -143
- package/standalone/revogr-overlay-selection2.js.map +1 -1
- package/standalone/revogr-row-headers2.js +7 -7
- package/standalone/revogr-row-headers2.js.map +1 -1
- package/standalone/revogr-scroll-virtual2.js +1 -1
- package/standalone/revogr-scroll-virtual2.js.map +1 -1
- package/standalone/revogr-temp-range2.js +1 -1
- package/standalone/revogr-temp-range2.js.map +1 -1
- package/standalone/revogr-viewport-scroll2.js +23 -9
- package/standalone/revogr-viewport-scroll2.js.map +1 -1
- package/standalone/selection.utils.js +76 -9
- package/standalone/selection.utils.js.map +1 -1
- package/standalone/throttle.js +1 -1
- package/standalone/toNumber.js +35 -2
- package/standalone/toNumber.js.map +1 -1
- package/dist/cjs/column.service-e83d9809.js.map +0 -1
- package/dist/cjs/events-7ccd6894.js +0 -233
- package/dist/cjs/events-7ccd6894.js.map +0 -1
- package/dist/cjs/index-73c149e3.js.map +0 -1
- package/dist/cjs/selection.store-2e110a67.js.map +0 -1
- package/dist/cjs/storeTypes-b3f924b2.js +0 -106
- package/dist/cjs/storeTypes-b3f924b2.js.map +0 -1
- package/dist/cjs/viewport.helpers-6670177c.js.map +0 -1
- package/dist/collection/store/selection/selection.store.service.js +0 -39
- package/dist/collection/store/selection/selection.store.service.js.map +0 -1
- package/dist/collection/store/storeTypes.js.map +0 -1
- package/dist/collection/store/viewport/index.js.map +0 -1
- package/dist/collection/store/viewport/viewport.helpers.js.map +0 -1
- package/dist/collection/store/viewport/viewport.store.js.map +0 -1
- package/dist/esm/column.service-f4922a8d.js.map +0 -1
- package/dist/esm/events-3dd8ee7c.js +0 -228
- package/dist/esm/events-3dd8ee7c.js.map +0 -1
- package/dist/esm/selection.store-2577ddf9.js.map +0 -1
- package/dist/esm/storeTypes-f2647985.js +0 -101
- package/dist/esm/storeTypes-f2647985.js.map +0 -1
- package/dist/esm/viewport.helpers-6591d423.js.map +0 -1
- package/dist/revo-grid/column.service-f4922a8d.js +0 -5
- package/dist/revo-grid/column.service-f4922a8d.js.map +0 -1
- package/dist/revo-grid/events-3dd8ee7c.js +0 -5
- package/dist/revo-grid/events-3dd8ee7c.js.map +0 -1
- package/dist/revo-grid/index-98fd0168.js +0 -5
- package/dist/revo-grid/index-98fd0168.js.map +0 -1
- package/dist/revo-grid/key.utils-2836e8ae.js.map +0 -1
- package/dist/revo-grid/selection.store-2577ddf9.js +0 -5
- package/dist/revo-grid/selection.store-2577ddf9.js.map +0 -1
- package/dist/revo-grid/storeTypes-f2647985.js +0 -5
- package/dist/revo-grid/storeTypes-f2647985.js.map +0 -1
- package/dist/revo-grid/viewport.helpers-6591d423.js +0 -5
- package/dist/revo-grid/viewport.helpers-6591d423.js.map +0 -1
- package/dist/types/store/selection/selection.store.service.d.ts +0 -17
- package/dist/types/store/viewport/index.d.ts +0 -2
- package/standalone/_stringToPath.js +0 -1389
- package/standalone/_stringToPath.js.map +0 -1
- /package/dist/collection/store/{viewport → vp}/index.js +0 -0
- /package/dist/collection/store/{viewport → vp}/viewport.helpers.js +0 -0
- /package/dist/revo-grid/{throttle-cfd527d6.js.map → throttle-eeca0062.js.map} +0 -0
|
@@ -1,10 +1,881 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built by Revolist OU ❤️
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { i as
|
|
4
|
+
import { d as isFunction_1, a as isArray_1, k as keys_1, e as isTypedArray_1, b as _isIndex, c as identity_1 } from './identity.js';
|
|
5
|
+
import { a as _root, b as _Symbol, _ as _baseGetTag, i as isObjectLike_1 } from './isObjectLike.js';
|
|
6
|
+
import { i as isObject_1, a as isSymbol_1 } from './toNumber.js';
|
|
7
|
+
import { i as isBuffer$1, a as isArguments_1, b as isLength_1 } from './_nodeUtil.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Removes all key-value entries from the list cache.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @name clear
|
|
14
|
+
* @memberOf ListCache
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
function listCacheClear$1() {
|
|
18
|
+
this.__data__ = [];
|
|
19
|
+
this.size = 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var _listCacheClear = listCacheClear$1;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Performs a
|
|
26
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
27
|
+
* comparison between two values to determine if they are equivalent.
|
|
28
|
+
*
|
|
29
|
+
* @static
|
|
30
|
+
* @memberOf _
|
|
31
|
+
* @since 4.0.0
|
|
32
|
+
* @category Lang
|
|
33
|
+
* @param {*} value The value to compare.
|
|
34
|
+
* @param {*} other The other value to compare.
|
|
35
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
36
|
+
* @example
|
|
37
|
+
*
|
|
38
|
+
* var object = { 'a': 1 };
|
|
39
|
+
* var other = { 'a': 1 };
|
|
40
|
+
*
|
|
41
|
+
* _.eq(object, object);
|
|
42
|
+
* // => true
|
|
43
|
+
*
|
|
44
|
+
* _.eq(object, other);
|
|
45
|
+
* // => false
|
|
46
|
+
*
|
|
47
|
+
* _.eq('a', 'a');
|
|
48
|
+
* // => true
|
|
49
|
+
*
|
|
50
|
+
* _.eq('a', Object('a'));
|
|
51
|
+
* // => false
|
|
52
|
+
*
|
|
53
|
+
* _.eq(NaN, NaN);
|
|
54
|
+
* // => true
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
function eq$2(value, other) {
|
|
58
|
+
return value === other || (value !== value && other !== other);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
var eq_1 = eq$2;
|
|
62
|
+
|
|
63
|
+
var eq$1 = eq_1;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
67
|
+
*
|
|
68
|
+
* @private
|
|
69
|
+
* @param {Array} array The array to inspect.
|
|
70
|
+
* @param {*} key The key to search for.
|
|
71
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
72
|
+
*/
|
|
73
|
+
function assocIndexOf$4(array, key) {
|
|
74
|
+
var length = array.length;
|
|
75
|
+
while (length--) {
|
|
76
|
+
if (eq$1(array[length][0], key)) {
|
|
77
|
+
return length;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return -1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var _assocIndexOf = assocIndexOf$4;
|
|
84
|
+
|
|
85
|
+
var assocIndexOf$3 = _assocIndexOf;
|
|
86
|
+
|
|
87
|
+
/** Used for built-in method references. */
|
|
88
|
+
var arrayProto = Array.prototype;
|
|
89
|
+
|
|
90
|
+
/** Built-in value references. */
|
|
91
|
+
var splice = arrayProto.splice;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Removes `key` and its value from the list cache.
|
|
95
|
+
*
|
|
96
|
+
* @private
|
|
97
|
+
* @name delete
|
|
98
|
+
* @memberOf ListCache
|
|
99
|
+
* @param {string} key The key of the value to remove.
|
|
100
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
101
|
+
*/
|
|
102
|
+
function listCacheDelete$1(key) {
|
|
103
|
+
var data = this.__data__,
|
|
104
|
+
index = assocIndexOf$3(data, key);
|
|
105
|
+
|
|
106
|
+
if (index < 0) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
var lastIndex = data.length - 1;
|
|
110
|
+
if (index == lastIndex) {
|
|
111
|
+
data.pop();
|
|
112
|
+
} else {
|
|
113
|
+
splice.call(data, index, 1);
|
|
114
|
+
}
|
|
115
|
+
--this.size;
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
var _listCacheDelete = listCacheDelete$1;
|
|
120
|
+
|
|
121
|
+
var assocIndexOf$2 = _assocIndexOf;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Gets the list cache value for `key`.
|
|
125
|
+
*
|
|
126
|
+
* @private
|
|
127
|
+
* @name get
|
|
128
|
+
* @memberOf ListCache
|
|
129
|
+
* @param {string} key The key of the value to get.
|
|
130
|
+
* @returns {*} Returns the entry value.
|
|
131
|
+
*/
|
|
132
|
+
function listCacheGet$1(key) {
|
|
133
|
+
var data = this.__data__,
|
|
134
|
+
index = assocIndexOf$2(data, key);
|
|
135
|
+
|
|
136
|
+
return index < 0 ? undefined : data[index][1];
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
var _listCacheGet = listCacheGet$1;
|
|
140
|
+
|
|
141
|
+
var assocIndexOf$1 = _assocIndexOf;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Checks if a list cache value for `key` exists.
|
|
145
|
+
*
|
|
146
|
+
* @private
|
|
147
|
+
* @name has
|
|
148
|
+
* @memberOf ListCache
|
|
149
|
+
* @param {string} key The key of the entry to check.
|
|
150
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
151
|
+
*/
|
|
152
|
+
function listCacheHas$1(key) {
|
|
153
|
+
return assocIndexOf$1(this.__data__, key) > -1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
var _listCacheHas = listCacheHas$1;
|
|
157
|
+
|
|
158
|
+
var assocIndexOf = _assocIndexOf;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Sets the list cache `key` to `value`.
|
|
162
|
+
*
|
|
163
|
+
* @private
|
|
164
|
+
* @name set
|
|
165
|
+
* @memberOf ListCache
|
|
166
|
+
* @param {string} key The key of the value to set.
|
|
167
|
+
* @param {*} value The value to set.
|
|
168
|
+
* @returns {Object} Returns the list cache instance.
|
|
169
|
+
*/
|
|
170
|
+
function listCacheSet$1(key, value) {
|
|
171
|
+
var data = this.__data__,
|
|
172
|
+
index = assocIndexOf(data, key);
|
|
173
|
+
|
|
174
|
+
if (index < 0) {
|
|
175
|
+
++this.size;
|
|
176
|
+
data.push([key, value]);
|
|
177
|
+
} else {
|
|
178
|
+
data[index][1] = value;
|
|
179
|
+
}
|
|
180
|
+
return this;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
var _listCacheSet = listCacheSet$1;
|
|
184
|
+
|
|
185
|
+
var listCacheClear = _listCacheClear,
|
|
186
|
+
listCacheDelete = _listCacheDelete,
|
|
187
|
+
listCacheGet = _listCacheGet,
|
|
188
|
+
listCacheHas = _listCacheHas,
|
|
189
|
+
listCacheSet = _listCacheSet;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Creates an list cache object.
|
|
193
|
+
*
|
|
194
|
+
* @private
|
|
195
|
+
* @constructor
|
|
196
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
197
|
+
*/
|
|
198
|
+
function ListCache$4(entries) {
|
|
199
|
+
var index = -1,
|
|
200
|
+
length = entries == null ? 0 : entries.length;
|
|
201
|
+
|
|
202
|
+
this.clear();
|
|
203
|
+
while (++index < length) {
|
|
204
|
+
var entry = entries[index];
|
|
205
|
+
this.set(entry[0], entry[1]);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// Add methods to `ListCache`.
|
|
210
|
+
ListCache$4.prototype.clear = listCacheClear;
|
|
211
|
+
ListCache$4.prototype['delete'] = listCacheDelete;
|
|
212
|
+
ListCache$4.prototype.get = listCacheGet;
|
|
213
|
+
ListCache$4.prototype.has = listCacheHas;
|
|
214
|
+
ListCache$4.prototype.set = listCacheSet;
|
|
215
|
+
|
|
216
|
+
var _ListCache = ListCache$4;
|
|
217
|
+
|
|
218
|
+
var ListCache$3 = _ListCache;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Removes all key-value entries from the stack.
|
|
222
|
+
*
|
|
223
|
+
* @private
|
|
224
|
+
* @name clear
|
|
225
|
+
* @memberOf Stack
|
|
226
|
+
*/
|
|
227
|
+
function stackClear$1() {
|
|
228
|
+
this.__data__ = new ListCache$3;
|
|
229
|
+
this.size = 0;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
var _stackClear = stackClear$1;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Removes `key` and its value from the stack.
|
|
236
|
+
*
|
|
237
|
+
* @private
|
|
238
|
+
* @name delete
|
|
239
|
+
* @memberOf Stack
|
|
240
|
+
* @param {string} key The key of the value to remove.
|
|
241
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
function stackDelete$1(key) {
|
|
245
|
+
var data = this.__data__,
|
|
246
|
+
result = data['delete'](key);
|
|
247
|
+
|
|
248
|
+
this.size = data.size;
|
|
249
|
+
return result;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
var _stackDelete = stackDelete$1;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Gets the stack value for `key`.
|
|
256
|
+
*
|
|
257
|
+
* @private
|
|
258
|
+
* @name get
|
|
259
|
+
* @memberOf Stack
|
|
260
|
+
* @param {string} key The key of the value to get.
|
|
261
|
+
* @returns {*} Returns the entry value.
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
function stackGet$1(key) {
|
|
265
|
+
return this.__data__.get(key);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
var _stackGet = stackGet$1;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Checks if a stack value for `key` exists.
|
|
272
|
+
*
|
|
273
|
+
* @private
|
|
274
|
+
* @name has
|
|
275
|
+
* @memberOf Stack
|
|
276
|
+
* @param {string} key The key of the entry to check.
|
|
277
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
function stackHas$1(key) {
|
|
281
|
+
return this.__data__.has(key);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
var _stackHas = stackHas$1;
|
|
285
|
+
|
|
286
|
+
var root$6 = _root;
|
|
287
|
+
|
|
288
|
+
/** Used to detect overreaching core-js shims. */
|
|
289
|
+
var coreJsData$1 = root$6['__core-js_shared__'];
|
|
290
|
+
|
|
291
|
+
var _coreJsData = coreJsData$1;
|
|
292
|
+
|
|
293
|
+
var coreJsData = _coreJsData;
|
|
294
|
+
|
|
295
|
+
/** Used to detect methods masquerading as native. */
|
|
296
|
+
var maskSrcKey = (function() {
|
|
297
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
298
|
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
299
|
+
}());
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Checks if `func` has its source masked.
|
|
303
|
+
*
|
|
304
|
+
* @private
|
|
305
|
+
* @param {Function} func The function to check.
|
|
306
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
307
|
+
*/
|
|
308
|
+
function isMasked$1(func) {
|
|
309
|
+
return !!maskSrcKey && (maskSrcKey in func);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
var _isMasked = isMasked$1;
|
|
313
|
+
|
|
314
|
+
/** Used for built-in method references. */
|
|
315
|
+
|
|
316
|
+
var funcProto$1 = Function.prototype;
|
|
317
|
+
|
|
318
|
+
/** Used to resolve the decompiled source of functions. */
|
|
319
|
+
var funcToString$1 = funcProto$1.toString;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Converts `func` to its source code.
|
|
323
|
+
*
|
|
324
|
+
* @private
|
|
325
|
+
* @param {Function} func The function to convert.
|
|
326
|
+
* @returns {string} Returns the source code.
|
|
327
|
+
*/
|
|
328
|
+
function toSource$2(func) {
|
|
329
|
+
if (func != null) {
|
|
330
|
+
try {
|
|
331
|
+
return funcToString$1.call(func);
|
|
332
|
+
} catch (e) {}
|
|
333
|
+
try {
|
|
334
|
+
return (func + '');
|
|
335
|
+
} catch (e) {}
|
|
336
|
+
}
|
|
337
|
+
return '';
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
var _toSource = toSource$2;
|
|
341
|
+
|
|
342
|
+
var isFunction = isFunction_1,
|
|
343
|
+
isMasked = _isMasked,
|
|
344
|
+
isObject$1 = isObject_1,
|
|
345
|
+
toSource$1 = _toSource;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Used to match `RegExp`
|
|
349
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
350
|
+
*/
|
|
351
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
352
|
+
|
|
353
|
+
/** Used to detect host constructors (Safari). */
|
|
354
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
355
|
+
|
|
356
|
+
/** Used for built-in method references. */
|
|
357
|
+
var funcProto = Function.prototype,
|
|
358
|
+
objectProto$5 = Object.prototype;
|
|
359
|
+
|
|
360
|
+
/** Used to resolve the decompiled source of functions. */
|
|
361
|
+
var funcToString = funcProto.toString;
|
|
362
|
+
|
|
363
|
+
/** Used to check objects for own properties. */
|
|
364
|
+
var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
365
|
+
|
|
366
|
+
/** Used to detect if a method is native. */
|
|
367
|
+
var reIsNative = RegExp('^' +
|
|
368
|
+
funcToString.call(hasOwnProperty$4).replace(reRegExpChar, '\\$&')
|
|
369
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
370
|
+
);
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
374
|
+
*
|
|
375
|
+
* @private
|
|
376
|
+
* @param {*} value The value to check.
|
|
377
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
378
|
+
* else `false`.
|
|
379
|
+
*/
|
|
380
|
+
function baseIsNative$1(value) {
|
|
381
|
+
if (!isObject$1(value) || isMasked(value)) {
|
|
382
|
+
return false;
|
|
383
|
+
}
|
|
384
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
385
|
+
return pattern.test(toSource$1(value));
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
var _baseIsNative = baseIsNative$1;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Gets the value at `key` of `object`.
|
|
392
|
+
*
|
|
393
|
+
* @private
|
|
394
|
+
* @param {Object} [object] The object to query.
|
|
395
|
+
* @param {string} key The key of the property to get.
|
|
396
|
+
* @returns {*} Returns the property value.
|
|
397
|
+
*/
|
|
398
|
+
|
|
399
|
+
function getValue$1(object, key) {
|
|
400
|
+
return object == null ? undefined : object[key];
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
var _getValue = getValue$1;
|
|
404
|
+
|
|
405
|
+
var baseIsNative = _baseIsNative,
|
|
406
|
+
getValue = _getValue;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Gets the native function at `key` of `object`.
|
|
410
|
+
*
|
|
411
|
+
* @private
|
|
412
|
+
* @param {Object} object The object to query.
|
|
413
|
+
* @param {string} key The key of the method to get.
|
|
414
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
415
|
+
*/
|
|
416
|
+
function getNative$6(object, key) {
|
|
417
|
+
var value = getValue(object, key);
|
|
418
|
+
return baseIsNative(value) ? value : undefined;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
var _getNative = getNative$6;
|
|
422
|
+
|
|
423
|
+
var getNative$5 = _getNative,
|
|
424
|
+
root$5 = _root;
|
|
425
|
+
|
|
426
|
+
/* Built-in method references that are verified to be native. */
|
|
427
|
+
var Map$3 = getNative$5(root$5, 'Map');
|
|
428
|
+
|
|
429
|
+
var _Map = Map$3;
|
|
430
|
+
|
|
431
|
+
var getNative$4 = _getNative;
|
|
432
|
+
|
|
433
|
+
/* Built-in method references that are verified to be native. */
|
|
434
|
+
var nativeCreate$4 = getNative$4(Object, 'create');
|
|
435
|
+
|
|
436
|
+
var _nativeCreate = nativeCreate$4;
|
|
437
|
+
|
|
438
|
+
var nativeCreate$3 = _nativeCreate;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Removes all key-value entries from the hash.
|
|
442
|
+
*
|
|
443
|
+
* @private
|
|
444
|
+
* @name clear
|
|
445
|
+
* @memberOf Hash
|
|
446
|
+
*/
|
|
447
|
+
function hashClear$1() {
|
|
448
|
+
this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
|
|
449
|
+
this.size = 0;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
var _hashClear = hashClear$1;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Removes `key` and its value from the hash.
|
|
456
|
+
*
|
|
457
|
+
* @private
|
|
458
|
+
* @name delete
|
|
459
|
+
* @memberOf Hash
|
|
460
|
+
* @param {Object} hash The hash to modify.
|
|
461
|
+
* @param {string} key The key of the value to remove.
|
|
462
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
463
|
+
*/
|
|
464
|
+
|
|
465
|
+
function hashDelete$1(key) {
|
|
466
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
467
|
+
this.size -= result ? 1 : 0;
|
|
468
|
+
return result;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
var _hashDelete = hashDelete$1;
|
|
472
|
+
|
|
473
|
+
var nativeCreate$2 = _nativeCreate;
|
|
474
|
+
|
|
475
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
476
|
+
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
477
|
+
|
|
478
|
+
/** Used for built-in method references. */
|
|
479
|
+
var objectProto$4 = Object.prototype;
|
|
480
|
+
|
|
481
|
+
/** Used to check objects for own properties. */
|
|
482
|
+
var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Gets the hash value for `key`.
|
|
486
|
+
*
|
|
487
|
+
* @private
|
|
488
|
+
* @name get
|
|
489
|
+
* @memberOf Hash
|
|
490
|
+
* @param {string} key The key of the value to get.
|
|
491
|
+
* @returns {*} Returns the entry value.
|
|
492
|
+
*/
|
|
493
|
+
function hashGet$1(key) {
|
|
494
|
+
var data = this.__data__;
|
|
495
|
+
if (nativeCreate$2) {
|
|
496
|
+
var result = data[key];
|
|
497
|
+
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
498
|
+
}
|
|
499
|
+
return hasOwnProperty$3.call(data, key) ? data[key] : undefined;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
var _hashGet = hashGet$1;
|
|
503
|
+
|
|
504
|
+
var nativeCreate$1 = _nativeCreate;
|
|
505
|
+
|
|
506
|
+
/** Used for built-in method references. */
|
|
507
|
+
var objectProto$3 = Object.prototype;
|
|
508
|
+
|
|
509
|
+
/** Used to check objects for own properties. */
|
|
510
|
+
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Checks if a hash value for `key` exists.
|
|
514
|
+
*
|
|
515
|
+
* @private
|
|
516
|
+
* @name has
|
|
517
|
+
* @memberOf Hash
|
|
518
|
+
* @param {string} key The key of the entry to check.
|
|
519
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
520
|
+
*/
|
|
521
|
+
function hashHas$1(key) {
|
|
522
|
+
var data = this.__data__;
|
|
523
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
var _hashHas = hashHas$1;
|
|
527
|
+
|
|
528
|
+
var nativeCreate = _nativeCreate;
|
|
529
|
+
|
|
530
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
531
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* Sets the hash `key` to `value`.
|
|
535
|
+
*
|
|
536
|
+
* @private
|
|
537
|
+
* @name set
|
|
538
|
+
* @memberOf Hash
|
|
539
|
+
* @param {string} key The key of the value to set.
|
|
540
|
+
* @param {*} value The value to set.
|
|
541
|
+
* @returns {Object} Returns the hash instance.
|
|
542
|
+
*/
|
|
543
|
+
function hashSet$1(key, value) {
|
|
544
|
+
var data = this.__data__;
|
|
545
|
+
this.size += this.has(key) ? 0 : 1;
|
|
546
|
+
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
547
|
+
return this;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
var _hashSet = hashSet$1;
|
|
551
|
+
|
|
552
|
+
var hashClear = _hashClear,
|
|
553
|
+
hashDelete = _hashDelete,
|
|
554
|
+
hashGet = _hashGet,
|
|
555
|
+
hashHas = _hashHas,
|
|
556
|
+
hashSet = _hashSet;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Creates a hash object.
|
|
560
|
+
*
|
|
561
|
+
* @private
|
|
562
|
+
* @constructor
|
|
563
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
564
|
+
*/
|
|
565
|
+
function Hash$1(entries) {
|
|
566
|
+
var index = -1,
|
|
567
|
+
length = entries == null ? 0 : entries.length;
|
|
568
|
+
|
|
569
|
+
this.clear();
|
|
570
|
+
while (++index < length) {
|
|
571
|
+
var entry = entries[index];
|
|
572
|
+
this.set(entry[0], entry[1]);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
// Add methods to `Hash`.
|
|
577
|
+
Hash$1.prototype.clear = hashClear;
|
|
578
|
+
Hash$1.prototype['delete'] = hashDelete;
|
|
579
|
+
Hash$1.prototype.get = hashGet;
|
|
580
|
+
Hash$1.prototype.has = hashHas;
|
|
581
|
+
Hash$1.prototype.set = hashSet;
|
|
582
|
+
|
|
583
|
+
var _Hash = Hash$1;
|
|
584
|
+
|
|
585
|
+
var Hash = _Hash,
|
|
586
|
+
ListCache$2 = _ListCache,
|
|
587
|
+
Map$2 = _Map;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Removes all key-value entries from the map.
|
|
591
|
+
*
|
|
592
|
+
* @private
|
|
593
|
+
* @name clear
|
|
594
|
+
* @memberOf MapCache
|
|
595
|
+
*/
|
|
596
|
+
function mapCacheClear$1() {
|
|
597
|
+
this.size = 0;
|
|
598
|
+
this.__data__ = {
|
|
599
|
+
'hash': new Hash,
|
|
600
|
+
'map': new (Map$2 || ListCache$2),
|
|
601
|
+
'string': new Hash
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
var _mapCacheClear = mapCacheClear$1;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Checks if `value` is suitable for use as unique object key.
|
|
609
|
+
*
|
|
610
|
+
* @private
|
|
611
|
+
* @param {*} value The value to check.
|
|
612
|
+
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
613
|
+
*/
|
|
614
|
+
|
|
615
|
+
function isKeyable$1(value) {
|
|
616
|
+
var type = typeof value;
|
|
617
|
+
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
618
|
+
? (value !== '__proto__')
|
|
619
|
+
: (value === null);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
var _isKeyable = isKeyable$1;
|
|
623
|
+
|
|
624
|
+
var isKeyable = _isKeyable;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Gets the data for `map`.
|
|
628
|
+
*
|
|
629
|
+
* @private
|
|
630
|
+
* @param {Object} map The map to query.
|
|
631
|
+
* @param {string} key The reference key.
|
|
632
|
+
* @returns {*} Returns the map data.
|
|
633
|
+
*/
|
|
634
|
+
function getMapData$4(map, key) {
|
|
635
|
+
var data = map.__data__;
|
|
636
|
+
return isKeyable(key)
|
|
637
|
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
638
|
+
: data.map;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
var _getMapData = getMapData$4;
|
|
642
|
+
|
|
643
|
+
var getMapData$3 = _getMapData;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Removes `key` and its value from the map.
|
|
647
|
+
*
|
|
648
|
+
* @private
|
|
649
|
+
* @name delete
|
|
650
|
+
* @memberOf MapCache
|
|
651
|
+
* @param {string} key The key of the value to remove.
|
|
652
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
653
|
+
*/
|
|
654
|
+
function mapCacheDelete$1(key) {
|
|
655
|
+
var result = getMapData$3(this, key)['delete'](key);
|
|
656
|
+
this.size -= result ? 1 : 0;
|
|
657
|
+
return result;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
var _mapCacheDelete = mapCacheDelete$1;
|
|
661
|
+
|
|
662
|
+
var getMapData$2 = _getMapData;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Gets the map value for `key`.
|
|
666
|
+
*
|
|
667
|
+
* @private
|
|
668
|
+
* @name get
|
|
669
|
+
* @memberOf MapCache
|
|
670
|
+
* @param {string} key The key of the value to get.
|
|
671
|
+
* @returns {*} Returns the entry value.
|
|
672
|
+
*/
|
|
673
|
+
function mapCacheGet$1(key) {
|
|
674
|
+
return getMapData$2(this, key).get(key);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
var _mapCacheGet = mapCacheGet$1;
|
|
678
|
+
|
|
679
|
+
var getMapData$1 = _getMapData;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Checks if a map value for `key` exists.
|
|
683
|
+
*
|
|
684
|
+
* @private
|
|
685
|
+
* @name has
|
|
686
|
+
* @memberOf MapCache
|
|
687
|
+
* @param {string} key The key of the entry to check.
|
|
688
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
689
|
+
*/
|
|
690
|
+
function mapCacheHas$1(key) {
|
|
691
|
+
return getMapData$1(this, key).has(key);
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
var _mapCacheHas = mapCacheHas$1;
|
|
695
|
+
|
|
696
|
+
var getMapData = _getMapData;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Sets the map `key` to `value`.
|
|
700
|
+
*
|
|
701
|
+
* @private
|
|
702
|
+
* @name set
|
|
703
|
+
* @memberOf MapCache
|
|
704
|
+
* @param {string} key The key of the value to set.
|
|
705
|
+
* @param {*} value The value to set.
|
|
706
|
+
* @returns {Object} Returns the map cache instance.
|
|
707
|
+
*/
|
|
708
|
+
function mapCacheSet$1(key, value) {
|
|
709
|
+
var data = getMapData(this, key),
|
|
710
|
+
size = data.size;
|
|
711
|
+
|
|
712
|
+
data.set(key, value);
|
|
713
|
+
this.size += data.size == size ? 0 : 1;
|
|
714
|
+
return this;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
var _mapCacheSet = mapCacheSet$1;
|
|
718
|
+
|
|
719
|
+
var mapCacheClear = _mapCacheClear,
|
|
720
|
+
mapCacheDelete = _mapCacheDelete,
|
|
721
|
+
mapCacheGet = _mapCacheGet,
|
|
722
|
+
mapCacheHas = _mapCacheHas,
|
|
723
|
+
mapCacheSet = _mapCacheSet;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Creates a map cache object to store key-value pairs.
|
|
727
|
+
*
|
|
728
|
+
* @private
|
|
729
|
+
* @constructor
|
|
730
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
731
|
+
*/
|
|
732
|
+
function MapCache$3(entries) {
|
|
733
|
+
var index = -1,
|
|
734
|
+
length = entries == null ? 0 : entries.length;
|
|
735
|
+
|
|
736
|
+
this.clear();
|
|
737
|
+
while (++index < length) {
|
|
738
|
+
var entry = entries[index];
|
|
739
|
+
this.set(entry[0], entry[1]);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
// Add methods to `MapCache`.
|
|
744
|
+
MapCache$3.prototype.clear = mapCacheClear;
|
|
745
|
+
MapCache$3.prototype['delete'] = mapCacheDelete;
|
|
746
|
+
MapCache$3.prototype.get = mapCacheGet;
|
|
747
|
+
MapCache$3.prototype.has = mapCacheHas;
|
|
748
|
+
MapCache$3.prototype.set = mapCacheSet;
|
|
749
|
+
|
|
750
|
+
var _MapCache = MapCache$3;
|
|
751
|
+
|
|
752
|
+
var ListCache$1 = _ListCache,
|
|
753
|
+
Map$1 = _Map,
|
|
754
|
+
MapCache$2 = _MapCache;
|
|
755
|
+
|
|
756
|
+
/** Used as the size to enable large array optimizations. */
|
|
757
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Sets the stack `key` to `value`.
|
|
761
|
+
*
|
|
762
|
+
* @private
|
|
763
|
+
* @name set
|
|
764
|
+
* @memberOf Stack
|
|
765
|
+
* @param {string} key The key of the value to set.
|
|
766
|
+
* @param {*} value The value to set.
|
|
767
|
+
* @returns {Object} Returns the stack cache instance.
|
|
768
|
+
*/
|
|
769
|
+
function stackSet$1(key, value) {
|
|
770
|
+
var data = this.__data__;
|
|
771
|
+
if (data instanceof ListCache$1) {
|
|
772
|
+
var pairs = data.__data__;
|
|
773
|
+
if (!Map$1 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
774
|
+
pairs.push([key, value]);
|
|
775
|
+
this.size = ++data.size;
|
|
776
|
+
return this;
|
|
777
|
+
}
|
|
778
|
+
data = this.__data__ = new MapCache$2(pairs);
|
|
779
|
+
}
|
|
780
|
+
data.set(key, value);
|
|
781
|
+
this.size = data.size;
|
|
782
|
+
return this;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
var _stackSet = stackSet$1;
|
|
786
|
+
|
|
787
|
+
var ListCache = _ListCache,
|
|
788
|
+
stackClear = _stackClear,
|
|
789
|
+
stackDelete = _stackDelete,
|
|
790
|
+
stackGet = _stackGet,
|
|
791
|
+
stackHas = _stackHas,
|
|
792
|
+
stackSet = _stackSet;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Creates a stack cache object to store key-value pairs.
|
|
796
|
+
*
|
|
797
|
+
* @private
|
|
798
|
+
* @constructor
|
|
799
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
800
|
+
*/
|
|
801
|
+
function Stack$2(entries) {
|
|
802
|
+
var data = this.__data__ = new ListCache(entries);
|
|
803
|
+
this.size = data.size;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
// Add methods to `Stack`.
|
|
807
|
+
Stack$2.prototype.clear = stackClear;
|
|
808
|
+
Stack$2.prototype['delete'] = stackDelete;
|
|
809
|
+
Stack$2.prototype.get = stackGet;
|
|
810
|
+
Stack$2.prototype.has = stackHas;
|
|
811
|
+
Stack$2.prototype.set = stackSet;
|
|
812
|
+
|
|
813
|
+
var _Stack = Stack$2;
|
|
814
|
+
|
|
815
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
816
|
+
|
|
817
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Adds `value` to the array cache.
|
|
821
|
+
*
|
|
822
|
+
* @private
|
|
823
|
+
* @name add
|
|
824
|
+
* @memberOf SetCache
|
|
825
|
+
* @alias push
|
|
826
|
+
* @param {*} value The value to cache.
|
|
827
|
+
* @returns {Object} Returns the cache instance.
|
|
828
|
+
*/
|
|
829
|
+
function setCacheAdd$1(value) {
|
|
830
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
|
831
|
+
return this;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
var _setCacheAdd = setCacheAdd$1;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Checks if `value` is in the array cache.
|
|
838
|
+
*
|
|
839
|
+
* @private
|
|
840
|
+
* @name has
|
|
841
|
+
* @memberOf SetCache
|
|
842
|
+
* @param {*} value The value to search for.
|
|
843
|
+
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
844
|
+
*/
|
|
845
|
+
|
|
846
|
+
function setCacheHas$1(value) {
|
|
847
|
+
return this.__data__.has(value);
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
var _setCacheHas = setCacheHas$1;
|
|
851
|
+
|
|
852
|
+
var MapCache$1 = _MapCache,
|
|
853
|
+
setCacheAdd = _setCacheAdd,
|
|
854
|
+
setCacheHas = _setCacheHas;
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* Creates an array cache object to store unique values.
|
|
859
|
+
*
|
|
860
|
+
* @private
|
|
861
|
+
* @constructor
|
|
862
|
+
* @param {Array} [values] The values to cache.
|
|
863
|
+
*/
|
|
864
|
+
function SetCache$1(values) {
|
|
865
|
+
var index = -1,
|
|
866
|
+
length = values == null ? 0 : values.length;
|
|
867
|
+
|
|
868
|
+
this.__data__ = new MapCache$1;
|
|
869
|
+
while (++index < length) {
|
|
870
|
+
this.add(values[index]);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
// Add methods to `SetCache`.
|
|
875
|
+
SetCache$1.prototype.add = SetCache$1.prototype.push = setCacheAdd;
|
|
876
|
+
SetCache$1.prototype.has = setCacheHas;
|
|
877
|
+
|
|
878
|
+
var _SetCache = SetCache$1;
|
|
8
879
|
|
|
9
880
|
/**
|
|
10
881
|
* A specialized version of `_.some` for arrays without support for iteratee
|
|
@@ -131,10 +1002,10 @@ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
|
|
|
131
1002
|
|
|
132
1003
|
var _equalArrays = equalArrays$2;
|
|
133
1004
|
|
|
134
|
-
var root = _root;
|
|
1005
|
+
var root$4 = _root;
|
|
135
1006
|
|
|
136
1007
|
/** Built-in value references. */
|
|
137
|
-
var Uint8Array$1 = root.Uint8Array;
|
|
1008
|
+
var Uint8Array$1 = root$4.Uint8Array;
|
|
138
1009
|
|
|
139
1010
|
var _Uint8Array = Uint8Array$1;
|
|
140
1011
|
|
|
@@ -193,15 +1064,15 @@ var COMPARE_PARTIAL_FLAG$4 = 1,
|
|
|
193
1064
|
var boolTag = '[object Boolean]',
|
|
194
1065
|
dateTag = '[object Date]',
|
|
195
1066
|
errorTag = '[object Error]',
|
|
196
|
-
mapTag = '[object Map]',
|
|
1067
|
+
mapTag$1 = '[object Map]',
|
|
197
1068
|
numberTag = '[object Number]',
|
|
198
1069
|
regexpTag = '[object RegExp]',
|
|
199
|
-
setTag = '[object Set]',
|
|
1070
|
+
setTag$1 = '[object Set]',
|
|
200
1071
|
stringTag = '[object String]',
|
|
201
1072
|
symbolTag = '[object Symbol]';
|
|
202
1073
|
|
|
203
1074
|
var arrayBufferTag = '[object ArrayBuffer]',
|
|
204
|
-
dataViewTag = '[object DataView]';
|
|
1075
|
+
dataViewTag$1 = '[object DataView]';
|
|
205
1076
|
|
|
206
1077
|
/** Used to convert symbols to primitives and strings. */
|
|
207
1078
|
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
@@ -226,7 +1097,7 @@ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
|
226
1097
|
*/
|
|
227
1098
|
function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
228
1099
|
switch (tag) {
|
|
229
|
-
case dataViewTag:
|
|
1100
|
+
case dataViewTag$1:
|
|
230
1101
|
if ((object.byteLength != other.byteLength) ||
|
|
231
1102
|
(object.byteOffset != other.byteOffset)) {
|
|
232
1103
|
return false;
|
|
@@ -258,10 +1129,10 @@ function equalByTag$1(object, other, tag, bitmask, customizer, equalFunc, stack)
|
|
|
258
1129
|
// for more details.
|
|
259
1130
|
return object == (other + '');
|
|
260
1131
|
|
|
261
|
-
case mapTag:
|
|
1132
|
+
case mapTag$1:
|
|
262
1133
|
var convert = mapToArray;
|
|
263
1134
|
|
|
264
|
-
case setTag:
|
|
1135
|
+
case setTag$1:
|
|
265
1136
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
|
|
266
1137
|
convert || (convert = setToArray);
|
|
267
1138
|
|
|
@@ -525,6 +1396,97 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
525
1396
|
|
|
526
1397
|
var _equalObjects = equalObjects$1;
|
|
527
1398
|
|
|
1399
|
+
var getNative$3 = _getNative,
|
|
1400
|
+
root$3 = _root;
|
|
1401
|
+
|
|
1402
|
+
/* Built-in method references that are verified to be native. */
|
|
1403
|
+
var DataView$1 = getNative$3(root$3, 'DataView');
|
|
1404
|
+
|
|
1405
|
+
var _DataView = DataView$1;
|
|
1406
|
+
|
|
1407
|
+
var getNative$2 = _getNative,
|
|
1408
|
+
root$2 = _root;
|
|
1409
|
+
|
|
1410
|
+
/* Built-in method references that are verified to be native. */
|
|
1411
|
+
var Promise$2 = getNative$2(root$2, 'Promise');
|
|
1412
|
+
|
|
1413
|
+
var _Promise = Promise$2;
|
|
1414
|
+
|
|
1415
|
+
var getNative$1 = _getNative,
|
|
1416
|
+
root$1 = _root;
|
|
1417
|
+
|
|
1418
|
+
/* Built-in method references that are verified to be native. */
|
|
1419
|
+
var Set$1 = getNative$1(root$1, 'Set');
|
|
1420
|
+
|
|
1421
|
+
var _Set = Set$1;
|
|
1422
|
+
|
|
1423
|
+
var getNative = _getNative,
|
|
1424
|
+
root = _root;
|
|
1425
|
+
|
|
1426
|
+
/* Built-in method references that are verified to be native. */
|
|
1427
|
+
var WeakMap$1 = getNative(root, 'WeakMap');
|
|
1428
|
+
|
|
1429
|
+
var _WeakMap = WeakMap$1;
|
|
1430
|
+
|
|
1431
|
+
var DataView = _DataView,
|
|
1432
|
+
Map = _Map,
|
|
1433
|
+
Promise$1 = _Promise,
|
|
1434
|
+
Set = _Set,
|
|
1435
|
+
WeakMap = _WeakMap,
|
|
1436
|
+
baseGetTag = _baseGetTag,
|
|
1437
|
+
toSource = _toSource;
|
|
1438
|
+
|
|
1439
|
+
/** `Object#toString` result references. */
|
|
1440
|
+
var mapTag = '[object Map]',
|
|
1441
|
+
objectTag$1 = '[object Object]',
|
|
1442
|
+
promiseTag = '[object Promise]',
|
|
1443
|
+
setTag = '[object Set]',
|
|
1444
|
+
weakMapTag = '[object WeakMap]';
|
|
1445
|
+
|
|
1446
|
+
var dataViewTag = '[object DataView]';
|
|
1447
|
+
|
|
1448
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
1449
|
+
var dataViewCtorString = toSource(DataView),
|
|
1450
|
+
mapCtorString = toSource(Map),
|
|
1451
|
+
promiseCtorString = toSource(Promise$1),
|
|
1452
|
+
setCtorString = toSource(Set),
|
|
1453
|
+
weakMapCtorString = toSource(WeakMap);
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Gets the `toStringTag` of `value`.
|
|
1457
|
+
*
|
|
1458
|
+
* @private
|
|
1459
|
+
* @param {*} value The value to query.
|
|
1460
|
+
* @returns {string} Returns the `toStringTag`.
|
|
1461
|
+
*/
|
|
1462
|
+
var getTag$1 = baseGetTag;
|
|
1463
|
+
|
|
1464
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
1465
|
+
if ((DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
1466
|
+
(Map && getTag$1(new Map) != mapTag) ||
|
|
1467
|
+
(Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag) ||
|
|
1468
|
+
(Set && getTag$1(new Set) != setTag) ||
|
|
1469
|
+
(WeakMap && getTag$1(new WeakMap) != weakMapTag)) {
|
|
1470
|
+
getTag$1 = function(value) {
|
|
1471
|
+
var result = baseGetTag(value),
|
|
1472
|
+
Ctor = result == objectTag$1 ? value.constructor : undefined,
|
|
1473
|
+
ctorString = Ctor ? toSource(Ctor) : '';
|
|
1474
|
+
|
|
1475
|
+
if (ctorString) {
|
|
1476
|
+
switch (ctorString) {
|
|
1477
|
+
case dataViewCtorString: return dataViewTag;
|
|
1478
|
+
case mapCtorString: return mapTag;
|
|
1479
|
+
case promiseCtorString: return promiseTag;
|
|
1480
|
+
case setCtorString: return setTag;
|
|
1481
|
+
case weakMapCtorString: return weakMapTag;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
return result;
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
var _getTag = getTag$1;
|
|
1489
|
+
|
|
528
1490
|
var Stack$1 = _Stack,
|
|
529
1491
|
equalArrays = _equalArrays,
|
|
530
1492
|
equalByTag = _equalByTag,
|
|
@@ -817,6 +1779,135 @@ function isKey$3(value, object) {
|
|
|
817
1779
|
|
|
818
1780
|
var _isKey = isKey$3;
|
|
819
1781
|
|
|
1782
|
+
var MapCache = _MapCache;
|
|
1783
|
+
|
|
1784
|
+
/** Error message constants. */
|
|
1785
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* Creates a function that memoizes the result of `func`. If `resolver` is
|
|
1789
|
+
* provided, it determines the cache key for storing the result based on the
|
|
1790
|
+
* arguments provided to the memoized function. By default, the first argument
|
|
1791
|
+
* provided to the memoized function is used as the map cache key. The `func`
|
|
1792
|
+
* is invoked with the `this` binding of the memoized function.
|
|
1793
|
+
*
|
|
1794
|
+
* **Note:** The cache is exposed as the `cache` property on the memoized
|
|
1795
|
+
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
|
1796
|
+
* constructor with one whose instances implement the
|
|
1797
|
+
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
|
1798
|
+
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
|
1799
|
+
*
|
|
1800
|
+
* @static
|
|
1801
|
+
* @memberOf _
|
|
1802
|
+
* @since 0.1.0
|
|
1803
|
+
* @category Function
|
|
1804
|
+
* @param {Function} func The function to have its output memoized.
|
|
1805
|
+
* @param {Function} [resolver] The function to resolve the cache key.
|
|
1806
|
+
* @returns {Function} Returns the new memoized function.
|
|
1807
|
+
* @example
|
|
1808
|
+
*
|
|
1809
|
+
* var object = { 'a': 1, 'b': 2 };
|
|
1810
|
+
* var other = { 'c': 3, 'd': 4 };
|
|
1811
|
+
*
|
|
1812
|
+
* var values = _.memoize(_.values);
|
|
1813
|
+
* values(object);
|
|
1814
|
+
* // => [1, 2]
|
|
1815
|
+
*
|
|
1816
|
+
* values(other);
|
|
1817
|
+
* // => [3, 4]
|
|
1818
|
+
*
|
|
1819
|
+
* object.a = 2;
|
|
1820
|
+
* values(object);
|
|
1821
|
+
* // => [1, 2]
|
|
1822
|
+
*
|
|
1823
|
+
* // Modify the result cache.
|
|
1824
|
+
* values.cache.set(object, ['a', 'b']);
|
|
1825
|
+
* values(object);
|
|
1826
|
+
* // => ['a', 'b']
|
|
1827
|
+
*
|
|
1828
|
+
* // Replace `_.memoize.Cache`.
|
|
1829
|
+
* _.memoize.Cache = WeakMap;
|
|
1830
|
+
*/
|
|
1831
|
+
function memoize$1(func, resolver) {
|
|
1832
|
+
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
|
1833
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1834
|
+
}
|
|
1835
|
+
var memoized = function() {
|
|
1836
|
+
var args = arguments,
|
|
1837
|
+
key = resolver ? resolver.apply(this, args) : args[0],
|
|
1838
|
+
cache = memoized.cache;
|
|
1839
|
+
|
|
1840
|
+
if (cache.has(key)) {
|
|
1841
|
+
return cache.get(key);
|
|
1842
|
+
}
|
|
1843
|
+
var result = func.apply(this, args);
|
|
1844
|
+
memoized.cache = cache.set(key, result) || cache;
|
|
1845
|
+
return result;
|
|
1846
|
+
};
|
|
1847
|
+
memoized.cache = new (memoize$1.Cache || MapCache);
|
|
1848
|
+
return memoized;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
// Expose `MapCache`.
|
|
1852
|
+
memoize$1.Cache = MapCache;
|
|
1853
|
+
|
|
1854
|
+
var memoize_1 = memoize$1;
|
|
1855
|
+
|
|
1856
|
+
var memoize = memoize_1;
|
|
1857
|
+
|
|
1858
|
+
/** Used as the maximum memoize cache size. */
|
|
1859
|
+
var MAX_MEMOIZE_SIZE = 500;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* A specialized version of `_.memoize` which clears the memoized function's
|
|
1863
|
+
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
|
|
1864
|
+
*
|
|
1865
|
+
* @private
|
|
1866
|
+
* @param {Function} func The function to have its output memoized.
|
|
1867
|
+
* @returns {Function} Returns the new memoized function.
|
|
1868
|
+
*/
|
|
1869
|
+
function memoizeCapped$1(func) {
|
|
1870
|
+
var result = memoize(func, function(key) {
|
|
1871
|
+
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
1872
|
+
cache.clear();
|
|
1873
|
+
}
|
|
1874
|
+
return key;
|
|
1875
|
+
});
|
|
1876
|
+
|
|
1877
|
+
var cache = result.cache;
|
|
1878
|
+
return result;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
var _memoizeCapped = memoizeCapped$1;
|
|
1882
|
+
|
|
1883
|
+
var memoizeCapped = _memoizeCapped;
|
|
1884
|
+
|
|
1885
|
+
/** Used to match property names within property paths. */
|
|
1886
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
1887
|
+
|
|
1888
|
+
/** Used to match backslashes in property paths. */
|
|
1889
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* Converts `string` to a property path array.
|
|
1893
|
+
*
|
|
1894
|
+
* @private
|
|
1895
|
+
* @param {string} string The string to convert.
|
|
1896
|
+
* @returns {Array} Returns the property path array.
|
|
1897
|
+
*/
|
|
1898
|
+
var stringToPath$1 = memoizeCapped(function(string) {
|
|
1899
|
+
var result = [];
|
|
1900
|
+
if (string.charCodeAt(0) === 46 /* . */) {
|
|
1901
|
+
result.push('');
|
|
1902
|
+
}
|
|
1903
|
+
string.replace(rePropName, function(match, number, quote, subString) {
|
|
1904
|
+
result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
|
|
1905
|
+
});
|
|
1906
|
+
return result;
|
|
1907
|
+
});
|
|
1908
|
+
|
|
1909
|
+
var _stringToPath = stringToPath$1;
|
|
1910
|
+
|
|
820
1911
|
/**
|
|
821
1912
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
822
1913
|
* shorthands.
|
|
@@ -1232,6 +2323,6 @@ function baseIteratee(value) {
|
|
|
1232
2323
|
|
|
1233
2324
|
var _baseIteratee = baseIteratee;
|
|
1234
2325
|
|
|
1235
|
-
export { _baseIteratee as _, _arrayMap as a, _baseProperty as b };
|
|
2326
|
+
export { _baseIteratee as _, _arrayMap as a, _baseProperty as b, _getTag as c, _getNative as d, eq_1 as e };
|
|
1236
2327
|
|
|
1237
2328
|
//# sourceMappingURL=_baseIteratee.js.map
|