@fonixtree/magic-design 0.0.10 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_virtual/index5.js +1 -1
- package/my_node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
- package/my_node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
- package/my_node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +9 -0
- package/my_node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
- package/my_node_modules/@babel/runtime/helpers/esm/createClass.js +20 -0
- package/my_node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
- package/my_node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
- package/my_node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/my_node_modules/@babel/runtime/helpers/esm/inherits.js +21 -0
- package/my_node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
- package/my_node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +31 -0
- package/my_node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
- package/my_node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
- package/my_node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
- package/my_node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
- package/my_node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/my_node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/my_node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
- package/my_node_modules/@babel/runtime/helpers/interopRequireDefault.js +11 -0
- package/my_node_modules/call-bind/callBound.js +19 -0
- package/my_node_modules/call-bind/index.js +52 -0
- package/my_node_modules/classnames/index.js +61 -0
- package/my_node_modules/function-bind/implementation.js +52 -0
- package/my_node_modules/function-bind/index.js +7 -0
- package/my_node_modules/get-intrinsic/index.js +338 -0
- package/my_node_modules/has/src/index.js +7 -0
- package/my_node_modules/has-symbols/index.js +15 -0
- package/my_node_modules/has-symbols/shams.js +42 -0
- package/my_node_modules/lodash/_DataView.js +12 -0
- package/my_node_modules/lodash/_Hash.js +40 -0
- package/my_node_modules/lodash/_ListCache.js +40 -0
- package/my_node_modules/lodash/_Map.js +12 -0
- package/my_node_modules/lodash/_MapCache.js +40 -0
- package/my_node_modules/lodash/_Promise.js +12 -0
- package/my_node_modules/lodash/_Set.js +12 -0
- package/my_node_modules/lodash/_SetCache.js +33 -0
- package/my_node_modules/lodash/_Stack.js +36 -0
- package/my_node_modules/lodash/_Symbol.js +10 -0
- package/my_node_modules/lodash/_Uint8Array.js +10 -0
- package/my_node_modules/lodash/_WeakMap.js +12 -0
- package/my_node_modules/lodash/_arrayEach.js +25 -0
- package/my_node_modules/lodash/_arrayFilter.js +28 -0
- package/my_node_modules/lodash/_arrayLikeKeys.js +59 -0
- package/my_node_modules/lodash/_arrayMap.js +24 -0
- package/my_node_modules/lodash/_arrayPush.js +23 -0
- package/my_node_modules/lodash/_arraySome.js +26 -0
- package/my_node_modules/lodash/_assignValue.js +33 -0
- package/my_node_modules/lodash/_assocIndexOf.js +25 -0
- package/my_node_modules/lodash/_baseAssign.js +22 -0
- package/my_node_modules/lodash/_baseAssignIn.js +22 -0
- package/my_node_modules/lodash/_baseAssignValue.js +29 -0
- package/my_node_modules/lodash/_baseClone.js +193 -0
- package/my_node_modules/lodash/_baseCreate.js +34 -0
- package/my_node_modules/lodash/_baseFindIndex.js +27 -0
- package/my_node_modules/lodash/_baseFor.js +20 -0
- package/my_node_modules/lodash/_baseForOwn.js +21 -0
- package/my_node_modules/lodash/_baseGet.js +29 -0
- package/my_node_modules/lodash/_baseGetAllKeys.js +25 -0
- package/my_node_modules/lodash/_baseGetTag.js +34 -0
- package/my_node_modules/lodash/_baseHasIn.js +16 -0
- package/my_node_modules/lodash/_baseIsArguments.js +23 -0
- package/my_node_modules/lodash/_baseIsEqual.js +33 -0
- package/my_node_modules/lodash/_baseIsEqualDeep.js +95 -0
- package/my_node_modules/lodash/_baseIsMap.js +23 -0
- package/my_node_modules/lodash/_baseIsMatch.js +67 -0
- package/my_node_modules/lodash/_baseIsNative.js +54 -0
- package/my_node_modules/lodash/_baseIsSet.js +23 -0
- package/my_node_modules/lodash/_baseIsTypedArray.js +66 -0
- package/my_node_modules/lodash/_baseIteratee.js +39 -0
- package/my_node_modules/lodash/_baseKeys.js +35 -0
- package/my_node_modules/lodash/_baseKeysIn.js +39 -0
- package/my_node_modules/lodash/_baseMatches.js +28 -0
- package/my_node_modules/lodash/_baseMatchesProperty.js +43 -0
- package/my_node_modules/lodash/_baseProperty.js +17 -0
- package/my_node_modules/lodash/_basePropertyDeep.js +20 -0
- package/my_node_modules/lodash/_baseTimes.js +23 -0
- package/my_node_modules/lodash/_baseToNumber.js +28 -0
- package/my_node_modules/lodash/_baseToString.js +44 -0
- package/my_node_modules/lodash/_baseTrim.js +23 -0
- package/my_node_modules/lodash/_baseUnary.js +17 -0
- package/my_node_modules/lodash/_cacheHas.js +16 -0
- package/my_node_modules/lodash/_castPath.js +28 -0
- package/my_node_modules/lodash/_cloneArrayBuffer.js +20 -0
- package/my_node_modules/lodash/_cloneBuffer.js +40 -0
- package/my_node_modules/lodash/_cloneDataView.js +20 -0
- package/my_node_modules/lodash/_cloneRegExp.js +20 -0
- package/my_node_modules/lodash/_cloneSymbol.js +22 -0
- package/my_node_modules/lodash/_cloneTypedArray.js +20 -0
- package/my_node_modules/lodash/_copyArray.js +23 -0
- package/my_node_modules/lodash/_copyObject.js +45 -0
- package/my_node_modules/lodash/_copySymbols.js +21 -0
- package/my_node_modules/lodash/_copySymbolsIn.js +21 -0
- package/my_node_modules/lodash/_coreJsData.js +10 -0
- package/my_node_modules/lodash/_createBaseFor.js +28 -0
- package/my_node_modules/lodash/_createMathOperation.js +43 -0
- package/my_node_modules/lodash/_defineProperty.js +15 -0
- package/my_node_modules/lodash/_equalArrays.js +90 -0
- package/my_node_modules/lodash/_equalByTag.js +121 -0
- package/my_node_modules/lodash/_equalObjects.js +94 -0
- package/my_node_modules/lodash/_freeGlobal.js +9 -0
- package/my_node_modules/lodash/_getAllKeys.js +22 -0
- package/my_node_modules/lodash/_getAllKeysIn.js +23 -0
- package/my_node_modules/lodash/_getMapData.js +22 -0
- package/my_node_modules/lodash/_getMatchData.js +29 -0
- package/my_node_modules/lodash/_getNative.js +22 -0
- package/my_node_modules/lodash/_getPrototype.js +10 -0
- package/my_node_modules/lodash/_getRawTag.js +50 -0
- package/my_node_modules/lodash/_getSymbols.js +35 -0
- package/my_node_modules/lodash/_getSymbolsIn.js +32 -0
- package/my_node_modules/lodash/_getTag.js +68 -0
- package/my_node_modules/lodash/_getValue.js +16 -0
- package/my_node_modules/lodash/_hasPath.js +48 -0
- package/my_node_modules/lodash/_hashClear.js +19 -0
- package/my_node_modules/lodash/_hashDelete.js +20 -0
- package/my_node_modules/lodash/_hashGet.js +34 -0
- package/my_node_modules/lodash/_hashHas.js +27 -0
- package/my_node_modules/lodash/_hashSet.js +27 -0
- package/my_node_modules/lodash/_initCloneArray.js +29 -0
- package/my_node_modules/lodash/_initCloneByTag.js +85 -0
- package/my_node_modules/lodash/_initCloneObject.js +24 -0
- package/my_node_modules/lodash/_isIndex.js +28 -0
- package/my_node_modules/lodash/_isKey.js +34 -0
- package/my_node_modules/lodash/_isKeyable.js +18 -0
- package/my_node_modules/lodash/_isMasked.js +24 -0
- package/my_node_modules/lodash/_isPrototype.js +21 -0
- package/my_node_modules/lodash/_isStrictComparable.js +19 -0
- package/my_node_modules/lodash/_listCacheClear.js +16 -0
- package/my_node_modules/lodash/_listCacheDelete.js +39 -0
- package/my_node_modules/lodash/_listCacheGet.js +23 -0
- package/my_node_modules/lodash/_listCacheHas.js +20 -0
- package/my_node_modules/lodash/_listCacheSet.js +30 -0
- package/my_node_modules/lodash/_mapCacheClear.js +27 -0
- package/my_node_modules/lodash/_mapCacheDelete.js +22 -0
- package/my_node_modules/lodash/_mapCacheGet.js +20 -0
- package/my_node_modules/lodash/_mapCacheHas.js +20 -0
- package/my_node_modules/lodash/_mapCacheSet.js +26 -0
- package/my_node_modules/lodash/_mapToArray.js +21 -0
- package/my_node_modules/lodash/_matchesStrictComparable.js +23 -0
- package/my_node_modules/lodash/_memoizeCapped.js +30 -0
- package/my_node_modules/lodash/_nativeCreate.js +10 -0
- package/my_node_modules/lodash/_nativeKeys.js +10 -0
- package/my_node_modules/lodash/_nativeKeysIn.js +23 -0
- package/my_node_modules/lodash/_nodeUtil.js +35 -0
- package/my_node_modules/lodash/_objectToString.js +25 -0
- package/my_node_modules/lodash/_overArg.js +18 -0
- package/my_node_modules/lodash/_root.js +13 -0
- package/my_node_modules/lodash/_setCacheAdd.js +22 -0
- package/my_node_modules/lodash/_setCacheHas.js +17 -0
- package/my_node_modules/lodash/_setToArray.js +21 -0
- package/my_node_modules/lodash/_stackClear.js +19 -0
- package/my_node_modules/lodash/_stackDelete.js +21 -0
- package/my_node_modules/lodash/_stackGet.js +17 -0
- package/my_node_modules/lodash/_stackHas.js +17 -0
- package/my_node_modules/lodash/_stackSet.js +40 -0
- package/my_node_modules/lodash/_stringToPath.js +31 -0
- package/my_node_modules/lodash/_toKey.js +25 -0
- package/my_node_modules/lodash/_toSource.js +29 -0
- package/my_node_modules/lodash/_trimmedEndIndex.js +22 -0
- package/my_node_modules/lodash/cloneDeep.js +33 -0
- package/my_node_modules/lodash/divide.js +26 -0
- package/my_node_modules/lodash/eq.js +40 -0
- package/my_node_modules/lodash/findIndex.js +61 -0
- package/my_node_modules/lodash/get.js +37 -0
- package/my_node_modules/lodash/hasIn.js +39 -0
- package/my_node_modules/lodash/identity.js +24 -0
- package/my_node_modules/lodash/isArguments.js +41 -0
- package/my_node_modules/lodash/isArray.js +29 -0
- package/my_node_modules/lodash/isArrayLike.js +38 -0
- package/my_node_modules/lodash/isBuffer.js +44 -0
- package/my_node_modules/lodash/isEmpty.js +89 -0
- package/my_node_modules/lodash/isFunction.js +42 -0
- package/my_node_modules/lodash/isLength.js +38 -0
- package/my_node_modules/lodash/isMap.js +34 -0
- package/my_node_modules/lodash/isObject.js +34 -0
- package/my_node_modules/lodash/isObjectLike.js +32 -0
- package/my_node_modules/lodash/isSet.js +34 -0
- package/my_node_modules/lodash/isSymbol.js +34 -0
- package/my_node_modules/lodash/isTypedArray.js +34 -0
- package/my_node_modules/lodash/keys.js +43 -0
- package/my_node_modules/lodash/keysIn.js +38 -0
- package/my_node_modules/lodash/mapKeys.js +42 -0
- package/my_node_modules/lodash/memoize.js +77 -0
- package/my_node_modules/lodash/property.js +39 -0
- package/my_node_modules/lodash/stubArray.js +26 -0
- package/my_node_modules/lodash/stubFalse.js +21 -0
- package/my_node_modules/lodash/toFinite.js +46 -0
- package/my_node_modules/lodash/toInteger.js +40 -0
- package/my_node_modules/lodash/toNumber.js +70 -0
- package/my_node_modules/lodash/toString.js +32 -0
- package/my_node_modules/object-assign/index.js +99 -0
- package/my_node_modules/object-inspect/index.js +516 -0
- package/my_node_modules/prop-types/checkPropTypes.js +115 -0
- package/my_node_modules/prop-types/factoryWithThrowingShims.js +74 -0
- package/my_node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
- package/my_node_modules/prop-types/index.js +27 -0
- package/my_node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/my_node_modules/prop-types/lib/has.js +11 -0
- package/my_node_modules/qs/lib/formats.js +23 -0
- package/my_node_modules/qs/lib/index.js +15 -0
- package/my_node_modules/qs/lib/parse.js +265 -0
- package/my_node_modules/qs/lib/stringify.js +330 -0
- package/my_node_modules/qs/lib/utils.js +254 -0
- package/my_node_modules/rc-motion/es/CSSMotion.js +149 -0
- package/my_node_modules/rc-motion/es/DomWrapper.js +28 -0
- package/my_node_modules/rc-motion/es/hooks/useDomMotionEvents.js +45 -0
- package/my_node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/my_node_modules/rc-motion/es/hooks/useNextFrame.js +36 -0
- package/my_node_modules/rc-motion/es/hooks/useStatus.js +232 -0
- package/my_node_modules/rc-motion/es/hooks/useStepQueue.js +69 -0
- package/my_node_modules/rc-motion/es/index.js +4 -0
- package/my_node_modules/rc-motion/es/interface.js +11 -0
- package/my_node_modules/rc-motion/es/util/motion.js +85 -0
- package/my_node_modules/rc-util/es/Dom/canUseDom.js +5 -0
- package/my_node_modules/rc-util/es/Dom/findDOMNode.js +15 -0
- package/my_node_modules/rc-util/es/hooks/useState.js +36 -0
- package/my_node_modules/rc-util/es/raf.js +57 -0
- package/my_node_modules/rc-util/es/ref.js +30 -0
- package/my_node_modules/rc-util/lib/Children/toArray.js +39 -0
- package/my_node_modules/react-is/cjs/react-is.development.js +190 -0
- package/my_node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/my_node_modules/react-is/index.js +21 -0
- package/my_node_modules/shallowequal/index.js +48 -0
- package/my_node_modules/side-channel/index.js +128 -0
- package/my_node_modules/slick-carousel/slick/slick-theme.css.js +4 -0
- package/my_node_modules/slick-carousel/slick/slick.css.js +4 -0
- package/my_node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/my_node_modules/tslib/tslib.es6.js +110 -0
- package/my_node_modules/uuid/index.js +13 -0
- package/my_node_modules/uuid/lib/bytesToUuid.js +29 -0
- package/my_node_modules/uuid/lib/rng-browser.js +39 -0
- package/my_node_modules/uuid/v1.js +115 -0
- package/my_node_modules/uuid/v4.js +35 -0
- package/package.json +3 -1
- package/src/components/assets/less/cylon-antd.less.js +1 -1
- package/src/components/assets/less/index.less.js +1 -1
- package/src/components/common/AlignSelector/index.js +2 -2
- package/src/components/common/AlignSelector/index.less.js +1 -1
- package/src/components/common/Button/index.js +2 -2
- package/src/components/common/Button/index.less.js +1 -1
- package/src/components/common/ButtonIconLayout/index.js +2 -2
- package/src/components/common/ButtonIconLayout/index.less.js +1 -1
- package/src/components/common/Collapse/index.js +1 -1
- package/src/components/common/Collapse/index.less.js +1 -1
- package/src/components/common/ColorPicker/index.js +1 -1
- package/src/components/common/ColorPicker/index.less.js +1 -1
- package/src/components/common/ColorPickerInput/index.js +2 -2
- package/src/components/common/ColorPickerInput/index.less.js +1 -1
- package/src/components/common/CountDown/index.js +1 -1
- package/src/components/common/CountDown/index.less.js +1 -1
- package/src/components/common/Field/index.js +2 -2
- package/src/components/common/Field/index.less.js +1 -1
- package/src/components/common/FontStyles/index.js +2 -2
- package/src/components/common/FontStyles/index.less.js +1 -1
- package/src/components/common/GroupList/index.js +1 -1
- package/src/components/common/GroupList/index.less.js +1 -1
- package/src/components/common/IconPicker/index.js +2 -2
- package/src/components/common/IconPicker/index.less.js +1 -1
- package/src/components/common/Iconfont/index.js +2 -2
- package/src/components/common/Iconfont/index.less.js +1 -1
- package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +1 -1
- package/src/components/common/ImageModal/index.js +3 -3
- package/src/components/common/ImageModal/index.less.js +1 -1
- package/src/components/common/ImagePicker/index.js +1 -1
- package/src/components/common/ImagePicker/index.less.js +1 -1
- package/src/components/common/InputNumber/index.js +1 -1
- package/src/components/common/InputNumber/index.less.js +1 -1
- package/src/components/common/LayoutSelector/index.js +2 -2
- package/src/components/common/LayoutSelector/index.less.js +1 -1
- package/src/components/common/LinkModal/CatgTable/index.js +1 -1
- package/src/components/common/LinkModal/CouponTable/index.js +1 -1
- package/src/components/common/LinkModal/CustomTable/index.js +1 -1
- package/src/components/common/LinkModal/FilteredProductModal/index.js +1 -1
- package/src/components/common/LinkModal/FilteredProductModal/index.less.js +1 -1
- package/src/components/common/LinkModal/FunctionTable/index.js +1 -1
- package/src/components/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/src/components/common/LinkModal/ProductDetailPage/index.less.js +1 -1
- package/src/components/common/LinkModal/index.less.js +1 -1
- package/src/components/common/NewImg/index.js +3 -3
- package/src/components/common/ProductModal/index.js +1 -1
- package/src/components/common/ProductModal/index.less.js +1 -1
- package/src/components/common/ProductSource/index.js +1 -1
- package/src/components/common/ProductSource/index.less.js +1 -1
- package/src/components/common/RcCollapse/Collapse.js +4 -4
- package/src/components/common/RcCollapse/Panel.js +5 -5
- package/src/components/common/RcCollapse/PanelContent.js +1 -1
- package/src/components/common/RcCollapse/index.less.js +1 -1
- package/src/components/common/Slider/index.js +2 -2
- package/src/components/common/Slider/index.less.js +1 -1
- package/src/components/common/SwitchCollapse/index.js +1 -1
- package/src/components/common/SwitchCollapse/index.less.js +1 -1
- package/src/components/common/UrlPicker/index.js +1 -1
- package/src/components/common/UrlPicker/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
- package/src/components/composite-comp/bol/components/Banner/index.js +3 -3
- package/src/components/composite-comp/bol/components/Banner/mobile/index.js +2 -2
- package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Banner/pc/index.js +4 -4
- package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Button/defaultJSON.js +2 -2
- package/src/components/composite-comp/bol/components/Button/index.js +2 -2
- package/src/components/composite-comp/bol/components/Button/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +3 -2
- package/src/components/composite-comp/bol/components/Carousel/index.js +1 -1
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.js +4 -4
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Carousel/pc/index.js +4 -4
- package/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Divider/defaultJSON.js +1 -1
- package/src/components/composite-comp/bol/components/Divider/index.js +1 -1
- package/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +1 -1
- package/src/components/composite-comp/bol/components/ImageGallery/index.js +1 -1
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -1
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +7 -2
- package/src/components/composite-comp/bol/components/ImageText/index.js +1 -1
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +5 -3
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/ImageText/pc/index.js +21 -7
- package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +2 -2
- package/src/components/composite-comp/bol/components/Newsletter/index.js +2 -2
- package/src/components/composite-comp/bol/components/Newsletter/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Tag/defaultJSON.js +2 -2
- package/src/components/composite-comp/bol/components/Tag/index.js +2 -2
- package/src/components/composite-comp/bol/components/Tag/index.less.js +1 -1
- package/src/components/composite-comp/bol/components/Text/defaultJSON.js +2 -2
- package/src/components/composite-comp/bol/components/Text/index.js +2 -2
- package/src/components/composite-comp/bol/components/Text/index.less.js +1 -1
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +1 -1
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +1 -1
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +1 -1
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +1 -1
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +1 -1
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +3 -3
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +1 -1
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +1 -1
- package/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +3 -3
- package/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +1 -1
- package/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +6 -4
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +3 -3
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +3 -3
- package/src/components/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/src/components/composite-comp/common/components/ImageLabel/index.less.js +1 -1
- package/src/components/composite-comp/common/components/ProductItem/index.js +1 -1
- package/src/components/composite-comp/common/components/ProductItem/index.less.js +1 -1
- package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +3 -3
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +3 -3
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +1 -1
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +3 -3
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +1 -1
- package/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
- package/src/components/composite-comp/dito/components/FlashDeal/index.js +1 -1
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -1
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +1 -1
- package/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/src/components/composite-comp/dito/components/Recommend/index.js +1 -1
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.js +1 -1
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +1 -1
- package/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +1 -1
- package/src/components/composite-comp/dito/components/SearchBar/index.js +1 -1
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +3 -3
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +1 -1
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +3 -3
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +3 -3
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +3 -3
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +1 -1
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +1 -1
- package/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +3 -3
- package/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
- package/src/components/core/Designer/CompListPanel/CompCard/index.less.js +1 -1
- package/src/components/core/Designer/CompListPanel/index.js +2 -2
- package/src/components/core/Designer/CompListPanel/index.less.js +1 -1
- package/src/components/core/Designer/ConfigPanel/index.js +1 -1
- package/src/components/core/Designer/ConfigPanel/index.less.js +1 -1
- package/src/components/core/Designer/History/index.js +1 -1
- package/src/components/core/Designer/PageCompList/index.js +4 -4
- package/src/components/core/Designer/PageCompList/index.less.js +1 -1
- package/src/components/core/Designer/QuickMenuBar/index.js +2 -2
- package/src/components/core/Designer/QuickMenuBar/index.less.js +1 -1
- package/src/components/core/Designer/ViewArea/index.js +3 -3
- package/src/components/core/Designer/ViewArea/index.less.js +1 -1
- package/src/components/core/Designer/index.js +2 -2
- package/src/components/core/Designer/index.less.js +1 -1
- package/src/components/core/Renderer/index.js +1 -1
- package/src/components/decorator/compositeDecorator.js +1 -1
- package/src/components/decorator/metaDecorator.js +1 -1
- package/src/components/meta-comp/components/Button/index.js +2 -2
- package/src/components/meta-comp/components/Button/index.less.js +1 -1
- package/src/components/meta-comp/components/Image/index.js +16 -4
- package/src/components/meta-comp/components/Image/index.less.js +1 -1
- package/src/components/meta-comp/components/Text/index.js +2 -2
- package/src/components/meta-comp/components/Text/index.less.js +1 -1
- package/src/components/meta-comp/config-panels/BaseConfig.js +1 -1
- package/src/components/meta-comp/config-panels/ButtonConfig/index.js +3 -3
- package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +1 -1
- package/src/components/meta-comp/config-panels/ImageConfig/index.js +72 -27
- package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +1 -1
- package/src/components/meta-comp/config-panels/TextConfig/index.js +3 -3
- package/src/components/meta-comp/config-panels/TextConfig/index.less.js +1 -1
- package/src/components/utils/commonUtil.js +19 -2
- package/src/components/utils/coreUtil.js +1 -1
- package/src/components/utils/currencyUtil.js +2 -2
- package/src/components/utils/dataTreeUtils.js +4 -4
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
import hasSymbols$1 from '../has-symbols/index.js';
|
|
2
|
+
import functionBind from '../function-bind/index.js';
|
|
3
|
+
import src from '../has/src/index.js';
|
|
4
|
+
|
|
5
|
+
var undefined$1;
|
|
6
|
+
|
|
7
|
+
var $SyntaxError = SyntaxError;
|
|
8
|
+
var $Function = Function;
|
|
9
|
+
var $TypeError = TypeError;
|
|
10
|
+
|
|
11
|
+
// eslint-disable-next-line consistent-return
|
|
12
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
13
|
+
try {
|
|
14
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
15
|
+
} catch (e) {}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
19
|
+
if ($gOPD) {
|
|
20
|
+
try {
|
|
21
|
+
$gOPD({}, '');
|
|
22
|
+
} catch (e) {
|
|
23
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var throwTypeError = function () {
|
|
28
|
+
throw new $TypeError();
|
|
29
|
+
};
|
|
30
|
+
var ThrowTypeError = $gOPD
|
|
31
|
+
? (function () {
|
|
32
|
+
try {
|
|
33
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
34
|
+
arguments.callee; // IE 8 does not throw here
|
|
35
|
+
return throwTypeError;
|
|
36
|
+
} catch (calleeThrows) {
|
|
37
|
+
try {
|
|
38
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
39
|
+
return $gOPD(arguments, 'callee').get;
|
|
40
|
+
} catch (gOPDthrows) {
|
|
41
|
+
return throwTypeError;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}())
|
|
45
|
+
: throwTypeError;
|
|
46
|
+
|
|
47
|
+
var hasSymbols = hasSymbols$1();
|
|
48
|
+
|
|
49
|
+
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
50
|
+
|
|
51
|
+
var needsEval = {};
|
|
52
|
+
|
|
53
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
|
|
54
|
+
|
|
55
|
+
var INTRINSICS = {
|
|
56
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
57
|
+
'%Array%': Array,
|
|
58
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
59
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
60
|
+
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
61
|
+
'%AsyncFunction%': needsEval,
|
|
62
|
+
'%AsyncGenerator%': needsEval,
|
|
63
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
64
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
65
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
66
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
67
|
+
'%Boolean%': Boolean,
|
|
68
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
69
|
+
'%Date%': Date,
|
|
70
|
+
'%decodeURI%': decodeURI,
|
|
71
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
72
|
+
'%encodeURI%': encodeURI,
|
|
73
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
74
|
+
'%Error%': Error,
|
|
75
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
76
|
+
'%EvalError%': EvalError,
|
|
77
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
78
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
79
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
|
|
80
|
+
'%Function%': $Function,
|
|
81
|
+
'%GeneratorFunction%': needsEval,
|
|
82
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
83
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
84
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
85
|
+
'%isFinite%': isFinite,
|
|
86
|
+
'%isNaN%': isNaN,
|
|
87
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
88
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
89
|
+
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
90
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
91
|
+
'%Math%': Math,
|
|
92
|
+
'%Number%': Number,
|
|
93
|
+
'%Object%': Object,
|
|
94
|
+
'%parseFloat%': parseFloat,
|
|
95
|
+
'%parseInt%': parseInt,
|
|
96
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
|
|
97
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
98
|
+
'%RangeError%': RangeError,
|
|
99
|
+
'%ReferenceError%': ReferenceError,
|
|
100
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
101
|
+
'%RegExp%': RegExp,
|
|
102
|
+
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
103
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
104
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
105
|
+
'%String%': String,
|
|
106
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
107
|
+
'%Symbol%': hasSymbols ? Symbol : undefined$1,
|
|
108
|
+
'%SyntaxError%': $SyntaxError,
|
|
109
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
110
|
+
'%TypedArray%': TypedArray,
|
|
111
|
+
'%TypeError%': $TypeError,
|
|
112
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
113
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
114
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
115
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
116
|
+
'%URIError%': URIError,
|
|
117
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
118
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
|
|
119
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
var doEval = function doEval(name) {
|
|
123
|
+
var value;
|
|
124
|
+
if (name === '%AsyncFunction%') {
|
|
125
|
+
value = getEvalledConstructor('async function () {}');
|
|
126
|
+
} else if (name === '%GeneratorFunction%') {
|
|
127
|
+
value = getEvalledConstructor('function* () {}');
|
|
128
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
129
|
+
value = getEvalledConstructor('async function* () {}');
|
|
130
|
+
} else if (name === '%AsyncGenerator%') {
|
|
131
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
132
|
+
if (fn) {
|
|
133
|
+
value = fn.prototype;
|
|
134
|
+
}
|
|
135
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
136
|
+
var gen = doEval('%AsyncGenerator%');
|
|
137
|
+
if (gen) {
|
|
138
|
+
value = getProto(gen.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
INTRINSICS[name] = value;
|
|
143
|
+
|
|
144
|
+
return value;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
var LEGACY_ALIASES = {
|
|
148
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
149
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
150
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
151
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
152
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
153
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
154
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
155
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
156
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
157
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
158
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
159
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
160
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
161
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
162
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
163
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
164
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
165
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
166
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
167
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
168
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
169
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
170
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
171
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
172
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
173
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
174
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
175
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
176
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
177
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
178
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
179
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
180
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
181
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
182
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
183
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
184
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
185
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
186
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
187
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
188
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
189
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
190
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
191
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
192
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
193
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
194
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
195
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
196
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
197
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
198
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
var bind = functionBind;
|
|
202
|
+
var hasOwn = src;
|
|
203
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
204
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
205
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
206
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
207
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
208
|
+
|
|
209
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
210
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
211
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
212
|
+
var stringToPath = function stringToPath(string) {
|
|
213
|
+
var first = $strSlice(string, 0, 1);
|
|
214
|
+
var last = $strSlice(string, -1);
|
|
215
|
+
if (first === '%' && last !== '%') {
|
|
216
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
217
|
+
} else if (last === '%' && first !== '%') {
|
|
218
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
219
|
+
}
|
|
220
|
+
var result = [];
|
|
221
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
222
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
223
|
+
});
|
|
224
|
+
return result;
|
|
225
|
+
};
|
|
226
|
+
/* end adaptation */
|
|
227
|
+
|
|
228
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
229
|
+
var intrinsicName = name;
|
|
230
|
+
var alias;
|
|
231
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
232
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
233
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
237
|
+
var value = INTRINSICS[intrinsicName];
|
|
238
|
+
if (value === needsEval) {
|
|
239
|
+
value = doEval(intrinsicName);
|
|
240
|
+
}
|
|
241
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
242
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
return {
|
|
246
|
+
alias: alias,
|
|
247
|
+
name: intrinsicName,
|
|
248
|
+
value: value
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
256
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
257
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
258
|
+
}
|
|
259
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
260
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
if ($exec(/^%?[^%]*%?$/g, name) === null) {
|
|
264
|
+
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
265
|
+
}
|
|
266
|
+
var parts = stringToPath(name);
|
|
267
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
268
|
+
|
|
269
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
270
|
+
var intrinsicRealName = intrinsic.name;
|
|
271
|
+
var value = intrinsic.value;
|
|
272
|
+
var skipFurtherCaching = false;
|
|
273
|
+
|
|
274
|
+
var alias = intrinsic.alias;
|
|
275
|
+
if (alias) {
|
|
276
|
+
intrinsicBaseName = alias[0];
|
|
277
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
281
|
+
var part = parts[i];
|
|
282
|
+
var first = $strSlice(part, 0, 1);
|
|
283
|
+
var last = $strSlice(part, -1);
|
|
284
|
+
if (
|
|
285
|
+
(
|
|
286
|
+
(first === '"' || first === "'" || first === '`')
|
|
287
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
288
|
+
)
|
|
289
|
+
&& first !== last
|
|
290
|
+
) {
|
|
291
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
292
|
+
}
|
|
293
|
+
if (part === 'constructor' || !isOwn) {
|
|
294
|
+
skipFurtherCaching = true;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
intrinsicBaseName += '.' + part;
|
|
298
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
299
|
+
|
|
300
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
301
|
+
value = INTRINSICS[intrinsicRealName];
|
|
302
|
+
} else if (value != null) {
|
|
303
|
+
if (!(part in value)) {
|
|
304
|
+
if (!allowMissing) {
|
|
305
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
306
|
+
}
|
|
307
|
+
return void undefined$1;
|
|
308
|
+
}
|
|
309
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
310
|
+
var desc = $gOPD(value, part);
|
|
311
|
+
isOwn = !!desc;
|
|
312
|
+
|
|
313
|
+
// By convention, when a data property is converted to an accessor
|
|
314
|
+
// property to emulate a data property that does not suffer from
|
|
315
|
+
// the override mistake, that accessor's getter is marked with
|
|
316
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
317
|
+
// uphold the illusion by pretending to see that original data
|
|
318
|
+
// property, i.e., returning the value rather than the getter
|
|
319
|
+
// itself.
|
|
320
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
321
|
+
value = desc.get;
|
|
322
|
+
} else {
|
|
323
|
+
value = value[part];
|
|
324
|
+
}
|
|
325
|
+
} else {
|
|
326
|
+
isOwn = hasOwn(value, part);
|
|
327
|
+
value = value[part];
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
if (isOwn && !skipFurtherCaching) {
|
|
331
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
return value;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
export { getIntrinsic as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import shams from './shams.js';
|
|
2
|
+
|
|
3
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
4
|
+
var hasSymbolSham = shams;
|
|
5
|
+
|
|
6
|
+
var hasSymbols = function hasNativeSymbols() {
|
|
7
|
+
if (typeof origSymbol !== 'function') { return false; }
|
|
8
|
+
if (typeof Symbol !== 'function') { return false; }
|
|
9
|
+
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
10
|
+
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
11
|
+
|
|
12
|
+
return hasSymbolSham();
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { hasSymbols as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2
|
+
var shams = function hasSymbols() {
|
|
3
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
4
|
+
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
5
|
+
|
|
6
|
+
var obj = {};
|
|
7
|
+
var sym = Symbol('test');
|
|
8
|
+
var symObj = Object(sym);
|
|
9
|
+
if (typeof sym === 'string') { return false; }
|
|
10
|
+
|
|
11
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
12
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
13
|
+
|
|
14
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
15
|
+
// if (sym instanceof Symbol) { return false; }
|
|
16
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
17
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
18
|
+
|
|
19
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
20
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
21
|
+
|
|
22
|
+
var symVal = 42;
|
|
23
|
+
obj[sym] = symVal;
|
|
24
|
+
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
25
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
26
|
+
|
|
27
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
28
|
+
|
|
29
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
30
|
+
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
31
|
+
|
|
32
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
33
|
+
|
|
34
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
35
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
36
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return true;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { shams as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _getNative from './_getNative.js';
|
|
2
|
+
import _root from './_root.js';
|
|
3
|
+
|
|
4
|
+
var getNative = _getNative,
|
|
5
|
+
root = _root;
|
|
6
|
+
|
|
7
|
+
/* Built-in method references that are verified to be native. */
|
|
8
|
+
var DataView = getNative(root, 'DataView');
|
|
9
|
+
|
|
10
|
+
var _DataView = DataView;
|
|
11
|
+
|
|
12
|
+
export { _DataView as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _hashClear from './_hashClear.js';
|
|
2
|
+
import _hashDelete from './_hashDelete.js';
|
|
3
|
+
import _hashGet from './_hashGet.js';
|
|
4
|
+
import _hashHas from './_hashHas.js';
|
|
5
|
+
import _hashSet from './_hashSet.js';
|
|
6
|
+
|
|
7
|
+
var hashClear = _hashClear,
|
|
8
|
+
hashDelete = _hashDelete,
|
|
9
|
+
hashGet = _hashGet,
|
|
10
|
+
hashHas = _hashHas,
|
|
11
|
+
hashSet = _hashSet;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Creates a hash object.
|
|
15
|
+
*
|
|
16
|
+
* @private
|
|
17
|
+
* @constructor
|
|
18
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
19
|
+
*/
|
|
20
|
+
function Hash(entries) {
|
|
21
|
+
var index = -1,
|
|
22
|
+
length = entries == null ? 0 : entries.length;
|
|
23
|
+
|
|
24
|
+
this.clear();
|
|
25
|
+
while (++index < length) {
|
|
26
|
+
var entry = entries[index];
|
|
27
|
+
this.set(entry[0], entry[1]);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Add methods to `Hash`.
|
|
32
|
+
Hash.prototype.clear = hashClear;
|
|
33
|
+
Hash.prototype['delete'] = hashDelete;
|
|
34
|
+
Hash.prototype.get = hashGet;
|
|
35
|
+
Hash.prototype.has = hashHas;
|
|
36
|
+
Hash.prototype.set = hashSet;
|
|
37
|
+
|
|
38
|
+
var _Hash = Hash;
|
|
39
|
+
|
|
40
|
+
export { _Hash as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _listCacheClear from './_listCacheClear.js';
|
|
2
|
+
import _listCacheDelete from './_listCacheDelete.js';
|
|
3
|
+
import _listCacheGet from './_listCacheGet.js';
|
|
4
|
+
import _listCacheHas from './_listCacheHas.js';
|
|
5
|
+
import _listCacheSet from './_listCacheSet.js';
|
|
6
|
+
|
|
7
|
+
var listCacheClear = _listCacheClear,
|
|
8
|
+
listCacheDelete = _listCacheDelete,
|
|
9
|
+
listCacheGet = _listCacheGet,
|
|
10
|
+
listCacheHas = _listCacheHas,
|
|
11
|
+
listCacheSet = _listCacheSet;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Creates an list cache object.
|
|
15
|
+
*
|
|
16
|
+
* @private
|
|
17
|
+
* @constructor
|
|
18
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
19
|
+
*/
|
|
20
|
+
function ListCache(entries) {
|
|
21
|
+
var index = -1,
|
|
22
|
+
length = entries == null ? 0 : entries.length;
|
|
23
|
+
|
|
24
|
+
this.clear();
|
|
25
|
+
while (++index < length) {
|
|
26
|
+
var entry = entries[index];
|
|
27
|
+
this.set(entry[0], entry[1]);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Add methods to `ListCache`.
|
|
32
|
+
ListCache.prototype.clear = listCacheClear;
|
|
33
|
+
ListCache.prototype['delete'] = listCacheDelete;
|
|
34
|
+
ListCache.prototype.get = listCacheGet;
|
|
35
|
+
ListCache.prototype.has = listCacheHas;
|
|
36
|
+
ListCache.prototype.set = listCacheSet;
|
|
37
|
+
|
|
38
|
+
var _ListCache = ListCache;
|
|
39
|
+
|
|
40
|
+
export { _ListCache as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _getNative from './_getNative.js';
|
|
2
|
+
import _root from './_root.js';
|
|
3
|
+
|
|
4
|
+
var getNative = _getNative,
|
|
5
|
+
root = _root;
|
|
6
|
+
|
|
7
|
+
/* Built-in method references that are verified to be native. */
|
|
8
|
+
var Map = getNative(root, 'Map');
|
|
9
|
+
|
|
10
|
+
var _Map = Map;
|
|
11
|
+
|
|
12
|
+
export { _Map as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _mapCacheClear from './_mapCacheClear.js';
|
|
2
|
+
import _mapCacheDelete from './_mapCacheDelete.js';
|
|
3
|
+
import _mapCacheGet from './_mapCacheGet.js';
|
|
4
|
+
import _mapCacheHas from './_mapCacheHas.js';
|
|
5
|
+
import _mapCacheSet from './_mapCacheSet.js';
|
|
6
|
+
|
|
7
|
+
var mapCacheClear = _mapCacheClear,
|
|
8
|
+
mapCacheDelete = _mapCacheDelete,
|
|
9
|
+
mapCacheGet = _mapCacheGet,
|
|
10
|
+
mapCacheHas = _mapCacheHas,
|
|
11
|
+
mapCacheSet = _mapCacheSet;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Creates a map cache object to store key-value pairs.
|
|
15
|
+
*
|
|
16
|
+
* @private
|
|
17
|
+
* @constructor
|
|
18
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
19
|
+
*/
|
|
20
|
+
function MapCache(entries) {
|
|
21
|
+
var index = -1,
|
|
22
|
+
length = entries == null ? 0 : entries.length;
|
|
23
|
+
|
|
24
|
+
this.clear();
|
|
25
|
+
while (++index < length) {
|
|
26
|
+
var entry = entries[index];
|
|
27
|
+
this.set(entry[0], entry[1]);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Add methods to `MapCache`.
|
|
32
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
33
|
+
MapCache.prototype['delete'] = mapCacheDelete;
|
|
34
|
+
MapCache.prototype.get = mapCacheGet;
|
|
35
|
+
MapCache.prototype.has = mapCacheHas;
|
|
36
|
+
MapCache.prototype.set = mapCacheSet;
|
|
37
|
+
|
|
38
|
+
var _MapCache = MapCache;
|
|
39
|
+
|
|
40
|
+
export { _MapCache as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _getNative from './_getNative.js';
|
|
2
|
+
import _root from './_root.js';
|
|
3
|
+
|
|
4
|
+
var getNative = _getNative,
|
|
5
|
+
root = _root;
|
|
6
|
+
|
|
7
|
+
/* Built-in method references that are verified to be native. */
|
|
8
|
+
var Promise$1 = getNative(root, 'Promise');
|
|
9
|
+
|
|
10
|
+
var _Promise = Promise$1;
|
|
11
|
+
|
|
12
|
+
export { _Promise as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _getNative from './_getNative.js';
|
|
2
|
+
import _root from './_root.js';
|
|
3
|
+
|
|
4
|
+
var getNative = _getNative,
|
|
5
|
+
root = _root;
|
|
6
|
+
|
|
7
|
+
/* Built-in method references that are verified to be native. */
|
|
8
|
+
var Set = getNative(root, 'Set');
|
|
9
|
+
|
|
10
|
+
var _Set = Set;
|
|
11
|
+
|
|
12
|
+
export { _Set as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import _MapCache from './_MapCache.js';
|
|
2
|
+
import _setCacheAdd from './_setCacheAdd.js';
|
|
3
|
+
import _setCacheHas from './_setCacheHas.js';
|
|
4
|
+
|
|
5
|
+
var MapCache = _MapCache,
|
|
6
|
+
setCacheAdd = _setCacheAdd,
|
|
7
|
+
setCacheHas = _setCacheHas;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* Creates an array cache object to store unique values.
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @constructor
|
|
15
|
+
* @param {Array} [values] The values to cache.
|
|
16
|
+
*/
|
|
17
|
+
function SetCache(values) {
|
|
18
|
+
var index = -1,
|
|
19
|
+
length = values == null ? 0 : values.length;
|
|
20
|
+
|
|
21
|
+
this.__data__ = new MapCache;
|
|
22
|
+
while (++index < length) {
|
|
23
|
+
this.add(values[index]);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Add methods to `SetCache`.
|
|
28
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
29
|
+
SetCache.prototype.has = setCacheHas;
|
|
30
|
+
|
|
31
|
+
var _SetCache = SetCache;
|
|
32
|
+
|
|
33
|
+
export { _SetCache as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _ListCache from './_ListCache.js';
|
|
2
|
+
import _stackClear from './_stackClear.js';
|
|
3
|
+
import _stackDelete from './_stackDelete.js';
|
|
4
|
+
import _stackGet from './_stackGet.js';
|
|
5
|
+
import _stackHas from './_stackHas.js';
|
|
6
|
+
import _stackSet from './_stackSet.js';
|
|
7
|
+
|
|
8
|
+
var ListCache = _ListCache,
|
|
9
|
+
stackClear = _stackClear,
|
|
10
|
+
stackDelete = _stackDelete,
|
|
11
|
+
stackGet = _stackGet,
|
|
12
|
+
stackHas = _stackHas,
|
|
13
|
+
stackSet = _stackSet;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Creates a stack cache object to store key-value pairs.
|
|
17
|
+
*
|
|
18
|
+
* @private
|
|
19
|
+
* @constructor
|
|
20
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
21
|
+
*/
|
|
22
|
+
function Stack(entries) {
|
|
23
|
+
var data = this.__data__ = new ListCache(entries);
|
|
24
|
+
this.size = data.size;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Add methods to `Stack`.
|
|
28
|
+
Stack.prototype.clear = stackClear;
|
|
29
|
+
Stack.prototype['delete'] = stackDelete;
|
|
30
|
+
Stack.prototype.get = stackGet;
|
|
31
|
+
Stack.prototype.has = stackHas;
|
|
32
|
+
Stack.prototype.set = stackSet;
|
|
33
|
+
|
|
34
|
+
var _Stack = Stack;
|
|
35
|
+
|
|
36
|
+
export { _Stack as default };
|