@shisyamo4131/air-guard-v2-schemas 2.3.3 → 2.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -135,7 +135,10 @@
135
135
  import SiteOperationScheduleDetail from "./SiteOperationScheduleDetail.js";
136
136
  import { getDateAt, ContextualError } from "./utils/index.js";
137
137
  import { defField } from "./parts/fieldDefinitions.js";
138
- import { VALUES } from "./constants/arrangement-notification-status.js";
138
+ import {
139
+ VALUES,
140
+ OPTIONS,
141
+ } from "./constants/arrangement-notification-status.js";
139
142
 
140
143
  const classProps = {
141
144
  status: defField("arrangementNotificationStatus", { required: true }),
@@ -166,6 +169,7 @@ export default class ArrangementNotification extends SiteOperationScheduleDetail
166
169
  static classProps = classProps;
167
170
 
168
171
  static STATUS = VALUES;
172
+ static STATUS_OPTIONS = OPTIONS;
169
173
 
170
174
  afterInitialize(item = {}) {
171
175
  // Define computed properties that are defined on SiteOperationScheduleDetail
@@ -495,6 +495,7 @@ export default class OperationResult extends Operation {
495
495
  const newKey = v ? v.key : null;
496
496
  if (oldKey === newKey) return;
497
497
  _agreement = v;
498
+ this.allowEmptyAgreement = false; // 取極めが設定された場合は許容を解除
498
499
  this.refreshBillingDateAt();
499
500
  },
500
501
  },