@dso-toolkit/core 73.1.0 → 73.2.0
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/annotation-body-DiF6OSBJ.js.map +1 -1
- package/dist/cjs/annotation-list-renvooi-values-BsuXHY9R.js.map +1 -1
- package/dist/cjs/{annotation-symbol-slot-CwCc6l70.js → annotation-watcher-8xS6vsxu.js} +4 -4
- package/dist/cjs/annotation-watcher-8xS6vsxu.js.map +1 -0
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +35 -35
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter.dso-expandable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +2 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-banner.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card-container.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +32 -32
- package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker-legacy.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-document-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-document-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-dropdown-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-highlight-box.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-icon.cjs.entry.js +38 -38
- package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label.dso-renvooi.dso-slide-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
- package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-logo.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-base-layers.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-base-layers.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-overlays.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-overlays.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +3 -3
- package/dist/cjs/dso-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +1 -1
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-plekinfo-card.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
- package/dist/cjs/dso-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-progress-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-responsive-element.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-scrollable.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-skiplink.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
- package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toggletip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toggletip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-tree-view.entry.cjs.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1104 -1104
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/dsot-document-component-demo.entry.cjs.js.map +1 -1
- package/dist/cjs/{i18n-D6gzajyT.js → i18n-yRiEgk_k.js} +5 -3
- package/dist/cjs/i18n-yRiEgk_k.js.map +1 -0
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/action-list/action-list.js +1 -1
- package/dist/collection/components/action-list/action-list.js.map +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js +1 -1
- package/dist/collection/components/action-list/components/action-list-item.js.map +1 -1
- package/dist/collection/components/advanced-select/advanced-select.js +3 -3
- package/dist/collection/components/advanced-select/advanced-select.js.map +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +4 -4
- package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
- package/dist/collection/components/annotation/annotation-body.js.map +1 -1
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +3 -3
- package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +2 -2
- package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js.map +1 -1
- package/dist/collection/components/annotation/annotation-list-renvooi-values.js.map +1 -1
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +2 -2
- package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js.map +1 -1
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +3 -3
- package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/collection/components/annotation/annotation-symbol-slot.js.map +1 -1
- package/dist/collection/components/attachments-counter/attachments-counter.js.map +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js +1 -1
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/badge/badge.js.map +1 -1
- package/dist/collection/components/banner/banner.js.map +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-container/card-container.js +2 -2
- package/dist/collection/components/card-container/card-container.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-day.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +5 -5
- package/dist/collection/components/date-picker-legacy/date-picker-legacy.js.map +1 -1
- package/dist/collection/components/date-picker-legacy/date-picker-month.js.map +1 -1
- package/dist/collection/components/document-card/document-card.css +12 -7
- package/dist/collection/components/document-card/document-card.js +2 -2
- package/dist/collection/components/document-card/document-card.js.map +1 -1
- package/dist/collection/components/document-component/document-component-heading.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +2 -2
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component-demo/document-component.demo.js +3 -3
- package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +3 -3
- package/dist/collection/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/collection/components/expandable/expandable.js +1 -1
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/header/header.js.map +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +2 -2
- package/dist/collection/components/highlight-box/highlight-box.js.map +1 -1
- package/dist/collection/components/icon/icon.js +8 -8
- package/dist/collection/components/icon/icon.js.map +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js +1 -1
- package/dist/collection/components/image-overlay/image-overlay.js.map +1 -1
- package/dist/collection/components/info/info.js +2 -2
- package/dist/collection/components/info/info.js.map +1 -1
- package/dist/collection/components/info-button/info-button.js +2 -2
- package/dist/collection/components/info-button/info-button.js.map +1 -1
- package/dist/collection/components/input-range/input-range.js +3 -3
- package/dist/collection/components/input-range/input-range.js.map +1 -1
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/legend-item/legend-item.js +3 -3
- package/dist/collection/components/legend-item/legend-item.js.map +1 -1
- package/dist/collection/components/list-button/list-button.js +2 -2
- package/dist/collection/components/list-button/list-button.js.map +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/logo/logo.js.map +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -1
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-controls/map-controls.js.map +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/map-overlays/map-overlays.js.map +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +3 -3
- package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
- package/dist/collection/components/ozon-content/functional-components/wrap-wijzigactie.functional-component.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/abbr.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/al.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/al.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/kop.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/lijst.node.js +3 -3
- package/dist/collection/components/ozon-content/nodes/lijst.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js +1 -1
- package/dist/collection/components/ozon-content/nodes/noot.node.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js.map +1 -1
- package/dist/collection/components/ozon-content/nodes/text.node.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +2 -2
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/panel.js.map +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +0 -4
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +2 -2
- package/dist/collection/components/plekinfo-card/plekinfo-card.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +2 -2
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/project-item/project-item.js +2 -2
- package/dist/collection/components/project-item/project-item.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render-text.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi-render.js.map +1 -1
- package/dist/collection/components/renvooi/renvooi.js.map +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +2 -2
- package/dist/collection/components/responsive-element/responsive-element.js.map +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/scrollable/scrollable.js.map +1 -1
- package/dist/collection/components/selectable/selectable.js +2 -2
- package/dist/collection/components/selectable/selectable.js.map +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js.map +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +2 -2
- package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/survey-rating/survey-rating.js.map +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/tabs/components/tab.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/toggletip/toggletip.js +2 -2
- package/dist/collection/components/toggletip/toggletip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree-view/tree-item.js +1 -1
- package/dist/collection/components/tree-view/tree-item.js.map +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/document-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/filterpanel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js.map +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.css +5 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
- package/dist/collection/utils/i18n.js +2 -2
- package/dist/collection/utils/i18n.js.map +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/annotation-body.js.map +1 -1
- package/dist/components/annotation-list-renvooi-values.js.map +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/{annotation-symbol-slot.js → annotation-watcher.js} +4 -4
- package/dist/components/annotation-watcher.js.map +1 -0
- package/dist/components/attachments-counter.js.map +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-accordion.js +1 -1
- package/dist/components/dso-accordion.js.map +1 -1
- package/dist/components/dso-action-list-item.js.map +1 -1
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +2 -2
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +2 -2
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +2 -2
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-banner.js.map +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card-container.js.map +1 -1
- package/dist/components/dso-card.js.map +1 -1
- package/dist/components/dso-date-picker-legacy.js +32 -32
- package/dist/components/dso-date-picker-legacy.js.map +1 -1
- package/dist/components/dso-date-picker.js.map +1 -1
- package/dist/components/dso-document-card.js +2 -2
- package/dist/components/dso-document-card.js.map +1 -1
- package/dist/components/dso-header.js.map +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-highlight-box.js.map +1 -1
- package/dist/components/dso-input-range.js +2 -2
- package/dist/components/dso-input-range.js.map +1 -1
- package/dist/components/dso-legend-item.js +2 -2
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-logo.js.map +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-base-layers.js.map +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-map-overlays.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +2 -2
- package/dist/components/dso-modal.js.map +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-onboarding-tip.js.map +1 -1
- package/dist/components/dso-pagination.js.map +1 -1
- package/dist/components/dso-plekinfo-card.js +2 -2
- package/dist/components/dso-plekinfo-card.js.map +1 -1
- package/dist/components/dso-progress-bar.js +1 -1
- package/dist/components/dso-progress-bar.js.map +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-project-item.js.map +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-skiplink.js.map +1 -1
- package/dist/components/dso-survey-rating.js +2 -2
- package/dist/components/dso-survey-rating.js.map +1 -1
- package/dist/components/dso-tab.js.map +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tabs.js.map +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-tree-view.js.map +1 -1
- package/dist/components/dso-viewer-grid.js +3 -3
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/dsot-document-component-demo.js +1105 -1105
- package/dist/components/dsot-document-component-demo.js.map +1 -1
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/i18n.js +3 -1
- package/dist/components/i18n.js.map +1 -1
- package/dist/components/icon.js +38 -38
- package/dist/components/icon.js.map +1 -1
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/info.js.map +1 -1
- package/dist/components/label.js +3 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +30 -30
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/panel.js.map +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/progress-indicator.js.map +1 -1
- package/dist/components/renvooi.js.map +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/responsive-element.js.map +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/scrollable.js.map +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/selectable.js.map +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/slide-toggle.js.map +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/toggletip.js +1 -1
- package/dist/components/toggletip.js.map +1 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/components/tooltip.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-accordion.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-action-list.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-advanced-select.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-attachments-counter.dso-expandable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-autosuggest.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-banner.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card-container.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker-legacy.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-date-picker.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-document-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-dropdown-menu.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-highlight-box.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-input-range.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-label.dso-renvooi.dso-slide-toggle.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-legend-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-logo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-base-layers.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-map-overlays.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-mark-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-modal.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-pagination.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-plekinfo-card.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-bar.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-progress-indicator.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-project-item.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-responsive-element.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-scrollable.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-skiplink.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tab.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tabs.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toggletip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-tooltip.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-tree-view.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/dsot-document-component-demo.entry.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-fda975de.entry.js → p-03fb6237.entry.js} +2 -2
- package/dist/dso-toolkit/p-03fb6237.entry.js.map +1 -0
- package/dist/dso-toolkit/p-0764520c.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-85db5881.entry.js → p-09ec6ce5.entry.js} +2 -2
- package/dist/dso-toolkit/{p-85db5881.entry.js.map → p-09ec6ce5.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-0c742a6a.entry.js +2 -0
- package/dist/dso-toolkit/{p-0775a693.entry.js.map → p-0c742a6a.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-4222c5b4.entry.js → p-0feea762.entry.js} +2 -2
- package/dist/dso-toolkit/p-0feea762.entry.js.map +1 -0
- package/dist/dso-toolkit/p-1107be6c.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-e9236c1f.entry.js → p-15c901ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-15c901ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-2ef001ae.entry.js → p-19af64f1.entry.js} +2 -2
- package/dist/dso-toolkit/p-19af64f1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-1b3db27c.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-ca2bef1c.entry.js → p-2510276b.entry.js} +2 -2
- package/dist/dso-toolkit/{p-ca2bef1c.entry.js.map → p-2510276b.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-5db88bab.entry.js → p-2b1c6af2.entry.js} +2 -2
- package/dist/dso-toolkit/p-2b1c6af2.entry.js.map +1 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js +2 -0
- package/dist/dso-toolkit/p-2b5f70a0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-c5003184.entry.js → p-2dc3dc9a.entry.js} +2 -2
- package/dist/dso-toolkit/p-2dc3dc9a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-25121130.entry.js → p-320629e5.entry.js} +2 -2
- package/dist/dso-toolkit/p-320629e5.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-802d9be8.entry.js → p-322b7db4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-802d9be8.entry.js.map → p-322b7db4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-2b70dfec.entry.js → p-32503cd9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2b70dfec.entry.js.map → p-32503cd9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-f3d04785.entry.js → p-35e1d8a4.entry.js} +2 -2
- package/dist/dso-toolkit/{p-f3d04785.entry.js.map → p-35e1d8a4.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3e60b05f.entry.js → p-3888525c.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3e60b05f.entry.js.map → p-3888525c.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-3c74fd03.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-4728d309.entry.js → p-400fede0.entry.js} +2 -2
- package/dist/dso-toolkit/p-400fede0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-189729b9.entry.js → p-4160d2e0.entry.js} +2 -2
- package/dist/dso-toolkit/p-4160d2e0.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-7d1adc2e.entry.js → p-469ca170.entry.js} +2 -2
- package/dist/dso-toolkit/{p-7d1adc2e.entry.js.map → p-469ca170.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-514665a1.entry.js +2 -0
- package/dist/dso-toolkit/p-514665a1.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-c52827dc.entry.js → p-5c7331de.entry.js} +2 -2
- package/dist/dso-toolkit/{p-c52827dc.entry.js.map → p-5c7331de.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-62ecc855.entry.js +2 -0
- package/dist/dso-toolkit/p-62ecc855.entry.js.map +1 -0
- package/dist/dso-toolkit/p-6a156238.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-4d9f250d.entry.js → p-7020a1ec.entry.js} +2 -2
- package/dist/dso-toolkit/{p-4d9f250d.entry.js.map → p-7020a1ec.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-ffa5a867.entry.js → p-73f027ff.entry.js} +2 -2
- package/dist/dso-toolkit/p-73f027ff.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-715ed1f5.entry.js → p-7a3c51ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-715ed1f5.entry.js.map → p-7a3c51ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6cc9e6a1.entry.js → p-7d142b40.entry.js} +2 -2
- package/dist/dso-toolkit/p-7d142b40.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-3ec9e63e.entry.js → p-8084c884.entry.js} +2 -2
- package/dist/dso-toolkit/p-8084c884.entry.js.map +1 -0
- package/dist/dso-toolkit/p-90ead8a5.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-bff9db69.entry.js → p-94cea134.entry.js} +2 -2
- package/dist/dso-toolkit/{p-bff9db69.entry.js.map → p-94cea134.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-9a30700a.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-CrdKfv3R.js → p-B_kXuEcW.js} +2 -2
- package/dist/dso-toolkit/p-B_kXuEcW.js.map +1 -0
- package/dist/dso-toolkit/p-D5RszRxh.js.map +1 -1
- package/dist/dso-toolkit/p-Ds10WquL.js.map +1 -1
- package/dist/dso-toolkit/p-LncMPpG-.js +2 -0
- package/dist/dso-toolkit/p-LncMPpG-.js.map +1 -0
- package/dist/dso-toolkit/{p-2f5521cb.entry.js → p-a61470ad.entry.js} +2 -2
- package/dist/dso-toolkit/{p-2f5521cb.entry.js.map → p-a61470ad.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-aa5dc824.entry.js.map +1 -1
- package/dist/dso-toolkit/p-ad8a1705.entry.js +2 -0
- package/dist/dso-toolkit/{p-9ccc682a.entry.js.map → p-ad8a1705.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-c02f13f7.entry.js → p-b615471f.entry.js} +2 -2
- package/dist/dso-toolkit/p-b615471f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-bd717c9b.entry.js +2 -0
- package/dist/dso-toolkit/{p-f1f414b6.entry.js.map → p-bd717c9b.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-3e3efd7f.entry.js → p-c0410277.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3e3efd7f.entry.js.map → p-c0410277.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-c3ed6804.entry.js +2 -0
- package/dist/dso-toolkit/p-c3ed6804.entry.js.map +1 -0
- package/dist/dso-toolkit/p-c4fe6ee2.entry.js.map +1 -1
- package/dist/dso-toolkit/{p-1a22b0dc.entry.js → p-d4db08c7.entry.js} +2 -2
- package/dist/dso-toolkit/p-d4db08c7.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-64c4fbb5.entry.js → p-db6b2bb9.entry.js} +2 -2
- package/dist/dso-toolkit/{p-64c4fbb5.entry.js.map → p-db6b2bb9.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-12dfeddc.entry.js → p-dc33f3aa.entry.js} +2 -2
- package/dist/dso-toolkit/{p-12dfeddc.entry.js.map → p-dc33f3aa.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-de3ed856.entry.js +2 -0
- package/dist/dso-toolkit/{p-66be9677.entry.js.map → p-de3ed856.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6e13ae72.entry.js → p-e9053e12.entry.js} +2 -2
- package/dist/dso-toolkit/p-e9053e12.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-e0289156.entry.js → p-eafec507.entry.js} +2 -2
- package/dist/dso-toolkit/p-eafec507.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-670ea4fe.entry.js → p-edda55f0.entry.js} +2 -2
- package/dist/dso-toolkit/{p-670ea4fe.entry.js.map → p-edda55f0.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-cc784131.entry.js → p-f1999525.entry.js} +2 -2
- package/dist/dso-toolkit/{p-cc784131.entry.js.map → p-f1999525.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-f9b41ef6.entry.js +2 -0
- package/dist/dso-toolkit/p-f9b41ef6.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-3645517b.entry.js → p-fa850439.entry.js} +2 -2
- package/dist/dso-toolkit/{p-3645517b.entry.js.map → p-fa850439.entry.js.map} +1 -1
- package/dist/esm/annotation-body-CHp1npGM.js.map +1 -1
- package/dist/esm/annotation-list-renvooi-values-D1J_Fugb.js.map +1 -1
- package/dist/esm/{annotation-symbol-slot-BCge7vfY.js → annotation-watcher-B4Wi05lj.js} +4 -4
- package/dist/esm/annotation-watcher-B4Wi05lj.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-accordion.entry.js.map +1 -1
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +35 -35
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +2 -2
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +2 -2
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter.dso-expandable.entry.js.map +1 -1
- package/dist/esm/dso-attachments-counter_2.entry.js.map +1 -1
- package/dist/esm/dso-autosuggest.entry.js +2 -2
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-banner.entry.js.map +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js.map +1 -1
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-date-picker-legacy.entry.js +32 -32
- package/dist/esm/dso-date-picker-legacy.entry.js.map +1 -1
- package/dist/esm/dso-date-picker.entry.js.map +1 -1
- package/dist/esm/dso-document-card.entry.js +2 -2
- package/dist/esm/dso-document-card.entry.js.map +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu.entry.js.map +1 -1
- package/dist/esm/dso-header.entry.js +1 -1
- package/dist/esm/dso-header.entry.js.map +1 -1
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js.map +1 -1
- package/dist/esm/dso-icon.entry.js +38 -38
- package/dist/esm/dso-icon.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +1 -1
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +2 -2
- package/dist/esm/dso-info_2.entry.js.map +1 -1
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-input-range.entry.js.map +1 -1
- package/dist/esm/dso-label.dso-renvooi.dso-slide-toggle.entry.js.map +1 -1
- package/dist/esm/dso-label_3.entry.js +4 -4
- package/dist/esm/dso-label_3.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js.map +1 -1
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-logo.entry.js.map +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +2 -2
- package/dist/esm/dso-map-base-layers.entry.js.map +1 -1
- package/dist/esm/dso-map-controls.entry.js +2 -2
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-map-overlays.entry.js +2 -2
- package/dist/esm/dso-map-overlays.entry.js.map +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +3 -3
- package/dist/esm/dso-modal.entry.js.map +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js +1 -1
- package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +2 -2
- package/dist/esm/dso-plekinfo-card.entry.js.map +1 -1
- package/dist/esm/dso-progress-bar.entry.js +1 -1
- package/dist/esm/dso-progress-bar.entry.js.map +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +2 -2
- package/dist/esm/dso-progress-indicator.entry.js.map +1 -1
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-project-item.entry.js.map +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js.map +1 -1
- package/dist/esm/dso-scrollable.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js.map +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js.map +1 -1
- package/dist/esm/dso-survey-rating.entry.js +2 -2
- package/dist/esm/dso-survey-rating.entry.js.map +1 -1
- package/dist/esm/dso-tab.entry.js.map +1 -1
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js.map +1 -1
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toggletip.entry.js.map +1 -1
- package/dist/esm/dso-tooltip.entry.js +2 -2
- package/dist/esm/dso-tooltip.entry.js.map +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js.map +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/dsot-document-component-demo.entry.js +1105 -1105
- package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
- package/dist/esm/{i18n-CrdKfv3R.js → i18n-B_kXuEcW.js} +5 -3
- package/dist/esm/i18n-B_kXuEcW.js.map +1 -0
- package/dist/scripts/readme.js +1 -1
- package/dist/scripts/readme.js.map +1 -1
- package/dist/types/components/accordion/components/accordion-section.d.ts +1 -1
- package/dist/types/components/advanced-select/advanced-select.d.ts +1 -1
- package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +1 -1
- package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +1 -1
- package/dist/types/components/annotation/annotation-kaart/annotation-kaart.d.ts +1 -1
- package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +1 -1
- package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +1 -1
- package/dist/types/components/date-picker-legacy/date-picker-legacy.d.ts +1 -1
- package/dist/types/components/document-component/document-component.d.ts +1 -1
- package/dist/types/components/document-component-demo/document-component.demo.d.ts +1 -1
- package/dist/types/components/mark-bar/mark-bar.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/abbr.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
- package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content.d.ts +1 -1
- package/dist/types/components/selectable/selectable.d.ts +1 -1
- package/dist/types/components/tree-view/tree-item.d.ts +1 -1
- package/dist/types/components/tree-view/tree-view.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/document-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/components/main-panel.d.ts +1 -1
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/annotation-symbol-slot-CwCc6l70.js.map +0 -1
- package/dist/cjs/i18n-D6gzajyT.js.map +0 -1
- package/dist/components/annotation-symbol-slot.js.map +0 -1
- package/dist/dso-toolkit/p-0775a693.entry.js +0 -2
- package/dist/dso-toolkit/p-189729b9.entry.js.map +0 -1
- package/dist/dso-toolkit/p-1a22b0dc.entry.js.map +0 -1
- package/dist/dso-toolkit/p-25121130.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2edbb43d.entry.js +0 -2
- package/dist/dso-toolkit/p-2edbb43d.entry.js.map +0 -1
- package/dist/dso-toolkit/p-2ef001ae.entry.js.map +0 -1
- package/dist/dso-toolkit/p-3ec9e63e.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4222c5b4.entry.js.map +0 -1
- package/dist/dso-toolkit/p-4728d309.entry.js.map +0 -1
- package/dist/dso-toolkit/p-5663e142.entry.js +0 -2
- package/dist/dso-toolkit/p-5663e142.entry.js.map +0 -1
- package/dist/dso-toolkit/p-5db88bab.entry.js.map +0 -1
- package/dist/dso-toolkit/p-66be9677.entry.js +0 -2
- package/dist/dso-toolkit/p-6cc9e6a1.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6d475b54.entry.js +0 -2
- package/dist/dso-toolkit/p-6d475b54.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6e13ae72.entry.js.map +0 -1
- package/dist/dso-toolkit/p-7e2d432b.entry.js +0 -2
- package/dist/dso-toolkit/p-7e2d432b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-9ccc682a.entry.js +0 -2
- package/dist/dso-toolkit/p-CrdKfv3R.js.map +0 -1
- package/dist/dso-toolkit/p-JeFk1Yvm.js +0 -2
- package/dist/dso-toolkit/p-JeFk1Yvm.js.map +0 -1
- package/dist/dso-toolkit/p-b3588a49.entry.js +0 -2
- package/dist/dso-toolkit/p-b3588a49.entry.js.map +0 -1
- package/dist/dso-toolkit/p-c02f13f7.entry.js.map +0 -1
- package/dist/dso-toolkit/p-c5003184.entry.js.map +0 -1
- package/dist/dso-toolkit/p-e0289156.entry.js.map +0 -1
- package/dist/dso-toolkit/p-e9236c1f.entry.js.map +0 -1
- package/dist/dso-toolkit/p-f1f414b6.entry.js +0 -2
- package/dist/dso-toolkit/p-fda975de.entry.js.map +0 -1
- package/dist/dso-toolkit/p-ffa5a867.entry.js.map +0 -1
- package/dist/esm/annotation-symbol-slot-BCge7vfY.js.map +0 -1
- package/dist/esm/i18n-CrdKfv3R.js.map +0 -1
|
@@ -12,12 +12,12 @@ var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
|
12
12
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
var
|
|
15
|
+
var lodash_random;
|
|
16
|
+
var hasRequiredLodash_random;
|
|
17
17
|
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
|
|
18
|
+
function requireLodash_random () {
|
|
19
|
+
if (hasRequiredLodash_random) return lodash_random;
|
|
20
|
+
hasRequiredLodash_random = 1;
|
|
21
21
|
/** Used as references for various `Number` constants. */
|
|
22
22
|
var INFINITY = 1 / 0,
|
|
23
23
|
MAX_SAFE_INTEGER = 9007199254740991,
|
|
@@ -25,24 +25,9 @@ function requireLodash_samplesize () {
|
|
|
25
25
|
NAN = 0 / 0;
|
|
26
26
|
|
|
27
27
|
/** `Object#toString` result references. */
|
|
28
|
-
var
|
|
29
|
-
funcTag = '[object Function]',
|
|
28
|
+
var funcTag = '[object Function]',
|
|
30
29
|
genTag = '[object GeneratorFunction]',
|
|
31
|
-
|
|
32
|
-
objectTag = '[object Object]',
|
|
33
|
-
promiseTag = '[object Promise]',
|
|
34
|
-
setTag = '[object Set]',
|
|
35
|
-
stringTag = '[object String]',
|
|
36
|
-
symbolTag = '[object Symbol]',
|
|
37
|
-
weakMapTag = '[object WeakMap]';
|
|
38
|
-
|
|
39
|
-
var dataViewTag = '[object DataView]';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Used to match `RegExp`
|
|
43
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
44
|
-
*/
|
|
45
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
30
|
+
symbolTag = '[object Symbol]';
|
|
46
31
|
|
|
47
32
|
/** Used to match leading and trailing whitespace. */
|
|
48
33
|
var reTrim = /^\s+|\s+$/g;
|
|
@@ -53,1187 +38,886 @@ function requireLodash_samplesize () {
|
|
|
53
38
|
/** Used to detect binary string values. */
|
|
54
39
|
var reIsBinary = /^0b[01]+$/i;
|
|
55
40
|
|
|
56
|
-
/** Used to detect host constructors (Safari). */
|
|
57
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
58
|
-
|
|
59
41
|
/** Used to detect octal string values. */
|
|
60
42
|
var reIsOctal = /^0o[0-7]+$/i;
|
|
61
43
|
|
|
62
44
|
/** Used to detect unsigned integer values. */
|
|
63
45
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
64
46
|
|
|
65
|
-
/** Used to compose unicode character classes. */
|
|
66
|
-
var rsAstralRange = '\\ud800-\\udfff',
|
|
67
|
-
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
68
|
-
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
69
|
-
rsVarRange = '\\ufe0e\\ufe0f';
|
|
70
|
-
|
|
71
|
-
/** Used to compose unicode capture groups. */
|
|
72
|
-
var rsAstral = '[' + rsAstralRange + ']',
|
|
73
|
-
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
74
|
-
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
75
|
-
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
76
|
-
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
77
|
-
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
78
|
-
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
79
|
-
rsZWJ = '\\u200d';
|
|
80
|
-
|
|
81
|
-
/** Used to compose unicode regexes. */
|
|
82
|
-
var reOptMod = rsModifier + '?',
|
|
83
|
-
rsOptVar = '[' + rsVarRange + ']?',
|
|
84
|
-
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
85
|
-
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
86
|
-
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
87
|
-
|
|
88
|
-
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
89
|
-
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
90
|
-
|
|
91
|
-
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
92
|
-
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
93
|
-
|
|
94
47
|
/** Built-in method references without a dependency on `root`. */
|
|
95
|
-
var
|
|
48
|
+
var freeParseFloat = parseFloat,
|
|
49
|
+
freeParseInt = parseInt;
|
|
96
50
|
|
|
97
|
-
/**
|
|
98
|
-
var
|
|
51
|
+
/** Used for built-in method references. */
|
|
52
|
+
var objectProto = Object.prototype;
|
|
99
53
|
|
|
100
|
-
/**
|
|
101
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Used to resolve the
|
|
56
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
57
|
+
* of values.
|
|
58
|
+
*/
|
|
59
|
+
var objectToString = objectProto.toString;
|
|
102
60
|
|
|
103
|
-
|
|
104
|
-
var
|
|
61
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
62
|
+
var nativeFloor = Math.floor,
|
|
63
|
+
nativeMin = Math.min,
|
|
64
|
+
nativeRandom = Math.random;
|
|
105
65
|
|
|
106
66
|
/**
|
|
107
|
-
*
|
|
108
|
-
*
|
|
67
|
+
* The base implementation of `_.random` without support for returning
|
|
68
|
+
* floating-point numbers.
|
|
109
69
|
*
|
|
110
70
|
* @private
|
|
111
|
-
* @param {
|
|
112
|
-
* @param {
|
|
113
|
-
* @returns {
|
|
71
|
+
* @param {number} lower The lower bound.
|
|
72
|
+
* @param {number} upper The upper bound.
|
|
73
|
+
* @returns {number} Returns the random number.
|
|
114
74
|
*/
|
|
115
|
-
function
|
|
116
|
-
|
|
117
|
-
length = array ? array.length : 0,
|
|
118
|
-
result = Array(length);
|
|
119
|
-
|
|
120
|
-
while (++index < length) {
|
|
121
|
-
result[index] = iteratee(array[index], index, array);
|
|
122
|
-
}
|
|
123
|
-
return result;
|
|
75
|
+
function baseRandom(lower, upper) {
|
|
76
|
+
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
124
77
|
}
|
|
125
78
|
|
|
126
79
|
/**
|
|
127
|
-
*
|
|
80
|
+
* Checks if `value` is a valid array-like index.
|
|
128
81
|
*
|
|
129
82
|
* @private
|
|
130
|
-
* @param {
|
|
131
|
-
* @
|
|
83
|
+
* @param {*} value The value to check.
|
|
84
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
85
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
132
86
|
*/
|
|
133
|
-
function
|
|
134
|
-
|
|
87
|
+
function isIndex(value, length) {
|
|
88
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
89
|
+
return !!length &&
|
|
90
|
+
(typeof value == 'number' || reIsUint.test(value)) &&
|
|
91
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
135
92
|
}
|
|
136
93
|
|
|
137
94
|
/**
|
|
138
|
-
*
|
|
139
|
-
* or max array length checks.
|
|
95
|
+
* Checks if the given arguments are from an iteratee call.
|
|
140
96
|
*
|
|
141
97
|
* @private
|
|
142
|
-
* @param {
|
|
143
|
-
* @param {
|
|
144
|
-
* @
|
|
98
|
+
* @param {*} value The potential iteratee value argument.
|
|
99
|
+
* @param {*} index The potential iteratee index or key argument.
|
|
100
|
+
* @param {*} object The potential iteratee object argument.
|
|
101
|
+
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
102
|
+
* else `false`.
|
|
145
103
|
*/
|
|
146
|
-
function
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
while (++index < n) {
|
|
151
|
-
result[index] = iteratee(index);
|
|
104
|
+
function isIterateeCall(value, index, object) {
|
|
105
|
+
if (!isObject(object)) {
|
|
106
|
+
return false;
|
|
152
107
|
}
|
|
153
|
-
|
|
108
|
+
var type = typeof index;
|
|
109
|
+
if (type == 'number'
|
|
110
|
+
? (isArrayLike(object) && isIndex(index, object.length))
|
|
111
|
+
: (type == 'string' && index in object)
|
|
112
|
+
) {
|
|
113
|
+
return eq(object[index], value);
|
|
114
|
+
}
|
|
115
|
+
return false;
|
|
154
116
|
}
|
|
155
117
|
|
|
156
118
|
/**
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
119
|
+
* Performs a
|
|
120
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
121
|
+
* comparison between two values to determine if they are equivalent.
|
|
160
122
|
*
|
|
161
|
-
* @
|
|
162
|
-
* @
|
|
163
|
-
* @
|
|
164
|
-
* @
|
|
123
|
+
* @static
|
|
124
|
+
* @memberOf _
|
|
125
|
+
* @since 4.0.0
|
|
126
|
+
* @category Lang
|
|
127
|
+
* @param {*} value The value to compare.
|
|
128
|
+
* @param {*} other The other value to compare.
|
|
129
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
130
|
+
* @example
|
|
131
|
+
*
|
|
132
|
+
* var object = { 'a': 1 };
|
|
133
|
+
* var other = { 'a': 1 };
|
|
134
|
+
*
|
|
135
|
+
* _.eq(object, object);
|
|
136
|
+
* // => true
|
|
137
|
+
*
|
|
138
|
+
* _.eq(object, other);
|
|
139
|
+
* // => false
|
|
140
|
+
*
|
|
141
|
+
* _.eq('a', 'a');
|
|
142
|
+
* // => true
|
|
143
|
+
*
|
|
144
|
+
* _.eq('a', Object('a'));
|
|
145
|
+
* // => false
|
|
146
|
+
*
|
|
147
|
+
* _.eq(NaN, NaN);
|
|
148
|
+
* // => true
|
|
165
149
|
*/
|
|
166
|
-
function
|
|
167
|
-
return
|
|
168
|
-
return object[key];
|
|
169
|
-
});
|
|
150
|
+
function eq(value, other) {
|
|
151
|
+
return value === other || (value !== value && other !== other);
|
|
170
152
|
}
|
|
171
153
|
|
|
172
154
|
/**
|
|
173
|
-
*
|
|
155
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
156
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
157
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
174
158
|
*
|
|
175
|
-
* @
|
|
176
|
-
* @
|
|
177
|
-
* @
|
|
178
|
-
* @
|
|
159
|
+
* @static
|
|
160
|
+
* @memberOf _
|
|
161
|
+
* @since 4.0.0
|
|
162
|
+
* @category Lang
|
|
163
|
+
* @param {*} value The value to check.
|
|
164
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
165
|
+
* @example
|
|
166
|
+
*
|
|
167
|
+
* _.isArrayLike([1, 2, 3]);
|
|
168
|
+
* // => true
|
|
169
|
+
*
|
|
170
|
+
* _.isArrayLike(document.body.children);
|
|
171
|
+
* // => true
|
|
172
|
+
*
|
|
173
|
+
* _.isArrayLike('abc');
|
|
174
|
+
* // => true
|
|
175
|
+
*
|
|
176
|
+
* _.isArrayLike(_.noop);
|
|
177
|
+
* // => false
|
|
179
178
|
*/
|
|
180
|
-
function
|
|
181
|
-
return
|
|
179
|
+
function isArrayLike(value) {
|
|
180
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
/**
|
|
185
|
-
* Checks if `
|
|
184
|
+
* Checks if `value` is classified as a `Function` object.
|
|
186
185
|
*
|
|
187
|
-
* @
|
|
188
|
-
* @
|
|
189
|
-
* @
|
|
186
|
+
* @static
|
|
187
|
+
* @memberOf _
|
|
188
|
+
* @since 0.1.0
|
|
189
|
+
* @category Lang
|
|
190
|
+
* @param {*} value The value to check.
|
|
191
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
192
|
+
* @example
|
|
193
|
+
*
|
|
194
|
+
* _.isFunction(_);
|
|
195
|
+
* // => true
|
|
196
|
+
*
|
|
197
|
+
* _.isFunction(/abc/);
|
|
198
|
+
* // => false
|
|
190
199
|
*/
|
|
191
|
-
function
|
|
192
|
-
|
|
200
|
+
function isFunction(value) {
|
|
201
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
202
|
+
// in Safari 8-9 which returns 'object' for typed array and other constructors.
|
|
203
|
+
var tag = isObject(value) ? objectToString.call(value) : '';
|
|
204
|
+
return tag == funcTag || tag == genTag;
|
|
193
205
|
}
|
|
194
206
|
|
|
195
207
|
/**
|
|
196
|
-
* Checks if `value` is a
|
|
208
|
+
* Checks if `value` is a valid array-like length.
|
|
197
209
|
*
|
|
198
|
-
*
|
|
210
|
+
* **Note:** This method is loosely based on
|
|
211
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
212
|
+
*
|
|
213
|
+
* @static
|
|
214
|
+
* @memberOf _
|
|
215
|
+
* @since 4.0.0
|
|
216
|
+
* @category Lang
|
|
199
217
|
* @param {*} value The value to check.
|
|
200
|
-
* @returns {boolean} Returns `true` if `value` is a
|
|
201
|
-
|
|
202
|
-
function isHostObject(value) {
|
|
203
|
-
// Many host objects are `Object` objects that can coerce to strings
|
|
204
|
-
// despite having improperly defined `toString` methods.
|
|
205
|
-
var result = false;
|
|
206
|
-
if (value != null && typeof value.toString != 'function') {
|
|
207
|
-
try {
|
|
208
|
-
result = !!(value + '');
|
|
209
|
-
} catch (e) {}
|
|
210
|
-
}
|
|
211
|
-
return result;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Converts `iterator` to an array.
|
|
218
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
219
|
+
* @example
|
|
216
220
|
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
221
|
+
* _.isLength(3);
|
|
222
|
+
* // => true
|
|
223
|
+
*
|
|
224
|
+
* _.isLength(Number.MIN_VALUE);
|
|
225
|
+
* // => false
|
|
226
|
+
*
|
|
227
|
+
* _.isLength(Infinity);
|
|
228
|
+
* // => false
|
|
229
|
+
*
|
|
230
|
+
* _.isLength('3');
|
|
231
|
+
* // => false
|
|
220
232
|
*/
|
|
221
|
-
function
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
while (!(data = iterator.next()).done) {
|
|
226
|
-
result.push(data.value);
|
|
227
|
-
}
|
|
228
|
-
return result;
|
|
233
|
+
function isLength(value) {
|
|
234
|
+
return typeof value == 'number' &&
|
|
235
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
229
236
|
}
|
|
230
237
|
|
|
231
238
|
/**
|
|
232
|
-
*
|
|
239
|
+
* Checks if `value` is the
|
|
240
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
241
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
233
242
|
*
|
|
234
|
-
* @
|
|
235
|
-
* @
|
|
236
|
-
* @
|
|
243
|
+
* @static
|
|
244
|
+
* @memberOf _
|
|
245
|
+
* @since 0.1.0
|
|
246
|
+
* @category Lang
|
|
247
|
+
* @param {*} value The value to check.
|
|
248
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
249
|
+
* @example
|
|
250
|
+
*
|
|
251
|
+
* _.isObject({});
|
|
252
|
+
* // => true
|
|
253
|
+
*
|
|
254
|
+
* _.isObject([1, 2, 3]);
|
|
255
|
+
* // => true
|
|
256
|
+
*
|
|
257
|
+
* _.isObject(_.noop);
|
|
258
|
+
* // => true
|
|
259
|
+
*
|
|
260
|
+
* _.isObject(null);
|
|
261
|
+
* // => false
|
|
237
262
|
*/
|
|
238
|
-
function
|
|
239
|
-
var
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
map.forEach(function(value, key) {
|
|
243
|
-
result[++index] = [key, value];
|
|
244
|
-
});
|
|
245
|
-
return result;
|
|
263
|
+
function isObject(value) {
|
|
264
|
+
var type = typeof value;
|
|
265
|
+
return !!value && (type == 'object' || type == 'function');
|
|
246
266
|
}
|
|
247
267
|
|
|
248
268
|
/**
|
|
249
|
-
*
|
|
269
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
270
|
+
* and has a `typeof` result of "object".
|
|
250
271
|
*
|
|
251
|
-
* @
|
|
252
|
-
* @
|
|
253
|
-
* @
|
|
254
|
-
* @
|
|
272
|
+
* @static
|
|
273
|
+
* @memberOf _
|
|
274
|
+
* @since 4.0.0
|
|
275
|
+
* @category Lang
|
|
276
|
+
* @param {*} value The value to check.
|
|
277
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
278
|
+
* @example
|
|
279
|
+
*
|
|
280
|
+
* _.isObjectLike({});
|
|
281
|
+
* // => true
|
|
282
|
+
*
|
|
283
|
+
* _.isObjectLike([1, 2, 3]);
|
|
284
|
+
* // => true
|
|
285
|
+
*
|
|
286
|
+
* _.isObjectLike(_.noop);
|
|
287
|
+
* // => false
|
|
288
|
+
*
|
|
289
|
+
* _.isObjectLike(null);
|
|
290
|
+
* // => false
|
|
255
291
|
*/
|
|
256
|
-
function
|
|
257
|
-
return
|
|
258
|
-
return func(transform(arg));
|
|
259
|
-
};
|
|
292
|
+
function isObjectLike(value) {
|
|
293
|
+
return !!value && typeof value == 'object';
|
|
260
294
|
}
|
|
261
295
|
|
|
262
296
|
/**
|
|
263
|
-
*
|
|
297
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
264
298
|
*
|
|
265
|
-
* @
|
|
266
|
-
* @
|
|
267
|
-
* @
|
|
299
|
+
* @static
|
|
300
|
+
* @memberOf _
|
|
301
|
+
* @since 4.0.0
|
|
302
|
+
* @category Lang
|
|
303
|
+
* @param {*} value The value to check.
|
|
304
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
305
|
+
* @example
|
|
306
|
+
*
|
|
307
|
+
* _.isSymbol(Symbol.iterator);
|
|
308
|
+
* // => true
|
|
309
|
+
*
|
|
310
|
+
* _.isSymbol('abc');
|
|
311
|
+
* // => false
|
|
268
312
|
*/
|
|
269
|
-
function
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
set.forEach(function(value) {
|
|
274
|
-
result[++index] = value;
|
|
275
|
-
});
|
|
276
|
-
return result;
|
|
313
|
+
function isSymbol(value) {
|
|
314
|
+
return typeof value == 'symbol' ||
|
|
315
|
+
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
277
316
|
}
|
|
278
317
|
|
|
279
318
|
/**
|
|
280
|
-
* Converts `
|
|
319
|
+
* Converts `value` to a finite number.
|
|
281
320
|
*
|
|
282
|
-
* @
|
|
283
|
-
* @
|
|
284
|
-
* @
|
|
321
|
+
* @static
|
|
322
|
+
* @memberOf _
|
|
323
|
+
* @since 4.12.0
|
|
324
|
+
* @category Lang
|
|
325
|
+
* @param {*} value The value to convert.
|
|
326
|
+
* @returns {number} Returns the converted number.
|
|
327
|
+
* @example
|
|
328
|
+
*
|
|
329
|
+
* _.toFinite(3.2);
|
|
330
|
+
* // => 3.2
|
|
331
|
+
*
|
|
332
|
+
* _.toFinite(Number.MIN_VALUE);
|
|
333
|
+
* // => 5e-324
|
|
334
|
+
*
|
|
335
|
+
* _.toFinite(Infinity);
|
|
336
|
+
* // => 1.7976931348623157e+308
|
|
337
|
+
*
|
|
338
|
+
* _.toFinite('3.2');
|
|
339
|
+
* // => 3.2
|
|
285
340
|
*/
|
|
286
|
-
function
|
|
287
|
-
|
|
288
|
-
?
|
|
289
|
-
|
|
341
|
+
function toFinite(value) {
|
|
342
|
+
if (!value) {
|
|
343
|
+
return value === 0 ? value : 0;
|
|
344
|
+
}
|
|
345
|
+
value = toNumber(value);
|
|
346
|
+
if (value === INFINITY || value === -Infinity) {
|
|
347
|
+
var sign = (value < 0 ? -1 : 1);
|
|
348
|
+
return sign * MAX_INTEGER;
|
|
349
|
+
}
|
|
350
|
+
return value === value ? value : 0;
|
|
290
351
|
}
|
|
291
352
|
|
|
292
353
|
/**
|
|
293
|
-
* Converts
|
|
354
|
+
* Converts `value` to a number.
|
|
294
355
|
*
|
|
295
|
-
* @
|
|
296
|
-
* @
|
|
297
|
-
* @
|
|
356
|
+
* @static
|
|
357
|
+
* @memberOf _
|
|
358
|
+
* @since 4.0.0
|
|
359
|
+
* @category Lang
|
|
360
|
+
* @param {*} value The value to process.
|
|
361
|
+
* @returns {number} Returns the number.
|
|
362
|
+
* @example
|
|
363
|
+
*
|
|
364
|
+
* _.toNumber(3.2);
|
|
365
|
+
* // => 3.2
|
|
366
|
+
*
|
|
367
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
368
|
+
* // => 5e-324
|
|
369
|
+
*
|
|
370
|
+
* _.toNumber(Infinity);
|
|
371
|
+
* // => Infinity
|
|
372
|
+
*
|
|
373
|
+
* _.toNumber('3.2');
|
|
374
|
+
* // => 3.2
|
|
298
375
|
*/
|
|
299
|
-
function
|
|
300
|
-
|
|
376
|
+
function toNumber(value) {
|
|
377
|
+
if (typeof value == 'number') {
|
|
378
|
+
return value;
|
|
379
|
+
}
|
|
380
|
+
if (isSymbol(value)) {
|
|
381
|
+
return NAN;
|
|
382
|
+
}
|
|
383
|
+
if (isObject(value)) {
|
|
384
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
385
|
+
value = isObject(other) ? (other + '') : other;
|
|
386
|
+
}
|
|
387
|
+
if (typeof value != 'string') {
|
|
388
|
+
return value === 0 ? value : +value;
|
|
389
|
+
}
|
|
390
|
+
value = value.replace(reTrim, '');
|
|
391
|
+
var isBinary = reIsBinary.test(value);
|
|
392
|
+
return (isBinary || reIsOctal.test(value))
|
|
393
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
394
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
301
395
|
}
|
|
302
396
|
|
|
303
|
-
/** Used for built-in method references. */
|
|
304
|
-
var funcProto = Function.prototype,
|
|
305
|
-
objectProto = Object.prototype;
|
|
306
|
-
|
|
307
|
-
/** Used to detect overreaching core-js shims. */
|
|
308
|
-
var coreJsData = root['__core-js_shared__'];
|
|
309
|
-
|
|
310
|
-
/** Used to detect methods masquerading as native. */
|
|
311
|
-
var maskSrcKey = (function() {
|
|
312
|
-
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
313
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
314
|
-
}());
|
|
315
|
-
|
|
316
|
-
/** Used to resolve the decompiled source of functions. */
|
|
317
|
-
var funcToString = funcProto.toString;
|
|
318
|
-
|
|
319
|
-
/** Used to check objects for own properties. */
|
|
320
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
321
|
-
|
|
322
397
|
/**
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
|
|
327
|
-
var objectToString = objectProto.toString;
|
|
328
|
-
|
|
329
|
-
/** Used to detect if a method is native. */
|
|
330
|
-
var reIsNative = RegExp('^' +
|
|
331
|
-
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
332
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
333
|
-
);
|
|
334
|
-
|
|
335
|
-
/** Built-in value references. */
|
|
336
|
-
var Symbol = root.Symbol,
|
|
337
|
-
iteratorSymbol = Symbol ? Symbol.iterator : undefined,
|
|
338
|
-
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
339
|
-
|
|
340
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
341
|
-
var nativeFloor = Math.floor,
|
|
342
|
-
nativeKeys = overArg(Object.keys, Object),
|
|
343
|
-
nativeRandom = Math.random;
|
|
344
|
-
|
|
345
|
-
/* Built-in method references that are verified to be native. */
|
|
346
|
-
var DataView = getNative(root, 'DataView'),
|
|
347
|
-
Map = getNative(root, 'Map'),
|
|
348
|
-
Promise = getNative(root, 'Promise'),
|
|
349
|
-
Set = getNative(root, 'Set'),
|
|
350
|
-
WeakMap = getNative(root, 'WeakMap');
|
|
351
|
-
|
|
352
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
353
|
-
var dataViewCtorString = toSource(DataView),
|
|
354
|
-
mapCtorString = toSource(Map),
|
|
355
|
-
promiseCtorString = toSource(Promise),
|
|
356
|
-
setCtorString = toSource(Set),
|
|
357
|
-
weakMapCtorString = toSource(WeakMap);
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
|
361
|
-
*
|
|
362
|
-
* @private
|
|
363
|
-
* @param {*} value The value to query.
|
|
364
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
365
|
-
* @returns {Array} Returns the array of property names.
|
|
366
|
-
*/
|
|
367
|
-
function arrayLikeKeys(value, inherited) {
|
|
368
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
369
|
-
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
|
370
|
-
var result = (isArray(value) || isArguments(value))
|
|
371
|
-
? baseTimes(value.length, String)
|
|
372
|
-
: [];
|
|
373
|
-
|
|
374
|
-
var length = result.length,
|
|
375
|
-
skipIndexes = !!length;
|
|
376
|
-
|
|
377
|
-
for (var key in value) {
|
|
378
|
-
if ((hasOwnProperty.call(value, key)) &&
|
|
379
|
-
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
|
380
|
-
result.push(key);
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
return result;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
388
|
-
*
|
|
389
|
-
* @private
|
|
390
|
-
* @param {number} number The number to clamp.
|
|
391
|
-
* @param {number} [lower] The lower bound.
|
|
392
|
-
* @param {number} upper The upper bound.
|
|
393
|
-
* @returns {number} Returns the clamped number.
|
|
394
|
-
*/
|
|
395
|
-
function baseClamp(number, lower, upper) {
|
|
396
|
-
if (number === number) {
|
|
397
|
-
if (upper !== undefined) {
|
|
398
|
-
number = number <= upper ? number : upper;
|
|
399
|
-
}
|
|
400
|
-
{
|
|
401
|
-
number = number >= lower ? number : lower;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
return number;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* The base implementation of `getTag`.
|
|
409
|
-
*
|
|
410
|
-
* @private
|
|
411
|
-
* @param {*} value The value to query.
|
|
412
|
-
* @returns {string} Returns the `toStringTag`.
|
|
413
|
-
*/
|
|
414
|
-
function baseGetTag(value) {
|
|
415
|
-
return objectToString.call(value);
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
|
420
|
-
*
|
|
421
|
-
* @private
|
|
422
|
-
* @param {*} value The value to check.
|
|
423
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
424
|
-
* else `false`.
|
|
425
|
-
*/
|
|
426
|
-
function baseIsNative(value) {
|
|
427
|
-
if (!isObject(value) || isMasked(value)) {
|
|
428
|
-
return false;
|
|
429
|
-
}
|
|
430
|
-
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
|
431
|
-
return pattern.test(toSource(value));
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
436
|
-
*
|
|
437
|
-
* @private
|
|
438
|
-
* @param {Object} object The object to query.
|
|
439
|
-
* @returns {Array} Returns the array of property names.
|
|
440
|
-
*/
|
|
441
|
-
function baseKeys(object) {
|
|
442
|
-
if (!isPrototype(object)) {
|
|
443
|
-
return nativeKeys(object);
|
|
444
|
-
}
|
|
445
|
-
var result = [];
|
|
446
|
-
for (var key in Object(object)) {
|
|
447
|
-
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
448
|
-
result.push(key);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
return result;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* The base implementation of `_.random` without support for returning
|
|
456
|
-
* floating-point numbers.
|
|
457
|
-
*
|
|
458
|
-
* @private
|
|
459
|
-
* @param {number} lower The lower bound.
|
|
460
|
-
* @param {number} upper The upper bound.
|
|
461
|
-
* @returns {number} Returns the random number.
|
|
462
|
-
*/
|
|
463
|
-
function baseRandom(lower, upper) {
|
|
464
|
-
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* Copies the values of `source` to `array`.
|
|
469
|
-
*
|
|
470
|
-
* @private
|
|
471
|
-
* @param {Array} source The array to copy values from.
|
|
472
|
-
* @param {Array} [array=[]] The array to copy values to.
|
|
473
|
-
* @returns {Array} Returns `array`.
|
|
474
|
-
*/
|
|
475
|
-
function copyArray(source, array) {
|
|
476
|
-
var index = -1,
|
|
477
|
-
length = source.length;
|
|
478
|
-
|
|
479
|
-
array || (array = Array(length));
|
|
480
|
-
while (++index < length) {
|
|
481
|
-
array[index] = source[index];
|
|
482
|
-
}
|
|
483
|
-
return array;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* Gets the native function at `key` of `object`.
|
|
488
|
-
*
|
|
489
|
-
* @private
|
|
490
|
-
* @param {Object} object The object to query.
|
|
491
|
-
* @param {string} key The key of the method to get.
|
|
492
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
493
|
-
*/
|
|
494
|
-
function getNative(object, key) {
|
|
495
|
-
var value = getValue(object, key);
|
|
496
|
-
return baseIsNative(value) ? value : undefined;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Gets the `toStringTag` of `value`.
|
|
501
|
-
*
|
|
502
|
-
* @private
|
|
503
|
-
* @param {*} value The value to query.
|
|
504
|
-
* @returns {string} Returns the `toStringTag`.
|
|
505
|
-
*/
|
|
506
|
-
var getTag = baseGetTag;
|
|
507
|
-
|
|
508
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
|
509
|
-
// for data views in Edge < 14, and promises in Node.js.
|
|
510
|
-
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
511
|
-
(Map && getTag(new Map) != mapTag) ||
|
|
512
|
-
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
|
513
|
-
(Set && getTag(new Set) != setTag) ||
|
|
514
|
-
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
515
|
-
getTag = function(value) {
|
|
516
|
-
var result = objectToString.call(value),
|
|
517
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
518
|
-
ctorString = Ctor ? toSource(Ctor) : undefined;
|
|
519
|
-
|
|
520
|
-
if (ctorString) {
|
|
521
|
-
switch (ctorString) {
|
|
522
|
-
case dataViewCtorString: return dataViewTag;
|
|
523
|
-
case mapCtorString: return mapTag;
|
|
524
|
-
case promiseCtorString: return promiseTag;
|
|
525
|
-
case setCtorString: return setTag;
|
|
526
|
-
case weakMapCtorString: return weakMapTag;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
return result;
|
|
530
|
-
};
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Checks if `value` is a valid array-like index.
|
|
535
|
-
*
|
|
536
|
-
* @private
|
|
537
|
-
* @param {*} value The value to check.
|
|
538
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
539
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
540
|
-
*/
|
|
541
|
-
function isIndex(value, length) {
|
|
542
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
543
|
-
return !!length &&
|
|
544
|
-
(typeof value == 'number' || reIsUint.test(value)) &&
|
|
545
|
-
(value > -1 && value % 1 == 0 && value < length);
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* Checks if the given arguments are from an iteratee call.
|
|
550
|
-
*
|
|
551
|
-
* @private
|
|
552
|
-
* @param {*} value The potential iteratee value argument.
|
|
553
|
-
* @param {*} index The potential iteratee index or key argument.
|
|
554
|
-
* @param {*} object The potential iteratee object argument.
|
|
555
|
-
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
556
|
-
* else `false`.
|
|
557
|
-
*/
|
|
558
|
-
function isIterateeCall(value, index, object) {
|
|
559
|
-
if (!isObject(object)) {
|
|
560
|
-
return false;
|
|
561
|
-
}
|
|
562
|
-
var type = typeof index;
|
|
563
|
-
if (type == 'number'
|
|
564
|
-
? (isArrayLike(object) && isIndex(index, object.length))
|
|
565
|
-
: (type == 'string' && index in object)
|
|
566
|
-
) {
|
|
567
|
-
return eq(object[index], value);
|
|
568
|
-
}
|
|
569
|
-
return false;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Checks if `func` has its source masked.
|
|
574
|
-
*
|
|
575
|
-
* @private
|
|
576
|
-
* @param {Function} func The function to check.
|
|
577
|
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
578
|
-
*/
|
|
579
|
-
function isMasked(func) {
|
|
580
|
-
return !!maskSrcKey && (maskSrcKey in func);
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Checks if `value` is likely a prototype object.
|
|
585
|
-
*
|
|
586
|
-
* @private
|
|
587
|
-
* @param {*} value The value to check.
|
|
588
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
589
|
-
*/
|
|
590
|
-
function isPrototype(value) {
|
|
591
|
-
var Ctor = value && value.constructor,
|
|
592
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
593
|
-
|
|
594
|
-
return value === proto;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* Converts `func` to its source code.
|
|
599
|
-
*
|
|
600
|
-
* @private
|
|
601
|
-
* @param {Function} func The function to process.
|
|
602
|
-
* @returns {string} Returns the source code.
|
|
603
|
-
*/
|
|
604
|
-
function toSource(func) {
|
|
605
|
-
if (func != null) {
|
|
606
|
-
try {
|
|
607
|
-
return funcToString.call(func);
|
|
608
|
-
} catch (e) {}
|
|
609
|
-
try {
|
|
610
|
-
return (func + '');
|
|
611
|
-
} catch (e) {}
|
|
612
|
-
}
|
|
613
|
-
return '';
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* Gets `n` random elements at unique keys from `collection` up to the
|
|
618
|
-
* size of `collection`.
|
|
619
|
-
*
|
|
620
|
-
* @static
|
|
621
|
-
* @memberOf _
|
|
622
|
-
* @since 4.0.0
|
|
623
|
-
* @category Collection
|
|
624
|
-
* @param {Array|Object} collection The collection to sample.
|
|
625
|
-
* @param {number} [n=1] The number of elements to sample.
|
|
626
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
627
|
-
* @returns {Array} Returns the random elements.
|
|
628
|
-
* @example
|
|
629
|
-
*
|
|
630
|
-
* _.sampleSize([1, 2, 3], 2);
|
|
631
|
-
* // => [3, 1]
|
|
632
|
-
*
|
|
633
|
-
* _.sampleSize([1, 2, 3], 4);
|
|
634
|
-
* // => [2, 3, 1]
|
|
635
|
-
*/
|
|
636
|
-
function sampleSize(collection, n, guard) {
|
|
637
|
-
var index = -1,
|
|
638
|
-
result = toArray(collection),
|
|
639
|
-
length = result.length,
|
|
640
|
-
lastIndex = length - 1;
|
|
641
|
-
|
|
642
|
-
if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
|
|
643
|
-
n = 1;
|
|
644
|
-
} else {
|
|
645
|
-
n = baseClamp(toInteger(n), 0, length);
|
|
646
|
-
}
|
|
647
|
-
while (++index < n) {
|
|
648
|
-
var rand = baseRandom(index, lastIndex),
|
|
649
|
-
value = result[rand];
|
|
650
|
-
|
|
651
|
-
result[rand] = result[index];
|
|
652
|
-
result[index] = value;
|
|
653
|
-
}
|
|
654
|
-
result.length = n;
|
|
655
|
-
return result;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* Performs a
|
|
660
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
661
|
-
* comparison between two values to determine if they are equivalent.
|
|
662
|
-
*
|
|
663
|
-
* @static
|
|
664
|
-
* @memberOf _
|
|
665
|
-
* @since 4.0.0
|
|
666
|
-
* @category Lang
|
|
667
|
-
* @param {*} value The value to compare.
|
|
668
|
-
* @param {*} other The other value to compare.
|
|
669
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
670
|
-
* @example
|
|
671
|
-
*
|
|
672
|
-
* var object = { 'a': 1 };
|
|
673
|
-
* var other = { 'a': 1 };
|
|
674
|
-
*
|
|
675
|
-
* _.eq(object, object);
|
|
676
|
-
* // => true
|
|
677
|
-
*
|
|
678
|
-
* _.eq(object, other);
|
|
679
|
-
* // => false
|
|
680
|
-
*
|
|
681
|
-
* _.eq('a', 'a');
|
|
682
|
-
* // => true
|
|
683
|
-
*
|
|
684
|
-
* _.eq('a', Object('a'));
|
|
685
|
-
* // => false
|
|
686
|
-
*
|
|
687
|
-
* _.eq(NaN, NaN);
|
|
688
|
-
* // => true
|
|
689
|
-
*/
|
|
690
|
-
function eq(value, other) {
|
|
691
|
-
return value === other || (value !== value && other !== other);
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* Checks if `value` is likely an `arguments` object.
|
|
696
|
-
*
|
|
697
|
-
* @static
|
|
698
|
-
* @memberOf _
|
|
699
|
-
* @since 0.1.0
|
|
700
|
-
* @category Lang
|
|
701
|
-
* @param {*} value The value to check.
|
|
702
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
703
|
-
* else `false`.
|
|
704
|
-
* @example
|
|
705
|
-
*
|
|
706
|
-
* _.isArguments(function() { return arguments; }());
|
|
707
|
-
* // => true
|
|
708
|
-
*
|
|
709
|
-
* _.isArguments([1, 2, 3]);
|
|
710
|
-
* // => false
|
|
711
|
-
*/
|
|
712
|
-
function isArguments(value) {
|
|
713
|
-
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
714
|
-
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
|
715
|
-
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
/**
|
|
719
|
-
* Checks if `value` is classified as an `Array` object.
|
|
720
|
-
*
|
|
721
|
-
* @static
|
|
722
|
-
* @memberOf _
|
|
723
|
-
* @since 0.1.0
|
|
724
|
-
* @category Lang
|
|
725
|
-
* @param {*} value The value to check.
|
|
726
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
727
|
-
* @example
|
|
728
|
-
*
|
|
729
|
-
* _.isArray([1, 2, 3]);
|
|
730
|
-
* // => true
|
|
731
|
-
*
|
|
732
|
-
* _.isArray(document.body.children);
|
|
733
|
-
* // => false
|
|
734
|
-
*
|
|
735
|
-
* _.isArray('abc');
|
|
736
|
-
* // => false
|
|
398
|
+
* Produces a random number between the inclusive `lower` and `upper` bounds.
|
|
399
|
+
* If only one argument is provided a number between `0` and the given number
|
|
400
|
+
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
|
401
|
+
* floats, a floating-point number is returned instead of an integer.
|
|
737
402
|
*
|
|
738
|
-
*
|
|
739
|
-
*
|
|
740
|
-
*/
|
|
741
|
-
var isArray = Array.isArray;
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
745
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
746
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
403
|
+
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
|
404
|
+
* floating-point values which can produce unexpected results.
|
|
747
405
|
*
|
|
748
406
|
* @static
|
|
749
407
|
* @memberOf _
|
|
750
|
-
* @since
|
|
751
|
-
* @category
|
|
752
|
-
* @param {
|
|
753
|
-
* @
|
|
408
|
+
* @since 0.7.0
|
|
409
|
+
* @category Number
|
|
410
|
+
* @param {number} [lower=0] The lower bound.
|
|
411
|
+
* @param {number} [upper=1] The upper bound.
|
|
412
|
+
* @param {boolean} [floating] Specify returning a floating-point number.
|
|
413
|
+
* @returns {number} Returns the random number.
|
|
754
414
|
* @example
|
|
755
415
|
*
|
|
756
|
-
* _.
|
|
757
|
-
* // =>
|
|
416
|
+
* _.random(0, 5);
|
|
417
|
+
* // => an integer between 0 and 5
|
|
758
418
|
*
|
|
759
|
-
* _.
|
|
760
|
-
* // =>
|
|
419
|
+
* _.random(5);
|
|
420
|
+
* // => also an integer between 0 and 5
|
|
761
421
|
*
|
|
762
|
-
* _.
|
|
763
|
-
* // =>
|
|
422
|
+
* _.random(5, true);
|
|
423
|
+
* // => a floating-point number between 0 and 5
|
|
764
424
|
*
|
|
765
|
-
* _.
|
|
766
|
-
* // =>
|
|
425
|
+
* _.random(1.2, 5.2);
|
|
426
|
+
* // => a floating-point number between 1.2 and 5.2
|
|
767
427
|
*/
|
|
768
|
-
function
|
|
769
|
-
|
|
428
|
+
function random(lower, upper, floating) {
|
|
429
|
+
if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
|
|
430
|
+
upper = floating = undefined;
|
|
431
|
+
}
|
|
432
|
+
if (floating === undefined) {
|
|
433
|
+
if (typeof upper == 'boolean') {
|
|
434
|
+
floating = upper;
|
|
435
|
+
upper = undefined;
|
|
436
|
+
}
|
|
437
|
+
else if (typeof lower == 'boolean') {
|
|
438
|
+
floating = lower;
|
|
439
|
+
lower = undefined;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
if (lower === undefined && upper === undefined) {
|
|
443
|
+
lower = 0;
|
|
444
|
+
upper = 1;
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
lower = toFinite(lower);
|
|
448
|
+
if (upper === undefined) {
|
|
449
|
+
upper = lower;
|
|
450
|
+
lower = 0;
|
|
451
|
+
} else {
|
|
452
|
+
upper = toFinite(upper);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
if (lower > upper) {
|
|
456
|
+
var temp = lower;
|
|
457
|
+
lower = upper;
|
|
458
|
+
upper = temp;
|
|
459
|
+
}
|
|
460
|
+
if (floating || lower % 1 || upper % 1) {
|
|
461
|
+
var rand = nativeRandom();
|
|
462
|
+
return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
|
|
463
|
+
}
|
|
464
|
+
return baseRandom(lower, upper);
|
|
770
465
|
}
|
|
771
466
|
|
|
467
|
+
lodash_random = random;
|
|
468
|
+
return lodash_random;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
var lodash_randomExports = requireLodash_random();
|
|
472
|
+
var random = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(lodash_randomExports);
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
476
|
+
* Build: `lodash modularize exports="npm" -o ./`
|
|
477
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
478
|
+
* Released under MIT license <https://lodash.com/license>
|
|
479
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
480
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
481
|
+
*/
|
|
482
|
+
|
|
483
|
+
var lodash_samplesize;
|
|
484
|
+
var hasRequiredLodash_samplesize;
|
|
485
|
+
|
|
486
|
+
function requireLodash_samplesize () {
|
|
487
|
+
if (hasRequiredLodash_samplesize) return lodash_samplesize;
|
|
488
|
+
hasRequiredLodash_samplesize = 1;
|
|
489
|
+
/** Used as references for various `Number` constants. */
|
|
490
|
+
var INFINITY = 1 / 0,
|
|
491
|
+
MAX_SAFE_INTEGER = 9007199254740991,
|
|
492
|
+
MAX_INTEGER = 1.7976931348623157e+308,
|
|
493
|
+
NAN = 0 / 0;
|
|
494
|
+
|
|
495
|
+
/** `Object#toString` result references. */
|
|
496
|
+
var argsTag = '[object Arguments]',
|
|
497
|
+
funcTag = '[object Function]',
|
|
498
|
+
genTag = '[object GeneratorFunction]',
|
|
499
|
+
mapTag = '[object Map]',
|
|
500
|
+
objectTag = '[object Object]',
|
|
501
|
+
promiseTag = '[object Promise]',
|
|
502
|
+
setTag = '[object Set]',
|
|
503
|
+
stringTag = '[object String]',
|
|
504
|
+
symbolTag = '[object Symbol]',
|
|
505
|
+
weakMapTag = '[object WeakMap]';
|
|
506
|
+
|
|
507
|
+
var dataViewTag = '[object DataView]';
|
|
508
|
+
|
|
772
509
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
* @static
|
|
777
|
-
* @memberOf _
|
|
778
|
-
* @since 4.0.0
|
|
779
|
-
* @category Lang
|
|
780
|
-
* @param {*} value The value to check.
|
|
781
|
-
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
782
|
-
* else `false`.
|
|
783
|
-
* @example
|
|
784
|
-
*
|
|
785
|
-
* _.isArrayLikeObject([1, 2, 3]);
|
|
786
|
-
* // => true
|
|
787
|
-
*
|
|
788
|
-
* _.isArrayLikeObject(document.body.children);
|
|
789
|
-
* // => true
|
|
790
|
-
*
|
|
791
|
-
* _.isArrayLikeObject('abc');
|
|
792
|
-
* // => false
|
|
793
|
-
*
|
|
794
|
-
* _.isArrayLikeObject(_.noop);
|
|
795
|
-
* // => false
|
|
510
|
+
* Used to match `RegExp`
|
|
511
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
796
512
|
*/
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
513
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
514
|
+
|
|
515
|
+
/** Used to match leading and trailing whitespace. */
|
|
516
|
+
var reTrim = /^\s+|\s+$/g;
|
|
517
|
+
|
|
518
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
519
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
520
|
+
|
|
521
|
+
/** Used to detect binary string values. */
|
|
522
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
523
|
+
|
|
524
|
+
/** Used to detect host constructors (Safari). */
|
|
525
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
526
|
+
|
|
527
|
+
/** Used to detect octal string values. */
|
|
528
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
529
|
+
|
|
530
|
+
/** Used to detect unsigned integer values. */
|
|
531
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
532
|
+
|
|
533
|
+
/** Used to compose unicode character classes. */
|
|
534
|
+
var rsAstralRange = '\\ud800-\\udfff',
|
|
535
|
+
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
|
|
536
|
+
rsComboSymbolsRange = '\\u20d0-\\u20f0',
|
|
537
|
+
rsVarRange = '\\ufe0e\\ufe0f';
|
|
538
|
+
|
|
539
|
+
/** Used to compose unicode capture groups. */
|
|
540
|
+
var rsAstral = '[' + rsAstralRange + ']',
|
|
541
|
+
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
|
|
542
|
+
rsFitz = '\\ud83c[\\udffb-\\udfff]',
|
|
543
|
+
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
|
|
544
|
+
rsNonAstral = '[^' + rsAstralRange + ']',
|
|
545
|
+
rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
|
|
546
|
+
rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
|
|
547
|
+
rsZWJ = '\\u200d';
|
|
548
|
+
|
|
549
|
+
/** Used to compose unicode regexes. */
|
|
550
|
+
var reOptMod = rsModifier + '?',
|
|
551
|
+
rsOptVar = '[' + rsVarRange + ']?',
|
|
552
|
+
rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
|
|
553
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin,
|
|
554
|
+
rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
|
|
555
|
+
|
|
556
|
+
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
557
|
+
var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
|
|
558
|
+
|
|
559
|
+
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
560
|
+
var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
|
|
561
|
+
|
|
562
|
+
/** Built-in method references without a dependency on `root`. */
|
|
563
|
+
var freeParseInt = parseInt;
|
|
564
|
+
|
|
565
|
+
/** Detect free variable `global` from Node.js. */
|
|
566
|
+
var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == 'object' && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
|
|
567
|
+
|
|
568
|
+
/** Detect free variable `self`. */
|
|
569
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
570
|
+
|
|
571
|
+
/** Used as a reference to the global object. */
|
|
572
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
800
573
|
|
|
801
574
|
/**
|
|
802
|
-
*
|
|
803
|
-
*
|
|
804
|
-
* @static
|
|
805
|
-
* @memberOf _
|
|
806
|
-
* @since 0.1.0
|
|
807
|
-
* @category Lang
|
|
808
|
-
* @param {*} value The value to check.
|
|
809
|
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
810
|
-
* @example
|
|
811
|
-
*
|
|
812
|
-
* _.isFunction(_);
|
|
813
|
-
* // => true
|
|
575
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
576
|
+
* shorthands.
|
|
814
577
|
*
|
|
815
|
-
*
|
|
816
|
-
*
|
|
578
|
+
* @private
|
|
579
|
+
* @param {Array} [array] The array to iterate over.
|
|
580
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
581
|
+
* @returns {Array} Returns the new mapped array.
|
|
817
582
|
*/
|
|
818
|
-
function
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
583
|
+
function arrayMap(array, iteratee) {
|
|
584
|
+
var index = -1,
|
|
585
|
+
length = array ? array.length : 0,
|
|
586
|
+
result = Array(length);
|
|
587
|
+
|
|
588
|
+
while (++index < length) {
|
|
589
|
+
result[index] = iteratee(array[index], index, array);
|
|
590
|
+
}
|
|
591
|
+
return result;
|
|
823
592
|
}
|
|
824
593
|
|
|
825
594
|
/**
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
* **Note:** This method is loosely based on
|
|
829
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
830
|
-
*
|
|
831
|
-
* @static
|
|
832
|
-
* @memberOf _
|
|
833
|
-
* @since 4.0.0
|
|
834
|
-
* @category Lang
|
|
835
|
-
* @param {*} value The value to check.
|
|
836
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
837
|
-
* @example
|
|
838
|
-
*
|
|
839
|
-
* _.isLength(3);
|
|
840
|
-
* // => true
|
|
841
|
-
*
|
|
842
|
-
* _.isLength(Number.MIN_VALUE);
|
|
843
|
-
* // => false
|
|
844
|
-
*
|
|
845
|
-
* _.isLength(Infinity);
|
|
846
|
-
* // => false
|
|
595
|
+
* Converts an ASCII `string` to an array.
|
|
847
596
|
*
|
|
848
|
-
*
|
|
849
|
-
*
|
|
597
|
+
* @private
|
|
598
|
+
* @param {string} string The string to convert.
|
|
599
|
+
* @returns {Array} Returns the converted array.
|
|
850
600
|
*/
|
|
851
|
-
function
|
|
852
|
-
return
|
|
853
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
601
|
+
function asciiToArray(string) {
|
|
602
|
+
return string.split('');
|
|
854
603
|
}
|
|
855
604
|
|
|
856
605
|
/**
|
|
857
|
-
*
|
|
858
|
-
*
|
|
859
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
860
|
-
*
|
|
861
|
-
* @static
|
|
862
|
-
* @memberOf _
|
|
863
|
-
* @since 0.1.0
|
|
864
|
-
* @category Lang
|
|
865
|
-
* @param {*} value The value to check.
|
|
866
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
867
|
-
* @example
|
|
868
|
-
*
|
|
869
|
-
* _.isObject({});
|
|
870
|
-
* // => true
|
|
871
|
-
*
|
|
872
|
-
* _.isObject([1, 2, 3]);
|
|
873
|
-
* // => true
|
|
874
|
-
*
|
|
875
|
-
* _.isObject(_.noop);
|
|
876
|
-
* // => true
|
|
606
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
607
|
+
* or max array length checks.
|
|
877
608
|
*
|
|
878
|
-
*
|
|
879
|
-
*
|
|
609
|
+
* @private
|
|
610
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
611
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
612
|
+
* @returns {Array} Returns the array of results.
|
|
880
613
|
*/
|
|
881
|
-
function
|
|
882
|
-
var
|
|
883
|
-
|
|
614
|
+
function baseTimes(n, iteratee) {
|
|
615
|
+
var index = -1,
|
|
616
|
+
result = Array(n);
|
|
617
|
+
|
|
618
|
+
while (++index < n) {
|
|
619
|
+
result[index] = iteratee(index);
|
|
620
|
+
}
|
|
621
|
+
return result;
|
|
884
622
|
}
|
|
885
623
|
|
|
886
624
|
/**
|
|
887
|
-
*
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
* @static
|
|
891
|
-
* @memberOf _
|
|
892
|
-
* @since 4.0.0
|
|
893
|
-
* @category Lang
|
|
894
|
-
* @param {*} value The value to check.
|
|
895
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
896
|
-
* @example
|
|
897
|
-
*
|
|
898
|
-
* _.isObjectLike({});
|
|
899
|
-
* // => true
|
|
900
|
-
*
|
|
901
|
-
* _.isObjectLike([1, 2, 3]);
|
|
902
|
-
* // => true
|
|
903
|
-
*
|
|
904
|
-
* _.isObjectLike(_.noop);
|
|
905
|
-
* // => false
|
|
625
|
+
* The base implementation of `_.values` and `_.valuesIn` which creates an
|
|
626
|
+
* array of `object` property values corresponding to the property names
|
|
627
|
+
* of `props`.
|
|
906
628
|
*
|
|
907
|
-
*
|
|
908
|
-
*
|
|
629
|
+
* @private
|
|
630
|
+
* @param {Object} object The object to query.
|
|
631
|
+
* @param {Array} props The property names to get values for.
|
|
632
|
+
* @returns {Object} Returns the array of property values.
|
|
909
633
|
*/
|
|
910
|
-
function
|
|
911
|
-
return
|
|
634
|
+
function baseValues(object, props) {
|
|
635
|
+
return arrayMap(props, function(key) {
|
|
636
|
+
return object[key];
|
|
637
|
+
});
|
|
912
638
|
}
|
|
913
639
|
|
|
914
640
|
/**
|
|
915
|
-
*
|
|
916
|
-
*
|
|
917
|
-
* @static
|
|
918
|
-
* @since 0.1.0
|
|
919
|
-
* @memberOf _
|
|
920
|
-
* @category Lang
|
|
921
|
-
* @param {*} value The value to check.
|
|
922
|
-
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
923
|
-
* @example
|
|
924
|
-
*
|
|
925
|
-
* _.isString('abc');
|
|
926
|
-
* // => true
|
|
641
|
+
* Gets the value at `key` of `object`.
|
|
927
642
|
*
|
|
928
|
-
*
|
|
929
|
-
*
|
|
643
|
+
* @private
|
|
644
|
+
* @param {Object} [object] The object to query.
|
|
645
|
+
* @param {string} key The key of the property to get.
|
|
646
|
+
* @returns {*} Returns the property value.
|
|
930
647
|
*/
|
|
931
|
-
function
|
|
932
|
-
return
|
|
933
|
-
(!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
|
|
648
|
+
function getValue(object, key) {
|
|
649
|
+
return object == null ? undefined : object[key];
|
|
934
650
|
}
|
|
935
651
|
|
|
936
652
|
/**
|
|
937
|
-
* Checks if `
|
|
938
|
-
*
|
|
939
|
-
* @static
|
|
940
|
-
* @memberOf _
|
|
941
|
-
* @since 4.0.0
|
|
942
|
-
* @category Lang
|
|
943
|
-
* @param {*} value The value to check.
|
|
944
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
945
|
-
* @example
|
|
946
|
-
*
|
|
947
|
-
* _.isSymbol(Symbol.iterator);
|
|
948
|
-
* // => true
|
|
653
|
+
* Checks if `string` contains Unicode symbols.
|
|
949
654
|
*
|
|
950
|
-
*
|
|
951
|
-
*
|
|
655
|
+
* @private
|
|
656
|
+
* @param {string} string The string to inspect.
|
|
657
|
+
* @returns {boolean} Returns `true` if a symbol is found, else `false`.
|
|
952
658
|
*/
|
|
953
|
-
function
|
|
954
|
-
return
|
|
955
|
-
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
659
|
+
function hasUnicode(string) {
|
|
660
|
+
return reHasUnicode.test(string);
|
|
956
661
|
}
|
|
957
662
|
|
|
958
663
|
/**
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
* @static
|
|
962
|
-
* @since 0.1.0
|
|
963
|
-
* @memberOf _
|
|
964
|
-
* @category Lang
|
|
965
|
-
* @param {*} value The value to convert.
|
|
966
|
-
* @returns {Array} Returns the converted array.
|
|
967
|
-
* @example
|
|
968
|
-
*
|
|
969
|
-
* _.toArray({ 'a': 1, 'b': 2 });
|
|
970
|
-
* // => [1, 2]
|
|
971
|
-
*
|
|
972
|
-
* _.toArray('abc');
|
|
973
|
-
* // => ['a', 'b', 'c']
|
|
974
|
-
*
|
|
975
|
-
* _.toArray(1);
|
|
976
|
-
* // => []
|
|
664
|
+
* Checks if `value` is a host object in IE < 9.
|
|
977
665
|
*
|
|
978
|
-
*
|
|
979
|
-
*
|
|
666
|
+
* @private
|
|
667
|
+
* @param {*} value The value to check.
|
|
668
|
+
* @returns {boolean} Returns `true` if `value` is a host object, else `false`.
|
|
980
669
|
*/
|
|
981
|
-
function
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
if (
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
return iteratorToArray(value[iteratorSymbol]());
|
|
670
|
+
function isHostObject(value) {
|
|
671
|
+
// Many host objects are `Object` objects that can coerce to strings
|
|
672
|
+
// despite having improperly defined `toString` methods.
|
|
673
|
+
var result = false;
|
|
674
|
+
if (value != null && typeof value.toString != 'function') {
|
|
675
|
+
try {
|
|
676
|
+
result = !!(value + '');
|
|
677
|
+
} catch (e) {}
|
|
990
678
|
}
|
|
991
|
-
|
|
992
|
-
func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
|
|
993
|
-
|
|
994
|
-
return func(value);
|
|
679
|
+
return result;
|
|
995
680
|
}
|
|
996
681
|
|
|
997
682
|
/**
|
|
998
|
-
* Converts `
|
|
999
|
-
*
|
|
1000
|
-
* @static
|
|
1001
|
-
* @memberOf _
|
|
1002
|
-
* @since 4.12.0
|
|
1003
|
-
* @category Lang
|
|
1004
|
-
* @param {*} value The value to convert.
|
|
1005
|
-
* @returns {number} Returns the converted number.
|
|
1006
|
-
* @example
|
|
1007
|
-
*
|
|
1008
|
-
* _.toFinite(3.2);
|
|
1009
|
-
* // => 3.2
|
|
1010
|
-
*
|
|
1011
|
-
* _.toFinite(Number.MIN_VALUE);
|
|
1012
|
-
* // => 5e-324
|
|
1013
|
-
*
|
|
1014
|
-
* _.toFinite(Infinity);
|
|
1015
|
-
* // => 1.7976931348623157e+308
|
|
683
|
+
* Converts `iterator` to an array.
|
|
1016
684
|
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
685
|
+
* @private
|
|
686
|
+
* @param {Object} iterator The iterator to convert.
|
|
687
|
+
* @returns {Array} Returns the converted array.
|
|
1019
688
|
*/
|
|
1020
|
-
function
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
var sign = (value < 0 ? -1 : 1);
|
|
1027
|
-
return sign * MAX_INTEGER;
|
|
689
|
+
function iteratorToArray(iterator) {
|
|
690
|
+
var data,
|
|
691
|
+
result = [];
|
|
692
|
+
|
|
693
|
+
while (!(data = iterator.next()).done) {
|
|
694
|
+
result.push(data.value);
|
|
1028
695
|
}
|
|
1029
|
-
return
|
|
696
|
+
return result;
|
|
1030
697
|
}
|
|
1031
698
|
|
|
1032
699
|
/**
|
|
1033
|
-
* Converts `
|
|
1034
|
-
*
|
|
1035
|
-
* **Note:** This method is loosely based on
|
|
1036
|
-
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
1037
|
-
*
|
|
1038
|
-
* @static
|
|
1039
|
-
* @memberOf _
|
|
1040
|
-
* @since 4.0.0
|
|
1041
|
-
* @category Lang
|
|
1042
|
-
* @param {*} value The value to convert.
|
|
1043
|
-
* @returns {number} Returns the converted integer.
|
|
1044
|
-
* @example
|
|
1045
|
-
*
|
|
1046
|
-
* _.toInteger(3.2);
|
|
1047
|
-
* // => 3
|
|
1048
|
-
*
|
|
1049
|
-
* _.toInteger(Number.MIN_VALUE);
|
|
1050
|
-
* // => 0
|
|
1051
|
-
*
|
|
1052
|
-
* _.toInteger(Infinity);
|
|
1053
|
-
* // => 1.7976931348623157e+308
|
|
700
|
+
* Converts `map` to its key-value pairs.
|
|
1054
701
|
*
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
702
|
+
* @private
|
|
703
|
+
* @param {Object} map The map to convert.
|
|
704
|
+
* @returns {Array} Returns the key-value pairs.
|
|
1057
705
|
*/
|
|
1058
|
-
function
|
|
1059
|
-
var
|
|
1060
|
-
|
|
706
|
+
function mapToArray(map) {
|
|
707
|
+
var index = -1,
|
|
708
|
+
result = Array(map.size);
|
|
1061
709
|
|
|
1062
|
-
|
|
710
|
+
map.forEach(function(value, key) {
|
|
711
|
+
result[++index] = [key, value];
|
|
712
|
+
});
|
|
713
|
+
return result;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
718
|
+
*
|
|
719
|
+
* @private
|
|
720
|
+
* @param {Function} func The function to wrap.
|
|
721
|
+
* @param {Function} transform The argument transform.
|
|
722
|
+
* @returns {Function} Returns the new function.
|
|
723
|
+
*/
|
|
724
|
+
function overArg(func, transform) {
|
|
725
|
+
return function(arg) {
|
|
726
|
+
return func(transform(arg));
|
|
727
|
+
};
|
|
1063
728
|
}
|
|
1064
729
|
|
|
1065
730
|
/**
|
|
1066
|
-
* Converts `
|
|
1067
|
-
*
|
|
1068
|
-
* @static
|
|
1069
|
-
* @memberOf _
|
|
1070
|
-
* @since 4.0.0
|
|
1071
|
-
* @category Lang
|
|
1072
|
-
* @param {*} value The value to process.
|
|
1073
|
-
* @returns {number} Returns the number.
|
|
1074
|
-
* @example
|
|
1075
|
-
*
|
|
1076
|
-
* _.toNumber(3.2);
|
|
1077
|
-
* // => 3.2
|
|
1078
|
-
*
|
|
1079
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
1080
|
-
* // => 5e-324
|
|
1081
|
-
*
|
|
1082
|
-
* _.toNumber(Infinity);
|
|
1083
|
-
* // => Infinity
|
|
731
|
+
* Converts `set` to an array of its values.
|
|
1084
732
|
*
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
733
|
+
* @private
|
|
734
|
+
* @param {Object} set The set to convert.
|
|
735
|
+
* @returns {Array} Returns the values.
|
|
1087
736
|
*/
|
|
1088
|
-
function
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
1097
|
-
value = isObject(other) ? (other + '') : other;
|
|
1098
|
-
}
|
|
1099
|
-
if (typeof value != 'string') {
|
|
1100
|
-
return value === 0 ? value : +value;
|
|
1101
|
-
}
|
|
1102
|
-
value = value.replace(reTrim, '');
|
|
1103
|
-
var isBinary = reIsBinary.test(value);
|
|
1104
|
-
return (isBinary || reIsOctal.test(value))
|
|
1105
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
1106
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
737
|
+
function setToArray(set) {
|
|
738
|
+
var index = -1,
|
|
739
|
+
result = Array(set.size);
|
|
740
|
+
|
|
741
|
+
set.forEach(function(value) {
|
|
742
|
+
result[++index] = value;
|
|
743
|
+
});
|
|
744
|
+
return result;
|
|
1107
745
|
}
|
|
1108
746
|
|
|
1109
747
|
/**
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
* **Note:** Non-object values are coerced to objects. See the
|
|
1113
|
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1114
|
-
* for more details.
|
|
1115
|
-
*
|
|
1116
|
-
* @static
|
|
1117
|
-
* @since 0.1.0
|
|
1118
|
-
* @memberOf _
|
|
1119
|
-
* @category Object
|
|
1120
|
-
* @param {Object} object The object to query.
|
|
1121
|
-
* @returns {Array} Returns the array of property names.
|
|
1122
|
-
* @example
|
|
1123
|
-
*
|
|
1124
|
-
* function Foo() {
|
|
1125
|
-
* this.a = 1;
|
|
1126
|
-
* this.b = 2;
|
|
1127
|
-
* }
|
|
1128
|
-
*
|
|
1129
|
-
* Foo.prototype.c = 3;
|
|
1130
|
-
*
|
|
1131
|
-
* _.keys(new Foo);
|
|
1132
|
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
748
|
+
* Converts `string` to an array.
|
|
1133
749
|
*
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
750
|
+
* @private
|
|
751
|
+
* @param {string} string The string to convert.
|
|
752
|
+
* @returns {Array} Returns the converted array.
|
|
1136
753
|
*/
|
|
1137
|
-
function
|
|
1138
|
-
return
|
|
754
|
+
function stringToArray(string) {
|
|
755
|
+
return hasUnicode(string)
|
|
756
|
+
? unicodeToArray(string)
|
|
757
|
+
: asciiToArray(string);
|
|
1139
758
|
}
|
|
1140
759
|
|
|
1141
760
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
*
|
|
1144
|
-
* **Note:** Non-object values are coerced to objects.
|
|
1145
|
-
*
|
|
1146
|
-
* @static
|
|
1147
|
-
* @since 0.1.0
|
|
1148
|
-
* @memberOf _
|
|
1149
|
-
* @category Object
|
|
1150
|
-
* @param {Object} object The object to query.
|
|
1151
|
-
* @returns {Array} Returns the array of property values.
|
|
1152
|
-
* @example
|
|
1153
|
-
*
|
|
1154
|
-
* function Foo() {
|
|
1155
|
-
* this.a = 1;
|
|
1156
|
-
* this.b = 2;
|
|
1157
|
-
* }
|
|
1158
|
-
*
|
|
1159
|
-
* Foo.prototype.c = 3;
|
|
1160
|
-
*
|
|
1161
|
-
* _.values(new Foo);
|
|
1162
|
-
* // => [1, 2] (iteration order is not guaranteed)
|
|
761
|
+
* Converts a Unicode `string` to an array.
|
|
1163
762
|
*
|
|
1164
|
-
*
|
|
1165
|
-
*
|
|
763
|
+
* @private
|
|
764
|
+
* @param {string} string The string to convert.
|
|
765
|
+
* @returns {Array} Returns the converted array.
|
|
1166
766
|
*/
|
|
1167
|
-
function
|
|
1168
|
-
return
|
|
767
|
+
function unicodeToArray(string) {
|
|
768
|
+
return string.match(reUnicode) || [];
|
|
1169
769
|
}
|
|
1170
770
|
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
771
|
+
/** Used for built-in method references. */
|
|
772
|
+
var funcProto = Function.prototype,
|
|
773
|
+
objectProto = Object.prototype;
|
|
1174
774
|
|
|
1175
|
-
|
|
1176
|
-
var
|
|
775
|
+
/** Used to detect overreaching core-js shims. */
|
|
776
|
+
var coreJsData = root['__core-js_shared__'];
|
|
1177
777
|
|
|
1178
|
-
/**
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1184
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1185
|
-
*/
|
|
778
|
+
/** Used to detect methods masquerading as native. */
|
|
779
|
+
var maskSrcKey = (function() {
|
|
780
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
781
|
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
782
|
+
}());
|
|
1186
783
|
|
|
1187
|
-
|
|
1188
|
-
var
|
|
784
|
+
/** Used to resolve the decompiled source of functions. */
|
|
785
|
+
var funcToString = funcProto.toString;
|
|
1189
786
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
hasRequiredLodash_random = 1;
|
|
1193
|
-
/** Used as references for various `Number` constants. */
|
|
1194
|
-
var INFINITY = 1 / 0,
|
|
1195
|
-
MAX_SAFE_INTEGER = 9007199254740991,
|
|
1196
|
-
MAX_INTEGER = 1.7976931348623157e+308,
|
|
1197
|
-
NAN = 0 / 0;
|
|
787
|
+
/** Used to check objects for own properties. */
|
|
788
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1198
789
|
|
|
1199
|
-
/**
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
790
|
+
/**
|
|
791
|
+
* Used to resolve the
|
|
792
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
793
|
+
* of values.
|
|
794
|
+
*/
|
|
795
|
+
var objectToString = objectProto.toString;
|
|
1203
796
|
|
|
1204
|
-
/** Used to
|
|
1205
|
-
var
|
|
797
|
+
/** Used to detect if a method is native. */
|
|
798
|
+
var reIsNative = RegExp('^' +
|
|
799
|
+
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
800
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
801
|
+
);
|
|
1206
802
|
|
|
1207
|
-
/**
|
|
1208
|
-
var
|
|
803
|
+
/** Built-in value references. */
|
|
804
|
+
var Symbol = root.Symbol,
|
|
805
|
+
iteratorSymbol = Symbol ? Symbol.iterator : undefined,
|
|
806
|
+
propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
1209
807
|
|
|
1210
|
-
|
|
1211
|
-
var
|
|
808
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
809
|
+
var nativeFloor = Math.floor,
|
|
810
|
+
nativeKeys = overArg(Object.keys, Object),
|
|
811
|
+
nativeRandom = Math.random;
|
|
1212
812
|
|
|
1213
|
-
|
|
1214
|
-
var
|
|
813
|
+
/* Built-in method references that are verified to be native. */
|
|
814
|
+
var DataView = getNative(root, 'DataView'),
|
|
815
|
+
Map = getNative(root, 'Map'),
|
|
816
|
+
Promise = getNative(root, 'Promise'),
|
|
817
|
+
Set = getNative(root, 'Set'),
|
|
818
|
+
WeakMap = getNative(root, 'WeakMap');
|
|
1215
819
|
|
|
1216
|
-
/** Used to detect
|
|
1217
|
-
var
|
|
820
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
821
|
+
var dataViewCtorString = toSource(DataView),
|
|
822
|
+
mapCtorString = toSource(Map),
|
|
823
|
+
promiseCtorString = toSource(Promise),
|
|
824
|
+
setCtorString = toSource(Set),
|
|
825
|
+
weakMapCtorString = toSource(WeakMap);
|
|
1218
826
|
|
|
1219
|
-
/**
|
|
1220
|
-
|
|
1221
|
-
|
|
827
|
+
/**
|
|
828
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
829
|
+
*
|
|
830
|
+
* @private
|
|
831
|
+
* @param {*} value The value to query.
|
|
832
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
833
|
+
* @returns {Array} Returns the array of property names.
|
|
834
|
+
*/
|
|
835
|
+
function arrayLikeKeys(value, inherited) {
|
|
836
|
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
837
|
+
// Safari 9 makes `arguments.length` enumerable in strict mode.
|
|
838
|
+
var result = (isArray(value) || isArguments(value))
|
|
839
|
+
? baseTimes(value.length, String)
|
|
840
|
+
: [];
|
|
841
|
+
|
|
842
|
+
var length = result.length,
|
|
843
|
+
skipIndexes = !!length;
|
|
844
|
+
|
|
845
|
+
for (var key in value) {
|
|
846
|
+
if ((hasOwnProperty.call(value, key)) &&
|
|
847
|
+
!(skipIndexes && (key == 'length' || isIndex(key, length)))) {
|
|
848
|
+
result.push(key);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
return result;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* The base implementation of `_.clamp` which doesn't coerce arguments.
|
|
856
|
+
*
|
|
857
|
+
* @private
|
|
858
|
+
* @param {number} number The number to clamp.
|
|
859
|
+
* @param {number} [lower] The lower bound.
|
|
860
|
+
* @param {number} upper The upper bound.
|
|
861
|
+
* @returns {number} Returns the clamped number.
|
|
862
|
+
*/
|
|
863
|
+
function baseClamp(number, lower, upper) {
|
|
864
|
+
if (number === number) {
|
|
865
|
+
if (upper !== undefined) {
|
|
866
|
+
number = number <= upper ? number : upper;
|
|
867
|
+
}
|
|
868
|
+
{
|
|
869
|
+
number = number >= lower ? number : lower;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return number;
|
|
873
|
+
}
|
|
1222
874
|
|
|
1223
|
-
/**
|
|
1224
|
-
|
|
875
|
+
/**
|
|
876
|
+
* The base implementation of `getTag`.
|
|
877
|
+
*
|
|
878
|
+
* @private
|
|
879
|
+
* @param {*} value The value to query.
|
|
880
|
+
* @returns {string} Returns the `toStringTag`.
|
|
881
|
+
*/
|
|
882
|
+
function baseGetTag(value) {
|
|
883
|
+
return objectToString.call(value);
|
|
884
|
+
}
|
|
1225
885
|
|
|
1226
886
|
/**
|
|
1227
|
-
*
|
|
1228
|
-
*
|
|
1229
|
-
*
|
|
887
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
888
|
+
*
|
|
889
|
+
* @private
|
|
890
|
+
* @param {*} value The value to check.
|
|
891
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
892
|
+
* else `false`.
|
|
1230
893
|
*/
|
|
1231
|
-
|
|
894
|
+
function baseIsNative(value) {
|
|
895
|
+
if (!isObject(value) || isMasked(value)) {
|
|
896
|
+
return false;
|
|
897
|
+
}
|
|
898
|
+
var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
|
|
899
|
+
return pattern.test(toSource(value));
|
|
900
|
+
}
|
|
1232
901
|
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
902
|
+
/**
|
|
903
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
904
|
+
*
|
|
905
|
+
* @private
|
|
906
|
+
* @param {Object} object The object to query.
|
|
907
|
+
* @returns {Array} Returns the array of property names.
|
|
908
|
+
*/
|
|
909
|
+
function baseKeys(object) {
|
|
910
|
+
if (!isPrototype(object)) {
|
|
911
|
+
return nativeKeys(object);
|
|
912
|
+
}
|
|
913
|
+
var result = [];
|
|
914
|
+
for (var key in Object(object)) {
|
|
915
|
+
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
916
|
+
result.push(key);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
return result;
|
|
920
|
+
}
|
|
1237
921
|
|
|
1238
922
|
/**
|
|
1239
923
|
* The base implementation of `_.random` without support for returning
|
|
@@ -1248,6 +932,72 @@ function requireLodash_random () {
|
|
|
1248
932
|
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
1249
933
|
}
|
|
1250
934
|
|
|
935
|
+
/**
|
|
936
|
+
* Copies the values of `source` to `array`.
|
|
937
|
+
*
|
|
938
|
+
* @private
|
|
939
|
+
* @param {Array} source The array to copy values from.
|
|
940
|
+
* @param {Array} [array=[]] The array to copy values to.
|
|
941
|
+
* @returns {Array} Returns `array`.
|
|
942
|
+
*/
|
|
943
|
+
function copyArray(source, array) {
|
|
944
|
+
var index = -1,
|
|
945
|
+
length = source.length;
|
|
946
|
+
|
|
947
|
+
array || (array = Array(length));
|
|
948
|
+
while (++index < length) {
|
|
949
|
+
array[index] = source[index];
|
|
950
|
+
}
|
|
951
|
+
return array;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Gets the native function at `key` of `object`.
|
|
956
|
+
*
|
|
957
|
+
* @private
|
|
958
|
+
* @param {Object} object The object to query.
|
|
959
|
+
* @param {string} key The key of the method to get.
|
|
960
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
961
|
+
*/
|
|
962
|
+
function getNative(object, key) {
|
|
963
|
+
var value = getValue(object, key);
|
|
964
|
+
return baseIsNative(value) ? value : undefined;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Gets the `toStringTag` of `value`.
|
|
969
|
+
*
|
|
970
|
+
* @private
|
|
971
|
+
* @param {*} value The value to query.
|
|
972
|
+
* @returns {string} Returns the `toStringTag`.
|
|
973
|
+
*/
|
|
974
|
+
var getTag = baseGetTag;
|
|
975
|
+
|
|
976
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11,
|
|
977
|
+
// for data views in Edge < 14, and promises in Node.js.
|
|
978
|
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
979
|
+
(Map && getTag(new Map) != mapTag) ||
|
|
980
|
+
(Promise && getTag(Promise.resolve()) != promiseTag) ||
|
|
981
|
+
(Set && getTag(new Set) != setTag) ||
|
|
982
|
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
983
|
+
getTag = function(value) {
|
|
984
|
+
var result = objectToString.call(value),
|
|
985
|
+
Ctor = result == objectTag ? value.constructor : undefined,
|
|
986
|
+
ctorString = Ctor ? toSource(Ctor) : undefined;
|
|
987
|
+
|
|
988
|
+
if (ctorString) {
|
|
989
|
+
switch (ctorString) {
|
|
990
|
+
case dataViewCtorString: return dataViewTag;
|
|
991
|
+
case mapCtorString: return mapTag;
|
|
992
|
+
case promiseCtorString: return promiseTag;
|
|
993
|
+
case setCtorString: return setTag;
|
|
994
|
+
case weakMapCtorString: return weakMapTag;
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
return result;
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
|
|
1251
1001
|
/**
|
|
1252
1002
|
* Checks if `value` is a valid array-like index.
|
|
1253
1003
|
*
|
|
@@ -1287,6 +1037,92 @@ function requireLodash_random () {
|
|
|
1287
1037
|
return false;
|
|
1288
1038
|
}
|
|
1289
1039
|
|
|
1040
|
+
/**
|
|
1041
|
+
* Checks if `func` has its source masked.
|
|
1042
|
+
*
|
|
1043
|
+
* @private
|
|
1044
|
+
* @param {Function} func The function to check.
|
|
1045
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
1046
|
+
*/
|
|
1047
|
+
function isMasked(func) {
|
|
1048
|
+
return !!maskSrcKey && (maskSrcKey in func);
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Checks if `value` is likely a prototype object.
|
|
1053
|
+
*
|
|
1054
|
+
* @private
|
|
1055
|
+
* @param {*} value The value to check.
|
|
1056
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
1057
|
+
*/
|
|
1058
|
+
function isPrototype(value) {
|
|
1059
|
+
var Ctor = value && value.constructor,
|
|
1060
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
|
1061
|
+
|
|
1062
|
+
return value === proto;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Converts `func` to its source code.
|
|
1067
|
+
*
|
|
1068
|
+
* @private
|
|
1069
|
+
* @param {Function} func The function to process.
|
|
1070
|
+
* @returns {string} Returns the source code.
|
|
1071
|
+
*/
|
|
1072
|
+
function toSource(func) {
|
|
1073
|
+
if (func != null) {
|
|
1074
|
+
try {
|
|
1075
|
+
return funcToString.call(func);
|
|
1076
|
+
} catch (e) {}
|
|
1077
|
+
try {
|
|
1078
|
+
return (func + '');
|
|
1079
|
+
} catch (e) {}
|
|
1080
|
+
}
|
|
1081
|
+
return '';
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Gets `n` random elements at unique keys from `collection` up to the
|
|
1086
|
+
* size of `collection`.
|
|
1087
|
+
*
|
|
1088
|
+
* @static
|
|
1089
|
+
* @memberOf _
|
|
1090
|
+
* @since 4.0.0
|
|
1091
|
+
* @category Collection
|
|
1092
|
+
* @param {Array|Object} collection The collection to sample.
|
|
1093
|
+
* @param {number} [n=1] The number of elements to sample.
|
|
1094
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
1095
|
+
* @returns {Array} Returns the random elements.
|
|
1096
|
+
* @example
|
|
1097
|
+
*
|
|
1098
|
+
* _.sampleSize([1, 2, 3], 2);
|
|
1099
|
+
* // => [3, 1]
|
|
1100
|
+
*
|
|
1101
|
+
* _.sampleSize([1, 2, 3], 4);
|
|
1102
|
+
* // => [2, 3, 1]
|
|
1103
|
+
*/
|
|
1104
|
+
function sampleSize(collection, n, guard) {
|
|
1105
|
+
var index = -1,
|
|
1106
|
+
result = toArray(collection),
|
|
1107
|
+
length = result.length,
|
|
1108
|
+
lastIndex = length - 1;
|
|
1109
|
+
|
|
1110
|
+
if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
|
|
1111
|
+
n = 1;
|
|
1112
|
+
} else {
|
|
1113
|
+
n = baseClamp(toInteger(n), 0, length);
|
|
1114
|
+
}
|
|
1115
|
+
while (++index < n) {
|
|
1116
|
+
var rand = baseRandom(index, lastIndex),
|
|
1117
|
+
value = result[rand];
|
|
1118
|
+
|
|
1119
|
+
result[rand] = result[index];
|
|
1120
|
+
result[index] = value;
|
|
1121
|
+
}
|
|
1122
|
+
result.length = n;
|
|
1123
|
+
return result;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1290
1126
|
/**
|
|
1291
1127
|
* Performs a
|
|
1292
1128
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -1304,24 +1140,73 @@ function requireLodash_random () {
|
|
|
1304
1140
|
* var object = { 'a': 1 };
|
|
1305
1141
|
* var other = { 'a': 1 };
|
|
1306
1142
|
*
|
|
1307
|
-
* _.eq(object, object);
|
|
1143
|
+
* _.eq(object, object);
|
|
1144
|
+
* // => true
|
|
1145
|
+
*
|
|
1146
|
+
* _.eq(object, other);
|
|
1147
|
+
* // => false
|
|
1148
|
+
*
|
|
1149
|
+
* _.eq('a', 'a');
|
|
1150
|
+
* // => true
|
|
1151
|
+
*
|
|
1152
|
+
* _.eq('a', Object('a'));
|
|
1153
|
+
* // => false
|
|
1154
|
+
*
|
|
1155
|
+
* _.eq(NaN, NaN);
|
|
1156
|
+
* // => true
|
|
1157
|
+
*/
|
|
1158
|
+
function eq(value, other) {
|
|
1159
|
+
return value === other || (value !== value && other !== other);
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Checks if `value` is likely an `arguments` object.
|
|
1164
|
+
*
|
|
1165
|
+
* @static
|
|
1166
|
+
* @memberOf _
|
|
1167
|
+
* @since 0.1.0
|
|
1168
|
+
* @category Lang
|
|
1169
|
+
* @param {*} value The value to check.
|
|
1170
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1171
|
+
* else `false`.
|
|
1172
|
+
* @example
|
|
1173
|
+
*
|
|
1174
|
+
* _.isArguments(function() { return arguments; }());
|
|
1175
|
+
* // => true
|
|
1176
|
+
*
|
|
1177
|
+
* _.isArguments([1, 2, 3]);
|
|
1178
|
+
* // => false
|
|
1179
|
+
*/
|
|
1180
|
+
function isArguments(value) {
|
|
1181
|
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
|
1182
|
+
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
|
1183
|
+
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Checks if `value` is classified as an `Array` object.
|
|
1188
|
+
*
|
|
1189
|
+
* @static
|
|
1190
|
+
* @memberOf _
|
|
1191
|
+
* @since 0.1.0
|
|
1192
|
+
* @category Lang
|
|
1193
|
+
* @param {*} value The value to check.
|
|
1194
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
1195
|
+
* @example
|
|
1196
|
+
*
|
|
1197
|
+
* _.isArray([1, 2, 3]);
|
|
1308
1198
|
* // => true
|
|
1309
1199
|
*
|
|
1310
|
-
* _.
|
|
1200
|
+
* _.isArray(document.body.children);
|
|
1311
1201
|
* // => false
|
|
1312
1202
|
*
|
|
1313
|
-
* _.
|
|
1314
|
-
* // => true
|
|
1315
|
-
*
|
|
1316
|
-
* _.eq('a', Object('a'));
|
|
1203
|
+
* _.isArray('abc');
|
|
1317
1204
|
* // => false
|
|
1318
1205
|
*
|
|
1319
|
-
* _.
|
|
1320
|
-
* // =>
|
|
1206
|
+
* _.isArray(_.noop);
|
|
1207
|
+
* // => false
|
|
1321
1208
|
*/
|
|
1322
|
-
|
|
1323
|
-
return value === other || (value !== value && other !== other);
|
|
1324
|
-
}
|
|
1209
|
+
var isArray = Array.isArray;
|
|
1325
1210
|
|
|
1326
1211
|
/**
|
|
1327
1212
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
@@ -1352,6 +1237,35 @@ function requireLodash_random () {
|
|
|
1352
1237
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
1353
1238
|
}
|
|
1354
1239
|
|
|
1240
|
+
/**
|
|
1241
|
+
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
1242
|
+
* is an object.
|
|
1243
|
+
*
|
|
1244
|
+
* @static
|
|
1245
|
+
* @memberOf _
|
|
1246
|
+
* @since 4.0.0
|
|
1247
|
+
* @category Lang
|
|
1248
|
+
* @param {*} value The value to check.
|
|
1249
|
+
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
1250
|
+
* else `false`.
|
|
1251
|
+
* @example
|
|
1252
|
+
*
|
|
1253
|
+
* _.isArrayLikeObject([1, 2, 3]);
|
|
1254
|
+
* // => true
|
|
1255
|
+
*
|
|
1256
|
+
* _.isArrayLikeObject(document.body.children);
|
|
1257
|
+
* // => true
|
|
1258
|
+
*
|
|
1259
|
+
* _.isArrayLikeObject('abc');
|
|
1260
|
+
* // => false
|
|
1261
|
+
*
|
|
1262
|
+
* _.isArrayLikeObject(_.noop);
|
|
1263
|
+
* // => false
|
|
1264
|
+
*/
|
|
1265
|
+
function isArrayLikeObject(value) {
|
|
1266
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1355
1269
|
/**
|
|
1356
1270
|
* Checks if `value` is classified as a `Function` object.
|
|
1357
1271
|
*
|
|
@@ -1465,6 +1379,28 @@ function requireLodash_random () {
|
|
|
1465
1379
|
return !!value && typeof value == 'object';
|
|
1466
1380
|
}
|
|
1467
1381
|
|
|
1382
|
+
/**
|
|
1383
|
+
* Checks if `value` is classified as a `String` primitive or object.
|
|
1384
|
+
*
|
|
1385
|
+
* @static
|
|
1386
|
+
* @since 0.1.0
|
|
1387
|
+
* @memberOf _
|
|
1388
|
+
* @category Lang
|
|
1389
|
+
* @param {*} value The value to check.
|
|
1390
|
+
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
1391
|
+
* @example
|
|
1392
|
+
*
|
|
1393
|
+
* _.isString('abc');
|
|
1394
|
+
* // => true
|
|
1395
|
+
*
|
|
1396
|
+
* _.isString(1);
|
|
1397
|
+
* // => false
|
|
1398
|
+
*/
|
|
1399
|
+
function isString(value) {
|
|
1400
|
+
return typeof value == 'string' ||
|
|
1401
|
+
(!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1468
1404
|
/**
|
|
1469
1405
|
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
1470
1406
|
*
|
|
@@ -1487,6 +1423,45 @@ function requireLodash_random () {
|
|
|
1487
1423
|
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
1488
1424
|
}
|
|
1489
1425
|
|
|
1426
|
+
/**
|
|
1427
|
+
* Converts `value` to an array.
|
|
1428
|
+
*
|
|
1429
|
+
* @static
|
|
1430
|
+
* @since 0.1.0
|
|
1431
|
+
* @memberOf _
|
|
1432
|
+
* @category Lang
|
|
1433
|
+
* @param {*} value The value to convert.
|
|
1434
|
+
* @returns {Array} Returns the converted array.
|
|
1435
|
+
* @example
|
|
1436
|
+
*
|
|
1437
|
+
* _.toArray({ 'a': 1, 'b': 2 });
|
|
1438
|
+
* // => [1, 2]
|
|
1439
|
+
*
|
|
1440
|
+
* _.toArray('abc');
|
|
1441
|
+
* // => ['a', 'b', 'c']
|
|
1442
|
+
*
|
|
1443
|
+
* _.toArray(1);
|
|
1444
|
+
* // => []
|
|
1445
|
+
*
|
|
1446
|
+
* _.toArray(null);
|
|
1447
|
+
* // => []
|
|
1448
|
+
*/
|
|
1449
|
+
function toArray(value) {
|
|
1450
|
+
if (!value) {
|
|
1451
|
+
return [];
|
|
1452
|
+
}
|
|
1453
|
+
if (isArrayLike(value)) {
|
|
1454
|
+
return isString(value) ? stringToArray(value) : copyArray(value);
|
|
1455
|
+
}
|
|
1456
|
+
if (iteratorSymbol && value[iteratorSymbol]) {
|
|
1457
|
+
return iteratorToArray(value[iteratorSymbol]());
|
|
1458
|
+
}
|
|
1459
|
+
var tag = getTag(value),
|
|
1460
|
+
func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
|
|
1461
|
+
|
|
1462
|
+
return func(value);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1490
1465
|
/**
|
|
1491
1466
|
* Converts `value` to a finite number.
|
|
1492
1467
|
*
|
|
@@ -1522,6 +1497,39 @@ function requireLodash_random () {
|
|
|
1522
1497
|
return value === value ? value : 0;
|
|
1523
1498
|
}
|
|
1524
1499
|
|
|
1500
|
+
/**
|
|
1501
|
+
* Converts `value` to an integer.
|
|
1502
|
+
*
|
|
1503
|
+
* **Note:** This method is loosely based on
|
|
1504
|
+
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
|
|
1505
|
+
*
|
|
1506
|
+
* @static
|
|
1507
|
+
* @memberOf _
|
|
1508
|
+
* @since 4.0.0
|
|
1509
|
+
* @category Lang
|
|
1510
|
+
* @param {*} value The value to convert.
|
|
1511
|
+
* @returns {number} Returns the converted integer.
|
|
1512
|
+
* @example
|
|
1513
|
+
*
|
|
1514
|
+
* _.toInteger(3.2);
|
|
1515
|
+
* // => 3
|
|
1516
|
+
*
|
|
1517
|
+
* _.toInteger(Number.MIN_VALUE);
|
|
1518
|
+
* // => 0
|
|
1519
|
+
*
|
|
1520
|
+
* _.toInteger(Infinity);
|
|
1521
|
+
* // => 1.7976931348623157e+308
|
|
1522
|
+
*
|
|
1523
|
+
* _.toInteger('3.2');
|
|
1524
|
+
* // => 3
|
|
1525
|
+
*/
|
|
1526
|
+
function toInteger(value) {
|
|
1527
|
+
var result = toFinite(value),
|
|
1528
|
+
remainder = result % 1;
|
|
1529
|
+
|
|
1530
|
+
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1525
1533
|
/**
|
|
1526
1534
|
* Converts `value` to a number.
|
|
1527
1535
|
*
|
|
@@ -1567,81 +1575,73 @@ function requireLodash_random () {
|
|
|
1567
1575
|
}
|
|
1568
1576
|
|
|
1569
1577
|
/**
|
|
1570
|
-
*
|
|
1571
|
-
* If only one argument is provided a number between `0` and the given number
|
|
1572
|
-
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
|
1573
|
-
* floats, a floating-point number is returned instead of an integer.
|
|
1578
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
1574
1579
|
*
|
|
1575
|
-
* **Note:**
|
|
1576
|
-
*
|
|
1580
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
1581
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1582
|
+
* for more details.
|
|
1577
1583
|
*
|
|
1578
1584
|
* @static
|
|
1585
|
+
* @since 0.1.0
|
|
1579
1586
|
* @memberOf _
|
|
1580
|
-
* @
|
|
1581
|
-
* @
|
|
1582
|
-
* @
|
|
1583
|
-
* @param {number} [upper=1] The upper bound.
|
|
1584
|
-
* @param {boolean} [floating] Specify returning a floating-point number.
|
|
1585
|
-
* @returns {number} Returns the random number.
|
|
1587
|
+
* @category Object
|
|
1588
|
+
* @param {Object} object The object to query.
|
|
1589
|
+
* @returns {Array} Returns the array of property names.
|
|
1586
1590
|
* @example
|
|
1587
1591
|
*
|
|
1588
|
-
*
|
|
1589
|
-
*
|
|
1592
|
+
* function Foo() {
|
|
1593
|
+
* this.a = 1;
|
|
1594
|
+
* this.b = 2;
|
|
1595
|
+
* }
|
|
1590
1596
|
*
|
|
1591
|
-
*
|
|
1592
|
-
* // => also an integer between 0 and 5
|
|
1597
|
+
* Foo.prototype.c = 3;
|
|
1593
1598
|
*
|
|
1594
|
-
* _.
|
|
1595
|
-
* // => a
|
|
1599
|
+
* _.keys(new Foo);
|
|
1600
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
1596
1601
|
*
|
|
1597
|
-
* _.
|
|
1598
|
-
* // =>
|
|
1602
|
+
* _.keys('hi');
|
|
1603
|
+
* // => ['0', '1']
|
|
1599
1604
|
*/
|
|
1600
|
-
function
|
|
1601
|
-
|
|
1602
|
-
upper = floating = undefined;
|
|
1603
|
-
}
|
|
1604
|
-
if (floating === undefined) {
|
|
1605
|
-
if (typeof upper == 'boolean') {
|
|
1606
|
-
floating = upper;
|
|
1607
|
-
upper = undefined;
|
|
1608
|
-
}
|
|
1609
|
-
else if (typeof lower == 'boolean') {
|
|
1610
|
-
floating = lower;
|
|
1611
|
-
lower = undefined;
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
if (lower === undefined && upper === undefined) {
|
|
1615
|
-
lower = 0;
|
|
1616
|
-
upper = 1;
|
|
1617
|
-
}
|
|
1618
|
-
else {
|
|
1619
|
-
lower = toFinite(lower);
|
|
1620
|
-
if (upper === undefined) {
|
|
1621
|
-
upper = lower;
|
|
1622
|
-
lower = 0;
|
|
1623
|
-
} else {
|
|
1624
|
-
upper = toFinite(upper);
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
if (lower > upper) {
|
|
1628
|
-
var temp = lower;
|
|
1629
|
-
lower = upper;
|
|
1630
|
-
upper = temp;
|
|
1631
|
-
}
|
|
1632
|
-
if (floating || lower % 1 || upper % 1) {
|
|
1633
|
-
var rand = nativeRandom();
|
|
1634
|
-
return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
|
|
1635
|
-
}
|
|
1636
|
-
return baseRandom(lower, upper);
|
|
1605
|
+
function keys(object) {
|
|
1606
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1637
1607
|
}
|
|
1638
1608
|
|
|
1639
|
-
|
|
1640
|
-
|
|
1609
|
+
/**
|
|
1610
|
+
* Creates an array of the own enumerable string keyed property values of `object`.
|
|
1611
|
+
*
|
|
1612
|
+
* **Note:** Non-object values are coerced to objects.
|
|
1613
|
+
*
|
|
1614
|
+
* @static
|
|
1615
|
+
* @since 0.1.0
|
|
1616
|
+
* @memberOf _
|
|
1617
|
+
* @category Object
|
|
1618
|
+
* @param {Object} object The object to query.
|
|
1619
|
+
* @returns {Array} Returns the array of property values.
|
|
1620
|
+
* @example
|
|
1621
|
+
*
|
|
1622
|
+
* function Foo() {
|
|
1623
|
+
* this.a = 1;
|
|
1624
|
+
* this.b = 2;
|
|
1625
|
+
* }
|
|
1626
|
+
*
|
|
1627
|
+
* Foo.prototype.c = 3;
|
|
1628
|
+
*
|
|
1629
|
+
* _.values(new Foo);
|
|
1630
|
+
* // => [1, 2] (iteration order is not guaranteed)
|
|
1631
|
+
*
|
|
1632
|
+
* _.values('hi');
|
|
1633
|
+
* // => ['h', 'i']
|
|
1634
|
+
*/
|
|
1635
|
+
function values(object) {
|
|
1636
|
+
return object ? baseValues(object, keys(object)) : [];
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
lodash_samplesize = sampleSize;
|
|
1640
|
+
return lodash_samplesize;
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
|
-
var
|
|
1644
|
-
var
|
|
1643
|
+
var lodash_samplesizeExports = requireLodash_samplesize();
|
|
1644
|
+
var sampleSize = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(lodash_samplesizeExports);
|
|
1645
1645
|
|
|
1646
1646
|
const documentComponentDemoCss = ".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";
|
|
1647
1647
|
|
|
@@ -1827,7 +1827,7 @@ const DocumentComponentDemo = class {
|
|
|
1827
1827
|
render() {
|
|
1828
1828
|
var _a, _b;
|
|
1829
1829
|
const { DocumentComponent, MenuButton } = this;
|
|
1830
|
-
return (index.h("dso-responsive-element", { key: '
|
|
1830
|
+
return (index.h("dso-responsive-element", { key: '035af6f3f084c434155b8a7cea1fd2a054af9bfc', class: "dso-document-components" }, index.h("div", { key: 'baa05e7f091391fb8a1779365a5f98fa5e552af5', class: "dso-navbar" }, index.h("ul", { key: '030d2050156fe948be7678fcf456d113d9107ba3', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (index.h("li", { class: this.document === d ? "dso-active" : undefined }, index.h(MenuButton, { documentComponent: d })))))), this.document && index.h(DocumentComponent, { key: '13387515126f7264942f57be563c9031b3593b49', path: [this.document] })));
|
|
1831
1831
|
}
|
|
1832
1832
|
static get watchers() { return {
|
|
1833
1833
|
"jsonFile": ["jsonFileWatcher"],
|