@tekkare/auriga 0.2.91 → 0.2.93
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/module.json +1 -1
- package/dist/runtime/components/argComplexSelect.vue +1 -1
- package/dist/runtime/components/argComplexSelect.vue.d.ts +0 -8
- package/dist/runtime/components/argHomeAllBlocks.vue +7 -3
- package/dist/runtime/components/argProductCard.vue +61 -14
- package/dist/runtime/components/argProductCard.vue.d.ts +29 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -238,7 +238,7 @@ export default defineComponent({
|
|
|
238
238
|
search_placeholder_add: { type: String, default: null },
|
|
239
239
|
search_placeholder_del: { type: String, default: null },
|
|
240
240
|
need_apply: { type: Boolean, default: false },
|
|
241
|
-
select_placeholder: { type: String, required: false },
|
|
241
|
+
// select_placeholder: { type: String, required: false },
|
|
242
242
|
smart_selection_table: {
|
|
243
243
|
type: Array || null,
|
|
244
244
|
required: false,
|
|
@@ -28,10 +28,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
-
select_placeholder: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
required: false;
|
|
34
|
-
};
|
|
35
31
|
smart_selection_table: {
|
|
36
32
|
type: ArrayConstructor;
|
|
37
33
|
required: false;
|
|
@@ -210,10 +206,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
206
|
type: BooleanConstructor;
|
|
211
207
|
default: boolean;
|
|
212
208
|
};
|
|
213
|
-
select_placeholder: {
|
|
214
|
-
type: StringConstructor;
|
|
215
|
-
required: false;
|
|
216
|
-
};
|
|
217
209
|
smart_selection_table: {
|
|
218
210
|
type: ArrayConstructor;
|
|
219
211
|
required: false;
|
|
@@ -48,9 +48,13 @@
|
|
|
48
48
|
blockCategories !== null &&
|
|
49
49
|
blockCategories?.length > 0
|
|
50
50
|
"
|
|
51
|
-
class="oip_list v-start gap-16"
|
|
51
|
+
class="oip_list v-start gap-16 stretch"
|
|
52
52
|
>
|
|
53
|
-
<div
|
|
53
|
+
<div
|
|
54
|
+
v-for="category in blockCategories"
|
|
55
|
+
:key="category"
|
|
56
|
+
class="stretch"
|
|
57
|
+
>
|
|
54
58
|
<div
|
|
55
59
|
v-if="filterCategoryBlocks(category).length > 0"
|
|
56
60
|
class="oip_list v-start gap-8 category_container"
|
|
@@ -362,5 +366,5 @@ export default defineComponent({
|
|
|
362
366
|
</script>
|
|
363
367
|
|
|
364
368
|
<style scoped>
|
|
365
|
-
.arg_home_all_blocks{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px}.block_card{align-self:stretch;cursor:pointer;flex:0 0 calc(50% - 59px);margin:0!important;padding:24px!important}.block_card:not(.block_selected):hover .block_title{color:var(--primary)!important}.block_descr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-style:normal;font-weight:400;line-height:160%;overflow:hidden}.block_content{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.block_title{align-items:flex-end;display:flex;flex-direction:row;font-size:16px;font-style:normal;font-weight:700;gap:8px;line-height:normal}.block_selected{background:var(--primary)!important;border:1px solid var(--primary)!important;box-shadow:var(--large-shadow)!important;color:var(--white)!important}.full_stretch{align-self:stretch}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}.block_selected>.block_content>.card_head>.population p,.block_selected>.block_content>.card_head>.population svg{color:var(--white)!important}.home_subtitle{color:var(--dark);font-size:14px;font-style:normal;font-weight:400;line-height:160%}.category_container{border-top:1.5px solid var(--light);padding:24px 0;position:relative}.category_label{align-items:center;background:var(--lightest);border-radius:4px;display:flex;gap:8px;left:24px;padding:4px 12px;position:absolute;top:-14px}.category_label>p,p.category_label{color:var(--medium);font-size:14px;font-weight:500;text-transform:uppercase}
|
|
369
|
+
.arg_home_all_blocks{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:24px}.block_card{align-self:stretch;cursor:pointer;flex:0 0 calc(50% - 59px);margin:0!important;padding:24px!important}.block_card:not(.block_selected):hover .block_title{color:var(--primary)!important}.block_descr{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-style:normal;font-weight:400;line-height:160%;overflow:hidden}.block_content{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.block_title{align-items:flex-end;display:flex;flex-direction:row;font-size:16px;font-style:normal;font-weight:700;gap:8px;line-height:normal}.block_selected{background:var(--primary)!important;border:1px solid var(--primary)!important;box-shadow:var(--large-shadow)!important;color:var(--white)!important}.full_stretch{align-self:stretch}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}.block_selected>.block_content>.card_head>.population p,.block_selected>.block_content>.card_head>.population svg{color:var(--white)!important}.home_subtitle{color:var(--dark);font-size:14px;font-style:normal;font-weight:400;line-height:160%}.category_container{border-top:1.5px solid var(--light);padding:24px 0;position:relative}.category_label{align-items:center;background:var(--lightest);border-radius:4px;display:flex;gap:8px;left:24px;padding:4px 12px;position:absolute;top:-14px}.category_label>p,p.category_label{color:var(--medium);font-size:14px;font-weight:500;text-transform:uppercase}.stretch{align-self:stretch}
|
|
366
370
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
class="oip_product_card"
|
|
4
|
-
:class="
|
|
4
|
+
:class="[isFindMore ? '' : `p-40 ${app}_banner`]"
|
|
5
5
|
:style="` background: linear-gradient(
|
|
6
6
|
90deg,
|
|
7
7
|
rgba(255, 255, 255, 0.9) 41%,
|
|
@@ -9,21 +9,51 @@
|
|
|
9
9
|
),
|
|
10
10
|
url("${getBackground}") lightgray 50% / cover no-repeat;`"
|
|
11
11
|
>
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
<div
|
|
13
|
+
class="oip_list v-start stretch"
|
|
14
|
+
:class="isFindMore ? `absolute_bg gap-16 ${app}_banner` : 'gap-24'"
|
|
15
|
+
>
|
|
16
|
+
<div :class="['banner_title', `${app}_title_color`]">
|
|
17
|
+
<p v-if="!textSlots">
|
|
18
|
+
{{ getTitle }}
|
|
19
|
+
</p>
|
|
20
|
+
<slot v-else name="title" />
|
|
21
|
+
</div>
|
|
22
|
+
<div class="oip_body banner_text">
|
|
23
|
+
<p v-if="!textSlots && !getText.includes('</p>')">
|
|
24
|
+
{{ getText }}
|
|
25
|
+
</p>
|
|
26
|
+
<p v-if="!textSlots && getText.includes('</p>')" v-html="getText" />
|
|
27
|
+
<slot v-else name="text" />
|
|
28
|
+
</div>
|
|
29
|
+
<div
|
|
30
|
+
class="oip_row v-center gap-16"
|
|
31
|
+
v-if="defaultActions && haveActions && !isFindMore"
|
|
19
32
|
>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
<arg-btn
|
|
34
|
+
:btn-style="`${app === 'oip' ? 'primary' : app}-fill`"
|
|
35
|
+
@on-click="$emit('onTrial')"
|
|
36
|
+
>Free trial</arg-btn
|
|
37
|
+
>
|
|
38
|
+
<arg-btn
|
|
39
|
+
:btn-style="`${app === 'oip' ? 'primary' : app}-stroke`"
|
|
40
|
+
@on-click="$emit('onContact')"
|
|
41
|
+
>Contact sales</arg-btn
|
|
42
|
+
>
|
|
43
|
+
</div>
|
|
44
|
+
<div
|
|
45
|
+
class="oip_row v-center gap-16"
|
|
46
|
+
v-else-if="defaultActions && haveActions && isFindMore"
|
|
24
47
|
>
|
|
48
|
+
<arg-btn
|
|
49
|
+
:btn-style="`${app === 'oip' ? 'primary' : app}-fill`"
|
|
50
|
+
@on-click="$emit('onContact')"
|
|
51
|
+
suffix-icon="ArrowRight"
|
|
52
|
+
>Contact support</arg-btn
|
|
53
|
+
>
|
|
54
|
+
</div>
|
|
55
|
+
<slot v-else-if="haveActions" name="actions" />
|
|
25
56
|
</div>
|
|
26
|
-
<slot v-else name="actions" />
|
|
27
57
|
</div>
|
|
28
58
|
</template>
|
|
29
59
|
|
|
@@ -41,10 +71,19 @@ export default defineComponent({
|
|
|
41
71
|
app: {
|
|
42
72
|
type: String,
|
|
43
73
|
default: "oip",
|
|
74
|
+
required: true,
|
|
44
75
|
validator: (value) => {
|
|
45
76
|
return ["oip", "discovery", "bank"].includes(value);
|
|
46
77
|
}
|
|
47
78
|
},
|
|
79
|
+
haveActions: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: true
|
|
82
|
+
},
|
|
83
|
+
textSlots: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: false
|
|
86
|
+
},
|
|
48
87
|
defaultActions: {
|
|
49
88
|
type: Boolean,
|
|
50
89
|
default: true
|
|
@@ -56,6 +95,10 @@ export default defineComponent({
|
|
|
56
95
|
customText: {
|
|
57
96
|
type: String || void 0 || null,
|
|
58
97
|
default: void 0
|
|
98
|
+
},
|
|
99
|
+
isFindMore: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: false
|
|
59
102
|
}
|
|
60
103
|
},
|
|
61
104
|
emits: ["onTrial", "onContact"],
|
|
@@ -75,6 +118,8 @@ export default defineComponent({
|
|
|
75
118
|
const getTitle = computed(() => {
|
|
76
119
|
if (props.customTitle && props.customTitle !== null) {
|
|
77
120
|
return props.customTitle;
|
|
121
|
+
} else if (props.isFindMore) {
|
|
122
|
+
return "Not finding what you're looking for ?";
|
|
78
123
|
} else {
|
|
79
124
|
switch (props.app) {
|
|
80
125
|
case "oip":
|
|
@@ -91,6 +136,8 @@ export default defineComponent({
|
|
|
91
136
|
const getText = computed(() => {
|
|
92
137
|
if (props.customText && props.customText !== null) {
|
|
93
138
|
return props.customText;
|
|
139
|
+
} else if (props.isFindMore) {
|
|
140
|
+
return `<p class="oip_body banner_text">Our database grows daily, if you're seeking a specific theme, feel free to contact us, and <b>we'll gladly add the perfect app for you!</b></p>`;
|
|
94
141
|
} else {
|
|
95
142
|
switch (props.app) {
|
|
96
143
|
case "oip":
|
|
@@ -114,5 +161,5 @@ export default defineComponent({
|
|
|
114
161
|
</script>
|
|
115
162
|
|
|
116
163
|
<style scoped>
|
|
117
|
-
.oip_product_card{align-
|
|
164
|
+
.oip_product_card{align-self:stretch;border-radius:12px;box-shadow:0 6px 8px 0 rgba(30,41,59,.1);display:flex;flex-direction:column;position:relative}.p-24{padding:24px}.p-40{padding:40px}.absolute_bg{align-self:stretch;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:hsla(0,0%,100%,.7)!important;border-radius:8px;bottom:0;left:0;padding:24px;position:relative;top:0;width:calc(100% - 48px)}.bank_banner{border:1px solid rgba(224,67,128,.1)!important}.oip_banner{border:1px solid rgba(65,100,238,.1)!important}.discovery_banner{border:1px solid rgba(7,129,111,.1)!important}.banner_title{font-size:26px;font-style:normal;font-weight:900;line-height:normal}.bank_title_color{color:var(--bank)}.discovery_title_color{color:var(--discovery)}.oip_title_color{color:var(--primary)}.banner_text{max-width:550px}
|
|
118
165
|
</style>
|
|
@@ -2,8 +2,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
app: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
|
+
required: true;
|
|
5
6
|
validator: (value: string) => boolean;
|
|
6
7
|
};
|
|
8
|
+
haveActions: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
textSlots: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
7
16
|
defaultActions: {
|
|
8
17
|
type: BooleanConstructor;
|
|
9
18
|
default: boolean;
|
|
@@ -16,6 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
25
|
type: StringConstructor;
|
|
17
26
|
default: undefined;
|
|
18
27
|
};
|
|
28
|
+
isFindMore: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
19
32
|
}, {
|
|
20
33
|
getTitle: import("vue").ComputedRef<string>;
|
|
21
34
|
getText: import("vue").ComputedRef<string>;
|
|
@@ -24,8 +37,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
37
|
app: {
|
|
25
38
|
type: StringConstructor;
|
|
26
39
|
default: string;
|
|
40
|
+
required: true;
|
|
27
41
|
validator: (value: string) => boolean;
|
|
28
42
|
};
|
|
43
|
+
haveActions: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
textSlots: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
29
51
|
defaultActions: {
|
|
30
52
|
type: BooleanConstructor;
|
|
31
53
|
default: boolean;
|
|
@@ -38,13 +60,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
60
|
type: StringConstructor;
|
|
39
61
|
default: undefined;
|
|
40
62
|
};
|
|
63
|
+
isFindMore: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
41
67
|
}>> & {
|
|
42
68
|
onOnTrial?: ((...args: any[]) => any) | undefined;
|
|
43
69
|
onOnContact?: ((...args: any[]) => any) | undefined;
|
|
44
70
|
}, {
|
|
45
71
|
customTitle: string;
|
|
46
72
|
app: string;
|
|
73
|
+
haveActions: boolean;
|
|
74
|
+
textSlots: boolean;
|
|
47
75
|
defaultActions: boolean;
|
|
48
76
|
customText: string;
|
|
77
|
+
isFindMore: boolean;
|
|
49
78
|
}, {}>;
|
|
50
79
|
export default _default;
|