@pisell/materials 1.0.472 → 1.0.474
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 +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -18
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +17 -17
- package/es/components/cardMetricItem/index.less +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/index.less +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +4 -3
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +41 -17
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.js +4 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +3 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.js +4 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +10 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +15 -0
- package/es/components/dataSourceComponents/dataSourceShow/utils.d.ts +6 -0
- package/es/components/dataSourceComponents/dataSourceShow/utils.js +82 -0
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +33 -139
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +25 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +162 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +8 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.js +135 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +35 -39
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +20 -4
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +65 -11
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +17 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +105 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +77 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +245 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +20 -7
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +41 -12
- package/es/components/dataSourceComponents/dataSourceTable/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/index.js +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/index.less +5 -0
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +57 -9
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +7 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +23 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -4
- package/es/components/dataSourceComponents/dataSourceWrapper/index.js +17 -2
- package/es/components/dataSourceComponents/fields/Checkbox/ReadPretty.js +7 -1
- package/es/components/dataSourceComponents/fields/Checkbox/index.js +3 -1
- package/es/components/dataSourceComponents/fields/DatePicker/index.js +5 -1
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.js +7 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/WithMode.js +5 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/index.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/index.js +5 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/index.less +14 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/type.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/type.js +1 -0
- package/es/components/dataSourceComponents/fields/Input/index.d.ts +6 -1
- package/es/components/dataSourceComponents/fields/Input/index.js +4 -0
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.js +5 -0
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +17 -0
- package/es/components/dataSourceComponents/fields/Input.Email/index.d.ts +3 -0
- package/es/components/dataSourceComponents/fields/Input.Email/index.js +4 -0
- package/es/components/dataSourceComponents/fields/Input.Email/type.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Input.Email/type.js +1 -0
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +41 -1
- package/es/components/dataSourceComponents/fields/Input.Json/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/ReadPretty.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +5 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +12 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/index.d.ts +3 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/index.js +4 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/type.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/type.js +1 -0
- package/es/components/dataSourceComponents/fields/InputNumber/index.js +5 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +46 -5
- package/es/components/dataSourceComponents/fields/index.js +7 -2
- package/es/components/dataSourceComponents/fields/type.d.ts +18 -0
- package/es/components/dataSourceComponents/fields/type.js +1 -0
- package/es/components/dataSourceComponents/fields/utils.d.ts +3 -0
- package/es/components/dataSourceComponents/fields/utils.js +111 -0
- package/es/components/dataSourceComponents/hooks/useActions.js +22 -7
- package/es/components/dataSourceComponents/hooks/useComponentId.d.ts +2 -0
- package/es/components/dataSourceComponents/hooks/useComponentId.js +9 -0
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +19 -2
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.d.ts +1 -1
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +37 -27
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +3 -2
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +19 -13
- package/es/components/dataSourceComponents/provider/variables/utils.d.ts +2 -0
- package/es/components/dataSourceComponents/provider/variables/utils.js +9 -0
- package/es/components/filter/components/Dropdown/index.d.ts +1 -0
- package/es/components/filter/components/Dropdown/index.js +6 -2
- package/es/components/filter/components/FilterButton/index.js +5 -3
- package/es/components/filter/components/FilterButton/types.d.ts +2 -0
- package/es/components/pisellAnchor/index.less +77 -77
- package/es/components/pisellStatisticList/index.less +1 -1
- package/es/components/pisellWalletPassCard/index.js +3 -1
- package/es/components/pisellWalletPassCard/index.less +23 -9
- package/es/components/table/Actions/index.js +16 -7
- package/es/components/table/Gallery/index.d.ts +3 -3
- package/es/components/table/Gallery/index.js +25 -7
- package/es/components/table/Gallery/index.less +1 -0
- package/es/components/table/Header/index.d.ts +10 -3
- package/es/components/table/Header/index.js +37 -11
- package/es/components/table/Header/index.less +10 -2
- package/es/components/table/Table/utils.js +4 -0
- package/es/components/table/Tabs/index.d.ts +14 -0
- package/es/components/table/Tabs/index.js +37 -0
- package/es/components/table/hooks/useTriggerValuesChange.js +3 -0
- package/es/components/table/index.js +16 -3
- package/es/components/table/types.d.ts +14 -2
- package/es/components/typography/index.d.ts +2 -2
- package/es/components/typography/index.js +4 -3
- package/es/components/walletCard/index.d.ts +6 -4
- package/es/components/walletCard/index.js +34 -15
- package/es/index.d.ts +4 -0
- package/es/index.js +5 -1
- package/es/locales/en-US.d.ts +7 -0
- package/es/locales/en-US.js +16 -1
- package/es/locales/zh-CN.d.ts +7 -0
- package/es/locales/zh-CN.js +16 -1
- package/es/locales/zh-TW.d.ts +7 -0
- package/es/locales/zh-TW.js +16 -1
- package/lib/components/cardMetricItem/index.less +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/index.less +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/serve.js +3 -2
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +58 -11
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.js +38 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.js +38 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +10 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +44 -0
- package/lib/components/dataSourceComponents/dataSourceShow/utils.d.ts +6 -0
- package/lib/components/dataSourceComponents/dataSourceShow/utils.js +95 -0
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +29 -90
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +25 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +176 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +8 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.js +176 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +24 -37
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +20 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +53 -7
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.d.ts +17 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +73 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +77 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +236 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +20 -7
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +38 -11
- package/lib/components/dataSourceComponents/dataSourceTable/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/index.js +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/index.less +5 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +57 -9
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +7 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +51 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -4
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.js +14 -2
- package/lib/components/dataSourceComponents/fields/Checkbox/ReadPretty.js +3 -1
- package/lib/components/dataSourceComponents/fields/Checkbox/index.js +3 -1
- package/lib/components/dataSourceComponents/fields/DatePicker/index.js +5 -1
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.js +41 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/WithMode.js +42 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/index.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/index.js +39 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/index.less +14 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/type.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/Input/index.d.ts +6 -1
- package/lib/components/dataSourceComponents/fields/Input/index.js +4 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.js +39 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/WithMode.js +57 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/index.js +38 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/type.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.js +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Json/WithMode.js +30 -2
- package/lib/components/dataSourceComponents/fields/Input.Json/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +39 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +43 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/index.d.ts +3 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/index.js +38 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/type.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/InputNumber/index.js +5 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +46 -5
- package/lib/components/dataSourceComponents/fields/index.js +6 -1
- package/lib/components/dataSourceComponents/fields/type.d.ts +18 -0
- package/lib/components/dataSourceComponents/fields/type.js +17 -0
- package/lib/components/dataSourceComponents/fields/utils.d.ts +3 -0
- package/lib/components/dataSourceComponents/fields/utils.js +134 -0
- package/lib/components/dataSourceComponents/hooks/useActions.js +14 -5
- package/lib/components/dataSourceComponents/hooks/useComponentId.d.ts +2 -0
- package/lib/components/dataSourceComponents/hooks/useComponentId.js +32 -0
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +19 -2
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.d.ts +1 -1
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +29 -16
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +3 -2
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +17 -8
- package/lib/components/dataSourceComponents/provider/variables/utils.d.ts +2 -0
- package/lib/components/dataSourceComponents/provider/variables/utils.js +15 -2
- package/lib/components/filter/components/Dropdown/index.d.ts +1 -0
- package/lib/components/filter/components/Dropdown/index.js +6 -2
- package/lib/components/filter/components/FilterButton/index.js +5 -3
- package/lib/components/filter/components/FilterButton/types.d.ts +2 -0
- package/lib/components/pisellAnchor/index.less +77 -77
- package/lib/components/pisellStatisticList/index.less +1 -1
- package/lib/components/pisellWalletPassCard/index.js +1 -1
- package/lib/components/pisellWalletPassCard/index.less +23 -9
- package/lib/components/table/Actions/index.js +18 -9
- package/lib/components/table/Gallery/index.d.ts +3 -3
- package/lib/components/table/Gallery/index.js +17 -0
- package/lib/components/table/Gallery/index.less +1 -0
- package/lib/components/table/Header/index.d.ts +10 -3
- package/lib/components/table/Header/index.js +29 -4
- package/lib/components/table/Header/index.less +10 -2
- package/lib/components/table/Table/utils.js +4 -0
- package/lib/components/table/Tabs/index.d.ts +14 -0
- package/lib/components/table/Tabs/index.js +70 -0
- package/lib/components/table/hooks/useTriggerValuesChange.js +3 -0
- package/lib/components/table/index.js +17 -2
- package/lib/components/table/types.d.ts +14 -2
- package/lib/components/typography/index.d.ts +2 -2
- package/lib/components/typography/index.js +4 -3
- package/lib/components/walletCard/index.d.ts +6 -4
- package/lib/components/walletCard/index.js +24 -13
- package/lib/index.d.ts +4 -0
- package/lib/index.js +12 -0
- package/lib/locales/en-US.d.ts +7 -0
- package/lib/locales/en-US.js +8 -1
- package/lib/locales/zh-CN.d.ts +7 -0
- package/lib/locales/zh-CN.js +8 -1
- package/lib/locales/zh-TW.d.ts +7 -0
- package/lib/locales/zh-TW.js +8 -1
- package/lowcode/_utils/defaultSchema.ts +452 -83
- package/lowcode/_utils/type.ts +5 -0
- package/lowcode/_utils/utils.ts +1 -0
- package/lowcode/button/meta.ts +1 -2
- package/lowcode/data-source-form/constants.ts +5 -0
- package/lowcode/data-source-form/meta.ts +259 -273
- package/lowcode/data-source-form/snippets.ts +9 -0
- package/lowcode/data-source-form/utils.ts +80 -15
- package/lowcode/data-source-image/meta.ts +74 -0
- package/lowcode/data-source-image/snippets.ts +14 -0
- package/lowcode/data-source-qrcode/meta.ts +158 -0
- package/lowcode/data-source-qrcode/snippets.ts +20 -0
- package/lowcode/data-source-table/meta.ts +4577 -2285
- package/lowcode/data-source-table/snippets.ts +10 -4
- package/lowcode/data-source-table/utils.tsx +254 -0
- package/lowcode/data-source-typography/meta.ts +54 -0
- package/lowcode/data-source-typography.text/meta.ts +212 -0
- package/lowcode/data-source-typography.text/snippets.ts +12 -0
- package/lowcode/data-source-wrapper/meta.ts +243 -0
- package/lowcode/data-source-wrapper/snippets.ts +11 -0
- package/lowcode/data-source-wrapper/utils.ts +45 -0
- package/lowcode/form-item-color-picker/snippets.ts +1 -0
- package/lowcode/form-item-input/meta.ts +2 -1
- package/lowcode/form-item-input/snippets.ts +2 -1
- package/lowcode/form-item-input.email/meta.ts +284 -0
- package/lowcode/form-item-input.email/snippets.ts +35 -0
- package/lowcode/form-item-input.phone/meta.ts +295 -0
- package/lowcode/form-item-input.phone/snippets.ts +16 -0
- package/lowcode/form-item-input.text-area/meta.ts +243 -32
- package/lowcode/form-item-input.text-area/snippets.ts +2 -1
- package/lowcode/form-item-input.url/meta.ts +44 -20
- package/lowcode/form-item-input.url/snippets.ts +5 -5
- package/lowcode/table/snippets.ts +6 -0
- package/lowcode/test/meta.ts +1 -2
- package/package.json +4 -4
|
@@ -47,16 +47,20 @@ var useActions = ({
|
|
|
47
47
|
const { parseVariable } = (0, import_useVariables.default)();
|
|
48
48
|
const { parseActions } = (0, import_useParseActionsVariable.default)();
|
|
49
49
|
const currentDataSource = propsDataSource || ctxDataSource;
|
|
50
|
-
const currentValue = propsCurrentValue;
|
|
50
|
+
const currentValue = propsCurrentValue || "server";
|
|
51
51
|
const {
|
|
52
52
|
isCustomApi,
|
|
53
53
|
actions: originalActions,
|
|
54
54
|
options,
|
|
55
55
|
headerDataSource,
|
|
56
56
|
name,
|
|
57
|
-
dataSourceKey
|
|
57
|
+
dataSourceKey,
|
|
58
|
+
fields
|
|
58
59
|
} = currentDataSource || {};
|
|
59
|
-
const { formatListResult, formatListParams } = (0, import_useFormat.default)({
|
|
60
|
+
const { formatListResult, formatListParams } = (0, import_useFormat.default)({
|
|
61
|
+
dataSourceKey: dataSourceKey || "",
|
|
62
|
+
fields: fields || []
|
|
63
|
+
});
|
|
60
64
|
const getParsedActions = (0, import_ahooks.useMemoizedFn)(() => {
|
|
61
65
|
return parseActions(originalActions, {});
|
|
62
66
|
});
|
|
@@ -93,6 +97,8 @@ var useActions = ({
|
|
|
93
97
|
const createApi = genCustomApi(actions == null ? void 0 : actions.create);
|
|
94
98
|
return createApi(values);
|
|
95
99
|
} else {
|
|
100
|
+
if (!name)
|
|
101
|
+
return {};
|
|
96
102
|
return (0, import_serve.createNocobaseData)({
|
|
97
103
|
key: name,
|
|
98
104
|
data: values,
|
|
@@ -126,14 +132,15 @@ var useActions = ({
|
|
|
126
132
|
return updateApi(values);
|
|
127
133
|
} else {
|
|
128
134
|
const id = values == null ? void 0 : values.id;
|
|
129
|
-
if (!id) {
|
|
135
|
+
if (!id || !name) {
|
|
130
136
|
import_antd.message.error("请先获取数据");
|
|
131
137
|
return Promise.reject();
|
|
132
138
|
}
|
|
133
139
|
return (0, import_serve.updateNocobaseData)({
|
|
134
140
|
key: name,
|
|
135
141
|
id,
|
|
136
|
-
data: values
|
|
142
|
+
data: values,
|
|
143
|
+
headers: getHeaders()
|
|
137
144
|
});
|
|
138
145
|
}
|
|
139
146
|
});
|
|
@@ -168,6 +175,8 @@ var useActions = ({
|
|
|
168
175
|
const deleteApi = genCustomApi(actions == null ? void 0 : actions.destroy);
|
|
169
176
|
return deleteApi({});
|
|
170
177
|
}
|
|
178
|
+
if (!name)
|
|
179
|
+
return;
|
|
171
180
|
return (0, import_serve.deleteNocobaseData)(name, id, getHeaders());
|
|
172
181
|
});
|
|
173
182
|
return {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/dataSourceComponents/hooks/useComponentId.ts
|
|
20
|
+
var useComponentId_exports = {};
|
|
21
|
+
__export(useComponentId_exports, {
|
|
22
|
+
default: () => useComponentId_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(useComponentId_exports);
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
var useComponentId = (props) => {
|
|
27
|
+
const { __id, componentId } = props;
|
|
28
|
+
return (0, import_react.useMemo)(() => {
|
|
29
|
+
return __id || componentId;
|
|
30
|
+
}, [__id, componentId]);
|
|
31
|
+
};
|
|
32
|
+
var useComponentId_default = useComponentId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Result } from 'ahooks/es/useRequest/src/types';
|
|
3
3
|
import { ActionsItem } from '../../dataSourceForm/serve';
|
|
4
|
-
interface Field {
|
|
4
|
+
export interface Field {
|
|
5
5
|
name: string;
|
|
6
6
|
type: string;
|
|
7
7
|
allowNull: boolean;
|
|
@@ -57,6 +57,7 @@ export declare type DataSourceType = {
|
|
|
57
57
|
introspected: boolean;
|
|
58
58
|
isCustomApi: boolean;
|
|
59
59
|
key: string;
|
|
60
|
+
tableName: string;
|
|
60
61
|
logging: boolean;
|
|
61
62
|
name: string;
|
|
62
63
|
title: string;
|
|
@@ -72,9 +73,25 @@ export declare type DataSourceContextProps = {
|
|
|
72
73
|
dataSource: DataSourceType;
|
|
73
74
|
children?: React.ReactNode;
|
|
74
75
|
currentValue?: string;
|
|
76
|
+
actions?: {
|
|
77
|
+
list?: () => Promise<any>;
|
|
78
|
+
get?: () => Promise<any>;
|
|
79
|
+
update?: () => Promise<any>;
|
|
80
|
+
create?: () => Promise<any>;
|
|
81
|
+
destroy?: () => Promise<any>;
|
|
82
|
+
};
|
|
83
|
+
overrideData?: {
|
|
84
|
+
list?: any;
|
|
85
|
+
get?: any;
|
|
86
|
+
};
|
|
87
|
+
autoRun?: {
|
|
88
|
+
list?: boolean;
|
|
89
|
+
get?: boolean;
|
|
90
|
+
};
|
|
91
|
+
__id?: string;
|
|
75
92
|
};
|
|
76
93
|
export interface DataSourceContextType {
|
|
77
|
-
dataSource
|
|
94
|
+
dataSource?: DataSourceType;
|
|
78
95
|
list: Result<any, any>;
|
|
79
96
|
destroy: Result<any, any>;
|
|
80
97
|
get: Result<any, any>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { DataSourceContextProps } from './DataSourceContext';
|
|
3
3
|
/**
|
|
4
4
|
* @title: DataSource Provider
|
|
5
|
-
* @description:
|
|
5
|
+
* @description: 提供页面配置的数据源,支持外部传入Promise接口、自动调用配置和直接数据
|
|
6
6
|
*/
|
|
7
7
|
declare const DataSourceProvider: React.FC<DataSourceContextProps>;
|
|
8
8
|
export default DataSourceProvider;
|
|
@@ -38,29 +38,35 @@ var import_utils = require("@pisell/utils");
|
|
|
38
38
|
var import_DataSourceContext = __toESM(require("./DataSourceContext"));
|
|
39
39
|
var import_useActions = __toESM(require("../../hooks/useActions"));
|
|
40
40
|
var import_useVariables = __toESM(require("../../hooks/useVariables"));
|
|
41
|
-
var import_useDataSource = __toESM(require("../../hooks/useDataSource"));
|
|
42
41
|
var import_useSetRequest = __toESM(require("../../../../hooks/useSetRequest"));
|
|
43
42
|
var DataSourceProvider = (props) => {
|
|
44
|
-
const {
|
|
43
|
+
const {
|
|
44
|
+
children,
|
|
45
|
+
dataSource: propsDataSource,
|
|
46
|
+
currentValue,
|
|
47
|
+
actions: externalActions,
|
|
48
|
+
overrideData,
|
|
49
|
+
autoRun
|
|
50
|
+
} = props;
|
|
45
51
|
(0, import_useSetRequest.default)();
|
|
46
52
|
const { parseVariable } = (0, import_useVariables.default)();
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
global: {
|
|
50
|
-
currentDataSource: ctxDataSource
|
|
51
|
-
}
|
|
52
|
-
}) : propsDataSource;
|
|
53
|
-
const { list, get, update, create, destroy } = (0, import_useActions.default)({
|
|
53
|
+
const dataSource = (0, import_utils.isString)(propsDataSource) ? parseVariable == null ? void 0 : parseVariable(propsDataSource) : propsDataSource;
|
|
54
|
+
const standardActions = (0, import_useActions.default)({
|
|
54
55
|
dataSource,
|
|
55
56
|
currentValue
|
|
56
57
|
});
|
|
58
|
+
const list = (externalActions == null ? void 0 : externalActions.list) || standardActions.list;
|
|
59
|
+
const get = (externalActions == null ? void 0 : externalActions.get) || standardActions.get;
|
|
60
|
+
const update = (externalActions == null ? void 0 : externalActions.update) || standardActions.update;
|
|
61
|
+
const create = (externalActions == null ? void 0 : externalActions.create) || standardActions.create;
|
|
62
|
+
const destroy = (externalActions == null ? void 0 : externalActions.destroy) || standardActions.destroy;
|
|
57
63
|
const listResult = (0, import_ahooks.useRequest)(list, {
|
|
58
|
-
manual: true
|
|
59
|
-
});
|
|
60
|
-
const destroyResult = (0, import_ahooks.useRequest)(destroy, {
|
|
61
|
-
manual: true
|
|
64
|
+
manual: (0, import_utils.isBoolean)(autoRun == null ? void 0 : autoRun.list) ? !(autoRun == null ? void 0 : autoRun.list) : true
|
|
62
65
|
});
|
|
63
66
|
const getResult = (0, import_ahooks.useRequest)(get, {
|
|
67
|
+
manual: (0, import_utils.isBoolean)(autoRun == null ? void 0 : autoRun.get) ? !(autoRun == null ? void 0 : autoRun.get) : true
|
|
68
|
+
});
|
|
69
|
+
const destroyResult = (0, import_ahooks.useRequest)(destroy, {
|
|
64
70
|
manual: true
|
|
65
71
|
});
|
|
66
72
|
const updateResult = (0, import_ahooks.useRequest)(update, {
|
|
@@ -72,9 +78,15 @@ var DataSourceProvider = (props) => {
|
|
|
72
78
|
const value = (0, import_react.useMemo)(() => {
|
|
73
79
|
return {
|
|
74
80
|
dataSource,
|
|
75
|
-
list:
|
|
81
|
+
list: {
|
|
82
|
+
...listResult,
|
|
83
|
+
data: (overrideData == null ? void 0 : overrideData.list) || listResult.data
|
|
84
|
+
},
|
|
85
|
+
get: {
|
|
86
|
+
...getResult,
|
|
87
|
+
data: (overrideData == null ? void 0 : overrideData.get) || getResult.data
|
|
88
|
+
},
|
|
76
89
|
destroy: destroyResult,
|
|
77
|
-
get: getResult,
|
|
78
90
|
update: updateResult,
|
|
79
91
|
create: createResult
|
|
80
92
|
};
|
|
@@ -84,7 +96,8 @@ var DataSourceProvider = (props) => {
|
|
|
84
96
|
destroyResult,
|
|
85
97
|
getResult,
|
|
86
98
|
updateResult,
|
|
87
|
-
createResult
|
|
99
|
+
createResult,
|
|
100
|
+
overrideData
|
|
88
101
|
]);
|
|
89
102
|
return /* @__PURE__ */ import_react.default.createElement(import_DataSourceContext.default.Provider, { value }, children);
|
|
90
103
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface VariablesContextType {
|
|
3
|
+
children?: React.ReactNode;
|
|
3
4
|
variables?: Record<string, any>;
|
|
4
5
|
registerVariable?: (value: Record<string, any>) => void;
|
|
6
|
+
parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
|
|
5
7
|
registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
6
8
|
registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
7
|
-
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
+
subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
|
|
9
10
|
}
|
|
10
11
|
export declare const VariablesContext: import("react").Context<VariablesContextType>;
|
|
11
12
|
export default VariablesContext;
|
|
@@ -45,14 +45,10 @@ var defaultCustomizer = (objValue, srcValue) => {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
var VARIABLE_PATTERN = /{{([^}]+)}}/g;
|
|
48
|
-
var getVariableKey = (str) => {
|
|
49
|
-
const reg = /{{([^}]+)}}/;
|
|
50
|
-
const match = str.match(reg);
|
|
51
|
-
return match == null ? void 0 : match[1];
|
|
52
|
-
};
|
|
53
48
|
var VariablesProvider = (props) => {
|
|
54
49
|
const { children, variables } = props;
|
|
55
50
|
const variablesRef = (0, import_react.useRef)({});
|
|
51
|
+
const listenersRef = (0, import_react.useRef)(/* @__PURE__ */ new Set());
|
|
56
52
|
(0, import_react.useEffect)(() => {
|
|
57
53
|
if (variables) {
|
|
58
54
|
variablesRef.current = variables;
|
|
@@ -64,8 +60,19 @@ var VariablesProvider = (props) => {
|
|
|
64
60
|
value2,
|
|
65
61
|
defaultCustomizer
|
|
66
62
|
);
|
|
63
|
+
listenersRef.current.forEach(
|
|
64
|
+
(listener) => listener(variablesRef.current, value2)
|
|
65
|
+
);
|
|
67
66
|
console.log("注册变量", value2, "全部变量", variablesRef.current);
|
|
68
67
|
});
|
|
68
|
+
const subscribeVariables = (0, import_ahooks.useMemoizedFn)(
|
|
69
|
+
(listener) => {
|
|
70
|
+
listenersRef.current.add(listener);
|
|
71
|
+
return () => {
|
|
72
|
+
listenersRef.current.delete(listener);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
);
|
|
69
76
|
const registerValueVariable = (0, import_ahooks.useMemoizedFn)(
|
|
70
77
|
(componentId, value2) => {
|
|
71
78
|
const variable = (0, import_utils4.genComponentValueVariable)(componentId, value2);
|
|
@@ -85,7 +92,7 @@ var VariablesProvider = (props) => {
|
|
|
85
92
|
return str;
|
|
86
93
|
}
|
|
87
94
|
if (((_a = str.match(VARIABLE_PATTERN)) == null ? void 0 : _a[0]) === str) {
|
|
88
|
-
const key = getVariableKey(str);
|
|
95
|
+
const key = (0, import_utils4.getVariableKey)(str);
|
|
89
96
|
if (!key)
|
|
90
97
|
return str;
|
|
91
98
|
const localValue = (0, import_utils2.getNestedValue)(localVariables, key);
|
|
@@ -111,13 +118,15 @@ var VariablesProvider = (props) => {
|
|
|
111
118
|
registerVariable,
|
|
112
119
|
parseVariable,
|
|
113
120
|
registerValueVariable,
|
|
114
|
-
registerFunctionVariable
|
|
121
|
+
registerFunctionVariable,
|
|
122
|
+
subscribeVariables
|
|
115
123
|
}),
|
|
116
124
|
[
|
|
117
125
|
registerVariable,
|
|
118
126
|
parseVariable,
|
|
119
127
|
registerValueVariable,
|
|
120
|
-
registerFunctionVariable
|
|
128
|
+
registerFunctionVariable,
|
|
129
|
+
subscribeVariables
|
|
121
130
|
]
|
|
122
131
|
);
|
|
123
132
|
return /* @__PURE__ */ import_react.default.createElement(import_VariablesContext.default.Provider, { value }, children);
|
|
@@ -20,7 +20,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
var utils_exports = {};
|
|
21
21
|
__export(utils_exports, {
|
|
22
22
|
genComponentFunctionVariable: () => genComponentFunctionVariable,
|
|
23
|
-
genComponentValueVariable: () => genComponentValueVariable
|
|
23
|
+
genComponentValueVariable: () => genComponentValueVariable,
|
|
24
|
+
getVariableKey: () => getVariableKey,
|
|
25
|
+
isVariableKey: () => isVariableKey
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(utils_exports);
|
|
26
28
|
var genComponentValueVariable = (componentId, value) => {
|
|
@@ -41,8 +43,19 @@ var genComponentFunctionVariable = (componentId, value) => {
|
|
|
41
43
|
}
|
|
42
44
|
};
|
|
43
45
|
};
|
|
46
|
+
var isVariableKey = (key) => {
|
|
47
|
+
const reg = /{{([^}]+)}}/;
|
|
48
|
+
return reg.test(key);
|
|
49
|
+
};
|
|
50
|
+
var getVariableKey = (str) => {
|
|
51
|
+
const reg = /{{([^}]+)}}/;
|
|
52
|
+
const match = str.match(reg);
|
|
53
|
+
return match == null ? void 0 : match[1];
|
|
54
|
+
};
|
|
44
55
|
// Annotate the CommonJS export names for ESM import in node:
|
|
45
56
|
0 && (module.exports = {
|
|
46
57
|
genComponentFunctionVariable,
|
|
47
|
-
genComponentValueVariable
|
|
58
|
+
genComponentValueVariable,
|
|
59
|
+
getVariableKey,
|
|
60
|
+
isVariableKey
|
|
48
61
|
});
|
|
@@ -81,7 +81,8 @@ var Dropdown = (props) => {
|
|
|
81
81
|
quickFilterMaxLength,
|
|
82
82
|
formFiltersPrefix,
|
|
83
83
|
onOpen,
|
|
84
|
-
onClose
|
|
84
|
+
onClose,
|
|
85
|
+
renderItem
|
|
85
86
|
} = props;
|
|
86
87
|
const list = (0, import_react.useMemo)(() => {
|
|
87
88
|
return {
|
|
@@ -130,7 +131,10 @@ var Dropdown = (props) => {
|
|
|
130
131
|
listeners,
|
|
131
132
|
style
|
|
132
133
|
},
|
|
133
|
-
|
|
134
|
+
renderItem ? renderItem(item, {
|
|
135
|
+
onOpen,
|
|
136
|
+
onClose
|
|
137
|
+
}) : /* @__PURE__ */ import_react.default.createElement(
|
|
134
138
|
import_FilterItem.default,
|
|
135
139
|
{
|
|
136
140
|
key: name.join("-"),
|
|
@@ -42,7 +42,8 @@ var Filter = ({
|
|
|
42
42
|
value,
|
|
43
43
|
onChange,
|
|
44
44
|
quickFilterMaxLength,
|
|
45
|
-
formFiltersPrefix
|
|
45
|
+
formFiltersPrefix,
|
|
46
|
+
renderItem
|
|
46
47
|
}) => {
|
|
47
48
|
const ref = (0, import_react.useRef)(null);
|
|
48
49
|
const [open, setOpen] = (0, import_react.useState)(false);
|
|
@@ -66,10 +67,11 @@ var Filter = ({
|
|
|
66
67
|
quickFilterMaxLength,
|
|
67
68
|
formFiltersPrefix,
|
|
68
69
|
onOpen: () => setDateRangeOpen(true),
|
|
69
|
-
onClose: () => setDateRangeOpen(false)
|
|
70
|
+
onClose: () => setDateRangeOpen(false),
|
|
71
|
+
renderItem
|
|
70
72
|
}
|
|
71
73
|
);
|
|
72
|
-
}, [quickFilter, otherFilter, quickFilterMaxLength, formFiltersPrefix]);
|
|
74
|
+
}, [quickFilter, otherFilter, quickFilterMaxLength, formFiltersPrefix, renderItem]);
|
|
73
75
|
const isMobileBool = (0, import_platform.isMobile)();
|
|
74
76
|
return /* @__PURE__ */ import_react.default.createElement("div", { ref }, /* @__PURE__ */ import_react.default.createElement(
|
|
75
77
|
import_antd.Popover,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FilterItemProps } from "../../types";
|
|
2
3
|
export declare type FilterValueType = {
|
|
3
4
|
quickFilter: FilterItemProps[];
|
|
@@ -8,4 +9,5 @@ export declare type FilterListProps = {
|
|
|
8
9
|
onChange?: (value: FilterValueType) => void;
|
|
9
10
|
quickFilterMaxLength: number;
|
|
10
11
|
formFiltersPrefix: string;
|
|
12
|
+
renderItem?: (item: any, otherProps?: any) => React.ReactNode;
|
|
11
13
|
};
|
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
.pisell-anchor-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
position: sticky;
|
|
3
|
+
top: 0;
|
|
4
|
+
z-index: 999;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
height: 40px;
|
|
9
|
+
|
|
10
|
+
.pisell-lowcode-anchor {
|
|
8
11
|
height: 40px;
|
|
12
|
+
border-bottom: none !important;
|
|
9
13
|
|
|
10
|
-
.pisell-lowcode-anchor {
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
.pisell-lowcode-anchor-ink {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
.pisell-lowcode-anchor-link {
|
|
19
|
+
height: 100%;
|
|
20
|
+
padding: 0 16px;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
&-title {
|
|
25
|
+
color: var(--Gray-900, #101828);
|
|
26
|
+
font-family: Inter;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
line-height: 40px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
align-items: center;
|
|
23
|
-
|
|
24
|
-
&-title {
|
|
25
|
-
color: var(--Gray-900, #101828);
|
|
26
|
-
font-family: Inter;
|
|
27
|
-
font-size: 16px;
|
|
28
|
-
font-weight: 600;
|
|
29
|
-
line-height: 40px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
33
|
+
.pisell-lowcode-anchor-link-active {
|
|
34
|
+
border-radius: 100px;
|
|
35
|
+
background: var(--theme-color, #7f56d9);
|
|
36
|
+
height: 40px;
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.pisell-lowcode-anchor-link-title {
|
|
39
|
-
color: var(--White, #FFF);
|
|
40
|
-
line-height: 40px;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
38
|
+
.pisell-lowcode-anchor-link-title {
|
|
39
|
+
color: var(--White, #fff);
|
|
40
|
+
line-height: 40px;
|
|
41
|
+
}
|
|
43
42
|
}
|
|
43
|
+
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
45
|
+
.pisell-anchor-scroll {
|
|
46
|
+
height: 40px;
|
|
47
|
+
flex: 1;
|
|
48
|
+
overflow-x: auto;
|
|
49
|
+
|
|
50
|
+
// 隐藏滚动条 - Firefox
|
|
51
|
+
scrollbar-width: none;
|
|
52
|
+
|
|
53
|
+
// 隐藏滚动条 - IE and Edge
|
|
54
|
+
-ms-overflow-style: none;
|
|
55
|
+
|
|
56
|
+
// 隐藏滚动条 - Chrome, Safari, Opera
|
|
57
|
+
&::-webkit-scrollbar {
|
|
58
|
+
display: none;
|
|
60
59
|
}
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
.pisell-anchor-buttons {
|
|
63
|
+
display: flex;
|
|
64
|
+
gap: 8px;
|
|
65
|
+
margin-left: 16px;
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
67
|
+
.scroll-button {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: 24px;
|
|
72
|
+
height: 24px;
|
|
73
|
+
border: 1px solid #d9d9d9;
|
|
74
|
+
border-radius: 4px;
|
|
75
|
+
background: white;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
transition: all 0.3s;
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
&:hover:not(.disabled) {
|
|
80
|
+
color: #1890ff;
|
|
81
|
+
border-color: #1890ff;
|
|
82
|
+
}
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
84
|
+
&.disabled {
|
|
85
|
+
color: #d9d9d9;
|
|
86
|
+
cursor: not-allowed;
|
|
87
|
+
background: #f5f5f5;
|
|
88
|
+
}
|
|
90
89
|
}
|
|
91
|
-
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -88,7 +88,7 @@ var PisellWalletPassCard = (props) => {
|
|
|
88
88
|
backgroundImage: showCover ? `url('${cover || "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ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y8Ezd/wrBfyx9mfhy/JUg4D6OLUYa+rj1d61jyheC8BAAAmItExMbxMc4QcBmcelyaG0+lp81qfDfeJ/evQaee7/wAQajHTlGTBW9o9sTsvBeAgAAILT9A43Fp5Y9XXaZ8IvH9YXov8QUi3C75d5i2KYvS0eExKwWjjTZLZtNjy262pEzt7naAAAAAAAAAAAAAAAAAAAgrP0/jk233x6Om0e29v7LNTkth02TLXrWkzG/uS8Ax1pwymXnNsszfJaeszMqLQEAABDx+05NNj0NZ56jNWnw33mVyDUfWf4gwUvzjHgtese2Z2WC+IiI2iIiNuWwCAAAl41mjBwrPffrSaxt5zy/NUh4/zw6fFPq5NXSto845/0WbFWjw/R9JiwbbdjHWJ98Q0BAAAZa7L3OizZd9uzjtMfJqi/wAQ2tTg+eaz4RHzmIWbGnBsXc8LwU8e7ifnzUvMdYpjrSvSIiIep0AAHObJGLFbJP3azO7pPxa004ZqLVnn3Nv4EGfAKTj4RhiZ6xMz8ZmVjHh9YpoMFaxyjFX+ENigAA8tMVrNp6RHN6y10zXRZrRPOMVtvkCb/DsT/lOO9ut5taf/AOpXJeDRFeFaeI/VwqW7ABAAAAAAAAAAAAAAAAAAB//Z"}')` : ""
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-name-wrap" }, /* @__PURE__ */ import_react.default.createElement("span",
|
|
91
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-name-wrap" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-card-name" }, showName && name), showDetail && /* @__PURE__ */ import_react.default.createElement("span", null, (0, import_locales.getText)("pisell-wallet-pass-card-detail"))),
|
|
92
92
|
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-store-name" }, showStoreName && storeName),
|
|
93
93
|
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-wrap" }, showRedeem && !disabled && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item-label" }, redeemTitle || (0, import_locales.getText)("pisell-wallet-pass-card-redeem")), /* @__PURE__ */ import_react.default.createElement(
|
|
94
94
|
import_Amount.default,
|