@acorex-platform/module-ai-management-client 0.0.53 → 0.0.56

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 (14) hide show
  1. package/fesm2022/{acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CMsc3P9O.mjs → acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CJjat56M.mjs} +2 -2
  2. package/fesm2022/acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CJjat56M.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-Dmi8vzfr.mjs → acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-DSdzO0Zm.mjs} +10 -3
  4. package/fesm2022/acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-DSdzO0Zm.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-ai-management-client-contracts.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-module-ai-management-client.mjs +35 -29
  7. package/fesm2022/acorex-platform-module-ai-management-client.mjs.map +1 -1
  8. package/i18n/en-AU/ai-management.json +817 -0
  9. package/i18n/en-US/ai-management.json +817 -0
  10. package/i18n/fa-IR/ai-management.json +817 -0
  11. package/package.json +1 -1
  12. package/types/acorex-platform-module-ai-management-client-contracts.d.ts +2 -0
  13. package/fesm2022/acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CMsc3P9O.mjs.map +0 -1
  14. package/fesm2022/acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-Dmi8vzfr.mjs.map +0 -1
@@ -2717,14 +2717,17 @@ function readStoredAssistSettingId(raw) {
2717
2717
  return '';
2718
2718
  }
2719
2719
 
2720
- //#region ---- Imports ----
2720
+ //#region ----- Imports -----
2721
2721
  //#endregion
2722
- //#region ---- Config ----
2722
+ //#region ----- Constants -----
2723
+ const W$1 = '@ai-management:widgets';
2724
+ //#endregion
2725
+ //#region ----- Config -----
2723
2726
  const AXMAgentRegistryToolConfiguratorWidget = {
2724
2727
  name: 'agent-registry-tool-configurator',
2725
- title: 'Agent registry tool (command / query)',
2728
+ title: `${W$1}.agent-registry-tool-configurator.title`,
2726
2729
  icon: 'fa-light fa-screwdriver-wrench',
2727
- description: 'Select a command or query definition from the platform registry and optionally set default argument values (persisted with the agent).',
2730
+ description: `${W$1}.agent-registry-tool-configurator.description`,
2728
2731
  categories: AXP_WIDGETS_EDITOR_CATEGORY,
2729
2732
  groups: [AXPWidgetGroupEnum.UtilityWidget],
2730
2733
  type: 'editor',
@@ -2734,9 +2737,9 @@ const AXMAgentRegistryToolConfiguratorWidget = {
2734
2737
  AXP_DATA_PATH_PROPERTY,
2735
2738
  {
2736
2739
  name: 'label',
2737
- title: 'Label',
2740
+ title: `${W$1}.shared.properties.label`,
2738
2741
  visible: true,
2739
- group: { name: 'general', title: 'General', order: 1 },
2742
+ group: { name: 'general', title: `${W$1}.shared.groups.general`, order: 1 },
2740
2743
  schema: {
2741
2744
  dataType: 'string',
2742
2745
  defaultValue: '',
@@ -2744,16 +2747,16 @@ const AXMAgentRegistryToolConfiguratorWidget = {
2744
2747
  path: 'label',
2745
2748
  type: 'text-box',
2746
2749
  options: {
2747
- placeholder: 'Field label',
2750
+ placeholder: `${W$1}.shared.properties.field-label-placeholder`,
2748
2751
  },
2749
2752
  },
2750
2753
  },
2751
2754
  },
2752
2755
  {
2753
2756
  name: 'registryKind',
2754
- title: 'Registry kind',
2757
+ title: `${W$1}.shared.registry-kind.title`,
2755
2758
  visible: true,
2756
- group: { name: 'behavior', title: 'Behavior', order: 2 },
2759
+ group: { name: 'behavior', title: `${W$1}.shared.groups.behavior`, order: 2 },
2757
2760
  schema: {
2758
2761
  dataType: 'string',
2759
2762
  defaultValue: 'command',
@@ -2762,8 +2765,8 @@ const AXMAgentRegistryToolConfiguratorWidget = {
2762
2765
  type: 'select-editor',
2763
2766
  options: {
2764
2767
  items: [
2765
- { id: 'command', title: 'Command' },
2766
- { id: 'query', title: 'Query' },
2768
+ { id: 'command', title: `${W$1}.shared.registry-kind.command` },
2769
+ { id: 'query', title: `${W$1}.shared.registry-kind.query` },
2767
2770
  ],
2768
2771
  valueField: 'id',
2769
2772
  textField: 'title',
@@ -2773,32 +2776,32 @@ const AXMAgentRegistryToolConfiguratorWidget = {
2773
2776
  },
2774
2777
  {
2775
2778
  name: 'readonly',
2776
- title: 'Readonly',
2779
+ title: '@general:terms.common.readonly',
2777
2780
  visible: true,
2778
- group: { name: 'behavior', title: 'Behavior', order: 2 },
2781
+ group: { name: 'behavior', title: `${W$1}.shared.groups.behavior`, order: 2 },
2779
2782
  schema: {
2780
2783
  dataType: 'string',
2781
2784
  interface: {
2782
2785
  path: 'options.readonly',
2783
2786
  type: 'text-box',
2784
2787
  options: {
2785
- placeholder: 'true / false / expression',
2788
+ placeholder: `${W$1}.shared.properties.readonly-expression-placeholder`,
2786
2789
  },
2787
2790
  },
2788
2791
  },
2789
2792
  },
2790
2793
  {
2791
2794
  name: 'dataSource',
2792
- title: 'Data source override',
2795
+ title: `${W$1}.shared.properties.data-source-override`,
2793
2796
  visible: true,
2794
- group: { name: 'data', title: 'Data', order: 3 },
2797
+ group: { name: 'data', title: `${W$1}.shared.groups.data`, order: 3 },
2795
2798
  schema: {
2796
2799
  dataType: 'string',
2797
2800
  interface: {
2798
2801
  path: 'options.dataSource',
2799
2802
  type: 'text-box',
2800
2803
  options: {
2801
- placeholder: 'Optional; defaults by registry kind',
2804
+ placeholder: `${W$1}.shared.properties.data-source-override-placeholder`,
2802
2805
  },
2803
2806
  },
2804
2807
  },
@@ -2806,10 +2809,10 @@ const AXMAgentRegistryToolConfiguratorWidget = {
2806
2809
  ],
2807
2810
  components: {
2808
2811
  edit: {
2809
- component: () => import('./acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CMsc3P9O.mjs').then((c) => c.AXMAgentRegistryToolConfiguratorWidgetEditComponent),
2812
+ component: () => import('./acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CJjat56M.mjs').then((c) => c.AXMAgentRegistryToolConfiguratorWidgetEditComponent),
2810
2813
  },
2811
2814
  designer: {
2812
- component: () => import('./acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CMsc3P9O.mjs').then((c) => c.AXMAgentRegistryToolConfiguratorWidgetEditComponent),
2815
+ component: () => import('./acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-edit.component-CJjat56M.mjs').then((c) => c.AXMAgentRegistryToolConfiguratorWidgetEditComponent),
2813
2816
  },
2814
2817
  column: {
2815
2818
  component: () => import('./acorex-platform-module-ai-management-client-agent-registry-tool-configurator-widget-column.component-BHdDG8z0.mjs').then((c) => c.AXMAgentRegistryToolConfiguratorWidgetColumnComponent),
@@ -2820,12 +2823,15 @@ const AXMAgentRegistryToolConfiguratorWidget = {
2820
2823
 
2821
2824
  //#region ---- Imports ----
2822
2825
  //#endregion
2826
+ //#region ---- Constants ----
2827
+ const W = '@ai-management:widgets';
2828
+ //#endregion
2823
2829
  //#region ---- Config ----
2824
2830
  const AXMAssistDelegatedAgentConfiguratorWidget = {
2825
2831
  name: 'assist-delegated-agent-configurator',
2826
- title: 'Assist Delegated Agent Configurator',
2832
+ title: `${W}.assist-delegated-agent-configurator.title`,
2827
2833
  icon: 'fa-light fa-user-robot',
2828
- description: 'Select a delegated agent and configure injected delegated parameters.',
2834
+ description: `${W}.assist-delegated-agent-configurator.description`,
2829
2835
  categories: AXP_WIDGETS_EDITOR_CATEGORY,
2830
2836
  groups: [AXPWidgetGroupEnum.UtilityWidget],
2831
2837
  type: 'editor',
@@ -2835,9 +2841,9 @@ const AXMAssistDelegatedAgentConfiguratorWidget = {
2835
2841
  AXP_DATA_PATH_PROPERTY,
2836
2842
  {
2837
2843
  name: 'label',
2838
- title: 'Label',
2844
+ title: `${W}.shared.properties.label`,
2839
2845
  visible: true,
2840
- group: { name: 'general', title: 'General', order: 1 },
2846
+ group: { name: 'general', title: `${W}.shared.groups.general`, order: 1 },
2841
2847
  schema: {
2842
2848
  dataType: 'string',
2843
2849
  defaultValue: '@ai-management:assists.entities.assist.fields.delegated-agent.title',
@@ -2845,23 +2851,23 @@ const AXMAssistDelegatedAgentConfiguratorWidget = {
2845
2851
  path: 'label',
2846
2852
  type: 'text-box',
2847
2853
  options: {
2848
- placeholder: 'Field label',
2854
+ placeholder: `${W}.shared.properties.field-label-placeholder`,
2849
2855
  },
2850
2856
  },
2851
2857
  },
2852
2858
  },
2853
2859
  {
2854
2860
  name: 'readonly',
2855
- title: 'Readonly',
2861
+ title: '@general:terms.common.readonly',
2856
2862
  visible: true,
2857
- group: { name: 'behavior', title: 'Behavior', order: 2 },
2863
+ group: { name: 'behavior', title: `${W}.shared.groups.behavior`, order: 2 },
2858
2864
  schema: {
2859
2865
  dataType: 'string',
2860
2866
  interface: {
2861
2867
  path: 'options.readonly',
2862
2868
  type: 'text-box',
2863
2869
  options: {
2864
- placeholder: 'true / false / expression',
2870
+ placeholder: `${W}.shared.properties.readonly-expression-placeholder`,
2865
2871
  },
2866
2872
  },
2867
2873
  },
@@ -2869,10 +2875,10 @@ const AXMAssistDelegatedAgentConfiguratorWidget = {
2869
2875
  ],
2870
2876
  components: {
2871
2877
  edit: {
2872
- component: () => import('./acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-Dmi8vzfr.mjs').then((c) => c.AXMAssistDelegatedAgentConfiguratorWidgetEditComponent),
2878
+ component: () => import('./acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-DSdzO0Zm.mjs').then((c) => c.AXMAssistDelegatedAgentConfiguratorWidgetEditComponent),
2873
2879
  },
2874
2880
  designer: {
2875
- component: () => import('./acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-Dmi8vzfr.mjs').then((c) => c.AXMAssistDelegatedAgentConfiguratorWidgetEditComponent),
2881
+ component: () => import('./acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-edit.component-DSdzO0Zm.mjs').then((c) => c.AXMAssistDelegatedAgentConfiguratorWidgetEditComponent),
2876
2882
  },
2877
2883
  column: {
2878
2884
  component: () => import('./acorex-platform-module-ai-management-client-assist-delegated-agent-configurator-widget-column.component-CWUhBvpf.mjs').then((c) => c.AXMAssistDelegatedAgentConfiguratorWidgetColumnComponent),