@hkyhy/marsun-components-core 0.1.50 → 0.1.52
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/_virtual/jszip.min.js +28 -0
- package/dist/_virtual/jszip.min.js.map +1 -0
- package/dist/_virtual/{index.js → jszip2.min.js} +1 -1
- package/dist/_virtual/jszip2.min.js.map +1 -0
- package/dist/components/AgentHub/Chat/Detail/CitationMarkdownContent/index.js +13 -13
- package/dist/components/AgentHub/Chat/Detail/CitationPanel/index.js +2 -2
- package/dist/components/AgentHub/Chat/Modal/FormModal.js +11 -11
- package/dist/components/AgentHub/Chat/Modal/FormModal.js.map +1 -1
- package/dist/components/AgentHub/KnowledgeBase/Modal/FormModal.js +6 -6
- package/dist/components/AgentHub/KnowledgeBase/Modal/FormModal.js.map +1 -1
- package/dist/components/Auth/UserProfileCard/UserProfileCard.d.ts +6 -1
- package/dist/components/Auth/UserProfileCard/UserProfileCard.js +44 -40
- package/dist/components/Auth/UserProfileCard/UserProfileCard.js.map +1 -1
- package/dist/components/Auth/UserProfileCard/style.module.scss.js +16 -14
- package/dist/components/Auth/UserProfileCard/style.module.scss.js.map +1 -1
- package/dist/components/File/FileItem/index.js +46 -24
- package/dist/components/File/FileItem/index.js.map +1 -1
- package/dist/components/File/FilePreview/FilePreviewContent.js +5 -5
- package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -1
- package/dist/components/Filter/CommonFilter/index.d.ts +20 -18
- package/dist/components/Filter/CommonFilter/index.js +261 -104
- package/dist/components/Filter/CommonFilter/index.js.map +1 -1
- package/dist/components/Filter/CommonFilter/style.module.scss.js +25 -15
- package/dist/components/Filter/CommonFilter/style.module.scss.js.map +1 -1
- package/dist/components/Filter/FilterCity/index.d.ts +11 -0
- package/dist/components/Filter/FilterCity/index.js +143 -0
- package/dist/components/Filter/FilterCity/index.js.map +1 -0
- package/dist/components/Filter/FilterCity/style.module.scss.js +9 -0
- package/dist/components/Filter/FilterCity/style.module.scss.js.map +1 -0
- package/dist/components/Filter/FilterDatePicker/index.js +61 -60
- package/dist/components/Filter/FilterDatePicker/index.js.map +1 -1
- package/dist/components/Filter/FilterDateRange/index.js +78 -77
- package/dist/components/Filter/FilterDateRange/index.js.map +1 -1
- package/dist/components/Filter/FilterInput/index.js +38 -37
- package/dist/components/Filter/FilterInput/index.js.map +1 -1
- package/dist/components/Filter/FilterLayoutContext.d.ts +9 -0
- package/dist/components/Filter/FilterLayoutContext.js +17 -0
- package/dist/components/Filter/FilterLayoutContext.js.map +1 -0
- package/dist/components/Filter/FilterList/index.d.ts +16 -0
- package/dist/components/Filter/FilterList/index.js +133 -0
- package/dist/components/Filter/FilterList/index.js.map +1 -0
- package/dist/components/Filter/FilterList/style.module.scss.js +9 -0
- package/dist/components/Filter/FilterList/style.module.scss.js.map +1 -0
- package/dist/components/Filter/FilterNumberRange/index.js +52 -51
- package/dist/components/Filter/FilterNumberRange/index.js.map +1 -1
- package/dist/components/Filter/FilterPanel/index.d.ts +2 -0
- package/dist/components/Filter/FilterPanel/index.js +19 -12
- package/dist/components/Filter/FilterPanel/index.js.map +1 -1
- package/dist/components/Filter/FilterPopover/index.js +85 -47
- package/dist/components/Filter/FilterPopover/index.js.map +1 -1
- package/dist/components/Filter/FilterPopover/style.module.scss.js +8 -0
- package/dist/components/Filter/FilterPopover/style.module.scss.js.map +1 -0
- package/dist/components/Filter/FilterSelectAddress/index.d.ts +4 -0
- package/dist/components/Filter/FilterSelectAddress/index.js +8 -0
- package/dist/components/Filter/FilterSelectAddress/index.js.map +1 -0
- package/dist/components/Filter/FilterSelectFunction/index.d.ts +4 -0
- package/dist/components/Filter/FilterSelectFunction/index.js +8 -0
- package/dist/components/Filter/FilterSelectFunction/index.js.map +1 -0
- package/dist/components/Filter/FilterSelectIndustry/index.d.ts +4 -0
- package/dist/components/Filter/FilterSelectIndustry/index.js +8 -0
- package/dist/components/Filter/FilterSelectIndustry/index.js.map +1 -0
- package/dist/components/Filter/FilterSelectTableList/index.d.ts +6 -0
- package/dist/components/Filter/FilterSelectTableList/index.js +8 -0
- package/dist/components/Filter/FilterSelectTableList/index.js.map +1 -0
- package/dist/components/Filter/FilterSuperSelect/index.d.ts +7 -0
- package/dist/components/Filter/FilterSuperSelect/index.js +8 -0
- package/dist/components/Filter/FilterSuperSelect/index.js.map +1 -0
- package/dist/components/Filter/FilterTrigger/index.d.ts +3 -0
- package/dist/components/Filter/FilterTrigger/index.js +24 -21
- package/dist/components/Filter/FilterTrigger/index.js.map +1 -1
- package/dist/components/Filter/FilterTrigger/style.module.scss.js +7 -5
- package/dist/components/Filter/FilterTrigger/style.module.scss.js.map +1 -1
- package/dist/components/Filter/FilterTypeDateRange/index.d.ts +14 -0
- package/dist/components/Filter/FilterTypeDateRange/index.js +189 -0
- package/dist/components/Filter/FilterTypeDateRange/index.js.map +1 -0
- package/dist/components/Filter/FilterTypeDateRange/style.module.scss.js +12 -0
- package/dist/components/Filter/FilterTypeDateRange/style.module.scss.js.map +1 -0
- package/dist/components/Filter/createKneFilterField.d.ts +28 -0
- package/dist/components/Filter/createKneFilterField.js +104 -0
- package/dist/components/Filter/createKneFilterField.js.map +1 -0
- package/dist/components/Filter/createKneFilterField.module.scss.js +8 -0
- package/dist/components/Filter/createKneFilterField.module.scss.js.map +1 -0
- package/dist/components/Filter/index.d.ts +30 -0
- package/dist/components/Filter/kneValueAdapter.d.ts +28 -0
- package/dist/components/Filter/kneValueAdapter.js +64 -0
- package/dist/components/Filter/kneValueAdapter.js.map +1 -0
- package/dist/components/Filter/useFilterLayoutMode.d.ts +19 -0
- package/dist/components/Filter/useFilterLayoutMode.js +37 -0
- package/dist/components/Filter/useFilterLayoutMode.js.map +1 -0
- package/dist/components/Filter/useHorizontalScrollShadows.d.ts +9 -0
- package/dist/components/Filter/useHorizontalScrollShadows.js +27 -0
- package/dist/components/Filter/useHorizontalScrollShadows.js.map +1 -0
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/components/Form/kneFormInfo.d.ts +1 -2
- package/dist/components/Form/kneFormInfo.js +5 -5
- package/dist/components/Form/kneFormInfo.js.map +1 -1
- package/dist/components/Icons/index.js +14 -14
- package/dist/components/ReactFilter/AdvancedFilter/fields/CityFilterItem.js +25 -27
- package/dist/components/ReactFilter/AdvancedFilter/fields/CityFilterItem.js.map +1 -1
- package/dist/components/ReactFilter/AdvancedFilter/fields/InputFilterItem.js +11 -13
- package/dist/components/ReactFilter/AdvancedFilter/fields/InputFilterItem.js.map +1 -1
- package/dist/components/ReactFilter/AdvancedFilter/fields/ListFilterItem.js +18 -20
- package/dist/components/ReactFilter/AdvancedFilter/fields/ListFilterItem.js.map +1 -1
- package/dist/components/ReactFilter/AdvancedFilter/index.js +33 -35
- package/dist/components/ReactFilter/AdvancedFilter/index.js.map +1 -1
- package/dist/components/ReactFilter/FilterLines.js +71 -73
- package/dist/components/ReactFilter/FilterLines.js.map +1 -1
- package/dist/components/ReactFilter/FilterProvider.js +1 -1
- package/dist/components/ReactFilter/FilterValueDisplay.js +29 -32
- package/dist/components/ReactFilter/FilterValueDisplay.js.map +1 -1
- package/dist/components/ReactFilter/PopoverItem.js +22 -24
- package/dist/components/ReactFilter/PopoverItem.js.map +1 -1
- package/dist/components/ReactFilter/SearchInput.js +12 -14
- package/dist/components/ReactFilter/SearchInput.js.map +1 -1
- package/dist/components/ReactFilter/common/TypeDateRangePickerField/index.js +48 -50
- package/dist/components/ReactFilter/common/TypeDateRangePickerField/index.js.map +1 -1
- package/dist/components/ReactFilter/fields/InputFilterItem.js +1 -1
- package/dist/components/ReactFilter/fields/NumberRangeFilterItem.js +27 -29
- package/dist/components/ReactFilter/fields/NumberRangeFilterItem.js.map +1 -1
- package/dist/components/ReactFilter/fields/SelectTreeFilterItem.js +35 -35
- package/dist/components/ReactFilter/fields/TypeDateRangePickerFilterItem.js +1 -1
- package/dist/components/ReactFilter/fields/index.js +28 -30
- package/dist/components/ReactFilter/fields/index.js.map +1 -1
- package/dist/components/ReactFilter/getFilterValue.js +1 -1
- package/dist/components/ReactFilter/hooks/useFilterIsMobile.js +3 -3
- package/dist/components/ReactFilter/hooks/useFilterPopupContainer.js +1 -1
- package/dist/components/ReactFilter/hooks/useFilterViewportVars.js +1 -1
- package/dist/components/ReactFilter/hooks/useResponsiveScrollListener.js +1 -1
- package/dist/components/ReactFilter/withFieldItem.js +1 -1
- package/dist/components/ReactFilter/withFilterValue.js +1 -1
- package/dist/components/ReactFilter/withLocale.js +1 -1
- package/dist/components/Tag/SemanticTag.d.ts +2 -0
- package/dist/components/Tag/SemanticTag.js +36 -41
- package/dist/components/Tag/SemanticTag.js.map +1 -1
- package/dist/components/Tour/AppTour/index.js +4 -4
- package/dist/components/Tour/AppTour/index.js.map +1 -1
- package/dist/components/Upload/index.js +34 -34
- package/dist/components/Upload/index.js.map +1 -1
- package/dist/index.js +410 -380
- package/dist/index.js.map +1 -1
- package/dist/marsun-components-core.css +1 -1
- package/dist/node_modules/jszip/dist/jszip.min.js +2321 -0
- package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
- package/dist/styles/global.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/_cloneBuffer.js +0 -5
- package/dist/_virtual/_cloneBuffer.js.map +0 -1
- package/dist/_virtual/_nodeUtil.js +0 -5
- package/dist/_virtual/_nodeUtil.js.map +0 -1
- package/dist/_virtual/clone.js +0 -8
- package/dist/_virtual/clone.js.map +0 -1
- package/dist/_virtual/get.js +0 -8
- package/dist/_virtual/get.js.map +0 -1
- package/dist/_virtual/hoist-non-react-statics.cjs.js +0 -3
- package/dist/_virtual/hoist-non-react-statics.cjs.js.map +0 -1
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/isBuffer.js +0 -5
- package/dist/_virtual/isBuffer.js.map +0 -1
- package/dist/_virtual/isEqual.js +0 -8
- package/dist/_virtual/isEqual.js.map +0 -1
- package/dist/_virtual/isNumber.js +0 -8
- package/dist/_virtual/isNumber.js.map +0 -1
- package/dist/_virtual/merge.js +0 -8
- package/dist/_virtual/merge.js.map +0 -1
- package/dist/_virtual/object_hash.js +0 -8
- package/dist/_virtual/object_hash.js.map +0 -1
- package/dist/_virtual/object_hash2.js +0 -5
- package/dist/_virtual/object_hash2.js.map +0 -1
- package/dist/_virtual/omit.js +0 -8
- package/dist/_virtual/omit.js.map +0 -1
- package/dist/_virtual/pick.js +0 -8
- package/dist/_virtual/pick.js.map +0 -1
- package/dist/_virtual/react-is.development.js +0 -5
- package/dist/_virtual/react-is.development.js.map +0 -1
- package/dist/_virtual/react-is.production.min.js +0 -5
- package/dist/_virtual/react-is.production.min.js.map +0 -1
- package/dist/_virtual/transform.js +0 -8
- package/dist/_virtual/transform.js.map +0 -1
- package/dist/node_modules/@ant-design/colors/es/generate.js +0 -75
- package/dist/node_modules/@ant-design/colors/es/generate.js.map +0 -1
- package/dist/node_modules/@ant-design/colors/es/presets.js +0 -6
- package/dist/node_modules/@ant-design/colors/es/presets.js.map +0 -1
- package/dist/node_modules/@ant-design/fast-color/es/FastColor.js +0 -327
- package/dist/node_modules/@ant-design/fast-color/es/FastColor.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js +0 -42
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/components/Context.js +0 -6
- package/dist/node_modules/@ant-design/icons/es/components/Context.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.js +0 -46
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js +0 -19
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/icons/UpOutlined.js +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/UpOutlined.js.map +0 -1
- package/dist/node_modules/@ant-design/icons/es/utils.js +0 -130
- package/dist/node_modules/@ant-design/icons/es/utils.js.map +0 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js.map +0 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js.map +0 -1
- package/dist/node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -22
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -26
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -14
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
- package/dist/node_modules/@formatjs/ecma402-abstract/lib/utils.js +0 -45
- package/dist/node_modules/@formatjs/ecma402-abstract/lib/utils.js.map +0 -1
- package/dist/node_modules/@formatjs/fast-memoize/lib/index.js +0 -52
- package/dist/node_modules/@formatjs/fast-memoize/lib/index.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +0 -42
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +0 -8
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/error.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +0 -39
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/index.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +0 -586
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +0 -5
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +0 -1419
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +0 -57
- package/dist/node_modules/@formatjs/icu-messageformat-parser/lib/types.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +0 -113
- package/dist/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +0 -219
- package/dist/node_modules/@formatjs/icu-skeleton-parser/lib/number.js.map +0 -1
- package/dist/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +0 -5
- package/dist/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/create-intl.js +0 -45
- package/dist/node_modules/@formatjs/intl/lib/src/create-intl.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/dateTime.js +0 -94
- package/dist/node_modules/@formatjs/intl/lib/src/dateTime.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/displayName.js +0 -25
- package/dist/node_modules/@formatjs/intl/lib/src/displayName.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/error.js +0 -96
- package/dist/node_modules/@formatjs/intl/lib/src/error.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/list.js +0 -48
- package/dist/node_modules/@formatjs/intl/lib/src/list.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/message.js +0 -70
- package/dist/node_modules/@formatjs/intl/lib/src/message.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/number.js +0 -58
- package/dist/node_modules/@formatjs/intl/lib/src/number.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/plural.js +0 -21
- package/dist/node_modules/@formatjs/intl/lib/src/plural.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/relativeTime.js +0 -27
- package/dist/node_modules/@formatjs/intl/lib/src/relativeTime.js.map +0 -1
- package/dist/node_modules/@formatjs/intl/lib/src/utils.js +0 -126
- package/dist/node_modules/@formatjs/intl/lib/src/utils.js.map +0 -1
- package/dist/node_modules/@kne/global-context/dist/index.modern.js +0 -62
- package/dist/node_modules/@kne/global-context/dist/index.modern.js.map +0 -1
- package/dist/node_modules/@kne/react-fetch/dist/index.modern.js +0 -483
- package/dist/node_modules/@kne/react-fetch/dist/index.modern.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/dist/index.modern.js +0 -173
- package/dist/node_modules/@kne/react-intl/dist/index.modern.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/index.js +0 -9
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/index.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/createFormattedComponent.js +0 -36
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/createFormattedComponent.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/createIntl.js +0 -49
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/createIntl.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/injectIntl.js +0 -10
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/injectIntl.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/provider.js +0 -49
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/provider.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/useIntl.js +0 -11
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/components/useIntl.js.map +0 -1
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/utils.js +0 -35
- package/dist/node_modules/@kne/react-intl/node_modules/react-intl/lib/src/utils.js.map +0 -1
- package/dist/node_modules/@kne/responsive-utils/dist/index.modern.js +0 -239
- package/dist/node_modules/@kne/responsive-utils/dist/index.modern.js.map +0 -1
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -71
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +0 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -96
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -79
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +0 -1
- package/dist/node_modules/intl-messageformat/lib/src/core.js +0 -176
- package/dist/node_modules/intl-messageformat/lib/src/core.js.map +0 -1
- package/dist/node_modules/intl-messageformat/lib/src/error.js +0 -53
- package/dist/node_modules/intl-messageformat/lib/src/error.js.map +0 -1
- package/dist/node_modules/intl-messageformat/lib/src/formatters.js +0 -121
- package/dist/node_modules/intl-messageformat/lib/src/formatters.js.map +0 -1
- package/dist/node_modules/lodash/_DataView.js +0 -13
- package/dist/node_modules/lodash/_DataView.js.map +0 -1
- package/dist/node_modules/lodash/_Hash.js +0 -23
- package/dist/node_modules/lodash/_Hash.js.map +0 -1
- package/dist/node_modules/lodash/_ListCache.js +0 -23
- package/dist/node_modules/lodash/_ListCache.js.map +0 -1
- package/dist/node_modules/lodash/_Map.js +0 -13
- package/dist/node_modules/lodash/_Map.js.map +0 -1
- package/dist/node_modules/lodash/_MapCache.js +0 -23
- package/dist/node_modules/lodash/_MapCache.js.map +0 -1
- package/dist/node_modules/lodash/_Promise.js +0 -13
- package/dist/node_modules/lodash/_Promise.js.map +0 -1
- package/dist/node_modules/lodash/_Set.js +0 -13
- package/dist/node_modules/lodash/_Set.js.map +0 -1
- package/dist/node_modules/lodash/_SetCache.js +0 -19
- package/dist/node_modules/lodash/_SetCache.js.map +0 -1
- package/dist/node_modules/lodash/_Stack.js +0 -21
- package/dist/node_modules/lodash/_Stack.js.map +0 -1
- package/dist/node_modules/lodash/_Symbol.js +0 -12
- package/dist/node_modules/lodash/_Symbol.js.map +0 -1
- package/dist/node_modules/lodash/_Uint8Array.js +0 -12
- package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
- package/dist/node_modules/lodash/_WeakMap.js +0 -13
- package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
- package/dist/node_modules/lodash/_apply.js +0 -23
- package/dist/node_modules/lodash/_apply.js.map +0 -1
- package/dist/node_modules/lodash/_arrayEach.js +0 -15
- package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
- package/dist/node_modules/lodash/_arrayFilter.js +0 -17
- package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -27
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_arrayMap.js +0 -15
- package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
- package/dist/node_modules/lodash/_arrayPush.js +0 -15
- package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
- package/dist/node_modules/lodash/_arraySome.js +0 -16
- package/dist/node_modules/lodash/_arraySome.js.map +0 -1
- package/dist/node_modules/lodash/_assignMergeValue.js +0 -16
- package/dist/node_modules/lodash/_assignMergeValue.js.map +0 -1
- package/dist/node_modules/lodash/_assignValue.js +0 -17
- package/dist/node_modules/lodash/_assignValue.js.map +0 -1
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -18
- package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssign.js +0 -16
- package/dist/node_modules/lodash/_baseAssign.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignIn.js +0 -16
- package/dist/node_modules/lodash/_baseAssignIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -20
- package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
- package/dist/node_modules/lodash/_baseClone.js +0 -71
- package/dist/node_modules/lodash/_baseClone.js.map +0 -1
- package/dist/node_modules/lodash/_baseCreate.js +0 -24
- package/dist/node_modules/lodash/_baseCreate.js.map +0 -1
- package/dist/node_modules/lodash/_baseFlatten.js +0 -21
- package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
- package/dist/node_modules/lodash/_baseFor.js +0 -12
- package/dist/node_modules/lodash/_baseFor.js.map +0 -1
- package/dist/node_modules/lodash/_baseForOwn.js +0 -16
- package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
- package/dist/node_modules/lodash/_baseGet.js +0 -19
- package/dist/node_modules/lodash/_baseGet.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -17
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseGetTag.js +0 -17
- package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/dist/node_modules/lodash/_baseHasIn.js +0 -13
- package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -16
- package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -16
- package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -39
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMap.js +0 -16
- package/dist/node_modules/lodash/_baseIsMap.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -38
- package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsNative.js +0 -23
- package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsSet.js +0 -16
- package/dist/node_modules/lodash/_baseIsSet.js.map +0 -1
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -18
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_baseIteratee.js +0 -19
- package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeys.js +0 -21
- package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
- package/dist/node_modules/lodash/_baseKeysIn.js +0 -22
- package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatches.js +0 -20
- package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -24
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
- package/dist/node_modules/lodash/_baseMerge.js +0 -28
- package/dist/node_modules/lodash/_baseMerge.js.map +0 -1
- package/dist/node_modules/lodash/_baseMergeDeep.js +0 -39
- package/dist/node_modules/lodash/_baseMergeDeep.js.map +0 -1
- package/dist/node_modules/lodash/_basePick.js +0 -18
- package/dist/node_modules/lodash/_basePick.js.map +0 -1
- package/dist/node_modules/lodash/_basePickBy.js +0 -21
- package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
- package/dist/node_modules/lodash/_baseProperty.js +0 -15
- package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -17
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
- package/dist/node_modules/lodash/_baseRest.js +0 -17
- package/dist/node_modules/lodash/_baseRest.js.map +0 -1
- package/dist/node_modules/lodash/_baseSet.js +0 -32
- package/dist/node_modules/lodash/_baseSet.js.map +0 -1
- package/dist/node_modules/lodash/_baseSetToString.js +0 -21
- package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseSlice.js +0 -17
- package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
- package/dist/node_modules/lodash/_baseTimes.js +0 -15
- package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
- package/dist/node_modules/lodash/_baseToString.js +0 -25
- package/dist/node_modules/lodash/_baseToString.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnary.js +0 -15
- package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
- package/dist/node_modules/lodash/_baseUnset.js +0 -28
- package/dist/node_modules/lodash/_baseUnset.js.map +0 -1
- package/dist/node_modules/lodash/_cacheHas.js +0 -13
- package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_castPath.js +0 -18
- package/dist/node_modules/lodash/_castPath.js.map +0 -1
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +0 -1
- package/dist/node_modules/lodash/_cloneBuffer.js +0 -20
- package/dist/node_modules/lodash/_cloneBuffer.js.map +0 -1
- package/dist/node_modules/lodash/_cloneDataView.js +0 -16
- package/dist/node_modules/lodash/_cloneDataView.js.map +0 -1
- package/dist/node_modules/lodash/_cloneRegExp.js +0 -15
- package/dist/node_modules/lodash/_cloneRegExp.js.map +0 -1
- package/dist/node_modules/lodash/_cloneSymbol.js +0 -15
- package/dist/node_modules/lodash/_cloneSymbol.js.map +0 -1
- package/dist/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/dist/node_modules/lodash/_cloneTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/_copyArray.js +0 -16
- package/dist/node_modules/lodash/_copyArray.js.map +0 -1
- package/dist/node_modules/lodash/_copyObject.js +0 -22
- package/dist/node_modules/lodash/_copyObject.js.map +0 -1
- package/dist/node_modules/lodash/_copySymbols.js +0 -16
- package/dist/node_modules/lodash/_copySymbols.js.map +0 -1
- package/dist/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/dist/node_modules/lodash/_copySymbolsIn.js.map +0 -1
- package/dist/node_modules/lodash/_coreJsData.js +0 -12
- package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
- package/dist/node_modules/lodash/_createAssigner.js +0 -23
- package/dist/node_modules/lodash/_createAssigner.js.map +0 -1
- package/dist/node_modules/lodash/_createBaseFor.js +0 -20
- package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
- package/dist/node_modules/lodash/_customOmitClone.js +0 -15
- package/dist/node_modules/lodash/_customOmitClone.js.map +0 -1
- package/dist/node_modules/lodash/_defineProperty.js +0 -18
- package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
- package/dist/node_modules/lodash/_equalArrays.js +0 -47
- package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
- package/dist/node_modules/lodash/_equalByTag.js +0 -52
- package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
- package/dist/node_modules/lodash/_equalObjects.js +0 -43
- package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
- package/dist/node_modules/lodash/_flatRest.js +0 -17
- package/dist/node_modules/lodash/_flatRest.js.map +0 -1
- package/dist/node_modules/lodash/_freeGlobal.js +0 -12
- package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeys.js +0 -17
- package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
- package/dist/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_getMapData.js +0 -16
- package/dist/node_modules/lodash/_getMapData.js.map +0 -1
- package/dist/node_modules/lodash/_getMatchData.js +0 -20
- package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
- package/dist/node_modules/lodash/_getNative.js +0 -17
- package/dist/node_modules/lodash/_getNative.js.map +0 -1
- package/dist/node_modules/lodash/_getPrototype.js +0 -12
- package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_getRawTag.js +0 -22
- package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbols.js +0 -17
- package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
- package/dist/node_modules/lodash/_getSymbolsIn.js +0 -19
- package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
- package/dist/node_modules/lodash/_getTag.js +0 -34
- package/dist/node_modules/lodash/_getTag.js.map +0 -1
- package/dist/node_modules/lodash/_getValue.js +0 -13
- package/dist/node_modules/lodash/_getValue.js.map +0 -1
- package/dist/node_modules/lodash/_hasPath.js +0 -27
- package/dist/node_modules/lodash/_hasPath.js.map +0 -1
- package/dist/node_modules/lodash/_hashClear.js +0 -15
- package/dist/node_modules/lodash/_hashClear.js.map +0 -1
- package/dist/node_modules/lodash/_hashDelete.js +0 -14
- package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
- package/dist/node_modules/lodash/_hashGet.js +0 -20
- package/dist/node_modules/lodash/_hashGet.js.map +0 -1
- package/dist/node_modules/lodash/_hashHas.js +0 -16
- package/dist/node_modules/lodash/_hashHas.js.map +0 -1
- package/dist/node_modules/lodash/_hashSet.js +0 -16
- package/dist/node_modules/lodash/_hashSet.js.map +0 -1
- package/dist/node_modules/lodash/_initCloneArray.js +0 -15
- package/dist/node_modules/lodash/_initCloneArray.js.map +0 -1
- package/dist/node_modules/lodash/_initCloneByTag.js +0 -49
- package/dist/node_modules/lodash/_initCloneByTag.js.map +0 -1
- package/dist/node_modules/lodash/_initCloneObject.js +0 -17
- package/dist/node_modules/lodash/_initCloneObject.js.map +0 -1
- package/dist/node_modules/lodash/_isFlattenable.js +0 -17
- package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
- package/dist/node_modules/lodash/_isIndex.js +0 -15
- package/dist/node_modules/lodash/_isIndex.js.map +0 -1
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -21
- package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
- package/dist/node_modules/lodash/_isKey.js +0 -19
- package/dist/node_modules/lodash/_isKey.js.map +0 -1
- package/dist/node_modules/lodash/_isKeyable.js +0 -14
- package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
- package/dist/node_modules/lodash/_isMasked.js +0 -18
- package/dist/node_modules/lodash/_isMasked.js.map +0 -1
- package/dist/node_modules/lodash/_isPrototype.js +0 -15
- package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -15
- package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheClear.js +0 -13
- package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -19
- package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheGet.js +0 -16
- package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheHas.js +0 -15
- package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_listCacheSet.js +0 -16
- package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -21
- package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -16
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -15
- package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -15
- package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -16
- package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
- package/dist/node_modules/lodash/_mapToArray.js +0 -16
- package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -15
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -18
- package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
- package/dist/node_modules/lodash/_nativeCreate.js +0 -12
- package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeys.js +0 -12
- package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
- package/dist/node_modules/lodash/_nativeKeysIn.js +0 -17
- package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
- package/dist/node_modules/lodash/_nodeUtil.js +0 -20
- package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/dist/node_modules/lodash/_objectToString.js +0 -14
- package/dist/node_modules/lodash/_objectToString.js.map +0 -1
- package/dist/node_modules/lodash/_overArg.js +0 -15
- package/dist/node_modules/lodash/_overArg.js.map +0 -1
- package/dist/node_modules/lodash/_overRest.js +0 -22
- package/dist/node_modules/lodash/_overRest.js.map +0 -1
- package/dist/node_modules/lodash/_parent.js +0 -16
- package/dist/node_modules/lodash/_parent.js.map +0 -1
- package/dist/node_modules/lodash/_root.js +0 -12
- package/dist/node_modules/lodash/_root.js.map +0 -1
- package/dist/node_modules/lodash/_safeGet.js +0 -14
- package/dist/node_modules/lodash/_safeGet.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -14
- package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
- package/dist/node_modules/lodash/_setCacheHas.js +0 -13
- package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
- package/dist/node_modules/lodash/_setToArray.js +0 -16
- package/dist/node_modules/lodash/_setToArray.js.map +0 -1
- package/dist/node_modules/lodash/_setToString.js +0 -13
- package/dist/node_modules/lodash/_setToString.js.map +0 -1
- package/dist/node_modules/lodash/_shortOut.js +0 -23
- package/dist/node_modules/lodash/_shortOut.js.map +0 -1
- package/dist/node_modules/lodash/_stackClear.js +0 -15
- package/dist/node_modules/lodash/_stackClear.js.map +0 -1
- package/dist/node_modules/lodash/_stackDelete.js +0 -14
- package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
- package/dist/node_modules/lodash/_stackGet.js +0 -13
- package/dist/node_modules/lodash/_stackGet.js.map +0 -1
- package/dist/node_modules/lodash/_stackHas.js +0 -13
- package/dist/node_modules/lodash/_stackHas.js.map +0 -1
- package/dist/node_modules/lodash/_stackSet.js +0 -24
- package/dist/node_modules/lodash/_stackSet.js.map +0 -1
- package/dist/node_modules/lodash/_stringToPath.js +0 -17
- package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
- package/dist/node_modules/lodash/_toKey.js +0 -18
- package/dist/node_modules/lodash/_toKey.js.map +0 -1
- package/dist/node_modules/lodash/_toSource.js +0 -24
- package/dist/node_modules/lodash/_toSource.js.map +0 -1
- package/dist/node_modules/lodash/clone.js +0 -15
- package/dist/node_modules/lodash/clone.js.map +0 -1
- package/dist/node_modules/lodash/constant.js +0 -15
- package/dist/node_modules/lodash/constant.js.map +0 -1
- package/dist/node_modules/lodash/eq.js +0 -13
- package/dist/node_modules/lodash/eq.js.map +0 -1
- package/dist/node_modules/lodash/flatten.js +0 -16
- package/dist/node_modules/lodash/flatten.js.map +0 -1
- package/dist/node_modules/lodash/get.js +0 -16
- package/dist/node_modules/lodash/get.js.map +0 -1
- package/dist/node_modules/lodash/hasIn.js +0 -16
- package/dist/node_modules/lodash/hasIn.js.map +0 -1
- package/dist/node_modules/lodash/identity.js +0 -13
- package/dist/node_modules/lodash/identity.js.map +0 -1
- package/dist/node_modules/lodash/isArguments.js +0 -17
- package/dist/node_modules/lodash/isArguments.js.map +0 -1
- package/dist/node_modules/lodash/isArray.js +0 -11
- package/dist/node_modules/lodash/isArray.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLike.js +0 -16
- package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
- package/dist/node_modules/lodash/isArrayLikeObject.js +0 -16
- package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
- package/dist/node_modules/lodash/isBuffer.js +0 -15
- package/dist/node_modules/lodash/isBuffer.js.map +0 -1
- package/dist/node_modules/lodash/isEqual.js +0 -15
- package/dist/node_modules/lodash/isEqual.js.map +0 -1
- package/dist/node_modules/lodash/isFunction.js +0 -19
- package/dist/node_modules/lodash/isFunction.js.map +0 -1
- package/dist/node_modules/lodash/isLength.js +0 -14
- package/dist/node_modules/lodash/isLength.js.map +0 -1
- package/dist/node_modules/lodash/isMap.js +0 -14
- package/dist/node_modules/lodash/isMap.js.map +0 -1
- package/dist/node_modules/lodash/isNumber.js +0 -16
- package/dist/node_modules/lodash/isNumber.js.map +0 -1
- package/dist/node_modules/lodash/isObject.js +0 -14
- package/dist/node_modules/lodash/isObject.js.map +0 -1
- package/dist/node_modules/lodash/isObjectLike.js +0 -13
- package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
- package/dist/node_modules/lodash/isPlainObject.js +0 -23
- package/dist/node_modules/lodash/isPlainObject.js.map +0 -1
- package/dist/node_modules/lodash/isSet.js +0 -14
- package/dist/node_modules/lodash/isSet.js.map +0 -1
- package/dist/node_modules/lodash/isSymbol.js +0 -16
- package/dist/node_modules/lodash/isSymbol.js.map +0 -1
- package/dist/node_modules/lodash/isTypedArray.js +0 -14
- package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
- package/dist/node_modules/lodash/keys.js +0 -17
- package/dist/node_modules/lodash/keys.js.map +0 -1
- package/dist/node_modules/lodash/keysIn.js +0 -17
- package/dist/node_modules/lodash/keysIn.js.map +0 -1
- package/dist/node_modules/lodash/last.js +0 -14
- package/dist/node_modules/lodash/last.js.map +0 -1
- package/dist/node_modules/lodash/memoize.js +0 -24
- package/dist/node_modules/lodash/memoize.js.map +0 -1
- package/dist/node_modules/lodash/merge.js +0 -15
- package/dist/node_modules/lodash/merge.js.map +0 -1
- package/dist/node_modules/lodash/omit.js +0 -30
- package/dist/node_modules/lodash/omit.js.map +0 -1
- package/dist/node_modules/lodash/pick.js +0 -15
- package/dist/node_modules/lodash/pick.js.map +0 -1
- package/dist/node_modules/lodash/property.js +0 -18
- package/dist/node_modules/lodash/property.js.map +0 -1
- package/dist/node_modules/lodash/stubArray.js +0 -13
- package/dist/node_modules/lodash/stubArray.js.map +0 -1
- package/dist/node_modules/lodash/stubFalse.js +0 -13
- package/dist/node_modules/lodash/stubFalse.js.map +0 -1
- package/dist/node_modules/lodash/toPlainObject.js +0 -16
- package/dist/node_modules/lodash/toPlainObject.js.map +0 -1
- package/dist/node_modules/lodash/toString.js +0 -15
- package/dist/node_modules/lodash/toString.js.map +0 -1
- package/dist/node_modules/lodash/transform.js +0 -31
- package/dist/node_modules/lodash/transform.js.map +0 -1
- package/dist/node_modules/object-hash/dist/object_hash.js +0 -783
- package/dist/node_modules/object-hash/dist/object_hash.js.map +0 -1
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js +0 -7
- package/dist/node_modules/rc-util/es/Dom/canUseDom.js.map +0 -1
- package/dist/node_modules/rc-util/es/Dom/contains.js +0 -16
- package/dist/node_modules/rc-util/es/Dom/contains.js.map +0 -1
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js +0 -80
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js.map +0 -1
- package/dist/node_modules/rc-util/es/Dom/shadow.js +0 -15
- package/dist/node_modules/rc-util/es/Dom/shadow.js.map +0 -1
- package/dist/node_modules/rc-util/es/warning.js +0 -45
- package/dist/node_modules/rc-util/es/warning.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.js +0 -45
- package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
|
@@ -1,586 +0,0 @@
|
|
|
1
|
-
import { __assign as V } from "../../../tslib/tslib.es6.js";
|
|
2
|
-
import { ErrorKind as x } from "./error.js";
|
|
3
|
-
import { TYPE as l, SKELETON_TYPE as U } from "./types.js";
|
|
4
|
-
import { SPACE_SEPARATOR_REGEX as F } from "./regex.generated.js";
|
|
5
|
-
import { parseDateTimeSkeleton as W } from "../../icu-skeleton-parser/lib/date-time.js";
|
|
6
|
-
import { parseNumberSkeletonFromString as Y, parseNumberSkeleton as B } from "../../icu-skeleton-parser/lib/number.js";
|
|
7
|
-
import { getBestPattern as q } from "./date-time-pattern-generator.js";
|
|
8
|
-
var A, K = new RegExp("^".concat(F.source, "*")), j = new RegExp("".concat(F.source, "*$"));
|
|
9
|
-
function n(e, t) {
|
|
10
|
-
return { start: e, end: t };
|
|
11
|
-
}
|
|
12
|
-
var H = !!String.prototype.startsWith && "_a".startsWith("a", 1), Q = !!String.fromCodePoint, z = !!Object.fromEntries, $ = !!String.prototype.codePointAt, J = !!String.prototype.trimStart, Z = !!String.prototype.trimEnd, c = !!Number.isSafeInteger, ee = c ? Number.isSafeInteger : function(e) {
|
|
13
|
-
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
14
|
-
}, g = !0;
|
|
15
|
-
try {
|
|
16
|
-
var te = w("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
17
|
-
g = ((A = te.exec("a")) === null || A === void 0 ? void 0 : A[0]) === "a";
|
|
18
|
-
} catch {
|
|
19
|
-
g = !1;
|
|
20
|
-
}
|
|
21
|
-
var L = H ? (
|
|
22
|
-
// Native
|
|
23
|
-
function(t, r, i) {
|
|
24
|
-
return t.startsWith(r, i);
|
|
25
|
-
}
|
|
26
|
-
) : (
|
|
27
|
-
// For IE11
|
|
28
|
-
function(t, r, i) {
|
|
29
|
-
return t.slice(i, i + r.length) === r;
|
|
30
|
-
}
|
|
31
|
-
), C = Q ? String.fromCodePoint : (
|
|
32
|
-
// IE11
|
|
33
|
-
function() {
|
|
34
|
-
for (var t = [], r = 0; r < arguments.length; r++)
|
|
35
|
-
t[r] = arguments[r];
|
|
36
|
-
for (var i = "", s = t.length, a = 0, o; s > a; ) {
|
|
37
|
-
if (o = t[a++], o > 1114111)
|
|
38
|
-
throw RangeError(o + " is not a valid code point");
|
|
39
|
-
i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
40
|
-
}
|
|
41
|
-
return i;
|
|
42
|
-
}
|
|
43
|
-
), G = (
|
|
44
|
-
// native
|
|
45
|
-
z ? Object.fromEntries : (
|
|
46
|
-
// Ponyfill
|
|
47
|
-
function(t) {
|
|
48
|
-
for (var r = {}, i = 0, s = t; i < s.length; i++) {
|
|
49
|
-
var a = s[i], o = a[0], h = a[1];
|
|
50
|
-
r[o] = h;
|
|
51
|
-
}
|
|
52
|
-
return r;
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
), k = $ ? (
|
|
56
|
-
// Native
|
|
57
|
-
function(t, r) {
|
|
58
|
-
return t.codePointAt(r);
|
|
59
|
-
}
|
|
60
|
-
) : (
|
|
61
|
-
// IE 11
|
|
62
|
-
function(t, r) {
|
|
63
|
-
var i = t.length;
|
|
64
|
-
if (!(r < 0 || r >= i)) {
|
|
65
|
-
var s = t.charCodeAt(r), a;
|
|
66
|
-
return s < 55296 || s > 56319 || r + 1 === i || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
), re = J ? (
|
|
70
|
-
// Native
|
|
71
|
-
function(t) {
|
|
72
|
-
return t.trimStart();
|
|
73
|
-
}
|
|
74
|
-
) : (
|
|
75
|
-
// Ponyfill
|
|
76
|
-
function(t) {
|
|
77
|
-
return t.replace(K, "");
|
|
78
|
-
}
|
|
79
|
-
), ie = Z ? (
|
|
80
|
-
// Native
|
|
81
|
-
function(t) {
|
|
82
|
-
return t.trimEnd();
|
|
83
|
-
}
|
|
84
|
-
) : (
|
|
85
|
-
// Ponyfill
|
|
86
|
-
function(t) {
|
|
87
|
-
return t.replace(j, "");
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
function w(e, t) {
|
|
91
|
-
return new RegExp(e, t);
|
|
92
|
-
}
|
|
93
|
-
var y;
|
|
94
|
-
if (g) {
|
|
95
|
-
var M = w("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
96
|
-
y = function(t, r) {
|
|
97
|
-
var i;
|
|
98
|
-
M.lastIndex = r;
|
|
99
|
-
var s = M.exec(t);
|
|
100
|
-
return (i = s[1]) !== null && i !== void 0 ? i : "";
|
|
101
|
-
};
|
|
102
|
-
} else
|
|
103
|
-
y = function(t, r) {
|
|
104
|
-
for (var i = []; ; ) {
|
|
105
|
-
var s = k(t, r);
|
|
106
|
-
if (s === void 0 || D(s) || ae(s))
|
|
107
|
-
break;
|
|
108
|
-
i.push(s), r += s >= 65536 ? 2 : 1;
|
|
109
|
-
}
|
|
110
|
-
return C.apply(void 0, i);
|
|
111
|
-
};
|
|
112
|
-
var ve = (
|
|
113
|
-
/** @class */
|
|
114
|
-
(function() {
|
|
115
|
-
function e(t, r) {
|
|
116
|
-
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
117
|
-
}
|
|
118
|
-
return e.prototype.parse = function() {
|
|
119
|
-
if (this.offset() !== 0)
|
|
120
|
-
throw Error("parser can only be used once");
|
|
121
|
-
return this.parseMessage(0, "", !1);
|
|
122
|
-
}, e.prototype.parseMessage = function(t, r, i) {
|
|
123
|
-
for (var s = []; !this.isEOF(); ) {
|
|
124
|
-
var a = this.char();
|
|
125
|
-
if (a === 123) {
|
|
126
|
-
var o = this.parseArgument(t, i);
|
|
127
|
-
if (o.err)
|
|
128
|
-
return o;
|
|
129
|
-
s.push(o.val);
|
|
130
|
-
} else {
|
|
131
|
-
if (a === 125 && t > 0)
|
|
132
|
-
break;
|
|
133
|
-
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
134
|
-
var h = this.clonePosition();
|
|
135
|
-
this.bump(), s.push({
|
|
136
|
-
type: l.pound,
|
|
137
|
-
location: n(h, this.clonePosition())
|
|
138
|
-
});
|
|
139
|
-
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
140
|
-
if (i)
|
|
141
|
-
break;
|
|
142
|
-
return this.error(x.UNMATCHED_CLOSING_TAG, n(this.clonePosition(), this.clonePosition()));
|
|
143
|
-
} else if (a === 60 && !this.ignoreTag && N(this.peek() || 0)) {
|
|
144
|
-
var o = this.parseTag(t, r);
|
|
145
|
-
if (o.err)
|
|
146
|
-
return o;
|
|
147
|
-
s.push(o.val);
|
|
148
|
-
} else {
|
|
149
|
-
var o = this.parseLiteral(t, r);
|
|
150
|
-
if (o.err)
|
|
151
|
-
return o;
|
|
152
|
-
s.push(o.val);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
return { val: s, err: null };
|
|
157
|
-
}, e.prototype.parseTag = function(t, r) {
|
|
158
|
-
var i = this.clonePosition();
|
|
159
|
-
this.bump();
|
|
160
|
-
var s = this.parseTagName();
|
|
161
|
-
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
162
|
-
return {
|
|
163
|
-
val: {
|
|
164
|
-
type: l.literal,
|
|
165
|
-
value: "<".concat(s, "/>"),
|
|
166
|
-
location: n(i, this.clonePosition())
|
|
167
|
-
},
|
|
168
|
-
err: null
|
|
169
|
-
};
|
|
170
|
-
if (this.bumpIf(">")) {
|
|
171
|
-
var a = this.parseMessage(t + 1, r, !0);
|
|
172
|
-
if (a.err)
|
|
173
|
-
return a;
|
|
174
|
-
var o = a.val, h = this.clonePosition();
|
|
175
|
-
if (this.bumpIf("</")) {
|
|
176
|
-
if (this.isEOF() || !N(this.char()))
|
|
177
|
-
return this.error(x.INVALID_TAG, n(h, this.clonePosition()));
|
|
178
|
-
var p = this.clonePosition(), f = this.parseTagName();
|
|
179
|
-
return s !== f ? this.error(x.UNMATCHED_CLOSING_TAG, n(p, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
180
|
-
val: {
|
|
181
|
-
type: l.tag,
|
|
182
|
-
value: s,
|
|
183
|
-
children: o,
|
|
184
|
-
location: n(i, this.clonePosition())
|
|
185
|
-
},
|
|
186
|
-
err: null
|
|
187
|
-
} : this.error(x.INVALID_TAG, n(h, this.clonePosition())));
|
|
188
|
-
} else
|
|
189
|
-
return this.error(x.UNCLOSED_TAG, n(i, this.clonePosition()));
|
|
190
|
-
} else
|
|
191
|
-
return this.error(x.INVALID_TAG, n(i, this.clonePosition()));
|
|
192
|
-
}, e.prototype.parseTagName = function() {
|
|
193
|
-
var t = this.offset();
|
|
194
|
-
for (this.bump(); !this.isEOF() && oe(this.char()); )
|
|
195
|
-
this.bump();
|
|
196
|
-
return this.message.slice(t, this.offset());
|
|
197
|
-
}, e.prototype.parseLiteral = function(t, r) {
|
|
198
|
-
for (var i = this.clonePosition(), s = ""; ; ) {
|
|
199
|
-
var a = this.tryParseQuote(r);
|
|
200
|
-
if (a) {
|
|
201
|
-
s += a;
|
|
202
|
-
continue;
|
|
203
|
-
}
|
|
204
|
-
var o = this.tryParseUnquoted(t, r);
|
|
205
|
-
if (o) {
|
|
206
|
-
s += o;
|
|
207
|
-
continue;
|
|
208
|
-
}
|
|
209
|
-
var h = this.tryParseLeftAngleBracket();
|
|
210
|
-
if (h) {
|
|
211
|
-
s += h;
|
|
212
|
-
continue;
|
|
213
|
-
}
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
var p = n(i, this.clonePosition());
|
|
217
|
-
return {
|
|
218
|
-
val: { type: l.literal, value: s, location: p },
|
|
219
|
-
err: null
|
|
220
|
-
};
|
|
221
|
-
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
222
|
-
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
223
|
-
!se(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
224
|
-
}, e.prototype.tryParseQuote = function(t) {
|
|
225
|
-
if (this.isEOF() || this.char() !== 39)
|
|
226
|
-
return null;
|
|
227
|
-
switch (this.peek()) {
|
|
228
|
-
case 39:
|
|
229
|
-
return this.bump(), this.bump(), "'";
|
|
230
|
-
// '{', '<', '>', '}'
|
|
231
|
-
case 123:
|
|
232
|
-
case 60:
|
|
233
|
-
case 62:
|
|
234
|
-
case 125:
|
|
235
|
-
break;
|
|
236
|
-
case 35:
|
|
237
|
-
if (t === "plural" || t === "selectordinal")
|
|
238
|
-
break;
|
|
239
|
-
return null;
|
|
240
|
-
default:
|
|
241
|
-
return null;
|
|
242
|
-
}
|
|
243
|
-
this.bump();
|
|
244
|
-
var r = [this.char()];
|
|
245
|
-
for (this.bump(); !this.isEOF(); ) {
|
|
246
|
-
var i = this.char();
|
|
247
|
-
if (i === 39)
|
|
248
|
-
if (this.peek() === 39)
|
|
249
|
-
r.push(39), this.bump();
|
|
250
|
-
else {
|
|
251
|
-
this.bump();
|
|
252
|
-
break;
|
|
253
|
-
}
|
|
254
|
-
else
|
|
255
|
-
r.push(i);
|
|
256
|
-
this.bump();
|
|
257
|
-
}
|
|
258
|
-
return C.apply(void 0, r);
|
|
259
|
-
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
260
|
-
if (this.isEOF())
|
|
261
|
-
return null;
|
|
262
|
-
var i = this.char();
|
|
263
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), C(i));
|
|
264
|
-
}, e.prototype.parseArgument = function(t, r) {
|
|
265
|
-
var i = this.clonePosition();
|
|
266
|
-
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
267
|
-
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, n(i, this.clonePosition()));
|
|
268
|
-
if (this.char() === 125)
|
|
269
|
-
return this.bump(), this.error(x.EMPTY_ARGUMENT, n(i, this.clonePosition()));
|
|
270
|
-
var s = this.parseIdentifierIfPossible().value;
|
|
271
|
-
if (!s)
|
|
272
|
-
return this.error(x.MALFORMED_ARGUMENT, n(i, this.clonePosition()));
|
|
273
|
-
if (this.bumpSpace(), this.isEOF())
|
|
274
|
-
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, n(i, this.clonePosition()));
|
|
275
|
-
switch (this.char()) {
|
|
276
|
-
// Simple argument: `{name}`
|
|
277
|
-
case 125:
|
|
278
|
-
return this.bump(), {
|
|
279
|
-
val: {
|
|
280
|
-
type: l.argument,
|
|
281
|
-
// value does not include the opening and closing braces.
|
|
282
|
-
value: s,
|
|
283
|
-
location: n(i, this.clonePosition())
|
|
284
|
-
},
|
|
285
|
-
err: null
|
|
286
|
-
};
|
|
287
|
-
// Argument with options: `{name, format, ...}`
|
|
288
|
-
case 44:
|
|
289
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, n(i, this.clonePosition())) : this.parseArgumentOptions(t, r, s, i);
|
|
290
|
-
default:
|
|
291
|
-
return this.error(x.MALFORMED_ARGUMENT, n(i, this.clonePosition()));
|
|
292
|
-
}
|
|
293
|
-
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
294
|
-
var t = this.clonePosition(), r = this.offset(), i = y(this.message, r), s = r + i.length;
|
|
295
|
-
this.bumpTo(s);
|
|
296
|
-
var a = this.clonePosition(), o = n(t, a);
|
|
297
|
-
return { value: i, location: o };
|
|
298
|
-
}, e.prototype.parseArgumentOptions = function(t, r, i, s) {
|
|
299
|
-
var a, o = this.clonePosition(), h = this.parseIdentifierIfPossible().value, p = this.clonePosition();
|
|
300
|
-
switch (h) {
|
|
301
|
-
case "":
|
|
302
|
-
return this.error(x.EXPECT_ARGUMENT_TYPE, n(o, p));
|
|
303
|
-
case "number":
|
|
304
|
-
case "date":
|
|
305
|
-
case "time": {
|
|
306
|
-
this.bumpSpace();
|
|
307
|
-
var f = null;
|
|
308
|
-
if (this.bumpIf(",")) {
|
|
309
|
-
this.bumpSpace();
|
|
310
|
-
var b = this.clonePosition(), u = this.parseSimpleArgStyleIfPossible();
|
|
311
|
-
if (u.err)
|
|
312
|
-
return u;
|
|
313
|
-
var E = ie(u.val);
|
|
314
|
-
if (E.length === 0)
|
|
315
|
-
return this.error(x.EXPECT_ARGUMENT_STYLE, n(this.clonePosition(), this.clonePosition()));
|
|
316
|
-
var P = n(b, this.clonePosition());
|
|
317
|
-
f = { style: E, styleLocation: P };
|
|
318
|
-
}
|
|
319
|
-
var v = this.tryParseArgumentClose(s);
|
|
320
|
-
if (v.err)
|
|
321
|
-
return v;
|
|
322
|
-
var m = n(s, this.clonePosition());
|
|
323
|
-
if (f && L(f == null ? void 0 : f.style, "::", 0)) {
|
|
324
|
-
var d = re(f.style.slice(2));
|
|
325
|
-
if (h === "number") {
|
|
326
|
-
var u = this.parseNumberSkeletonFromString(d, f.styleLocation);
|
|
327
|
-
return u.err ? u : {
|
|
328
|
-
val: { type: l.number, value: i, location: m, style: u.val },
|
|
329
|
-
err: null
|
|
330
|
-
};
|
|
331
|
-
} else {
|
|
332
|
-
if (d.length === 0)
|
|
333
|
-
return this.error(x.EXPECT_DATE_TIME_SKELETON, m);
|
|
334
|
-
var _ = d;
|
|
335
|
-
this.locale && (_ = q(d, this.locale));
|
|
336
|
-
var E = {
|
|
337
|
-
type: U.dateTime,
|
|
338
|
-
pattern: _,
|
|
339
|
-
location: f.styleLocation,
|
|
340
|
-
parsedOptions: this.shouldParseSkeletons ? W(_) : {}
|
|
341
|
-
}, X = h === "date" ? l.date : l.time;
|
|
342
|
-
return {
|
|
343
|
-
val: { type: X, value: i, location: m, style: E },
|
|
344
|
-
err: null
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
return {
|
|
349
|
-
val: {
|
|
350
|
-
type: h === "number" ? l.number : h === "date" ? l.date : l.time,
|
|
351
|
-
value: i,
|
|
352
|
-
location: m,
|
|
353
|
-
style: (a = f == null ? void 0 : f.style) !== null && a !== void 0 ? a : null
|
|
354
|
-
},
|
|
355
|
-
err: null
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
case "plural":
|
|
359
|
-
case "selectordinal":
|
|
360
|
-
case "select": {
|
|
361
|
-
var O = this.clonePosition();
|
|
362
|
-
if (this.bumpSpace(), !this.bumpIf(","))
|
|
363
|
-
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, n(O, V({}, O)));
|
|
364
|
-
this.bumpSpace();
|
|
365
|
-
var T = this.parseIdentifierIfPossible(), I = 0;
|
|
366
|
-
if (h !== "select" && T.value === "offset") {
|
|
367
|
-
if (!this.bumpIf(":"))
|
|
368
|
-
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, n(this.clonePosition(), this.clonePosition()));
|
|
369
|
-
this.bumpSpace();
|
|
370
|
-
var u = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
371
|
-
if (u.err)
|
|
372
|
-
return u;
|
|
373
|
-
this.bumpSpace(), T = this.parseIdentifierIfPossible(), I = u.val;
|
|
374
|
-
}
|
|
375
|
-
var S = this.tryParsePluralOrSelectOptions(t, h, r, T);
|
|
376
|
-
if (S.err)
|
|
377
|
-
return S;
|
|
378
|
-
var v = this.tryParseArgumentClose(s);
|
|
379
|
-
if (v.err)
|
|
380
|
-
return v;
|
|
381
|
-
var R = n(s, this.clonePosition());
|
|
382
|
-
return h === "select" ? {
|
|
383
|
-
val: {
|
|
384
|
-
type: l.select,
|
|
385
|
-
value: i,
|
|
386
|
-
options: G(S.val),
|
|
387
|
-
location: R
|
|
388
|
-
},
|
|
389
|
-
err: null
|
|
390
|
-
} : {
|
|
391
|
-
val: {
|
|
392
|
-
type: l.plural,
|
|
393
|
-
value: i,
|
|
394
|
-
options: G(S.val),
|
|
395
|
-
offset: I,
|
|
396
|
-
pluralType: h === "plural" ? "cardinal" : "ordinal",
|
|
397
|
-
location: R
|
|
398
|
-
},
|
|
399
|
-
err: null
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
default:
|
|
403
|
-
return this.error(x.INVALID_ARGUMENT_TYPE, n(o, p));
|
|
404
|
-
}
|
|
405
|
-
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
406
|
-
return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, n(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
407
|
-
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
408
|
-
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
409
|
-
var i = this.char();
|
|
410
|
-
switch (i) {
|
|
411
|
-
case 39: {
|
|
412
|
-
this.bump();
|
|
413
|
-
var s = this.clonePosition();
|
|
414
|
-
if (!this.bumpUntil("'"))
|
|
415
|
-
return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, n(s, this.clonePosition()));
|
|
416
|
-
this.bump();
|
|
417
|
-
break;
|
|
418
|
-
}
|
|
419
|
-
case 123: {
|
|
420
|
-
t += 1, this.bump();
|
|
421
|
-
break;
|
|
422
|
-
}
|
|
423
|
-
case 125: {
|
|
424
|
-
if (t > 0)
|
|
425
|
-
t -= 1;
|
|
426
|
-
else
|
|
427
|
-
return {
|
|
428
|
-
val: this.message.slice(r.offset, this.offset()),
|
|
429
|
-
err: null
|
|
430
|
-
};
|
|
431
|
-
break;
|
|
432
|
-
}
|
|
433
|
-
default:
|
|
434
|
-
this.bump();
|
|
435
|
-
break;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
return {
|
|
439
|
-
val: this.message.slice(r.offset, this.offset()),
|
|
440
|
-
err: null
|
|
441
|
-
};
|
|
442
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
443
|
-
var i = [];
|
|
444
|
-
try {
|
|
445
|
-
i = Y(t);
|
|
446
|
-
} catch {
|
|
447
|
-
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
448
|
-
}
|
|
449
|
-
return {
|
|
450
|
-
val: {
|
|
451
|
-
type: U.number,
|
|
452
|
-
tokens: i,
|
|
453
|
-
location: r,
|
|
454
|
-
parsedOptions: this.shouldParseSkeletons ? B(i) : {}
|
|
455
|
-
},
|
|
456
|
-
err: null
|
|
457
|
-
};
|
|
458
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, s) {
|
|
459
|
-
for (var a, o = !1, h = [], p = /* @__PURE__ */ new Set(), f = s.value, b = s.location; ; ) {
|
|
460
|
-
if (f.length === 0) {
|
|
461
|
-
var u = this.clonePosition();
|
|
462
|
-
if (r !== "select" && this.bumpIf("=")) {
|
|
463
|
-
var E = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
464
|
-
if (E.err)
|
|
465
|
-
return E;
|
|
466
|
-
b = n(u, this.clonePosition()), f = this.message.slice(u.offset, this.offset());
|
|
467
|
-
} else
|
|
468
|
-
break;
|
|
469
|
-
}
|
|
470
|
-
if (p.has(f))
|
|
471
|
-
return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, b);
|
|
472
|
-
f === "other" && (o = !0), this.bumpSpace();
|
|
473
|
-
var P = this.clonePosition();
|
|
474
|
-
if (!this.bumpIf("{"))
|
|
475
|
-
return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, n(this.clonePosition(), this.clonePosition()));
|
|
476
|
-
var v = this.parseMessage(t + 1, r, i);
|
|
477
|
-
if (v.err)
|
|
478
|
-
return v;
|
|
479
|
-
var m = this.tryParseArgumentClose(P);
|
|
480
|
-
if (m.err)
|
|
481
|
-
return m;
|
|
482
|
-
h.push([
|
|
483
|
-
f,
|
|
484
|
-
{
|
|
485
|
-
value: v.val,
|
|
486
|
-
location: n(P, this.clonePosition())
|
|
487
|
-
}
|
|
488
|
-
]), p.add(f), this.bumpSpace(), a = this.parseIdentifierIfPossible(), f = a.value, b = a.location;
|
|
489
|
-
}
|
|
490
|
-
return h.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, n(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(x.MISSING_OTHER_CLAUSE, n(this.clonePosition(), this.clonePosition())) : { val: h, err: null };
|
|
491
|
-
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
492
|
-
var i = 1, s = this.clonePosition();
|
|
493
|
-
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
494
|
-
for (var a = !1, o = 0; !this.isEOF(); ) {
|
|
495
|
-
var h = this.char();
|
|
496
|
-
if (h >= 48 && h <= 57)
|
|
497
|
-
a = !0, o = o * 10 + (h - 48), this.bump();
|
|
498
|
-
else
|
|
499
|
-
break;
|
|
500
|
-
}
|
|
501
|
-
var p = n(s, this.clonePosition());
|
|
502
|
-
return a ? (o *= i, ee(o) ? { val: o, err: null } : this.error(r, p)) : this.error(t, p);
|
|
503
|
-
}, e.prototype.offset = function() {
|
|
504
|
-
return this.position.offset;
|
|
505
|
-
}, e.prototype.isEOF = function() {
|
|
506
|
-
return this.offset() === this.message.length;
|
|
507
|
-
}, e.prototype.clonePosition = function() {
|
|
508
|
-
return {
|
|
509
|
-
offset: this.position.offset,
|
|
510
|
-
line: this.position.line,
|
|
511
|
-
column: this.position.column
|
|
512
|
-
};
|
|
513
|
-
}, e.prototype.char = function() {
|
|
514
|
-
var t = this.position.offset;
|
|
515
|
-
if (t >= this.message.length)
|
|
516
|
-
throw Error("out of bound");
|
|
517
|
-
var r = k(this.message, t);
|
|
518
|
-
if (r === void 0)
|
|
519
|
-
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
520
|
-
return r;
|
|
521
|
-
}, e.prototype.error = function(t, r) {
|
|
522
|
-
return {
|
|
523
|
-
val: null,
|
|
524
|
-
err: {
|
|
525
|
-
kind: t,
|
|
526
|
-
message: this.message,
|
|
527
|
-
location: r
|
|
528
|
-
}
|
|
529
|
-
};
|
|
530
|
-
}, e.prototype.bump = function() {
|
|
531
|
-
if (!this.isEOF()) {
|
|
532
|
-
var t = this.char();
|
|
533
|
-
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
534
|
-
}
|
|
535
|
-
}, e.prototype.bumpIf = function(t) {
|
|
536
|
-
if (L(this.message, t, this.offset())) {
|
|
537
|
-
for (var r = 0; r < t.length; r++)
|
|
538
|
-
this.bump();
|
|
539
|
-
return !0;
|
|
540
|
-
}
|
|
541
|
-
return !1;
|
|
542
|
-
}, e.prototype.bumpUntil = function(t) {
|
|
543
|
-
var r = this.offset(), i = this.message.indexOf(t, r);
|
|
544
|
-
return i >= 0 ? (this.bumpTo(i), !0) : (this.bumpTo(this.message.length), !1);
|
|
545
|
-
}, e.prototype.bumpTo = function(t) {
|
|
546
|
-
if (this.offset() > t)
|
|
547
|
-
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
548
|
-
for (t = Math.min(t, this.message.length); ; ) {
|
|
549
|
-
var r = this.offset();
|
|
550
|
-
if (r === t)
|
|
551
|
-
break;
|
|
552
|
-
if (r > t)
|
|
553
|
-
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
554
|
-
if (this.bump(), this.isEOF())
|
|
555
|
-
break;
|
|
556
|
-
}
|
|
557
|
-
}, e.prototype.bumpSpace = function() {
|
|
558
|
-
for (; !this.isEOF() && D(this.char()); )
|
|
559
|
-
this.bump();
|
|
560
|
-
}, e.prototype.peek = function() {
|
|
561
|
-
if (this.isEOF())
|
|
562
|
-
return null;
|
|
563
|
-
var t = this.char(), r = this.offset(), i = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
564
|
-
return i ?? null;
|
|
565
|
-
}, e;
|
|
566
|
-
})()
|
|
567
|
-
);
|
|
568
|
-
function N(e) {
|
|
569
|
-
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
570
|
-
}
|
|
571
|
-
function se(e) {
|
|
572
|
-
return N(e) || e === 47;
|
|
573
|
-
}
|
|
574
|
-
function oe(e) {
|
|
575
|
-
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
576
|
-
}
|
|
577
|
-
function D(e) {
|
|
578
|
-
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
579
|
-
}
|
|
580
|
-
function ae(e) {
|
|
581
|
-
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
582
|
-
}
|
|
583
|
-
export {
|
|
584
|
-
ve as Parser
|
|
585
|
-
};
|
|
586
|
-
//# sourceMappingURL=parser.js.map
|