@cortezaproject/corteza-vue 2024.9.10-dev.2 → 2024.9.10-rc.2

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/index.cjs CHANGED
@@ -25203,22 +25203,22 @@ const prompts = Object.freeze([
25203
25203
  ref: 'redirect',
25204
25204
  meta: { short: 'Redirect user to an outside URL' },
25205
25205
  parameters: [
25206
- { name: 'owner', types: ['User', 'ID'], required: false },
25207
- { name: 'url', types: ['String'], required: true },
25208
- { name: 'delay', types: ['Integer'], meta: { description: 'Redirection delay in seconds' } },
25209
- { name: 'openMode', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: openModeVariants }, default: 'sameTab' } } } },
25206
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25207
+ { name: 'url', types: ['String'], required: true, meta: { label: 'URL' } },
25208
+ { name: 'delay', types: ['Integer'], meta: { label: 'Delay', description: 'Redirection delay in seconds' } },
25209
+ { name: 'openMode', types: ['String'], meta: { label: 'Open mode', visual: { input: { type: 'select', properties: { options: openModeVariants }, default: 'sameTab' } } } },
25210
25210
  ],
25211
25211
  },
25212
25212
  {
25213
25213
  ref: 'reroute',
25214
25214
  meta: { short: 'Redirect user to an internal application route' },
25215
25215
  parameters: [
25216
- { name: 'owner', types: ['User', 'ID'], required: false },
25217
- { name: 'name', types: ['String'], required: true },
25218
- { name: 'params', types: ['KV'] },
25219
- { name: 'query', types: ['KV'] },
25220
- { name: 'delay', types: ['Integer'], meta: { description: 'Redirection delay in seconds' } },
25221
- { name: 'openMode', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: openModeVariants }, default: 'sameTab' } } } },
25216
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25217
+ { name: 'name', types: ['String'], required: true, meta: { label: 'Name' } },
25218
+ { name: 'params', types: ['KV'], meta: { label: 'Parameters' } },
25219
+ { name: 'query', types: ['KV'], meta: { label: 'Query' } },
25220
+ { name: 'delay', types: ['Integer'], meta: { label: 'Delay', description: 'Redirection delay in seconds' } },
25221
+ { name: 'openMode', types: ['String'], meta: { label: 'Open mode', visual: { input: { type: 'select', properties: { options: openModeVariants }, default: 'sameTab' } } } },
25222
25222
  ],
25223
25223
  },
25224
25224
  {
@@ -25228,14 +25228,14 @@ const prompts = Object.freeze([
25228
25228
  webapps: ['compose'],
25229
25229
  },
25230
25230
  parameters: [
25231
- { name: 'owner', types: ['User', 'ID'], required: false },
25232
- { name: 'module', types: ['ID', 'Handle', 'ComposeModule'] },
25233
- { name: 'namespace', types: ['ID', 'Handle', 'ComposeNamespace'] },
25234
- { name: 'record', types: ['ID', 'ComposeRecord'] },
25235
- { name: 'values', types: ['KV'], meta: { description: 'Prefilled record values for new records' } },
25236
- { name: 'edit', types: ['Boolean'] },
25237
- { name: 'delay', types: ['Integer'], meta: { description: 'Redirection delay in seconds' } },
25238
- { name: 'openMode', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: [...openModeVariants, { value: 'modal', text: 'Open in a modal' }] }, default: 'modal' } } } },
25231
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25232
+ { name: 'module', types: ['ID', 'Handle', 'ComposeModule'], meta: { label: 'Module' } },
25233
+ { name: 'namespace', types: ['ID', 'Handle', 'ComposeNamespace'], meta: { label: 'Namespace' } },
25234
+ { name: 'record', types: ['ID', 'ComposeRecord'], meta: { label: 'Record' } },
25235
+ { name: 'values', types: ['KV'], meta: { label: 'Values', description: 'Prefilled record values for new records' } },
25236
+ { name: 'edit', types: ['Boolean'], meta: { label: 'Edit' } },
25237
+ { name: 'delay', types: ['Integer'], meta: { label: 'Delay', description: 'Redirection delay in seconds' } },
25238
+ { name: 'openMode', types: ['String'], meta: { label: 'Open mode', visual: { input: { type: 'select', properties: { options: [...openModeVariants, { value: 'modal', text: 'Open in a modal' }] }, default: 'modal' } } } },
25239
25239
  ],
25240
25240
  },
25241
25241
  {
@@ -25246,37 +25246,37 @@ const prompts = Object.freeze([
25246
25246
  ref: 'notification',
25247
25247
  meta: { short: 'Show non-blocking message to user' },
25248
25248
  parameters: [
25249
- { name: 'owner', types: ['User', 'ID'], required: false },
25250
- { name: 'title', types: ['String'] },
25251
- { name: 'message', types: ['String'], required: true },
25252
- { name: 'variant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25253
- { name: 'timeout', types: ['Integer'], meta: { description: 'How long do we show the notification in seconds' } },
25249
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25250
+ { name: 'title', types: ['String'], meta: { label: 'Title' } },
25251
+ { name: 'message', types: ['String'], required: true, meta: { label: 'Message' } },
25252
+ { name: 'variant', types: ['String'], meta: { label: 'Variant', visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25253
+ { name: 'timeout', types: ['Integer'], meta: { label: 'Timeout', description: 'How long do we show the notification in seconds' } },
25254
25254
  ],
25255
25255
  },
25256
25256
  {
25257
25257
  ref: 'alert',
25258
25258
  meta: { short: 'Prompt user with an alert' },
25259
25259
  parameters: [
25260
- { name: 'owner', types: ['User', 'ID'], required: false },
25261
- { name: 'title', types: ['String'] },
25262
- { name: 'message', types: ['String'], required: true },
25263
- { name: 'buttonLabel', types: ['String'] },
25264
- { name: 'buttonVariant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25260
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25261
+ { name: 'title', types: ['String'], meta: { label: 'Title' } },
25262
+ { name: 'message', types: ['String'], required: true, meta: { label: 'Message' } },
25263
+ { name: 'buttonLabel', types: ['String'], meta: { label: 'Button label' } },
25264
+ { name: 'buttonVariant', types: ['String'], meta: { label: 'Button variant', visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25265
25265
  ],
25266
25266
  },
25267
25267
  {
25268
25268
  ref: 'choice',
25269
25269
  meta: { short: 'Prompt user with choice' },
25270
25270
  parameters: [
25271
- { name: 'owner', types: ['User', 'ID'], required: false },
25272
- { name: 'title', types: ['String'] },
25273
- { name: 'message', types: ['String'], required: true },
25274
- { name: 'confirmButtonLabel', types: ['String'] },
25275
- { name: 'confirmButtonVariant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25276
- { name: 'confirmButtonValue', types: ['Any'] },
25277
- { name: 'rejectButtonLabel', types: ['String'] },
25278
- { name: 'rejectButtonVariant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'danger' } } } },
25279
- { name: 'rejectButtonValue', types: ['Any'] },
25271
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25272
+ { name: 'title', types: ['String'], meta: { label: 'Title' } },
25273
+ { name: 'message', types: ['String'], required: true, meta: { label: 'Message' } },
25274
+ { name: 'confirmButtonLabel', types: ['String'], meta: { label: 'Confirm button label' } },
25275
+ { name: 'confirmButtonVariant', types: ['String'], meta: { label: 'Confirm button variant', visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25276
+ { name: 'confirmButtonValue', types: ['Any'], meta: { label: 'Confirm button value' } },
25277
+ { name: 'rejectButtonLabel', types: ['String'], meta: { label: 'Reject button label' } },
25278
+ { name: 'rejectButtonVariant', types: ['String'], meta: { label: 'Reject button variant', visual: { input: { type: 'select', properties: { options: variants }, default: 'danger' } } } },
25279
+ { name: 'rejectButtonValue', types: ['Any'], meta: { label: 'Reject button value' } },
25280
25280
  ],
25281
25281
  results: [
25282
25282
  { name: 'value', types: ['Any'] },
@@ -25286,17 +25286,17 @@ const prompts = Object.freeze([
25286
25286
  ref: 'composeRecordPicker',
25287
25287
  meta: { short: 'Prompt user to select a Compose Record' },
25288
25288
  parameters: [
25289
- { name: 'owner', types: ['User', 'ID'], required: false },
25290
- { name: 'title', types: ['String'] },
25291
- { name: 'message', types: ['String'], required: true },
25292
- { name: 'namespace', types: ['ID', 'Handle', 'ComposeNamespace'], required: true },
25293
- { name: 'module', types: ['ID', 'Handle', 'ComposeModule'], required: true },
25294
- { name: 'labelField', types: ['Handle'], required: true },
25295
- { name: 'queryFields', types: ['Array'] },
25296
- { name: 'prefilter', types: ['String'] },
25297
- { name: 'label', types: ['String'] },
25298
- { name: 'placeholder', types: ['String'] },
25299
- { name: 'buttonLabel', types: ['String'] },
25289
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25290
+ { name: 'title', types: ['String'], meta: { label: 'Title' } },
25291
+ { name: 'message', types: ['String'], required: true, meta: { label: 'Message' } },
25292
+ { name: 'namespace', types: ['ID', 'Handle', 'ComposeNamespace'], required: true, meta: { label: 'Namespace' } },
25293
+ { name: 'module', types: ['ID', 'Handle', 'ComposeModule'], required: true, meta: { label: 'Module' } },
25294
+ { name: 'labelField', types: ['Handle'], required: true, meta: { label: 'Label field' } },
25295
+ { name: 'queryFields', types: ['Array'], meta: { label: 'Query fields' } },
25296
+ { name: 'prefilter', types: ['String'], meta: { label: 'Prefilter' } },
25297
+ { name: 'label', types: ['String'], meta: { label: 'Label' } },
25298
+ { name: 'placeholder', types: ['String'], meta: { label: 'Placeholder' } },
25299
+ { name: 'buttonLabel', types: ['String'], meta: { label: 'Button label' } },
25300
25300
  ],
25301
25301
  results: [
25302
25302
  { name: 'value', types: ['ComposeRecord'] },
@@ -25306,15 +25306,15 @@ const prompts = Object.freeze([
25306
25306
  ref: 'input',
25307
25307
  meta: { short: 'Prompt user with a single input' },
25308
25308
  parameters: [
25309
- { name: 'owner', types: ['User', 'ID'], required: false },
25310
- { name: 'title', types: ['String'] },
25311
- { name: 'variant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25312
- { name: 'message', types: ['String'], required: true },
25313
- { name: 'label', types: ['String'] },
25309
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25310
+ { name: 'title', types: ['String'], meta: { label: 'Title' } },
25311
+ { name: 'variant', types: ['String'], meta: { label: 'Variant', visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25312
+ { name: 'message', types: ['String'], required: true, meta: { label: 'Message' } },
25313
+ { name: 'label', types: ['String'], meta: { label: 'Label' } },
25314
25314
  {
25315
25315
  name: 'type',
25316
25316
  types: ['String'],
25317
- meta: {
25317
+ meta: { label: 'Type',
25318
25318
  visual: {
25319
25319
  input: {
25320
25320
  type: 'select',
@@ -25335,8 +25335,8 @@ const prompts = Object.freeze([
25335
25335
  },
25336
25336
  },
25337
25337
  },
25338
- { name: 'inputValue', types: ['String'] },
25339
- { name: 'buttonLabel', types: ['String'] },
25338
+ { name: 'inputValue', types: ['String'], meta: { label: 'Input value' } },
25339
+ { name: 'buttonLabel', types: ['String'], meta: { label: 'Button label' } },
25340
25340
  ],
25341
25341
  results: [
25342
25342
  { name: 'value', types: ['Any'] },
@@ -25346,15 +25346,15 @@ const prompts = Object.freeze([
25346
25346
  ref: 'options',
25347
25347
  meta: { short: 'Prompt user with options' },
25348
25348
  parameters: [
25349
- { name: 'owner', types: ['User', 'ID'], required: false },
25350
- { name: 'title', types: ['String'] },
25351
- { name: 'variant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25352
- { name: 'message', types: ['String'], required: true },
25353
- { name: 'label', types: ['String'] },
25349
+ { name: 'owner', types: ['User', 'ID'], required: false, meta: { label: 'Owner' } },
25350
+ { name: 'title', types: ['String'], meta: { label: 'Title' } },
25351
+ { name: 'variant', types: ['String'], meta: { label: 'Variant', visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
25352
+ { name: 'message', types: ['String'], required: true, meta: { label: 'Message' } },
25353
+ { name: 'label', types: ['String'], meta: { label: 'Label' } },
25354
25354
  {
25355
25355
  name: 'type',
25356
25356
  types: ['String'],
25357
- meta: {
25357
+ meta: { label: 'Type',
25358
25358
  visual: {
25359
25359
  input: {
25360
25360
  type: 'select',
@@ -25369,11 +25369,11 @@ const prompts = Object.freeze([
25369
25369
  },
25370
25370
  },
25371
25371
  },
25372
- { name: 'value', types: ['String', 'Array'] },
25373
- { name: 'placeholder', types: ['String'] },
25374
- { name: 'options', types: ['KV'] },
25375
- { name: 'multiselect', types: ['Boolean'] },
25376
- { name: 'buttonLabel', types: ['String'] },
25372
+ { name: 'value', types: ['String', 'Array'], meta: { label: 'Value' } },
25373
+ { name: 'placeholder', types: ['String'], meta: { label: 'Placeholder' } },
25374
+ { name: 'options', types: ['KV'], meta: { label: 'Options' } },
25375
+ { name: 'multiselect', types: ['Boolean'], meta: { label: 'Multiselect' } },
25376
+ { name: 'buttonLabel', types: ['String'], meta: { label: 'Button label' } },
25377
25377
  ],
25378
25378
  results: [
25379
25379
  { name: 'value', types: ['Any'] },
@@ -29991,6 +29991,7 @@ var __vue_staticRenderFns__$f = [];
29991
29991
  //
29992
29992
  //
29993
29993
  //
29994
+ //
29994
29995
 
29995
29996
  var script$e = {
29996
29997
  props: {
@@ -30023,7 +30024,7 @@ var script$e = {
30023
30024
  const __vue_script__$e = script$e;
30024
30025
 
30025
30026
  /* template */
30026
- var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column"},[_c('h5',{staticClass:"font-weight-bold text-break"},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"text-secondary mb-1 text-break"},[_vm._v("\n "+_vm._s(_vm.description)+"\n ")])])};
30027
+ var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column"},[_c('h5',{staticClass:"font-weight-bold text-break"},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"rt-content text-secondary mb-1 text-break",domProps:{"innerHTML":_vm._s(_vm.description)}})])};
30027
30028
  var __vue_staticRenderFns__$e = [];
30028
30029
 
30029
30030
  /* style */
@@ -30067,6 +30068,7 @@ var __vue_staticRenderFns__$e = [];
30067
30068
  //
30068
30069
  //
30069
30070
  //
30071
+ //
30070
30072
 
30071
30073
  var script$d = {
30072
30074
  props: {
@@ -30184,7 +30186,7 @@ var script$d = {
30184
30186
  const __vue_script__$d = script$d;
30185
30187
 
30186
30188
  /* template */
30187
- var __vue_render__$d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column",on:{"click":_vm.handleRecordNavigation}},[_c('h5',{staticClass:"font-weight-bold text-break"},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"text-secondary mb-1 text-break"},[_vm._v("\n "+_vm._s(_vm.description)+"\n ")])])};
30189
+ var __vue_render__$d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column",on:{"click":_vm.handleRecordNavigation}},[_c('h5',{staticClass:"font-weight-bold text-break"},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"rt-content text-secondary mb-1 text-break",domProps:{"innerHTML":_vm._s(_vm.description)}})])};
30188
30190
  var __vue_staticRenderFns__$d = [];
30189
30191
 
30190
30192
  /* style */