@ozdao/martyrs 0.2.495 → 0.2.496
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/dist/builder.cjs +1 -1
- package/dist/builder.js +1 -1
- package/dist/globals.server.cjs +13 -2
- package/dist/globals.server.js +13 -2
- package/dist/martyrs/src/components/Block/Block.vue.cjs +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.cjs → Tooltip.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js.map → Tooltip.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +95 -0
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +95 -0
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +86 -139
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +96 -149
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +85 -135
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +101 -151
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +146 -158
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +171 -183
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +2 -2
- package/dist/martyrs/src/modules/music/router/music.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/martyrs.css +1 -1
- package/dist/style.css +13 -0
- package/package.json +1 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +1 -1
- package/src/modules/globals/controllers/classes/globals.websocket.js +11 -2
- package/src/modules/music/README.md +2 -0
- package/src/modules/music/components/cards/ArtistCardSmall.vue +92 -0
- package/src/modules/music/components/pages/Album.vue +20 -56
- package/src/modules/music/components/pages/Artist.vue +1 -1
- package/src/modules/music/components/pages/Playlist.vue +26 -44
- package/src/modules/music/components/pages/Track.vue +51 -74
- package/src/styles/base/all.scss +1 -0
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +0 -1
|
@@ -17,22 +17,23 @@
|
|
|
17
17
|
<!-- Left Column - Cover & Stats -->
|
|
18
18
|
<div class="pos-sticky pos-t-0 mobile:pos-relative track-cover-section">
|
|
19
19
|
<!-- Cover with Play Overlay -->
|
|
20
|
-
<div class="cover-container relative mn-b-medium radius-big
|
|
20
|
+
<div class="cover-container pos-relative mn-b-medium radius-big o-hidden">
|
|
21
21
|
<Media
|
|
22
22
|
:url="track.coverUrl || (track.album && track.album.coverUrl) || '/logo/logo-placeholder.jpg'"
|
|
23
23
|
:alt="track.title"
|
|
24
24
|
class="aspect-1x1 w-100 radius-medium o-hidden"
|
|
25
25
|
/>
|
|
26
|
-
|
|
26
|
+
<div class="cover-overlay w-100 h-100 pos-absolute pos-t-0 pos-r-0 bg-black-transp-40 flex flex-center">
|
|
27
27
|
<Button
|
|
28
28
|
@click="playTrack"
|
|
29
29
|
color="white"
|
|
30
30
|
size="big"
|
|
31
|
-
class="w-5r h-5r radius-
|
|
31
|
+
class="w-5r h-5r radius-big bg-main shadow-big hover-scale-110"
|
|
32
32
|
>
|
|
33
|
-
<IconPlay class="
|
|
33
|
+
<IconPlay v-if="!isPlaying" fill="rgb(var(--white))" class="i-medium" />
|
|
34
|
+
<IconPause v-else fill="rgb(var(--white))" class="i-medium" />
|
|
34
35
|
</Button>
|
|
35
|
-
</div>
|
|
36
|
+
</div>
|
|
36
37
|
</div>
|
|
37
38
|
|
|
38
39
|
|
|
@@ -54,8 +55,8 @@
|
|
|
54
55
|
<div class="track-details-section">
|
|
55
56
|
<!-- Track Type Badge -->
|
|
56
57
|
<div class="flex items-center gap-small mn-b-small">
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
<span class="bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase">Single</span>
|
|
59
|
+
<span class="bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase">Explicit</span>
|
|
59
60
|
</div>
|
|
60
61
|
|
|
61
62
|
<!-- Track Title -->
|
|
@@ -68,8 +69,9 @@
|
|
|
68
69
|
size="medium"
|
|
69
70
|
class="flex-1 t-white bg-black radius-thin flex-center gap-thin"
|
|
70
71
|
>
|
|
71
|
-
<IconPlay fill="rgb(var(--white))" class="i-medium" />
|
|
72
|
-
|
|
72
|
+
<IconPlay v-if="!isPlaying" fill="rgb(var(--white))" class="i-medium" />
|
|
73
|
+
<IconPause v-else fill="rgb(var(--white))" class="i-medium" />
|
|
74
|
+
{{ !isPlaying ? 'Play' : 'Pause'}}
|
|
73
75
|
</Button>
|
|
74
76
|
|
|
75
77
|
<Button
|
|
@@ -88,7 +90,7 @@
|
|
|
88
90
|
size="medium"
|
|
89
91
|
class="flex-1 bg-light radius-thin flex-center gap-thin"
|
|
90
92
|
>
|
|
91
|
-
<IconLike class="i-medium" :fill="isFavorite" />
|
|
93
|
+
<IconLike class="i-medium" :fill="isFavorite ? 'rgb(var(--main)':'rgb(var(--black)'" />
|
|
92
94
|
{{isFavorite ? 'Liked' : 'Like'}}
|
|
93
95
|
</Button>
|
|
94
96
|
|
|
@@ -121,82 +123,52 @@
|
|
|
121
123
|
</div>
|
|
122
124
|
|
|
123
125
|
<!-- Artist Card -->
|
|
124
|
-
<div class="
|
|
125
|
-
<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
/>
|
|
136
|
-
<div v-else class="w-4r h-4r radius-full bg-primary flex-center ">
|
|
137
|
-
{{ track.artist.name.charAt(0) }}
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
<div>
|
|
141
|
-
<div class="flex items-center gap-thin">
|
|
142
|
-
<span class="t-large ">{{ track.artist.name }}</span>
|
|
143
|
-
<IconVerified v-if="track.artist.isVerified" class="w-1r h-1r t-primary" />
|
|
144
|
-
</div>
|
|
145
|
-
<span class="t-small t-transp">Artist</span>
|
|
146
|
-
</div>
|
|
147
|
-
</router-link>
|
|
148
|
-
<Button
|
|
149
|
-
v-if="!isOwner"
|
|
150
|
-
@click="toggleFollowArtist"
|
|
151
|
-
:color="isFollowingArtist ? 'primary' : 'transp'"
|
|
152
|
-
size="small"
|
|
153
|
-
>
|
|
154
|
-
{{ isFollowingArtist ? 'Following' : 'Follow' }}
|
|
155
|
-
</Button>
|
|
126
|
+
<div class="artists-section mn-b-medium">
|
|
127
|
+
<h3 class="t-medium mn-b-small" v-if="track.artist">Artist</h3>
|
|
128
|
+
<div class="flex flex-col gap-small">
|
|
129
|
+
<ArtistCardSmall
|
|
130
|
+
:key="track.artist._id"
|
|
131
|
+
:artist="track.artist"
|
|
132
|
+
:is-following="isFollowingArtist"
|
|
133
|
+
:show-follow-button="!isOwner"
|
|
134
|
+
@toggle-follow="toggleFollowArtist"
|
|
135
|
+
/>
|
|
136
|
+
</div>
|
|
156
137
|
</div>
|
|
157
138
|
|
|
158
|
-
|
|
159
|
-
|
|
160
139
|
<!-- Metadata Cards -->
|
|
161
|
-
<
|
|
162
|
-
|
|
140
|
+
<h3 class="t-medium mn-b-small">Metadata</h3>
|
|
141
|
+
<div class="metadata-grid grid cols-2 gap-small mn-b-medium">
|
|
142
|
+
<!-- Release Date -->
|
|
163
143
|
<div class="metadata-card bg-light pd-medium radius-medium flex items-center gap-medium">
|
|
164
|
-
<
|
|
165
|
-
<IconClock class="i-regular t-primary" />
|
|
166
|
-
</div>
|
|
144
|
+
<IconCalendar class="i-regular t-primary" />
|
|
167
145
|
<div>
|
|
168
|
-
<div class="t-small t-transp t-uppercase">
|
|
169
|
-
<div class="t-medium ">{{
|
|
146
|
+
<div class="t-small t-transp t-uppercase">Released</div>
|
|
147
|
+
<div class="t-medium ">{{ formatDate(track.releaseDate) }}</div>
|
|
170
148
|
</div>
|
|
171
149
|
</div>
|
|
172
150
|
|
|
173
|
-
<!--
|
|
151
|
+
<!-- Total Duration -->
|
|
174
152
|
<div class="metadata-card bg-light pd-medium radius-medium flex items-center gap-medium">
|
|
175
|
-
<
|
|
176
|
-
<IconCalendar class="i-regular t-primary" />
|
|
177
|
-
</div>
|
|
153
|
+
<IconClock class="i-regular t-primary" />
|
|
178
154
|
<div>
|
|
179
|
-
<div class="t-small t-transp t-uppercase">
|
|
180
|
-
<div class="t-medium ">{{
|
|
155
|
+
<div class="t-small t-transp t-uppercase">Duration</div>
|
|
156
|
+
<div class="t-medium ">{{ formatDuration(track.duration) }}</div>
|
|
181
157
|
</div>
|
|
182
158
|
</div>
|
|
183
159
|
|
|
184
|
-
<!--
|
|
160
|
+
<!-- Label -->
|
|
185
161
|
<div class="metadata-card bg-light pd-medium radius-medium flex items-center gap-medium">
|
|
186
|
-
<
|
|
187
|
-
<IconCheck class="i-regular t-success" />
|
|
188
|
-
</div>
|
|
162
|
+
<IconCheck class="i-regular t-primary" />
|
|
189
163
|
<div>
|
|
190
164
|
<div class="t-small t-transp t-uppercase">Status</div>
|
|
191
|
-
<div class="t-medium
|
|
165
|
+
<div class="t-medium ">{{ track.status }}</div>
|
|
192
166
|
</div>
|
|
193
167
|
</div>
|
|
194
168
|
|
|
195
169
|
<!-- Visibility -->
|
|
196
170
|
<div class="metadata-card bg-light pd-medium radius-medium flex items-center gap-medium">
|
|
197
|
-
<
|
|
198
|
-
<IconEye class="i-regular t-primary" />
|
|
199
|
-
</div>
|
|
171
|
+
<IconEye class="i-regular t-primary" />
|
|
200
172
|
<div>
|
|
201
173
|
<div class="t-small t-transp t-uppercase">Visibility</div>
|
|
202
174
|
<div class="t-medium ">{{ track.isPublic ? 'Public' : 'Private' }}</div>
|
|
@@ -204,18 +176,19 @@
|
|
|
204
176
|
</div>
|
|
205
177
|
</div>
|
|
206
178
|
|
|
179
|
+
|
|
207
180
|
<!-- Album Info -->
|
|
181
|
+
<h3 v-if="track.album" class="t-medium mn-b-small">From Album</h3>
|
|
208
182
|
<div v-if="track.album" class="album-card bg-light pd-medium radius-medium mn-b-medium">
|
|
209
|
-
|
|
183
|
+
|
|
210
184
|
<router-link
|
|
211
185
|
:to="`/album/${track.album.url}`"
|
|
212
|
-
class="flex
|
|
186
|
+
class="flex flex-v-center gap-thin hover-opacity"
|
|
213
187
|
>
|
|
214
188
|
<Media
|
|
215
|
-
|
|
216
|
-
:src="track.album.coverUrl"
|
|
189
|
+
:url="track.album.coverArt || '/logo/logo-placeholder.jpg'"
|
|
217
190
|
:alt="track.album.title"
|
|
218
|
-
class="w-3r h-3r radius-
|
|
191
|
+
class="w-3r h-3r radius-thin o-hidden object-cover"
|
|
219
192
|
/>
|
|
220
193
|
<span class="t-medium ">{{ track.album.title }}</span>
|
|
221
194
|
</router-link>
|
|
@@ -228,16 +201,16 @@
|
|
|
228
201
|
<span
|
|
229
202
|
v-for="genre in track.genre"
|
|
230
203
|
:key="genre"
|
|
231
|
-
class="tag bg-
|
|
204
|
+
class="tag bg-main t-medium pd-thin radius-thin t-small cursor-pointer"
|
|
232
205
|
>
|
|
233
|
-
{{ genre }}
|
|
206
|
+
{{ genre.name || genre }}
|
|
234
207
|
</span>
|
|
235
208
|
<span
|
|
236
209
|
v-for="tag in track.tags"
|
|
237
210
|
:key="tag"
|
|
238
211
|
class="tag bg-light t-transp pd-thin-big radius-small t-small hover-bg-light cursor-pointer"
|
|
239
212
|
>
|
|
240
|
-
#{{ tag }}
|
|
213
|
+
#{{ tag.name || tag }}
|
|
241
214
|
</span>
|
|
242
215
|
</div>
|
|
243
216
|
</div>
|
|
@@ -318,6 +291,7 @@ import Feed from '@martyrs/src/components/Feed/Feed.vue';
|
|
|
318
291
|
|
|
319
292
|
// Icons
|
|
320
293
|
import IconPlay from '@martyrs/src/modules/icons/navigation/IconPlay.vue';
|
|
294
|
+
import IconPause from '@martyrs/src/modules/icons/navigation/IconPause.vue';
|
|
321
295
|
import IconLike from '@martyrs/src/modules/icons/navigation/IconLike.vue';
|
|
322
296
|
import IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue';
|
|
323
297
|
import IconAdd from '@martyrs/src/modules/icons/navigation/IconAdd.vue';
|
|
@@ -329,13 +303,16 @@ import IconVerified from '@martyrs/src/modules/icons/navigation/IconCheckmark.vu
|
|
|
329
303
|
|
|
330
304
|
// Components
|
|
331
305
|
import TrackListCard from '../cards/TrackListCard.vue';
|
|
306
|
+
import ArtistCardSmall from '../cards/ArtistCardSmall.vue';
|
|
332
307
|
// import PlaylistSelector from '../forms/PlaylistSelector.vue';
|
|
333
308
|
|
|
334
309
|
// Store
|
|
335
310
|
import { state as tracksState, actions as tracksActions } from '../../store/tracks.js';
|
|
336
|
-
import { actions as playerActions } from '../../store/player.js';
|
|
311
|
+
import { state as playerState, actions as playerActions } from '../../store/player.js';
|
|
337
312
|
import { state as authState } from '@martyrs/src/modules/auth/views/store/auth.js';
|
|
338
313
|
|
|
314
|
+
const isPlaying = computed(() => playerState.isPlaying);
|
|
315
|
+
|
|
339
316
|
const route = useRoute();
|
|
340
317
|
const router = useRouter();
|
|
341
318
|
|
package/src/styles/base/all.scss
CHANGED
|
@@ -50,6 +50,7 @@ body {
|
|
|
50
50
|
.w-m-50r { width: min(100%, 50rem); }
|
|
51
51
|
.w-m-40r { width: min(100%, 40rem); }
|
|
52
52
|
.w-m-33r { width: min(100%, 33rem); }
|
|
53
|
+
.w-minmax-33r-100 { width: max(33rem, 100%); }
|
|
53
54
|
.w-m-25r { width: min(100%, 25rem); }
|
|
54
55
|
.w-m-20r { width: min(100%, 20rem); }
|
|
55
56
|
.w-m-15r { width: min(100%, 15rem); }
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.vue.js","sources":["../../../../../src/components/Dropdown/Dropdown.vue"],"sourcesContent":["<template>\n <div class=\"dropdown pos-relative\" v-click-outside=\"clickedOutside\" @click.stop=\"isOpen = !isOpen\">\n <div v-if=\"isComponentLabel\" class=\"w-100 h-100 flex-center flex\">\n <component :is=\"label.component\" v-bind=\"label.props\" :class=\"label.class\"></component>\n </div>\n <div v-else>\n {{ label }}\n </div>\n <transition name=\"TransitionTranslateY\" mode=\"out-in\">\n <div \n v-show=\"isOpen\" \n :style=\"{ left: align === 'left' ? '0' : 'auto', right: align === 'right' ? '0' : 'auto' }\" \n class=\"dropdown-content radius-big\" \n >\n <slot></slot>\n </div>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed } from 'vue';\nimport clickOutside from '../FieldPhone/click-outside.js';\n\nlet vClickOutside = clickOutside\n\nconst props = defineProps({\n label: {\n type: [String, Object],\n default: 'Open'\n },\n align: {\n type: String,\n default: 'left'\n }\n})\n\nconst isOpen = ref(false);\nconst isComponentLabel = computed(() => typeof props.label === 'object');\n\nfunction clickedOutside () {\n isOpen.value = false\n}\n</script>\n\n<style >\n.dropdown-content {\n display: block;\n position: absolute;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 1;\n}\n\n/*.dropdown:hover .dropdown-content {\n display: block;\n}*/\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,QAAI,gBAAgB;AAEpB,UAAM,QAAQ;AAWd,UAAM,SAAS,IAAI,KAAK;AACxB,UAAM,mBAAmB,SAAS,MAAM,OAAO,MAAM,UAAU,QAAQ;AAEvE,aAAS,iBAAkB;AACzB,aAAO,QAAQ;AAAA,IACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.vue2.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.vue2.cjs","sources":["../../../../../src/components/Tooltip/Tooltip.vue"],"sourcesContent":["<template>\n <div class=\"cursor-pointer tooltip-container\" @mouseover=\"showTooltip\" @mouseleave=\"hideTooltip\">\n <slot></slot>\n <div class=\"tooltip-content\" :style=\"tooltipStyle\">\n <span>{{ text }}</span>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, reactive } from 'vue';\n\nconst props = defineProps({\n text: {\n type: String,\n required: true\n }\n});\n\nconst visible = ref(false);\n\nconst tooltipStyle = reactive({\n position: 'absolute',\n width: 'max-content',\n zIndex: 1000,\n background: '#333',\n color: '#fff',\n padding: '5px',\n borderRadius: '3px',\n fontSize: '14px',\n display: 'none',\n});\n\nfunction showTooltip(event) {\n visible.value = true;\n tooltipStyle.left = `${(event.clientX / 100) + 10 }px`;\n tooltipStyle.top = `${(event.clientY / 100) + 10 }px`;\n tooltipStyle.display = 'block';\n}\n\nfunction hideTooltip() {\n visible.value = false;\n tooltipStyle.display = 'none';\n}\n</script>\n\n<style >\n.tooltip-container {\n position: relative;\n display: inline-block;\n}\n\n.tooltip-content {\n pointer-events: none;\n}\n</style>"],"names":["ref","reactive"],"mappings":";;;;;;;;;;;;;AAmBA,UAAM,UAAUA,IAAAA,IAAI,KAAK;AAEzB,UAAM,eAAeC,IAAAA,SAAS;AAAA,MAC5B,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,SAAS;AAAA,MACT,cAAc;AAAA,MACd,UAAU;AAAA,MACV,SAAS;AAAA,IACX,CAAC;AAED,aAAS,YAAY,OAAO;AAC1B,cAAQ,QAAQ;AAChB,mBAAa,OAAO,GAAI,MAAM,UAAU,MAAO,EAAE;AACjD,mBAAa,MAAM,GAAI,MAAM,UAAU,MAAO,EAAE;AAChD,mBAAa,UAAU;AAAA,IACzB;AAEA,aAAS,cAAc;AACrB,cAAQ,QAAQ;AAChB,mBAAa,UAAU;AAAA,IACzB;;;;;;;;;;;;;;;;;;;"}
|