@dckj-npm/dc-material 0.1.328 → 0.1.331
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/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +2 -2
- package/build/index.css +0 -2
- package/build/index.html +0 -1
- package/build/index.js +0 -53
- package/es/assets/icon/grid-nav/right.png +0 -0
- package/es/assets/icon/integral-task/icon1.png +0 -0
- package/es/assets/icon/navigation/index-selected.png +0 -0
- package/es/assets/icon/navigation/index.png +0 -0
- package/es/assets/icon/navigation/message-selected.png +0 -0
- package/es/assets/icon/navigation/message.png +0 -0
- package/es/assets/icon/navigation/mine-selected.png +0 -0
- package/es/assets/icon/navigation/mine.png +0 -0
- package/es/assets/icon/navigation/present-selected.png +0 -0
- package/es/assets/icon/navigation/present.png +0 -0
- package/es/assets/icon/notice-bar/notice.png +0 -0
- package/es/assets/icon/position/arror.png +0 -0
- package/es/assets/icon/position/img.png +0 -0
- package/es/assets/icon/position/location.png +0 -0
- package/es/assets/icon/search/delete.png +0 -0
- package/es/assets/icon/search/search.png +0 -0
- package/es/assets/icon/teletext-list/arr.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -15
- package/es/components/bottom-navigation/bottom-navigation.js +0 -53
- package/es/components/bottom-navigation/index.d.ts +0 -3
- package/es/components/bottom-navigation/index.js +0 -2
- package/es/components/bottom-navigation/index.scss +0 -24
- package/es/components/button/button.d.ts +0 -14
- package/es/components/button/button.js +0 -14
- package/es/components/button/index.d.ts +0 -6
- package/es/components/button/index.js +0 -5
- package/es/components/button/index.scss +0 -16
- package/es/components/carousel/carousel.d.ts +0 -14
- package/es/components/carousel/carousel.js +0 -75
- package/es/components/carousel/carousel.scss +0 -32
- package/es/components/colorful-button/colorful-button.d.ts +0 -12
- package/es/components/colorful-button/colorful-button.js +0 -25
- package/es/components/colorful-button/index.d.ts +0 -3
- package/es/components/colorful-button/index.js +0 -2
- package/es/components/colorful-button/index.scss +0 -5
- package/es/components/colorful-input/colorful-input.d.ts +0 -8
- package/es/components/colorful-input/colorful-input.js +0 -19
- package/es/components/colorful-input/index.d.ts +0 -3
- package/es/components/colorful-input/index.js +0 -2
- package/es/components/colorful-input/index.scss +0 -5
- package/es/components/form/form-item.d.ts +0 -42
- package/es/components/form/form-item.js +0 -79
- package/es/components/form/form-item.scss +0 -20
- package/es/components/form/form.d.ts +0 -57
- package/es/components/form/form.js +0 -46
- package/es/components/form/index.d.ts +0 -6
- package/es/components/form/index.js +0 -6
- package/es/components/form/index.scss +0 -22
- package/es/components/form/next-wrapper.d.ts +0 -54
- package/es/components/form/next-wrapper.js +0 -43
- package/es/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/es/components/goods-card-list/goods-card-list-common.js +0 -60
- package/es/components/goods-card-list/goods-card-list-common.scss +0 -118
- package/es/components/goods-card-list/goods-card-list.d.ts +0 -5
- package/es/components/goods-card-list/goods-card-list.js +0 -156
- package/es/components/goods-card-list/goods-card-list.scss +0 -112
- package/es/components/goods-card-list/index.d.ts +0 -4
- package/es/components/goods-card-list/index.js +0 -3
- package/es/components/goods-card-list/types.d.ts +0 -45
- package/es/components/goods-card-list/types.js +0 -1
- package/es/components/grid-nav/grid-nav.d.ts +0 -13
- package/es/components/grid-nav/grid-nav.js +0 -102
- package/es/components/grid-nav/index.d.ts +0 -3
- package/es/components/grid-nav/index.js +0 -2
- package/es/components/grid-nav/index.scss +0 -50
- package/es/components/integral-task/index.d.ts +0 -6
- package/es/components/integral-task/index.js +0 -5
- package/es/components/integral-task/index.scss +0 -35
- package/es/components/integral-task/integral-task.d.ts +0 -40
- package/es/components/integral-task/integral-task.js +0 -54
- package/es/components/menu-list/index.d.ts +0 -6
- package/es/components/menu-list/index.js +0 -6
- package/es/components/menu-list/index.scss +0 -16
- package/es/components/menu-list/menu-list-item.d.ts +0 -5
- package/es/components/menu-list/menu-list-item.js +0 -32
- package/es/components/menu-list/menu-list-item.scss +0 -49
- package/es/components/menu-list/menu-list.d.ts +0 -5
- package/es/components/menu-list/menu-list.js +0 -25
- package/es/components/menu-list/types.d.ts +0 -23
- package/es/components/menu-list/types.js +0 -1
- package/es/components/message-list/index.d.ts +0 -6
- package/es/components/message-list/index.js +0 -6
- package/es/components/message-list/index.scss +0 -22
- package/es/components/message-list/message-list-item.d.ts +0 -33
- package/es/components/message-list/message-list-item.js +0 -41
- package/es/components/message-list/message-list-item.scss +0 -60
- package/es/components/message-list/message-list.d.ts +0 -28
- package/es/components/message-list/message-list.js +0 -53
- package/es/components/notice-bar/index.d.ts +0 -3
- package/es/components/notice-bar/index.js +0 -2
- package/es/components/notice-bar/index.scss +0 -84
- package/es/components/notice-bar/notice-bar-item.d.ts +0 -18
- package/es/components/notice-bar/notice-bar-item.js +0 -30
- package/es/components/notice-bar/notice-bar-item.scss +0 -26
- package/es/components/notice-bar/notice-bar.d.ts +0 -46
- package/es/components/notice-bar/notice-bar.js +0 -57
- package/es/components/position/entity.d.ts +0 -5
- package/es/components/position/entity.js +0 -1
- package/es/components/position/index.d.ts +0 -3
- package/es/components/position/index.js +0 -2
- package/es/components/position/index.scss +0 -27
- package/es/components/position/position-left.d.ts +0 -9
- package/es/components/position/position-left.js +0 -28
- package/es/components/position/position-list.d.ts +0 -11
- package/es/components/position/position-list.js +0 -29
- package/es/components/position/position.d.ts +0 -8
- package/es/components/position/position.js +0 -48
- package/es/components/radio-group/index.d.ts +0 -8
- package/es/components/radio-group/index.js +0 -7
- package/es/components/radio-group/index.scss +0 -40
- package/es/components/radio-group/radio-group-item.d.ts +0 -48
- package/es/components/radio-group/radio-group-item.js +0 -74
- package/es/components/radio-group/radio-group.d.ts +0 -52
- package/es/components/radio-group/radio-group.js +0 -80
- package/es/components/rich-text/index.d.ts +0 -6
- package/es/components/rich-text/index.js +0 -6
- package/es/components/rich-text/index.scss +0 -19
- package/es/components/rich-text/rich-text.d.ts +0 -14
- package/es/components/rich-text/rich-text.js +0 -37
- package/es/components/search-bar/index.d.ts +0 -3
- package/es/components/search-bar/index.js +0 -2
- package/es/components/search-bar/index.scss +0 -39
- package/es/components/search-bar/search-bar.d.ts +0 -10
- package/es/components/search-bar/search-bar.js +0 -73
- package/es/components/stream-list/index.d.ts +0 -6
- package/es/components/stream-list/index.js +0 -6
- package/es/components/stream-list/index.scss +0 -26
- package/es/components/stream-list/stream-list.d.ts +0 -54
- package/es/components/stream-list/stream-list.js +0 -159
- package/es/components/swiper/index.d.ts +0 -3
- package/es/components/swiper/index.js +0 -2
- package/es/components/swiper/index.scss +0 -33
- package/es/components/swiper/swiper.d.ts +0 -26
- package/es/components/swiper/swiper.js +0 -77
- package/es/components/tab/index.d.ts +0 -6
- package/es/components/tab/index.js +0 -5
- package/es/components/tab/index.scss +0 -39
- package/es/components/tab/tab.d.ts +0 -27
- package/es/components/tab/tab.js +0 -50
- package/es/components/tab-container/index.d.ts +0 -3
- package/es/components/tab-container/index.js +0 -2
- package/es/components/tab-container/index.scss +0 -48
- package/es/components/tab-container/tab-container.d.ts +0 -10
- package/es/components/tab-container/tab-container.js +0 -26
- package/es/components/tab-container-item/index.d.ts +0 -3
- package/es/components/tab-container-item/index.js +0 -2
- package/es/components/tab-container-item/index.scss +0 -0
- package/es/components/tab-container-item/tab-container-item.d.ts +0 -11
- package/es/components/tab-container-item/tab-container-item.js +0 -19
- package/es/components/tag/index.d.ts +0 -6
- package/es/components/tag/index.js +0 -5
- package/es/components/tag/index.scss +0 -24
- package/es/components/tag/tag.d.ts +0 -14
- package/es/components/tag/tag.js +0 -14
- package/es/components/teletext-list/index.d.ts +0 -6
- package/es/components/teletext-list/index.js +0 -6
- package/es/components/teletext-list/index.scss +0 -40
- package/es/components/teletext-list/teletext-list-item.d.ts +0 -33
- package/es/components/teletext-list/teletext-list-item.js +0 -61
- package/es/components/teletext-list/teletext-list-item.scss +0 -57
- package/es/components/teletext-list/teletext-list.d.ts +0 -61
- package/es/components/teletext-list/teletext-list.js +0 -48
- package/es/components/title/index.d.ts +0 -8
- package/es/components/title/index.js +0 -7
- package/es/components/title/title-1.d.ts +0 -10
- package/es/components/title/title-1.js +0 -16
- package/es/components/title/title-1.scss +0 -25
- package/es/components/title/title-2.d.ts +0 -18
- package/es/components/title/title-2.js +0 -31
- package/es/components/title/title-2.scss +0 -22
- package/es/entity/dynamic-column-data-type.d.ts +0 -47
- package/es/entity/dynamic-column-data-type.js +0 -165
- package/es/index.d.ts +0 -46
- package/es/index.js +0 -86
- package/es/index.scss +0 -6
- package/es/style.js +0 -4
- package/es/utils/children-node-handle.d.ts +0 -9
- package/es/utils/children-node-handle.js +0 -25
- package/es/utils/component-wrapper.d.ts +0 -9
- package/es/utils/component-wrapper.js +0 -38
- package/es/utils/debounce.d.ts +0 -1
- package/es/utils/debounce.js +0 -14
- package/es/utils/textUtil.d.ts +0 -10
- package/es/utils/textUtil.js +0 -51
- package/es/utils/time-util.d.ts +0 -5
- package/es/utils/time-util.js +0 -18
- package/es/variables.d.ts +0 -2
- package/es/variables.js +0 -2
- package/es/variables.scss +0 -3
- package/lib/assets/icon/grid-nav/right.png +0 -0
- package/lib/assets/icon/integral-task/icon1.png +0 -0
- package/lib/assets/icon/navigation/index-selected.png +0 -0
- package/lib/assets/icon/navigation/index.png +0 -0
- package/lib/assets/icon/navigation/message-selected.png +0 -0
- package/lib/assets/icon/navigation/message.png +0 -0
- package/lib/assets/icon/navigation/mine-selected.png +0 -0
- package/lib/assets/icon/navigation/mine.png +0 -0
- package/lib/assets/icon/navigation/present-selected.png +0 -0
- package/lib/assets/icon/navigation/present.png +0 -0
- package/lib/assets/icon/notice-bar/notice.png +0 -0
- package/lib/assets/icon/position/arror.png +0 -0
- package/lib/assets/icon/position/img.png +0 -0
- package/lib/assets/icon/position/location.png +0 -0
- package/lib/assets/icon/search/delete.png +0 -0
- package/lib/assets/icon/search/search.png +0 -0
- package/lib/assets/icon/teletext-list/arr.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -15
- package/lib/components/bottom-navigation/bottom-navigation.js +0 -60
- package/lib/components/bottom-navigation/index.d.ts +0 -3
- package/lib/components/bottom-navigation/index.js +0 -7
- package/lib/components/bottom-navigation/index.scss +0 -24
- package/lib/components/button/button.d.ts +0 -14
- package/lib/components/button/button.js +0 -21
- package/lib/components/button/index.d.ts +0 -6
- package/lib/components/button/index.js +0 -10
- package/lib/components/button/index.scss +0 -16
- package/lib/components/carousel/carousel.d.ts +0 -14
- package/lib/components/carousel/carousel.js +0 -81
- package/lib/components/carousel/carousel.scss +0 -32
- package/lib/components/colorful-button/colorful-button.d.ts +0 -12
- package/lib/components/colorful-button/colorful-button.js +0 -32
- package/lib/components/colorful-button/index.d.ts +0 -3
- package/lib/components/colorful-button/index.js +0 -7
- package/lib/components/colorful-button/index.scss +0 -5
- package/lib/components/colorful-input/colorful-input.d.ts +0 -8
- package/lib/components/colorful-input/colorful-input.js +0 -26
- package/lib/components/colorful-input/index.d.ts +0 -3
- package/lib/components/colorful-input/index.js +0 -7
- package/lib/components/colorful-input/index.scss +0 -5
- package/lib/components/form/form-item.d.ts +0 -42
- package/lib/components/form/form-item.js +0 -86
- package/lib/components/form/form-item.scss +0 -20
- package/lib/components/form/form.d.ts +0 -57
- package/lib/components/form/form.js +0 -49
- package/lib/components/form/index.d.ts +0 -6
- package/lib/components/form/index.js +0 -6
- package/lib/components/form/index.scss +0 -22
- package/lib/components/form/next-wrapper.d.ts +0 -54
- package/lib/components/form/next-wrapper.js +0 -49
- package/lib/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/lib/components/goods-card-list/goods-card-list-common.js +0 -65
- package/lib/components/goods-card-list/goods-card-list-common.scss +0 -118
- package/lib/components/goods-card-list/goods-card-list.d.ts +0 -5
- package/lib/components/goods-card-list/goods-card-list.js +0 -163
- package/lib/components/goods-card-list/goods-card-list.scss +0 -112
- package/lib/components/goods-card-list/index.d.ts +0 -4
- package/lib/components/goods-card-list/index.js +0 -8
- package/lib/components/goods-card-list/types.d.ts +0 -45
- package/lib/components/goods-card-list/types.js +0 -3
- package/lib/components/grid-nav/grid-nav.d.ts +0 -13
- package/lib/components/grid-nav/grid-nav.js +0 -109
- package/lib/components/grid-nav/index.d.ts +0 -3
- package/lib/components/grid-nav/index.js +0 -7
- package/lib/components/grid-nav/index.scss +0 -50
- package/lib/components/integral-task/index.d.ts +0 -6
- package/lib/components/integral-task/index.js +0 -10
- package/lib/components/integral-task/index.scss +0 -35
- package/lib/components/integral-task/integral-task.d.ts +0 -40
- package/lib/components/integral-task/integral-task.js +0 -61
- package/lib/components/menu-list/index.d.ts +0 -6
- package/lib/components/menu-list/index.js +0 -10
- package/lib/components/menu-list/index.scss +0 -16
- package/lib/components/menu-list/menu-list-item.d.ts +0 -5
- package/lib/components/menu-list/menu-list-item.js +0 -37
- package/lib/components/menu-list/menu-list-item.scss +0 -49
- package/lib/components/menu-list/menu-list.d.ts +0 -5
- package/lib/components/menu-list/menu-list.js +0 -30
- package/lib/components/menu-list/types.d.ts +0 -23
- package/lib/components/menu-list/types.js +0 -3
- package/lib/components/message-list/index.d.ts +0 -6
- package/lib/components/message-list/index.js +0 -10
- package/lib/components/message-list/index.scss +0 -22
- package/lib/components/message-list/message-list-item.d.ts +0 -33
- package/lib/components/message-list/message-list-item.js +0 -45
- package/lib/components/message-list/message-list-item.scss +0 -60
- package/lib/components/message-list/message-list.d.ts +0 -28
- package/lib/components/message-list/message-list.js +0 -60
- package/lib/components/notice-bar/index.d.ts +0 -3
- package/lib/components/notice-bar/index.js +0 -7
- package/lib/components/notice-bar/index.scss +0 -84
- package/lib/components/notice-bar/notice-bar-item.d.ts +0 -18
- package/lib/components/notice-bar/notice-bar-item.js +0 -35
- package/lib/components/notice-bar/notice-bar-item.scss +0 -26
- package/lib/components/notice-bar/notice-bar.d.ts +0 -46
- package/lib/components/notice-bar/notice-bar.js +0 -62
- package/lib/components/position/entity.d.ts +0 -5
- package/lib/components/position/entity.js +0 -3
- package/lib/components/position/index.d.ts +0 -3
- package/lib/components/position/index.js +0 -7
- package/lib/components/position/index.scss +0 -27
- package/lib/components/position/position-left.d.ts +0 -9
- package/lib/components/position/position-left.js +0 -35
- package/lib/components/position/position-list.d.ts +0 -11
- package/lib/components/position/position-list.js +0 -35
- package/lib/components/position/position.d.ts +0 -8
- package/lib/components/position/position.js +0 -55
- package/lib/components/radio-group/index.d.ts +0 -8
- package/lib/components/radio-group/index.js +0 -8
- package/lib/components/radio-group/index.scss +0 -40
- package/lib/components/radio-group/radio-group-item.d.ts +0 -48
- package/lib/components/radio-group/radio-group-item.js +0 -79
- package/lib/components/radio-group/radio-group.d.ts +0 -52
- package/lib/components/radio-group/radio-group.js +0 -87
- package/lib/components/rich-text/index.d.ts +0 -6
- package/lib/components/rich-text/index.js +0 -6
- package/lib/components/rich-text/index.scss +0 -19
- package/lib/components/rich-text/rich-text.d.ts +0 -14
- package/lib/components/rich-text/rich-text.js +0 -42
- package/lib/components/search-bar/index.d.ts +0 -3
- package/lib/components/search-bar/index.js +0 -7
- package/lib/components/search-bar/index.scss +0 -39
- package/lib/components/search-bar/search-bar.d.ts +0 -10
- package/lib/components/search-bar/search-bar.js +0 -80
- package/lib/components/stream-list/index.d.ts +0 -6
- package/lib/components/stream-list/index.js +0 -6
- package/lib/components/stream-list/index.scss +0 -26
- package/lib/components/stream-list/stream-list.d.ts +0 -54
- package/lib/components/stream-list/stream-list.js +0 -166
- package/lib/components/swiper/index.d.ts +0 -3
- package/lib/components/swiper/index.js +0 -7
- package/lib/components/swiper/index.scss +0 -33
- package/lib/components/swiper/swiper.d.ts +0 -26
- package/lib/components/swiper/swiper.js +0 -84
- package/lib/components/tab/index.d.ts +0 -6
- package/lib/components/tab/index.js +0 -10
- package/lib/components/tab/index.scss +0 -39
- package/lib/components/tab/tab.d.ts +0 -27
- package/lib/components/tab/tab.js +0 -57
- package/lib/components/tab-container/index.d.ts +0 -3
- package/lib/components/tab-container/index.js +0 -6
- package/lib/components/tab-container/index.scss +0 -48
- package/lib/components/tab-container/tab-container.d.ts +0 -10
- package/lib/components/tab-container/tab-container.js +0 -31
- package/lib/components/tab-container-item/index.d.ts +0 -3
- package/lib/components/tab-container-item/index.js +0 -6
- package/lib/components/tab-container-item/index.scss +0 -0
- package/lib/components/tab-container-item/tab-container-item.d.ts +0 -11
- package/lib/components/tab-container-item/tab-container-item.js +0 -24
- package/lib/components/tag/index.d.ts +0 -6
- package/lib/components/tag/index.js +0 -10
- package/lib/components/tag/index.scss +0 -24
- package/lib/components/tag/tag.d.ts +0 -14
- package/lib/components/tag/tag.js +0 -21
- package/lib/components/teletext-list/index.d.ts +0 -6
- package/lib/components/teletext-list/index.js +0 -6
- package/lib/components/teletext-list/index.scss +0 -40
- package/lib/components/teletext-list/teletext-list-item.d.ts +0 -33
- package/lib/components/teletext-list/teletext-list-item.js +0 -65
- package/lib/components/teletext-list/teletext-list-item.scss +0 -57
- package/lib/components/teletext-list/teletext-list.d.ts +0 -61
- package/lib/components/teletext-list/teletext-list.js +0 -52
- package/lib/components/title/index.d.ts +0 -8
- package/lib/components/title/index.js +0 -8
- package/lib/components/title/title-1.d.ts +0 -10
- package/lib/components/title/title-1.js +0 -21
- package/lib/components/title/title-1.scss +0 -25
- package/lib/components/title/title-2.d.ts +0 -18
- package/lib/components/title/title-2.js +0 -36
- package/lib/components/title/title-2.scss +0 -22
- package/lib/entity/dynamic-column-data-type.d.ts +0 -47
- package/lib/entity/dynamic-column-data-type.js +0 -169
- package/lib/index.d.ts +0 -46
- package/lib/index.js +0 -95
- package/lib/index.scss +0 -6
- package/lib/style.js +0 -4
- package/lib/utils/children-node-handle.d.ts +0 -9
- package/lib/utils/children-node-handle.js +0 -30
- package/lib/utils/component-wrapper.d.ts +0 -9
- package/lib/utils/component-wrapper.js +0 -45
- package/lib/utils/debounce.d.ts +0 -1
- package/lib/utils/debounce.js +0 -18
- package/lib/utils/textUtil.d.ts +0 -10
- package/lib/utils/textUtil.js +0 -55
- package/lib/utils/time-util.d.ts +0 -5
- package/lib/utils/time-util.js +0 -22
- package/lib/variables.d.ts +0 -2
- package/lib/variables.js +0 -5
- package/lib/variables.scss +0 -3
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.DYNAMIC_COLUMN_DATA_TYPE_VIDEO = exports.DYNAMIC_COLUMN_DATA_TYPE_USER = exports.DYNAMIC_COLUMN_DATA_TYPE_TEXTAREA = exports.DYNAMIC_COLUMN_DATA_TYPE_TEXT = exports.DYNAMIC_COLUMN_DATA_TYPE_SWITCH = exports.DYNAMIC_COLUMN_DATA_TYPE_SIGNATURE = exports.DYNAMIC_COLUMN_DATA_TYPE_SELECT = exports.DYNAMIC_COLUMN_DATA_TYPE_RADIO = exports.DYNAMIC_COLUMN_DATA_TYPE_QUOTE = exports.DYNAMIC_COLUMN_DATA_TYPE_POSITIONING = exports.DYNAMIC_COLUMN_DATA_TYPE_PICTURE = exports.DYNAMIC_COLUMN_DATA_TYPE_ORGAN = exports.DYNAMIC_COLUMN_DATA_TYPE_NUMBER = exports.DYNAMIC_COLUMN_DATA_TYPE_MONEY = exports.DYNAMIC_COLUMN_DATA_TYPE_MOBILE = exports.DYNAMIC_COLUMN_DATA_TYPE_LINKAGE = exports.DYNAMIC_COLUMN_DATA_TYPE_LABEL = exports.DYNAMIC_COLUMN_DATA_TYPE_INT = exports.DYNAMIC_COLUMN_DATA_TYPE_ID_CARD = exports.DYNAMIC_COLUMN_DATA_TYPE_GRADE = exports.DYNAMIC_COLUMN_DATA_TYPE_EMAIL = exports.DYNAMIC_COLUMN_DATA_TYPE_EDITOR = exports.DYNAMIC_COLUMN_DATA_TYPE_DOC = exports.DYNAMIC_COLUMN_DATA_TYPE_DEPT = exports.DYNAMIC_COLUMN_DATA_TYPE_DATETIME = exports.DYNAMIC_COLUMN_DATA_TYPE_DATE = exports.DYNAMIC_COLUMN_DATA_TYPE_CHILDREN_TABLE = exports.DYNAMIC_COLUMN_DATA_TYPE_CHECKBOX = exports.DYNAMIC_COLUMN_DATA_TYPE_CASCADE = exports.DYNAMIC_COLUMN_DATA_TYPE_BUTTON = exports.DYNAMIC_COLUMN_DATA_TYPE_AUTO = exports.DYNAMIC_COLUMN_DATA_TYPE_AUDIO = exports.DYNAMIC_COLUMN_DATA_TYPE_ATTACHMENTS = void 0;
|
|
5
|
-
var DYNAMIC_COLUMN_DATA_TYPE_TEXT = exports.DYNAMIC_COLUMN_DATA_TYPE_TEXT = {
|
|
6
|
-
code: 1,
|
|
7
|
-
name: '单行文本',
|
|
8
|
-
dbTypeName: 'varchar'
|
|
9
|
-
};
|
|
10
|
-
var DYNAMIC_COLUMN_DATA_TYPE_TEXTAREA = exports.DYNAMIC_COLUMN_DATA_TYPE_TEXTAREA = {
|
|
11
|
-
code: 2,
|
|
12
|
-
name: '多行文本',
|
|
13
|
-
dbTypeName: 'text'
|
|
14
|
-
};
|
|
15
|
-
var DYNAMIC_COLUMN_DATA_TYPE_INT = exports.DYNAMIC_COLUMN_DATA_TYPE_INT = {
|
|
16
|
-
code: 3,
|
|
17
|
-
name: '整数',
|
|
18
|
-
dbTypeName: 'int'
|
|
19
|
-
};
|
|
20
|
-
var DYNAMIC_COLUMN_DATA_TYPE_MONEY = exports.DYNAMIC_COLUMN_DATA_TYPE_MONEY = {
|
|
21
|
-
code: 15,
|
|
22
|
-
name: '金额',
|
|
23
|
-
dbTypeName: 'numeric'
|
|
24
|
-
};
|
|
25
|
-
var DYNAMIC_COLUMN_DATA_TYPE_NUMBER = exports.DYNAMIC_COLUMN_DATA_TYPE_NUMBER = {
|
|
26
|
-
code: 35,
|
|
27
|
-
name: '数值',
|
|
28
|
-
dbTypeName: 'numeric'
|
|
29
|
-
};
|
|
30
|
-
var DYNAMIC_COLUMN_DATA_TYPE_ID_CARD = exports.DYNAMIC_COLUMN_DATA_TYPE_ID_CARD = {
|
|
31
|
-
code: 11,
|
|
32
|
-
name: '身份证',
|
|
33
|
-
dbTypeName: 'varchar'
|
|
34
|
-
};
|
|
35
|
-
var DYNAMIC_COLUMN_DATA_TYPE_MOBILE = exports.DYNAMIC_COLUMN_DATA_TYPE_MOBILE = {
|
|
36
|
-
code: 12,
|
|
37
|
-
name: '手机',
|
|
38
|
-
dbTypeName: 'varchar'
|
|
39
|
-
};
|
|
40
|
-
var DYNAMIC_COLUMN_DATA_TYPE_EMAIL = exports.DYNAMIC_COLUMN_DATA_TYPE_EMAIL = {
|
|
41
|
-
code: 36,
|
|
42
|
-
name: '邮箱',
|
|
43
|
-
dbTypeName: 'varchar'
|
|
44
|
-
};
|
|
45
|
-
var DYNAMIC_COLUMN_DATA_TYPE_DATE = exports.DYNAMIC_COLUMN_DATA_TYPE_DATE = {
|
|
46
|
-
code: 6,
|
|
47
|
-
name: '日期',
|
|
48
|
-
dbTypeName: 'date'
|
|
49
|
-
};
|
|
50
|
-
var DYNAMIC_COLUMN_DATA_TYPE_DATETIME = exports.DYNAMIC_COLUMN_DATA_TYPE_DATETIME = {
|
|
51
|
-
code: 7,
|
|
52
|
-
name: '日期时间',
|
|
53
|
-
dbTypeName: 'datetime'
|
|
54
|
-
};
|
|
55
|
-
var DYNAMIC_COLUMN_DATA_TYPE_LABEL = exports.DYNAMIC_COLUMN_DATA_TYPE_LABEL = {
|
|
56
|
-
code: 10,
|
|
57
|
-
name: '文本说明',
|
|
58
|
-
dbTypeName: 'varchar'
|
|
59
|
-
};
|
|
60
|
-
var DYNAMIC_COLUMN_DATA_TYPE_SWITCH = exports.DYNAMIC_COLUMN_DATA_TYPE_SWITCH = {
|
|
61
|
-
code: 29,
|
|
62
|
-
name: '开关',
|
|
63
|
-
dbTypeName: 'tinyint'
|
|
64
|
-
};
|
|
65
|
-
var DYNAMIC_COLUMN_DATA_TYPE_RADIO = exports.DYNAMIC_COLUMN_DATA_TYPE_RADIO = {
|
|
66
|
-
code: 4,
|
|
67
|
-
name: '单选框',
|
|
68
|
-
dbTypeName: 'varchar'
|
|
69
|
-
};
|
|
70
|
-
var DYNAMIC_COLUMN_DATA_TYPE_CHECKBOX = exports.DYNAMIC_COLUMN_DATA_TYPE_CHECKBOX = {
|
|
71
|
-
code: 5,
|
|
72
|
-
name: '复选框',
|
|
73
|
-
dbTypeName: 'varchar'
|
|
74
|
-
};
|
|
75
|
-
var DYNAMIC_COLUMN_DATA_TYPE_USER = exports.DYNAMIC_COLUMN_DATA_TYPE_USER = {
|
|
76
|
-
code: 18,
|
|
77
|
-
name: '联系人',
|
|
78
|
-
dbTypeName: 'varchar'
|
|
79
|
-
};
|
|
80
|
-
var DYNAMIC_COLUMN_DATA_TYPE_DEPT = exports.DYNAMIC_COLUMN_DATA_TYPE_DEPT = {
|
|
81
|
-
code: 17,
|
|
82
|
-
name: '组织架构部门',
|
|
83
|
-
dbTypeName: 'varchar'
|
|
84
|
-
};
|
|
85
|
-
var DYNAMIC_COLUMN_DATA_TYPE_ORGAN = exports.DYNAMIC_COLUMN_DATA_TYPE_ORGAN = {
|
|
86
|
-
code: 25,
|
|
87
|
-
name: '组织架构单位',
|
|
88
|
-
dbTypeName: 'varchar'
|
|
89
|
-
};
|
|
90
|
-
var DYNAMIC_COLUMN_DATA_TYPE_SELECT = exports.DYNAMIC_COLUMN_DATA_TYPE_SELECT = {
|
|
91
|
-
code: 19,
|
|
92
|
-
name: '下拉框',
|
|
93
|
-
dbTypeName: 'varchar'
|
|
94
|
-
};
|
|
95
|
-
var DYNAMIC_COLUMN_DATA_TYPE_CASCADE = exports.DYNAMIC_COLUMN_DATA_TYPE_CASCADE = {
|
|
96
|
-
code: 13,
|
|
97
|
-
name: '级联/分类',
|
|
98
|
-
dbTypeName: 'varchar'
|
|
99
|
-
};
|
|
100
|
-
var DYNAMIC_COLUMN_DATA_TYPE_PICTURE = exports.DYNAMIC_COLUMN_DATA_TYPE_PICTURE = {
|
|
101
|
-
code: 14,
|
|
102
|
-
name: '图片',
|
|
103
|
-
dbTypeName: 'varchar'
|
|
104
|
-
};
|
|
105
|
-
var DYNAMIC_COLUMN_DATA_TYPE_VIDEO = exports.DYNAMIC_COLUMN_DATA_TYPE_VIDEO = {
|
|
106
|
-
code: 30,
|
|
107
|
-
name: '视频',
|
|
108
|
-
dbTypeName: 'varchar'
|
|
109
|
-
};
|
|
110
|
-
var DYNAMIC_COLUMN_DATA_TYPE_AUDIO = exports.DYNAMIC_COLUMN_DATA_TYPE_AUDIO = {
|
|
111
|
-
code: 37,
|
|
112
|
-
name: '音频',
|
|
113
|
-
dbTypeName: 'varchar'
|
|
114
|
-
};
|
|
115
|
-
var DYNAMIC_COLUMN_DATA_TYPE_DOC = exports.DYNAMIC_COLUMN_DATA_TYPE_DOC = {
|
|
116
|
-
code: 34,
|
|
117
|
-
name: '文档',
|
|
118
|
-
dbTypeName: 'varchar'
|
|
119
|
-
};
|
|
120
|
-
var DYNAMIC_COLUMN_DATA_TYPE_ATTACHMENTS = exports.DYNAMIC_COLUMN_DATA_TYPE_ATTACHMENTS = {
|
|
121
|
-
code: 16,
|
|
122
|
-
name: '附件',
|
|
123
|
-
dbTypeName: 'varchar'
|
|
124
|
-
};
|
|
125
|
-
var DYNAMIC_COLUMN_DATA_TYPE_AUTO = exports.DYNAMIC_COLUMN_DATA_TYPE_AUTO = {
|
|
126
|
-
code: 26,
|
|
127
|
-
name: '自动生成',
|
|
128
|
-
dbTypeName: 'varchar'
|
|
129
|
-
};
|
|
130
|
-
var DYNAMIC_COLUMN_DATA_TYPE_EDITOR = exports.DYNAMIC_COLUMN_DATA_TYPE_EDITOR = {
|
|
131
|
-
code: 31,
|
|
132
|
-
name: '富文本',
|
|
133
|
-
dbTypeName: 'longtext'
|
|
134
|
-
};
|
|
135
|
-
var DYNAMIC_COLUMN_DATA_TYPE_POSITIONING = exports.DYNAMIC_COLUMN_DATA_TYPE_POSITIONING = {
|
|
136
|
-
code: 39,
|
|
137
|
-
name: '定位',
|
|
138
|
-
dbTypeName: 'varchar'
|
|
139
|
-
};
|
|
140
|
-
var DYNAMIC_COLUMN_DATA_TYPE_SIGNATURE = exports.DYNAMIC_COLUMN_DATA_TYPE_SIGNATURE = {
|
|
141
|
-
code: 40,
|
|
142
|
-
name: '签名',
|
|
143
|
-
dbTypeName: 'varchar'
|
|
144
|
-
};
|
|
145
|
-
var DYNAMIC_COLUMN_DATA_TYPE_GRADE = exports.DYNAMIC_COLUMN_DATA_TYPE_GRADE = {
|
|
146
|
-
code: 41,
|
|
147
|
-
name: '等级',
|
|
148
|
-
dbTypeName: 'numeric'
|
|
149
|
-
};
|
|
150
|
-
var DYNAMIC_COLUMN_DATA_TYPE_BUTTON = exports.DYNAMIC_COLUMN_DATA_TYPE_BUTTON = {
|
|
151
|
-
code: 46,
|
|
152
|
-
name: '按钮',
|
|
153
|
-
dbTypeName: 'varchar'
|
|
154
|
-
};
|
|
155
|
-
var DYNAMIC_COLUMN_DATA_TYPE_CHILDREN_TABLE = exports.DYNAMIC_COLUMN_DATA_TYPE_CHILDREN_TABLE = {
|
|
156
|
-
code: 47,
|
|
157
|
-
name: '子表单',
|
|
158
|
-
dbTypeName: 'varchar'
|
|
159
|
-
};
|
|
160
|
-
var DYNAMIC_COLUMN_DATA_TYPE_QUOTE = exports.DYNAMIC_COLUMN_DATA_TYPE_QUOTE = {
|
|
161
|
-
code: 48,
|
|
162
|
-
name: '引用字段',
|
|
163
|
-
dbTypeName: 'varchar'
|
|
164
|
-
};
|
|
165
|
-
var DYNAMIC_COLUMN_DATA_TYPE_LINKAGE = exports.DYNAMIC_COLUMN_DATA_TYPE_LINKAGE = {
|
|
166
|
-
code: 49,
|
|
167
|
-
name: '联动字段',
|
|
168
|
-
dbTypeName: 'varchar'
|
|
169
|
-
};
|
package/lib/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export type { ComponentProps } from './components/swiper';
|
|
2
|
-
export { default as Swiper } from './components/swiper';
|
|
3
|
-
export type { NavigationProps } from './components/bottom-navigation';
|
|
4
|
-
export { default as Navigation } from './components/bottom-navigation';
|
|
5
|
-
export type { MenuListDataProps, MenuListProps } from './components/menu-list';
|
|
6
|
-
export { default as MenuList } from './components/menu-list';
|
|
7
|
-
export type { TeletextListProps } from './components/teletext-list';
|
|
8
|
-
export { TeletextList } from './components/teletext-list';
|
|
9
|
-
export type { Title1Props } from './components/title';
|
|
10
|
-
export { Title1 } from './components/title';
|
|
11
|
-
export type { Title2Props } from './components/title';
|
|
12
|
-
export { Title2 } from './components/title';
|
|
13
|
-
export type { GridNavProps } from './components/grid-nav';
|
|
14
|
-
export { default as GridNav } from './components/grid-nav';
|
|
15
|
-
export type { SearchBarProps } from './components/search-bar';
|
|
16
|
-
export { default as SearchBar } from './components/search-bar';
|
|
17
|
-
export type { LocationProps } from './components/position';
|
|
18
|
-
export { default as Position } from './components/position';
|
|
19
|
-
export type { TagProps } from './components/tag';
|
|
20
|
-
export { default as TagC } from './components/tag';
|
|
21
|
-
export type { MessageListProps } from './components/message-list';
|
|
22
|
-
export { default as MessageList } from './components/message-list';
|
|
23
|
-
export type { TabProps } from './components/tab';
|
|
24
|
-
export { default as TabMessage } from './components/tab';
|
|
25
|
-
export type { NoticeBarProps } from './components/notice-bar';
|
|
26
|
-
export { default as NoticeBar } from './components/notice-bar';
|
|
27
|
-
export type { TabContainerProps } from './components/tab-container';
|
|
28
|
-
export { default as TabContainer } from './components/tab-container';
|
|
29
|
-
export type { TabContainerItemProps } from './components/tab-container-item';
|
|
30
|
-
export { default as TabContainerItem } from './components/tab-container-item';
|
|
31
|
-
export type { IntegralTaskProps } from './components/integral-task';
|
|
32
|
-
export { default as IntegralTask } from './components/integral-task';
|
|
33
|
-
export type { ButtonProps } from './components/button';
|
|
34
|
-
export { default as Button2 } from './components/button';
|
|
35
|
-
export type { RadioGroupProps, RadioGroupItemProps } from './components/radio-group';
|
|
36
|
-
export { CustomRadioGroup, CustomRadioGroupItem } from './components/radio-group';
|
|
37
|
-
export type { GoodsCardListProps } from './components/goods-card-list';
|
|
38
|
-
export { GoodsCardList, GoodsCardListCommon } from './components/goods-card-list';
|
|
39
|
-
export type { RichTextProps } from './components/rich-text';
|
|
40
|
-
export { RichText } from './components/rich-text';
|
|
41
|
-
export type { StreamListProps } from './components/stream-list';
|
|
42
|
-
export { StreamList } from './components/stream-list';
|
|
43
|
-
export type { FormProps } from './components/form';
|
|
44
|
-
export { DCForm } from './components/form';
|
|
45
|
-
declare const bizCssPrefix = "bizpack";
|
|
46
|
-
export { bizCssPrefix };
|
package/lib/index.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.bizCssPrefix = exports.Title2 = exports.Title1 = exports.TeletextList = exports.TagC = exports.TabMessage = exports.TabContainerItem = exports.TabContainer = exports.Swiper = exports.StreamList = exports.SearchBar = exports.RichText = exports.Position = exports.NoticeBar = exports.Navigation = exports.MessageList = exports.MenuList = exports.IntegralTask = exports.GridNav = exports.GoodsCardListCommon = exports.GoodsCardList = exports.DCForm = exports.CustomRadioGroupItem = exports.CustomRadioGroup = exports.Button2 = void 0;
|
|
6
|
-
var _swiper = _interopRequireDefault(require("./components/swiper"));
|
|
7
|
-
exports.Swiper = _swiper["default"];
|
|
8
|
-
var _bottomNavigation = _interopRequireDefault(require("./components/bottom-navigation"));
|
|
9
|
-
exports.Navigation = _bottomNavigation["default"];
|
|
10
|
-
var _menuList = _interopRequireDefault(require("./components/menu-list"));
|
|
11
|
-
exports.MenuList = _menuList["default"];
|
|
12
|
-
var _teletextList = require("./components/teletext-list");
|
|
13
|
-
exports.TeletextList = _teletextList.TeletextList;
|
|
14
|
-
var _title = require("./components/title");
|
|
15
|
-
exports.Title1 = _title.Title1;
|
|
16
|
-
exports.Title2 = _title.Title2;
|
|
17
|
-
var _gridNav = _interopRequireDefault(require("./components/grid-nav"));
|
|
18
|
-
exports.GridNav = _gridNav["default"];
|
|
19
|
-
var _searchBar = _interopRequireDefault(require("./components/search-bar"));
|
|
20
|
-
exports.SearchBar = _searchBar["default"];
|
|
21
|
-
var _position = _interopRequireDefault(require("./components/position"));
|
|
22
|
-
exports.Position = _position["default"];
|
|
23
|
-
var _tag = _interopRequireDefault(require("./components/tag"));
|
|
24
|
-
exports.TagC = _tag["default"];
|
|
25
|
-
var _messageList = _interopRequireDefault(require("./components/message-list"));
|
|
26
|
-
exports.MessageList = _messageList["default"];
|
|
27
|
-
var _tab = _interopRequireDefault(require("./components/tab"));
|
|
28
|
-
exports.TabMessage = _tab["default"];
|
|
29
|
-
var _noticeBar = _interopRequireDefault(require("./components/notice-bar"));
|
|
30
|
-
exports.NoticeBar = _noticeBar["default"];
|
|
31
|
-
var _tabContainer = _interopRequireDefault(require("./components/tab-container"));
|
|
32
|
-
exports.TabContainer = _tabContainer["default"];
|
|
33
|
-
var _tabContainerItem = _interopRequireDefault(require("./components/tab-container-item"));
|
|
34
|
-
exports.TabContainerItem = _tabContainerItem["default"];
|
|
35
|
-
var _integralTask = _interopRequireDefault(require("./components/integral-task"));
|
|
36
|
-
exports.IntegralTask = _integralTask["default"];
|
|
37
|
-
var _button = _interopRequireDefault(require("./components/button"));
|
|
38
|
-
exports.Button2 = _button["default"];
|
|
39
|
-
var _radioGroup = require("./components/radio-group");
|
|
40
|
-
exports.CustomRadioGroup = _radioGroup.CustomRadioGroup;
|
|
41
|
-
exports.CustomRadioGroupItem = _radioGroup.CustomRadioGroupItem;
|
|
42
|
-
var _goodsCardList = require("./components/goods-card-list");
|
|
43
|
-
exports.GoodsCardList = _goodsCardList.GoodsCardList;
|
|
44
|
-
exports.GoodsCardListCommon = _goodsCardList.GoodsCardListCommon;
|
|
45
|
-
var _richText = require("./components/rich-text");
|
|
46
|
-
exports.RichText = _richText.RichText;
|
|
47
|
-
var _streamList = require("./components/stream-list");
|
|
48
|
-
exports.StreamList = _streamList.StreamList;
|
|
49
|
-
var _form = require("./components/form");
|
|
50
|
-
exports.DCForm = _form.DCForm;
|
|
51
|
-
// 轮播图
|
|
52
|
-
|
|
53
|
-
// 底部导航
|
|
54
|
-
|
|
55
|
-
// 列表菜单
|
|
56
|
-
|
|
57
|
-
// 图文列表
|
|
58
|
-
|
|
59
|
-
// 标题1
|
|
60
|
-
|
|
61
|
-
// 标题2
|
|
62
|
-
|
|
63
|
-
// 网格导航
|
|
64
|
-
|
|
65
|
-
// 搜索框
|
|
66
|
-
|
|
67
|
-
// 定位
|
|
68
|
-
|
|
69
|
-
// 标签
|
|
70
|
-
|
|
71
|
-
// 消息列表
|
|
72
|
-
|
|
73
|
-
// 消息tab
|
|
74
|
-
|
|
75
|
-
// 公告栏
|
|
76
|
-
|
|
77
|
-
// 选项卡
|
|
78
|
-
|
|
79
|
-
// 选项卡子项
|
|
80
|
-
|
|
81
|
-
// 积分任务列表
|
|
82
|
-
|
|
83
|
-
// 按钮
|
|
84
|
-
|
|
85
|
-
// 单选组
|
|
86
|
-
|
|
87
|
-
// 商品卡片列表
|
|
88
|
-
|
|
89
|
-
// 富文本
|
|
90
|
-
|
|
91
|
-
// 富文本
|
|
92
|
-
|
|
93
|
-
// 表单
|
|
94
|
-
|
|
95
|
-
var bizCssPrefix = exports.bizCssPrefix = 'bizpack';
|
package/lib/index.scss
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
@import './components/colorful-button/index.scss';
|
|
2
|
-
@import './components/colorful-input/index.scss';
|
|
3
|
-
@import './components/teletext-list/index.scss';
|
|
4
|
-
@import './components/grid-nav/index.scss';
|
|
5
|
-
@import './components/search-bar/index.scss';
|
|
6
|
-
@import './components/notice-bar/index.scss';
|
package/lib/style.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 从children数组中获取指定组件
|
|
3
|
-
* @author ZhuGangMin
|
|
4
|
-
* @date 2024-09-21 14:07:02
|
|
5
|
-
* @param children 父组件传递过来children
|
|
6
|
-
* @param key 组件的key
|
|
7
|
-
* @param props 要覆盖的属性
|
|
8
|
-
*/
|
|
9
|
-
export declare function convertChildren(children: any, key: string, props?: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.convertChildren = convertChildren;
|
|
6
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
/**
|
|
9
|
-
* 从children数组中获取指定组件
|
|
10
|
-
* @author ZhuGangMin
|
|
11
|
-
* @date 2024-09-21 14:07:02
|
|
12
|
-
* @param children 父组件传递过来children
|
|
13
|
-
* @param key 组件的key
|
|
14
|
-
* @param props 要覆盖的属性
|
|
15
|
-
*/
|
|
16
|
-
function convertChildren(children, key, props) {
|
|
17
|
-
var node;
|
|
18
|
-
if (Array.isArray(children)) {
|
|
19
|
-
for (var i = 0; i < children.length; i++) {
|
|
20
|
-
var child = children[i];
|
|
21
|
-
if (child.key === key) {
|
|
22
|
-
// 属性融合
|
|
23
|
-
var propsContact = props ? (0, _extends2["default"])({}, child.props, props) : child.props;
|
|
24
|
-
node = /*#__PURE__*/_react["default"].cloneElement(child, propsContact);
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return node;
|
|
30
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const ValueWrapper: (NextFormComponent: React.ElementType, displayName: string) => {
|
|
3
|
-
(props: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const DynamicPropWrapper: (prop: string, NextFormComponent: React.ElementType, displayName: string) => {
|
|
7
|
-
(props: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
exports.__esModule = true;
|
|
5
|
-
exports.ValueWrapper = exports.DynamicPropWrapper = void 0;
|
|
6
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
-
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
|
-
var _excluded = ["__designMode", "value", "defaultValue"],
|
|
10
|
-
_excluded2 = ["__designMode"];
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
-
var createElement = React.createElement;
|
|
14
|
-
var ValueWrapper = exports.ValueWrapper = function ValueWrapper(NextFormComponent, displayName) {
|
|
15
|
-
var WrappedComponent = function WrappedComponent(props) {
|
|
16
|
-
var __designMode = props.__designMode,
|
|
17
|
-
value = props.value,
|
|
18
|
-
defaultValue = props.defaultValue,
|
|
19
|
-
otherProps = (0, _objectWithoutPropertiesLoose2["default"])(props, _excluded);
|
|
20
|
-
var finalValue = __designMode === 'design' ? defaultValue : value;
|
|
21
|
-
if (typeof finalValue !== 'undefined') {
|
|
22
|
-
otherProps.value = finalValue;
|
|
23
|
-
}
|
|
24
|
-
return createElement(NextFormComponent, (0, _extends2["default"])({}, otherProps));
|
|
25
|
-
};
|
|
26
|
-
WrappedComponent.displayName = displayName;
|
|
27
|
-
return WrappedComponent;
|
|
28
|
-
};
|
|
29
|
-
var DynamicPropWrapper = exports.DynamicPropWrapper = function DynamicPropWrapper(prop, NextFormComponent, displayName) {
|
|
30
|
-
var WrappedComponent = function WrappedComponent(props) {
|
|
31
|
-
var dynamicProp = prop;
|
|
32
|
-
var defaultDynamicProp = "default" + prop.slice(0, 1).toUpperCase() + prop.slice(1);
|
|
33
|
-
var __designMode = props.__designMode,
|
|
34
|
-
otherProps = (0, _objectWithoutPropertiesLoose2["default"])(props, _excluded2);
|
|
35
|
-
var dynamicPropValueValue = props[dynamicProp];
|
|
36
|
-
var defaultDynamicPropValue = props[defaultDynamicProp];
|
|
37
|
-
var finalValue = __designMode === 'design' ? defaultDynamicPropValue : dynamicPropValueValue;
|
|
38
|
-
if (typeof finalValue !== 'undefined') {
|
|
39
|
-
otherProps[dynamicProp] = finalValue;
|
|
40
|
-
}
|
|
41
|
-
return createElement(NextFormComponent, (0, _extends2["default"])({}, otherProps));
|
|
42
|
-
};
|
|
43
|
-
WrappedComponent.displayName = displayName;
|
|
44
|
-
return WrappedComponent;
|
|
45
|
-
};
|
package/lib/utils/debounce.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function debounce<T extends (...args: any[]) => void>(func: T, delay: number): (this: any, ...args: Parameters<T>) => void;
|
package/lib/utils/debounce.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.debounce = debounce;
|
|
5
|
-
function debounce(func, delay) {
|
|
6
|
-
var timeout;
|
|
7
|
-
return function () {
|
|
8
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
9
|
-
args[_key] = arguments[_key];
|
|
10
|
-
}
|
|
11
|
-
// eslint-disable-next-line ts/no-this-alias
|
|
12
|
-
var context = this;
|
|
13
|
-
clearTimeout(timeout);
|
|
14
|
-
timeout = setTimeout(function () {
|
|
15
|
-
return func.apply(context, args);
|
|
16
|
-
}, delay);
|
|
17
|
-
};
|
|
18
|
-
}
|
package/lib/utils/textUtil.d.ts
DELETED
package/lib/utils/textUtil.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.groupCitiesByInitial = groupCitiesByInitial;
|
|
5
|
-
exports.lineToUppercase = lineToUppercase;
|
|
6
|
-
var _pinyinPro = require("pinyin-pro");
|
|
7
|
-
/**
|
|
8
|
-
* @description 短横线字符串转驼峰
|
|
9
|
-
* @param str
|
|
10
|
-
*/
|
|
11
|
-
function lineToUppercase(str) {
|
|
12
|
-
function upper(all, letter) {
|
|
13
|
-
return letter.toUpperCase();
|
|
14
|
-
}
|
|
15
|
-
return str.replace(/-(\w)/g, upper);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 将城市分组
|
|
20
|
-
* @param cities
|
|
21
|
-
*/
|
|
22
|
-
function groupCitiesByInitial(cities) {
|
|
23
|
-
var cityGroups = {};
|
|
24
|
-
cities.forEach(function (city) {
|
|
25
|
-
// 获取城市名称的拼音首字母
|
|
26
|
-
var initial = getFirstWord(city.address);
|
|
27
|
-
|
|
28
|
-
// 按首字母分组
|
|
29
|
-
if (!cityGroups[initial]) {
|
|
30
|
-
cityGroups[initial] = [];
|
|
31
|
-
}
|
|
32
|
-
// 将整个地址信息保存
|
|
33
|
-
cityGroups[initial].push(city);
|
|
34
|
-
});
|
|
35
|
-
// 按字母顺序排序分组
|
|
36
|
-
return Object.keys(cityGroups).sort() // 对首字母进行字母排序
|
|
37
|
-
.reduce(function (sortedGroups, initial) {
|
|
38
|
-
sortedGroups[initial] = cityGroups[initial];
|
|
39
|
-
return sortedGroups;
|
|
40
|
-
}, {});
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* 获取拼音首字母
|
|
45
|
-
* @param str
|
|
46
|
-
*/
|
|
47
|
-
function getFirstWord(str) {
|
|
48
|
-
if (!str) {
|
|
49
|
-
return '';
|
|
50
|
-
}
|
|
51
|
-
return (0, _pinyinPro.pinyin)(str, {
|
|
52
|
-
pattern: "first",
|
|
53
|
-
toneType: "none"
|
|
54
|
-
})[0].toUpperCase();
|
|
55
|
-
}
|
package/lib/utils/time-util.d.ts
DELETED
package/lib/utils/time-util.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.formatTime = formatTime;
|
|
5
|
-
/**
|
|
6
|
-
* 时间计算
|
|
7
|
-
* @param timeString
|
|
8
|
-
*/
|
|
9
|
-
function formatTime(timeString) {
|
|
10
|
-
var time = new Date(timeString);
|
|
11
|
-
var now = new Date();
|
|
12
|
-
var diff = now - time;
|
|
13
|
-
var minutes = Math.floor(diff / (1000 * 60));
|
|
14
|
-
var hours = Math.floor(diff / (1000 * 60 * 60));
|
|
15
|
-
if (minutes < 60) {
|
|
16
|
-
return minutes + "\u5206\u949F\u524D";
|
|
17
|
-
} else if (hours < 24) {
|
|
18
|
-
return hours + "\u5C0F\u65F6\u524D";
|
|
19
|
-
} else {
|
|
20
|
-
return time.getFullYear() + "-" + (time.getMonth() + 1).toString().padStart(2, '0') + "-" + time.getDate().toString().padStart(2, '0');
|
|
21
|
-
}
|
|
22
|
-
}
|
package/lib/variables.d.ts
DELETED
package/lib/variables.js
DELETED
package/lib/variables.scss
DELETED