@phila/layerboard 2.2.0 → 3.0.0-beta.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.
@@ -1,112 +0,0 @@
1
- <template>
2
- <div>
3
- <div class="app-footer">
4
- <div class="row expanded">
5
- <div class="columns">
6
- <nav>
7
- <ul class="inline-list">
8
- <!-- <li v-for="link in this.$config.footerContent"> -->
9
- <topic-component-group
10
- :topic-components="footerComponents"
11
- :is-list="true"
12
- />
13
- <!-- <popover-link :options="this.popoverLinkOptions"
14
- :slots="this.popoverLinkSlots"
15
- :customStyle="this.customStyle"
16
- /> -->
17
- <!-- </li> -->
18
- <!-- <li>
19
- <a target="_blank" :href="this.feedbackUrl">Feedback</a>
20
- </li> -->
21
- </ul>
22
- </nav>
23
- </div>
24
- </div>
25
- </div>
26
- </div>
27
- </template>
28
-
29
-
30
- <script>
31
-
32
- import TopicComponentGroup from '@phila/vue-comps/src/components/TopicComponentGroup.vue';
33
-
34
- export default {
35
- name: 'LbFooter',
36
- components: {
37
- TopicComponentGroup,
38
- // PopoverLink: () => import(/* webpackChunkName: "lblb_pvc_PopoverLink" */'@phila/vue-comps/src/components/PopoverLink.vue'),
39
- },
40
- computed: {
41
- footerContent() {
42
- return this.$config.footerContent;
43
- },
44
- footerComponents() {
45
- if (this.$config.footerContent.components) {
46
- return this.$config.footerContent.components;
47
- }
48
- return null;
49
- // if no components, use a single 'checkbox-set'
50
- // return [{ type: 'checkbox-set' }];
51
-
52
- },
53
- feedbackUrl() {
54
- if (this.$config.footer) {
55
- if (this.$config.footer.feedbackUrl) {
56
- return this.$config.footer.feedbackUrl;
57
- }
58
- return null;
59
-
60
- }
61
- return null;
62
-
63
- },
64
- customStyle() {
65
- if (this.$config.footer) {
66
- if (this.$config.footer.helpPopover) {
67
- if (this.$config.footer.helpPopover.linkStyle) {
68
- return this.$config.footer.helpPopover.linkStyle;
69
- }
70
- return { 'color': 'white', 'border-bottom': '0px' };
71
-
72
- }
73
- return { 'color': 'white', 'border-bottom': '0px' };
74
-
75
- }
76
- return { 'color': 'white', 'border-bottom': '0px' };
77
-
78
- },
79
- popoverHeight() {
80
- if (this.$config.footer) {
81
- if (this.$config.footer.helpPopover) {
82
- if (this.$config.footer.helpPopover.height) {
83
- return this.$config.footer.helpPopover.height;
84
- }
85
- return '80%';
86
-
87
- }
88
- return '80%';
89
-
90
- }
91
- return '80%';
92
-
93
- },
94
- popoverLinkOptions() {
95
- return {
96
- height: this.popoverHeight,
97
- components: [
98
- {
99
- type: 'helpInstructions',
100
- },
101
- ],
102
- };
103
- },
104
- popoverLinkSlots() {
105
- return {
106
- shouldShowValue: false,
107
- value: 'Help',
108
- };
109
- },
110
- },
111
- };
112
- </script>