@iamproperty/components 2.7.1 → 2.7.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iamproperty/components",
3
- "version": "2.7.1",
3
+ "version": "2.7.4",
4
4
  "private": false,
5
5
  "description": "Component library for iamproperty",
6
6
  "author": {
@@ -59,16 +59,16 @@
59
59
  <div class="container">
60
60
  <div class="row">
61
61
  <div class="col nav__logo">
62
- <a href="/standalone/marketplace" :class="`text-decoration-none mb-0 ${logo=='property'?'current':''}`">
63
- <Logo id="property" class="pb-0 pe-0"></Logo>
62
+ <a :href="propertylink" :class="`text-decoration-none mb-0 ${logo=='property'?'current':''}`">
63
+ <Logo id="property" :path="logopath" class="pb-0 pe-0"></Logo>
64
64
  </a>
65
65
 
66
- <a href="/standalone/movebutler" :class="`text-decoration-none mb-0 ${logo=='movebutler'?'current':''}`">
67
- <Logo id="movebutler" class="pb-0 pe-0"></Logo>
66
+ <a :href="movebutlerlink" :class="`text-decoration-none mb-0 ${logo=='movebutler'?'current':''}`">
67
+ <Logo id="movebutler" :path="logopath" class="pb-0 pe-0"></Logo>
68
68
  </a>
69
69
 
70
- <a href="/standalone/agent" :class="`text-decoration-none mb-0 ${logo=='sold'?'current':''}`">
71
- <Logo id="sold" class="pb-0 pe-0"></Logo>
70
+ <a :href="iamsoldlink" :class="`text-decoration-none mb-0 ${logo=='sold'?'current':''}`">
71
+ <Logo id="sold" :path="logopath" class="pb-0 pe-0"></Logo>
72
72
  </a>
73
73
  </div>
74
74
 
@@ -83,79 +83,14 @@
83
83
  </div>
84
84
  </div>
85
85
  <div class="nav__menu flex-row">
86
- <span class="h6 text-muted">Services</span>
87
-
88
- <a href="/standalone/marketplace" class="text-decoration-none mb-4 d-flex justify-content-between align-items-center">
89
- <Logo id="property" class="pb-0 pe-0 fs-2"></Logo>
90
- <span class="text-success">Active</span>
91
- </a>
92
-
93
- <a href="/standalone/movebutler" class="text-decoration-none mb-4 d-flex justify-content-between align-items-center">
94
- <Logo id="movebutler" class="pb-0 pe-0 fs-2"></Logo>
95
- <span class="text-success">Active</span>
96
- </a>
97
-
98
- <a href="/standalone/agent" class="text-decoration-none mb-5 d-flex justify-content-between align-items-center">
99
- <Logo id="sold" class="pb-0 pe-0 fs-2"></Logo>
100
- <span class="text-success">Active</span>
101
- </a>
102
-
103
- <span class="h6 text-muted">My Branches</span>
104
-
105
- <form>
106
- <Input type="select" id="test1" label="Today, you're at" :options="[{display:'Branch 1',value:'1'},{display:'Branch Two',value:'2'},{display:'Create new branch',value:'new'}]" data-value-if="new" data-redirect="/cp/company/branches/create"></Input>
107
- </form>
108
-
109
- <span class="h6 text-muted">Menu</span>
110
-
111
- <a href="/" class="nav__featured-link text-decoration-none pb-3 d-block mb-0">
112
- <span class="row">
113
- <span class="col mw-fit-content"><i class="icon fs-1 fa-user"></i></span>
114
- <span class="col">
115
- <span Class="h5 mb-1">Control panel</span>
116
- <span class="text-muted small">
117
- Manage your iamproperty account, branches, staff, billing and invoices
118
- </span>
119
- </span>
120
- </span>
121
- </a>
122
-
123
- <a href="/" class="nav__featured-link text-decoration-none pb-3 border-top pt-3 d-block mb-0">
124
- <span class="row">
125
- <span class="col mw-fit-content"><Icon id="tick-list" class="fs-1 m-0"></Icon></span>
126
- <span class="col">
127
- <span Class="h5 mb-1">Quick start guide & FAQ</span>
128
- <span class="text-muted small">
129
- Download a guide on how to manage your account
130
- </span>
131
- </span>
132
- </span>
133
- </a>
134
-
135
- <a href="/" class="nav__featured-link text-decoration-none pb-3 border-top pt-3 d-block mb-0">
136
- <span class="row">
137
- <span class="col mw-fit-content"><Icon id="chat" class="fs-1 m-0 p-1"></Icon></span>
138
- <span class="col">
139
- <span Class="h5 mb-1">Contact us</span>
140
- <span class="text-muted small">
141
- Get in touch
142
- </span>
143
- </span>
144
- </span>
145
- </a>
146
-
147
- <a href="/" class="nav__featured-link text-decoration-none pb-3 border-top pt-3 d-block mb-0">
148
- <span class="row">
149
- <span class="col mw-fit-content"><i class="icon fs-1 fa-sign-out"></i></span>
150
- <span class="col">
151
- <span Class="h5 mb-1">Log out</span>
152
- <span class="text-muted small">
153
- Martin Critchlow<br> Watson-Clark
154
- </span>
155
- </span>
156
- </span>
157
- </a>
86
+
87
+
88
+ <slot></slot>
89
+
90
+
91
+
158
92
  </div>
93
+
159
94
  </div>
160
95
  </nav>
161
96
  </template>
@@ -202,6 +137,18 @@ export default {
202
137
  btntext: {
203
138
  type: String,
204
139
  required: false
140
+ },
141
+ propertylink: {
142
+ type: String,
143
+ required: false
144
+ },
145
+ movebutlerlink: {
146
+ type: String,
147
+ required: false
148
+ },
149
+ iamsoldlink: {
150
+ type: String,
151
+ required: false
205
152
  }
206
153
  },
207
154
  data () {