@privateaim/client-vue 0.8.37 → 0.8.39

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/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # @privateaim/client-vue 🎨
2
+
3
+ [![npm version][npm-src]][npm-href]
4
+
5
+ Reusable Vue 3 component library for building PrivateAIM client applications — forms, lists, and detail views for all domain entities.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @privateaim/client-vue
11
+ ```
12
+
13
+ ## License
14
+
15
+ Made with 💚
16
+
17
+ Published under [Apache 2.0](../../LICENSE).
18
+
19
+ [npm-src]: https://img.shields.io/npm/v/@privateaim/client-vue
20
+ [npm-href]: https://npmjs.com/package/@privateaim/client-vue
package/dist/index.mjs CHANGED
@@ -4000,15 +4000,17 @@ var FAnalysisProgressBar_vue_vue_type_script_lang_default = defineComponent({
4000
4000
  });
4001
4001
  const buildProgress = computed(() => {
4002
4002
  if (entity.value.build_status === ProcessStatus.EXECUTED) return 100;
4003
- if (entity.value.build_status === ProcessStatus.STARTED) return 20;
4004
- if (entity.value.build_status === ProcessStatus.STARTING) return 10;
4005
- return 0;
4003
+ if (entity.value.build_status === ProcessStatus.STARTED) return 10;
4004
+ if (entity.value.build_status === ProcessStatus.STARTING) return 5;
4005
+ if (!entity.value.build_status) return 0;
4006
+ return Math.max(10, entity.value.build_progress ?? 0);
4006
4007
  });
4007
4008
  const runProgress = computed(() => {
4008
4009
  if (entity.value.execution_status === ProcessStatus.EXECUTED) return 100;
4009
- if (entity.value.execution_status === ProcessStatus.STARTED) return 20;
4010
- if (entity.value.execution_status === ProcessStatus.STARTING) return 10;
4011
- return 0;
4010
+ if (entity.value.execution_status === ProcessStatus.STARTED) return 10;
4011
+ if (entity.value.execution_status === ProcessStatus.STARTING) return 5;
4012
+ if (!entity.value.execution_status) return 0;
4013
+ return Math.max(10, entity.value.execution_progress ?? 0);
4012
4014
  });
4013
4015
  const progress = computed(() => {
4014
4016
  const total = configurationProgress.value + buildProgress.value + runProgress.value;