@shwfed/config 3.0.15 → 3.0.17

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.
Files changed (122) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.d.vue.ts +8 -8
  3. package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.vue.d.ts +8 -8
  4. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/config.d.vue.ts +8 -8
  5. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/config.vue.d.ts +8 -8
  6. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/runtime.vue +1 -16
  7. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.d.vue.ts +6 -6
  8. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.vue.d.ts +6 -6
  9. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.d.vue.ts +6 -6
  10. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.vue.d.ts +6 -6
  11. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +2 -2
  12. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +2 -2
  13. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  14. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  15. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
  16. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
  17. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
  18. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
  19. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  20. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  21. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  22. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  23. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
  24. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
  25. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  26. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  27. package/dist/runtime/components/form/index.vue +57 -2
  28. package/dist/runtime/components/form/schema.d.ts +5 -0
  29. package/dist/runtime/components/form/schema.js +14 -1
  30. package/dist/runtime/components/form/utils/derived.js +1 -0
  31. package/dist/runtime/components/form/utils/state-write.d.ts +9 -0
  32. package/dist/runtime/components/form/utils/state-write.js +16 -0
  33. package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/config.d.vue.ts +21 -0
  34. package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/config.vue +100 -0
  35. package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/config.vue.d.ts +21 -0
  36. package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/schema.d.ts +18 -0
  37. package/dist/runtime/components/operations/2026-07-19/com.shwfed.operation.form.state.write/schema.js +47 -0
  38. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
  39. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue +32 -0
  40. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
  41. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  42. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.js +1 -1
  43. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/config.vue +32 -0
  44. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +1 -0
  45. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +1 -1
  46. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/config.vue +28 -0
  47. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +1 -0
  48. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.js +1 -1
  49. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue +32 -0
  50. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +1 -0
  51. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +1 -1
  52. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +32 -0
  53. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +1 -0
  54. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +1 -1
  55. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
  56. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue +32 -0
  57. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
  58. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  59. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.js +1 -1
  60. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
  61. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue +22 -0
  62. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
  63. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  64. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.js +1 -1
  65. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
  66. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue +22 -0
  67. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
  68. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  69. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.js +1 -1
  70. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -0
  71. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue +22 -0
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -0
  73. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  74. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -1
  75. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -0
  76. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue +22 -0
  77. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -0
  78. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  79. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.js +1 -1
  80. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -0
  81. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue +22 -0
  82. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -0
  83. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  84. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -1
  85. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -0
  86. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue +22 -0
  87. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -0
  88. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  89. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.js +1 -1
  90. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -0
  91. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue +22 -0
  92. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -0
  93. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  94. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -1
  95. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -0
  96. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue +22 -0
  97. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -0
  98. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  99. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +1 -1
  100. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +32 -0
  101. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +1 -0
  102. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +1 -1
  103. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +32 -0
  104. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +1 -0
  105. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +1 -1
  106. package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/config.vue +32 -0
  107. package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/schema.d.ts +1 -0
  108. package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/schema.js +1 -1
  109. package/dist/runtime/components/table/index.d.vue.ts +1 -0
  110. package/dist/runtime/components/table/index.vue +12 -1
  111. package/dist/runtime/components/table/index.vue.d.ts +1 -0
  112. package/dist/runtime/components/table/utils/shared.d.ts +2 -1
  113. package/dist/runtime/components/table/utils/shared.js +24 -1
  114. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  115. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  116. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  117. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  118. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  119. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  120. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  121. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  122. package/package.json +1 -1
@@ -49,7 +49,7 @@ export function schema(configure) {
49
49
  return Schema.Struct({
50
50
  type: Schema.Literal(type),
51
51
  compatibilityDate: Schema.Literal(compatibilityDate),
52
- ...editableColumnFields(),
52
+ ...editableColumnFields(configure),
53
53
  placeholder: Schema.optional(Locale.annotations({
54
54
  title: "\u5360\u4F4D\u7B26",
55
55
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly options: {
27
28
  readonly kind: "remote";
28
29
  readonly options: string;
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]] | undefined;
106
+ readonly required?: string | undefined;
105
107
  readonly options: {
106
108
  readonly kind: "remote";
107
109
  readonly options: string;
@@ -73,6 +73,7 @@ function celModel(field) {
73
73
  const hiddenModel = celModel("hidden");
74
74
  const disabledModel = celModel("disabled");
75
75
  const readonlyModel = celModel("readonly");
76
+ const requiredModel = celModel("required");
76
77
  const derivedModel = computed({
77
78
  get: () => value.value.derived,
78
79
  set: (v) => {
@@ -645,6 +646,27 @@ function setItemTooltip(index, tooltip) {
645
646
  :extra-vars="ROW_VARS"
646
647
  />
647
648
  </Field>
649
+ <Field orientation="vertical">
650
+ <FieldLabel class="text-xs text-zinc-500">
651
+ <template
652
+ v-if="fieldDescription('required')"
653
+ #tooltip
654
+ >
655
+ <Markdown
656
+ :source="fieldDescription('required')"
657
+ block
658
+ class="prose prose-sm prose-zinc"
659
+ />
660
+ </template>
661
+ {{ fieldTitle("required") }}
662
+ </FieldLabel>
663
+ <ExpressionEditor
664
+ v-model="requiredModel"
665
+ placeholder="例:row.type == 'company'"
666
+ result-type="bool"
667
+ :extra-vars="ROW_VARS"
668
+ />
669
+ </Field>
648
670
  <Field
649
671
  orientation="vertical"
650
672
  class="col-span-2"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly options: {
27
28
  readonly kind: "remote";
28
29
  readonly options: string;
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]] | undefined;
106
+ readonly required?: string | undefined;
105
107
  readonly options: {
106
108
  readonly kind: "remote";
107
109
  readonly options: string;
@@ -313,6 +313,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
313
313
  readonly locale: "en" | "ja" | "ko";
314
314
  readonly message: string;
315
315
  }[]], never>>;
316
+ required: Schema.optional<Schema.Schema<string, string, never>>;
316
317
  id: Schema.refine<string, typeof Schema.String>;
317
318
  groupId: Schema.optional<typeof Schema.UUID>;
318
319
  type: Schema.Literal<["com.shwfed.table.column.combobox-multi"]>;
@@ -118,7 +118,7 @@ export function schema(configure) {
118
118
  return Schema.Struct({
119
119
  type: Schema.Literal(type),
120
120
  compatibilityDate: Schema.Literal(compatibilityDate),
121
- ...editableColumnFields(),
121
+ ...editableColumnFields(configure),
122
122
  placeholder: Schema.optional(Locale.annotations({
123
123
  title: "\u5360\u4F4D\u7B26",
124
124
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly options: {
27
28
  readonly kind: "remote";
28
29
  readonly options: string;
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]] | undefined;
106
+ readonly required?: string | undefined;
105
107
  readonly options: {
106
108
  readonly kind: "remote";
107
109
  readonly options: string;
@@ -73,6 +73,7 @@ function celModel(field) {
73
73
  const hiddenModel = celModel("hidden");
74
74
  const disabledModel = celModel("disabled");
75
75
  const readonlyModel = celModel("readonly");
76
+ const requiredModel = celModel("required");
76
77
  const derivedModel = computed({
77
78
  get: () => value.value.derived,
78
79
  set: (v) => {
@@ -645,6 +646,27 @@ function setItemTooltip(index, tooltip) {
645
646
  :extra-vars="ROW_VARS"
646
647
  />
647
648
  </Field>
649
+ <Field orientation="vertical">
650
+ <FieldLabel class="text-xs text-zinc-500">
651
+ <template
652
+ v-if="fieldDescription('required')"
653
+ #tooltip
654
+ >
655
+ <Markdown
656
+ :source="fieldDescription('required')"
657
+ block
658
+ class="prose prose-sm prose-zinc"
659
+ />
660
+ </template>
661
+ {{ fieldTitle("required") }}
662
+ </FieldLabel>
663
+ <ExpressionEditor
664
+ v-model="requiredModel"
665
+ placeholder="例:row.type == 'company'"
666
+ result-type="bool"
667
+ :extra-vars="ROW_VARS"
668
+ />
669
+ </Field>
648
670
  <Field
649
671
  orientation="vertical"
650
672
  class="col-span-2"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly options: {
27
28
  readonly kind: "remote";
28
29
  readonly options: string;
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]] | undefined;
106
+ readonly required?: string | undefined;
105
107
  readonly options: {
106
108
  readonly kind: "remote";
107
109
  readonly options: string;
@@ -313,6 +313,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
313
313
  readonly locale: "en" | "ja" | "ko";
314
314
  readonly message: string;
315
315
  }[]], never>>;
316
+ required: Schema.optional<Schema.Schema<string, string, never>>;
316
317
  id: Schema.refine<string, typeof Schema.String>;
317
318
  groupId: Schema.optional<typeof Schema.UUID>;
318
319
  type: Schema.Literal<["com.shwfed.table.column.combobox-single"]>;
@@ -118,7 +118,7 @@ export function schema(configure) {
118
118
  return Schema.Struct({
119
119
  type: Schema.Literal(type),
120
120
  compatibilityDate: Schema.Literal(compatibilityDate),
121
- ...editableColumnFields(),
121
+ ...editableColumnFields(configure),
122
122
  placeholder: Schema.optional(Locale.annotations({
123
123
  title: "\u5360\u4F4D\u7B26",
124
124
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-27";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -86,6 +87,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
86
87
  readonly locale: "en" | "ja" | "ko";
87
88
  readonly message: string;
88
89
  }[]] | undefined;
90
+ readonly required?: string | undefined;
89
91
  readonly compatibilityDate: "2026-05-27";
90
92
  readonly grow?: boolean | undefined;
91
93
  readonly groupId?: string | undefined;
@@ -553,6 +553,28 @@ const derivedModel = computed({
553
553
  @update:model-value="(v) => setOptionalExpression('readonly', v)"
554
554
  />
555
555
  </Field>
556
+ <Field orientation="vertical">
557
+ <FieldLabel class="text-xs text-zinc-500">
558
+ <template
559
+ v-if="fieldDescription('required')"
560
+ #tooltip
561
+ >
562
+ <Markdown
563
+ :source="fieldDescription('required')"
564
+ block
565
+ class="prose prose-sm prose-zinc"
566
+ />
567
+ </template>
568
+ {{ fieldTitle("required") }}
569
+ </FieldLabel>
570
+ <ExpressionEditor
571
+ :model-value="value.required ?? ''"
572
+ placeholder="例:row.type == 'company'"
573
+ result-type="bool"
574
+ :extra-vars="ROW_VARS"
575
+ @update:model-value="(v) => setOptionalExpression('required', v)"
576
+ />
577
+ </Field>
556
578
  <Field
557
579
  orientation="vertical"
558
580
  class="col-span-2"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-27";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -86,6 +87,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
86
87
  readonly locale: "en" | "ja" | "ko";
87
88
  readonly message: string;
88
89
  }[]] | undefined;
90
+ readonly required?: string | undefined;
89
91
  readonly compatibilityDate: "2026-05-27";
90
92
  readonly grow?: boolean | undefined;
91
93
  readonly groupId?: string | undefined;
@@ -111,6 +111,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
111
111
  readonly locale: "en" | "ja" | "ko";
112
112
  readonly message: string;
113
113
  }[]], never>>;
114
+ required: Schema.optional<Schema.Schema<string, string, never>>;
114
115
  id: Schema.refine<string, typeof Schema.String>;
115
116
  groupId: Schema.optional<typeof Schema.UUID>;
116
117
  type: Schema.Literal<["com.shwfed.table.column.tree-combobox-multi"]>;
@@ -61,7 +61,7 @@ export function schema(configure) {
61
61
  return Schema.Struct({
62
62
  type: Schema.Literal(type),
63
63
  compatibilityDate: Schema.Literal(compatibilityDate),
64
- ...editableColumnFields(),
64
+ ...editableColumnFields(configure),
65
65
  placeholder: Schema.optional(Locale.annotations({
66
66
  title: "\u5360\u4F4D\u7B26",
67
67
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-27";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -85,6 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
85
86
  readonly locale: "en" | "ja" | "ko";
86
87
  readonly message: string;
87
88
  }[]] | undefined;
89
+ readonly required?: string | undefined;
88
90
  readonly compatibilityDate: "2026-05-27";
89
91
  readonly grow?: boolean | undefined;
90
92
  readonly groupId?: string | undefined;
@@ -484,6 +484,28 @@ const derivedModel = computed({
484
484
  @update:model-value="(v) => setOptionalExpression('readonly', v)"
485
485
  />
486
486
  </Field>
487
+ <Field orientation="vertical">
488
+ <FieldLabel class="text-xs text-zinc-500">
489
+ <template
490
+ v-if="fieldDescription('required')"
491
+ #tooltip
492
+ >
493
+ <Markdown
494
+ :source="fieldDescription('required')"
495
+ block
496
+ class="prose prose-sm prose-zinc"
497
+ />
498
+ </template>
499
+ {{ fieldTitle("required") }}
500
+ </FieldLabel>
501
+ <ExpressionEditor
502
+ :model-value="value.required ?? ''"
503
+ placeholder="例:row.type == 'company'"
504
+ result-type="bool"
505
+ :extra-vars="ROW_VARS"
506
+ @update:model-value="(v) => setOptionalExpression('required', v)"
507
+ />
508
+ </Field>
487
509
  <Field
488
510
  orientation="vertical"
489
511
  class="col-span-2"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-27";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -85,6 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
85
86
  readonly locale: "en" | "ja" | "ko";
86
87
  readonly message: string;
87
88
  }[]] | undefined;
89
+ readonly required?: string | undefined;
88
90
  readonly compatibilityDate: "2026-05-27";
89
91
  readonly grow?: boolean | undefined;
90
92
  readonly groupId?: string | undefined;
@@ -108,6 +108,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]], never>>;
111
+ required: Schema.optional<Schema.Schema<string, string, never>>;
111
112
  id: Schema.refine<string, typeof Schema.String>;
112
113
  groupId: Schema.optional<typeof Schema.UUID>;
113
114
  type: Schema.Literal<["com.shwfed.table.column.tree-combobox-single"]>;
@@ -61,7 +61,7 @@ export function schema(configure) {
61
61
  return Schema.Struct({
62
62
  type: Schema.Literal(type),
63
63
  compatibilityDate: Schema.Literal(compatibilityDate),
64
- ...editableColumnFields(),
64
+ ...editableColumnFields(configure),
65
65
  placeholder: Schema.optional(Locale.annotations({
66
66
  title: "\u5360\u4F4D\u7B26",
67
67
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-28";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -87,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
88
  readonly locale: "en" | "ja" | "ko";
88
89
  readonly message: string;
89
90
  }[]] | undefined;
91
+ readonly required?: string | undefined;
90
92
  readonly compatibilityDate: "2026-05-28";
91
93
  readonly grow?: boolean | undefined;
92
94
  readonly groupId?: string | undefined;
@@ -578,6 +578,28 @@ const derivedModel = computed({
578
578
  @update:model-value="(v) => setOptionalExpression('readonly', v)"
579
579
  />
580
580
  </Field>
581
+ <Field orientation="vertical">
582
+ <FieldLabel class="text-xs text-zinc-500">
583
+ <template
584
+ v-if="fieldDescription('required')"
585
+ #tooltip
586
+ >
587
+ <Markdown
588
+ :source="fieldDescription('required')"
589
+ block
590
+ class="prose prose-sm prose-zinc"
591
+ />
592
+ </template>
593
+ {{ fieldTitle("required") }}
594
+ </FieldLabel>
595
+ <ExpressionEditor
596
+ :model-value="value.required ?? ''"
597
+ placeholder="例:row.type == 'company'"
598
+ result-type="bool"
599
+ :extra-vars="ROW_VARS"
600
+ @update:model-value="(v) => setOptionalExpression('required', v)"
601
+ />
602
+ </Field>
581
603
  <Field
582
604
  orientation="vertical"
583
605
  class="col-span-2"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-28";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -87,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
88
  readonly locale: "en" | "ja" | "ko";
88
89
  readonly message: string;
89
90
  }[]] | undefined;
91
+ readonly required?: string | undefined;
90
92
  readonly compatibilityDate: "2026-05-28";
91
93
  readonly grow?: boolean | undefined;
92
94
  readonly groupId?: string | undefined;
@@ -113,6 +113,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
113
113
  readonly locale: "en" | "ja" | "ko";
114
114
  readonly message: string;
115
115
  }[]], never>>;
116
+ required: Schema.optional<Schema.Schema<string, string, never>>;
116
117
  id: Schema.refine<string, typeof Schema.String>;
117
118
  groupId: Schema.optional<typeof Schema.UUID>;
118
119
  type: Schema.Literal<["com.shwfed.table.column.tree-combobox-multi"]>;
@@ -64,7 +64,7 @@ export function schema(configure) {
64
64
  return Schema.Struct({
65
65
  type: Schema.Literal(type),
66
66
  compatibilityDate: Schema.Literal(compatibilityDate),
67
- ...editableColumnFields(),
67
+ ...editableColumnFields(configure),
68
68
  placeholder: Schema.optional(Locale.annotations({
69
69
  title: "\u5360\u4F4D\u7B26",
70
70
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-28";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -86,6 +87,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
86
87
  readonly locale: "en" | "ja" | "ko";
87
88
  readonly message: string;
88
89
  }[]] | undefined;
90
+ readonly required?: string | undefined;
89
91
  readonly compatibilityDate: "2026-05-28";
90
92
  readonly grow?: boolean | undefined;
91
93
  readonly groupId?: string | undefined;
@@ -509,6 +509,28 @@ const derivedModel = computed({
509
509
  @update:model-value="(v) => setOptionalExpression('readonly', v)"
510
510
  />
511
511
  </Field>
512
+ <Field orientation="vertical">
513
+ <FieldLabel class="text-xs text-zinc-500">
514
+ <template
515
+ v-if="fieldDescription('required')"
516
+ #tooltip
517
+ >
518
+ <Markdown
519
+ :source="fieldDescription('required')"
520
+ block
521
+ class="prose prose-sm prose-zinc"
522
+ />
523
+ </template>
524
+ {{ fieldTitle("required") }}
525
+ </FieldLabel>
526
+ <ExpressionEditor
527
+ :model-value="value.required ?? ''"
528
+ placeholder="例:row.type == 'company'"
529
+ result-type="bool"
530
+ :extra-vars="ROW_VARS"
531
+ @update:model-value="(v) => setOptionalExpression('required', v)"
532
+ />
533
+ </Field>
512
534
  <Field
513
535
  orientation="vertical"
514
536
  class="col-span-2"
@@ -23,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
23
23
  readonly locale: "en" | "ja" | "ko";
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
+ readonly required?: string | undefined;
26
27
  readonly compatibilityDate: "2026-05-28";
27
28
  readonly grow?: boolean | undefined;
28
29
  readonly groupId?: string | undefined;
@@ -86,6 +87,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
86
87
  readonly locale: "en" | "ja" | "ko";
87
88
  readonly message: string;
88
89
  }[]] | undefined;
90
+ readonly required?: string | undefined;
89
91
  readonly compatibilityDate: "2026-05-28";
90
92
  readonly grow?: boolean | undefined;
91
93
  readonly groupId?: string | undefined;
@@ -110,6 +110,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
110
110
  readonly locale: "en" | "ja" | "ko";
111
111
  readonly message: string;
112
112
  }[]], never>>;
113
+ required: Schema.optional<Schema.Schema<string, string, never>>;
113
114
  id: Schema.refine<string, typeof Schema.String>;
114
115
  groupId: Schema.optional<typeof Schema.UUID>;
115
116
  type: Schema.Literal<["com.shwfed.table.column.tree-combobox-single"]>;
@@ -64,7 +64,7 @@ export function schema(configure) {
64
64
  return Schema.Struct({
65
65
  type: Schema.Literal(type),
66
66
  compatibilityDate: Schema.Literal(compatibilityDate),
67
- ...editableColumnFields(),
67
+ ...editableColumnFields(configure),
68
68
  placeholder: Schema.optional(Locale.annotations({
69
69
  title: "\u5360\u4F4D\u7B26",
70
70
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly align: "center" | "left" | "right";
27
+ readonly required?: string | undefined;
27
28
  readonly compatibilityDate: "2026-06-14";
28
29
  readonly grow?: boolean | undefined;
29
30
  readonly groupId?: string | undefined;
@@ -83,6 +84,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
83
84
  readonly message: string;
84
85
  }[]] | undefined;
85
86
  readonly align: "center" | "left" | "right";
87
+ readonly required?: string | undefined;
86
88
  readonly compatibilityDate: "2026-06-14";
87
89
  readonly grow?: boolean | undefined;
88
90
  readonly groupId?: string | undefined;
@@ -602,6 +602,28 @@ const derivedModel = computed({
602
602
  @update:model-value="(v) => setOptionalExpression('readonly', v)"
603
603
  />
604
604
  </Field>
605
+ <Field orientation="vertical">
606
+ <FieldLabel class="text-xs text-zinc-500">
607
+ <template
608
+ v-if="fieldDescription('required')"
609
+ #tooltip
610
+ >
611
+ <Markdown
612
+ :source="fieldDescription('required')"
613
+ block
614
+ class="prose prose-sm prose-zinc"
615
+ />
616
+ </template>
617
+ {{ fieldTitle("required") }}
618
+ </FieldLabel>
619
+ <ExpressionEditor
620
+ :model-value="value.required ?? ''"
621
+ placeholder="例:row.type == 'company'"
622
+ result-type="bool"
623
+ :extra-vars="ROW_VARS"
624
+ @update:model-value="(v) => setOptionalExpression('required', v)"
625
+ />
626
+ </Field>
605
627
  <Field
606
628
  orientation="vertical"
607
629
  class="col-span-2"
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly align: "center" | "left" | "right";
27
+ readonly required?: string | undefined;
27
28
  readonly compatibilityDate: "2026-06-14";
28
29
  readonly grow?: boolean | undefined;
29
30
  readonly groupId?: string | undefined;
@@ -83,6 +84,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
83
84
  readonly message: string;
84
85
  }[]] | undefined;
85
86
  readonly align: "center" | "left" | "right";
87
+ readonly required?: string | undefined;
86
88
  readonly compatibilityDate: "2026-06-14";
87
89
  readonly grow?: boolean | undefined;
88
90
  readonly groupId?: string | undefined;
@@ -99,6 +99,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
99
99
  readonly message: string;
100
100
  }[]], never>>;
101
101
  hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
102
+ required: Schema.optional<Schema.Schema<string, string, never>>;
102
103
  id: Schema.refine<string, typeof Schema.String>;
103
104
  groupId: Schema.optional<typeof Schema.UUID>;
104
105
  type: Schema.Literal<["com.shwfed.table.column.tree-combobox-multi"]>;
@@ -68,7 +68,7 @@ export function schema(configure) {
68
68
  return Schema.Struct({
69
69
  type: Schema.Literal(type),
70
70
  compatibilityDate: Schema.Literal(compatibilityDate),
71
- ...editableColumnFields(),
71
+ ...editableColumnFields(configure),
72
72
  align: Schema.optionalWith(Align.annotations({ title: "\u5BF9\u9F50" }), { default: () => "left" }),
73
73
  placeholder: Schema.optional(Locale.annotations({
74
74
  title: "\u5360\u4F4D\u7B26",
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly align: "center" | "left" | "right";
27
+ readonly required?: string | undefined;
27
28
  readonly compatibilityDate: "2026-06-14";
28
29
  readonly grow?: boolean | undefined;
29
30
  readonly groupId?: string | undefined;
@@ -82,6 +83,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
83
  readonly message: string;
83
84
  }[]] | undefined;
84
85
  readonly align: "center" | "left" | "right";
86
+ readonly required?: string | undefined;
85
87
  readonly compatibilityDate: "2026-06-14";
86
88
  readonly grow?: boolean | undefined;
87
89
  readonly groupId?: string | undefined;