@shwfed/config 2.10.11 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +1085 -925
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DSupaUBQ.js → FieldGroup.vue_vue_type_script_setup_true_lang-UfhMyymD.js} +1 -1
- package/dist/preview/assets/{badge-BpMIBZb2.js → badge-CJ9IQ3Jx.js} +1 -1
- package/dist/preview/assets/{config-CM4nX_7y.js → config--Vx4fL61.js} +1 -1
- package/dist/preview/assets/{config-CujkaO8S.js → config-5PPug5mk.js} +1 -1
- package/dist/preview/assets/{config-c2iiXckz.js → config-7V1qHjUk.js} +1 -1
- package/dist/preview/assets/{config-DrkDnICQ.js → config-BYktCefJ.js} +1 -1
- package/dist/preview/assets/{config-Cc1ThF9T.js → config-BeRYF_cz.js} +1 -1
- package/dist/preview/assets/{config-DbtYnaaf.js → config-BldsYfGM.js} +1 -1
- package/dist/preview/assets/{config-BCCT-UCw.js → config-CQrDCzYN.js} +1 -1
- package/dist/preview/assets/{config-CY9L8__h.js → config-C_g-FYCR.js} +1 -1
- package/dist/preview/assets/{config-Bz643_RE.js → config-DIsAIc7H.js} +1 -1
- package/dist/preview/assets/{config-CNJS9Ncm.js → config-DPX7vGqV.js} +1 -1
- package/dist/preview/assets/{config-C7nJ8jl6.js → config-DpLMetys.js} +1 -1
- package/dist/preview/assets/{config-Bx4-IdW5.js → config-IMd4FZi8.js} +1 -1
- package/dist/preview/assets/{config-v7UFMF25.js → config-N-FdgfwK.js} +1 -1
- package/dist/preview/assets/{config-agH4hNej.js → config-uUF-UHPt.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-B1dZHF9Z.js → definition.vue_vue_type_script_setup_true_lang-B_PKfe3G.js} +1 -1
- package/dist/preview/assets/index-8Ph-sFDI.css +1 -0
- package/dist/preview/assets/index-BCl1NN6k.js +763 -0
- package/dist/preview/assets/index-Core7vRW.js +1 -0
- package/dist/preview/assets/{index-B10aTz32.js → index-DKWp47QP.js} +1 -1
- package/dist/preview/assets/{item-DxWeqOxe.js → item-XsW7swFt.js} +1 -1
- package/dist/preview/assets/{runtime-CeItNJdF.js → runtime-B-ABO0r0.js} +1 -1
- package/dist/preview/assets/{runtime-C6oMTKIZ.js → runtime-BeHohaOZ.js} +1 -1
- package/dist/preview/assets/{runtime-rpKOBs2Q.js → runtime-BiFFwOIl.js} +1 -1
- package/dist/preview/assets/{runtime-BO_Ak4ly.js → runtime-ByArW-jJ.js} +1 -1
- package/dist/preview/assets/{runtime-3VPnK4Ve.js → runtime-CpVTGNFZ.js} +1 -1
- package/dist/preview/assets/{runtime-DQK6Vajf.js → runtime-DQ1TnQ7n.js} +1 -1
- package/dist/preview/assets/{runtime-P58D1JCj.js → runtime-DY7hr7v1.js} +1 -1
- package/dist/preview/assets/{runtime-BcWQ55Ub.js → runtime-Dn172S7t.js} +1 -1
- package/dist/preview/assets/{runtime-DwgCzoDf.js → runtime-JxBzvGnw.js} +1 -1
- package/dist/preview/assets/{runtime-D6jswLOt.js → runtime-bq0hmEXY.js} +1 -1
- package/dist/preview/assets/{schema-meta-BtDKldOy.js → schema-meta-CZ9yXnsa.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +23 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +7 -4
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/config.vue +30 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +2 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/config.vue +143 -35
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +35 -9
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +136 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +20 -6
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue +67 -32
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +2 -5
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +148 -33
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +35 -9
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +136 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +20 -6
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +1 -1
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +61 -22
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +3 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +61 -22
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +3 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue +67 -23
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue +67 -23
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +6 -9
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +2 -4
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +67 -32
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +14 -8
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +4 -1
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +2 -5
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +752 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +149 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +90 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +119 -0
- package/dist/runtime/components/table/index.vue +46 -7
- package/dist/runtime/components/table/utils/runtime.d.ts +1 -0
- package/dist/runtime/components/table/utils/runtime.js +5 -0
- package/dist/runtime/components/table/utils/shared.d.ts +3 -1
- package/dist/runtime/components/table/utils/shared.js +17 -5
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +1 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +3 -0
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +1 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +1 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +2 -0
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +1 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-Cc4BT5dc.css +0 -1
- package/dist/preview/assets/index-DdySlgoq.js +0 -763
- package/dist/preview/assets/index-j5Pri4vN.js +0 -1
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue
CHANGED
|
@@ -4,6 +4,7 @@ import { Icon } from "@iconify/vue";
|
|
|
4
4
|
import { format as formatDate } from "date-fns";
|
|
5
5
|
import { Input } from "../../../../ui/input";
|
|
6
6
|
import { Separator } from "../../../../ui/separator";
|
|
7
|
+
import { Switch } from "../../../../ui/switch";
|
|
7
8
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
8
9
|
import { Locale } from "../../../../ui/locale";
|
|
9
10
|
import {
|
|
@@ -37,6 +38,14 @@ const ALIGN_OPTIONS = [
|
|
|
37
38
|
const currentAlignIcon = computed(
|
|
38
39
|
() => (ALIGN_OPTIONS.find((o) => o.value === (value.value.align ?? "left")) ?? ALIGN_OPTIONS[0]).icon
|
|
39
40
|
);
|
|
41
|
+
function onHiddenChange(v) {
|
|
42
|
+
if (v) {
|
|
43
|
+
value.value = { ...value.value, hidden: true };
|
|
44
|
+
} else {
|
|
45
|
+
const { hidden: _drop, ...rest } = value.value;
|
|
46
|
+
value.value = rest;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
40
49
|
const dateFormatExample = computed(() => {
|
|
41
50
|
const fmt = value.value?.format;
|
|
42
51
|
if (!fmt) return "";
|
|
@@ -238,6 +247,27 @@ const dateFormatExample = computed(() => {
|
|
|
238
247
|
</InputGroupAddon>
|
|
239
248
|
</InputGroup>
|
|
240
249
|
</Field>
|
|
250
|
+
<Field orientation="vertical">
|
|
251
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
252
|
+
<template
|
|
253
|
+
v-if="fieldDescription('hidden')"
|
|
254
|
+
#tooltip
|
|
255
|
+
>
|
|
256
|
+
<Markdown
|
|
257
|
+
:source="fieldDescription('hidden')"
|
|
258
|
+
block
|
|
259
|
+
class="prose prose-sm prose-zinc"
|
|
260
|
+
/>
|
|
261
|
+
</template>
|
|
262
|
+
{{ fieldTitle("hidden") }}
|
|
263
|
+
</FieldLabel>
|
|
264
|
+
<div>
|
|
265
|
+
<Switch
|
|
266
|
+
:model-value="value.hidden ?? false"
|
|
267
|
+
@update:model-value="onHiddenChange"
|
|
268
|
+
/>
|
|
269
|
+
</div>
|
|
270
|
+
</Field>
|
|
241
271
|
</div>
|
|
242
272
|
</div>
|
|
243
273
|
</template>
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
20
20
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
21
21
|
message: Schema.SchemaClass<string, string, never>;
|
|
22
22
|
}>]>;
|
|
23
|
-
accessor: Schema.Schema<string, string, never
|
|
23
|
+
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
24
24
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
25
25
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
26
26
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -32,6 +32,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
32
32
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
33
33
|
message: Schema.SchemaClass<string, string, never>;
|
|
34
34
|
}>]>>;
|
|
35
|
+
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
35
36
|
id: Schema.refine<string, typeof Schema.String>;
|
|
36
37
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
37
38
|
type: Schema.Literal<["com.shwfed.table.column.date"]>;
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js
CHANGED
|
@@ -24,7 +24,6 @@ export function schema(configure) {
|
|
|
24
24
|
export function defaults() {
|
|
25
25
|
return {
|
|
26
26
|
title: [{ locale: "zh", message: "" }],
|
|
27
|
-
accessor: "",
|
|
28
27
|
format: "yyyy-MM-dd",
|
|
29
28
|
size: 120
|
|
30
29
|
};
|
|
@@ -33,6 +32,7 @@ export function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
33
32
|
return {
|
|
34
33
|
header: getLocaleText(value.title),
|
|
35
34
|
accessorFn: (row, index) => {
|
|
35
|
+
if (!value.accessor) return void 0;
|
|
36
36
|
try {
|
|
37
37
|
return Effect.runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
38
38
|
} catch (e) {
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue
CHANGED
|
@@ -3,6 +3,7 @@ import { computed } from "vue";
|
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
4
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
5
5
|
import { Separator } from "../../../../ui/separator";
|
|
6
|
+
import { Switch } from "../../../../ui/switch";
|
|
6
7
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
7
8
|
import { Locale } from "../../../../ui/locale";
|
|
8
9
|
import {
|
|
@@ -50,6 +51,14 @@ const ROW_VARS = {
|
|
|
50
51
|
row: { type: "dyn", label: "\u5F53\u524D\u884C\u6570\u636E" },
|
|
51
52
|
index: { type: "number", label: "\u884C\u7D22\u5F15" }
|
|
52
53
|
};
|
|
54
|
+
function onHiddenChange(v) {
|
|
55
|
+
if (v) {
|
|
56
|
+
value.value = { ...value.value, hidden: true };
|
|
57
|
+
} else {
|
|
58
|
+
const { hidden: _drop, ...rest } = value.value;
|
|
59
|
+
value.value = rest;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
53
62
|
</script>
|
|
54
63
|
|
|
55
64
|
<template>
|
|
@@ -232,6 +241,27 @@ const ROW_VARS = {
|
|
|
232
241
|
</InputGroupAddon>
|
|
233
242
|
</InputGroup>
|
|
234
243
|
</Field>
|
|
244
|
+
<Field orientation="vertical">
|
|
245
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
246
|
+
<template
|
|
247
|
+
v-if="fieldDescription('hidden')"
|
|
248
|
+
#tooltip
|
|
249
|
+
>
|
|
250
|
+
<Markdown
|
|
251
|
+
:source="fieldDescription('hidden')"
|
|
252
|
+
block
|
|
253
|
+
class="prose prose-sm prose-zinc"
|
|
254
|
+
/>
|
|
255
|
+
</template>
|
|
256
|
+
{{ fieldTitle("hidden") }}
|
|
257
|
+
</FieldLabel>
|
|
258
|
+
<div>
|
|
259
|
+
<Switch
|
|
260
|
+
:model-value="value.hidden ?? false"
|
|
261
|
+
@update:model-value="onHiddenChange"
|
|
262
|
+
/>
|
|
263
|
+
</div>
|
|
264
|
+
</Field>
|
|
235
265
|
</div>
|
|
236
266
|
</div>
|
|
237
267
|
</template>
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const metadata: {
|
|
|
9
9
|
readonly icon: "fluent:shapes-20-regular";
|
|
10
10
|
};
|
|
11
11
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
|
-
accessor: Schema.Schema<string, string, never
|
|
12
|
+
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
13
13
|
color: Schema.optional<Schema.Schema<string, string, never>>;
|
|
14
14
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
15
15
|
default: () => "center";
|
|
@@ -32,6 +32,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
32
32
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
33
33
|
message: Schema.SchemaClass<string, string, never>;
|
|
34
34
|
}>]>>;
|
|
35
|
+
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
35
36
|
id: Schema.refine<string, typeof Schema.String>;
|
|
36
37
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
37
38
|
type: Schema.Literal<["com.shwfed.table.column.icon"]>;
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js
CHANGED
|
@@ -11,10 +11,13 @@ export function schema(configure) {
|
|
|
11
11
|
type: Schema.Literal(type),
|
|
12
12
|
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
13
13
|
...columnFields(configure),
|
|
14
|
-
|
|
14
|
+
// Optional like every non-editable column's path: an icon column may carry
|
|
15
|
+
// no data binding (a fixed decorative cell), letting designers build the
|
|
16
|
+
// visual layer before any API contract exists.
|
|
17
|
+
accessor: Schema.optional(CelRowAccess(configure).annotations({
|
|
15
18
|
title: "\u56FE\u6807",
|
|
16
|
-
description: "\u56FE\u6807\u540D\u79F0 CEL \u8868\u8FBE\u5F0F\uFF08Iconify \u6807\u8BC6\u7B26\uFF09\uFF0C\u4F8B\u5982 `row.iconName
|
|
17
|
-
}),
|
|
19
|
+
description: "\u56FE\u6807\u540D\u79F0 CEL \u8868\u8FBE\u5F0F\uFF08Iconify \u6807\u8BC6\u7B26\uFF09\uFF0C\u4F8B\u5982 `row.iconName`\uFF1B\u53EF\u7559\u7A7A\uFF0C\u7559\u7A7A\u65F6\u4E0D\u6E32\u67D3\u56FE\u6807"
|
|
20
|
+
})),
|
|
18
21
|
color: Schema.optional(
|
|
19
22
|
CelRowAccess(configure, { resultType: "string" }).annotations({
|
|
20
23
|
title: "\u989C\u8272",
|
|
@@ -27,7 +30,6 @@ export function schema(configure) {
|
|
|
27
30
|
export function defaults() {
|
|
28
31
|
return {
|
|
29
32
|
title: [{ locale: "zh", message: "" }],
|
|
30
|
-
accessor: "",
|
|
31
33
|
size: 120
|
|
32
34
|
};
|
|
33
35
|
}
|
|
@@ -35,6 +37,7 @@ export function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
35
37
|
return {
|
|
36
38
|
header: getLocaleText(value.title),
|
|
37
39
|
accessorFn: (row, index) => {
|
|
40
|
+
if (!value.accessor) return void 0;
|
|
38
41
|
try {
|
|
39
42
|
return Effect.runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
40
43
|
} catch (e) {
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue
CHANGED
|
@@ -3,6 +3,7 @@ import { computed } from "vue";
|
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
4
|
import { Input } from "../../../../ui/input";
|
|
5
5
|
import { Separator } from "../../../../ui/separator";
|
|
6
|
+
import { Switch } from "../../../../ui/switch";
|
|
6
7
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
7
8
|
import { Locale } from "../../../../ui/locale";
|
|
8
9
|
import {
|
|
@@ -55,6 +56,14 @@ const DISPLAY_MODE_OPTIONS = [
|
|
|
55
56
|
const currentPreserveModeLabel = computed(
|
|
56
57
|
() => PRESERVE_MODE_OPTIONS.find((o) => o.value === (value.value.preserveMode ?? "round"))?.label
|
|
57
58
|
);
|
|
59
|
+
function onHiddenChange(v) {
|
|
60
|
+
if (v) {
|
|
61
|
+
value.value = { ...value.value, hidden: true };
|
|
62
|
+
} else {
|
|
63
|
+
const { hidden: _drop, ...rest } = value.value;
|
|
64
|
+
value.value = rest;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
58
67
|
function onPreserveDigitsChange(v) {
|
|
59
68
|
const next = { ...value.value, preserveDigits: v };
|
|
60
69
|
if (v === void 0) {
|
|
@@ -307,6 +316,27 @@ function onPreserveDigitsChange(v) {
|
|
|
307
316
|
</InputGroupAddon>
|
|
308
317
|
</InputGroup>
|
|
309
318
|
</Field>
|
|
319
|
+
<Field orientation="vertical">
|
|
320
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
321
|
+
<template
|
|
322
|
+
v-if="fieldDescription('hidden')"
|
|
323
|
+
#tooltip
|
|
324
|
+
>
|
|
325
|
+
<Markdown
|
|
326
|
+
:source="fieldDescription('hidden')"
|
|
327
|
+
block
|
|
328
|
+
class="prose prose-sm prose-zinc"
|
|
329
|
+
/>
|
|
330
|
+
</template>
|
|
331
|
+
{{ fieldTitle("hidden") }}
|
|
332
|
+
</FieldLabel>
|
|
333
|
+
<div>
|
|
334
|
+
<Switch
|
|
335
|
+
:model-value="value.hidden ?? false"
|
|
336
|
+
@update:model-value="onHiddenChange"
|
|
337
|
+
/>
|
|
338
|
+
</div>
|
|
339
|
+
</Field>
|
|
310
340
|
</div>
|
|
311
341
|
</div>
|
|
312
342
|
</template>
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
24
24
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
25
25
|
message: Schema.SchemaClass<string, string, never>;
|
|
26
26
|
}>]>;
|
|
27
|
-
accessor: Schema.Schema<string, string, never
|
|
27
|
+
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
28
28
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
29
29
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
30
30
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -36,6 +36,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
36
36
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
37
37
|
message: Schema.SchemaClass<string, string, never>;
|
|
38
38
|
}>]>>;
|
|
39
|
+
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
39
40
|
id: Schema.refine<string, typeof Schema.String>;
|
|
40
41
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
41
42
|
type: Schema.Literal<["com.shwfed.table.column.number"]>;
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js
CHANGED
|
@@ -32,7 +32,6 @@ export function schema(configure) {
|
|
|
32
32
|
export function defaults() {
|
|
33
33
|
return {
|
|
34
34
|
title: [{ locale: "zh", message: "" }],
|
|
35
|
-
accessor: "",
|
|
36
35
|
size: 120,
|
|
37
36
|
align: "right"
|
|
38
37
|
};
|
|
@@ -41,6 +40,7 @@ export function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
41
40
|
return {
|
|
42
41
|
header: getLocaleText(value.title),
|
|
43
42
|
accessorFn: (row, index) => {
|
|
43
|
+
if (!value.accessor) return void 0;
|
|
44
44
|
try {
|
|
45
45
|
return Effect.runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
46
46
|
} catch (e) {
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue
CHANGED
|
@@ -4,6 +4,7 @@ import { Icon } from "@iconify/vue";
|
|
|
4
4
|
import { Input } from "../../../../ui/input";
|
|
5
5
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
6
6
|
import { Separator } from "../../../../ui/separator";
|
|
7
|
+
import { Switch } from "../../../../ui/switch";
|
|
7
8
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
8
9
|
import { Locale } from "../../../../ui/locale";
|
|
9
10
|
import {
|
|
@@ -47,6 +48,14 @@ const DISPLAY_MODE_OPTIONS = [
|
|
|
47
48
|
{ value: "plain", label: "\u6587\u672C" },
|
|
48
49
|
{ value: "mono", label: "\u7B49\u5BBD" }
|
|
49
50
|
];
|
|
51
|
+
function onHiddenChange(v) {
|
|
52
|
+
if (v) {
|
|
53
|
+
value.value = { ...value.value, hidden: true };
|
|
54
|
+
} else {
|
|
55
|
+
const { hidden: _drop, ...rest } = value.value;
|
|
56
|
+
value.value = rest;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
50
59
|
const copyExpressionModel = computed({
|
|
51
60
|
get: () => value.value.copyExpression ?? "",
|
|
52
61
|
set: (v) => {
|
|
@@ -272,6 +281,27 @@ const copyExpressionModel = computed({
|
|
|
272
281
|
</InputGroupAddon>
|
|
273
282
|
</InputGroup>
|
|
274
283
|
</Field>
|
|
284
|
+
<Field orientation="vertical">
|
|
285
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
286
|
+
<template
|
|
287
|
+
v-if="fieldDescription('hidden')"
|
|
288
|
+
#tooltip
|
|
289
|
+
>
|
|
290
|
+
<Markdown
|
|
291
|
+
:source="fieldDescription('hidden')"
|
|
292
|
+
block
|
|
293
|
+
class="prose prose-sm prose-zinc"
|
|
294
|
+
/>
|
|
295
|
+
</template>
|
|
296
|
+
{{ fieldTitle("hidden") }}
|
|
297
|
+
</FieldLabel>
|
|
298
|
+
<div>
|
|
299
|
+
<Switch
|
|
300
|
+
:model-value="value.hidden ?? false"
|
|
301
|
+
@update:model-value="onHiddenChange"
|
|
302
|
+
/>
|
|
303
|
+
</div>
|
|
304
|
+
</Field>
|
|
275
305
|
</div>
|
|
276
306
|
</div>
|
|
277
307
|
</template>
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
23
23
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
24
24
|
message: Schema.SchemaClass<string, string, never>;
|
|
25
25
|
}>]>;
|
|
26
|
-
accessor: Schema.Schema<string, string, never
|
|
26
|
+
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
27
27
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
28
28
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
29
29
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -35,6 +35,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
35
35
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
36
36
|
message: Schema.SchemaClass<string, string, never>;
|
|
37
37
|
}>]>>;
|
|
38
|
+
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
38
39
|
id: Schema.refine<string, typeof Schema.String>;
|
|
39
40
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
40
41
|
type: Schema.Literal<["com.shwfed.table.column.text"]>;
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js
CHANGED
|
@@ -30,7 +30,6 @@ export function schema(configure) {
|
|
|
30
30
|
export function defaults() {
|
|
31
31
|
return {
|
|
32
32
|
title: [{ locale: "zh", message: "" }],
|
|
33
|
-
accessor: "",
|
|
34
33
|
size: 120
|
|
35
34
|
};
|
|
36
35
|
}
|
|
@@ -38,6 +37,7 @@ export function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
38
37
|
return {
|
|
39
38
|
header: getLocaleText(value.title),
|
|
40
39
|
accessorFn: (row, index) => {
|
|
40
|
+
if (!value.accessor) return void 0;
|
|
41
41
|
try {
|
|
42
42
|
return Effect.runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
43
43
|
} catch (e) {
|
package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
29
29
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
30
30
|
message: Schema.SchemaClass<string, string, never>;
|
|
31
31
|
}>]>;
|
|
32
|
-
accessor: Schema.Schema<string, string, never
|
|
32
|
+
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
33
33
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
34
34
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
35
35
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -41,6 +41,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
41
41
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
42
42
|
message: Schema.SchemaClass<string, string, never>;
|
|
43
43
|
}>]>>;
|
|
44
|
+
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
44
45
|
id: Schema.refine<string, typeof Schema.String>;
|
|
45
46
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
46
47
|
type: Schema.Literal<["com.shwfed.table.column.switch"]>;
|
package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js
CHANGED
|
@@ -52,6 +52,7 @@ export function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
52
52
|
return {
|
|
53
53
|
header: getLocaleText(value.title),
|
|
54
54
|
accessorFn: (row, index) => {
|
|
55
|
+
if (!value.accessor) return void 0;
|
|
55
56
|
try {
|
|
56
57
|
return Effect.runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
57
58
|
} catch (e) {
|
|
@@ -3,6 +3,7 @@ import { computed } from "vue";
|
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
4
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
5
5
|
import { Separator } from "../../../../ui/separator";
|
|
6
|
+
import { Switch } from "../../../../ui/switch";
|
|
6
7
|
import { Field, FieldLabel } from "../../../../ui/field";
|
|
7
8
|
import { Locale } from "../../../../ui/locale";
|
|
8
9
|
import {
|
|
@@ -47,6 +48,14 @@ const ROW_VALUE_VARS = {
|
|
|
47
48
|
const JSON_VARS = {
|
|
48
49
|
json: { type: "dyn", label: "HTTP \u54CD\u5E94\u4F53" }
|
|
49
50
|
};
|
|
51
|
+
function onHiddenChange(v) {
|
|
52
|
+
if (v) {
|
|
53
|
+
value.value = { ...value.value, hidden: true };
|
|
54
|
+
} else {
|
|
55
|
+
const { hidden: _drop, ...rest } = value.value;
|
|
56
|
+
value.value = rest;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
50
59
|
const disabledModel = computed({
|
|
51
60
|
get: () => value.value.disabled ?? "",
|
|
52
61
|
set: (v) => {
|
|
@@ -334,6 +343,27 @@ function updateTriggers(next) {
|
|
|
334
343
|
</InputGroupAddon>
|
|
335
344
|
</InputGroup>
|
|
336
345
|
</Field>
|
|
346
|
+
<Field orientation="vertical">
|
|
347
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
348
|
+
<template
|
|
349
|
+
v-if="fieldDescription('hidden')"
|
|
350
|
+
#tooltip
|
|
351
|
+
>
|
|
352
|
+
<Markdown
|
|
353
|
+
:source="fieldDescription('hidden')"
|
|
354
|
+
block
|
|
355
|
+
class="prose prose-sm prose-zinc"
|
|
356
|
+
/>
|
|
357
|
+
</template>
|
|
358
|
+
{{ fieldTitle("hidden") }}
|
|
359
|
+
</FieldLabel>
|
|
360
|
+
<div>
|
|
361
|
+
<Switch
|
|
362
|
+
:model-value="value.hidden ?? false"
|
|
363
|
+
@update:model-value="onHiddenChange"
|
|
364
|
+
/>
|
|
365
|
+
</div>
|
|
366
|
+
</Field>
|
|
337
367
|
</div>
|
|
338
368
|
</div>
|
|
339
369
|
</template>
|
|
@@ -29,7 +29,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
29
29
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
30
30
|
message: Schema.SchemaClass<string, string, never>;
|
|
31
31
|
}>]>;
|
|
32
|
-
accessor: Schema.Schema<string, string, never
|
|
32
|
+
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
33
33
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
34
34
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
35
35
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
@@ -41,6 +41,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
41
41
|
locale: Schema.Literal<["ja", "en", "ko"]>;
|
|
42
42
|
message: Schema.SchemaClass<string, string, never>;
|
|
43
43
|
}>]>>;
|
|
44
|
+
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
44
45
|
id: Schema.refine<string, typeof Schema.String>;
|
|
45
46
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
46
47
|
type: Schema.Literal<["com.shwfed.table.column.switch.remote"]>;
|
|
@@ -51,7 +51,6 @@ export function schema(configure) {
|
|
|
51
51
|
export function defaults() {
|
|
52
52
|
return {
|
|
53
53
|
title: [{ locale: "zh", message: "" }],
|
|
54
|
-
accessor: "",
|
|
55
54
|
size: 120
|
|
56
55
|
};
|
|
57
56
|
}
|
|
@@ -71,6 +70,7 @@ export function toColumnDef(value, { getLocaleText, $cel, inheritedContext }) {
|
|
|
71
70
|
return {
|
|
72
71
|
header: getLocaleText(value.title),
|
|
73
72
|
accessorFn: (row, index) => {
|
|
73
|
+
if (!value.accessor) return void 0;
|
|
74
74
|
try {
|
|
75
75
|
return Effect.runSync($cel(value.accessor, { ...inheritedContext, row, index }));
|
|
76
76
|
} catch (e) {
|