@e1011/es-kit 1.0.104 → 1.0.108
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/hooks/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/hooks/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/hooks/esm/index.css +54 -54
- package/dist/hooks/esm/node_modules/core-js/internals/array-for-each.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-for-each.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-from.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-from.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-iteration.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-iteration.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-method-has-species-support.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-method-has-species-support.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-method-is-strict.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-method-is-strict.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-species-constructor.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-species-constructor.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-species-create.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/array-species-create.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/call-with-safe-iteration-closing.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/call-with-safe-iteration-closing.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/global.js +1 -1
- package/dist/hooks/esm/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/hooks/esm/node_modules/core-js/internals/is-array.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/is-array.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/is-constructor.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/is-constructor.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/object-to-array.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/internals/object-to-array.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/internals/shared.js +1 -1
- package/dist/hooks/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/hooks/esm/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/hooks/esm/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/hooks/esm/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/modules/es.array.from.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/modules/es.array.from.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/modules/es.object.entries.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/modules/es.object.entries.js.map +1 -0
- package/dist/hooks/esm/node_modules/core-js/modules/web.dom-collections.for-each.js +2 -0
- package/dist/hooks/esm/node_modules/core-js/modules/web.dom-collections.for-each.js.map +1 -0
- package/dist/hooks/esm/src/core/hooks/index.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useClassNames.js +2 -0
- package/dist/hooks/esm/src/core/hooks/useClassNames.js.map +1 -0
- package/dist/hooks/esm/src/core/hooks/useParseProps.js +2 -0
- package/dist/hooks/esm/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/hooks/esm/src/core/utils/helpers/ui.js +2 -0
- package/dist/hooks/esm/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/hooks/index.css +54 -54
- package/dist/hooks/node_modules/core-js/internals/array-for-each.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-for-each.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/array-from.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-from.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/array-iteration.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-iteration.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/array-method-has-species-support.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-method-has-species-support.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/array-method-is-strict.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-method-is-strict.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/array-species-constructor.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-species-constructor.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/array-species-create.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/array-species-create.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/call-with-safe-iteration-closing.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/call-with-safe-iteration-closing.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/global.js +1 -1
- package/dist/hooks/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/hooks/node_modules/core-js/internals/is-array.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/is-array.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/is-constructor.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/is-constructor.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/object-to-array.js +2 -0
- package/dist/hooks/node_modules/core-js/internals/object-to-array.js.map +1 -0
- package/dist/hooks/node_modules/core-js/internals/shared.js +1 -1
- package/dist/hooks/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/hooks/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/hooks/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/hooks/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/hooks/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/hooks/node_modules/core-js/modules/es.array.from.js +2 -0
- package/dist/hooks/node_modules/core-js/modules/es.array.from.js.map +1 -0
- package/dist/hooks/node_modules/core-js/modules/es.object.entries.js +2 -0
- package/dist/hooks/node_modules/core-js/modules/es.object.entries.js.map +1 -0
- package/dist/hooks/node_modules/core-js/modules/web.dom-collections.for-each.js +2 -0
- package/dist/hooks/node_modules/core-js/modules/web.dom-collections.for-each.js.map +1 -0
- package/dist/hooks/src/core/hooks/index.js +1 -1
- package/dist/hooks/src/core/hooks/useClassNames.js +2 -0
- package/dist/hooks/src/core/hooks/useClassNames.js.map +1 -0
- package/dist/hooks/src/core/hooks/useParseProps.js +2 -0
- package/dist/hooks/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/hooks/src/core/utils/helpers/ui.js +2 -0
- package/dist/hooks/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/lib/cjs/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/global.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/shared.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/lib/cjs/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/lib/cjs/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/lib/cjs/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/lib/cjs/src/core/hooks/useClassNames.js +2 -0
- package/dist/lib/cjs/src/core/hooks/useClassNames.js.map +1 -0
- package/dist/lib/cjs/src/core/hooks/useParseProps.js +2 -0
- package/dist/lib/cjs/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/lib/cjs/src/core/utils/helpers/date.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/file.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/other.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/helpers/ui.js +2 -0
- package/dist/lib/cjs/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/global.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/shared.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/lib/esm/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/lib/esm/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/lib/esm/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/lib/esm/src/core/hooks/useClassNames.js +2 -0
- package/dist/lib/esm/src/core/hooks/useClassNames.js.map +1 -0
- package/dist/lib/esm/src/core/hooks/useParseProps.js +2 -0
- package/dist/lib/esm/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/lib/esm/src/core/utils/helpers/date.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/file.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/other.js.map +1 -1
- package/dist/lib/esm/src/core/utils/helpers/ui.js +2 -0
- package/dist/lib/esm/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/src/core/hooks/index.js +2 -0
- package/dist/lib/src/core/hooks/index.js.map +1 -1
- package/dist/lib/src/core/hooks/useClassNames.js +4 -0
- package/dist/lib/src/core/hooks/useClassNames.js.map +1 -0
- package/dist/lib/src/core/hooks/useParseProps.js +7 -0
- package/dist/lib/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/lib/src/core/index.js +0 -1
- package/dist/lib/src/core/index.js.map +1 -1
- package/dist/lib/src/core/ui/components/container/CollapsibleContainer.js +4 -2
- package/dist/lib/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/lib/src/core/ui/components/container/LayoutBox.js +26 -0
- package/dist/lib/src/core/ui/components/container/LayoutBox.js.map +1 -0
- package/dist/lib/src/core/ui/components/container/ResizableContainer.js +2 -2
- package/dist/lib/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/lib/src/core/ui/components/container/index.js +1 -1
- package/dist/lib/src/core/ui/components/container/index.js.map +1 -1
- package/dist/lib/src/core/ui/components/container/layoutBox.types.js +2 -0
- package/dist/lib/src/core/ui/components/container/layoutBox.types.js.map +1 -0
- package/dist/lib/src/core/ui/components/icon/IconBase.js +2 -2
- package/dist/lib/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/lib/src/core/ui/components/icon/IconWC.js +19 -17
- package/dist/lib/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/lib/src/core/utils/appState/store/simpleComponent/SimpleComponent.js +2 -2
- package/dist/lib/src/core/utils/appState/store/simpleComponent/SimpleComponent.js.map +1 -1
- package/dist/lib/src/core/utils/helpers/index.js +1 -0
- package/dist/lib/src/core/utils/helpers/index.js.map +1 -1
- package/dist/lib/src/core/utils/helpers/ui.js +27 -0
- package/dist/lib/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/hooks/index.d.ts +2 -0
- package/dist/types/src/core/hooks/index.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useClassNames.d.ts +3 -0
- package/dist/types/src/core/hooks/useClassNames.d.ts.map +1 -0
- package/dist/types/src/core/hooks/useParseProps.d.ts +3 -0
- package/dist/types/src/core/hooks/useParseProps.d.ts.map +1 -0
- package/dist/types/src/core/index.d.ts +0 -1
- package/dist/types/src/core/index.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/container/CollapsibleContainer.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/container/Flex.d.ts +3 -3
- package/dist/types/src/core/ui/components/container/LayoutBox.d.ts +4 -0
- package/dist/types/src/core/ui/components/container/LayoutBox.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/container/ResizableContainer.d.ts +2 -2
- package/dist/types/src/core/ui/components/container/ResizableContainer.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/container/index.d.ts +1 -1
- package/dist/types/src/core/ui/components/container/index.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/container/layoutBox.types.d.ts +29 -0
- package/dist/types/src/core/ui/components/container/layoutBox.types.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/icon/IconWC.d.ts +3 -3
- package/dist/types/src/core/ui/components/icon/IconWC.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/index.d.ts +1 -0
- package/dist/types/src/core/utils/helpers/index.d.ts.map +1 -1
- package/dist/types/src/core/utils/helpers/ui.d.ts +10 -0
- package/dist/types/src/core/utils/helpers/ui.d.ts.map +1 -0
- package/dist/ui/_virtual/internal-metadata.js +2 -0
- package/dist/ui/_virtual/internal-metadata.js.map +1 -0
- package/dist/ui/_virtual/object-get-own-property-names-external.js +2 -0
- package/dist/ui/_virtual/object-get-own-property-names-external.js.map +1 -0
- package/dist/ui/esm/_virtual/internal-metadata.js +2 -0
- package/dist/ui/esm/_virtual/internal-metadata.js.map +1 -0
- package/dist/ui/esm/_virtual/object-get-own-property-names-external.js +2 -0
- package/dist/ui/esm/_virtual/object-get-own-property-names-external.js.map +1 -0
- package/dist/ui/esm/index.css +2 -2
- package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/add-to-unscopables.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/add-to-unscopables.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/an-instance.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/an-instance.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/array-buffer-non-extensible.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/array-buffer-non-extensible.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/array-from.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/array-from.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/array-slice-simple.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/array-slice-simple.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/call-with-safe-iteration-closing.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/call-with-safe-iteration-closing.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/check-correctness-of-iteration.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/check-correctness-of-iteration.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/collection-strong.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/collection-strong.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/collection.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/collection.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/correct-prototype-getter.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/create-iter-result-object.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/create-iter-result-object.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/define-built-in-accessor.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/define-built-in-accessor.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/define-built-ins.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/define-built-ins.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/freezing.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/freezing.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/get-iterator-method.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/get-iterator-method.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/get-iterator.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/get-iterator.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/global.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/inherit-if-required.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/inherit-if-required.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/internal-metadata.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/internal-metadata.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/is-array-iterator-method.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/is-array-iterator-method.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterate.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterate.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterator-close.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterator-close.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterator-create-constructor.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterator-define.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterator-define.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterators-core.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterators-core.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterators.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/iterators.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-names-external.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-names-external.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-get-prototype-of.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-is-extensible.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-is-extensible.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/set-species.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/set-species.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/set-to-string-tag.js +2 -0
- package/dist/ui/esm/node_modules/core-js/internals/set-to-string-tag.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/internals/shared.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/ui/esm/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/ui/esm/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.array.from.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.array.from.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.array.iterator.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.array.iterator.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.map.constructor.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.map.constructor.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.string.iterator.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/es.string.iterator.js.map +1 -0
- package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +2 -0
- package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +1 -0
- package/dist/ui/esm/src/core/hooks/useParseProps.js +2 -0
- package/dist/ui/esm/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/Flex.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/LayoutBox.js +2 -0
- package/dist/ui/esm/src/core/ui/components/container/LayoutBox.js.map +1 -0
- package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
- package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/container/layoutBox.module.scss.js +2 -0
- package/dist/ui/esm/src/core/ui/components/container/layoutBox.module.scss.js.map +1 -0
- package/dist/ui/esm/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/esm/src/core/ui/index.js +1 -1
- package/dist/ui/esm/src/core/utils/helpers/ui.js +2 -0
- package/dist/ui/esm/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/ui/index.css +2 -2
- package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js +2 -0
- package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/add-to-unscopables.js +2 -0
- package/dist/ui/node_modules/core-js/internals/add-to-unscopables.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/an-instance.js +2 -0
- package/dist/ui/node_modules/core-js/internals/an-instance.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/array-buffer-non-extensible.js +2 -0
- package/dist/ui/node_modules/core-js/internals/array-buffer-non-extensible.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/array-from.js +2 -0
- package/dist/ui/node_modules/core-js/internals/array-from.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/array-slice-simple.js +2 -0
- package/dist/ui/node_modules/core-js/internals/array-slice-simple.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/call-with-safe-iteration-closing.js +2 -0
- package/dist/ui/node_modules/core-js/internals/call-with-safe-iteration-closing.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/check-correctness-of-iteration.js +2 -0
- package/dist/ui/node_modules/core-js/internals/check-correctness-of-iteration.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/collection-strong.js +2 -0
- package/dist/ui/node_modules/core-js/internals/collection-strong.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/collection.js +2 -0
- package/dist/ui/node_modules/core-js/internals/collection.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/correct-prototype-getter.js +2 -0
- package/dist/ui/node_modules/core-js/internals/correct-prototype-getter.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/create-iter-result-object.js +2 -0
- package/dist/ui/node_modules/core-js/internals/create-iter-result-object.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/define-built-in-accessor.js +2 -0
- package/dist/ui/node_modules/core-js/internals/define-built-in-accessor.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/define-built-ins.js +2 -0
- package/dist/ui/node_modules/core-js/internals/define-built-ins.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/freezing.js +2 -0
- package/dist/ui/node_modules/core-js/internals/freezing.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js +2 -0
- package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/get-iterator-method.js +2 -0
- package/dist/ui/node_modules/core-js/internals/get-iterator-method.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/get-iterator.js +2 -0
- package/dist/ui/node_modules/core-js/internals/get-iterator.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/global.js +1 -1
- package/dist/ui/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/inherit-if-required.js +2 -0
- package/dist/ui/node_modules/core-js/internals/inherit-if-required.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/internal-metadata.js +2 -0
- package/dist/ui/node_modules/core-js/internals/internal-metadata.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/is-array-iterator-method.js +2 -0
- package/dist/ui/node_modules/core-js/internals/is-array-iterator-method.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/iterate.js +2 -0
- package/dist/ui/node_modules/core-js/internals/iterate.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/iterator-close.js +2 -0
- package/dist/ui/node_modules/core-js/internals/iterator-close.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/iterator-create-constructor.js +2 -0
- package/dist/ui/node_modules/core-js/internals/iterator-create-constructor.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/iterator-define.js +2 -0
- package/dist/ui/node_modules/core-js/internals/iterator-define.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/iterators-core.js +2 -0
- package/dist/ui/node_modules/core-js/internals/iterators-core.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/iterators.js +2 -0
- package/dist/ui/node_modules/core-js/internals/iterators.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/object-get-own-property-names-external.js +2 -0
- package/dist/ui/node_modules/core-js/internals/object-get-own-property-names-external.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/object-get-prototype-of.js +2 -0
- package/dist/ui/node_modules/core-js/internals/object-get-prototype-of.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/object-is-extensible.js +2 -0
- package/dist/ui/node_modules/core-js/internals/object-is-extensible.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js +2 -0
- package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/set-species.js +2 -0
- package/dist/ui/node_modules/core-js/internals/set-species.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/set-to-string-tag.js +2 -0
- package/dist/ui/node_modules/core-js/internals/set-to-string-tag.js.map +1 -0
- package/dist/ui/node_modules/core-js/internals/shared.js +1 -1
- package/dist/ui/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/ui/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/ui/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/ui/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/ui/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/ui/node_modules/core-js/modules/es.array.from.js +2 -0
- package/dist/ui/node_modules/core-js/modules/es.array.from.js.map +1 -0
- package/dist/ui/node_modules/core-js/modules/es.array.iterator.js +2 -0
- package/dist/ui/node_modules/core-js/modules/es.array.iterator.js.map +1 -0
- package/dist/ui/node_modules/core-js/modules/es.map.constructor.js +2 -0
- package/dist/ui/node_modules/core-js/modules/es.map.constructor.js.map +1 -0
- package/dist/ui/node_modules/core-js/modules/es.string.iterator.js +2 -0
- package/dist/ui/node_modules/core-js/modules/es.string.iterator.js.map +1 -0
- package/dist/ui/node_modules/core-js/modules/web.dom-collections.iterator.js +2 -0
- package/dist/ui/node_modules/core-js/modules/web.dom-collections.iterator.js.map +1 -0
- package/dist/ui/src/core/hooks/useParseProps.js +2 -0
- package/dist/ui/src/core/hooks/useParseProps.js.map +1 -0
- package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js +1 -1
- package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/Flex.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/LayoutBox.js +2 -0
- package/dist/ui/src/core/ui/components/container/LayoutBox.js.map +1 -0
- package/dist/ui/src/core/ui/components/container/ResizableContainer.js +1 -1
- package/dist/ui/src/core/ui/components/container/ResizableContainer.js.map +1 -1
- package/dist/ui/src/core/ui/components/container/layoutBox.module.scss.js +2 -0
- package/dist/ui/src/core/ui/components/container/layoutBox.module.scss.js.map +1 -0
- package/dist/ui/src/core/ui/components/field/Field.js.map +1 -1
- package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js +1 -1
- package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
- package/dist/ui/src/core/ui/index.js +1 -1
- package/dist/ui/src/core/utils/helpers/ui.js +2 -0
- package/dist/ui/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/utils/esm/index.css +54 -54
- package/dist/utils/esm/node_modules/core-js/internals/global.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/shared.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/utils/esm/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/utils/esm/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/utils/esm/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/utils/esm/node_modules/core-js/modules/es.map.constructor.js +2 -0
- package/dist/utils/esm/node_modules/core-js/modules/es.map.constructor.js.map +1 -0
- package/dist/utils/esm/src/core/utils/helpers/date.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/file.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/other.js.map +1 -1
- package/dist/utils/esm/src/core/utils/helpers/ui.js +2 -0
- package/dist/utils/esm/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/utils/esm/src/core/utils/index.js +1 -1
- package/dist/utils/index.css +54 -54
- package/dist/utils/node_modules/core-js/internals/global.js +1 -1
- package/dist/utils/node_modules/core-js/internals/global.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/shared.js +1 -1
- package/dist/utils/node_modules/core-js/internals/shared.js.map +1 -1
- package/dist/utils/node_modules/core-js/internals/symbol-constructor-detection.js +1 -1
- package/dist/utils/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
- package/dist/utils/node_modules/core-js/modules/es.array.filter.js +2 -0
- package/dist/utils/node_modules/core-js/modules/es.array.filter.js.map +1 -0
- package/dist/utils/node_modules/core-js/modules/es.map.constructor.js +2 -0
- package/dist/utils/node_modules/core-js/modules/es.map.constructor.js.map +1 -0
- package/dist/utils/src/core/utils/helpers/date.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/emailMatcher.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/file.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/other.js.map +1 -1
- package/dist/utils/src/core/utils/helpers/ui.js +2 -0
- package/dist/utils/src/core/utils/helpers/ui.js.map +1 -0
- package/dist/utils/src/core/utils/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-get-prototype-of.js","sources":["../../../../../node_modules/core-js/internals/object-get-prototype-of.js"],"sourcesContent":["var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n"],"names":["hasOwn","require$$0","isCallable","require$$1","toObject","require$$2","sharedKey","require$$3","CORRECT_PROTOTYPE_GETTER","require$$4","IE_PROTO","$Object","Object","ObjectPrototype","prototype","objectGetPrototypeOf","getPrototypeOf","O","object","constructor"],"mappings":"6OAAIA,EAASC,EAAAA,iBACTC,EAAaC,EAAAA,WACbC,EAAWC,EAAAA,SACXC,EAAYC,EAAAA,UACZC,EAA2BC,EAAAA,uBAE3BC,EAAWJ,EAAU,YACrBK,EAAUC,OACVC,EAAkBF,EAAQG,UAK9BC,EAAiBP,EAA2BG,EAAQK,eAAiB,SAAUC,GAC7E,IAAIC,EAASd,EAASa,GACtB,GAAIjB,EAAOkB,EAAQR,GAAW,OAAOQ,EAAOR,GAC5C,IAAIS,EAAcD,EAAOC,YACzB,OAAIjB,EAAWiB,IAAgBD,aAAkBC,EACxCA,EAAYL,UACZI,aAAkBP,EAAUE,EAAkB,IACzD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./fails.js"),r=require("./is-object.js"),s=require("./classof-raw.js"),i=require("./array-buffer-non-extensible.js"),t=e.fails,a=r.isObject,f=s.classofRaw,n=i.arrayBufferNonExtensible,u=Object.isExtensible,o=t((function(){u(1)}))||n?function(e){return!!a(e)&&((!n||"ArrayBuffer"!=f(e))&&(!u||u(e)))}:u;exports.objectIsExtensible=o;
|
|
2
|
+
//# sourceMappingURL=object-is-extensible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-is-extensible.js","sources":["../../../../../node_modules/core-js/internals/object-is-extensible.js"],"sourcesContent":["var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n"],"names":["fails","require$$0","isObject","require$$1","classof","require$$2","ARRAY_BUFFER_NON_EXTENSIBLE","require$$3","$isExtensible","Object","isExtensible","objectIsExtensible","it"],"mappings":"wMAAIA,EAAQC,EAAAA,MACRC,EAAWC,EAAAA,SACXC,EAAUC,EAAAA,WACVC,EAA8BC,EAAAA,yBAG9BC,EAAgBC,OAAOC,aAK3BC,EAJ0BX,GAAM,WAAcQ,EAAc,EAAG,KAItBF,EAA+B,SAAsBM,GAC5F,QAAKV,EAASU,OACVN,GAA8C,eAAfF,EAAQQ,OACpCJ,GAAgBA,EAAcI,IACvC,EAAIJ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./function-uncurry-this-accessor.js"),e=require("./an-object.js"),r=require("./a-possible-prototype.js"),o=t.functionUncurryThisAccessor,s=e.anObject,c=r.aPossiblePrototype,n=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=o(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return s(r),c(o),e?t(r,o):r.__proto__=o,r}}():void 0);exports.objectSetPrototypeOf=n;
|
|
2
|
+
//# sourceMappingURL=object-set-prototype-of.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-set-prototype-of.js","sources":["../../../../../node_modules/core-js/internals/object-set-prototype-of.js"],"sourcesContent":["/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n"],"names":["uncurryThisAccessor","require$$0","anObject","require$$1","aPossiblePrototype","require$$2","objectSetPrototypeOf","Object","setPrototypeOf","setter","CORRECT_SETTER","test","prototype","Array","error","O","proto","__proto__","undefined"],"mappings":"4LACIA,EAAsBC,EAAAA,4BACtBC,EAAWC,EAAAA,SACXC,EAAqBC,EAAAA,mBAMzBC,EAAiBC,OAAOC,iBAAmB,aAAe,CAAE,EAAG,WAC7D,IAEIC,EAFAC,GAAiB,EACjBC,EAAO,CAAA,EAEX,KACEF,EAAST,EAAoBO,OAAOK,UAAW,YAAa,QACrDD,EAAM,IACbD,EAAiBC,aAAgBE,KACrC,CAAI,MAAOC,GAAsB,CAC/B,OAAO,SAAwBC,EAAGC,GAKhC,OAJAd,EAASa,GACTX,EAAmBY,GACfN,EAAgBD,EAAOM,EAAGC,GACzBD,EAAEE,UAAYD,EACZD,CACX,CACA,CAhB+D,QAgBzDG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./get-built-in.js"),r=require("./define-built-in-accessor.js"),s=require("./well-known-symbol.js"),i=require("./descriptors.js"),t=e.getBuiltIn,n=r.defineBuiltInAccessor,o=s.wellKnownSymbol,u=i.descriptors,c=o("species");exports.setSpecies=function(e){var r=t(e);u&&r&&!r[c]&&n(r,c,{configurable:!0,get:function(){return this}})};
|
|
2
|
+
//# sourceMappingURL=set-species.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-species.js","sources":["../../../../../node_modules/core-js/internals/set-species.js"],"sourcesContent":["'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n"],"names":["getBuiltIn","require$$0","defineBuiltInAccessor","require$$1","wellKnownSymbol","require$$2","DESCRIPTORS","require$$3","SPECIES","CONSTRUCTOR_NAME","Constructor","configurable","get","this"],"mappings":"oNACIA,EAAaC,EAAAA,WACbC,EAAwBC,EAAAA,sBACxBC,EAAkBC,EAAAA,gBAClBC,EAAcC,EAAAA,YAEdC,EAAUJ,EAAgB,8BAEb,SAAUK,GACzB,IAAIC,EAAcV,EAAWS,GAEzBH,GAAeI,IAAgBA,EAAYF,IAC7CN,EAAsBQ,EAAaF,EAAS,CAC1CG,cAAc,EACdC,IAAK,WAAc,OAAOC,IAAO,GAGvC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./object-define-property.js");var e=require("./has-own-property.js"),r=require("./well-known-symbol.js"),o=require("../../../_virtual/object-define-property.js").__exports.f,t=e.hasOwnProperty_1,n=(0,r.wellKnownSymbol)("toStringTag");exports.setToStringTag=function(e,r,s){e&&!s&&(e=e.prototype),e&&!t(e,n)&&o(e,n,{configurable:!0,value:r})};
|
|
2
|
+
//# sourceMappingURL=set-to-string-tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-to-string-tag.js","sources":["../../../../../node_modules/core-js/internals/set-to-string-tag.js"],"sourcesContent":["var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n"],"names":["defineProperty","__exports","f","hasOwn","require$$1","TO_STRING_TAG","wellKnownSymbol","require$$2","target","TAG","STATIC","prototype","configurable","value"],"mappings":"sLAAIA,yDAA+DC,UAACC,EAChEC,EAASC,EAAAA,iBAGTC,GAAgBC,EAFEC,EAAAA,iBAEc,sCAEnB,SAAUC,EAAQC,EAAKC,GAClCF,IAAWE,IAAQF,EAASA,EAAOG,WACnCH,IAAWL,EAAOK,EAAQH,IAC5BL,EAAeQ,EAAQH,EAAe,CAAEO,cAAc,EAAMC,MAAOJ,GAEvE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/shared.js"),r=require("./shared-store.js").sharedStore;(e.__module.exports=function(e,o){return r[e]||(r[e]=void 0!==o?o:{})})("versions",[]).push({version:"3.30.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/shared.js"),r=require("./shared-store.js").sharedStore;(e.__module.exports=function(e,o){return r[e]||(r[e]=void 0!==o?o:{})})("versions",[]).push({version:"3.30.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"});var o=e.__module.exports;exports.sharedExports=o;
|
|
2
2
|
//# sourceMappingURL=shared.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sources":["../../../../../node_modules/core-js/internals/shared.js"],"sourcesContent":["var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.
|
|
1
|
+
{"version":3,"file":"shared.js","sources":["../../../../../node_modules/core-js/internals/shared.js"],"sourcesContent":["var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n"],"names":["store","require$$1","sharedModule","key","value","undefined","push","version","mode","copyright","license","source"],"mappings":"iHACIA,+BAAQC,aAEXC,EAAAA,iBAAiB,SAAUC,EAAKC,GAC/B,OAAOJ,EAAMG,KAASH,EAAMG,QAAiBE,IAAVD,EAAsBA,EAAQ,CAAA,EACnE,GAAG,WAAY,IAAIE,KAAK,CACtBC,QAAS,SACTC,KAAyB,SACzBC,UAAW,4CACXC,QAAS,2DACTC,OAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./engine-v8-version.js"),r=require("./fails.js"),t=e.engineV8Version,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./engine-v8-version.js"),r=require("./fails.js"),o=require("./global.js"),t=e.engineV8Version,s=r.fails,n=o.global.String,i=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}));exports.symbolConstructorDetection=i;
|
|
2
2
|
//# sourceMappingURL=symbol-constructor-detection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"symbol-constructor-detection.js","sources":["../../../../../node_modules/core-js/internals/symbol-constructor-detection.js"],"sourcesContent":["/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return
|
|
1
|
+
{"version":3,"file":"symbol-constructor-detection.js","sources":["../../../../../node_modules/core-js/internals/symbol-constructor-detection.js"],"sourcesContent":["/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n"],"names":["V8_VERSION","require$$0","fails","require$$1","$String","require$$2","String","symbolConstructorDetection","Object","getOwnPropertySymbols","symbol","Symbol","sham"],"mappings":"6JACIA,EAAaC,EAAAA,gBACbC,EAAQC,EAAAA,MAGRC,EAFSC,EAAAA,OAEQC,OAGrBC,IAAmBC,OAAOC,wBAA0BP,GAAM,WACxD,IAAIQ,EAASC,SAKb,OAAQP,EAAQM,MAAaF,OAAOE,aAAmBC,UAEpDA,OAAOC,MAAQZ,GAAcA,EAAa,EAC/C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var r=require("../internals/export.js"),e=require("../internals/array-iteration.js"),t=require("../internals/array-method-has-species-support.js"),a=r._export,i=e.arrayIteration.filter;a({target:"Array",proto:!0,forced:!(0,t.arrayMethodHasSpeciesSupport)("filter")},{filter:function(r){return i(this,r,arguments.length>1?arguments[1]:void 0)}});
|
|
2
|
+
//# sourceMappingURL=es.array.filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.array.filter.js","sources":["../../../../../node_modules/core-js/modules/es.array.filter.js"],"sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n"],"names":["$","require$$0","$filter","require$$1","arrayIteration","filter","target","proto","forced","arrayMethodHasSpeciesSupport","require$$2","callbackfn","this","arguments","length","undefined"],"mappings":"gKACIA,EAAIC,EAAAA,QACJC,EAAUC,EAAuCC,eAACC,OAQtDL,EAAE,CAAEM,OAAQ,QAASC,OAAO,EAAMC,SALRC,EAFSC,EAAAA,8BAEoB,WAKW,CAChEL,OAAQ,SAAgBM,GACtB,OAAOT,EAAQU,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,EACxE"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var r=require("../internals/export.js"),e=require("../internals/array-from.js"),t=require("../internals/check-correctness-of-iteration.js"),a=r._export,o=e.arrayFrom;a({target:"Array",stat:!0,forced:!(0,t.checkCorrectnessOfIteration)((function(r){Array.from(r)}))},{from:o});
|
|
2
|
+
//# sourceMappingURL=es.array.from.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.array.from.js","sources":["../../../../../node_modules/core-js/modules/es.array.from.js"],"sourcesContent":["var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n"],"names":["$","require$$0","from","require$$1","target","stat","forced","checkCorrectnessOfIteration","require$$2","iterable","Array"],"mappings":"yJAAIA,EAAIC,EAAAA,QACJC,EAAOC,EAAAA,UAUXH,EAAE,CAAEI,OAAQ,QAASC,MAAM,EAAMC,SAPNC,EAFOC,EAAAA,8BAEqB,SAAUC,GAE/DC,MAAMR,KAAKO,EACb,KAIgE,CAC9DP,KAAMA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../internals/to-indexed-object.js"),r=require("../internals/add-to-unscopables.js"),t=require("../internals/iterators.js"),s=require("../internals/internal-state.js");require("../internals/object-define-property.js");var a=require("../internals/iterator-define.js"),i=require("../internals/create-iter-result-object.js"),n=require("../internals/descriptors.js"),o=require("../../../_virtual/object-define-property.js"),u=e.toIndexedObject,l=r.addToUnscopables,d=t.iterators,c=s.internalState,j=o.__exports.f,p=a.iteratorDefine,v=i.createIterResultObject,y=n.descriptors,b="Array Iterator",f=c.set,q=c.getterFor(b),x=p(Array,"Array",(function(e,r){f(this,{type:b,target:u(e),index:0,kind:r})}),(function(){var e=q(this),r=e.target,t=e.kind,s=e.index++;return!r||s>=r.length?(e.target=void 0,v(void 0,!0)):v("keys"==t?s:"values"==t?r[s]:[s,r[s]],!1)}),"values"),_=d.Arguments=d.Array;if(l("keys"),l("values"),l("entries"),y&&"values"!==_.name)try{j(_,"name",{value:"values"})}catch(e){}exports.es_array_iterator=x;
|
|
2
|
+
//# sourceMappingURL=es.array.iterator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.array.iterator.js","sources":["../../../../../node_modules/core-js/modules/es.array.iterator.js"],"sourcesContent":["'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == 'values') return createIterResultObject(target[index], false);\n return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n"],"names":["toIndexedObject","require$$0","addToUnscopables","require$$1","Iterators","require$$2","InternalStateModule","require$$3","defineProperty","require$$4","__exports","f","defineIterator","require$$5","createIterResultObject","require$$6","DESCRIPTORS","require$$8","ARRAY_ITERATOR","setInternalState","set","getInternalState","getterFor","es_array_iterator","Array","iterated","kind","this","type","target","index","state","length","undefined","values","Arguments","name","value","error"],"mappings":"sfACIA,EAAkBC,EAAAA,gBAClBC,EAAmBC,EAAAA,iBACnBC,EAAYC,EAAAA,UACZC,EAAsBC,EAAAA,cACtBC,EAAiBC,EAA8CC,UAACC,EAChEC,EAAiBC,EAAAA,eACjBC,EAAyBC,EAAAA,uBAEzBC,EAAcC,EAAAA,YAEdC,EAAiB,iBACjBC,EAAmBb,EAAoBc,IACvCC,EAAmBf,EAAoBgB,UAAUJ,GAYrDK,EAAiBX,EAAeY,MAAO,SAAS,SAAUC,EAAUC,GAClEP,EAAiBQ,KAAM,CACrBC,KAAMV,EACNW,OAAQ7B,EAAgByB,GACxBK,MAAO,EACPJ,KAAMA,GAIV,IAAG,WACD,IAAIK,EAAQV,EAAiBM,MACzBE,EAASE,EAAMF,OACfH,EAAOK,EAAML,KACbI,EAAQC,EAAMD,QAClB,OAAKD,GAAUC,GAASD,EAAOG,QAC7BD,EAAMF,YAASI,EACRnB,OAAuBmB,GAAW,IAEhBnB,EAAf,QAARY,EAA8CI,EACtC,UAARJ,EAAgDG,EAAOC,GAC7B,CAACA,EAAOD,EAAOC,KAFY,EAG3D,GAAG,UAKCI,EAAS9B,EAAU+B,UAAY/B,EAAUoB,MAQ7C,GALAtB,EAAiB,QACjBA,EAAiB,UACjBA,EAAiB,WAGDc,GAA+B,WAAhBkB,EAAOE,KAAmB,IACvD5B,EAAe0B,EAAQ,OAAQ,CAAEG,MAAO,UAC1C,CAAE,MAAOC,GAAO"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var n=require("../internals/collection.js"),t=require("../internals/collection-strong.js");(0,n.collection)("Map",(function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}}),t.collectionStrong);
|
|
2
|
+
//# sourceMappingURL=es.map.constructor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.map.constructor.js","sources":["../../../../../node_modules/core-js/modules/es.map.constructor.js"],"sourcesContent":["'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n"],"names":["collection","require$$0","init","this","arguments","length","undefined","require$$1"],"mappings":"yGAMAA,EALiBC,EAAAA,YAKN,OAAO,SAAUC,GAC1B,OAAO,WAAiB,OAAOA,EAAKC,KAAMC,UAAUC,OAASD,UAAU,QAAKE,EAAW,CACzF,GANuBC,EAAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var t=require("../internals/string-multibyte.js"),e=require("../internals/to-string.js"),r=require("../internals/internal-state.js"),i=require("../internals/iterator-define.js"),n=require("../internals/create-iter-result-object.js"),s=t.stringMultibyte.charAt,a=e.toString,l=r.internalState,u=i.iteratorDefine,g=n.createIterResultObject,o="String Iterator",c=l.set,j=l.getterFor(o);u(String,"String",(function(t){c(this,{type:o,string:a(t),index:0})}),(function(){var t,e=j(this),r=e.string,i=e.index;return i>=r.length?g(void 0,!0):(t=s(r,i),e.index+=t.length,g(t,!1))}));
|
|
2
|
+
//# sourceMappingURL=es.string.iterator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.string.iterator.js","sources":["../../../../../node_modules/core-js/modules/es.string.iterator.js"],"sourcesContent":["'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n"],"names":["charAt","require$$0","stringMultibyte","toString","require$$1","InternalStateModule","require$$2","defineIterator","require$$3","createIterResultObject","require$$4","STRING_ITERATOR","setInternalState","set","getInternalState","getterFor","String","iterated","this","type","string","index","point","state","length","undefined"],"mappings":"sPACIA,EAASC,EAAwCC,gBAACF,OAClDG,EAAWC,EAAAA,SACXC,EAAsBC,EAAAA,cACtBC,EAAiBC,EAAAA,eACjBC,EAAyBC,EAAAA,uBAEzBC,EAAkB,kBAClBC,EAAmBP,EAAoBQ,IACvCC,EAAmBT,EAAoBU,UAAUJ,GAIrDJ,EAAeS,OAAQ,UAAU,SAAUC,GACzCL,EAAiBM,KAAM,CACrBC,KAAMR,EACNS,OAAQjB,EAASc,GACjBI,MAAO,GAIX,IAAG,WACD,IAGIC,EAHAC,EAAQT,EAAiBI,MACzBE,EAASG,EAAMH,OACfC,EAAQE,EAAMF,MAElB,OAAIA,GAASD,EAAOI,OAAef,OAAuBgB,GAAW,IACrEH,EAAQtB,EAAOoB,EAAQC,GACvBE,EAAMF,OAASC,EAAME,OACdf,EAAuBa,GAAO,GACvC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var r=require("../internals/global.js"),e=require("../internals/dom-iterables.js"),t=require("../internals/dom-token-list-prototype.js"),o=require("./es.array.iterator.js"),a=require("../internals/create-non-enumerable-property.js"),i=require("../internals/well-known-symbol.js"),n=r.global,s=e.domIterables,l=t.domTokenListPrototype,u=o.es_array_iterator,y=a.createNonEnumerableProperty,b=i.wellKnownSymbol,c=b("iterator"),m=b("toStringTag"),p=u.values,f=function(r,e){if(r){if(r[c]!==p)try{y(r,c,p)}catch(e){r[c]=p}if(r[m]||y(r,m,e),s[e])for(var t in u)if(r[t]!==u[t])try{y(r,t,u[t])}catch(e){r[t]=u[t]}}};for(var j in s)f(n[j]&&n[j].prototype,j);f(l,"DOMTokenList");
|
|
2
|
+
//# sourceMappingURL=web.dom-collections.iterator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.dom-collections.iterator.js","sources":["../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js"],"sourcesContent":["var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n"],"names":["global","require$$0","DOMIterables","require$$1","DOMTokenListPrototype","require$$2","ArrayIteratorMethods","require$$3","createNonEnumerableProperty","require$$4","wellKnownSymbol","require$$5","ITERATOR","TO_STRING_TAG","ArrayValues","values","handlePrototype","CollectionPrototype","COLLECTION_NAME","error","METHOD_NAME","prototype"],"mappings":"qSAAIA,EAASC,EAAAA,OACTC,EAAeC,EAAAA,aACfC,EAAwBC,EAAAA,sBACxBC,EAAuBC,EAAAA,kBACvBC,EAA8BC,EAAAA,4BAC9BC,EAAkBC,EAAAA,gBAElBC,EAAWF,EAAgB,YAC3BG,EAAgBH,EAAgB,eAChCI,EAAcR,EAAqBS,OAEnCC,EAAkB,SAAUC,EAAqBC,GACnD,GAAID,EAAqB,CAEvB,GAAIA,EAAoBL,KAAcE,EAAa,IACjDN,EAA4BS,EAAqBL,EAAUE,EAC5D,CAAC,MAAOK,GACPF,EAAoBL,GAAYE,CACjC,CAID,GAHKG,EAAoBJ,IACvBL,EAA4BS,EAAqBJ,EAAeK,GAE9DhB,EAAagB,GAAkB,IAAK,IAAIE,KAAed,EAEzD,GAAIW,EAAoBG,KAAiBd,EAAqBc,GAAc,IAC1EZ,EAA4BS,EAAqBG,EAAad,EAAqBc,GACpF,CAAC,MAAOD,GACPF,EAAoBG,GAAed,EAAqBc,EACzD,CAEJ,CACH,EAEA,IAAK,IAAIF,KAAmBhB,EAC1Bc,EAAgBhB,EAAOkB,IAAoBlB,EAAOkB,GAAiBG,UAAWH,GAGhFF,EAAgBZ,EAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useParseProps.js","sources":["../../../../../src/core/hooks/useParseProps.ts"],"sourcesContent":["import { useMemo } from 'react'\n\nimport { parseProps } from '../utils/helpers/ui'\n\n\nexport const useParseProps = (props: Record<string, unknown>): ReturnType<typeof parseProps> => {\n const propsCategories = useMemo(() => parseProps(props), [props])\n\n return propsCategories\n}\n"],"names":["props","useMemo","parseProps"],"mappings":"qJAK6B,SAACA,GAG5B,OAFwBC,EAAAA,SAAQ,WAAA,OAAMC,EAAAA,WAAWF,KAAQ,CAACA,GAG5D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var r=require("react"),l=require("../../../hooks/useParseProps.js"),a=require("./CollapsibleContainer.module.scss.js"),o=["collapsed","collapseHandler","children","horizontal","className"],t={width:"scrollWidth",height:"scrollHeight"},s=r.memo((function(s){var n=s.collapsed,i=void 0!==n&&n,u=s.collapseHandler,c=s.children,d=s.horizontal,p=void 0!==d&&d,h=s.className,f=void 0===h?"":h,m=e.objectWithoutProperties(s,o),v=r.useRef(null),j=r.useState(0),P=e.slicedToArray(j,2),b=P[0],x=P[1],g=l.useParseProps(m),y=g.dataProps,C=g.restProps,q=!p;r.useEffect((function(){null==u||u(i)}),[u,i]),r.useLayoutEffect((function(){if(null!=v&&v.current){var e=q?"height":"width";x(v.current[t[e]])}}),[v,q]);var _=r.useMemo((function(){return e.objectSpread2({"--prop-name":q?"height":"width","--prop-max-name":q?"max-height":"max-width","--prop-value":"".concat(b,"px")},C)}),[q,C,b]),w=r.useMemo((function(){var e=[q?a.default.vertical:a.default.horizontal];return i&&b&&null!=b&&e.push(a.default.collapsed),!i&&b&&null!=b&&e.push(a.default.expanded),e.join(" ")}),[i,b,q]);return React.createElement("div",e.extends({className:"".concat(a.default["collapsible-container"]," ").concat(w," ").concat(f," "),ref:v,style:_},y),c)}));s.displayName="CollapsibleContainer",exports.CollapsibleContainer=s;
|
|
2
2
|
//# sourceMappingURL=CollapsibleContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsibleContainer.js","sources":["../../../../../../../src/core/ui/components/container/CollapsibleContainer.tsx"],"sourcesContent":["import { FC, useRef, useState, memo, ReactNode, useEffect, useLayoutEffect, useMemo, CSSProperties } from 'react'\n\nimport classes from './CollapsibleContainer.module.scss'\n\nconst elementPropNameMap: Record<string, string> = {\n width: 'scrollWidth',\n height: 'scrollHeight',\n}\n\nexport type CollapsibleContainerProps = {\n collapsed?: boolean\n collapseHandler?: (collapsed: boolean) => void\n children?: ReactNode\n className?: string\n horizontal?: boolean\n} & CSSProperties\n\nexport const CollapsibleContainer: FC<CollapsibleContainerProps> = memo(({\n collapsed = false, collapseHandler, children, horizontal = false, className = '', ...
|
|
1
|
+
{"version":3,"file":"CollapsibleContainer.js","sources":["../../../../../../../src/core/ui/components/container/CollapsibleContainer.tsx"],"sourcesContent":["import { FC, useRef, useState, memo, ReactNode, useEffect, useLayoutEffect, useMemo, CSSProperties } from 'react'\n\nimport { useParseProps } from '../../../hooks/useParseProps'\n\nimport classes from './CollapsibleContainer.module.scss'\n\n\nconst elementPropNameMap: Record<string, string> = {\n width: 'scrollWidth',\n height: 'scrollHeight',\n}\n\nexport type CollapsibleContainerProps = {\n collapsed?: boolean\n collapseHandler?: (collapsed: boolean) => void\n children?: ReactNode\n className?: string\n horizontal?: boolean\n} & CSSProperties\n\nexport const CollapsibleContainer: FC<CollapsibleContainerProps> = memo(({\n collapsed = false, collapseHandler, children, horizontal = false, className = '', ...props\n}: CollapsibleContainerProps) => {\n const containerRef = useRef<HTMLDivElement>(null)\n const [contentProp, setContentProp] = useState(0)\n\n const { dataProps, restProps: style } = useParseProps(props)\n\n const vertical = !horizontal\n\n useEffect(() => {\n collapseHandler?.(collapsed)\n }, [collapseHandler, collapsed])\n\n useLayoutEffect(() => {\n if (containerRef?.current) {\n const propName = vertical ? 'height' : 'width'\n\n setContentProp((containerRef.current as any)[elementPropNameMap[propName]])\n }\n }, [containerRef, vertical])\n\n const styleProps: CSSProperties = useMemo(() => ({\n '--prop-name': vertical ? 'height' : 'width',\n '--prop-max-name': vertical ? 'max-height' : 'max-width',\n '--prop-value': `${contentProp}px`,\n ...style,\n } as CSSProperties), [vertical, style, contentProp])\n\n const classNames = useMemo(() => {\n const classNames = [vertical ? classes.vertical : classes.horizontal]\n\n if (collapsed && contentProp && contentProp !== undefined && contentProp !== null) {\n classNames.push(classes.collapsed)\n }\n if (!collapsed && contentProp && contentProp !== undefined && contentProp !== null) {\n classNames.push(classes.expanded)\n }\n return classNames.join(' ')\n }, [collapsed, contentProp, vertical])\n\n return (\n <div\n className={`${classes['collapsible-container']} ${classNames} ${className} `}\n ref={containerRef}\n style={styleProps}\n {...dataProps}\n >\n {children}\n </div>\n )\n})\n\nCollapsibleContainer.displayName = 'CollapsibleContainer'\n"],"names":["elementPropNameMap","width","height","CollapsibleContainer","memo","_ref","_ref$collapsed","collapsed","collapseHandler","children","_ref$horizontal","horizontal","_ref$className","className","props","_objectWithoutProperties","objectWithoutProperties","_excluded","containerRef","useRef","_useState","useState","_useState2","_slicedToArray","contentProp","setContentProp","_useParseProps","useParseProps","dataProps","style","restProps","vertical","useEffect","useLayoutEffect","current","propName","styleProps","useMemo","_objectSpread","concat","classNames","classes","push","expanded","join","React","createElement","_extends","ref","displayName"],"mappings":"iZAOMA,EAA6C,CACjDC,MAAO,cACPC,OAAQ,gBAWGC,EAAsDC,EAAAA,MAAK,SAAAC,GAEvC,IAAAC,EAAAD,EAD/BE,UAAAA,OAAY,IAAHD,GAAQA,EAAEE,EAAeH,EAAfG,gBAAiBC,EAAQJ,EAARI,SAAQC,EAAAL,EAAEM,WAAAA,OAAa,IAAHD,GAAQA,EAAAE,EAAAP,EAAEQ,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAKE,EAAKC,EAAAC,wBAAAX,EAAAY,GAEpFC,EAAeC,SAAuB,MAC5CC,EAAsCC,EAAQA,SAAC,GAAEC,EAAAC,EAAAA,cAAAH,EAAA,GAA1CI,EAAWF,EAAA,GAAEG,EAAcH,EAAA,GAElCI,EAAwCC,EAAaA,cAACb,GAA9Cc,EAASF,EAATE,UAAsBC,EAAKH,EAAhBI,UAEbC,GAAYpB,EAElBqB,EAAAA,WAAU,WACRxB,SAAAA,EAAkBD,EACpB,GAAG,CAACC,EAAiBD,IAErB0B,EAAAA,iBAAgB,WACd,GAAIf,SAAAA,EAAcgB,QAAS,CACzB,IAAMC,EAAWJ,EAAW,SAAW,QAEvCN,EAAgBP,EAAagB,QAAgBlC,EAAmBmC,IAClE,CACF,GAAG,CAACjB,EAAca,IAElB,IAAMK,EAA4BC,EAAAA,SAAQ,WAAA,OAAAC,gBAAA,CACxC,cAAeP,EAAW,SAAW,QACrC,kBAAmBA,EAAW,aAAe,YAC7C,eAAc,GAAAQ,OAAKf,EAAW,OAC3BK,EACc,GAAE,CAACE,EAAUF,EAAOL,IAEjCgB,EAAaH,EAAAA,SAAQ,WACzB,IAAMG,EAAa,CAACT,EAAWU,EAAAA,QAAQV,SAAWU,EAAAA,QAAQ9B,YAQ1D,OANIJ,GAAaiB,GAAbjB,MAA4BiB,GAC9BgB,EAAWE,KAAKD,UAAQlC,YAErBA,GAAaiB,GAAd,MAA6BA,GAC/BgB,EAAWE,KAAKD,UAAQE,UAEnBH,EAAWI,KAAK,IACxB,GAAE,CAACrC,EAAWiB,EAAaO,IAE5B,OACEc,MAAAC,cAAA,MAAAC,UAAA,CACElC,UAAS0B,GAAAA,OAAKE,EAAAA,QAAQ,yBAAwBF,KAAAA,OAAIC,EAAU,KAAAD,OAAI1B,EAAa,KAC7EmC,IAAK9B,EACLW,MAAOO,GACHR,GAEHnB,EAGP,IAEAN,EAAqB8C,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.js","sources":["../../../../../../../src/core/ui/components/container/Flex.ts"],"sourcesContent":["import { memo } from 'react'\nimport styled from 'styled-components'\n\nexport type FlexProps = {\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\nexport const Flex = memo(styled.div<FlexProps>`\n display: flex;\n position: relative;\n flex-direction: ${({ direction }: Partial<FlexProps>) => direction || 'row'};\n flex: ${({ flex }: Partial<FlexProps>) => (flex !== undefined ? flex : '0')};\n flex-grow: ${({ flexGrow }: Partial<FlexProps>) => (flexGrow !== undefined ? flexGrow : '0')};\n flex-shrink: ${({ flexShrink }: Partial<FlexProps>) => (flexShrink !== undefined ? flexShrink : '0')};\n flex-basis: ${({ flexBasis }: Partial<FlexProps>) => flexBasis || 'auto'};\n flex-wrap: ${({ flexWrap }: Partial<FlexProps>) => flexWrap || 'nowrap'};\n gap: ${({ gap }: Partial<FlexProps>) => (gap !== undefined ? gap : '0')};\n text-align: ${({ alignText }: Partial<FlexProps>) => alignText || 'left'};\n justify-content: ${({ justify }: Partial<FlexProps>) => resolveFlexProps(justify) || 'flex-start'};\n align-items: ${({ align }: Partial<FlexProps>) => resolveFlexProps(align) || 'flex-start'};\n align-self: ${({ alignSelf }: Partial<FlexProps>) => alignSelf || 'auto'};\n margin: ${({ margin }: Partial<FlexProps>) => margin || '0'};\n padding: ${({ padding }: Partial<FlexProps>) => padding || '0'};\n width: ${({ width }: Partial<FlexProps>) => width || 'auto'};\n height: ${({ height }: Partial<FlexProps>) => height || 'auto'};\n max-width: ${({ maxWidth }: Partial<FlexProps>) => maxWidth || 'none'};\n max-height: ${({ maxHeight }: Partial<FlexProps>) => maxHeight || 'none'};\n min-width: ${({ minWidth }: Partial<FlexProps>) => ((minWidth || minWidth === '0') ? minWidth : '0')};\n min-height: ${({ minHeight }: Partial<FlexProps>) => minHeight || '0'};\n border-radius: ${({ borderRadius }: Partial<FlexProps>) => borderRadius || 'initial'};\n`)\n\n// default flex centralized, 100% width and height\nexport const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n {\n width: props.width || '100%',\n height: props.height || '100%',\n justify: props.justify || 'center',\n align: props.align || 'center',\n ...props,\n }\n))``)\n\nexport const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n ...props,\n}))``)\n\nexport const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n style: {\n text: 'blue',\n padding: '1rem',\n border: '1px solid green',\n },\n ...props,\n}))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","Flex","memo","styled","div","withConfig","displayName","componentId","_ref","direction","_ref2","flex","undefined","_ref3","flexGrow","_ref4","flexShrink","_ref5","flexBasis","_ref6","flexWrap","_ref7","gap","_ref8","alignText","_ref9","justify","_ref10","align","_ref11","alignSelf","_ref12","margin","_ref13","padding","_ref14","width","_ref15","height","_ref16","maxWidth","_ref17","maxHeight","_ref18","minWidth","_ref19","minHeight","_ref20","borderRadius","FlexWrapper","attrs","props","_objectSpread","FlexTight","FlexTightStyled","style","text","border"],"mappings":"2QA2BMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAEnGC,EAAOC,EAAIA,KAACC,UAAOC,IAAGC,WAAA,CAAAC,YAAA,OAAAC,YAAA,gBAAVJ,CAAU,CAAA,iDAAA,SAAA,cAAA,gBAAA,eAAA,cAAA,QAAA,eAAA,oBAAA,gBAAA,eAAA,WAAA,YAAA,UAAA,WAAA,cAAA,eAAA,cAAA,eAAA,kBAAA,MAGf,SAAAK,GAAY,OAAAA,EAATC,WAAiD,KAAK,IACnE,SAAAC,GAAA,IAAGC,EAAID,EAAJC,KAAI,YAAqCC,IAATD,EAAqBA,EAAO,GAAG,IAC7D,SAAAE,GAAA,IAAGC,EAAQD,EAARC,SAAQ,YAAyCF,IAAbE,EAAyBA,EAAW,GAAG,IAC5E,SAAAC,GAAA,IAAGC,EAAUD,EAAVC,WAAU,YAA2CJ,IAAfI,EAA2BA,EAAa,GAAG,IACrF,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IAC3D,SAAAC,GAAW,OAAAA,EAARC,UAA+C,QAAQ,IAChE,SAAAC,GAAA,IAAGC,EAAGD,EAAHC,IAAG,YAAoCV,IAARU,EAAoBA,EAAM,GAAG,IACxD,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IACrD,SAAAC,GAAA,IAAGC,EAAOD,EAAPC,QAAO,OAA2B3B,EAAiB2B,IAAY,YAAY,IAClF,SAAAC,GAAA,IAAGC,EAAKD,EAALC,MAAK,OAA2B7B,EAAiB6B,IAAU,YAAY,IAC3E,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IAC9D,SAAAC,GAAS,OAAAA,EAANC,QAA2C,GAAG,IAChD,SAAAC,GAAU,OAAAA,EAAPC,SAA6C,GAAG,IACrD,SAAAC,GAAQ,OAAAA,EAALC,OAAyC,MAAM,IACjD,SAAAC,GAAS,OAAAA,EAANC,QAA2C,MAAM,IACjD,SAAAC,GAAW,OAAAA,EAARC,UAA+C,MAAM,IACvD,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IAC3D,SAAAC,GAAA,IAAGC,EAAQD,EAARC,SAAQ,OAA6BA,GAAyB,MAAbA,EAAoBA,EAAW,GAAG,IACrF,SAAAC,GAAY,OAAAA,EAATC,WAAiD,GAAG,IACpD,SAAAC,GAAe,OAAAA,EAAZC,cAAuD,SAAS,KAIzEC,EAAc/C,EAAIA,KAACC,EAAM,QAACF,GAAMiD,OAAM,SAACC,GAAyB,OAAAC,gBAAA,CAEzEhB,MAAOe,EAAMf,OAAS,OACtBE,OAAQa,EAAMb,QAAU,OACxBZ,QAASyB,EAAMzB,SAAW,SAC1BE,MAAOuB,EAAMvB,OAAS,UACnBuB,EAAK,IAEV9C,WAAA,CAAAC,YAAA,oBAAAC,YAAA,gBAR8BJ,
|
|
1
|
+
{"version":3,"file":"Flex.js","sources":["../../../../../../../src/core/ui/components/container/Flex.ts"],"sourcesContent":["import { memo } from 'react'\nimport styled from 'styled-components'\n\nexport type FlexProps = {\n flex?: string\n flexGrow?: string | number\n alignText?: 'center' | 'right' | 'left'\n direction?: string\n flexShrink?: string | number\n flexBasis?: string\n flexWrap?: string\n justify?: string\n align?: string\n alignSelf?: string\n margin?: string\n padding?: string\n width?: string\n height?: string\n maxWidth?: string\n maxHeight?: string\n minWidth?: string\n minHeight?: string\n gap?: string\n css?: string\n borderRadius?: string\n}\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\nexport const Flex = memo(styled.div<FlexProps>`\n display: flex;\n position: relative;\n flex-direction: ${({ direction }: Partial<FlexProps>) => direction || 'row'};\n flex: ${({ flex }: Partial<FlexProps>) => (flex !== undefined ? flex : '0')};\n flex-grow: ${({ flexGrow }: Partial<FlexProps>) => (flexGrow !== undefined ? flexGrow : '0')};\n flex-shrink: ${({ flexShrink }: Partial<FlexProps>) => (flexShrink !== undefined ? flexShrink : '0')};\n flex-basis: ${({ flexBasis }: Partial<FlexProps>) => flexBasis || 'auto'};\n flex-wrap: ${({ flexWrap }: Partial<FlexProps>) => flexWrap || 'nowrap'};\n gap: ${({ gap }: Partial<FlexProps>) => (gap !== undefined ? gap : '0')};\n text-align: ${({ alignText }: Partial<FlexProps>) => alignText || 'left'};\n justify-content: ${({ justify }: Partial<FlexProps>) => resolveFlexProps(justify) || 'flex-start'};\n align-items: ${({ align }: Partial<FlexProps>) => resolveFlexProps(align) || 'flex-start'};\n align-self: ${({ alignSelf }: Partial<FlexProps>) => alignSelf || 'auto'};\n margin: ${({ margin }: Partial<FlexProps>) => margin || '0'};\n padding: ${({ padding }: Partial<FlexProps>) => padding || '0'};\n width: ${({ width }: Partial<FlexProps>) => width || 'auto'};\n height: ${({ height }: Partial<FlexProps>) => height || 'auto'};\n max-width: ${({ maxWidth }: Partial<FlexProps>) => maxWidth || 'none'};\n max-height: ${({ maxHeight }: Partial<FlexProps>) => maxHeight || 'none'};\n min-width: ${({ minWidth }: Partial<FlexProps>) => ((minWidth || minWidth === '0') ? minWidth : '0')};\n min-height: ${({ minHeight }: Partial<FlexProps>) => minHeight || '0'};\n border-radius: ${({ borderRadius }: Partial<FlexProps>) => borderRadius || 'initial'};\n`)\n\n// default flex centralized, 100% width and height\nexport const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n {\n width: props.width || '100%',\n height: props.height || '100%',\n justify: props.justify || 'center',\n align: props.align || 'center',\n ...props,\n }\n))``)\n\nexport const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n ...props,\n}))``)\n\nexport const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n width: 'initial',\n style: {\n text: 'blue',\n padding: '1rem',\n border: '1px solid green',\n },\n ...props,\n}))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","Flex","memo","styled","div","withConfig","displayName","componentId","_ref","direction","_ref2","flex","undefined","_ref3","flexGrow","_ref4","flexShrink","_ref5","flexBasis","_ref6","flexWrap","_ref7","gap","_ref8","alignText","_ref9","justify","_ref10","align","_ref11","alignSelf","_ref12","margin","_ref13","padding","_ref14","width","_ref15","height","_ref16","maxWidth","_ref17","maxHeight","_ref18","minWidth","_ref19","minHeight","_ref20","borderRadius","FlexWrapper","attrs","props","_objectSpread","FlexTight","FlexTightStyled","style","text","border"],"mappings":"2QA2BMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAEnGC,EAAOC,EAAIA,KAACC,UAAOC,IAAGC,WAAA,CAAAC,YAAA,OAAAC,YAAA,gBAAVJ,CAAU,CAAA,iDAAA,SAAA,cAAA,gBAAA,eAAA,cAAA,QAAA,eAAA,oBAAA,gBAAA,eAAA,WAAA,YAAA,UAAA,WAAA,cAAA,eAAA,cAAA,eAAA,kBAAA,MAGf,SAAAK,GAAY,OAAAA,EAATC,WAAiD,KAAK,IACnE,SAAAC,GAAA,IAAGC,EAAID,EAAJC,KAAI,YAAqCC,IAATD,EAAqBA,EAAO,GAAG,IAC7D,SAAAE,GAAA,IAAGC,EAAQD,EAARC,SAAQ,YAAyCF,IAAbE,EAAyBA,EAAW,GAAG,IAC5E,SAAAC,GAAA,IAAGC,EAAUD,EAAVC,WAAU,YAA2CJ,IAAfI,EAA2BA,EAAa,GAAG,IACrF,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IAC3D,SAAAC,GAAW,OAAAA,EAARC,UAA+C,QAAQ,IAChE,SAAAC,GAAA,IAAGC,EAAGD,EAAHC,IAAG,YAAoCV,IAARU,EAAoBA,EAAM,GAAG,IACxD,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IACrD,SAAAC,GAAA,IAAGC,EAAOD,EAAPC,QAAO,OAA2B3B,EAAiB2B,IAAY,YAAY,IAClF,SAAAC,GAAA,IAAGC,EAAKD,EAALC,MAAK,OAA2B7B,EAAiB6B,IAAU,YAAY,IAC3E,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IAC9D,SAAAC,GAAS,OAAAA,EAANC,QAA2C,GAAG,IAChD,SAAAC,GAAU,OAAAA,EAAPC,SAA6C,GAAG,IACrD,SAAAC,GAAQ,OAAAA,EAALC,OAAyC,MAAM,IACjD,SAAAC,GAAS,OAAAA,EAANC,QAA2C,MAAM,IACjD,SAAAC,GAAW,OAAAA,EAARC,UAA+C,MAAM,IACvD,SAAAC,GAAY,OAAAA,EAATC,WAAiD,MAAM,IAC3D,SAAAC,GAAA,IAAGC,EAAQD,EAARC,SAAQ,OAA6BA,GAAyB,MAAbA,EAAoBA,EAAW,GAAG,IACrF,SAAAC,GAAY,OAAAA,EAATC,WAAiD,GAAG,IACpD,SAAAC,GAAe,OAAAA,EAAZC,cAAuD,SAAS,KAIzEC,EAAc/C,EAAIA,KAACC,EAAM,QAACF,GAAMiD,OAAM,SAACC,GAAyB,OAAAC,gBAAA,CAEzEhB,MAAOe,EAAMf,OAAS,OACtBE,OAAQa,EAAMb,QAAU,OACxBZ,QAASyB,EAAMzB,SAAW,SAC1BE,MAAOuB,EAAMvB,OAAS,UACnBuB,EAAK,IAEV9C,WAAA,CAAAC,YAAA,oBAAAC,YAAA,gBAR8BJ,CAQ9B,CAAA,MAEWkD,EAAYnD,EAAIA,KAACC,EAAM,QAACF,GAAMiD,OAAM,SAACC,GAAyB,OAAAC,gBAAA,CACzEhB,MAAO,WACJe,EAAK,IACP9C,WAAA,CAAAC,YAAA,kBAAAC,YAAA,gBAH2BJ,CAG3B,CAAA,MAEUmD,EAAkBpD,EAAIA,KAACC,EAAM,QAACF,GAAMiD,OAAM,SAACC,GAAyB,OAAAC,gBAAA,CAC/EhB,MAAO,UACPmB,MAAO,CACLC,KAAM,OACNtB,QAAS,OACTuB,OAAQ,oBAEPN,EAAK,IACP9C,WAAA,CAAAC,YAAA,wBAAAC,YAAA,gBARiCJ,CAQjC,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var r=require("react"),t=require("../../../hooks/useParseProps.js"),a=require("./layoutBox.module.scss.js"),s=["style","children","tabIndex","className"],o={start:"flex-start","flex-start":"flex-start",end:"flex-end","flex-end":"flex-end"},l=function(e){return e&&o[e]||e},n=r.forwardRef((function(o,n){var i=o.style,d=o.children,u=o.tabIndex,c=o.className,f=void 0===c?"":c,x=e.objectWithoutProperties(o,s),p=t.useParseProps(x),j=p.dataProps,y=p.restProps,b=r.useMemo((function(){return e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2({},y),y.align?{alignItems:l(y.align)}:{}),y.justify?{justifyContent:l(y.justify)}:{}),y.direction?{flexDirection:y.direction}:{}),i)}),[y,i]);return React.createElement("div",e.extends({ref:n,tabIndex:u,className:"".concat(a.default["flexible-box"]," ").concat(f),style:b},j),d)}));n.displayName="LayoutBoxRefForwarded";var i=r.memo(n);i.displayName="LayoutBox",exports.LayoutBox=i;
|
|
2
|
+
//# sourceMappingURL=LayoutBox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayoutBox.js","sources":["../../../../../../../src/core/ui/components/container/LayoutBox.tsx"],"sourcesContent":["import { memo, FC, useMemo, CSSProperties, forwardRef, LegacyRef } from 'react'\n\nimport { useParseProps } from '../../../hooks/useParseProps'\n\nimport { LayoutBoxProps } from './layoutBox.types'\nimport classes from './layoutBox.module.scss'\n\n\nconst flexValueMap: Record<string, string> = {\n start: 'flex-start',\n 'flex-start': 'flex-start',\n end: 'flex-end',\n 'flex-end': 'flex-end',\n}\n\nconst resolveFlexProps = (value?: string): string | undefined => (value ? (flexValueMap[value] || value) : value)\n\n\nconst LayoutBoxRefForwarded = forwardRef(({\n style, children, tabIndex, className = '', ...props\n}: LayoutBoxProps, ref: LegacyRef<HTMLDivElement> | undefined) => {\n const { dataProps, restProps } = useParseProps(props)\n\n const styles = useMemo(() => (\n {\n ...restProps,\n ...(restProps.align ? { alignItems: resolveFlexProps(restProps.align as string) } : {}),\n ...(restProps.justify ? { justifyContent: resolveFlexProps(restProps.justify as string) } : {}),\n ...(restProps.direction ? { flexDirection: restProps.direction } : {}),\n ...style,\n }\n ), [restProps, style])\n\n return (\n <div\n ref={ref}\n tabIndex={tabIndex}\n className={`${(classes as any)['flexible-box']} ${className}`}\n style={styles as CSSProperties}\n {...dataProps}\n >\n {children}\n </div>\n )\n})\n\nLayoutBoxRefForwarded.displayName = 'LayoutBoxRefForwarded'\n\nexport const LayoutBox: FC<LayoutBoxProps> = memo<LayoutBoxProps>(LayoutBoxRefForwarded)\n\n\nLayoutBox.displayName = 'LayoutBox'\n\n\n// default flex centralized, 100% width and height\n// export const FlexWrapper = memo(styled(Flex).attrs((props: Partial<FlexProps>) => (\n// {\n// width: props.width || '100%',\n// height: props.height || '100%',\n// justify: props.justify || 'center',\n// align: props.align || 'center',\n// ...props,\n// }\n// ))``)\n\n// export const FlexTight = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n// size: 'unset',\n// width: 'initial',\n// ...props,\n// }))``)\n\n// export const FlexTightStyled = memo(styled(Flex).attrs((props: Partial<FlexProps>) => ({\n// size: 'unset',\n// width: 'initial',\n// style: {\n// text: 'blue',\n// padding: '1rem',\n// border: '1px solid green',\n// },\n// ...props,\n// }))``)\n"],"names":["flexValueMap","start","end","resolveFlexProps","value","LayoutBoxRefForwarded","forwardRef","_ref","ref","style","children","tabIndex","_ref$className","className","props","_objectWithoutProperties","objectWithoutProperties","_excluded","_useParseProps","useParseProps","dataProps","restProps","styles","useMemo","_objectSpread","objectSpread2","align","alignItems","justify","justifyContent","direction","flexDirection","React","createElement","_extends","concat","classes","displayName","LayoutBox","memo"],"mappings":"8WAQMA,EAAuC,CAC3CC,MAAO,aACP,aAAc,aACdC,IAAK,WACL,WAAY,YAGRC,EAAmB,SAACC,GAAc,OAA0BA,GAASJ,EAAaI,IAAmBA,CAAK,EAG1GC,EAAwBC,EAAUA,YAAC,SAAAC,EAEtBC,GAA+C,IADhEC,EAAKF,EAALE,MAAOC,EAAQH,EAARG,SAAUC,EAAQJ,EAARI,SAAQC,EAAAL,EAAEM,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAKE,EAAKC,EAAAC,wBAAAT,EAAAU,GAEnDC,EAAiCC,EAAaA,cAACL,GAAvCM,EAASF,EAATE,UAAWC,EAASH,EAATG,UAEbC,EAASC,EAAAA,SAAQ,WAAA,OAAAC,EAAAC,cAAAD,gBAAAA,EAAAA,cAAAA,EAAAC,cAAAD,mBAEhBH,GACCA,EAAUK,MAAQ,CAAEC,WAAYxB,EAAiBkB,EAAUK,QAAqB,CAAE,GAClFL,EAAUO,QAAU,CAAEC,eAAgB1B,EAAiBkB,EAAUO,UAAuB,CAAE,GAC1FP,EAAUS,UAAY,CAAEC,cAAeV,EAAUS,WAAc,CAAE,GAClErB,EAAK,GAET,CAACY,EAAWZ,IAEf,OACEuB,MAAAC,cAAA,MAAAC,UAAA,CACE1B,IAAKA,EACLG,SAAUA,EACVE,UAAS,GAAAsB,OAAMC,EAAO,QAAS,gBAAeD,KAAAA,OAAItB,GAClDJ,MAAOa,GACHF,GAEHV,EAGP,IAEAL,EAAsBgC,YAAc,4BAEvBC,EAAgCC,EAAIA,KAAiBlC,GAGlEiC,EAAUD,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),i=require("../../../../../node_modules/lodash-es/debounce.js"),n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),i=require("../../../../../node_modules/lodash-es/debounce.js"),n=require("./LayoutBox.js"),l=["children","debounceDelay"],o={main:{position:"absolute",zIndex:111,left:0,pointerEvents:"none"},empty:{pointerEvents:"none"}},r=t.memo((function(r){var u=r.children,d=r.debounceDelay,c=void 0===d?250:d,h=e.objectWithoutProperties(r,l),a=t.useRef(),s=t.useRef({width:0,height:0}),v=t.useState({width:void 0,height:void 0}),g=e.slicedToArray(v,2),m=g[0],p=g[1],y=t.useMemo((function(){return i.default((function(e){var t,i,n,l,o=e[0].contentRect.width,r=e[0].contentRect.height;(null===(t=s.current)||void 0===t?void 0:t.width)===o&&(null===(i=s.current)||void 0===i?void 0:i.height)===r||(s.current={width:o,height:r},p({width:null==a||null===(n=a.current)||void 0===n?void 0:n.clientWidth,height:null==a||null===(l=a.current)||void 0===l?void 0:l.clientHeight}))}),c)}),[c]);return t.useLayoutEffect((function(){var e,t,i,n;null!=a&&a.current&&(t=null==a?void 0:a.current,(e=new ResizeObserver(y)).observe(t),p({width:null==a||null===(i=a.current)||void 0===i?void 0:i.clientWidth,height:null==a||null===(n=a.current)||void 0===n?void 0:n.clientHeight}));return function(){var i,n;null===(i=e)||void 0===i||null===(n=i.unobserve)||void 0===n||n.call(i,t)}}),[y,a]),React.createElement(n.LayoutBox,e.extends({width:"100%",height:"100%",justify:"center",align:"center",direction:"column"},h),React.createElement(n.LayoutBox,{style:o.main,width:"100%",height:"100%",ref:a}),!u&&React.createElement(n.LayoutBox,{width:"".concat(Math.max((null==m?void 0:m.width)||200,200)||200,"px"),height:"".concat(Math.max((null==m?void 0:m.height)||200,200)||200,"px"),style:o.empty}),u&&(null==u?void 0:u({height:"".concat((null==m?void 0:m.height)||200,"px"),width:"".concat((null==m?void 0:m.width)||200,"px"),measured:!(null==m||!m.height)})))}));r.displayName="ResizableContainer",exports.ResizableContainer=r;
|
|
2
2
|
//# sourceMappingURL=ResizableContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResizableContainer.js","sources":["../../../../../../../src/core/ui/components/container/ResizableContainer.tsx"],"sourcesContent":["import { memo, useState, useRef, useMemo, useLayoutEffect, RefObject, PropsWithChildren } from 'react'\nimport debounce from 'lodash-es/debounce'\n\nimport {
|
|
1
|
+
{"version":3,"file":"ResizableContainer.js","sources":["../../../../../../../src/core/ui/components/container/ResizableContainer.tsx"],"sourcesContent":["import { memo, useState, useRef, useMemo, useLayoutEffect, RefObject, PropsWithChildren } from 'react'\nimport debounce from 'lodash-es/debounce'\n\nimport { LayoutBox } from './LayoutBox'\nimport { LayoutBoxProps } from './layoutBox.types'\n\nexport type ResizableContainerProps = LayoutBoxProps & PropsWithChildren<any> & {\n debounceDelay?: number\n}\n\nexport type ResizableContainerRenderProps = {\n width: number | string\n height: number | string\n measured: boolean\n}\n\ntype WrapperSize = {width: undefined | number; height: undefined | number}\n\nconst styles = {\n main: {\n position: 'absolute',\n zIndex: 111,\n left: 0,\n pointerEvents: 'none',\n // backgroundColor: '#FF000040',\n },\n empty: {\n pointerEvents: 'none',\n // background: '#FF000040',\n // border: '1px solid #0000FF40',\n },\n}\n\nexport const ResizableContainer = memo<ResizableContainerProps>(\n ({ children, debounceDelay = 250, ...props }: ResizableContainerProps) => {\n const containerRef = useRef<HTMLDivElement>()\n\n const lastResizeWidthRef = useRef<{ width: number; height: number }>({ width: 0, height: 0 })\n\n const [containerSize, setContainerSize]\n = useState<WrapperSize>({ width: undefined, height: undefined })\n\n const debouncedResizeWrapper = useMemo(() => debounce((entries) => {\n const newResizeWidth = entries[0].contentRect.width\n const newResizeHeight = entries[0].contentRect.height\n\n if (lastResizeWidthRef.current?.width === newResizeWidth\n && lastResizeWidthRef.current?.height === newResizeHeight) {\n return\n }\n lastResizeWidthRef.current = { width: newResizeWidth, height: newResizeHeight }\n\n setContainerSize({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }, debounceDelay), [debounceDelay])\n\n useLayoutEffect(() => {\n let resizeObserver: ResizeObserver\n let containerElement: HTMLElement\n\n if (containerRef?.current) {\n containerElement = containerRef?.current\n resizeObserver = new ResizeObserver(debouncedResizeWrapper)\n resizeObserver.observe(containerElement as Element)\n\n setContainerSize({\n width: containerRef?.current?.clientWidth,\n height: containerRef?.current?.clientHeight,\n })\n }\n return () => {\n resizeObserver?.unobserve?.(containerElement as Element)\n }\n }, [debouncedResizeWrapper, containerRef])\n\n // END RESIZING\n\n return (\n <LayoutBox\n width='100%'\n height='100%'\n justify='center'\n align='center'\n direction='column'\n {...props}\n >\n <LayoutBox\n style={styles.main}\n width='100%'\n height='100%'\n ref={containerRef as RefObject<HTMLDivElement>}\n />\n {!children && (<LayoutBox\n width={`${Math.max(containerSize?.width || 200, 200) || 200}px`}\n height={`${Math.max(containerSize?.height || 200, 200) || 200}px`}\n style={styles.empty}\n />)}\n {children && children?.({\n height: `${containerSize?.height || 200}px`,\n width: `${containerSize?.width || 200}px`,\n measured: !!containerSize?.height,\n } as ResizableContainerRenderProps)}\n </LayoutBox>\n )\n },\n)\n\nResizableContainer.displayName = 'ResizableContainer'\n\n"],"names":["styles","main","position","zIndex","left","pointerEvents","empty","ResizableContainer","memo","_ref","children","_ref$debounceDelay","debounceDelay","props","_objectWithoutProperties","objectWithoutProperties","_excluded","containerRef","useRef","lastResizeWidthRef","width","height","_useState","useState","undefined","_useState2","_slicedToArray","containerSize","setContainerSize","debouncedResizeWrapper","useMemo","debounce","entries","_lastResizeWidthRef$c","_lastResizeWidthRef$c2","_containerRef$current","_containerRef$current2","newResizeWidth","contentRect","newResizeHeight","current","clientWidth","clientHeight","useLayoutEffect","resizeObserver","containerElement","_containerRef$current3","_containerRef$current4","ResizeObserver","observe","_resizeObserver","_resizeObserver$unobs","unobserve","call","React","createElement","LayoutBox","_extends","justify","align","direction","style","ref","concat","Math","max","measured","displayName"],"mappings":"uRAkBMA,EAAS,CACbC,KAAM,CACJC,SAAU,WACVC,OAAQ,IACRC,KAAM,EACNC,cAAe,QAGjBC,MAAO,CACLD,cAAe,SAMNE,EAAqBC,EAAAA,MAChC,SAAAC,GAA0E,IAAvEC,EAAQD,EAARC,SAAQC,EAAAF,EAAEG,cAAAA,OAAgB,IAAHD,EAAG,IAAGA,EAAKE,EAAKC,EAAAC,wBAAAN,EAAAO,GAClCC,EAAeC,EAAAA,SAEfC,EAAqBD,EAAAA,OAA0C,CAAEE,MAAO,EAAGC,OAAQ,IAEzFC,EACEC,EAAAA,SAAsB,CAAEH,WAAOI,EAAWH,YAAQG,IAAYC,EAAAC,EAAAA,cAAAJ,EAAA,GADzDK,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GAGhCI,EAAyBC,EAAAA,SAAQ,WAAA,OAAMC,EAAAA,SAAS,SAACC,GAAY,IAAAC,EAAAC,EAAAC,EAAAC,EAC3DC,EAAiBL,EAAQ,GAAGM,YAAYlB,MACxCmB,EAAkBP,EAAQ,GAAGM,YAAYjB,QAEjBY,QAA1BA,EAAAd,EAAmBqB,eAAnBP,IAA0BA,OAA1BA,EAAAA,EAA4Bb,SAAUiB,IACb,QAA1BH,EAAAf,EAAmBqB,eAAO,IAAAN,OAAA,EAA1BA,EAA4Bb,UAAWkB,IAG1CpB,EAAmBqB,QAAU,CAAEpB,MAAOiB,EAAgBhB,OAAQkB,GAE9DX,EAAiB,CACfR,MAAOH,SAAqBkB,QAATA,EAAZlB,EAAcuB,eAAdL,IAAqBA,SAArBA,EAAuBM,YAC9BpB,OAAQJ,SAAqB,QAATmB,EAAZnB,EAAcuB,eAAO,IAAAJ,SAArBA,EAAuBM,eAElC,GAAE9B,KAAgB,CAACA,IAuBpB,OArBA+B,EAAAA,iBAAgB,WACd,IAAIC,EACAC,EAEuBC,EAAAC,EAAvB9B,SAAAA,EAAcuB,UAChBK,EAAmB5B,aAAAA,EAAAA,EAAcuB,SACjCI,EAAiB,IAAII,eAAenB,IACrBoB,QAAQJ,GAEvBjB,EAAiB,CACfR,MAAOH,SAAqB6B,QAATA,EAAZ7B,EAAcuB,eAAdM,IAAqBA,SAArBA,EAAuBL,YAC9BpB,OAAQJ,SAAqB,QAAT8B,EAAZ9B,EAAcuB,eAAO,IAAAO,SAArBA,EAAuBL,gBAGnC,OAAO,WAAM,IAAAQ,EAAAC,EACG,QAAdD,EAAAN,SAAcO,IAAAD,GAAWC,QAAXA,EAAdD,EAAgBE,qBAASD,GAAzBA,EAAAE,KAAAH,EAA4BL,GAEhC,GAAG,CAAChB,EAAwBZ,IAK1BqC,MAAAC,cAACC,EAASA,UAAAC,UAAA,CACRrC,MAAM,OACNC,OAAO,OACPqC,QAAQ,SACRC,MAAM,SACNC,UAAU,UACN/C,GAEJyC,MAAAC,cAACC,EAAAA,UAAS,CACRK,MAAO7D,EAAOC,KACdmB,MAAM,OACNC,OAAO,OACPyC,IAAK7C,KAELP,GAAa4C,MAAAC,cAACC,EAAAA,UAAS,CACvBpC,MAAK,GAAA2C,OAAKC,KAAKC,KAAItC,eAAAA,EAAeP,QAAS,IAAK,MAAQ,IAAQ,MAChEC,OAAM,GAAA0C,OAAKC,KAAKC,KAAItC,eAAAA,EAAeN,SAAU,IAAK,MAAQ,IAAQ,MAClEwC,MAAO7D,EAAOM,QAEfI,IAAYA,aAAAA,EAAAA,EAAW,CACtBW,OAAM0C,GAAAA,QAAKpC,aAAa,EAAbA,EAAeN,SAAU,IAAO,MAC3CD,MAAK2C,GAAAA,QAAKpC,aAAa,EAAbA,EAAeP,QAAS,IAAO,MACzC8C,WAAYvC,UAAAA,EAAeN,WAInC,IAGFd,EAAmB4D,YAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layoutBox.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.js","sources":["../../../../../../../src/core/ui/components/field/Field.tsx"],"sourcesContent":["/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport { FC, ReactNode, memo, useMemo, useCallback, PropsWithChildren } from 'react'\nimport styled from 'styled-components'\n\nimport type { FieldError, IconComponentType } from './types'\n\nlet iconColor: string | (() => string) = () => '#000000'\n\nexport const setIconColor = (color: string | (() => string)): void => {\n iconColor = color\n}\n\nlet IconComponent: IconComponentType = memo(function IconComponent() { return <span /> })\n\nexport const setIconComponent = (component: IconComponentType): void => {\n IconComponent = component\n}\n\nexport type FileWrapperProps = PropsWithChildren<unknown> & {\n className?: string\n error?: boolean\n disabled?: boolean\n userDisabled?: boolean\n css?: string\n}\n\nexport const FieldWrapper: FC<FileWrapperProps> = styled.div<FileWrapperProps>`\n opacity: ${({ disabled, userDisabled }) => (disabled || userDisabled ? 0.5 : 1)};\n pointer-events: ${({ disabled, userDisabled }) => (disabled || userDisabled ? 'none' : 'auto')};\n flex: 1 1 auto;\n width: 100%;\n @media (min-width: 400px) {\n flex: 1;\n }\n .label {\n font-size: 0.8rem !important;\n font-weight: normal;\n }\n\n .help {\n text-align: left;\n }\n\n .mainControl {\n flex: 1;\n border-radius: 6px;\n box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.06);\n will-change: box-shadow;\n transition: box-shadow 250ms ease-in-out;\n &:hover {\n box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);\n }\n }\n button {\n box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);\n }\n .select {\n width: 100%;\n flex: 1;\n &::after {\n border-color: #000000 !important;\n }\n }\n\n .icon {\n &.is-action {\n cursor: pointer;\n pointer-events: initial !important;\n }\n }\n\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type=number] {\n -moz-appearance: textfield;\n }\n\n .input[type=date]::-webkit-calendar-picker-indicator {\n opacity:0;\n -webkit-appearance: none;\n position: absolute;\n left: 0;\n top: 0;\n width: 40px;\n height: 100%;\n margin: 0;\n padding: 0;\n cursor: pointer;\n }\n\n textarea {\n resize: none;\n }\n`\n\ntype EventType = { target: any; type?: any } & Partial<Event>\nexport interface FieldProps {\n label?: string\n name?: string\n type?: string\n min?: number | string | Date | any\n max?: number | string | Date | any\n value?: string | number | readonly string[] | undefined\n defaultValue?: string | number | readonly string[] | undefined\n placeholder?: string\n inputRef?: ReactHookFormRef\n error?: boolean\n errors?: FieldError\n disabled?: boolean\n userDisabled?: boolean\n helpTextInfo?: string\n helpText?: string\n iconLeft?: string\n iconRight?: string\n withoutComponent?: boolean\n addon?: ReactNode\n children?: ReactNode\n className?: string\n onChange?: (event?: EventType) => unknown\n // TODO, rename... something like changeHandler or valueDecorator\n onChangeInner?: (value: string | number) => string | number\n onBlur?: (event?: EventType) => void\n onFocus?: (event?: EventType | undefined) => void\n rightIconClick?: (event?: EventType) => void\n leftIconClick?: (event?: EventType) => void\n options?: any[] | null\n creatable?: boolean\n async?: boolean\n css?: string\n [key: string]: any\n}\n\ninterface SelectProps extends FieldProps {\n id?: string\n}\n\ntype OptionObj = { label: string | number | undefined; value: string | number | undefined }\ntype Option = OptionObj | string | number\n\nexport const Select: FC<SelectProps>\n= memo<SelectProps>(\n function Select({ options, value, inputRef, ...props }: SelectProps) {\n return (\n <div className='select'>\n <select {...props} ref={inputRef} defaultValue={value}>\n {options?.map((option: Option) => (\n <option\n key={`${JSON.stringify(option)}`}\n value={typeof option === 'object' ? (option as OptionObj)?.value : option}\n >\n {typeof option === 'object' ? (option as OptionObj)?.label : option}\n </option>\n ))}\n </select>\n </div>\n )\n },\n)\n\nconst InputComponent = styled.input``\nconst TextAreaComponent = styled.textarea``\nconst StyledFieldLabel = styled.label`\n text-align: left;\n`\n\nexport const Field: FC<FieldProps> = memo<FieldProps>(({\n label,\n name,\n type = 'text',\n value,\n defaultValue,\n placeholder,\n inputRef,\n error,\n disabled,\n userDisabled,\n withoutComponent,\n helpTextInfo,\n helpText,\n children,\n iconLeft,\n iconRight,\n addon,\n className,\n onChange,\n onChangeInner,\n onBlur,\n onFocus,\n rightIconClick,\n leftIconClick,\n options,\n css,\n ...props\n}: FieldProps) => {\n let Component: FC<any> = InputComponent\n\n if (!children && type === 'textarea') {\n Component = TextAreaComponent\n }\n const handleFocus = useCallback((event: Event | EventType | undefined) => {\n if (userDisabled) {\n event?.preventDefault?.()\n } else {\n onFocus && onFocus(event)\n }\n }, [userDisabled, onFocus])\n\n const handleChange = useCallback((event: { target: { value: string } }) => {\n if (userDisabled) {\n return\n }\n if (onChangeInner && event?.target) {\n // eslint-disable-next-line no-param-reassign\n event.target.value = onChangeInner((event.target.value as string)) as string\n onChange && onChange(event as EventType)\n } else {\n onChange && onChange(event as EventType)\n }\n }, [onChangeInner, onChange, userDisabled])\n\n const valueProps = useMemo(() => {\n if (value === undefined) {\n return { defaultValue }\n }\n return { value }\n }, [value, defaultValue])\n\n return (\n <FieldWrapper\n className={`field ${className}`}\n error={error}\n disabled={disabled}\n userDisabled={userDisabled}\n css={css}\n >\n <StyledFieldLabel htmlFor={name} className='label'>{label}</StyledFieldLabel>\n <div className={`field ${addon ? 'has-addons' : ''}`}>\n <div\n className={`control mainControl ${iconLeft && !withoutComponent\n ? 'has-icons-left' : ''} ${iconRight ? 'has-icons-right' : ''}`}\n >\n {!withoutComponent && ((!children && (type === 'select' || options))\n ? (\n <Select\n name={name}\n id={name}\n inputRef={inputRef}\n className={`input ${error ? 'is-danger' : ''}`}\n type='select'\n placeholder={placeholder}\n value={value}\n options={options}\n // TODO also handle change but value versus event.target.value issue\n onChange={onChange}\n onBlur={onBlur}\n onFocus={handleFocus}\n onKeyDown={handleFocus}\n autoComplete='off'\n disabled={disabled}\n {...props}\n />\n )\n : (\n !children && <Component\n name={name}\n id={name}\n ref={inputRef}\n className={`input ${error ? 'is-danger' : ''}`}\n type={type}\n placeholder={placeholder}\n {...valueProps}\n onChange={handleChange}\n onBlur={onBlur}\n onFocus={handleFocus}\n onKeyDown={handleFocus}\n autoComplete='off'\n disabled={disabled}\n {...props}\n />))}\n\n {iconLeft && !withoutComponent && (\n <span\n className={`iconLeft icon is-small is-left ${leftIconClick ? 'is-action' : ''}`}\n onClick={leftIconClick}\n >\n <IconComponent\n iconName={iconLeft}\n color={iconColor}\n />\n </span>\n )}\n {iconRight && (\n <span\n className={`iconRight icon is-small is-right ${rightIconClick ? 'is-action' : ''}`}\n onClick={rightIconClick}\n >\n <IconComponent\n iconName={iconRight}\n color={iconColor}\n />\n </span>\n )}\n {children && children}\n </div>\n {addon && addon}\n </div>\n {helpTextInfo && <p className='help'>{helpTextInfo}</p>}\n {helpText && <p className={`help ${error ? 'is-danger' : ''}`}>{helpText}</p>}\n </FieldWrapper>\n )\n})\n\nField.displayName = 'Field'\n"],"names":["iconColor","IconComponent","memo","React","createElement","FieldWrapper","styled","div","withConfig","displayName","componentId","_ref","disabled","userDisabled","_ref2","_StyledFieldWrapper","p","$_css","Select","_ref3","options","value","inputRef","props","_objectWithoutProperties","objectWithoutProperties","_excluded","className","_extends","ref","defaultValue","map","option","key","concat","JSON","stringify","_typeof","label","InputComponent","input","TextAreaComponent","textarea","StyledFieldLabel","Field","_ref4","name","_ref4$type","type","placeholder","error","withoutComponent","helpTextInfo","helpText","children","iconLeft","iconRight","addon","onChange","onChangeInner","onBlur","onFocus","rightIconClick","leftIconClick","css","_excluded2","Component","handleFocus","useCallback","event","_event$preventDefault","preventDefault","call","handleChange","target","valueProps","useMemo","undefined","htmlFor","id","onKeyDown","autoComplete","onClick","iconName","color","component"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"Field.js","sources":["../../../../../../../src/core/ui/components/field/Field.tsx"],"sourcesContent":["/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport { FC, ReactNode, memo, useMemo, useCallback, PropsWithChildren } from 'react'\nimport styled from 'styled-components'\n\nimport type { FieldError, IconComponentType } from './types'\n\nlet iconColor: string | (() => string) = () => '#000000'\n\nexport const setIconColor = (color: string | (() => string)): void => {\n iconColor = color\n}\n\nlet IconComponent: IconComponentType = memo(function IconComponent() { return <span /> })\n\nexport const setIconComponent = (component: IconComponentType): void => {\n IconComponent = component\n}\n\nexport type FileWrapperProps = PropsWithChildren<unknown> & {\n className?: string\n error?: boolean\n disabled?: boolean\n userDisabled?: boolean\n css?: string\n}\n\nexport const FieldWrapper: FC<FileWrapperProps> = styled.div<FileWrapperProps>`\n opacity: ${({ disabled, userDisabled }) => (disabled || userDisabled ? 0.5 : 1)};\n pointer-events: ${({ disabled, userDisabled }) => (disabled || userDisabled ? 'none' : 'auto')};\n flex: 1 1 auto;\n width: 100%;\n @media (min-width: 400px) {\n flex: 1;\n }\n .label {\n font-size: 0.8rem !important;\n font-weight: normal;\n }\n\n .help {\n text-align: left;\n }\n\n .mainControl {\n flex: 1;\n border-radius: 6px;\n box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.06);\n will-change: box-shadow;\n transition: box-shadow 250ms ease-in-out;\n &:hover {\n box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);\n }\n }\n button {\n box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);\n }\n .select {\n width: 100%;\n flex: 1;\n &::after {\n border-color: #000000 !important;\n }\n }\n\n .icon {\n &.is-action {\n cursor: pointer;\n pointer-events: initial !important;\n }\n }\n\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type=number] {\n -moz-appearance: textfield;\n }\n\n .input[type=date]::-webkit-calendar-picker-indicator {\n opacity:0;\n -webkit-appearance: none;\n position: absolute;\n left: 0;\n top: 0;\n width: 40px;\n height: 100%;\n margin: 0;\n padding: 0;\n cursor: pointer;\n }\n\n textarea {\n resize: none;\n }\n`\n\ntype EventType = { target: any; type?: any } & Partial<Event>\nexport interface FieldProps {\n label?: string\n name?: string\n type?: string\n min?: number | string | Date | any\n max?: number | string | Date | any\n value?: string | number | readonly string[] | undefined\n defaultValue?: string | number | readonly string[] | undefined\n placeholder?: string\n inputRef?: ReactHookFormRef\n error?: boolean\n errors?: FieldError\n disabled?: boolean\n userDisabled?: boolean\n helpTextInfo?: string\n helpText?: string\n iconLeft?: string\n iconRight?: string\n withoutComponent?: boolean\n addon?: ReactNode\n children?: ReactNode\n className?: string\n onChange?: (event?: EventType) => unknown\n // TODO, rename... something like changeHandler or valueDecorator\n onChangeInner?: (value: string | number) => string | number\n onBlur?: (event?: EventType) => void\n onFocus?: (event?: EventType | undefined) => void\n rightIconClick?: (event?: EventType) => void\n leftIconClick?: (event?: EventType) => void\n options?: any[] | null\n creatable?: boolean\n async?: boolean\n css?: string\n [key: string]: any\n}\n\ninterface SelectProps extends FieldProps {\n id?: string\n}\n\ntype OptionObj = { label: string | number | undefined; value: string | number | undefined }\ntype Option = OptionObj | string | number\n\nexport const Select: FC<SelectProps>\n= memo<SelectProps>(\n function Select({ options, value, inputRef, ...props }: SelectProps) {\n return (\n <div className='select'>\n <select {...props} ref={inputRef} defaultValue={value}>\n {options?.map((option: Option) => (\n <option\n key={`${JSON.stringify(option)}`}\n value={typeof option === 'object' ? (option as OptionObj)?.value : option}\n >\n {typeof option === 'object' ? (option as OptionObj)?.label : option}\n </option>\n ))}\n </select>\n </div>\n )\n },\n)\n\nconst InputComponent = styled.input``\nconst TextAreaComponent = styled.textarea``\nconst StyledFieldLabel = styled.label`\n text-align: left;\n`\n\nexport const Field: FC<FieldProps> = memo<FieldProps>(({\n label,\n name,\n type = 'text',\n value,\n defaultValue,\n placeholder,\n inputRef,\n error,\n disabled,\n userDisabled,\n withoutComponent,\n helpTextInfo,\n helpText,\n children,\n iconLeft,\n iconRight,\n addon,\n className,\n onChange,\n onChangeInner,\n onBlur,\n onFocus,\n rightIconClick,\n leftIconClick,\n options,\n css,\n ...props\n}: FieldProps) => {\n let Component: FC<any> = InputComponent\n\n if (!children && type === 'textarea') {\n Component = TextAreaComponent\n }\n const handleFocus = useCallback((event: Event | EventType | undefined) => {\n if (userDisabled) {\n event?.preventDefault?.()\n } else {\n onFocus && onFocus(event)\n }\n }, [userDisabled, onFocus])\n\n const handleChange = useCallback((event: { target: { value: string } }) => {\n if (userDisabled) {\n return\n }\n if (onChangeInner && event?.target) {\n // eslint-disable-next-line no-param-reassign\n event.target.value = onChangeInner((event.target.value as string)) as string\n onChange && onChange(event as EventType)\n } else {\n onChange && onChange(event as EventType)\n }\n }, [onChangeInner, onChange, userDisabled])\n\n const valueProps = useMemo(() => {\n if (value === undefined) {\n return { defaultValue }\n }\n return { value }\n }, [value, defaultValue])\n\n return (\n <FieldWrapper\n className={`field ${className}`}\n error={error}\n disabled={disabled}\n userDisabled={userDisabled}\n css={css}\n >\n <StyledFieldLabel htmlFor={name} className='label'>{label}</StyledFieldLabel>\n <div className={`field ${addon ? 'has-addons' : ''}`}>\n <div\n className={`control mainControl ${iconLeft && !withoutComponent\n ? 'has-icons-left' : ''} ${iconRight ? 'has-icons-right' : ''}`}\n >\n {!withoutComponent && ((!children && (type === 'select' || options))\n ? (\n <Select\n name={name}\n id={name}\n inputRef={inputRef}\n className={`input ${error ? 'is-danger' : ''}`}\n type='select'\n placeholder={placeholder}\n value={value}\n options={options}\n // TODO also handle change but value versus event.target.value issue\n onChange={onChange}\n onBlur={onBlur}\n onFocus={handleFocus}\n onKeyDown={handleFocus}\n autoComplete='off'\n disabled={disabled}\n {...props}\n />\n )\n : (\n !children && <Component\n name={name}\n id={name}\n ref={inputRef}\n className={`input ${error ? 'is-danger' : ''}`}\n type={type}\n placeholder={placeholder}\n {...valueProps}\n onChange={handleChange}\n onBlur={onBlur}\n onFocus={handleFocus}\n onKeyDown={handleFocus}\n autoComplete='off'\n disabled={disabled}\n {...props}\n />))}\n\n {iconLeft && !withoutComponent && (\n <span\n className={`iconLeft icon is-small is-left ${leftIconClick ? 'is-action' : ''}`}\n onClick={leftIconClick}\n >\n <IconComponent\n iconName={iconLeft}\n color={iconColor}\n />\n </span>\n )}\n {iconRight && (\n <span\n className={`iconRight icon is-small is-right ${rightIconClick ? 'is-action' : ''}`}\n onClick={rightIconClick}\n >\n <IconComponent\n iconName={iconRight}\n color={iconColor}\n />\n </span>\n )}\n {children && children}\n </div>\n {addon && addon}\n </div>\n {helpTextInfo && <p className='help'>{helpTextInfo}</p>}\n {helpText && <p className={`help ${error ? 'is-danger' : ''}`}>{helpText}</p>}\n </FieldWrapper>\n )\n})\n\nField.displayName = 'Field'\n"],"names":["iconColor","IconComponent","memo","React","createElement","FieldWrapper","styled","div","withConfig","displayName","componentId","_ref","disabled","userDisabled","_ref2","_StyledFieldWrapper","p","$_css","Select","_ref3","options","value","inputRef","props","_objectWithoutProperties","objectWithoutProperties","_excluded","className","_extends","ref","defaultValue","map","option","key","concat","JSON","stringify","_typeof","label","InputComponent","input","TextAreaComponent","textarea","StyledFieldLabel","Field","_ref4","name","_ref4$type","type","placeholder","error","withoutComponent","helpTextInfo","helpText","children","iconLeft","iconRight","addon","onChange","onChangeInner","onBlur","onFocus","rightIconClick","leftIconClick","css","_excluded2","Component","handleFocus","useCallback","event","_event$preventDefault","preventDefault","call","handleChange","target","valueProps","useMemo","undefined","htmlFor","id","onKeyDown","autoComplete","onClick","iconName","color","component"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var o=require("react"),t=require("./icon.module.scss.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js");var o=require("react"),t=require("./icon.module.scss.js"),r=["iconUrl","minWidth","minHeight","size","fontSize","width","height","color","className","children","style"],i=o.memo((function(i){var c=i.iconUrl,n=i.minWidth,s=i.minHeight,a=i.size,l=i.fontSize,u=i.width,d=i.height,h=i.color,m=void 0===h?"currentColor":h,p=i.className,j=void 0===p?"":p,b=i.children,f=i.style,g=e.objectWithoutProperties(i,r),v=o.useMemo((function(){return e.objectSpread2(e.objectSpread2(e.objectSpread2(e.objectSpread2({"--min-width":n||a||u||"auto","--min-height":s||a||d||"auto","--width":a||u||"1rem","--height":a||d||"1rem"},l?{fontSize:l}:{}),c?{"--icon-url":"url(".concat(c,")")}:{}),c?{"--icon-color":m}:{"--icon-content-color":m}),f)}),[n,a,u,s,d,l,c,m,f]);return React.createElement("span",e.extends({},g,{className:"".concat(t.default["icon-base"]," icon-base ").concat(j),style:v}),!c&&b&&b)}));i.displayName="IconBase",exports.IconBase=i;
|
|
2
2
|
//# sourceMappingURL=IconBase.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconBase.js","sources":["../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, FC, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<unknown> & {\n id?: string\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n size?: string\n fontSize?: string\n color?: string\n className?: string\n style?: CSSProperties\n}\n\nexport const IconBase: FC<IconBaseType> = memo<IconBaseType>(({\n iconUrl, minWidth, minHeight, size,\n fontSize, width, height, color = 'currentColor', className = '', children, style, ...props\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth || size || width || 'auto',\n '--min-height': minHeight || size || height || 'auto',\n '--width': size || width,\n '--height': size || height,\n ...(fontSize ? { fontSize } : {}),\n ...(iconUrl ? { '--icon-url': `url(${iconUrl})` } : {}),\n ...(iconUrl ? { '--icon-color': color } : { '--icon-content-color': color }),\n ...style,\n }\n ), [minWidth, size, width, minHeight, height, fontSize, iconUrl, color, style])\n\n return (\n <span\n {...props}\n className={`${
|
|
1
|
+
{"version":3,"file":"IconBase.js","sources":["../../../../../../../src/core/ui/components/icon/IconBase.tsx"],"sourcesContent":["import { CSSProperties, memo, useMemo, FC, PropsWithChildren } from 'react'\n\nimport classes from './icon.module.scss'\n\nexport type IconBaseType = PropsWithChildren<unknown> & {\n id?: string\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n size?: string\n fontSize?: string\n color?: string\n className?: string\n style?: CSSProperties\n}\n\nexport const IconBase: FC<IconBaseType> = memo<IconBaseType>(({\n iconUrl, minWidth, minHeight, size,\n fontSize, width, height, color = 'currentColor', className = '', children, style, ...props\n}: IconBaseType) => {\n const styles = useMemo(() => (\n {\n '--min-width': minWidth || size || width || 'auto',\n '--min-height': minHeight || size || height || 'auto',\n '--width': size || width || '1rem',\n '--height': size || height || '1rem',\n ...(fontSize ? { fontSize } : {}),\n ...(iconUrl ? { '--icon-url': `url(${iconUrl})` } : {}),\n ...(iconUrl ? { '--icon-color': color } : { '--icon-content-color': color }),\n ...style,\n }\n ), [minWidth, size, width, minHeight, height, fontSize, iconUrl, color, style])\n\n return (\n <span\n {...props}\n className={`${classes['icon-base']} icon-base ${className}`}\n style={styles as CSSProperties}\n >\n {(!iconUrl && children) && children}\n </span>\n )\n})\n\nIconBase.displayName = 'IconBase'\n"],"names":["IconBase","memo","_ref","iconUrl","minWidth","minHeight","size","fontSize","width","height","_ref$color","color","_ref$className","className","children","style","props","_objectWithoutProperties","objectWithoutProperties","_excluded","styles","useMemo","_objectSpread","objectSpread2","concat","React","createElement","_extends","classes","displayName"],"mappings":"6XAkBaA,EAA6BC,EAAAA,MAAmB,SAAAC,GAGzC,IAFlBC,EAAOD,EAAPC,QAASC,EAAQF,EAARE,SAAUC,EAASH,EAATG,UAAWC,EAAIJ,EAAJI,KAC9BC,EAAQL,EAARK,SAAUC,EAAKN,EAALM,MAAOC,EAAMP,EAANO,OAAMC,EAAAR,EAAES,MAAAA,OAAQ,IAAHD,EAAG,eAAcA,EAAAE,EAAAV,EAAEW,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAEE,EAAQZ,EAARY,SAAUC,EAAKb,EAALa,MAAUC,EAAKC,EAAAC,wBAAAhB,EAAAiB,GAEpFC,EAASC,EAAAA,SAAQ,WAAA,OAAAC,gBAAAA,EAAAA,cAAAA,EAAAC,cAAAD,gBAAA,CAEnB,cAAelB,GAAYE,GAAQE,GAAS,OAC5C,eAAgBH,GAAaC,GAAQG,GAAU,OAC/C,UAAWH,GAAQE,GAAS,OAC5B,WAAYF,GAAQG,GAAU,QAC1BF,EAAW,CAAEA,SAAAA,GAAa,CAAA,GAC1BJ,EAAU,CAAE,aAAY,OAAAqB,OAASrB,EAAO,MAAQ,CAAA,GAChDA,EAAU,CAAE,eAAgBQ,GAAU,CAAE,uBAAwBA,IACjEI,EAEN,GAAE,CAACX,EAAUE,EAAME,EAAOH,EAAWI,EAAQF,EAAUJ,EAASQ,EAAOI,IAExE,OACEU,MAAAC,cAAAC,OAAAA,EAAAA,WACMX,EAAK,CACTH,UAAS,GAAAW,OAAKI,EAAO,QAAC,aAAYJ,eAAAA,OAAcX,GAChDE,MAAOK,KAEJjB,GAAWW,GAAaA,EAGjC,IAEAd,EAAS6B,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js"),require("../../../../../node_modules/core-js/modules/es.array.map.js"),require("../../../../../node_modules/core-js/modules/es.object.entries.js");var t,i=require("../../../utils/webComponents/webComponent.utils.js"),n=require("./icon.module.scss.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../../node_modules/core-js/modules/es.array.concat.js"),require("../../../../../node_modules/core-js/modules/es.array.map.js"),require("../../../../../node_modules/core-js/modules/es.object.entries.js");var t,i=require("../../../utils/webComponents/webComponent.utils.js"),n=require("./icon.module.scss.js"),o=document.createElement("template");o.innerHTML='<span class="icon-base"></span>';var r=i.ced("icon-base")(t=function(t){e.inherits(s,t);var r=e.createSuper(s);function s(){var t;e.classCallCheck(this,s);for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];return(t=r.call.apply(r,[this].concat(o))).content=void 0,t.mainElement=void 0,t.iconUrl=void 0,t.minWidth=void 0,t.minHeight=void 0,t.width=void 0,t.height=void 0,t.size=void 0,t.fontSize=void 0,t.color=void 0,t.render=function(){if(t.mainElement=t.mainElement||t.querySelector(".icon-base"),t.mainElement){t.classList.add(n.default["icon-base-parent"]),t.mainElement.classList.add(n.default["icon-base"]);var i=e.objectSpread2(e.objectSpread2(e.objectSpread2({"--min-width":t.minWidth||t.size||t.width||"auto","--min-height":t.minHeight||t.size||t.height||"auto","--width":t.size||t.width||"1rem","--height":t.size||t.height||"1rem"},t.fontSize?{"font-size":t.fontSize||"unset"}:{}),t.iconUrl?{"--icon-url":"url(".concat(t.iconUrl,")")}:{}),t.iconUrl?{"--icon-color":t.color}:{"--icon-content-color":t.color});t.mainElement.innerHTML=t.iconUrl?"":t.content||"",t.mainElement.setAttribute("style",Object.entries(i).map((function(t){var i=e.slicedToArray(t,2),n=i[0],o=i[1];return"".concat(n,": ").concat(o,";")})).join(" "))}},t}return e.createClass(s,[{key:"connectedCallback",value:function(){(this.content||this.innerHTML)&&(this.content=this.content||this.innerHTML||this.getAttribute("content")),this.innerHTML=o.innerHTML,i.resolveAttributes(this,s.observedAttributes),this.render()}},{key:"attributeChangedCallback",value:function(e,t,i){"className"!==e&&"classname"!==e&&"class"!==e||"string"==typeof i&&(this.classList.remove(i),this.classList.add(i)),this.color||(this.color="currentColor"),this[e]=i||"",this.render()}}],[{key:"observedAttributes",get:function(){return["iconUrl","minWidth","minHeight","width","height","size","fontSize","color","className"]}}]),s}(e.wrapNativeSuper(HTMLElement)))||t,s={VCIconBase:r};exports.VCIcon=r,exports.VCIconBase=s;
|
|
2
2
|
//# sourceMappingURL=IconWC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconWC.js","sources":["../../../../../../../src/core/ui/components/icon/IconWC.ts"],"sourcesContent":["import { ced, resolveAttributes } from '../../../utils/webComponents/webComponent.utils'\n\nimport classes from './icon.module.scss'\n\n\
|
|
1
|
+
{"version":3,"file":"IconWC.js","sources":["../../../../../../../src/core/ui/components/icon/IconWC.ts"],"sourcesContent":["import { ced, resolveAttributes } from '../../../utils/webComponents/webComponent.utils'\n\nimport classes from './icon.module.scss'\n\n\nconst template = document.createElement('template')\n\ntemplate.innerHTML = '<span class=\"icon-base\"></span>'\n\nexport type IconBaseWCType = {\n iconUrl?: string\n minWidth?: string\n minHeight?: string\n width?: string\n height?: string\n size?: string\n fontSize?: string\n color?: string\n className?: string\n}\n\n@ced('icon-base')\nexport class VCIcon extends HTMLElement {\n content: string | null\n\n mainElement: HTMLElement\n\n iconUrl?: string | null\n\n minWidth?: string | null\n\n minHeight?: string | null\n\n width?: string | null\n\n height?: string | null\n\n size?: string | null\n\n fontSize?: string | null\n\n color?: string | null\n\n static get observedAttributes() {\n return ['iconUrl', 'minWidth', 'minHeight', 'width', 'height', 'size', 'fontSize', 'color', 'className']\n }\n\n connectedCallback() {\n if (this.content || this.innerHTML) {\n this.content = this.content || this.innerHTML || this.getAttribute('content')\n }\n\n this.innerHTML = template.innerHTML\n\n resolveAttributes(this, VCIcon.observedAttributes)\n\n this.render()\n }\n\n attributeChangedCallback(attrName: string, oldVal: string | number | null, newVal: string | number | null) {\n if (attrName === 'className' || attrName === 'classname' || attrName === 'class') {\n if (typeof newVal === 'string') {\n this.classList.remove(newVal as string)\n this.classList.add(newVal as string)\n }\n }\n if (!this.color) {\n this.color = 'currentColor'\n }\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this[attrName] = (newVal as string) || ''\n this.render()\n }\n\n render = () => {\n this.mainElement = this.mainElement || this.querySelector('.icon-base') as HTMLElement\n if (!this.mainElement) {\n return\n }\n this.classList.add(classes['icon-base-parent'])\n this.mainElement.classList.add(classes['icon-base'])\n\n const styles = {\n '--min-width': this.minWidth || this.size || this.width || 'auto',\n '--min-height': this.minHeight || this.size || this.height || 'auto',\n '--width': this.size || this.width || '1rem',\n '--height': this.size || this.height || '1rem',\n ...(this.fontSize ? { 'font-size': this.fontSize || 'unset' } : {}),\n ...(this.iconUrl ? { '--icon-url': `url(${this.iconUrl})` } : {}),\n ...(this.iconUrl ? { '--icon-color': this.color } : { '--icon-content-color': this.color }),\n }\n\n this.mainElement.innerHTML = this.iconUrl ? '' : (this.content || '')\n\n this.mainElement.setAttribute('style', Object.entries(styles).map(([key, value]) => `${key}: ${value};`).join(' '))\n }\n}\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/no-namespace\n namespace JSX {\n interface IntrinsicElements {\n 'icon-base': any\n }\n }\n}\n\nexport const VCIconBase = {\n VCIconBase: VCIcon,\n}\n"],"names":["template","document","createElement","innerHTML","VCIcon","ced","_dec","_class","_HTMLElement","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","this","concat","content","mainElement","iconUrl","minWidth","minHeight","width","height","size","fontSize","color","render","querySelector","classList","add","classes","styles","_objectSpread","objectSpread2","setAttribute","Object","entries","map","_ref","_ref2","_slicedToArray","key","value","join","_createClass","createClass","getAttribute","resolveAttributes","observedAttributes","attrName","oldVal","newVal","remove","get","_wrapNativeSuper","HTMLElement","VCIconBase"],"mappings":"gdAKMA,EAAWC,SAASC,cAAc,YAExCF,EAASG,UAAY,kCAcrB,IACaC,EADZC,MAAI,YAAYC,CAAAC,WAAAC,GAAAC,WAAAL,EAAAI,GAAA,IAAAE,EAAAC,cAAAP,GAAA,SAAAA,IAAA,IAAAQ,EAAAC,sBAAAT,GAAA,IAAA,IAAAU,EAAAC,UAAAC,OAAAC,EAAAC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GA2Ed,OA3EcP,EAAAF,EAAAU,KAAAC,MAAAX,EAAA,CAAAY,MAAAC,OAAAN,KAEfO,aAAO,EAAAZ,EAEPa,iBAAW,EAAAb,EAEXc,aAAO,EAAAd,EAEPe,cAAQ,EAAAf,EAERgB,eAAS,EAAAhB,EAETiB,WAAK,EAAAjB,EAELkB,YAAM,EAAAlB,EAENmB,UAAI,EAAAnB,EAEJoB,cAAQ,EAAApB,EAERqB,WAAK,EAAArB,EAkCLsB,OAAS,WAEP,GADAtB,EAAKa,YAAcb,EAAKa,aAAeb,EAAKuB,cAAc,cACrDvB,EAAKa,YAAV,CAGAb,EAAKwB,UAAUC,IAAIC,EAAAA,QAAQ,qBAC3B1B,EAAKa,YAAYW,UAAUC,IAAIC,EAAO,QAAC,cAEvC,IAAMC,EAAMC,EAAAA,cAAAA,EAAAC,cAAAD,gBAAA,CACV,cAAe5B,EAAKe,UAAYf,EAAKmB,MAAQnB,EAAKiB,OAAS,OAC3D,eAAgBjB,EAAKgB,WAAahB,EAAKmB,MAAQnB,EAAKkB,QAAU,OAC9D,UAAWlB,EAAKmB,MAAQnB,EAAKiB,OAAS,OACtC,WAAYjB,EAAKmB,MAAQnB,EAAKkB,QAAU,QACpClB,EAAKoB,SAAW,CAAE,YAAapB,EAAKoB,UAAY,SAAY,CAAE,GAC9DpB,EAAKc,QAAU,CAAE,aAAYH,OAAAA,OAASX,EAAKc,QAAO,MAAQ,CAAE,GAC5Dd,EAAKc,QAAU,CAAE,eAAgBd,EAAKqB,OAAU,CAAE,uBAAwBrB,EAAKqB,QAGrFrB,EAAKa,YAAYtB,UAAYS,EAAKc,QAAU,GAAMd,EAAKY,SAAW,GAElEZ,EAAKa,YAAYiB,aAAa,QAASC,OAAOC,QAAQL,GAAQM,KAAI,SAAAC,GAAA,IAAAC,EAAAC,EAAAA,cAAAF,EAAA,GAAEG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GAAA,MAAA,GAAAxB,OAAS0B,EAAG1B,MAAAA,OAAK2B,EAAK,IAAA,IAAKC,KAAK,KAhB9G,GAiBDvC,CAAA,CAnDA,OAmDAwC,EAAAC,YAAAjD,EAAA,CAAA,CAAA6C,IAAA,oBAAAC,MAjDD,YACM5B,KAAKE,SAAWF,KAAKnB,aACvBmB,KAAKE,QAAUF,KAAKE,SAAWF,KAAKnB,WAAamB,KAAKgC,aAAa,YAGrEhC,KAAKnB,UAAYH,EAASG,UAE1BoD,EAAAA,kBAAkBjC,KAAMlB,EAAOoD,oBAE/BlC,KAAKY,QACP,GAAC,CAAAe,IAAA,2BAAAC,MAED,SAAyBO,EAAkBC,EAAgCC,GACxD,cAAbF,GAAyC,cAAbA,GAAyC,UAAbA,GACpC,iBAAXE,IACTrC,KAAKc,UAAUwB,OAAOD,GACtBrC,KAAKc,UAAUC,IAAIsB,IAGlBrC,KAAKW,QACRX,KAAKW,MAAQ,gBAIfX,KAAKmC,GAAaE,GAAqB,GACvCrC,KAAKY,QACP,IAAC,CAAA,CAAAe,IAAA,qBAAAY,IA9BD,WACE,MAAO,CAAC,UAAW,WAAY,YAAa,QAAS,SAAU,OAAQ,WAAY,QAAS,YAC9F,KAACzD,CAAA,EAAA0D,kBAvByBC,gBAAWxD,EAsF1ByD,EAAa,CACxBA,WAAY5D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/style.js"),o=require("./components/container/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/style.js"),o=require("./components/container/LayoutBox.js"),r=require("./components/container/Flex.js"),t=require("./components/container/Placeholder.js"),n=require("./components/container/CollapsibleContainerS.js"),s=require("./components/container/CollapsibleContainer.js"),i=require("./components/container/ResizableContainer.js"),l=require("./components/field/Field.js"),c=require("./components/dividers/DividerLine.js"),p=require("./components/icon/IconBase.js"),a=require("./components/icon/Icon.js"),x=require("./components/icon/IconWC.js");exports.calculateColors=e.calculateColors,exports.calculatePercColor=e.calculatePercColor,exports.convertHex=e.convertHex,exports.convertRGB=e.convertRGB,Object.defineProperty(exports,"defaultFontSize",{enumerable:!0,get:function(){return e.defaultFontSize}}),exports.pxToRem=e.pxToRem,exports.resolveStyleValue=e.resolveStyleValue,exports.setDefaultFontSize=e.setDefaultFontSize,exports.toHex=e.toHex,exports.LayoutBox=o.LayoutBox,exports.Flex=r.Flex,exports.FlexTight=r.FlexTight,exports.FlexTightStyled=r.FlexTightStyled,exports.FlexWrapper=r.FlexWrapper,exports.Placeholder=t.Placeholder,exports.ContainerS=n.ContainerS,exports.CollapsibleContainer=s.CollapsibleContainer,exports.ResizableContainer=i.ResizableContainer,exports.Field=l.Field,exports.FieldWrapper=l.FieldWrapper,exports.Select=l.Select,exports.setIconColor=l.setIconColor,exports.setIconComponent=l.setIconComponent,exports.DividerHorizontal=c.DividerHorizontal,exports.DividerLine=c.DividerLine,exports.DividerVertical=c.DividerVertical,exports.IconBase=p.IconBase,exports.Icon=a.Icon,exports.VCIcon=x.VCIcon,exports.VCIconBase=x.VCIconBase;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/_rollupPluginBabelHelpers.js");require("../../../../node_modules/core-js/modules/es.array.iterator.js"),require("../../../../node_modules/core-js/modules/es.map.constructor.js"),require("../../../../node_modules/core-js/modules/es.object.to-string.js"),require("../../../../node_modules/core-js/modules/es.string.iterator.js"),require("../../../../node_modules/core-js/modules/web.dom-collections.iterator.js"),require("../../../../node_modules/core-js/modules/es.array.from.js"),require("../../../../node_modules/core-js/modules/es.array.filter.js"),require("../../../../node_modules/core-js/modules/web.dom-collections.for-each.js"),require("../../../../node_modules/core-js/modules/es.object.entries.js");exports.parseProps=function(r){var s={},o={};return Object.entries(r).forEach((function(r){var u=e.slicedToArray(r,2),d=u[0],t=u[1];"data-"===d.substr(0,5)||"data"===d.substr(0,4)?s[d]=t:o[d]=t})),{dataProps:s,restProps:o}};
|
|
2
|
+
//# sourceMappingURL=ui.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.js","sources":["../../../../../../src/core/utils/helpers/ui.ts"],"sourcesContent":["export const noop = () => undefined\n\n\nexport const mapSerReplacer = (key: string, value: unknown) => {\n if (value instanceof Map) {\n return {\n dataType: 'Map',\n value: Array.from(value.entries()), // or with spread: value: [...value]\n }\n }\n return value\n}\n\nexport type TClassName = string | boolean | null | undefined\nexport const classNames = (...classes: TClassName[]) => classes\n .filter((className: TClassName) => (typeof className === 'string' && className !== undefined && className !== null))\n .filter(Boolean).join(' ')\n\n\nexport type PropsCategoriesType = {\n dataProps: Record<string, unknown>\n restProps: Record<string, unknown>\n};\n\nexport const parseProps = (props: Record<string, unknown>):PropsCategoriesType => {\n const dataProps: Record<string, unknown> = {}\n const restProps: Record<string, unknown> = {}\n\n Object.entries(props).forEach(([key, value]) => {\n if (key.substr(0, 5) === 'data-' || key.substr(0, 4) === 'data') {\n dataProps[key] = value\n } else {\n restProps[key] = value\n }\n })\n return { dataProps, restProps }\n}\n\n"],"names":["props","dataProps","restProps","Object","entries","forEach","_ref","_ref2","_slicedToArray","key","value","substr"],"mappings":"+zBAwB0B,SAACA,GACzB,IAAMC,EAAqC,CAAA,EACrCC,EAAqC,CAAA,EAS3C,OAPAC,OAAOC,QAAQJ,GAAOK,SAAQ,SAAAC,GAAkB,IAAAC,EAAAC,EAAAA,cAAAF,EAAA,GAAhBG,EAAGF,EAAA,GAAEG,EAAKH,EAAA,GACf,UAArBE,EAAIE,OAAO,EAAG,IAAuC,SAArBF,EAAIE,OAAO,EAAG,GAChDV,EAAUQ,GAAOC,EAEjBR,EAAUO,GAAOC,CAErB,IACO,CAAET,UAAAA,EAAWC,UAAAA,EACtB"}
|