@ozdao/martyrs 0.2.441 → 0.2.442

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 (71) hide show
  1. package/dist/{Media-BngfY43e.mjs → Media-UT60gfCX.mjs} +1 -1
  2. package/dist/{Media-etGbg52C.js → Media-rrnJ9wqV.js} +1 -1
  3. package/dist/{main-CjkWUdaL.mjs → main-CDEflXWy.mjs} +2091 -2134
  4. package/dist/{main-CkzqrS2y.js → main-DEA2pUXu.js} +11 -61
  5. package/dist/martyrs/src/components/Block/Block.vue.cjs +1 -1
  6. package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
  7. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  8. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  9. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  10. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  11. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
  12. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  13. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs → Tooltip.vue2.cjs} +2 -2
  14. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -0
  15. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.js → Tooltip.vue2.js} +2 -2
  16. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs.map → Tooltip.vue2.js.map} +1 -1
  17. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
  18. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  19. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  20. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  21. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  22. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  23. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  24. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  25. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
  26. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
  27. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  28. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  29. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  30. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  31. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs +3 -2
  32. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs.map +1 -1
  33. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +3 -2
  34. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
  35. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +1 -1
  36. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
  37. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  39. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  40. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  41. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  43. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
  45. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  47. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  49. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  51. package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -2
  52. package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs.map +1 -1
  53. package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -2
  54. package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js.map +1 -1
  55. package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs +0 -1
  56. package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
  57. package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js +0 -1
  58. package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
  59. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  61. package/dist/martyrs.cjs.js +1 -1
  62. package/dist/martyrs.css +1 -1
  63. package/dist/martyrs.es.js +1 -1
  64. package/dist/style.css +6 -11
  65. package/package.json +1 -1
  66. package/src/components/Shader/Shader.vue +107 -164
  67. package/src/modules/community/components/layouts/Community.vue +1 -1
  68. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  69. package/src/styles/config.scss +14 -0
  70. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  71. package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { a as o, t, b as d, c as r, u as l, v as i, w as p, d as u, x as n, e as m, y as M, F as S, z as c, f as F, A as g, L as h, g as b, M as k, E as x, n as B, o as C, h as T, i as U, S as f, j as w, B as D, C as E, k as I, D as L, l as P, q, p as y, U as A, r as j, s as v, m as z } from "./main-CjkWUdaL.mjs";
1
+ import { a as o, t, b as d, c as r, u as l, v as i, w as p, d as u, x as n, e as m, y as M, F as S, z as c, f as F, A as g, L as h, g as b, M as k, E as x, n as B, o as C, h as T, i as U, S as f, j as w, B as D, C as E, k as I, D as L, l as P, q, p as y, U as A, r as j, s as v, m as z } from "./main-CDEflXWy.mjs";
2
2
  import "vue";
3
3
  export {
4
4
  o as Address,
package/dist/style.css CHANGED
@@ -2230,11 +2230,6 @@ to {
2230
2230
  .spoiler-active[data-v-e326492a] {
2231
2231
  transform: rotate(180deg);
2232
2232
  }
2233
- #glcanvas {
2234
- width: 100%;
2235
- height: 100%;
2236
- }
2237
-
2238
2233
  .spiral {
2239
2234
 
2240
2235
  background-size: cover;
@@ -2464,29 +2459,29 @@ to {
2464
2459
  transform: translateX(100%);
2465
2460
  opacity: 0;
2466
2461
  }
2467
- }#grid2 {
2462
+ }#grid2[data-v-9f4050ad] {
2468
2463
  transition: 500ms;
2469
2464
  display: grid;
2470
2465
  grid-template-columns: 1fr 1fr 1fr;
2471
2466
  gap: 3px;
2472
2467
  background: crimson;
2473
2468
  }
2474
- :where(.left, .center, .right) {
2469
+ :where(.left[data-v-9f4050ad], .center[data-v-9f4050ad], .right[data-v-9f4050ad]) {
2475
2470
  background: navajowhite;
2476
2471
  transition: 300ms;
2477
2472
  }
2478
- :where(.left, .center, .right):hover {
2473
+ :where(.left[data-v-9f4050ad], .center[data-v-9f4050ad], .right[data-v-9f4050ad]):hover {
2479
2474
  background: crimson;
2480
2475
  }
2481
- #grid2:has(.left:hover) {
2476
+ #grid2[data-v-9f4050ad]:has(.left:hover) {
2482
2477
  grid-template-columns: 2fr 0.5fr 0.5fr;
2483
2478
  padding: 3rem;
2484
2479
  }
2485
- #grid2:has(.center:hover) {
2480
+ #grid2[data-v-9f4050ad]:has(.center:hover) {
2486
2481
  grid-template-columns: 0.5fr 2fr 0.5fr;
2487
2482
  padding: 3rem;
2488
2483
  }
2489
- #grid2:has(.right:hover) {
2484
+ #grid2[data-v-9f4050ad]:has(.right:hover) {
2490
2485
  grid-template-columns: 0.5fr 0.5fr 2fr;
2491
2486
  padding: 3rem;
2492
2487
  }.timeline .timeline-item[data-v-148fd4a9] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/martyrs",
3
- "version": "0.2.441",
3
+ "version": "0.2.442",
4
4
  "description": "Fullstack framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,173 +1,116 @@
1
1
  <template>
2
- <canvas id="glcanvas" ref="refCanvas"/>
2
+ <canvas ref="refCanvas" />
3
3
  </template>
4
4
 
5
5
  <script setup>
6
- import {onMounted, ref} from 'vue'
7
-
8
- onMounted(() => {
9
- const canvas = document.getElementById('glcanvas');
10
- const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
11
-
12
- const vsSource = `
13
- attribute vec4 aVertexPosition;
14
- void main() {
15
- gl_Position = aVertexPosition;
16
- }
17
- `;
18
-
19
- // Fragment shader (your GLSL code goes here)
20
- const fsSource = `
21
- precision mediump float;
22
-
23
- const float PI = 3.14159265358979323846264;
24
- const float TWOPI = PI * 2.0;
25
- const vec4 WHITE = vec4(0.0, 1.0, 0.533, 1); // Для цвета F6F9F7
26
- const vec4 BLACK = vec4(0.0, 0.9, 0.48, 1); // Для цвета EBF2ED
27
-
28
- const int MAX_RINGS = 30;
29
- const float RING_DISTANCE = 0.03;
30
- const float WAVE_COUNT = 60.0;
31
- const float WAVE_DEPTH = 0.08;
32
-
33
- uniform float iTime;
34
- uniform vec2 iResolution;
35
-
36
- void main() {
37
- float rot = mod(iTime * 0.6, TWOPI);
38
- vec2 fragCoord = gl_FragCoord.xy;
39
- vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
40
- pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
41
- float x = pos.x;
42
- float y = pos.y;
43
-
44
- bool black = false;
45
- float prevRingDist = RING_DISTANCE;
46
- for (int i = 0; i < MAX_RINGS; i++) {
47
- vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
48
- float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
49
- float dist = distance(center, pos);
50
- dist = pow(dist, 0.3);
51
- float ringDist = abs(dist - radius);
52
- if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
53
- float angle = atan(y - center.y, x - center.x);
54
- float thickness = 1.1 * abs(dist - radius) / prevRingDist;
55
- float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
56
- if (dist > radius) {
57
- black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
58
- } else {
59
- black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
60
- }
61
- break;
62
- }
63
- if (dist > radius) break;
64
- prevRingDist = ringDist;
65
- }
66
-
67
- gl_FragColor = black ? BLACK : WHITE;
68
- }
69
-
70
- `;
71
-
72
- function compileShader(gl, type, source) {
73
- const shader = gl.createShader(type);
74
- gl.shaderSource(shader, source);
75
- gl.compileShader(shader);
76
-
77
- // Check for compilation errors
78
- if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
79
- alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader));
80
- gl.deleteShader(shader);
81
- return null;
82
- }
83
-
84
- return shader;
85
- }
86
-
87
- const vertexShader = compileShader(gl, gl.VERTEX_SHADER, vsSource);
88
- const fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fsSource);
89
-
90
- // Create the shader program
91
- const shaderProgram = gl.createProgram();
92
-
93
- gl.attachShader(shaderProgram, vertexShader);
94
- gl.attachShader(shaderProgram, fragmentShader);
95
- gl.linkProgram(shaderProgram);
96
-
97
- // Check for linking errors
98
- if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
99
- alert('Unable to initialize the shader program: ' + gl.getProgramInfoLog(shaderProgram));
100
- }
101
-
102
- function resizeCanvasToDisplaySize(canvas) {
103
- const width = canvas.clientWidth * window.devicePixelRatio;
104
- const height = canvas.clientHeight * window.devicePixelRatio;
105
- if (canvas.width !== width || canvas.height !== height) {
106
- canvas.width = width;
107
- canvas.height = height;
108
- return true; // размер изменился
109
- }
110
- return false; // размер не изменился
111
- }
112
-
113
-
114
- function render() {
115
- if (resizeCanvasToDisplaySize(gl.canvas)) {
116
- gl.viewport(0, 0, gl.canvas.width, gl.canvas.height);
117
- }
118
- gl.clearColor(0.0, 0.0, 0.0, 1.0); // Clear to black, fully opaque
119
- gl.clearDepth(1.0); // Clear everything
120
- gl.enable(gl.DEPTH_TEST); // Enable depth testing
121
- gl.depthFunc(gl.LEQUAL); // Near things obscure far things
122
-
123
- // Clear the canvas before we start drawing on it
124
- gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
125
-
126
- // Set the shader program
127
- gl.useProgram(shaderProgram);
128
-
129
- // Set up geometry, attributes, uniforms here
130
- // Create a buffer for the square's positions
131
- const positionBuffer = gl.createBuffer();
132
- gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
133
-
134
- // Now create an array of positions for the square
135
- const positions = [
136
- -1.0, 1.0,
137
- 1.0, 1.0,
138
- -1.0, -1.0,
139
- 1.0, -1.0,
140
- ];
141
-
142
- // Pass the positions to WebGL
143
- gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(positions), gl.STATIC_DRAW);
144
-
145
- // Tell WebGL how to pull out the positions from the position buffer
146
- const vertexPosition = gl.getAttribLocation(shaderProgram, 'aVertexPosition');
147
- gl.vertexAttribPointer(vertexPosition, 2, gl.FLOAT, false, 0, 0);
148
- gl.enableVertexAttribArray(vertexPosition);
149
-
150
- // Set the shader uniforms
151
- var timeUniformLocation = gl.getUniformLocation(shaderProgram, 'iTime');
152
- var resolutionUniformLocation = gl.getUniformLocation(shaderProgram, 'iResolution');
153
-
154
- gl.uniform1f(timeUniformLocation, performance.now() / 3000.0);
155
- gl.uniform2f(resolutionUniformLocation, gl.canvas.width, gl.canvas.height);
156
-
157
- // Draw the scene
158
- gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
159
-
160
- // Call render again on the next frame
161
- requestAnimationFrame(render);
162
- }
163
- requestAnimationFrame(render);
164
-
165
- });
6
+ import { onMounted, ref } from 'vue'
7
+
8
+ const props = defineProps({
9
+ shader: {
10
+ type: String,
11
+ required: true
12
+ }
13
+ })
14
+
15
+ const refCanvas = ref(null)
16
+
17
+ onMounted(() => {
18
+ const canvas = refCanvas.value
19
+ const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl')
20
+
21
+ const vsSource = `
22
+ attribute vec4 aVertexPosition;
23
+ void main() {
24
+ gl_Position = aVertexPosition;
25
+ }
26
+ `
27
+
28
+ const fsSource = props.shader
29
+
30
+ function compileShader(gl, type, source) {
31
+ const shader = gl.createShader(type)
32
+ gl.shaderSource(shader, source)
33
+ gl.compileShader(shader)
34
+
35
+ if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
36
+ alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader))
37
+ gl.deleteShader(shader)
38
+ return null
39
+ }
40
+
41
+ return shader
42
+ }
43
+
44
+ const vertexShader = compileShader(gl, gl.VERTEX_SHADER, vsSource)
45
+ const fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fsSource)
46
+
47
+ const shaderProgram = gl.createProgram()
48
+ gl.attachShader(shaderProgram, vertexShader)
49
+ gl.attachShader(shaderProgram, fragmentShader)
50
+ gl.linkProgram(shaderProgram)
51
+
52
+ if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
53
+ alert('Unable to initialize the shader program: ' + gl.getProgramInfoLog(shaderProgram))
54
+ }
55
+
56
+ function resizeCanvasToDisplaySize(canvas) {
57
+ const width = canvas.clientWidth * window.devicePixelRatio
58
+ const height = canvas.clientHeight * window.devicePixelRatio
59
+ if (canvas.width !== width || canvas.height !== height) {
60
+ canvas.width = width
61
+ canvas.height = height
62
+ return true
63
+ }
64
+ return false
65
+ }
66
+
67
+ function render() {
68
+ if (resizeCanvasToDisplaySize(gl.canvas)) {
69
+ gl.viewport(0, 0, gl.canvas.width, gl.canvas.height)
70
+ }
71
+
72
+ gl.clearColor(0.0, 0.0, 0.0, 1.0)
73
+ gl.clearDepth(1.0)
74
+ gl.enable(gl.DEPTH_TEST)
75
+ gl.depthFunc(gl.LEQUAL)
76
+
77
+ gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT)
78
+ gl.useProgram(shaderProgram)
79
+
80
+ const positionBuffer = gl.createBuffer()
81
+ gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer)
82
+
83
+ const positions = [
84
+ -1.0, 1.0,
85
+ 1.0, 1.0,
86
+ -1.0, -1.0,
87
+ 1.0, -1.0,
88
+ ]
89
+
90
+ gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(positions), gl.STATIC_DRAW)
91
+
92
+ const vertexPosition = gl.getAttribLocation(shaderProgram, 'aVertexPosition')
93
+ gl.vertexAttribPointer(vertexPosition, 2, gl.FLOAT, false, 0, 0)
94
+ gl.enableVertexAttribArray(vertexPosition)
95
+
96
+ const timeUniformLocation = gl.getUniformLocation(shaderProgram, 'iTime')
97
+ const resolutionUniformLocation = gl.getUniformLocation(shaderProgram, 'iResolution')
98
+
99
+ gl.uniform1f(timeUniformLocation, performance.now() / 3000.0)
100
+ gl.uniform2f(resolutionUniformLocation, gl.canvas.width, gl.canvas.height)
101
+
102
+ gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4)
103
+
104
+ requestAnimationFrame(render)
105
+ }
106
+
107
+ requestAnimationFrame(render)
108
+ })
166
109
  </script>
167
110
 
168
- <style >
169
- #glcanvas {
111
+ <style scoped>
112
+ canvas {
170
113
  width: 100%;
171
114
  height: 100%;
172
115
  }
173
- </style>
116
+ </style>
@@ -26,7 +26,7 @@
26
26
  </header>
27
27
 
28
28
  <div v-if="!route.params.url && route.name !=='Create BlogPost'" class="w-100 pos-relative">
29
- <ul class="align-self-start pos-sticky pos-t-0 w-100 bg-light radius-medium mobile:radius-zero mn-b-thin pd-medium p-medium gap-thin flex-row flex-nowrap flex z-index-2 o-scroll t-nowrap scroll-hide">
29
+ <ul class="align-self-start pos-sticky pos-t-0 w-100 bg-light radius-medium mobile:radius-zero mn-b-thin pd-medium p-medium gap-thin mobile:flex-column flex-row flex-nowrap flex z-index-2 o-scroll t-nowrap scroll-hide">
30
30
  <li
31
31
  :class="{'t-black bg-white': route.params.category === 'featured' }"
32
32
  @click="() => { blog.state.sort.param = 'createdAt'; router.push({name: 'Blog', params: { category: 'featured' } })}"
@@ -87,7 +87,7 @@ const props = defineProps({
87
87
  const { t, tm } = useI18n(props.textData)
88
88
  </script>
89
89
 
90
- <style lang="scss">
90
+ <style lang="scss" scoped>
91
91
 
92
92
  #grid2 {
93
93
  transition: 500ms;
@@ -293,6 +293,19 @@ $flex-direction: (
293
293
  'column': column
294
294
  );
295
295
 
296
+ $order: (
297
+ '1': 1,
298
+ '2': 2,
299
+ '3': 3,
300
+ '4': 4,
301
+ '5': 5,
302
+ '6': 6,
303
+ '7': 7,
304
+ '8': 8,
305
+ '9': 9,
306
+ '10': 10
307
+ );
308
+
296
309
  body {
297
310
  @include generate-utility-classes('pd', 'padding', $modifiers, $combined, $breakpoints);
298
311
  @include generate-utility-classes('mn', 'margin', $modifiers, $combined, $breakpoints);
@@ -322,6 +335,7 @@ body {
322
335
  @include generate-utility-classes('flex', 'justify-content', null, $justify-content, $breakpoints);
323
336
  @include generate-utility-classes('flex', 'align-items', null, $align-items, $breakpoints);
324
337
  @include generate-utility-classes('flex', 'flex-direction', null, $flex-direction, $breakpoints);
338
+ @include generate-utility-classes('order', 'order', null, $order, $breakpoints);
325
339
 
326
340
  @include generate-bg-classes('bg-main', 'main');
327
341
  @include generate-bg-classes('bg-second', 'second');
@@ -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';\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":"Tooltip.vue.js","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 {{ text }}\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 10px',\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":[],"mappings":";;;;;;;;;;;AAmBA,UAAM,UAAU,IAAI,KAAK;AAEzB,UAAM,eAAe,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;;;;;;;;;;;;;;;;"}