@appscode/design-system 2.17.83 → 2.17.85
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
|
@@ -28,7 +28,6 @@ defineEmits(["onDelete"]);
|
|
|
28
28
|
const open = defineModel({ type: Boolean });
|
|
29
29
|
|
|
30
30
|
const Modal = defineAsyncComponent(() => import("./DialogModal.vue"));
|
|
31
|
-
const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
|
|
32
31
|
</script>
|
|
33
32
|
|
|
34
33
|
<template>
|
|
@@ -43,27 +42,14 @@ const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
|
|
|
43
42
|
:ignore-outside-click="ignoreOutsideClick"
|
|
44
43
|
>
|
|
45
44
|
<!-- freedom content start -->
|
|
46
|
-
<
|
|
45
|
+
<slot name="custom-message">
|
|
46
|
+
<h1>{{ message }}</h1>
|
|
47
|
+
</slot>
|
|
47
48
|
<!-- freedom content end -->
|
|
48
49
|
|
|
49
50
|
<!-- modal footer start -->
|
|
50
51
|
<template #modal-footer-left>
|
|
51
|
-
<
|
|
52
|
-
<ac-button
|
|
53
|
-
title="Yes, Do this"
|
|
54
|
-
modifier-classes="is-primary"
|
|
55
|
-
:is-loader-active="isDeleteActive"
|
|
56
|
-
@click.stop="$emit('onDelete', itemName)"
|
|
57
|
-
data-testid="delete-confirmation-modal-confirm-button"
|
|
58
|
-
/>
|
|
59
|
-
<ac-button
|
|
60
|
-
@click.stop="open = false"
|
|
61
|
-
title="Cancel"
|
|
62
|
-
modifier-classes="is-outlined"
|
|
63
|
-
:disabled="isDeleteActive || disableModalClose"
|
|
64
|
-
data-testid="delete-confirmation-modal-close-button"
|
|
65
|
-
/>
|
|
66
|
-
</div>
|
|
52
|
+
<slot name="footer-button" />
|
|
67
53
|
</template>
|
|
68
54
|
</modal>
|
|
69
55
|
<!-- modal end -->
|
|
@@ -121,7 +121,7 @@ const filteredAppList = appListWithUrl.filter((element) => {
|
|
|
121
121
|
// but always keep billing when this is an offline installer
|
|
122
122
|
const selfHostList = ["billing", "selfhost", "learn"];
|
|
123
123
|
if (isSelfHosted.value && selfHostList.includes(element.name)) {
|
|
124
|
-
if (element.name === "billing" && props.isOfflineInstaller) return true;
|
|
124
|
+
if (element.name === "billing" && props.isOfflineInstaller && props.activeOrgType === 6) return true;
|
|
125
125
|
return false;
|
|
126
126
|
}
|
|
127
127
|
|