@webpros/tsxuserprofilevue 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,303 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+
4
+ /**
5
+ * Mock Service Worker (1.3.0).
6
+ * @see https://github.com/mswjs/msw
7
+ * - Please do NOT modify this file.
8
+ * - Please do NOT serve this file on production.
9
+ */
10
+
11
+ const INTEGRITY_CHECKSUM = '3d6b9f06410d179a7f7404d4bf4c3c70'
12
+ const activeClientIds = new Set()
13
+
14
+ self.addEventListener('install', function () {
15
+ self.skipWaiting()
16
+ })
17
+
18
+ self.addEventListener('activate', function (event) {
19
+ event.waitUntil(self.clients.claim())
20
+ })
21
+
22
+ self.addEventListener('message', async function (event) {
23
+ const clientId = event.source.id
24
+
25
+ if (!clientId || !self.clients) {
26
+ return
27
+ }
28
+
29
+ const client = await self.clients.get(clientId)
30
+
31
+ if (!client) {
32
+ return
33
+ }
34
+
35
+ const allClients = await self.clients.matchAll({
36
+ type: 'window',
37
+ })
38
+
39
+ switch (event.data) {
40
+ case 'KEEPALIVE_REQUEST': {
41
+ sendToClient(client, {
42
+ type: 'KEEPALIVE_RESPONSE',
43
+ })
44
+ break
45
+ }
46
+
47
+ case 'INTEGRITY_CHECK_REQUEST': {
48
+ sendToClient(client, {
49
+ type: 'INTEGRITY_CHECK_RESPONSE',
50
+ payload: INTEGRITY_CHECKSUM,
51
+ })
52
+ break
53
+ }
54
+
55
+ case 'MOCK_ACTIVATE': {
56
+ activeClientIds.add(clientId)
57
+
58
+ sendToClient(client, {
59
+ type: 'MOCKING_ENABLED',
60
+ payload: true,
61
+ })
62
+ break
63
+ }
64
+
65
+ case 'MOCK_DEACTIVATE': {
66
+ activeClientIds.delete(clientId)
67
+ break
68
+ }
69
+
70
+ case 'CLIENT_CLOSED': {
71
+ activeClientIds.delete(clientId)
72
+
73
+ const remainingClients = allClients.filter((client) => {
74
+ return client.id !== clientId
75
+ })
76
+
77
+ // Unregister itself when there are no more clients
78
+ if (remainingClients.length === 0) {
79
+ self.registration.unregister()
80
+ }
81
+
82
+ break
83
+ }
84
+ }
85
+ })
86
+
87
+ self.addEventListener('fetch', function (event) {
88
+ const { request } = event
89
+ const accept = request.headers.get('accept') || ''
90
+
91
+ // Bypass server-sent events.
92
+ if (accept.includes('text/event-stream')) {
93
+ return
94
+ }
95
+
96
+ // Bypass navigation requests.
97
+ if (request.mode === 'navigate') {
98
+ return
99
+ }
100
+
101
+ // Opening the DevTools triggers the "only-if-cached" request
102
+ // that cannot be handled by the worker. Bypass such requests.
103
+ if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {
104
+ return
105
+ }
106
+
107
+ // Bypass all requests when there are no active clients.
108
+ // Prevents the self-unregistered worked from handling requests
109
+ // after it's been deleted (still remains active until the next reload).
110
+ if (activeClientIds.size === 0) {
111
+ return
112
+ }
113
+
114
+ // Generate unique request ID.
115
+ const requestId = Math.random().toString(16).slice(2)
116
+
117
+ event.respondWith(
118
+ handleRequest(event, requestId).catch((error) => {
119
+ if (error.name === 'NetworkError') {
120
+ console.warn(
121
+ '[MSW] Successfully emulated a network error for the "%s %s" request.',
122
+ request.method,
123
+ request.url,
124
+ )
125
+ return
126
+ }
127
+
128
+ // At this point, any exception indicates an issue with the original request/response.
129
+ console.error(
130
+ `\
131
+ [MSW] Caught an exception from the "%s %s" request (%s). This is probably not a problem with Mock Service Worker. There is likely an additional logging output above.`,
132
+ request.method,
133
+ request.url,
134
+ `${error.name}: ${error.message}`,
135
+ )
136
+ }),
137
+ )
138
+ })
139
+
140
+ async function handleRequest(event, requestId) {
141
+ const client = await resolveMainClient(event)
142
+ const response = await getResponse(event, client, requestId)
143
+
144
+ // Send back the response clone for the "response:*" life-cycle events.
145
+ // Ensure MSW is active and ready to handle the message, otherwise
146
+ // this message will pend indefinitely.
147
+ if (client && activeClientIds.has(client.id)) {
148
+ ;(async function () {
149
+ const clonedResponse = response.clone()
150
+ sendToClient(client, {
151
+ type: 'RESPONSE',
152
+ payload: {
153
+ requestId,
154
+ type: clonedResponse.type,
155
+ ok: clonedResponse.ok,
156
+ status: clonedResponse.status,
157
+ statusText: clonedResponse.statusText,
158
+ body:
159
+ clonedResponse.body === null ? null : await clonedResponse.text(),
160
+ headers: Object.fromEntries(clonedResponse.headers.entries()),
161
+ redirected: clonedResponse.redirected,
162
+ },
163
+ })
164
+ })()
165
+ }
166
+
167
+ return response
168
+ }
169
+
170
+ // Resolve the main client for the given event.
171
+ // Client that issues a request doesn't necessarily equal the client
172
+ // that registered the worker. It's with the latter the worker should
173
+ // communicate with during the response resolving phase.
174
+ async function resolveMainClient(event) {
175
+ const client = await self.clients.get(event.clientId)
176
+
177
+ if (client?.frameType === 'top-level') {
178
+ return client
179
+ }
180
+
181
+ const allClients = await self.clients.matchAll({
182
+ type: 'window',
183
+ })
184
+
185
+ return allClients
186
+ .filter((client) => {
187
+ // Get only those clients that are currently visible.
188
+ return client.visibilityState === 'visible'
189
+ })
190
+ .find((client) => {
191
+ // Find the client ID that's recorded in the
192
+ // set of clients that have registered the worker.
193
+ return activeClientIds.has(client.id)
194
+ })
195
+ }
196
+
197
+ async function getResponse(event, client, requestId) {
198
+ const { request } = event
199
+ const clonedRequest = request.clone()
200
+
201
+ function passthrough() {
202
+ // Clone the request because it might've been already used
203
+ // (i.e. its body has been read and sent to the client).
204
+ const headers = Object.fromEntries(clonedRequest.headers.entries())
205
+
206
+ // Remove MSW-specific request headers so the bypassed requests
207
+ // comply with the server's CORS preflight check.
208
+ // Operate with the headers as an object because request "Headers"
209
+ // are immutable.
210
+ delete headers['x-msw-bypass']
211
+
212
+ return fetch(clonedRequest, { headers })
213
+ }
214
+
215
+ // Bypass mocking when the client is not active.
216
+ if (!client) {
217
+ return passthrough()
218
+ }
219
+
220
+ // Bypass initial page load requests (i.e. static assets).
221
+ // The absence of the immediate/parent client in the map of the active clients
222
+ // means that MSW hasn't dispatched the "MOCK_ACTIVATE" event yet
223
+ // and is not ready to handle requests.
224
+ if (!activeClientIds.has(client.id)) {
225
+ return passthrough()
226
+ }
227
+
228
+ // Bypass requests with the explicit bypass header.
229
+ // Such requests can be issued by "ctx.fetch()".
230
+ if (request.headers.get('x-msw-bypass') === 'true') {
231
+ return passthrough()
232
+ }
233
+
234
+ // Notify the client that a request has been intercepted.
235
+ const clientMessage = await sendToClient(client, {
236
+ type: 'REQUEST',
237
+ payload: {
238
+ id: requestId,
239
+ url: request.url,
240
+ method: request.method,
241
+ headers: Object.fromEntries(request.headers.entries()),
242
+ cache: request.cache,
243
+ mode: request.mode,
244
+ credentials: request.credentials,
245
+ destination: request.destination,
246
+ integrity: request.integrity,
247
+ redirect: request.redirect,
248
+ referrer: request.referrer,
249
+ referrerPolicy: request.referrerPolicy,
250
+ body: await request.text(),
251
+ bodyUsed: request.bodyUsed,
252
+ keepalive: request.keepalive,
253
+ },
254
+ })
255
+
256
+ switch (clientMessage.type) {
257
+ case 'MOCK_RESPONSE': {
258
+ return respondWithMock(clientMessage.data)
259
+ }
260
+
261
+ case 'MOCK_NOT_FOUND': {
262
+ return passthrough()
263
+ }
264
+
265
+ case 'NETWORK_ERROR': {
266
+ const { name, message } = clientMessage.data
267
+ const networkError = new Error(message)
268
+ networkError.name = name
269
+
270
+ // Rejecting a "respondWith" promise emulates a network error.
271
+ throw networkError
272
+ }
273
+ }
274
+
275
+ return passthrough()
276
+ }
277
+
278
+ function sendToClient(client, message) {
279
+ return new Promise((resolve, reject) => {
280
+ const channel = new MessageChannel()
281
+
282
+ channel.port1.onmessage = (event) => {
283
+ if (event.data && event.data.error) {
284
+ return reject(event.data.error)
285
+ }
286
+
287
+ resolve(event.data)
288
+ }
289
+
290
+ client.postMessage(message, [channel.port2])
291
+ })
292
+ }
293
+
294
+ function sleep(timeMs) {
295
+ return new Promise((resolve) => {
296
+ setTimeout(resolve, timeMs)
297
+ })
298
+ }
299
+
300
+ async function respondWithMock(response) {
301
+ await sleep(response.delay)
302
+ return new Response(response.body, response)
303
+ }
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ :root{--tsxup-brightest:#fff;--tsxup-bright:#f2f5f9;--tsxup-transparent:transparent;--tsxup-darkest:#111827;--tsxup-darkest-light:#4b5563;--tsxup-darkest-mid-light:#6b7280;--tsxup-darkest-mid:#d1d5db;--tsxup-brightest-darker:#e5e7eb;--tsxup-signal-success-lighter:#dcfce7;--tsxup-signal-success-light:#bbf7d0;--tsxup-signal-success:#15803d;--tsxup-signal-error-lighter:#fee2e2;--tsxup-signal-error-light:#fecaca;--tsxup-signal-error:#dc2626;--tsxup-signal-error-med:#ef4444;--tsxup-signal-info-lighter:#dbeafe;--tsxup-signal-info-light:#bfdbfe;--tsxup-signal-info:#2563eb;--tsxup-primary:#1e40af;--tsxup-primary-medium:#003da685;--tsxup-primary-light:#dbe8ff;--tsxup-primary-lightest:#e6eaf2;--tsxup-active:#f97316;--tsxup-text:var(--tsxup-darkest);--tsxup-text-lighter:var(--tsxup-darkest-light);--tsxup-headline:var(--tsxup-darkest);--tsxup-button-regular-color:var(--tsxup-brightest);--tsxup-button-regular-bg:var(--tsxup-primary);--tsxup-button-regular-border:var(--tsxup-primary);--tsxup-button-regular-color-hover:var(--tsxup-brightest);--tsxup-button-regular-bg-hover:var(--tsxup-primary-medium);--tsxup-button-regular-border-hover:var(--tsxup-primary-medium);--tsxup-button-regular-color-disabled:var(--tsxup-primary-lightest);--tsxup-button-regular-bg-disabled:var(--tsxup-primary-medium);--tsxup-button-regular-border-disabled:var(--tsxup-transparent);--tsxup-button-ghost-color:var(--tsxup-darkest-light);--tsxup-button-ghost-bg:var(--tsxup-brightest);--tsxup-button-ghost-border:var(--tsxup-darkest-mid);--tsxup-button-ghost-color-hover:var(--tsxup-darkest-light);--tsxup-button-ghost-bg-hover:var(--tsxup-brightest);--tsxup-button-ghost-border-hover:var(--tsxup-darkest);--tsxup-button-ghost-color-disabled:var(--tsxup-darkest-mid-light);--tsxup-button-ghost-bg-disabled:var(--tsxup-brightest-darker);--tsxup-button-ghost-border-disabled:var(--tsxup-darkest-mid-light);--tsxup-button-transparent-bg:transparent;--tsxup-button-transparent-color:var(--tsxup-primary);--tsxup-button-transparent-color-hover:var(--tsxup-darkest-light);--tsxup-button-cancel-bg:var(--tsxup-signal-error);--tsxup-button-cancel-color:var(--tsxup-brightest);--tsxup-button-cancel-bg-hover:var(--tsxup-signal-error-light);--tsxup-button-cancel-color-hover:var(--tsxup-signal-error-med);--tsxup-selectField-border:var(--tsxup-brightest-darker);--tsxup-selectField-background:var(--tsxup-brightest);--tsxup-selectField-backgroundHover:var(--tsxup-brightest);--tsxup-selectField-backgroundDisabled:var(--tsxup-brightest-darker);--tsxup-selectField-color:var(--tsxup-darkest);--tsxup-selectField-selectedBackground:var(--tsxup-primary);--tsxup-selectField-selectedColor:var(--tsxup-primary-light);--tsxup-abox-success-bg:var(--tsxup-signal-success-lighter);--tsxup-abox-success-border:var(--tsxup-signal-success-light);--tsxup-abox-success-color:var(--tsxup-signal-success);--tsxup-abox-error-bg:var(--tsxup-signal-error-lighter);--tsxup-abox-error-border:var(--tsxup-signal-error-light);--tsxup-abox-error-color:var(--tsxup-signal-error);--tsxup-abox-info-bg:var(--tsxup-signal-info-lighter);--tsxup-abox-info-color:var(--tsxup-signal-info);--tsxup-abox-info-border:var(--tsxup-signal-info-light);--tsxup-label-active-color:var(--tsxup-signal-success);--tsxup-label-active-bg:var(--tsxup-signal-success-light);--tsxup-label-suspended-color:var(--tsxup-signal-info);--tsxup-label-suspended-bg:var(--tsxup-signal-info-light);--tsxup-label-canceled-color:var(--tsxup-darkest);--tsxup-label-canceled-bg:var(--tsxup-darkest-mid);--tsxup-ps-bg:var(--tsxup-brightest);--tsxup-ps-text-disabled-color:var(--tsxup-darkest-mid-light);--tsxup-ps-text-checked-color:var(--tsxup-primary);--tsxup-ps-text-unchecked-color:var(--tsxup-darkest);--tsxup-ps-option-checked-bg:var(--tsxup-primary-light);--tsxup-ps-option-checked-border:var(--tsxup-primary-medium);--tsxup-ps-option-unchecked-border:var(--tsxup-darkest-mid);--tsxup-ps-bullet-checked-bg:var(--tsxup-primary);--tsxup-ps-bullet-unchecked-bg:var(--tsxup-brightest);--tsxup-ps-bullet-unchecked-border:var(--tsxup-darkest-light);--tsx-display-change-box-bg:var(--tsxup-bright);--tsx-display-change-box-color:var(--tsxup-darkest);--tsx-display-change-box-start-color:var(--tsxup-darkest-mid-light);--tsx-display-change-box-target-color:var(--tsxup-active)}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.relative{position:relative}.right-\[8px\]{right:8px}.top-0{top:0}.z-10{z-index:10}.col-span-2{grid-column:span 2/span 2}.col-span-5{grid-column:span 5/span 5}.m-2{margin:.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-1{margin-bottom:.25rem;margin-top:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-\[40px\]{height:40px}.min-h-full{min-height:100%}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-3{width:.75rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.min-w-\[80px\]{min-width:80px}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(-1px*var(--tw-space-y-reverse));margin-top:calc(-1px*(1 - var(--tw-space-y-reverse)))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-l-md{border-bottom-left-radius:.375rem;border-top-left-radius:.375rem}.rounded-r-md{border-bottom-right-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-y{border-bottom-width:1px;border-top-width:1px}.border-t{border-top-width:1px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-red-900{--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-\[1px\]{padding-bottom:1px;padding-top:1px}.pl-1{padding-left:.25rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.text-current{color:currentColor}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-signalSuccess{color:var(--tsxup-signal-success)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\@container\/tsxupmain{container-name:tsxupmain;container-type:inline-size}.gridTransition{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease-in-out}.gridTransition--open,.smoothGridBox{grid-template-rows:1fr}.smoothGridBox{display:grid;transition:grid-template-rows .5s ease-in-out}.spinner_EUy1{animation:spinner_grm3 1.2s infinite}.spinner_f6oS{animation-delay:.1s}.spinner_g3nX{animation-delay:.2s}.spinner_nvEs{animation-delay:.3s}.spinner_MaNM{animation-delay:.4s}.spinner_4nle{animation-delay:.5s}.spinner_ZETM{animation-delay:.6s}.spinner_HXuO{animation-delay:.7s}.spinner_YaQo{animation-delay:.8s}.spinner_GOx1{animation-delay:.9s}.spinner_4vv9{animation-delay:1s}.spinner_NTs9{animation-delay:1.1s}.spinner_auJJ{animation:spinner_T3O6 6s linear infinite;transform-origin:center}@keyframes spinner_grm3{0%,50%{r:1px;animation-timing-function:cubic-bezier(.27,.42,.37,.99)}25%{r:2px;animation-timing-function:cubic-bezier(.53,0,.61,.73)}}@keyframes spinner_T3O6{0%{transform:rotate(1turn)}to{transform:rotate(0)}}.tsxUp-grid-formRow{display:grid;grid-template:"tupgfw1" auto "tupgfw2" auto/minmax(0,1fr)}@container tsxupmain (min-width: 660px){.tsxUp-grid-formRow{gap:16px;grid-template:"tupgfw1 tupgfw2" auto/200px minmax(0,1fr)}}.tsxUp-grid-monitorQuantity{grid-gap:8px 16px;align-items:center;display:grid;grid-template:"tupmq1 tupmq1 . " auto "tupmq2 tupmq3 tupmq4" auto/130px minmax(0,1fr) minmax(0,1fr)}.tsxUp-grid-monitorQuantity__1{grid-area:tupmq1}.tsxUp-grid-monitorQuantity__2{grid-area:tupmq2}.tsxUp-grid-monitorQuantity__3{grid-area:tupmq3}.tsxUp-grid-monitorQuantity__4{grid-area:tupmq4;text-align:right}@container tsxupmain (min-width: 600px){.tsxUp-grid-monitorQuantity{gap:16px;grid-template:"tupmq1 tupmq2 tupmq3 tupmq4" auto/minmax(0,3fr) 130px 40px 140px}}fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{background:#fff;display:block;height:35px;position:absolute;right:1px;top:1px;width:48px}.multiselect__spinner:after,.multiselect__spinner:before{border:2px solid transparent;border-radius:100%;border-top-color:#41b883;box-shadow:0 0 0 1px transparent;content:"";height:16px;left:50%;margin:-8px 0 0 -8px;position:absolute;top:50%;width:16px}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{opacity:1;transition:opacity .4s ease-in-out}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:14px;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;min-height:40px;position:relative;text-align:left;width:100%}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{opacity:.6;pointer-events:none}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{border:none;border-radius:5px;box-sizing:border-box;display:inline-block;line-height:20px;margin-bottom:8px;min-height:20px;padding:0 0 0 5px;position:relative;transition:border .1s ease;vertical-align:top;width:100%}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{margin-bottom:8px;padding-left:5px}.multiselect__tags-wrap{display:inline}.multiselect__tags{border:1px solid #e8e8e8;border-radius:5px;display:block;min-height:40px;padding:8px 40px 0 8px}.multiselect__tag{background:#41b883;border-radius:5px;color:#fff;display:inline-block;line-height:1;margin-bottom:5px;margin-right:10px;max-width:100%;overflow:hidden;padding:4px 26px 4px 10px;position:relative;text-overflow:ellipsis;white-space:nowrap}.multiselect__tag-icon{border-radius:5px;bottom:0;cursor:pointer;font-style:normal;font-weight:700;line-height:22px;margin-left:7px;position:absolute;right:0;text-align:center;top:0;transition:all .2s ease;width:22px}.multiselect__tag-icon:after{color:#266d4d;content:"×";font-size:14px}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{border:1px solid #e8e8e8;border-radius:5px;min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap}.multiselect__current,.multiselect__select{box-sizing:border-box;cursor:pointer;display:block;line-height:16px;margin:0;text-decoration:none}.multiselect__select{height:38px;padding:4px 8px;position:absolute;right:1px;text-align:center;top:1px;transition:transform .2s ease;width:40px}.multiselect__select:before{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;color:#999;content:"";margin-top:4px;position:relative;right:0;top:65%}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:none;display:block;max-height:240px;overflow:auto;position:absolute;width:100%;z-index:50}.multiselect__content{display:inline-block;list-style:none;margin:0;min-width:100%;padding:0;vertical-align:top}.multiselect--above .multiselect__content-wrapper{border-bottom:none;border-radius:5px 5px 0 0;border-top:1px solid #e8e8e8;bottom:100%}.multiselect__content::-webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{cursor:pointer;display:block;line-height:16px;min-height:40px;padding:12px;position:relative;text-decoration:none;text-transform:none;vertical-align:middle;white-space:nowrap}.multiselect__option:after{font-size:13px;line-height:40px;padding-left:20px;padding-right:12px;position:absolute;right:0;top:0}.multiselect__option--highlight{background:#41b883;color:#fff;outline:none}.multiselect__option--highlight:after{background:#41b883;color:#fff;content:attr(data-select)}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{color:silver;content:attr(data-selected)}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{display:inline-block;line-height:20px;margin-bottom:8px;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{left:1px;right:auto}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{left:0;right:auto}[dir=rtl] .multiselect__clear{left:12px;right:auto}[dir=rtl] .multiselect__spinner{left:1px;right:auto}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}.multiselect__content{width:100%}.multiselect{color:var(--tsxup-selectField-color)}.multiselect__tags-wrap{background-color:var(--tsxup-selectField-background);border-color:var(--tsxup-selectField-border)}.multiselect__single{color:var(--tsxup-selectField-color)}.multiselect--disabled{background:var(--tsxup-selectField-backgroundDisabled)}.multiselect__content-wrapper{z-index:1000}.multiselect__option--selected.multiselect__option--highlight{color:var(--tsxup-selectField-selectedColor);outline:none}.multiselect__option--highlight,.multiselect__option--selected.multiselect__option--highlight{background:var(--tsxup-selectField-selectedBackground)!important}.multiselect__option--selected{font-weight:400!important}.generalButton--regular{background-color:var(--tsxup-button-regular-bg);border-color:var(--tsxup-button-regular-bg);color:var(--tsxup-button-regular-color)}.generalButton--regular:hover{background-color:var(--tsxup-button-regular-bg-hover);border-color:var(--tsxup-button-regular-border-hover);color:var(--tsxup-button-regular-color-hover)}.generalButton--regular.isDisabled,.generalButton--regular.isDisabled:hover{background-color:var(--tsxup-button-regular-bg-disabled);border-color:var(--tsxup-button-regular-border-disabled);color:var(--tsxup-button-regular-color-disabled)}.generalButton--ghost{background-color:var(--tsxup-button-ghost-bg);border-color:var(--tsxup-button-ghost-border);color:var(--tsxup-button-ghost-color)}.generalButton--ghost:hover{background-color:var(--tsxup-button-ghost-bg-hover);border-color:var(--tsxup-button-ghost-border-hover);color:var(--tsxup-button-ghost-color-hover)}.generalButton--ghost.isDisabled,.generalButton--ghost.isDisabled:hover{background-color:var(--tsxup-button-ghost-bg-disabled);border-color:var(--tsxup-button-ghost-border-disabled);color:var(--tsxup-button-ghost-color-disabled)}.generalButton--transparent{background-color:var(--tsxup-button-transparent-bg);border-color:var(--tsxup-button-transparent-bg);color:var(--tsxup-button-transparent-color)}.generalButton--transparent:hover{color:var(--tsxup-button-transparent-color-hover)}.generalButton--cancel{background-color:var(--tsxup-button-cancel-bg);border-color:var(--tsxup-button-cancel-bg);color:var(--tsxup-button-cancel-color)}.generalButton--cancel:hover{background-color:var(--tsxup-button-cancel-bg-hover);border-color:var(--tsxup-button-cancel-bg-hover);color:var(--tsxup-button-cancel-color-hover)}.tsxUserProfile{color:var(--tsxup-text);font-size:.875rem;font-weight:400;line-height:1.25rem}.tsxUserProfile .text-subtle{color:var(--tsxup-text-lighter)}.tsxUserProfile .text-active{color:var(--tsxup-active)}.tsxUserProfile .customAvatar{background-color:var(--tsxup-primary);color:var(--tsxup-brightest)}.tabs-component-tabs{display:flex;flex-direction:row;font-size:1rem;gap:.5rem;line-height:1.5rem;margin-bottom:1rem}.tabs-component-tab{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));border-radius:.25rem;border-width:1px}.tabs-component-tab.is-active{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.tabs-component-tab-a{display:block;padding:.25rem 1rem}.profileDetail{background-color:var(--tsxup-brightest);color:var(--tsxup-darkest-light)}.profileDetail--darker{background-color:var(--tsxup-primary-lightest)}.profileDetail--hover{transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,1,1)}.profileDetail--hover:hover{background-color:var(--tsxup-primary-lightest)}.profileDetail a{color:var(--tsxup-primary)}.profileDetail h3{color:var(--tsxup-darkest)}.monitorDetail{background-color:var(--tsxup-brightest);color:var(--tsxup-darkest-light)}.monitorDetail--darker{background-color:var(--tsxup-primary-lightest)}.monitorDetail--hover{transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,1,1)}.monitorDetail--hover:hover{background-color:var(--tsxup-primary-lightest)}.monitorDetail a{color:var(--tsxup-primary)}.monitorDetail h3{color:var(--tsxup-darkest)}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.annotationBox--success{background-color:var(--tsxup-abox-success-bg);border-color:var(--tsxup-abox-success-border);color:var(--tsxup-abox-success-color)}.annotationBox--error{background-color:var(--tsxup-abox-error-bg);border-color:var(--tsxup-abox-error-border);color:var(--tsxup-abox-error-color)}.annotationBox--info{background-color:var(--tsxup-abox-info-bg);border-color:var(--tsxup-abox-info-border);color:var(--tsxup-abox-info-color)}.simpleLabel--active{background-color:var(--tsxup-label-active-bg);color:var(--tsxup-label-active-color)}.simpleLabel--suspended{background-color:var(--tsxup-label-suspended-bg);color:var(--tsxup-label-suspended-color)}.simpleLabel--canceled{background-color:var(--tsxup-label-canceled-bg);color:var(--tsxup-label-canceled-color)}.planSelector__text--disabled{color:var(--tsxup-ps-text-disabled-color)}.planSelector__text--checked{color:var(--tsxup-ps-text-checked-color)}.planSelector__text--unchecked{color:var(--tsxup-ps-text-unchecked-color)}.planSelector__base{background-color:var(--tsxup-ps-bg)}.planSelector__option--checked{background-color:var(--tsxup-ps-option-checked-bg);border-color:var(--tsxup-ps-option-checked-border)}.planSelector__option--unchecked{border-color:var(--tsxup-ps-option-unchecked-border)}.planSelector__bullet--checked{background-color:var(--tsxup-ps-bullet-checked-bg)}.planSelector__bullet--unchecked{background-color:var(--tsxup-ps-bullet-unchecked-bg);border-color:var(--tsxup-ps-bullet-unchecked-border)}.planSelector__bullet--disabled{border-color:var(--tsxup-ps-bullet-disabled-border)}.displayChangeBox{background-color:var(--tsx-display-change-box-bg);color:var(--tsx-display-change-box-color)}.displayChangeBox__start{color:var(--tsx-display-change-box-start-color)}.displayChangeBox__target{color:var(--tsx-display-change-box-target-color)}.hover\:underline:hover{text-decoration-line:underline}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:bg-gray-200:disabled{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}@container tsxupmain (min-width: 550px){.\@\[550px\]\/tsxupmain\:w-auto{width:auto}}@container tsxupmain (min-width: 850px){.\@\[850px\]\/tsxupmain\:w-1\/2{width:50%}.\@\[850px\]\/tsxupmain\:flex-row{flex-direction:row}}@media (min-width:768px){.md\:ml-0{margin-left:0}.md\:pl-0{padding-left:0}}
package/env.d.ts ADDED
@@ -0,0 +1 @@
1
+ /// <reference types="@histoire/plugin-vue/components" />
@@ -0,0 +1,7 @@
1
+ import { defineConfig } from 'histoire'
2
+ import { HstVue } from '@histoire/plugin-vue'
3
+
4
+ export default defineConfig({
5
+ plugins: [HstVue()],
6
+ setupFile: 'histoire.setup.ts'
7
+ })
@@ -0,0 +1,7 @@
1
+ import './src/assets/index.css'
2
+ import './src/assets/generatedColors.css'
3
+
4
+ export function setupVue3 () {
5
+ // app.provide('test', 'hello')
6
+ // app.use(...)
7
+ }
package/index.html ADDED
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE html>
2
+ <html class="w-screen min-h-full" lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <!-- <script
8
+ src="https://code.jquery.com/jquery-3.6.3.min.js"
9
+ integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU="
10
+ crossorigin="anonymous"></script> -->
11
+ <title>TITLE</title>
12
+ </head>
13
+
14
+ <body>
15
+ <!-- <tsx-user-profile
16
+ current-language="de"
17
+ user-data='{"name":"Sascha Georg Fuchs","email":"features@leankoala.com"}'
18
+ inactive-fields="[]"
19
+ ></tsx-user-profile> -->
20
+ <div id="app"></div>
21
+ <script type="module" src="/src/main.ts"></script>
22
+ <!-- <script>
23
+ console.log('hello start')
24
+ $(document).ready(function () {
25
+ console.log('hello finished')
26
+ });
27
+ </script> -->
28
+ </body>
29
+
30
+ </html>
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@webpros/tsxuserprofilevue",
3
+ "description": "WebComponent for managing user profile and license",
4
+ "main": "dist/index.js",
5
+ "author": "Sascha Fuchs <sascha.fuchs@webpros.com>",
6
+ "license": "MIT",
7
+ "version": "3.0.0",
8
+ "engines": {
9
+ "node": "18.x"
10
+ },
11
+ "publishConfig": {
12
+ "registry": "https://registry.npmjs.org/"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/leankoala-gmbh/tsxuserprofilevue"
17
+ },
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "build": "vite build",
21
+ "preview": "vite build && vite preview",
22
+ "start": "yarn dev & wait-on tcp:3000 -v",
23
+ "test:e2e": "cypress open",
24
+ "unit": "vitest run",
25
+ "unitWatcher": "vitest run",
26
+ "unitui": "vitest --ui",
27
+ "typecheck": "vue-tsc --noEmit",
28
+ "plop": "plop",
29
+ "generateCss": "postcss ./src/assets/index.css -o ./src/assets/output.css",
30
+ "prePublish": "npm run generateCss && npm run build",
31
+ "story:dev": "histoire dev",
32
+ "story:build": "histoire build",
33
+ "story:preview": "histoire preview"
34
+ },
35
+ "dependencies": {
36
+ "@headlessui/vue": "^1.7.16",
37
+ "@histoire/plugin-vue": "^0.17.1",
38
+ "@tailwindcss/container-queries": "^0.1.1",
39
+ "@vueuse/core": "^10.4.1",
40
+ "@vueuse/integrations": "^10.4.1",
41
+ "axios": "^1.5.0",
42
+ "container-query-polyfill": "^1.0.2",
43
+ "marked": "^5.1.1",
44
+ "mitt": "^3.0.1",
45
+ "terser": "^5.19.4",
46
+ "universal-cookie": "^6.1.1",
47
+ "vue": "^3.3.4",
48
+ "vue-multiselect": "^3.0.0-beta.2"
49
+ },
50
+ "devDependencies": {
51
+ "zod": "^4.0.0-beta.1",
52
+ "histoire": "^0.17.0",
53
+ "@babel/core": "^7.22.17",
54
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
55
+ "@typescript-eslint/parser": "^6.7.0",
56
+ "@vitejs/plugin-vue": "^4.3.4",
57
+ "@vitest/ui": "^0.34.4",
58
+ "@vue/eslint-config-standard": "^8.0.1",
59
+ "@vue/eslint-config-typescript": "^11.0.3",
60
+ "@vue/test-utils": "^2.4.1",
61
+ "autoprefixer": "^10.4.15",
62
+ "babel-loader": "^9.1.3",
63
+ "cross-fetch": "^4.0.0",
64
+ "cssnano": "^6.0.1",
65
+ "eslint": "^8.49.0",
66
+ "eslint-config-prettier": "^9.0.0",
67
+ "eslint-import-resolver-typescript": "^3.6.0",
68
+ "eslint-plugin-import": "^2.28.1",
69
+ "eslint-plugin-node": "^11.1.0",
70
+ "eslint-plugin-promise": "^6.1.1",
71
+ "eslint-plugin-vue": "^9.17.0",
72
+ "jsdom": "^22.1.0",
73
+ "msw": "^1.3.0",
74
+ "plop": "^4.0.0",
75
+ "postcss": "^8.4.29",
76
+ "postcss-cli": "^10.1.0",
77
+ "postcss-import": "^15.1.0",
78
+ "postcss-nested": "^6.0.1",
79
+ "tailwindcss": "^3.3.3",
80
+ "typescript": "^5.3.0-dev.20230913",
81
+ "unplugin-auto-import": "^0.16.6",
82
+ "unplugin-vue-components": "^0.25.2",
83
+ "vite": "^4.4.9",
84
+ "vitest": "^0.34.4",
85
+ "vue-loader": "^17.2.2",
86
+ "vue-tsc": "^1.8.11",
87
+ "wait-on": "^7.0.1"
88
+ },
89
+ "msw": {
90
+ "workerDirectory": "public"
91
+ }
92
+ }
@@ -0,0 +1 @@
1
+ {"version":"4.9.4"}
@@ -0,0 +1,9 @@
1
+ import { fetch } from 'cross-fetch'
2
+ import { afterAll, afterEach, beforeAll } from 'vitest'
3
+ import { server } from './src/mocks/server'
4
+
5
+ global.fetch = fetch
6
+
7
+ beforeAll(() => server.listen({ onUnhandledRequest: 'error' }))
8
+ afterAll(() => server.close())
9
+ afterEach(() => server.resetHandlers())