mobiletto-orm-typedef-gen 2.3.24 → 2.3.26

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.
@@ -31,11 +31,10 @@
31
31
  :read-only-object="() => false"
32
32
  :server-errors="create{{Name}}ServerErrors"
33
33
  :label-prefixes="labelPfx"
34
- :hint-suffixes="['_description']"{{#if typeDef.singleton}}
35
- cancel-button-message=""{{/if}}
34
+ :hint-suffixes="['_description']"
36
35
  @submitted="onAddSubmitted"
37
- @update="onAddUpdated"{{#unless typeDef.singleton}}
38
- @cancel="onAddCancel"{{/unless}}
36
+ @update="onAddUpdated"
37
+ @cancel="onAddCancel"
39
38
  />
40
39
  </v-col>
41
40
  </v-row>
@@ -368,11 +367,11 @@
368
367
  });{{/if}}
369
368
  const showAddOrm = () => {
370
369
  addingObject.value = true;
371
- };{{#unless typeDef.singleton}}
370
+ };
372
371
  const onAddCancel = () => {
373
- addingObject.value = {{#if typeDef.singleton}}true{{else}}false{{/if}};
372
+ addingObject.value = false;
374
373
  emit("addCanceled");
375
- };{{/unless}}
374
+ };
376
375
 
377
376
  const onEditUpdated = (update: { field: string; value: any }) => {
378
377
  if (editingObject.value) {
@@ -31,11 +31,10 @@
31
31
  :read-only-object="() => false"
32
32
  :server-errors="create{{Name}}ServerErrors"
33
33
  :label-prefixes="labelPfx"
34
- :hint-suffixes="['_description']"{{#if typeDef.singleton}}
35
- cancel-button-message=""{{/if}}
34
+ :hint-suffixes="['_description']"
36
35
  @submitted="onAddSubmitted"
37
- @update="onAddUpdated"{{#unless typeDef.singleton}}
38
- @cancel="onAddCancel"{{/unless}}
36
+ @update="onAddUpdated"
37
+ @cancel="onAddCancel"
39
38
  />
40
39
  </v-col>
41
40
  </v-row>
@@ -368,11 +367,11 @@
368
367
  });{{/if}}
369
368
  const showAddOrm = () => {
370
369
  addingObject.value = true;
371
- };{{#unless typeDef.singleton}}
370
+ };
372
371
  const onAddCancel = () => {
373
- addingObject.value = {{#if typeDef.singleton}}true{{else}}false{{/if}};
372
+ addingObject.value = false;
374
373
  emit("addCanceled");
375
- };{{/unless}}
374
+ };
376
375
 
377
376
  const onEditUpdated = (update: { field: string; value: any }) => {
378
377
  if (editingObject.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobiletto-orm-typedef-gen",
3
- "version": "2.3.24",
3
+ "version": "2.3.26",
4
4
  "type": "module",
5
5
  "description": "generate various files based on mobiletto-orm-typedef definitions",
6
6
  "keywords": [