@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.
- package/dist/{Media-BngfY43e.mjs → Media-UT60gfCX.mjs} +1 -1
- package/dist/{Media-etGbg52C.js → Media-rrnJ9wqV.js} +1 -1
- package/dist/{main-CjkWUdaL.mjs → main-CDEflXWy.mjs} +2091 -2134
- package/dist/{main-CkzqrS2y.js → main-DEA2pUXu.js} +11 -61
- 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/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/Tooltip/{Tooltip.vue.cjs → Tooltip.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.js → Tooltip.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs.map → Tooltip.vue2.js.map} +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.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/landing/components/sections/SectionFeaturesImages.vue.cjs +3 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +3 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
- 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/pages/Members.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.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/pages/Categories.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- 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/products/components/pages/ProductRecommmendation.vue.cjs +1 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs +0 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js.map +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.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/style.css +6 -11
- package/package.json +1 -1
- package/src/components/Shader/Shader.vue +107 -164
- package/src/modules/community/components/layouts/Community.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
- package/src/styles/config.scss +14 -0
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +0 -1
package/dist/martyrs.es.js
CHANGED
|
@@ -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-
|
|
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,173 +1,116 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<canvas
|
|
2
|
+
<canvas ref="refCanvas" />
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
-
|
|
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' } })}"
|
package/src/styles/config.scss
CHANGED
|
@@ -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;;;;;;;;;;;;;;;;"}
|