react-kui 3.1.2 → 3.2.1
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/README.zh-CN.md +3 -1
- package/ai/kui-components.json +918 -324
- package/es/_virtual/_rolldown/runtime.js +1 -1
- package/es/affix/index.js +1 -1
- package/es/alert/index.js +11 -4
- package/es/anchor/anchor-context.js +1 -1
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/auto-complete/index.js +371 -347
- package/es/avatar/avatar-group-context.js +1 -1
- package/es/avatar/avatar-group.js +1 -1
- package/es/avatar/avatar.js +1 -1
- package/es/back-top/index.js +1 -1
- package/es/badge/index.js +10 -8
- package/es/base/teleport.js +1 -1
- package/es/base/transition-props.js +1 -1
- package/es/base/transition.js +1 -1
- package/es/breadcrumb/breadcrumb-context.js +1 -1
- package/es/breadcrumb/breadcrumb-item.js +1 -1
- package/es/breadcrumb/breadcrumb.js +1 -1
- package/es/button/button-group-context.js +1 -1
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +13 -6
- package/es/calendar/index.js +20 -6
- package/es/card/index.js +11 -4
- package/es/carousel/carousel-context.js +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/drag.js +1 -1
- package/es/cascader/index.js +13 -10
- package/es/check-card/check-card-group.js +3 -3
- package/es/check-card/check-card.js +155 -141
- package/es/check-card/context.js +1 -1
- package/es/checkbox/checkbox-group-context.js +1 -1
- package/es/checkbox/checkbox-group.js +3 -3
- package/es/checkbox/checkbox.js +64 -244
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse-panel.js +1 -1
- package/es/collapse/collapse.js +96 -82
- package/es/color-picker/alpha.js +1 -1
- package/es/color-picker/hue.js +1 -1
- package/es/color-picker/index.js +7 -7
- package/es/color-picker/mode.js +2 -2
- package/es/color-picker/paint.js +1 -1
- package/es/color-picker/presets.js +1 -1
- package/es/components.js +4 -4
- package/es/config/config-context.js +16 -3
- package/es/config/context.js +29 -2
- package/es/config/index.js +31 -12
- package/es/config/popup-host.js +106 -0
- package/es/config/size-context.js +1 -1
- package/es/config/use-config-appearance.js +62 -2
- package/es/const/var.js +6 -2
- package/es/date-picker/index.js +404 -885
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.js +1 -1
- package/es/divider/index.js +1 -1
- package/es/drawer/index.js +328 -240
- package/es/dropdown/dropdown-button.js +69 -51
- package/es/dropdown/dropdown-context.js +1 -1
- package/es/dropdown/dropdown.js +137 -93
- package/es/dropdown/trigger.js +85 -33
- package/es/empty/index.js +3 -4
- package/es/feature-card/index.js +15 -4
- package/es/feedback-panel/index.js +95 -81
- package/es/flame-wrap/index.js +116 -109
- package/es/flame-wrap/types.js +54 -6
- package/es/flex/index.js +1 -1
- package/es/form/field-context.js +16 -2
- package/es/form/form-context.js +1 -1
- package/es/form/form-item.js +7 -6
- package/es/form/form.js +1 -1
- package/es/form/utils.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid.js +1 -1
- package/es/grid/useBreakpoint.js +1 -1
- package/es/icon/index.js +1 -1
- package/es/image/group.js +1 -1
- package/es/image/image-group-context.js +1 -1
- package/es/image/image.js +137 -123
- package/es/image/instance.js +1 -1
- package/es/image/preview.js +1 -1
- package/es/image/utils.js +1 -1
- package/es/index.js +3 -3
- package/es/input/index.js +3 -3
- package/es/input/input-base.js +7 -7
- package/es/input/input-box.js +2 -2
- package/es/input/input-group.js +43 -127
- package/es/input/input.js +1 -1
- package/es/input/textarea.js +28 -114
- package/es/input-number/index.js +7 -5
- package/es/input-otp/index.js +5 -5
- package/es/input-tag/index.js +5 -5
- package/es/kanban/index.js +79 -63
- package/es/layout/index.js +1 -1
- package/es/layout/layout-context.js +1 -1
- package/es/list-panel/index.js +96 -83
- package/es/loading/index.js +1 -1
- package/es/loading/loading-bar.js +1 -1
- package/es/locale/de.js +10 -2
- package/es/locale/el.js +10 -2
- package/es/locale/en.js +10 -2
- package/es/locale/fr.js +10 -2
- package/es/locale/it.js +10 -2
- package/es/locale/ja.js +10 -2
- package/es/locale/ko.js +10 -2
- package/es/locale/ru.js +10 -2
- package/es/locale/th.js +10 -2
- package/es/locale/uk.js +10 -2
- package/es/locale/vi.js +10 -2
- package/es/locale/zh-CN.js +10 -2
- package/es/locale/zh-TW.js +10 -2
- package/es/mentions/index.js +291 -286
- package/es/menu/menu-context.js +1 -1
- package/es/menu/menu-divider.js +1 -1
- package/es/menu/menu-group.js +1 -1
- package/es/menu/menu-item.js +1 -1
- package/es/menu/menu-keyboard.js +41 -2
- package/es/menu/menu.js +268 -222
- package/es/menu/recursive-menu.js +1 -1
- package/es/menu/sub-menu.js +81 -23
- package/es/message/index.js +1 -1
- package/es/modal/api.js +46 -12
- package/es/modal/modal.js +441 -345
- package/es/modal/toast.js +177 -64
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +1 -1
- package/es/notice/container.js +1 -1
- package/es/notice/content.js +1 -1
- package/es/notice/index.js +1 -1
- package/es/notice/instance.js +1 -1
- package/es/page/index.js +13 -8
- package/es/page/responsive.js +1 -1
- package/es/page-header/index.js +1 -1
- package/es/popconfirm/index.js +36 -35
- package/es/poptip/index.js +47 -45
- package/es/popup/index.js +5 -2
- package/es/popup/layers.js +11 -2
- package/es/progress/index.js +1 -1
- package/es/qrcode/index.js +13 -7
- package/es/radio/radio-button.js +51 -44
- package/es/radio/radio-group-context.js +1 -1
- package/es/radio/radio-group.js +49 -52
- package/es/radio/radio.js +46 -197
- package/es/rate/index.js +1 -1
- package/es/rate/star.js +1 -1
- package/es/result/index.js +1 -1
- package/es/ripple/index.js +104 -97
- package/es/ripple/types.js +71 -18
- package/es/row-col/col.js +1 -1
- package/es/row-col/row.js +1 -1
- package/es/segmented/index.js +112 -92
- package/es/select/option.js +1 -1
- package/es/select/select.js +29 -29
- package/es/skeleton/skeleton-avatar.js +1 -1
- package/es/skeleton/skeleton-button.js +1 -1
- package/es/skeleton/skeleton-image.js +1 -1
- package/es/skeleton/skeleton-text.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/use-skeleton-loading.js +1 -1
- package/es/slider/index.js +1 -1
- package/es/slider/thumb.js +1 -1
- package/es/space/index.js +1 -1
- package/es/spin/index.js +1 -1
- package/es/splitter/splitter-panel.js +1 -1
- package/es/splitter/splitter.js +1 -1
- package/es/stat-card/countup.js +2 -2
- package/es/stat-card/rollup.js +1 -1
- package/es/stat-card/stat-card.js +16 -7
- package/es/stat-card/stat-number.js +4 -3
- package/es/stat-card/utils/countup.js +1 -1
- package/es/stat-card/utils/odometer.js +1 -1
- package/es/stat-card/utils/stat-item-key.js +22 -0
- package/es/steps/index.js +1 -1
- package/es/switch/index.js +3 -3
- package/es/table/column-setting.js +104 -115
- package/es/table/index.js +556 -207
- package/es/table/utils.js +140 -3
- package/es/tabs/tab-panel.js +1 -1
- package/es/tabs/tabs.js +1 -1
- package/es/tag/index.js +12 -5
- package/es/time-line/timeline-item.js +1 -1
- package/es/time-line/timeline.js +1 -1
- package/es/tooltip/index.js +114 -94
- package/es/tour/index.js +1 -1
- package/es/transfer/index.js +190 -172
- package/es/tree/index.js +55 -44
- package/es/tree/utils.js +1 -1
- package/es/tree-select/index.js +259 -781
- package/es/typography/index.js +1 -1
- package/es/upload/file-list.js +1 -1
- package/es/upload/index.js +5 -6
- package/es/upload/picture-sort.js +1 -1
- package/es/upload/selector.js +1 -1
- package/es/utils/checked.js +1 -1
- package/es/utils/color.js +25 -2
- package/es/utils/css.js +19 -0
- package/es/utils/focus.js +63 -0
- package/es/utils/number.js +1 -1
- package/es/utils/overlay-order.js +18 -0
- package/es/utils/overlay-stack.js +33 -0
- package/es/utils/placement.js +1 -1
- package/es/utils/popup.js +1 -1
- package/es/utils/promise.js +18 -0
- package/es/utils/react-node.js +55 -30
- package/es/utils/selection-tags.js +6 -4
- package/es/utils/share.js +5 -2
- package/es/utils/theme.js +1 -1
- package/es/utils/transition.js +1 -1
- package/es/utils/use-value.js +1 -1
- package/es/virtual-list/index.js +1 -1
- package/es/virtual-list/range.js +3 -2
- package/es/watermark/index.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +2 -2
- package/lib/locale/el.cjs +2 -2
- package/lib/locale/en.cjs +2 -2
- package/lib/locale/fr.cjs +2 -2
- package/lib/locale/it.cjs +2 -2
- package/lib/locale/ja.cjs +2 -2
- package/lib/locale/ko.cjs +2 -2
- package/lib/locale/ru.cjs +2 -2
- package/lib/locale/th.cjs +2 -2
- package/lib/locale/uk.cjs +2 -2
- package/lib/locale/vi.cjs +2 -2
- package/lib/locale/zh-CN.cjs +2 -2
- package/lib/locale/zh-TW.cjs +2 -2
- package/package.json +4 -3
- package/readme.md +3 -1
- package/style/base.css +2 -2
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/theme.css +2 -2
- package/types/alert/index.d.cts +2 -2
- package/types/alert/index.d.ts +2 -2
- package/types/auto-complete/index.d.cts +7 -1
- package/types/auto-complete/index.d.ts +7 -1
- package/types/badge/index.d.cts +2 -1
- package/types/badge/index.d.ts +2 -1
- package/types/button/button.d.cts +2 -2
- package/types/button/button.d.ts +2 -2
- package/types/card/index.d.cts +3 -3
- package/types/card/index.d.ts +3 -3
- package/types/cascader/index.d.cts +1 -1
- package/types/cascader/index.d.ts +1 -1
- package/types/cascader/types.d.cts +2 -0
- package/types/cascader/types.d.ts +2 -0
- package/types/check-card/context.d.cts +4 -3
- package/types/check-card/context.d.ts +4 -3
- package/types/check-card/index.d.cts +1 -1
- package/types/check-card/index.d.ts +1 -1
- package/types/check-card/types.d.cts +3 -4
- package/types/check-card/types.d.ts +3 -4
- package/types/checkbox/checkbox-group.d.cts +2 -2
- package/types/checkbox/checkbox-group.d.ts +2 -2
- package/types/checkbox/checkbox.d.cts +2 -2
- package/types/checkbox/checkbox.d.ts +2 -2
- package/types/collapse/collapse.d.cts +3 -3
- package/types/collapse/collapse.d.ts +3 -3
- package/types/color-picker/index.d.cts +3 -1
- package/types/color-picker/index.d.ts +3 -1
- package/types/components.d.cts +2 -2
- package/types/components.d.ts +2 -2
- package/types/config/config-context.d.cts +15 -2
- package/types/config/config-context.d.ts +15 -2
- package/types/config/context.d.cts +6 -0
- package/types/config/context.d.ts +6 -0
- package/types/config/popup-host.d.cts +16 -0
- package/types/config/popup-host.d.ts +16 -0
- package/types/config/use-config-appearance.d.cts +41 -2
- package/types/config/use-config-appearance.d.ts +41 -2
- package/types/const/types.d.cts +30 -1
- package/types/const/types.d.ts +30 -1
- package/types/const/var.d.cts +6 -1
- package/types/const/var.d.ts +6 -1
- package/types/date-picker/index.d.cts +3 -1
- package/types/date-picker/index.d.ts +3 -1
- package/types/descriptions/descriptions.d.cts +2 -2
- package/types/descriptions/descriptions.d.ts +2 -2
- package/types/drawer/index.d.cts +1 -0
- package/types/drawer/index.d.ts +1 -0
- package/types/dropdown/dropdown-button.d.cts +5 -2
- package/types/dropdown/dropdown-button.d.ts +5 -2
- package/types/dropdown/dropdown-context.d.cts +6 -0
- package/types/dropdown/dropdown-context.d.ts +6 -0
- package/types/dropdown/dropdown.d.cts +2 -0
- package/types/dropdown/dropdown.d.ts +2 -0
- package/types/feature-card/index.d.cts +3 -3
- package/types/feature-card/index.d.ts +3 -3
- package/types/feedback-panel/index.d.cts +3 -3
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/types.d.cts +18 -0
- package/types/flame-wrap/types.d.ts +18 -0
- package/types/form/field-context.d.cts +2 -0
- package/types/form/field-context.d.ts +2 -0
- package/types/image/image.d.cts +2 -2
- package/types/image/image.d.ts +2 -2
- package/types/input/input-group.d.cts +2 -2
- package/types/input/input-group.d.ts +2 -2
- package/types/input-number/index.d.cts +2 -0
- package/types/input-number/index.d.ts +2 -0
- package/types/kanban/index.d.cts +3 -2
- package/types/kanban/index.d.ts +3 -2
- package/types/list-panel/index.d.cts +3 -3
- package/types/list-panel/index.d.ts +3 -3
- package/types/locale/de.d.cts +6 -0
- package/types/locale/de.d.ts +6 -0
- package/types/locale/el.d.cts +6 -0
- package/types/locale/el.d.ts +6 -0
- package/types/locale/en.d.cts +6 -0
- package/types/locale/en.d.ts +6 -0
- package/types/locale/fr.d.cts +6 -0
- package/types/locale/fr.d.ts +6 -0
- package/types/locale/it.d.cts +6 -0
- package/types/locale/it.d.ts +6 -0
- package/types/locale/ja.d.cts +6 -0
- package/types/locale/ja.d.ts +6 -0
- package/types/locale/ko.d.cts +6 -0
- package/types/locale/ko.d.ts +6 -0
- package/types/locale/ru.d.cts +6 -0
- package/types/locale/ru.d.ts +6 -0
- package/types/locale/th.d.cts +6 -0
- package/types/locale/th.d.ts +6 -0
- package/types/locale/uk.d.cts +6 -0
- package/types/locale/uk.d.ts +6 -0
- package/types/locale/vi.d.cts +6 -0
- package/types/locale/vi.d.ts +6 -0
- package/types/locale/zh-CN.d.cts +6 -0
- package/types/locale/zh-CN.d.ts +6 -0
- package/types/locale/zh-TW.d.cts +6 -0
- package/types/locale/zh-TW.d.ts +6 -0
- package/types/mentions/index.d.cts +2 -0
- package/types/mentions/index.d.ts +2 -0
- package/types/menu/menu-keyboard.d.cts +23 -0
- package/types/menu/menu-keyboard.d.ts +23 -0
- package/types/modal/api.d.cts +6 -1
- package/types/modal/api.d.ts +6 -1
- package/types/modal/modal.d.cts +1 -0
- package/types/modal/modal.d.ts +1 -0
- package/types/modal/toast.d.cts +8 -2
- package/types/modal/toast.d.ts +8 -2
- package/types/page/index.d.cts +2 -2
- package/types/page/index.d.ts +2 -2
- package/types/popconfirm/index.d.cts +2 -0
- package/types/popconfirm/index.d.ts +2 -0
- package/types/poptip/index.d.cts +2 -0
- package/types/poptip/index.d.ts +2 -0
- package/types/popup/layers.d.cts +2 -0
- package/types/popup/layers.d.ts +2 -0
- package/types/qrcode/index.d.cts +2 -2
- package/types/qrcode/index.d.ts +2 -2
- package/types/radio/radio-button.d.cts +2 -2
- package/types/radio/radio-button.d.ts +2 -2
- package/types/radio/radio-group.d.cts +2 -2
- package/types/radio/radio-group.d.ts +2 -2
- package/types/radio/radio.d.cts +2 -2
- package/types/radio/radio.d.ts +2 -2
- package/types/ripple/types.d.cts +18 -0
- package/types/ripple/types.d.ts +18 -0
- package/types/segmented/index.d.cts +2 -1
- package/types/segmented/index.d.ts +2 -1
- package/types/select/select.d.cts +2 -0
- package/types/select/select.d.ts +2 -0
- package/types/stat-card/stat-card.d.cts +3 -3
- package/types/stat-card/stat-card.d.ts +3 -3
- package/types/stat-card/utils/stat-item-key.d.cts +11 -0
- package/types/stat-card/utils/stat-item-key.d.ts +11 -0
- package/types/table/column-setting.d.cts +4 -4
- package/types/table/column-setting.d.ts +4 -4
- package/types/table/index.d.cts +2 -2
- package/types/table/index.d.ts +2 -2
- package/types/table/types.d.cts +21 -2
- package/types/table/types.d.ts +21 -2
- package/types/table/utils.d.cts +75 -0
- package/types/table/utils.d.ts +75 -0
- package/types/tag/index.d.cts +2 -2
- package/types/tag/index.d.ts +2 -2
- package/types/tooltip/index.d.cts +2 -0
- package/types/tooltip/index.d.ts +2 -0
- package/types/transfer/index.d.cts +3 -2
- package/types/transfer/index.d.ts +3 -2
- package/types/tree-select/index.d.cts +3 -1
- package/types/tree-select/index.d.ts +3 -1
- package/types/utils/checked.d.cts +1 -1
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/color.d.cts +13 -0
- package/types/utils/color.d.ts +13 -0
- package/types/utils/css.d.cts +2 -0
- package/types/utils/css.d.ts +2 -0
- package/types/utils/focus.d.cts +5 -0
- package/types/utils/focus.d.ts +5 -0
- package/types/utils/overlay-order.d.cts +6 -0
- package/types/utils/overlay-order.d.ts +6 -0
- package/types/utils/overlay-stack.d.cts +13 -0
- package/types/utils/overlay-stack.d.ts +13 -0
- package/types/utils/promise.d.cts +5 -0
- package/types/utils/promise.d.ts +5 -0
- package/types/utils/react-node.d.cts +10 -0
- package/types/utils/react-node.d.ts +10 -0
package/es/empty/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import { ConfigContext } from "../config/config-context.js";
|
|
9
|
+
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
11
10
|
import { Inbox } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
12
11
|
import Icon from "../icon/index.js";
|
|
13
12
|
import { c } from "react/compiler-runtime";
|
|
@@ -41,7 +40,7 @@ var Empty = (t0) => {
|
|
|
41
40
|
t1 = $[6];
|
|
42
41
|
}
|
|
43
42
|
const className = t1 === void 0 ? "" : t1;
|
|
44
|
-
const locale = useContext(ConfigContext)?.locale ||
|
|
43
|
+
const locale = useContext(ConfigContext)?.locale || DEFAULT_LOCALE;
|
|
45
44
|
let t2;
|
|
46
45
|
if ($[7] !== description || $[8] !== image || $[9] !== imageStyle || $[10] !== locale?.k?.empty?.description) {
|
|
47
46
|
t2 = () => {
|
package/es/feature-card/index.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { normalizeSurfaceShape, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
9
|
+
import { normalizeSurfaceShape, resolvePaintedTheme, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
10
10
|
import Icon from "../icon/index.js";
|
|
11
|
+
import { wash } from "../utils/color.js";
|
|
11
12
|
import clsx from "clsx";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
14
|
//#region components/feature-card/index.tsx
|
|
15
|
+
var PAINTED_THEMES = [
|
|
16
|
+
"fill",
|
|
17
|
+
"outline",
|
|
18
|
+
"plain",
|
|
19
|
+
"solid",
|
|
20
|
+
"dashed"
|
|
21
|
+
];
|
|
22
|
+
var ICON_WASH_SHARE = 12;
|
|
14
23
|
function FeatureCard({ icon, title, desc, bordered = false, theme: themeProp, shape: shapeProp, size: sizeProp, direction = "horizontal", clickable = false, disabled = false, color, iconBackground, children, extra, onClick, className, ...rest }) {
|
|
15
24
|
const inheritedAppearance = useConfigAppearance();
|
|
16
|
-
const theme = themeProp ?? inheritedAppearance.theme ?? "fill";
|
|
25
|
+
const theme = resolvePaintedTheme(themeProp ?? inheritedAppearance.theme, PAINTED_THEMES) ?? "fill";
|
|
17
26
|
const shape = normalizeSurfaceShape(shapeProp ?? inheritedAppearance.shape ?? "round");
|
|
18
27
|
const size = sizeProp ?? inheritedAppearance.size ?? "medium";
|
|
19
28
|
const handleKeyDown = (event) => {
|
|
@@ -23,6 +32,7 @@ function FeatureCard({ icon, title, desc, bordered = false, theme: themeProp, sh
|
|
|
23
32
|
event.currentTarget.click();
|
|
24
33
|
};
|
|
25
34
|
const isLibraryIcon = Array.isArray(icon) && icon.every((item) => typeof item === "object" && item != null && "d" in item && typeof item.d === "string");
|
|
35
|
+
const iconWash = iconBackground ? void 0 : wash(color, ICON_WASH_SHARE);
|
|
26
36
|
return /* @__PURE__ */ jsxs("div", {
|
|
27
37
|
...rest,
|
|
28
38
|
onClick: disabled ? void 0 : onClick,
|
|
@@ -33,7 +43,8 @@ function FeatureCard({ icon, title, desc, bordered = false, theme: themeProp, sh
|
|
|
33
43
|
style: {
|
|
34
44
|
...rest.style,
|
|
35
45
|
...color ? { "--k-feature-card-color": color } : {},
|
|
36
|
-
...iconBackground ? { "--k-feature-card-icon-bg": iconBackground } : {}
|
|
46
|
+
...iconBackground ? { "--k-feature-card-icon-bg": iconBackground } : {},
|
|
47
|
+
...iconWash ? { "--k-feature-card-icon-wash": iconWash } : {}
|
|
37
48
|
},
|
|
38
49
|
className: clsx("k-feature-card", {
|
|
39
50
|
"k-feature-card-bordered": bordered,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { normalizeSurfaceShape, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
9
|
+
import { normalizeSurfaceShape, resolvePaintedTheme, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
10
10
|
import { CircleCheck, CircleX, Info, TriangleAlert } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
11
11
|
import Icon from "../icon/index.js";
|
|
12
12
|
import { c } from "react/compiler-runtime";
|
|
@@ -14,6 +14,13 @@ import clsx from "clsx";
|
|
|
14
14
|
import { isValidElement } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
//#region components/feedback-panel/index.tsx
|
|
17
|
+
var PAINTED_THEMES = [
|
|
18
|
+
"fill",
|
|
19
|
+
"outline",
|
|
20
|
+
"plain",
|
|
21
|
+
"solid",
|
|
22
|
+
"dashed"
|
|
23
|
+
];
|
|
17
24
|
var symbols = {
|
|
18
25
|
positive: CircleCheck,
|
|
19
26
|
negative: CircleX,
|
|
@@ -21,7 +28,7 @@ var symbols = {
|
|
|
21
28
|
neutral: Info
|
|
22
29
|
};
|
|
23
30
|
function FeedbackPanel(t0) {
|
|
24
|
-
const $ = c(
|
|
31
|
+
const $ = c(46);
|
|
25
32
|
let actions;
|
|
26
33
|
let children;
|
|
27
34
|
let className;
|
|
@@ -63,39 +70,46 @@ function FeedbackPanel(t0) {
|
|
|
63
70
|
const kind = t1 === void 0 ? "neutral" : t1;
|
|
64
71
|
const compact = t2 === void 0 ? false : t2;
|
|
65
72
|
const inheritedAppearance = useConfigAppearance();
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
$[
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
const
|
|
73
|
+
let t3;
|
|
74
|
+
if ($[12] !== inheritedAppearance || $[13] !== themeProp) {
|
|
75
|
+
t3 = resolvePaintedTheme(themeProp ?? inheritedAppearance.theme, PAINTED_THEMES) ?? "outline";
|
|
76
|
+
$[12] = inheritedAppearance;
|
|
77
|
+
$[13] = themeProp;
|
|
78
|
+
$[14] = t3;
|
|
79
|
+
} else t3 = $[14];
|
|
80
|
+
const theme = t3;
|
|
81
|
+
const t4 = shapeProp ?? inheritedAppearance.shape ?? "round";
|
|
75
82
|
let t5;
|
|
76
|
-
if ($[
|
|
77
|
-
t5 =
|
|
78
|
-
$[
|
|
79
|
-
$[15] = symbol;
|
|
83
|
+
if ($[15] !== t4) {
|
|
84
|
+
t5 = normalizeSurfaceShape(t4);
|
|
85
|
+
$[15] = t4;
|
|
80
86
|
$[16] = t5;
|
|
81
87
|
} else t5 = $[16];
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
t9 = clsx("k-feedback-panel", t6, t7, t8, { "k-feedback-panel-compact": compact }, className);
|
|
89
|
-
$[17] = className;
|
|
90
|
-
$[18] = compact;
|
|
88
|
+
const shape = t5;
|
|
89
|
+
let t6;
|
|
90
|
+
if ($[17] !== kind || $[18] !== symbol) {
|
|
91
|
+
t6 = symbol == null || Array.isArray(symbol) ? /* @__PURE__ */ jsx(Icon, { type: symbol ?? symbols[kind] }) : isValidElement(symbol) || typeof symbol !== "object" ? symbol : null;
|
|
92
|
+
$[17] = kind;
|
|
93
|
+
$[18] = symbol;
|
|
91
94
|
$[19] = t6;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
} else t6 = $[19];
|
|
96
|
+
const symbolNode = t6;
|
|
97
|
+
const t7 = `k-feedback-panel-${kind}`;
|
|
98
|
+
const t8 = `k-feedback-panel-${theme}`;
|
|
99
|
+
const t9 = `k-feedback-panel-shape-${shape}`;
|
|
96
100
|
let t10;
|
|
97
|
-
if ($[23] !==
|
|
98
|
-
t10 =
|
|
101
|
+
if ($[20] !== className || $[21] !== compact || $[22] !== t7 || $[23] !== t8 || $[24] !== t9) {
|
|
102
|
+
t10 = clsx("k-feedback-panel", t7, t8, t9, { "k-feedback-panel-compact": compact }, className);
|
|
103
|
+
$[20] = className;
|
|
104
|
+
$[21] = compact;
|
|
105
|
+
$[22] = t7;
|
|
106
|
+
$[23] = t8;
|
|
107
|
+
$[24] = t9;
|
|
108
|
+
$[25] = t10;
|
|
109
|
+
} else t10 = $[25];
|
|
110
|
+
let t11;
|
|
111
|
+
if ($[26] !== symbolNode) {
|
|
112
|
+
t11 = /* @__PURE__ */ jsx("div", {
|
|
99
113
|
className: "k-feedback-panel-mark",
|
|
100
114
|
"aria-hidden": "true",
|
|
101
115
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -103,77 +117,77 @@ function FeedbackPanel(t0) {
|
|
|
103
117
|
children: symbolNode
|
|
104
118
|
})
|
|
105
119
|
});
|
|
106
|
-
$[
|
|
107
|
-
$[
|
|
108
|
-
} else
|
|
109
|
-
let
|
|
110
|
-
if ($[
|
|
111
|
-
|
|
120
|
+
$[26] = symbolNode;
|
|
121
|
+
$[27] = t11;
|
|
122
|
+
} else t11 = $[27];
|
|
123
|
+
let t12;
|
|
124
|
+
if ($[28] !== heading) {
|
|
125
|
+
t12 = heading != null && /* @__PURE__ */ jsx("div", {
|
|
112
126
|
className: "k-feedback-panel-heading",
|
|
113
127
|
children: heading
|
|
114
128
|
});
|
|
115
|
-
$[
|
|
116
|
-
$[
|
|
117
|
-
} else
|
|
118
|
-
let
|
|
119
|
-
if ($[
|
|
120
|
-
|
|
129
|
+
$[28] = heading;
|
|
130
|
+
$[29] = t12;
|
|
131
|
+
} else t12 = $[29];
|
|
132
|
+
let t13;
|
|
133
|
+
if ($[30] !== description) {
|
|
134
|
+
t13 = description != null && /* @__PURE__ */ jsx("div", {
|
|
121
135
|
className: "k-feedback-panel-description",
|
|
122
136
|
children: description
|
|
123
137
|
});
|
|
124
|
-
$[
|
|
125
|
-
$[
|
|
126
|
-
} else
|
|
127
|
-
let
|
|
128
|
-
if ($[
|
|
129
|
-
|
|
138
|
+
$[30] = description;
|
|
139
|
+
$[31] = t13;
|
|
140
|
+
} else t13 = $[31];
|
|
141
|
+
let t14;
|
|
142
|
+
if ($[32] !== children) {
|
|
143
|
+
t14 = children != null && /* @__PURE__ */ jsx("div", {
|
|
130
144
|
className: "k-feedback-panel-details",
|
|
131
145
|
children
|
|
132
146
|
});
|
|
133
|
-
$[
|
|
134
|
-
$[
|
|
135
|
-
} else
|
|
136
|
-
let
|
|
137
|
-
if ($[
|
|
138
|
-
|
|
147
|
+
$[32] = children;
|
|
148
|
+
$[33] = t14;
|
|
149
|
+
} else t14 = $[33];
|
|
150
|
+
let t15;
|
|
151
|
+
if ($[34] !== actions) {
|
|
152
|
+
t15 = actions != null && /* @__PURE__ */ jsx("div", {
|
|
139
153
|
className: "k-feedback-panel-actions",
|
|
140
154
|
children: actions
|
|
141
155
|
});
|
|
142
|
-
$[
|
|
143
|
-
$[
|
|
144
|
-
} else
|
|
145
|
-
let
|
|
146
|
-
if ($[
|
|
147
|
-
|
|
156
|
+
$[34] = actions;
|
|
157
|
+
$[35] = t15;
|
|
158
|
+
} else t15 = $[35];
|
|
159
|
+
let t16;
|
|
160
|
+
if ($[36] !== t12 || $[37] !== t13 || $[38] !== t14 || $[39] !== t15) {
|
|
161
|
+
t16 = /* @__PURE__ */ jsxs("div", {
|
|
148
162
|
className: "k-feedback-panel-main",
|
|
149
163
|
children: [
|
|
150
|
-
t11,
|
|
151
164
|
t12,
|
|
152
165
|
t13,
|
|
153
|
-
t14
|
|
166
|
+
t14,
|
|
167
|
+
t15
|
|
154
168
|
]
|
|
155
169
|
});
|
|
156
|
-
$[
|
|
157
|
-
$[
|
|
158
|
-
$[
|
|
159
|
-
$[
|
|
160
|
-
$[
|
|
161
|
-
} else
|
|
162
|
-
let
|
|
163
|
-
if ($[
|
|
164
|
-
|
|
170
|
+
$[36] = t12;
|
|
171
|
+
$[37] = t13;
|
|
172
|
+
$[38] = t14;
|
|
173
|
+
$[39] = t15;
|
|
174
|
+
$[40] = t16;
|
|
175
|
+
} else t16 = $[40];
|
|
176
|
+
let t17;
|
|
177
|
+
if ($[41] !== rest || $[42] !== t10 || $[43] !== t11 || $[44] !== t16) {
|
|
178
|
+
t17 = /* @__PURE__ */ jsxs("section", {
|
|
165
179
|
...rest,
|
|
166
|
-
className:
|
|
180
|
+
className: t10,
|
|
167
181
|
"aria-live": "polite",
|
|
168
|
-
children: [
|
|
182
|
+
children: [t11, t16]
|
|
169
183
|
});
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
$[
|
|
173
|
-
$[
|
|
174
|
-
$[
|
|
175
|
-
} else
|
|
176
|
-
return
|
|
184
|
+
$[41] = rest;
|
|
185
|
+
$[42] = t10;
|
|
186
|
+
$[43] = t11;
|
|
187
|
+
$[44] = t16;
|
|
188
|
+
$[45] = t17;
|
|
189
|
+
} else t17 = $[45];
|
|
190
|
+
return t17;
|
|
177
191
|
}
|
|
178
192
|
//#endregion
|
|
179
193
|
export { FeedbackPanel as default };
|
package/es/flame-wrap/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { createFlameWrap, supportsHtmlInCanvas } from "./types.js";
|
|
9
|
+
import { createFlameWrap, htmlInCanvasMarkup, supportsHtmlInCanvas } from "./types.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -18,7 +18,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
18
18
|
*/
|
|
19
19
|
var emptySubscribe = () => () => {};
|
|
20
20
|
function FlameWrap(t0) {
|
|
21
|
-
const $ = c(
|
|
21
|
+
const $ = c(52);
|
|
22
22
|
let children;
|
|
23
23
|
let className;
|
|
24
24
|
let options;
|
|
@@ -46,11 +46,17 @@ function FlameWrap(t0) {
|
|
|
46
46
|
const [contentHeight, setContentHeight] = useState();
|
|
47
47
|
const supported = useSyncExternalStore(emptySubscribe, supportsHtmlInCanvas, _temp);
|
|
48
48
|
const native = supported && !failed && nativeReady;
|
|
49
|
+
let t1;
|
|
50
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
51
|
+
t1 = htmlInCanvasMarkup();
|
|
52
|
+
$[5] = t1;
|
|
53
|
+
} else t1 = $[5];
|
|
54
|
+
const markup = t1;
|
|
49
55
|
const reach = Math.round(Math.max(options.height ?? 170, 24) * 1.5) + 40;
|
|
50
56
|
const glow = Math.round(Math.max(options.spread ?? 8, 8) * 3) + 16;
|
|
51
|
-
let
|
|
52
|
-
if ($[
|
|
53
|
-
|
|
57
|
+
let t2;
|
|
58
|
+
if ($[6] !== failed || $[7] !== supported) {
|
|
59
|
+
t2 = () => {
|
|
54
60
|
if (!supported || failed) return;
|
|
55
61
|
const content = contentRef.current;
|
|
56
62
|
if (!content) return;
|
|
@@ -68,27 +74,27 @@ function FlameWrap(t0) {
|
|
|
68
74
|
observer.disconnect();
|
|
69
75
|
};
|
|
70
76
|
};
|
|
71
|
-
$[
|
|
72
|
-
$[
|
|
73
|
-
$[
|
|
74
|
-
} else
|
|
75
|
-
let
|
|
76
|
-
if ($[
|
|
77
|
-
|
|
77
|
+
$[6] = failed;
|
|
78
|
+
$[7] = supported;
|
|
79
|
+
$[8] = t2;
|
|
80
|
+
} else t2 = $[8];
|
|
81
|
+
let t3;
|
|
82
|
+
if ($[9] !== failed || $[10] !== native || $[11] !== supported) {
|
|
83
|
+
t3 = [
|
|
78
84
|
failed,
|
|
79
85
|
native,
|
|
80
86
|
supported
|
|
81
87
|
];
|
|
82
|
-
$[
|
|
83
|
-
$[
|
|
84
|
-
$[
|
|
85
|
-
$[
|
|
86
|
-
} else
|
|
87
|
-
useLayoutEffect(
|
|
88
|
-
let t3;
|
|
88
|
+
$[9] = failed;
|
|
89
|
+
$[10] = native;
|
|
90
|
+
$[11] = supported;
|
|
91
|
+
$[12] = t3;
|
|
92
|
+
} else t3 = $[12];
|
|
93
|
+
useLayoutEffect(t2, t3);
|
|
89
94
|
let t4;
|
|
90
|
-
|
|
91
|
-
|
|
95
|
+
let t5;
|
|
96
|
+
if ($[13] !== failed || $[14] !== initialOptions || $[15] !== native || $[16] !== nativeReady || $[17] !== supported) {
|
|
97
|
+
t4 = () => {
|
|
92
98
|
if (supported && !nativeReady && !failed) return;
|
|
93
99
|
const source = sourceRef.current;
|
|
94
100
|
const content_0 = contentRef.current;
|
|
@@ -105,67 +111,68 @@ function FlameWrap(t0) {
|
|
|
105
111
|
instanceRef.current = null;
|
|
106
112
|
};
|
|
107
113
|
};
|
|
108
|
-
|
|
114
|
+
t5 = [
|
|
109
115
|
failed,
|
|
110
116
|
initialOptions,
|
|
111
117
|
native,
|
|
112
118
|
nativeReady,
|
|
113
119
|
supported
|
|
114
120
|
];
|
|
115
|
-
$[
|
|
116
|
-
$[
|
|
117
|
-
$[
|
|
118
|
-
$[
|
|
119
|
-
$[
|
|
120
|
-
$[17] = t3;
|
|
121
|
+
$[13] = failed;
|
|
122
|
+
$[14] = initialOptions;
|
|
123
|
+
$[15] = native;
|
|
124
|
+
$[16] = nativeReady;
|
|
125
|
+
$[17] = supported;
|
|
121
126
|
$[18] = t4;
|
|
127
|
+
$[19] = t5;
|
|
122
128
|
} else {
|
|
123
|
-
t3 = $[17];
|
|
124
129
|
t4 = $[18];
|
|
130
|
+
t5 = $[19];
|
|
125
131
|
}
|
|
126
|
-
useEffect(
|
|
127
|
-
let
|
|
128
|
-
if ($[
|
|
129
|
-
|
|
132
|
+
useEffect(t4, t5);
|
|
133
|
+
let t6;
|
|
134
|
+
if ($[20] !== options) {
|
|
135
|
+
t6 = () => {
|
|
130
136
|
instanceRef.current?.setOptions(options);
|
|
131
137
|
};
|
|
132
|
-
$[
|
|
133
|
-
$[
|
|
134
|
-
} else
|
|
135
|
-
useEffect(
|
|
136
|
-
let t6;
|
|
137
|
-
if ($[21] !== contentHeight || $[22] !== native) {
|
|
138
|
-
t6 = native ? { height: contentHeight } : null;
|
|
139
|
-
$[21] = contentHeight;
|
|
140
|
-
$[22] = native;
|
|
141
|
-
$[23] = t6;
|
|
142
|
-
} else t6 = $[23];
|
|
138
|
+
$[20] = options;
|
|
139
|
+
$[21] = t6;
|
|
140
|
+
} else t6 = $[21];
|
|
141
|
+
useEffect(t6);
|
|
143
142
|
let t7;
|
|
144
|
-
if ($[
|
|
145
|
-
t7 = {
|
|
143
|
+
if ($[22] !== contentHeight || $[23] !== native) {
|
|
144
|
+
t7 = native ? { height: contentHeight } : null;
|
|
145
|
+
$[22] = contentHeight;
|
|
146
|
+
$[23] = native;
|
|
147
|
+
$[24] = t7;
|
|
148
|
+
} else t7 = $[24];
|
|
149
|
+
let t8;
|
|
150
|
+
if ($[25] !== style || $[26] !== t7) {
|
|
151
|
+
t8 = {
|
|
146
152
|
position: "relative",
|
|
147
|
-
...
|
|
153
|
+
...t7,
|
|
148
154
|
...style
|
|
149
155
|
};
|
|
150
|
-
$[
|
|
151
|
-
$[25] = t6;
|
|
156
|
+
$[25] = style;
|
|
152
157
|
$[26] = t7;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
$[27] = t8;
|
|
159
|
+
} else t8 = $[27];
|
|
160
|
+
let t9;
|
|
161
|
+
if ($[28] !== native) {
|
|
162
|
+
t9 = native ? {
|
|
157
163
|
position: "absolute",
|
|
158
164
|
inset: 0,
|
|
159
165
|
width: "100%",
|
|
160
166
|
height: "100%"
|
|
161
167
|
} : { display: "none" };
|
|
162
|
-
$[
|
|
163
|
-
$[
|
|
164
|
-
} else
|
|
165
|
-
let
|
|
166
|
-
if ($[
|
|
167
|
-
|
|
168
|
+
$[28] = native;
|
|
169
|
+
$[29] = t9;
|
|
170
|
+
} else t9 = $[29];
|
|
171
|
+
let t10;
|
|
172
|
+
if ($[30] !== children || $[31] !== native) {
|
|
173
|
+
t10 = native ? /* @__PURE__ */ jsx("div", {
|
|
168
174
|
ref: contentRef,
|
|
175
|
+
...markup.element,
|
|
169
176
|
style: {
|
|
170
177
|
position: "relative",
|
|
171
178
|
width: "100%",
|
|
@@ -173,26 +180,26 @@ function FlameWrap(t0) {
|
|
|
173
180
|
},
|
|
174
181
|
children
|
|
175
182
|
}) : null;
|
|
176
|
-
$[
|
|
177
|
-
$[
|
|
178
|
-
$[
|
|
179
|
-
} else
|
|
180
|
-
let
|
|
181
|
-
if ($[
|
|
182
|
-
|
|
183
|
+
$[30] = children;
|
|
184
|
+
$[31] = native;
|
|
185
|
+
$[32] = t10;
|
|
186
|
+
} else t10 = $[32];
|
|
187
|
+
let t11;
|
|
188
|
+
if ($[33] !== t10 || $[34] !== t9) {
|
|
189
|
+
t11 = /* @__PURE__ */ jsx("canvas", {
|
|
183
190
|
ref: sourceRef,
|
|
184
|
-
|
|
191
|
+
...markup.canvas,
|
|
185
192
|
suppressHydrationWarning: true,
|
|
186
|
-
style:
|
|
187
|
-
children:
|
|
193
|
+
style: t9,
|
|
194
|
+
children: t10
|
|
188
195
|
});
|
|
189
|
-
$[
|
|
190
|
-
$[
|
|
191
|
-
$[
|
|
192
|
-
} else
|
|
193
|
-
let
|
|
194
|
-
if ($[
|
|
195
|
-
|
|
196
|
+
$[33] = t10;
|
|
197
|
+
$[34] = t9;
|
|
198
|
+
$[35] = t11;
|
|
199
|
+
} else t11 = $[35];
|
|
200
|
+
let t12;
|
|
201
|
+
if ($[36] !== children || $[37] !== native) {
|
|
202
|
+
t12 = !native ? /* @__PURE__ */ jsx("div", {
|
|
196
203
|
ref: contentRef,
|
|
197
204
|
style: {
|
|
198
205
|
position: "relative",
|
|
@@ -201,59 +208,59 @@ function FlameWrap(t0) {
|
|
|
201
208
|
},
|
|
202
209
|
children
|
|
203
210
|
}) : null;
|
|
204
|
-
$[
|
|
205
|
-
$[
|
|
206
|
-
$[
|
|
207
|
-
} else
|
|
208
|
-
const
|
|
209
|
-
const t13 = -glow;
|
|
211
|
+
$[36] = children;
|
|
212
|
+
$[37] = native;
|
|
213
|
+
$[38] = t12;
|
|
214
|
+
} else t12 = $[38];
|
|
215
|
+
const t13 = -reach;
|
|
210
216
|
const t14 = -glow;
|
|
211
217
|
const t15 = -glow;
|
|
212
|
-
const t16 =
|
|
213
|
-
const t17 = `calc(100% + ${
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
218
|
+
const t16 = -glow;
|
|
219
|
+
const t17 = `calc(100% + ${glow * 2}px)`;
|
|
220
|
+
const t18 = `calc(100% + ${reach + glow}px)`;
|
|
221
|
+
let t19;
|
|
222
|
+
if ($[39] !== t13 || $[40] !== t14 || $[41] !== t15 || $[42] !== t16 || $[43] !== t17 || $[44] !== t18) {
|
|
223
|
+
t19 = /* @__PURE__ */ jsx("canvas", {
|
|
217
224
|
ref: outputRef,
|
|
218
225
|
"aria-hidden": true,
|
|
219
226
|
style: {
|
|
220
227
|
position: "absolute",
|
|
221
|
-
top:
|
|
222
|
-
right:
|
|
223
|
-
bottom:
|
|
224
|
-
left:
|
|
225
|
-
width:
|
|
226
|
-
height:
|
|
228
|
+
top: t13,
|
|
229
|
+
right: t14,
|
|
230
|
+
bottom: t15,
|
|
231
|
+
left: t16,
|
|
232
|
+
width: t17,
|
|
233
|
+
height: t18,
|
|
227
234
|
pointerEvents: "none"
|
|
228
235
|
}
|
|
229
236
|
});
|
|
230
|
-
$[38] = t12;
|
|
231
237
|
$[39] = t13;
|
|
232
238
|
$[40] = t14;
|
|
233
239
|
$[41] = t15;
|
|
234
240
|
$[42] = t16;
|
|
235
241
|
$[43] = t17;
|
|
236
242
|
$[44] = t18;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
243
|
+
$[45] = t19;
|
|
244
|
+
} else t19 = $[45];
|
|
245
|
+
let t20;
|
|
246
|
+
if ($[46] !== className || $[47] !== t11 || $[48] !== t12 || $[49] !== t19 || $[50] !== t8) {
|
|
247
|
+
t20 = /* @__PURE__ */ jsxs("div", {
|
|
241
248
|
className,
|
|
242
|
-
style:
|
|
249
|
+
style: t8,
|
|
243
250
|
children: [
|
|
244
|
-
t10,
|
|
245
251
|
t11,
|
|
246
|
-
|
|
252
|
+
t12,
|
|
253
|
+
t19
|
|
247
254
|
]
|
|
248
255
|
});
|
|
249
|
-
$[
|
|
250
|
-
$[46] = t10;
|
|
256
|
+
$[46] = className;
|
|
251
257
|
$[47] = t11;
|
|
252
|
-
$[48] =
|
|
253
|
-
$[49] =
|
|
254
|
-
$[50] =
|
|
255
|
-
|
|
256
|
-
|
|
258
|
+
$[48] = t12;
|
|
259
|
+
$[49] = t19;
|
|
260
|
+
$[50] = t8;
|
|
261
|
+
$[51] = t20;
|
|
262
|
+
} else t20 = $[51];
|
|
263
|
+
return t20;
|
|
257
264
|
}
|
|
258
265
|
function _temp() {
|
|
259
266
|
return false;
|