jialh
2025-01-06 4d6d772771d2da54a4887d60f3b2ea21a72b3d7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.COMPONENT_DEPS_CSS = exports.API_DEPS_CSS = void 0;
const constants_1 = require("./constants");
const RESIZE_SENSOR_CSS = constants_1.BASE_COMPONENTS_STYLE_PATH + 'resize-sensor.css';
exports.API_DEPS_CSS = {
    showModal: [`${constants_1.H5_API_STYLE_PATH}modal.css`],
    showToast: [`${constants_1.H5_API_STYLE_PATH}toast.css`],
    showActionSheet: [`${constants_1.H5_API_STYLE_PATH}action-sheet.css`],
    previewImage: [
        RESIZE_SENSOR_CSS,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}swiper.css`,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}swiper-item.css`,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}movable-area.css`,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}movable-view.css`,
    ],
    openLocation: [`${constants_1.H5_API_STYLE_PATH}location-view.css`],
    chooseLocation: [
        `${constants_1.H5_API_STYLE_PATH}/location-picker.css`,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}/input.css`,
        `${constants_1.H5_COMPONENTS_STYLE_PATH}/map.css`,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}/scroll-view.css`,
    ],
};
exports.COMPONENT_DEPS_CSS = {
    canvas: [RESIZE_SENSOR_CSS],
    image: [RESIZE_SENSOR_CSS],
    'movable-area': [RESIZE_SENSOR_CSS],
    'picker-view': [RESIZE_SENSOR_CSS],
    'picker-view-column': [RESIZE_SENSOR_CSS],
    'rich-text': [RESIZE_SENSOR_CSS],
    textarea: [RESIZE_SENSOR_CSS],
    'web-view': [RESIZE_SENSOR_CSS],
    picker: [
        RESIZE_SENSOR_CSS,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}picker-view.css`,
        `${constants_1.BASE_COMPONENTS_STYLE_PATH}picker-view-column.css`,
    ],
};