@appscode/design-system 2.1.8 → 2.2.0

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 (72) hide show
  1. package/package.json +1 -1
  2. package/vue-components/v3/form-fields/Switch.vue +1 -1
  3. package/vue-components/v2/banner/Banner.vue +0 -12
  4. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +0 -84
  5. package/vue-components/v2/button/Button.vue +0 -70
  6. package/vue-components/v2/button/Buttons.vue +0 -5
  7. package/vue-components/v2/button/DownloadBtn.vue +0 -45
  8. package/vue-components/v2/card/Card.vue +0 -37
  9. package/vue-components/v2/card/CardContent.vue +0 -5
  10. package/vue-components/v2/card/CardHeader.vue +0 -10
  11. package/vue-components/v2/card/Cards.vue +0 -5
  12. package/vue-components/v2/card/OverviewCard.vue +0 -10
  13. package/vue-components/v2/card/OverviewCards.vue +0 -20
  14. package/vue-components/v2/card/PaymentCard.vue +0 -69
  15. package/vue-components/v2/card/PaymentCardOptionButtons.vue +0 -35
  16. package/vue-components/v2/card/PaymentCards.vue +0 -48
  17. package/vue-components/v2/content/ContentHeader.vue +0 -50
  18. package/vue-components/v2/content/ContentLayout.vue +0 -9
  19. package/vue-components/v2/content/ContentTable.vue +0 -62
  20. package/vue-components/v2/editor/Editor.vue +0 -144
  21. package/vue-components/v2/editor/FilteredFileEditor.vue +0 -177
  22. package/vue-components/v2/editor/MonacoEditor.vue +0 -118
  23. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +0 -199
  24. package/vue-components/v2/form/Form.vue +0 -54
  25. package/vue-components/v2/form/FormFooterControl.vue +0 -5
  26. package/vue-components/v2/form/FormFooterControls.vue +0 -5
  27. package/vue-components/v2/form-fields/AcSingleInput.vue +0 -20
  28. package/vue-components/v2/form-fields/Input.vue +0 -17
  29. package/vue-components/v2/header/Header.vue +0 -34
  30. package/vue-components/v2/header/HeaderItem.vue +0 -5
  31. package/vue-components/v2/header/HeaderItems.vue +0 -5
  32. package/vue-components/v2/icons/Ellipsis.vue +0 -4
  33. package/vue-components/v2/loaders/ResourceLoader.vue +0 -101
  34. package/vue-components/v2/loaders/SidebarLoader.vue +0 -43
  35. package/vue-components/v2/modal/Modal.vue +0 -137
  36. package/vue-components/v2/modals/DeleteConfirmationModal.vue +0 -74
  37. package/vue-components/v2/modals/JsonShowModal.vue +0 -69
  38. package/vue-components/v2/navbar/Appdrawer.vue +0 -74
  39. package/vue-components/v2/navbar/Navbar.vue +0 -29
  40. package/vue-components/v2/navbar/NavbarItem.vue +0 -7
  41. package/vue-components/v2/navbar/NavbarItemContent.vue +0 -5
  42. package/vue-components/v2/navbar/ThemeMode.vue +0 -114
  43. package/vue-components/v2/navbar/User.vue +0 -190
  44. package/vue-components/v2/notification/Notification.vue +0 -92
  45. package/vue-components/v2/notification/NotificationItem.vue +0 -42
  46. package/vue-components/v2/pagination/Pagination.vue +0 -214
  47. package/vue-components/v2/preloader/Preloader.vue +0 -26
  48. package/vue-components/v2/searchbars/SearchBar.vue +0 -31
  49. package/vue-components/v2/sidebar/ClusterSwitcher.vue +0 -126
  50. package/vue-components/v2/sidebar/Sidebar.vue +0 -5
  51. package/vue-components/v2/sidebar/SidebarItem.vue +0 -59
  52. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +0 -114
  53. package/vue-components/v2/tab/TabItem.vue +0 -16
  54. package/vue-components/v2/tab/Tabs.vue +0 -7
  55. package/vue-components/v2/tab/TabsBody.vue +0 -5
  56. package/vue-components/v2/table/EmptyTableImage.vue +0 -3
  57. package/vue-components/v2/table/EmptyTableInfo.vue +0 -6
  58. package/vue-components/v2/table/FakeTableCell.vue +0 -35
  59. package/vue-components/v2/table/InfoTable.vue +0 -91
  60. package/vue-components/v2/table/NarrowTable.vue +0 -17
  61. package/vue-components/v2/table/Table.vue +0 -212
  62. package/vue-components/v2/table/TableCell.vue +0 -26
  63. package/vue-components/v2/table/TableContainer.vue +0 -5
  64. package/vue-components/v2/table/TableRow.vue +0 -50
  65. package/vue-components/v2/table/table-cell/ArrayCell.vue +0 -94
  66. package/vue-components/v2/table/table-cell/CellValue.vue +0 -125
  67. package/vue-components/v2/table/table-cell/GenericCell.vue +0 -56
  68. package/vue-components/v2/table/table-cell/ObjectCell.vue +0 -93
  69. package/vue-components/v2/table/table-cell/ValueWithModal.vue +0 -34
  70. package/vue-components/v2/tabs/EditorTabs.vue +0 -28
  71. package/vue-components/v2/tag/Tag.vue +0 -16
  72. package/vue-components/v2/tag/Tags.vue +0 -5
@@ -1,20 +0,0 @@
1
- <template>
2
- <div class="ac-single-input is-small" :class="modifierClasses">
3
- <slot name="label" />
4
- <slot name="button" />
5
- <slot />
6
- <slot name="eye-switcher" />
7
- <slot name="error" />
8
- </div>
9
- </template>
10
-
11
- <script>
12
- export default {
13
- props: {
14
- modifierClasses: {
15
- type: String,
16
- default: "",
17
- },
18
- },
19
- };
20
- </script>
@@ -1,17 +0,0 @@
1
- <template>
2
- <input data-testid="ac-input" class="ac-input" v-on="inputListeners" />
3
- </template>
4
-
5
- <script>
6
- export default {
7
- computed: {
8
- inputListeners() {
9
- return Object.assign({}, this.$listeners, {
10
- input: (event) => {
11
- this.$emit("input", event.target.value);
12
- },
13
- });
14
- },
15
- },
16
- };
17
- </script>
@@ -1,34 +0,0 @@
1
- <template>
2
- <div class="inner-header">
3
- <div class="is-flex is-justify-content-space-between" :class="{ container: isContainer }">
4
- <header-items>
5
- <header-item>
6
- <h5>{{ title }}</h5>
7
- </header-item>
8
- <slot name="header-left-controls" />
9
- </header-items>
10
- <header-items>
11
- <slot />
12
- </header-items>
13
- </div>
14
- </div>
15
- </template>
16
-
17
- <script>
18
- export default {
19
- props: {
20
- title: {
21
- type: String,
22
- default: "No Title",
23
- },
24
- isContainer: {
25
- type: Boolean,
26
- default: false,
27
- },
28
- },
29
- components: {
30
- HeaderItems: () => import("./HeaderItems.vue"),
31
- HeaderItem: () => import("./HeaderItem.vue"),
32
- },
33
- };
34
- </script>
@@ -1,5 +0,0 @@
1
- <template>
2
- <div class="header-item">
3
- <slot />
4
- </div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <template>
2
- <div class="header-items is-flex is-align-items-center">
3
- <slot />
4
- </div>
5
- </template>
@@ -1,4 +0,0 @@
1
- <template>
2
- <!-- <i aria-hidden="true" class="fa fa-ellipsis-h"></i> -->
3
- <span>More...</span>
4
- </template>
@@ -1,101 +0,0 @@
1
- <template>
2
- <div>
3
- <content-loader
4
- :width="100"
5
- :height="40"
6
- :speed="2"
7
- :primaryColor="primaryLoaderColor"
8
- :secondaryColor="secondaryLoaderColor"
9
- >
10
- <rect x="1" y="1" rx="1" ry="1" width="14" height="1" />
11
- <rect x="17" y="1" rx="1" ry="1" width="13" height="1" />
12
- <rect x="32" y="1" rx="1" ry="1" width="8" height="1" />
13
-
14
- <rect x="7" y="3" rx="1" ry="1" width="14" height="1" />
15
- <rect x="23" y="3" rx="1" ry="1" width="13" height="1" />
16
- <rect x="38" y="3" rx="1" ry="1" width="8" height="1" />
17
-
18
- <rect x="13" y="5" rx="1" ry="1" width="8" height="1" />
19
- <rect x="23" y="5" rx="1" ry="1" width="15" height="1" />
20
- <rect x="40" y="5" rx="1" ry="1" width="4" height="1" />
21
-
22
- <rect x="13" y="7" rx="1" ry="1" width="10" height="1" />
23
- <rect x="25" y="7" rx="1" ry="1" width="20" height="1" />
24
-
25
- <rect x="7" y="10" rx="1" ry="1" width="14" height="1" />
26
- <rect x="23" y="10" rx="1" ry="1" width="13" height="1" />
27
- <rect x="38" y="10" rx="1" ry="1" width="8" height="1" />
28
-
29
- <rect x="13" y="12" rx="1" ry="1" width="8" height="1" />
30
- <rect x="23" y="12" rx="1" ry="1" width="15" height="1" />
31
- <rect x="40" y="12" rx="1" ry="1" width="4" height="1" />
32
-
33
- <rect x="13" y="14" rx="1" ry="1" width="10" height="1" />
34
- <rect x="25" y="14" rx="1" ry="1" width="20" height="1" />
35
-
36
- <rect x="7" y="17" rx="1" ry="1" width="14" height="1" />
37
- <rect x="23" y="17" rx="1" ry="1" width="13" height="1" />
38
- <rect x="38" y="17" rx="1" ry="1" width="8" height="1" />
39
-
40
- <rect x="13" y="19" rx="1" ry="1" width="8" height="1" />
41
- <rect x="23" y="19" rx="1" ry="1" width="15" height="1" />
42
- <rect x="40" y="19" rx="1" ry="1" width="4" height="1" />
43
-
44
- <rect x="7" y="22" rx="1" ry="1" width="14" height="1" />
45
- <rect x="23" y="22" rx="1" ry="1" width="13" height="1" />
46
- <rect x="38" y="22" rx="1" ry="1" width="8" height="1" />
47
-
48
- <rect x="13" y="24" rx="1" ry="1" width="8" height="1" />
49
- <rect x="23" y="24" rx="1" ry="1" width="15" height="1" />
50
- <rect x="40" y="24" rx="1" ry="1" width="4" height="1" />
51
-
52
- <rect x="1" y="26" rx="1" ry="1" width="14" height="1" />
53
- <rect x="17" y="26" rx="1" ry="1" width="13" height="1" />
54
- <rect x="32" y="26" rx="1" ry="1" width="8" height="1" />
55
-
56
- <rect x="7" y="29" rx="1" ry="1" width="14" height="1" />
57
- <rect x="23" y="29" rx="1" ry="1" width="13" height="1" />
58
- <rect x="38" y="29" rx="1" ry="1" width="8" height="1" />
59
-
60
- <rect x="13" y="31" rx="1" ry="1" width="8" height="1" />
61
- <rect x="23" y="31" rx="1" ry="1" width="15" height="1" />
62
- <rect x="40" y="31" rx="1" ry="1" width="4" height="1" />
63
-
64
- <rect x="7" y="33" rx="1" ry="1" width="14" height="1" />
65
- <rect x="23" y="33" rx="1" ry="1" width="13" height="1" />
66
- <rect x="38" y="33" rx="1" ry="1" width="8" height="1" />
67
-
68
- <rect x="13" y="35" rx="1" ry="1" width="8" height="1" />
69
- <rect x="23" y="35" rx="1" ry="1" width="15" height="1" />
70
- <rect x="40" y="35" rx="1" ry="1" width="4" height="1" />
71
-
72
- <rect x="13" y="37" rx="1" ry="1" width="8" height="1" />
73
- <rect x="23" y="37" rx="1" ry="1" width="15" height="1" />
74
- <rect x="40" y="37" rx="1" ry="1" width="4" height="1" />
75
-
76
- <rect x="1" y="39" rx="1" ry="1" width="14" height="1" />
77
- <rect x="17" y="39" rx="1" ry="1" width="13" height="1" />
78
- <rect x="32" y="39" rx="1" ry="1" width="8" height="1" />
79
- </content-loader>
80
- </div>
81
- </template>
82
-
83
- <script>
84
- import { ContentLoader } from "vue-content-loader";
85
-
86
- export default {
87
- components: {
88
- ContentLoader,
89
- },
90
- props: {
91
- primaryLoaderColor: {
92
- type: String,
93
- default: "#f5f7f9",
94
- },
95
- secondaryLoaderColor: {
96
- type: String,
97
- default: "#ecebeb",
98
- },
99
- },
100
- };
101
- </script>
@@ -1,43 +0,0 @@
1
- <template>
2
- <div>
3
- <content-loader
4
- :width="100"
5
- :height="175"
6
- :speed="2"
7
- :primaryColor="primaryLoaderColor"
8
- :secondaryColor="secondaryLoaderColor"
9
- >
10
- <rect x="2" y="1" rx="3" ry="3" width="96" height="20" />
11
- <rect x="15" y="23" rx="3" ry="3" width="83" height="15" />
12
- <rect x="15" y="40" rx="3" ry="3" width="83" height="15" />
13
- <rect x="15" y="57" rx="3" ry="3" width="83" height="15" />
14
-
15
- <rect x="2" y="78" rx="3" ry="3" width="96" height="20" />
16
- <rect x="15" y="100" rx="3" ry="3" width="83" height="15" />
17
- <rect x="15" y="117" rx="3" ry="3" width="83" height="15" />
18
- <rect x="15" y="134" rx="3" ry="3" width="83" height="15" />
19
-
20
- <rect x="2" y="155" rx="3" ry="3" width="96" height="20" />
21
- </content-loader>
22
- </div>
23
- </template>
24
-
25
- <script>
26
- import { ContentLoader } from "vue-content-loader";
27
-
28
- export default {
29
- components: {
30
- ContentLoader,
31
- },
32
- props: {
33
- primaryLoaderColor: {
34
- type: String,
35
- default: "#f5f7f9",
36
- },
37
- secondaryLoaderColor: {
38
- type: String,
39
- default: "#ecebeb",
40
- },
41
- },
42
- };
43
- </script>
@@ -1,137 +0,0 @@
1
- <template>
2
- <portal to="modal">
3
- <!-- for transition https://github.com/adamwathan/vue-tailwind-examples/blob/master/src/components/Modal.vue -->
4
- <!-- modal start -->
5
- <div
6
- v-if="showModal"
7
- class="ac-modal is-middle-alignment"
8
- :class="modifierClasses"
9
- @click.self="onModalOutsideClick"
10
- >
11
- <div class="ac-modal-inner">
12
- <!-- modal header start -->
13
- <div class="ac-modal-header">
14
- <h5>{{ title }}</h5>
15
- <header-items>
16
- <slot name="modal-header-controls" />
17
- <header-item>
18
- <ac-button
19
- modifier-classes="is-square is-transparent"
20
- :disabled="isCloseOptionDisabled"
21
- :icon-image="require('@appscode/design-system-images/icons/close-icon.svg')"
22
- data-testid="delete-confirmation-modal-close-icon"
23
- @click.stop="destroyModal"
24
- />
25
- </header-item>
26
- </header-items>
27
- </div>
28
- <!-- modal header end -->
29
-
30
- <!-- modal body start -->
31
- <div class="ac-modal-body ac-vscrollbar" data-testid="ac-modal-content-with-scroll">
32
- <div class="ac-modal-content">
33
- <!-- freedom content start -->
34
- <slot />
35
- <!-- freedom content end -->
36
- </div>
37
- </div>
38
- <!-- modal body end -->
39
-
40
- <!-- modal footer start -->
41
- <div
42
- v-if="!hideActionFooter"
43
- class="ac-modal-footer action-footer is-flex is-align-items-center is-justify-content-space-between"
44
- >
45
- <div>
46
- <slot name="modal-footer-left" />
47
- </div>
48
- <buttons class="has-text-right is-block">
49
- <slot name="modal-footer-controls" />
50
- </buttons>
51
- <!-- modal footer end -->
52
- </div>
53
- </div>
54
- </div>
55
- </portal>
56
- </template>
57
-
58
- <script>
59
- export default {
60
- props: {
61
- open: {
62
- type: Boolean,
63
- default: false,
64
- },
65
- title: {
66
- type: String,
67
- default: "Modal",
68
- },
69
- modifierClasses: {
70
- type: String,
71
- default: "",
72
- },
73
- isCloseOptionDisabled: {
74
- type: Boolean,
75
- default: false,
76
- },
77
- ignoreOutsideClick: {
78
- type: Boolean,
79
- default: false,
80
- },
81
- hideActionFooter: {
82
- type: Boolean,
83
- default: false,
84
- },
85
- },
86
-
87
- components: {
88
- HeaderItems: () => import("../header/HeaderItems.vue"),
89
- HeaderItem: () => import("../header/HeaderItem.vue"),
90
- Buttons: () => import("../button/Buttons.vue"),
91
- AcButton: () => import("../button/Button.vue"),
92
- },
93
-
94
- data() {
95
- return {
96
- showModal: false,
97
- };
98
- },
99
-
100
- watch: {
101
- open: {
102
- immediate: true,
103
- handler(n) {
104
- if (n) {
105
- this.initializeModal();
106
- } else {
107
- this.destroyModal();
108
- }
109
- },
110
- },
111
- },
112
-
113
- methods: {
114
- onKeyDown(e) {
115
- if (this.open && e.keyCode === 27) {
116
- // escape key
117
- this.destroyModal();
118
- }
119
- },
120
- onModalOutsideClick() {
121
- if (this.ignoreOutsideClick) return;
122
- this.destroyModal();
123
- },
124
- initializeModal() {
125
- this.showModal = true;
126
- document.addEventListener("keydown", this.onKeyDown);
127
- },
128
- destroyModal() {
129
- if (this.isCloseOptionDisabled) return;
130
- this.showModal = false;
131
- document.removeEventListener("keydown", this.onKeyDown);
132
-
133
- this.$emit("closemodal", true);
134
- },
135
- },
136
- };
137
- </script>
@@ -1,74 +0,0 @@
1
- <template>
2
- <!-- modal start -->
3
- <modal :title="title" modifier-classes="is-normal" :open="open" @closemodal="closeModal">
4
- <!-- freedom content start -->
5
- <div class="action-message pt-35 pb-35 has-text-centered">
6
- <h5 class="is-message">{{ message }} {{ itemName ? "" : "?" }}</h5>
7
- <p class="is-description">{{ itemName }} {{ itemName ? "?" : "" }}</p>
8
- </div>
9
-
10
- <!-- freedom content end -->
11
-
12
- <!-- modal footer start -->
13
- <template #modal-footer-controls>
14
- <ac-button
15
- @click.stop="closeModal"
16
- title="Cancel"
17
- modifier-classes="is-outlined"
18
- data-testid="delete-confirmation-modal-close-button"
19
- />
20
- <ac-button
21
- modifier-classes="is-danger"
22
- :is-loader-active="isDeleteActive"
23
- title="Yes"
24
- data-testid="delete-confirmation-modal-confirm-button"
25
- @click.stop="confirm(true)"
26
- />
27
- </template>
28
- </modal>
29
- <!-- modal end -->
30
- </template>
31
-
32
- <script>
33
- export default {
34
- components: {
35
- Modal: () => import("./../modal/Modal.vue"),
36
- AcButton: () => import("./../button/Button.vue"),
37
- },
38
- props: {
39
- open: {
40
- type: Boolean,
41
- default: false,
42
- },
43
- title: {
44
- type: String,
45
- default: "",
46
- },
47
- message: {
48
- type: String,
49
- default: "",
50
- },
51
- itemName: {
52
- type: String,
53
- default: "",
54
- },
55
- isLoading: {
56
- type: Boolean,
57
- default: false,
58
- },
59
- isDeleteActive: {
60
- type: Boolean,
61
- default: false,
62
- },
63
- },
64
- methods: {
65
- confirm(response) {
66
- this.$emit("delete-confirmation-modal$confirm", response);
67
- },
68
- closeModal() {
69
- this.confirm(false);
70
- this.$emit("closemodal", true);
71
- },
72
- },
73
- };
74
- </script>
@@ -1,69 +0,0 @@
1
- <template>
2
- <modal :title="editorTitle" :open="open" @closemodal="closeModal" modifier-classes="is-medium">
3
- <template #modal-header-controls>
4
- <header-item>
5
- <ac-button
6
- modifier-classes="is-square is-primary"
7
- icon-class="copy"
8
- v-clipboard:copy="`${editorTitle}: ${JSON.stringify(parsedContent, null, 4)}`"
9
- v-clipboard:success="onCopy"
10
- v-clipboard:error="onError"
11
- />
12
- </header-item>
13
- </template>
14
- <editor :value="JSON.stringify(parsedContent, null, 4)" :read-only="true" language="json" :show-minimap="false" />
15
- </modal>
16
- </template>
17
-
18
- <script>
19
- import Preloader from "../preloader/Preloader.vue";
20
- import Banner from "../banner/Banner.vue";
21
- export default {
22
- props: {
23
- open: {
24
- type: Boolean,
25
- default: false,
26
- },
27
- editorTitle: {
28
- type: String,
29
- default: "",
30
- },
31
- editorContent: {
32
- type: null,
33
- default: () => ({}),
34
- },
35
- },
36
- components: {
37
- Modal: () => import("../modal/Modal.vue"),
38
- Editor: () => ({
39
- component: import("../editor/Editor.vue"),
40
- loading: Preloader,
41
- delay: 200,
42
- error: Banner,
43
- timeout: 100000,
44
- }),
45
- AcButton: () => import("../button/Button.vue"),
46
- HeaderItem: () => import("../header/HeaderItem.vue"),
47
- },
48
- computed: {
49
- parsedContent() {
50
- try {
51
- return JSON.parse(this.editorContent);
52
- } catch (e) {
53
- return this.editorContent;
54
- }
55
- },
56
- },
57
- methods: {
58
- onCopy() {
59
- this.$toasted.global.success("Value copied successfully").goAway(1000);
60
- },
61
- onError() {
62
- this.$toasted.global.error("Copying failed").goAway(1000);
63
- },
64
- closeModal() {
65
- this.$emit("closemodal", true);
66
- },
67
- },
68
- };
69
- </script>
@@ -1,74 +0,0 @@
1
- <template>
2
- <div class="app-drawer-wrapper is-flex">
3
- <div class="drawer-icon is-flex is-justify-content-center is-align-items-center">
4
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
5
- <path
6
- d="M6.66667 2H2V6.66667H6.66667V2Z"
7
- stroke="#061B2D"
8
- stroke-width="1.5"
9
- stroke-linecap="round"
10
- stroke-linejoin="round"
11
- />
12
- <path
13
- d="M14 2H9.33337V6.66667H14V2Z"
14
- stroke="#061B2D"
15
- stroke-width="1.5"
16
- stroke-linecap="round"
17
- stroke-linejoin="round"
18
- />
19
- <path
20
- d="M14 9.33334H9.33337V14H14V9.33334Z"
21
- stroke="#061B2D"
22
- stroke-width="1.5"
23
- stroke-linecap="round"
24
- stroke-linejoin="round"
25
- />
26
- <path
27
- d="M6.66667 9.33334H2V14H6.66667V9.33334Z"
28
- stroke="#061B2D"
29
- stroke-width="1.5"
30
- stroke-linecap="round"
31
- stroke-linejoin="round"
32
- />
33
- </svg>
34
- </div>
35
- <!-- dropdown start -->
36
- <div class="ac-menu-content app-drawer-dropdown is-active">
37
- <ul>
38
- <li v-for="app in apps" :key="app.url">
39
- <a :href="app.url">
40
- <article class="media">
41
- <figure class="media-left">
42
- <p class="image">
43
- <img :src="app.icon_url" />
44
- </p>
45
- </figure>
46
- <div class="media-content">
47
- <div class="content">
48
- <p>
49
- <strong>{{ app.title }}</strong>
50
- <span>{{ app.sub_title }}</span>
51
- </p>
52
- </div>
53
- </div>
54
- </article>
55
- </a>
56
- </li>
57
- </ul>
58
- </div>
59
- </div>
60
- </template>
61
-
62
- <script>
63
- export default {
64
- props: {
65
- apps: {
66
- type: Array,
67
- default: () => [],
68
- },
69
- },
70
- components: {
71
- NavbarItemContent: () => import("./NavbarItemContent.vue"),
72
- },
73
- };
74
- </script>
@@ -1,29 +0,0 @@
1
- <template>
2
- <div class="ac-navbar-area" id="header">
3
- <div class="ac-navbar-inner">
4
- <!-- navbar start -->
5
- <nav class="ac-navbar">
6
- <!-- navbar logo start -->
7
- <!-- <div class="ac-navbar-brand">
8
- <slot name="navbar-brand-logo" />
9
- </div> -->
10
- <!-- navbar logo end -->
11
-
12
- <!-- navbar search area start -->
13
- <div class="ac-navbar-search">
14
- <slot name="navbar-search" />
15
- </div>
16
- <!-- navbar search area end -->
17
-
18
- <!-- navbar menus start -->
19
- <div class="ac-navbar-menu">
20
- <!-- single navbar menu item start -->
21
- <slot />
22
- <!-- single navbar menu item end -->
23
- </div>
24
- <!-- navbar menus end -->
25
- </nav>
26
- <!-- navbar end -->
27
- </div>
28
- </div>
29
- </template>
@@ -1,7 +0,0 @@
1
- <template>
2
- <div class="ac-menu-item">
3
- <slot />
4
- </div>
5
- </template>
6
-
7
- <style></style>
@@ -1,5 +0,0 @@
1
- <template>
2
- <div class="ac-menu-content">
3
- <slot />
4
- </div>
5
- </template>