@revolist/revogrid 4.0.11 → 4.0.13
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 +8 -9
- package/readme.md +8 -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,1389 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by Revolist OU ❤️
|
|
3
|
-
*/
|
|
4
|
-
import { _ as _baseGetTag, a as isObject_1, b as _root, i as isObjectLike_1, c as _freeGlobal } from './isObjectLike.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Removes all key-value entries from the list cache.
|
|
8
|
-
*
|
|
9
|
-
* @private
|
|
10
|
-
* @name clear
|
|
11
|
-
* @memberOf ListCache
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
function listCacheClear$1() {
|
|
15
|
-
this.__data__ = [];
|
|
16
|
-
this.size = 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
var _listCacheClear = listCacheClear$1;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Performs a
|
|
23
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
24
|
-
* comparison between two values to determine if they are equivalent.
|
|
25
|
-
*
|
|
26
|
-
* @static
|
|
27
|
-
* @memberOf _
|
|
28
|
-
* @since 4.0.0
|
|
29
|
-
* @category Lang
|
|
30
|
-
* @param {*} value The value to compare.
|
|
31
|
-
* @param {*} other The other value to compare.
|
|
32
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
33
|
-
* @example
|
|
34
|
-
*
|
|
35
|
-
* var object = { 'a': 1 };
|
|
36
|
-
* var other = { 'a': 1 };
|
|
37
|
-
*
|
|
38
|
-
* _.eq(object, object);
|
|
39
|
-
* // => true
|
|
40
|
-
*
|
|
41
|
-
* _.eq(object, other);
|
|
42
|
-
* // => false
|
|
43
|
-
*
|
|
44
|
-
* _.eq('a', 'a');
|
|
45
|
-
* // => true
|
|
46
|
-
*
|
|
47
|
-
* _.eq('a', Object('a'));
|
|
48
|
-
* // => false
|
|
49
|
-
*
|
|
50
|
-
* _.eq(NaN, NaN);
|
|
51
|
-
* // => true
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
|
-
function eq$1(value, other) {
|
|
55
|
-
return value === other || (value !== value && other !== other);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
var eq_1 = eq$1;
|
|
59
|
-
|
|
60
|
-
var eq = eq_1;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
64
|
-
*
|
|
65
|
-
* @private
|
|
66
|
-
* @param {Array} array The array to inspect.
|
|
67
|
-
* @param {*} key The key to search for.
|
|
68
|
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
69
|
-
*/
|
|
70
|
-
function assocIndexOf$4(array, key) {
|
|
71
|
-
var length = array.length;
|
|
72
|
-
while (length--) {
|
|
73
|
-
if (eq(array[length][0], key)) {
|
|
74
|
-
return length;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return -1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
var _assocIndexOf = assocIndexOf$4;
|
|
81
|
-
|
|
82
|
-
var assocIndexOf$3 = _assocIndexOf;
|
|
83
|
-
|
|
84
|
-
/** Used for built-in method references. */
|
|
85
|
-
var arrayProto = Array.prototype;
|
|
86
|
-
|
|
87
|
-
/** Built-in value references. */
|
|
88
|
-
var splice = arrayProto.splice;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Removes `key` and its value from the list cache.
|
|
92
|
-
*
|
|
93
|
-
* @private
|
|
94
|
-
* @name delete
|
|
95
|
-
* @memberOf ListCache
|
|
96
|
-
* @param {string} key The key of the value to remove.
|
|
97
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
98
|
-
*/
|
|
99
|
-
function listCacheDelete$1(key) {
|
|
100
|
-
var data = this.__data__,
|
|
101
|
-
index = assocIndexOf$3(data, key);
|
|
102
|
-
|
|
103
|
-
if (index < 0) {
|
|
104
|
-
return false;
|
|
105
|
-
}
|
|
106
|
-
var lastIndex = data.length - 1;
|
|
107
|
-
if (index == lastIndex) {
|
|
108
|
-
data.pop();
|
|
109
|
-
} else {
|
|
110
|
-
splice.call(data, index, 1);
|
|
111
|
-
}
|
|
112
|
-
--this.size;
|
|
113
|
-
return true;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
var _listCacheDelete = listCacheDelete$1;
|
|
117
|
-
|
|
118
|
-
var assocIndexOf$2 = _assocIndexOf;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Gets the list cache value for `key`.
|
|
122
|
-
*
|
|
123
|
-
* @private
|
|
124
|
-
* @name get
|
|
125
|
-
* @memberOf ListCache
|
|
126
|
-
* @param {string} key The key of the value to get.
|
|
127
|
-
* @returns {*} Returns the entry value.
|
|
128
|
-
*/
|
|
129
|
-
function listCacheGet$1(key) {
|
|
130
|
-
var data = this.__data__,
|
|
131
|
-
index = assocIndexOf$2(data, key);
|
|
132
|
-
|
|
133
|
-
return index < 0 ? undefined : data[index][1];
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
var _listCacheGet = listCacheGet$1;
|
|
137
|
-
|
|
138
|
-
var assocIndexOf$1 = _assocIndexOf;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Checks if a list cache value for `key` exists.
|
|
142
|
-
*
|
|
143
|
-
* @private
|
|
144
|
-
* @name has
|
|
145
|
-
* @memberOf ListCache
|
|
146
|
-
* @param {string} key The key of the entry to check.
|
|
147
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
148
|
-
*/
|
|
149
|
-
function listCacheHas$1(key) {
|
|
150
|
-
return assocIndexOf$1(this.__data__, key) > -1;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
var _listCacheHas = listCacheHas$1;
|
|
154
|
-
|
|
155
|
-
var assocIndexOf = _assocIndexOf;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Sets the list cache `key` to `value`.
|
|
159
|
-
*
|
|
160
|
-
* @private
|
|
161
|
-
* @name set
|
|
162
|
-
* @memberOf ListCache
|
|
163
|
-
* @param {string} key The key of the value to set.
|
|
164
|
-
* @param {*} value The value to set.
|
|
165
|
-
* @returns {Object} Returns the list cache instance.
|
|
166
|
-
*/
|
|
167
|
-
function listCacheSet$1(key, value) {
|
|
168
|
-
var data = this.__data__,
|
|
169
|
-
index = assocIndexOf(data, key);
|
|
170
|
-
|
|
171
|
-
if (index < 0) {
|
|
172
|
-
++this.size;
|
|
173
|
-
data.push([key, value]);
|
|
174
|
-
} else {
|
|
175
|
-
data[index][1] = value;
|
|
176
|
-
}
|
|
177
|
-
return this;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
var _listCacheSet = listCacheSet$1;
|
|
181
|
-
|
|
182
|
-
var listCacheClear = _listCacheClear,
|
|
183
|
-
listCacheDelete = _listCacheDelete,
|
|
184
|
-
listCacheGet = _listCacheGet,
|
|
185
|
-
listCacheHas = _listCacheHas,
|
|
186
|
-
listCacheSet = _listCacheSet;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Creates an list cache object.
|
|
190
|
-
*
|
|
191
|
-
* @private
|
|
192
|
-
* @constructor
|
|
193
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
194
|
-
*/
|
|
195
|
-
function ListCache$4(entries) {
|
|
196
|
-
var index = -1,
|
|
197
|
-
length = entries == null ? 0 : entries.length;
|
|
198
|
-
|
|
199
|
-
this.clear();
|
|
200
|
-
while (++index < length) {
|
|
201
|
-
var entry = entries[index];
|
|
202
|
-
this.set(entry[0], entry[1]);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// Add methods to `ListCache`.
|
|
207
|
-
ListCache$4.prototype.clear = listCacheClear;
|
|
208
|
-
ListCache$4.prototype['delete'] = listCacheDelete;
|
|
209
|
-
ListCache$4.prototype.get = listCacheGet;
|
|
210
|
-
ListCache$4.prototype.has = listCacheHas;
|
|
211
|
-
ListCache$4.prototype.set = listCacheSet;
|
|
212
|
-
|
|
213
|
-
var _ListCache = ListCache$4;
|
|
214
|
-
|
|
215
|
-
var ListCache$3 = _ListCache;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Removes all key-value entries from the stack.
|
|
219
|
-
*
|
|
220
|
-
* @private
|
|
221
|
-
* @name clear
|
|
222
|
-
* @memberOf Stack
|
|
223
|
-
*/
|
|
224
|
-
function stackClear$1() {
|
|
225
|
-
this.__data__ = new ListCache$3;
|
|
226
|
-
this.size = 0;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
var _stackClear = stackClear$1;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Removes `key` and its value from the stack.
|
|
233
|
-
*
|
|
234
|
-
* @private
|
|
235
|
-
* @name delete
|
|
236
|
-
* @memberOf Stack
|
|
237
|
-
* @param {string} key The key of the value to remove.
|
|
238
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
239
|
-
*/
|
|
240
|
-
|
|
241
|
-
function stackDelete$1(key) {
|
|
242
|
-
var data = this.__data__,
|
|
243
|
-
result = data['delete'](key);
|
|
244
|
-
|
|
245
|
-
this.size = data.size;
|
|
246
|
-
return result;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
var _stackDelete = stackDelete$1;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Gets the stack value for `key`.
|
|
253
|
-
*
|
|
254
|
-
* @private
|
|
255
|
-
* @name get
|
|
256
|
-
* @memberOf Stack
|
|
257
|
-
* @param {string} key The key of the value to get.
|
|
258
|
-
* @returns {*} Returns the entry value.
|
|
259
|
-
*/
|
|
260
|
-
|
|
261
|
-
function stackGet$1(key) {
|
|
262
|
-
return this.__data__.get(key);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
var _stackGet = stackGet$1;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Checks if a stack value for `key` exists.
|
|
269
|
-
*
|
|
270
|
-
* @private
|
|
271
|
-
* @name has
|
|
272
|
-
* @memberOf Stack
|
|
273
|
-
* @param {string} key The key of the entry to check.
|
|
274
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
275
|
-
*/
|
|
276
|
-
|
|
277
|
-
function stackHas$1(key) {
|
|
278
|
-
return this.__data__.has(key);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
var _stackHas = stackHas$1;
|
|
282
|
-
|
|
283
|
-
var baseGetTag$3 = _baseGetTag,
|
|
284
|
-
isObject$1 = isObject_1;
|
|
285
|
-
|
|
286
|
-
/** `Object#toString` result references. */
|
|
287
|
-
var asyncTag = '[object AsyncFunction]',
|
|
288
|
-
funcTag$1 = '[object Function]',
|
|
289
|
-
genTag = '[object GeneratorFunction]',
|
|
290
|
-
proxyTag = '[object Proxy]';
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Checks if `value` is classified as a `Function` object.
|
|
294
|
-
*
|
|
295
|
-
* @static
|
|
296
|
-
* @memberOf _
|
|
297
|
-
* @since 0.1.0
|
|
298
|
-
* @category Lang
|
|
299
|
-
* @param {*} value The value to check.
|
|
300
|
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
301
|
-
* @example
|
|
302
|
-
*
|
|
303
|
-
* _.isFunction(_);
|
|
304
|
-
* // => true
|
|
305
|
-
*
|
|
306
|
-
* _.isFunction(/abc/);
|
|
307
|
-
* // => false
|
|
308
|
-
*/
|
|
309
|
-
function isFunction$1(value) {
|
|
310
|
-
if (!isObject$1(value)) {
|
|
311
|
-
return false;
|
|
312
|
-
}
|
|
313
|
-
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
314
|
-
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
315
|
-
var tag = baseGetTag$3(value);
|
|
316
|
-
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
var isFunction_1 = isFunction$1;
|
|
320
|
-
|
|
321
|
-
var root$5 = _root;
|
|
322
|
-
|
|
323
|
-
/** Used to detect overreaching core-js shims. */
|
|
324
|
-
var coreJsData$1 = root$5['__core-js_shared__'];
|
|
325
|
-
|
|
326
|
-
var _coreJsData = coreJsData$1;
|
|
327
|
-
|
|
328
|
-
var coreJsData = _coreJsData;
|
|
329
|
-
|
|
330
|
-
/** Used to detect methods masquerading as native. */
|
|
331
|
-
var maskSrcKey = (function() {
|
|
332
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
333
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
334
|
-
}());
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Checks if `func` has its source masked.
|
|
338
|
-
*
|
|
339
|
-
* @private
|
|
340
|
-
* @param {Function} func The function to check.
|
|
341
|
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
342
|
-
*/
|
|
343
|
-
function isMasked$1(func) {
|
|
344
|
-
return !!maskSrcKey && (maskSrcKey in func);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
var _isMasked = isMasked$1;
|
|
348
|
-
|
|
349
|
-
/** Used for built-in method references. */
|
|
350
|
-
|
|
351
|
-
var funcProto$1 = Function.prototype;
|
|
352
|
-
|
|
353
|
-
/** Used to resolve the decompiled source of functions. */
|
|
354
|
-
var funcToString$1 = funcProto$1.toString;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Converts `func` to its source code.
|
|
358
|
-
*
|
|
359
|
-
* @private
|
|
360
|
-
* @param {Function} func The function to convert.
|
|
361
|
-
* @returns {string} Returns the source code.
|
|
362
|
-
*/
|
|
363
|
-
function toSource$2(func) {
|
|
364
|
-
if (func != null) {
|
|
365
|
-
try {
|
|
366
|
-
return funcToString$1.call(func);
|
|
367
|
-
} catch (e) {}
|
|
368
|
-
try {
|
|
369
|
-
return (func + '');
|
|
370
|
-
} catch (e) {}
|
|
371
|
-
}
|
|
372
|
-
return '';
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
var _toSource = toSource$2;
|
|
376
|
-
|
|
377
|
-
var isFunction = isFunction_1,
|
|
378
|
-
isMasked = _isMasked,
|
|
379
|
-
isObject = isObject_1,
|
|
380
|
-
toSource$1 = _toSource;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* Used to match `RegExp`
|
|
384
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
385
|
-
*/
|
|
386
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
387
|
-
|
|
388
|
-
/** Used to detect host constructors (Safari). */
|
|
389
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
390
|
-
|
|
391
|
-
/** Used for built-in method references. */
|
|
392
|
-
var funcProto = Function.prototype,
|
|
393
|
-
objectProto$3 = Object.prototype;
|
|
394
|
-
|
|
395
|
-
/** Used to resolve the decompiled source of functions. */
|
|
396
|
-
var funcToString = funcProto.toString;
|
|
397
|
-
|
|
398
|
-
/** Used to check objects for own properties. */
|
|
399
|
-
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
400
|
-
|
|
401
|
-
/** Used to detect if a method is native. */
|
|
402
|
-
var reIsNative = RegExp('^' +
|
|
403
|
-
funcToString.call(hasOwnProperty$3).replace(reRegExpChar, '\\$&')
|
|
404
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
405
|
-
);
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
|
409
|
-
*
|
|
410
|
-
* @private
|
|
411
|
-
* @param {*} value The value to check.
|
|
412
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
413
|
-
* else `false`.
|
|
414
|
-
*/
|
|
415
|
-
function baseIsNative$1(value) {
|
|
416
|
-
if (!isObject(value) || isMasked(value)) {
|
|
417
|
-
return false;
|
|
418
|
-
}
|
|
419
|
-
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
420
|
-
return pattern.test(toSource$1(value));
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
var _baseIsNative = baseIsNative$1;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* Gets the value at `key` of `object`.
|
|
427
|
-
*
|
|
428
|
-
* @private
|
|
429
|
-
* @param {Object} [object] The object to query.
|
|
430
|
-
* @param {string} key The key of the property to get.
|
|
431
|
-
* @returns {*} Returns the property value.
|
|
432
|
-
*/
|
|
433
|
-
|
|
434
|
-
function getValue$1(object, key) {
|
|
435
|
-
return object == null ? undefined : object[key];
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
var _getValue = getValue$1;
|
|
439
|
-
|
|
440
|
-
var baseIsNative = _baseIsNative,
|
|
441
|
-
getValue = _getValue;
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* Gets the native function at `key` of `object`.
|
|
445
|
-
*
|
|
446
|
-
* @private
|
|
447
|
-
* @param {Object} object The object to query.
|
|
448
|
-
* @param {string} key The key of the method to get.
|
|
449
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
450
|
-
*/
|
|
451
|
-
function getNative$6(object, key) {
|
|
452
|
-
var value = getValue(object, key);
|
|
453
|
-
return baseIsNative(value) ? value : undefined;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
var _getNative = getNative$6;
|
|
457
|
-
|
|
458
|
-
var getNative$5 = _getNative,
|
|
459
|
-
root$4 = _root;
|
|
460
|
-
|
|
461
|
-
/* Built-in method references that are verified to be native. */
|
|
462
|
-
var Map$3 = getNative$5(root$4, 'Map');
|
|
463
|
-
|
|
464
|
-
var _Map = Map$3;
|
|
465
|
-
|
|
466
|
-
var getNative$4 = _getNative;
|
|
467
|
-
|
|
468
|
-
/* Built-in method references that are verified to be native. */
|
|
469
|
-
var nativeCreate$4 = getNative$4(Object, 'create');
|
|
470
|
-
|
|
471
|
-
var _nativeCreate = nativeCreate$4;
|
|
472
|
-
|
|
473
|
-
var nativeCreate$3 = _nativeCreate;
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Removes all key-value entries from the hash.
|
|
477
|
-
*
|
|
478
|
-
* @private
|
|
479
|
-
* @name clear
|
|
480
|
-
* @memberOf Hash
|
|
481
|
-
*/
|
|
482
|
-
function hashClear$1() {
|
|
483
|
-
this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
|
|
484
|
-
this.size = 0;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
var _hashClear = hashClear$1;
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* Removes `key` and its value from the hash.
|
|
491
|
-
*
|
|
492
|
-
* @private
|
|
493
|
-
* @name delete
|
|
494
|
-
* @memberOf Hash
|
|
495
|
-
* @param {Object} hash The hash to modify.
|
|
496
|
-
* @param {string} key The key of the value to remove.
|
|
497
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
498
|
-
*/
|
|
499
|
-
|
|
500
|
-
function hashDelete$1(key) {
|
|
501
|
-
var result = this.has(key) && delete this.__data__[key];
|
|
502
|
-
this.size -= result ? 1 : 0;
|
|
503
|
-
return result;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
var _hashDelete = hashDelete$1;
|
|
507
|
-
|
|
508
|
-
var nativeCreate$2 = _nativeCreate;
|
|
509
|
-
|
|
510
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
511
|
-
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
512
|
-
|
|
513
|
-
/** Used for built-in method references. */
|
|
514
|
-
var objectProto$2 = Object.prototype;
|
|
515
|
-
|
|
516
|
-
/** Used to check objects for own properties. */
|
|
517
|
-
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* Gets the hash value for `key`.
|
|
521
|
-
*
|
|
522
|
-
* @private
|
|
523
|
-
* @name get
|
|
524
|
-
* @memberOf Hash
|
|
525
|
-
* @param {string} key The key of the value to get.
|
|
526
|
-
* @returns {*} Returns the entry value.
|
|
527
|
-
*/
|
|
528
|
-
function hashGet$1(key) {
|
|
529
|
-
var data = this.__data__;
|
|
530
|
-
if (nativeCreate$2) {
|
|
531
|
-
var result = data[key];
|
|
532
|
-
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
533
|
-
}
|
|
534
|
-
return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
var _hashGet = hashGet$1;
|
|
538
|
-
|
|
539
|
-
var nativeCreate$1 = _nativeCreate;
|
|
540
|
-
|
|
541
|
-
/** Used for built-in method references. */
|
|
542
|
-
var objectProto$1 = Object.prototype;
|
|
543
|
-
|
|
544
|
-
/** Used to check objects for own properties. */
|
|
545
|
-
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Checks if a hash value for `key` exists.
|
|
549
|
-
*
|
|
550
|
-
* @private
|
|
551
|
-
* @name has
|
|
552
|
-
* @memberOf Hash
|
|
553
|
-
* @param {string} key The key of the entry to check.
|
|
554
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
555
|
-
*/
|
|
556
|
-
function hashHas$1(key) {
|
|
557
|
-
var data = this.__data__;
|
|
558
|
-
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$1.call(data, key);
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
var _hashHas = hashHas$1;
|
|
562
|
-
|
|
563
|
-
var nativeCreate = _nativeCreate;
|
|
564
|
-
|
|
565
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
566
|
-
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* Sets the hash `key` to `value`.
|
|
570
|
-
*
|
|
571
|
-
* @private
|
|
572
|
-
* @name set
|
|
573
|
-
* @memberOf Hash
|
|
574
|
-
* @param {string} key The key of the value to set.
|
|
575
|
-
* @param {*} value The value to set.
|
|
576
|
-
* @returns {Object} Returns the hash instance.
|
|
577
|
-
*/
|
|
578
|
-
function hashSet$1(key, value) {
|
|
579
|
-
var data = this.__data__;
|
|
580
|
-
this.size += this.has(key) ? 0 : 1;
|
|
581
|
-
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
582
|
-
return this;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
var _hashSet = hashSet$1;
|
|
586
|
-
|
|
587
|
-
var hashClear = _hashClear,
|
|
588
|
-
hashDelete = _hashDelete,
|
|
589
|
-
hashGet = _hashGet,
|
|
590
|
-
hashHas = _hashHas,
|
|
591
|
-
hashSet = _hashSet;
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* Creates a hash object.
|
|
595
|
-
*
|
|
596
|
-
* @private
|
|
597
|
-
* @constructor
|
|
598
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
599
|
-
*/
|
|
600
|
-
function Hash$1(entries) {
|
|
601
|
-
var index = -1,
|
|
602
|
-
length = entries == null ? 0 : entries.length;
|
|
603
|
-
|
|
604
|
-
this.clear();
|
|
605
|
-
while (++index < length) {
|
|
606
|
-
var entry = entries[index];
|
|
607
|
-
this.set(entry[0], entry[1]);
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
// Add methods to `Hash`.
|
|
612
|
-
Hash$1.prototype.clear = hashClear;
|
|
613
|
-
Hash$1.prototype['delete'] = hashDelete;
|
|
614
|
-
Hash$1.prototype.get = hashGet;
|
|
615
|
-
Hash$1.prototype.has = hashHas;
|
|
616
|
-
Hash$1.prototype.set = hashSet;
|
|
617
|
-
|
|
618
|
-
var _Hash = Hash$1;
|
|
619
|
-
|
|
620
|
-
var Hash = _Hash,
|
|
621
|
-
ListCache$2 = _ListCache,
|
|
622
|
-
Map$2 = _Map;
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* Removes all key-value entries from the map.
|
|
626
|
-
*
|
|
627
|
-
* @private
|
|
628
|
-
* @name clear
|
|
629
|
-
* @memberOf MapCache
|
|
630
|
-
*/
|
|
631
|
-
function mapCacheClear$1() {
|
|
632
|
-
this.size = 0;
|
|
633
|
-
this.__data__ = {
|
|
634
|
-
'hash': new Hash,
|
|
635
|
-
'map': new (Map$2 || ListCache$2),
|
|
636
|
-
'string': new Hash
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
var _mapCacheClear = mapCacheClear$1;
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Checks if `value` is suitable for use as unique object key.
|
|
644
|
-
*
|
|
645
|
-
* @private
|
|
646
|
-
* @param {*} value The value to check.
|
|
647
|
-
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
648
|
-
*/
|
|
649
|
-
|
|
650
|
-
function isKeyable$1(value) {
|
|
651
|
-
var type = typeof value;
|
|
652
|
-
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
653
|
-
? (value !== '__proto__')
|
|
654
|
-
: (value === null);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
var _isKeyable = isKeyable$1;
|
|
658
|
-
|
|
659
|
-
var isKeyable = _isKeyable;
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* Gets the data for `map`.
|
|
663
|
-
*
|
|
664
|
-
* @private
|
|
665
|
-
* @param {Object} map The map to query.
|
|
666
|
-
* @param {string} key The reference key.
|
|
667
|
-
* @returns {*} Returns the map data.
|
|
668
|
-
*/
|
|
669
|
-
function getMapData$4(map, key) {
|
|
670
|
-
var data = map.__data__;
|
|
671
|
-
return isKeyable(key)
|
|
672
|
-
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
673
|
-
: data.map;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
var _getMapData = getMapData$4;
|
|
677
|
-
|
|
678
|
-
var getMapData$3 = _getMapData;
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* Removes `key` and its value from the map.
|
|
682
|
-
*
|
|
683
|
-
* @private
|
|
684
|
-
* @name delete
|
|
685
|
-
* @memberOf MapCache
|
|
686
|
-
* @param {string} key The key of the value to remove.
|
|
687
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
688
|
-
*/
|
|
689
|
-
function mapCacheDelete$1(key) {
|
|
690
|
-
var result = getMapData$3(this, key)['delete'](key);
|
|
691
|
-
this.size -= result ? 1 : 0;
|
|
692
|
-
return result;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
var _mapCacheDelete = mapCacheDelete$1;
|
|
696
|
-
|
|
697
|
-
var getMapData$2 = _getMapData;
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Gets the map value for `key`.
|
|
701
|
-
*
|
|
702
|
-
* @private
|
|
703
|
-
* @name get
|
|
704
|
-
* @memberOf MapCache
|
|
705
|
-
* @param {string} key The key of the value to get.
|
|
706
|
-
* @returns {*} Returns the entry value.
|
|
707
|
-
*/
|
|
708
|
-
function mapCacheGet$1(key) {
|
|
709
|
-
return getMapData$2(this, key).get(key);
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
var _mapCacheGet = mapCacheGet$1;
|
|
713
|
-
|
|
714
|
-
var getMapData$1 = _getMapData;
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* Checks if a map value for `key` exists.
|
|
718
|
-
*
|
|
719
|
-
* @private
|
|
720
|
-
* @name has
|
|
721
|
-
* @memberOf MapCache
|
|
722
|
-
* @param {string} key The key of the entry to check.
|
|
723
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
724
|
-
*/
|
|
725
|
-
function mapCacheHas$1(key) {
|
|
726
|
-
return getMapData$1(this, key).has(key);
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
var _mapCacheHas = mapCacheHas$1;
|
|
730
|
-
|
|
731
|
-
var getMapData = _getMapData;
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* Sets the map `key` to `value`.
|
|
735
|
-
*
|
|
736
|
-
* @private
|
|
737
|
-
* @name set
|
|
738
|
-
* @memberOf MapCache
|
|
739
|
-
* @param {string} key The key of the value to set.
|
|
740
|
-
* @param {*} value The value to set.
|
|
741
|
-
* @returns {Object} Returns the map cache instance.
|
|
742
|
-
*/
|
|
743
|
-
function mapCacheSet$1(key, value) {
|
|
744
|
-
var data = getMapData(this, key),
|
|
745
|
-
size = data.size;
|
|
746
|
-
|
|
747
|
-
data.set(key, value);
|
|
748
|
-
this.size += data.size == size ? 0 : 1;
|
|
749
|
-
return this;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
var _mapCacheSet = mapCacheSet$1;
|
|
753
|
-
|
|
754
|
-
var mapCacheClear = _mapCacheClear,
|
|
755
|
-
mapCacheDelete = _mapCacheDelete,
|
|
756
|
-
mapCacheGet = _mapCacheGet,
|
|
757
|
-
mapCacheHas = _mapCacheHas,
|
|
758
|
-
mapCacheSet = _mapCacheSet;
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* Creates a map cache object to store key-value pairs.
|
|
762
|
-
*
|
|
763
|
-
* @private
|
|
764
|
-
* @constructor
|
|
765
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
766
|
-
*/
|
|
767
|
-
function MapCache$3(entries) {
|
|
768
|
-
var index = -1,
|
|
769
|
-
length = entries == null ? 0 : entries.length;
|
|
770
|
-
|
|
771
|
-
this.clear();
|
|
772
|
-
while (++index < length) {
|
|
773
|
-
var entry = entries[index];
|
|
774
|
-
this.set(entry[0], entry[1]);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
// Add methods to `MapCache`.
|
|
779
|
-
MapCache$3.prototype.clear = mapCacheClear;
|
|
780
|
-
MapCache$3.prototype['delete'] = mapCacheDelete;
|
|
781
|
-
MapCache$3.prototype.get = mapCacheGet;
|
|
782
|
-
MapCache$3.prototype.has = mapCacheHas;
|
|
783
|
-
MapCache$3.prototype.set = mapCacheSet;
|
|
784
|
-
|
|
785
|
-
var _MapCache = MapCache$3;
|
|
786
|
-
|
|
787
|
-
var ListCache$1 = _ListCache,
|
|
788
|
-
Map$1 = _Map,
|
|
789
|
-
MapCache$2 = _MapCache;
|
|
790
|
-
|
|
791
|
-
/** Used as the size to enable large array optimizations. */
|
|
792
|
-
var LARGE_ARRAY_SIZE = 200;
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Sets the stack `key` to `value`.
|
|
796
|
-
*
|
|
797
|
-
* @private
|
|
798
|
-
* @name set
|
|
799
|
-
* @memberOf Stack
|
|
800
|
-
* @param {string} key The key of the value to set.
|
|
801
|
-
* @param {*} value The value to set.
|
|
802
|
-
* @returns {Object} Returns the stack cache instance.
|
|
803
|
-
*/
|
|
804
|
-
function stackSet$1(key, value) {
|
|
805
|
-
var data = this.__data__;
|
|
806
|
-
if (data instanceof ListCache$1) {
|
|
807
|
-
var pairs = data.__data__;
|
|
808
|
-
if (!Map$1 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
809
|
-
pairs.push([key, value]);
|
|
810
|
-
this.size = ++data.size;
|
|
811
|
-
return this;
|
|
812
|
-
}
|
|
813
|
-
data = this.__data__ = new MapCache$2(pairs);
|
|
814
|
-
}
|
|
815
|
-
data.set(key, value);
|
|
816
|
-
this.size = data.size;
|
|
817
|
-
return this;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
var _stackSet = stackSet$1;
|
|
821
|
-
|
|
822
|
-
var ListCache = _ListCache,
|
|
823
|
-
stackClear = _stackClear,
|
|
824
|
-
stackDelete = _stackDelete,
|
|
825
|
-
stackGet = _stackGet,
|
|
826
|
-
stackHas = _stackHas,
|
|
827
|
-
stackSet = _stackSet;
|
|
828
|
-
|
|
829
|
-
/**
|
|
830
|
-
* Creates a stack cache object to store key-value pairs.
|
|
831
|
-
*
|
|
832
|
-
* @private
|
|
833
|
-
* @constructor
|
|
834
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
835
|
-
*/
|
|
836
|
-
function Stack(entries) {
|
|
837
|
-
var data = this.__data__ = new ListCache(entries);
|
|
838
|
-
this.size = data.size;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
// Add methods to `Stack`.
|
|
842
|
-
Stack.prototype.clear = stackClear;
|
|
843
|
-
Stack.prototype['delete'] = stackDelete;
|
|
844
|
-
Stack.prototype.get = stackGet;
|
|
845
|
-
Stack.prototype.has = stackHas;
|
|
846
|
-
Stack.prototype.set = stackSet;
|
|
847
|
-
|
|
848
|
-
var _Stack = Stack;
|
|
849
|
-
|
|
850
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
851
|
-
|
|
852
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* Adds `value` to the array cache.
|
|
856
|
-
*
|
|
857
|
-
* @private
|
|
858
|
-
* @name add
|
|
859
|
-
* @memberOf SetCache
|
|
860
|
-
* @alias push
|
|
861
|
-
* @param {*} value The value to cache.
|
|
862
|
-
* @returns {Object} Returns the cache instance.
|
|
863
|
-
*/
|
|
864
|
-
function setCacheAdd$1(value) {
|
|
865
|
-
this.__data__.set(value, HASH_UNDEFINED);
|
|
866
|
-
return this;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
var _setCacheAdd = setCacheAdd$1;
|
|
870
|
-
|
|
871
|
-
/**
|
|
872
|
-
* Checks if `value` is in the array cache.
|
|
873
|
-
*
|
|
874
|
-
* @private
|
|
875
|
-
* @name has
|
|
876
|
-
* @memberOf SetCache
|
|
877
|
-
* @param {*} value The value to search for.
|
|
878
|
-
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
879
|
-
*/
|
|
880
|
-
|
|
881
|
-
function setCacheHas$1(value) {
|
|
882
|
-
return this.__data__.has(value);
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
var _setCacheHas = setCacheHas$1;
|
|
886
|
-
|
|
887
|
-
var MapCache$1 = _MapCache,
|
|
888
|
-
setCacheAdd = _setCacheAdd,
|
|
889
|
-
setCacheHas = _setCacheHas;
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
*
|
|
893
|
-
* Creates an array cache object to store unique values.
|
|
894
|
-
*
|
|
895
|
-
* @private
|
|
896
|
-
* @constructor
|
|
897
|
-
* @param {Array} [values] The values to cache.
|
|
898
|
-
*/
|
|
899
|
-
function SetCache(values) {
|
|
900
|
-
var index = -1,
|
|
901
|
-
length = values == null ? 0 : values.length;
|
|
902
|
-
|
|
903
|
-
this.__data__ = new MapCache$1;
|
|
904
|
-
while (++index < length) {
|
|
905
|
-
this.add(values[index]);
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
// Add methods to `SetCache`.
|
|
910
|
-
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
911
|
-
SetCache.prototype.has = setCacheHas;
|
|
912
|
-
|
|
913
|
-
var _SetCache = SetCache;
|
|
914
|
-
|
|
915
|
-
var baseGetTag$2 = _baseGetTag,
|
|
916
|
-
isObjectLike$2 = isObjectLike_1;
|
|
917
|
-
|
|
918
|
-
/** `Object#toString` result references. */
|
|
919
|
-
var argsTag$1 = '[object Arguments]';
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* The base implementation of `_.isArguments`.
|
|
923
|
-
*
|
|
924
|
-
* @private
|
|
925
|
-
* @param {*} value The value to check.
|
|
926
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
927
|
-
*/
|
|
928
|
-
function baseIsArguments$1(value) {
|
|
929
|
-
return isObjectLike$2(value) && baseGetTag$2(value) == argsTag$1;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
var _baseIsArguments = baseIsArguments$1;
|
|
933
|
-
|
|
934
|
-
var baseIsArguments = _baseIsArguments,
|
|
935
|
-
isObjectLike$1 = isObjectLike_1;
|
|
936
|
-
|
|
937
|
-
/** Used for built-in method references. */
|
|
938
|
-
var objectProto = Object.prototype;
|
|
939
|
-
|
|
940
|
-
/** Used to check objects for own properties. */
|
|
941
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
942
|
-
|
|
943
|
-
/** Built-in value references. */
|
|
944
|
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* Checks if `value` is likely an `arguments` object.
|
|
948
|
-
*
|
|
949
|
-
* @static
|
|
950
|
-
* @memberOf _
|
|
951
|
-
* @since 0.1.0
|
|
952
|
-
* @category Lang
|
|
953
|
-
* @param {*} value The value to check.
|
|
954
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
955
|
-
* else `false`.
|
|
956
|
-
* @example
|
|
957
|
-
*
|
|
958
|
-
* _.isArguments(function() { return arguments; }());
|
|
959
|
-
* // => true
|
|
960
|
-
*
|
|
961
|
-
* _.isArguments([1, 2, 3]);
|
|
962
|
-
* // => false
|
|
963
|
-
*/
|
|
964
|
-
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
965
|
-
return isObjectLike$1(value) && hasOwnProperty.call(value, 'callee') &&
|
|
966
|
-
!propertyIsEnumerable.call(value, 'callee');
|
|
967
|
-
};
|
|
968
|
-
|
|
969
|
-
var isArguments_1 = isArguments;
|
|
970
|
-
|
|
971
|
-
var isBuffer = {exports: {}};
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* This method returns `false`.
|
|
975
|
-
*
|
|
976
|
-
* @static
|
|
977
|
-
* @memberOf _
|
|
978
|
-
* @since 4.13.0
|
|
979
|
-
* @category Util
|
|
980
|
-
* @returns {boolean} Returns `false`.
|
|
981
|
-
* @example
|
|
982
|
-
*
|
|
983
|
-
* _.times(2, _.stubFalse);
|
|
984
|
-
* // => [false, false]
|
|
985
|
-
*/
|
|
986
|
-
|
|
987
|
-
function stubFalse() {
|
|
988
|
-
return false;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
var stubFalse_1 = stubFalse;
|
|
992
|
-
|
|
993
|
-
(function (module, exports) {
|
|
994
|
-
var root = _root,
|
|
995
|
-
stubFalse = stubFalse_1;
|
|
996
|
-
|
|
997
|
-
/** Detect free variable `exports`. */
|
|
998
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
999
|
-
|
|
1000
|
-
/** Detect free variable `module`. */
|
|
1001
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
1002
|
-
|
|
1003
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1004
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1005
|
-
|
|
1006
|
-
/** Built-in value references. */
|
|
1007
|
-
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
1008
|
-
|
|
1009
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1010
|
-
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Checks if `value` is a buffer.
|
|
1014
|
-
*
|
|
1015
|
-
* @static
|
|
1016
|
-
* @memberOf _
|
|
1017
|
-
* @since 4.3.0
|
|
1018
|
-
* @category Lang
|
|
1019
|
-
* @param {*} value The value to check.
|
|
1020
|
-
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
1021
|
-
* @example
|
|
1022
|
-
*
|
|
1023
|
-
* _.isBuffer(new Buffer(2));
|
|
1024
|
-
* // => true
|
|
1025
|
-
*
|
|
1026
|
-
* _.isBuffer(new Uint8Array(2));
|
|
1027
|
-
* // => false
|
|
1028
|
-
*/
|
|
1029
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1030
|
-
|
|
1031
|
-
module.exports = isBuffer;
|
|
1032
|
-
}(isBuffer, isBuffer.exports));
|
|
1033
|
-
|
|
1034
|
-
/** Used as references for various `Number` constants. */
|
|
1035
|
-
|
|
1036
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* Checks if `value` is a valid array-like length.
|
|
1040
|
-
*
|
|
1041
|
-
* **Note:** This method is loosely based on
|
|
1042
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
1043
|
-
*
|
|
1044
|
-
* @static
|
|
1045
|
-
* @memberOf _
|
|
1046
|
-
* @since 4.0.0
|
|
1047
|
-
* @category Lang
|
|
1048
|
-
* @param {*} value The value to check.
|
|
1049
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
1050
|
-
* @example
|
|
1051
|
-
*
|
|
1052
|
-
* _.isLength(3);
|
|
1053
|
-
* // => true
|
|
1054
|
-
*
|
|
1055
|
-
* _.isLength(Number.MIN_VALUE);
|
|
1056
|
-
* // => false
|
|
1057
|
-
*
|
|
1058
|
-
* _.isLength(Infinity);
|
|
1059
|
-
* // => false
|
|
1060
|
-
*
|
|
1061
|
-
* _.isLength('3');
|
|
1062
|
-
* // => false
|
|
1063
|
-
*/
|
|
1064
|
-
function isLength$1(value) {
|
|
1065
|
-
return typeof value == 'number' &&
|
|
1066
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
var isLength_1 = isLength$1;
|
|
1070
|
-
|
|
1071
|
-
var baseGetTag$1 = _baseGetTag,
|
|
1072
|
-
isLength = isLength_1,
|
|
1073
|
-
isObjectLike = isObjectLike_1;
|
|
1074
|
-
|
|
1075
|
-
/** `Object#toString` result references. */
|
|
1076
|
-
var argsTag = '[object Arguments]',
|
|
1077
|
-
arrayTag = '[object Array]',
|
|
1078
|
-
boolTag = '[object Boolean]',
|
|
1079
|
-
dateTag = '[object Date]',
|
|
1080
|
-
errorTag = '[object Error]',
|
|
1081
|
-
funcTag = '[object Function]',
|
|
1082
|
-
mapTag$1 = '[object Map]',
|
|
1083
|
-
numberTag = '[object Number]',
|
|
1084
|
-
objectTag$1 = '[object Object]',
|
|
1085
|
-
regexpTag = '[object RegExp]',
|
|
1086
|
-
setTag$1 = '[object Set]',
|
|
1087
|
-
stringTag = '[object String]',
|
|
1088
|
-
weakMapTag$1 = '[object WeakMap]';
|
|
1089
|
-
|
|
1090
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
|
1091
|
-
dataViewTag$1 = '[object DataView]',
|
|
1092
|
-
float32Tag = '[object Float32Array]',
|
|
1093
|
-
float64Tag = '[object Float64Array]',
|
|
1094
|
-
int8Tag = '[object Int8Array]',
|
|
1095
|
-
int16Tag = '[object Int16Array]',
|
|
1096
|
-
int32Tag = '[object Int32Array]',
|
|
1097
|
-
uint8Tag = '[object Uint8Array]',
|
|
1098
|
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
1099
|
-
uint16Tag = '[object Uint16Array]',
|
|
1100
|
-
uint32Tag = '[object Uint32Array]';
|
|
1101
|
-
|
|
1102
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
|
1103
|
-
var typedArrayTags = {};
|
|
1104
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
1105
|
-
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
1106
|
-
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
1107
|
-
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
1108
|
-
typedArrayTags[uint32Tag] = true;
|
|
1109
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
|
1110
|
-
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
1111
|
-
typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] =
|
|
1112
|
-
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
1113
|
-
typedArrayTags[mapTag$1] = typedArrayTags[numberTag] =
|
|
1114
|
-
typedArrayTags[objectTag$1] = typedArrayTags[regexpTag] =
|
|
1115
|
-
typedArrayTags[setTag$1] = typedArrayTags[stringTag] =
|
|
1116
|
-
typedArrayTags[weakMapTag$1] = false;
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
1120
|
-
*
|
|
1121
|
-
* @private
|
|
1122
|
-
* @param {*} value The value to check.
|
|
1123
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1124
|
-
*/
|
|
1125
|
-
function baseIsTypedArray(value) {
|
|
1126
|
-
return isObjectLike(value) &&
|
|
1127
|
-
isLength(value.length) && !!typedArrayTags[baseGetTag$1(value)];
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
var _baseIsTypedArray = baseIsTypedArray;
|
|
1131
|
-
|
|
1132
|
-
var _nodeUtil = {exports: {}};
|
|
1133
|
-
|
|
1134
|
-
(function (module, exports) {
|
|
1135
|
-
var freeGlobal = _freeGlobal;
|
|
1136
|
-
|
|
1137
|
-
/** Detect free variable `exports`. */
|
|
1138
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
1139
|
-
|
|
1140
|
-
/** Detect free variable `module`. */
|
|
1141
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
1142
|
-
|
|
1143
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1144
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1145
|
-
|
|
1146
|
-
/** Detect free variable `process` from Node.js. */
|
|
1147
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
1148
|
-
|
|
1149
|
-
/** Used to access faster Node.js helpers. */
|
|
1150
|
-
var nodeUtil = (function() {
|
|
1151
|
-
try {
|
|
1152
|
-
// Use `util.types` for Node.js 10+.
|
|
1153
|
-
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
1154
|
-
|
|
1155
|
-
if (types) {
|
|
1156
|
-
return types;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
// Legacy `process.binding('util')` for Node.js < 10.
|
|
1160
|
-
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
1161
|
-
} catch (e) {}
|
|
1162
|
-
}());
|
|
1163
|
-
|
|
1164
|
-
module.exports = nodeUtil;
|
|
1165
|
-
}(_nodeUtil, _nodeUtil.exports));
|
|
1166
|
-
|
|
1167
|
-
var getNative$3 = _getNative,
|
|
1168
|
-
root$3 = _root;
|
|
1169
|
-
|
|
1170
|
-
/* Built-in method references that are verified to be native. */
|
|
1171
|
-
var DataView$1 = getNative$3(root$3, 'DataView');
|
|
1172
|
-
|
|
1173
|
-
var _DataView = DataView$1;
|
|
1174
|
-
|
|
1175
|
-
var getNative$2 = _getNative,
|
|
1176
|
-
root$2 = _root;
|
|
1177
|
-
|
|
1178
|
-
/* Built-in method references that are verified to be native. */
|
|
1179
|
-
var Promise$2 = getNative$2(root$2, 'Promise');
|
|
1180
|
-
|
|
1181
|
-
var _Promise = Promise$2;
|
|
1182
|
-
|
|
1183
|
-
var getNative$1 = _getNative,
|
|
1184
|
-
root$1 = _root;
|
|
1185
|
-
|
|
1186
|
-
/* Built-in method references that are verified to be native. */
|
|
1187
|
-
var Set$1 = getNative$1(root$1, 'Set');
|
|
1188
|
-
|
|
1189
|
-
var _Set = Set$1;
|
|
1190
|
-
|
|
1191
|
-
var getNative = _getNative,
|
|
1192
|
-
root = _root;
|
|
1193
|
-
|
|
1194
|
-
/* Built-in method references that are verified to be native. */
|
|
1195
|
-
var WeakMap$1 = getNative(root, 'WeakMap');
|
|
1196
|
-
|
|
1197
|
-
var _WeakMap = WeakMap$1;
|
|
1198
|
-
|
|
1199
|
-
var DataView = _DataView,
|
|
1200
|
-
Map = _Map,
|
|
1201
|
-
Promise$1 = _Promise,
|
|
1202
|
-
Set = _Set,
|
|
1203
|
-
WeakMap = _WeakMap,
|
|
1204
|
-
baseGetTag = _baseGetTag,
|
|
1205
|
-
toSource = _toSource;
|
|
1206
|
-
|
|
1207
|
-
/** `Object#toString` result references. */
|
|
1208
|
-
var mapTag = '[object Map]',
|
|
1209
|
-
objectTag = '[object Object]',
|
|
1210
|
-
promiseTag = '[object Promise]',
|
|
1211
|
-
setTag = '[object Set]',
|
|
1212
|
-
weakMapTag = '[object WeakMap]';
|
|
1213
|
-
|
|
1214
|
-
var dataViewTag = '[object DataView]';
|
|
1215
|
-
|
|
1216
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
1217
|
-
var dataViewCtorString = toSource(DataView),
|
|
1218
|
-
mapCtorString = toSource(Map),
|
|
1219
|
-
promiseCtorString = toSource(Promise$1),
|
|
1220
|
-
setCtorString = toSource(Set),
|
|
1221
|
-
weakMapCtorString = toSource(WeakMap);
|
|
1222
|
-
|
|
1223
|
-
/**
|
|
1224
|
-
* Gets the `toStringTag` of `value`.
|
|
1225
|
-
*
|
|
1226
|
-
* @private
|
|
1227
|
-
* @param {*} value The value to query.
|
|
1228
|
-
* @returns {string} Returns the `toStringTag`.
|
|
1229
|
-
*/
|
|
1230
|
-
var getTag = baseGetTag;
|
|
1231
|
-
|
|
1232
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
1233
|
-
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
1234
|
-
(Map && getTag(new Map) != mapTag) ||
|
|
1235
|
-
(Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
|
|
1236
|
-
(Set && getTag(new Set) != setTag) ||
|
|
1237
|
-
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
1238
|
-
getTag = function(value) {
|
|
1239
|
-
var result = baseGetTag(value),
|
|
1240
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
1241
|
-
ctorString = Ctor ? toSource(Ctor) : '';
|
|
1242
|
-
|
|
1243
|
-
if (ctorString) {
|
|
1244
|
-
switch (ctorString) {
|
|
1245
|
-
case dataViewCtorString: return dataViewTag;
|
|
1246
|
-
case mapCtorString: return mapTag;
|
|
1247
|
-
case promiseCtorString: return promiseTag;
|
|
1248
|
-
case setCtorString: return setTag;
|
|
1249
|
-
case weakMapCtorString: return weakMapTag;
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
return result;
|
|
1253
|
-
};
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
var _getTag = getTag;
|
|
1257
|
-
|
|
1258
|
-
var MapCache = _MapCache;
|
|
1259
|
-
|
|
1260
|
-
/** Error message constants. */
|
|
1261
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
* Creates a function that memoizes the result of `func`. If `resolver` is
|
|
1265
|
-
* provided, it determines the cache key for storing the result based on the
|
|
1266
|
-
* arguments provided to the memoized function. By default, the first argument
|
|
1267
|
-
* provided to the memoized function is used as the map cache key. The `func`
|
|
1268
|
-
* is invoked with the `this` binding of the memoized function.
|
|
1269
|
-
*
|
|
1270
|
-
* **Note:** The cache is exposed as the `cache` property on the memoized
|
|
1271
|
-
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
|
1272
|
-
* constructor with one whose instances implement the
|
|
1273
|
-
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
|
1274
|
-
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
|
1275
|
-
*
|
|
1276
|
-
* @static
|
|
1277
|
-
* @memberOf _
|
|
1278
|
-
* @since 0.1.0
|
|
1279
|
-
* @category Function
|
|
1280
|
-
* @param {Function} func The function to have its output memoized.
|
|
1281
|
-
* @param {Function} [resolver] The function to resolve the cache key.
|
|
1282
|
-
* @returns {Function} Returns the new memoized function.
|
|
1283
|
-
* @example
|
|
1284
|
-
*
|
|
1285
|
-
* var object = { 'a': 1, 'b': 2 };
|
|
1286
|
-
* var other = { 'c': 3, 'd': 4 };
|
|
1287
|
-
*
|
|
1288
|
-
* var values = _.memoize(_.values);
|
|
1289
|
-
* values(object);
|
|
1290
|
-
* // => [1, 2]
|
|
1291
|
-
*
|
|
1292
|
-
* values(other);
|
|
1293
|
-
* // => [3, 4]
|
|
1294
|
-
*
|
|
1295
|
-
* object.a = 2;
|
|
1296
|
-
* values(object);
|
|
1297
|
-
* // => [1, 2]
|
|
1298
|
-
*
|
|
1299
|
-
* // Modify the result cache.
|
|
1300
|
-
* values.cache.set(object, ['a', 'b']);
|
|
1301
|
-
* values(object);
|
|
1302
|
-
* // => ['a', 'b']
|
|
1303
|
-
*
|
|
1304
|
-
* // Replace `_.memoize.Cache`.
|
|
1305
|
-
* _.memoize.Cache = WeakMap;
|
|
1306
|
-
*/
|
|
1307
|
-
function memoize$1(func, resolver) {
|
|
1308
|
-
if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
|
1309
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1310
|
-
}
|
|
1311
|
-
var memoized = function() {
|
|
1312
|
-
var args = arguments,
|
|
1313
|
-
key = resolver ? resolver.apply(this, args) : args[0],
|
|
1314
|
-
cache = memoized.cache;
|
|
1315
|
-
|
|
1316
|
-
if (cache.has(key)) {
|
|
1317
|
-
return cache.get(key);
|
|
1318
|
-
}
|
|
1319
|
-
var result = func.apply(this, args);
|
|
1320
|
-
memoized.cache = cache.set(key, result) || cache;
|
|
1321
|
-
return result;
|
|
1322
|
-
};
|
|
1323
|
-
memoized.cache = new (memoize$1.Cache || MapCache);
|
|
1324
|
-
return memoized;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
// Expose `MapCache`.
|
|
1328
|
-
memoize$1.Cache = MapCache;
|
|
1329
|
-
|
|
1330
|
-
var memoize_1 = memoize$1;
|
|
1331
|
-
|
|
1332
|
-
var memoize = memoize_1;
|
|
1333
|
-
|
|
1334
|
-
/** Used as the maximum memoize cache size. */
|
|
1335
|
-
var MAX_MEMOIZE_SIZE = 500;
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
* A specialized version of `_.memoize` which clears the memoized function's
|
|
1339
|
-
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
|
|
1340
|
-
*
|
|
1341
|
-
* @private
|
|
1342
|
-
* @param {Function} func The function to have its output memoized.
|
|
1343
|
-
* @returns {Function} Returns the new memoized function.
|
|
1344
|
-
*/
|
|
1345
|
-
function memoizeCapped$1(func) {
|
|
1346
|
-
var result = memoize(func, function(key) {
|
|
1347
|
-
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
1348
|
-
cache.clear();
|
|
1349
|
-
}
|
|
1350
|
-
return key;
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
|
-
var cache = result.cache;
|
|
1354
|
-
return result;
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
var _memoizeCapped = memoizeCapped$1;
|
|
1358
|
-
|
|
1359
|
-
var memoizeCapped = _memoizeCapped;
|
|
1360
|
-
|
|
1361
|
-
/** Used to match property names within property paths. */
|
|
1362
|
-
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
1363
|
-
|
|
1364
|
-
/** Used to match backslashes in property paths. */
|
|
1365
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
* Converts `string` to a property path array.
|
|
1369
|
-
*
|
|
1370
|
-
* @private
|
|
1371
|
-
* @param {string} string The string to convert.
|
|
1372
|
-
* @returns {Array} Returns the property path array.
|
|
1373
|
-
*/
|
|
1374
|
-
var stringToPath = memoizeCapped(function(string) {
|
|
1375
|
-
var result = [];
|
|
1376
|
-
if (string.charCodeAt(0) === 46 /* . */) {
|
|
1377
|
-
result.push('');
|
|
1378
|
-
}
|
|
1379
|
-
string.replace(rePropName, function(match, number, quote, subString) {
|
|
1380
|
-
result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
|
|
1381
|
-
});
|
|
1382
|
-
return result;
|
|
1383
|
-
});
|
|
1384
|
-
|
|
1385
|
-
var _stringToPath = stringToPath;
|
|
1386
|
-
|
|
1387
|
-
export { _getTag as _, _getNative as a, _SetCache as b, _Stack as c, _stringToPath as d, eq_1 as e, isArguments_1 as f, isLength_1 as g, _baseIsTypedArray as h, isBuffer as i, _nodeUtil as j, isFunction_1 as k };
|
|
1388
|
-
|
|
1389
|
-
//# sourceMappingURL=_stringToPath.js.map
|