@daeryun/dr_components 1.2.48 → 1.2.49
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/components/page/FieldNew/FieldNewView.jsx +4 -4
- package/dist/components/page/FieldNew/FieldNewView.tsx +4 -4
- package/dist/components/page/LawInfoNew/LawInfoNewView.jsx +4 -4
- package/dist/components/page/LawInfoNew/LawInfoNewView.tsx +4 -4
- package/dist/components/page/SuccessNew/SuccessNewView.jsx +4 -4
- package/dist/components/page/SuccessNew/SuccessNewView.tsx +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -46,19 +46,19 @@ const FieldNewView = ({ data, tel }) => {
|
|
|
46
46
|
};
|
|
47
47
|
const handleFaqItemType = (isFaqActive, faqElementMaxCountInContents) => {
|
|
48
48
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
49
|
-
return
|
|
49
|
+
return 'https://schema.org/FAQPage';
|
|
50
50
|
}
|
|
51
51
|
if (isFaqActive && faqElementMaxCountInContents >= 2) {
|
|
52
|
-
return
|
|
52
|
+
return undefined;
|
|
53
53
|
}
|
|
54
54
|
return 'https://schema.org/FAQPage';
|
|
55
55
|
};
|
|
56
56
|
const handleFaqItemScope = (isFaqActive, faqElementMaxCountInContents) => {
|
|
57
57
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
58
|
-
return
|
|
58
|
+
return true;
|
|
59
59
|
}
|
|
60
60
|
if (isFaqActive && faqElementMaxCountInContents >= 2) {
|
|
61
|
-
return
|
|
61
|
+
return undefined;
|
|
62
62
|
}
|
|
63
63
|
return true;
|
|
64
64
|
};
|
|
@@ -64,11 +64,11 @@ const FieldNewView = ({ data, tel }: IFieldNewPageTypes) => {
|
|
|
64
64
|
|
|
65
65
|
const handleFaqItemType = (isFaqActive: boolean, faqElementMaxCountInContents?: number): string | undefined => {
|
|
66
66
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
67
|
-
return
|
|
67
|
+
return 'https://schema.org/FAQPage';
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
|
|
71
|
-
return
|
|
71
|
+
return undefined;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
return 'https://schema.org/FAQPage';
|
|
@@ -76,11 +76,11 @@ const FieldNewView = ({ data, tel }: IFieldNewPageTypes) => {
|
|
|
76
76
|
|
|
77
77
|
const handleFaqItemScope = (isFaqActive: boolean, faqElementMaxCountInContents?: number): true | undefined => {
|
|
78
78
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
79
|
-
return
|
|
79
|
+
return true;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
|
|
83
|
-
return
|
|
83
|
+
return undefined;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
return true;
|
|
@@ -47,19 +47,19 @@ const LawInfoNewView = ({ data, tel }) => {
|
|
|
47
47
|
};
|
|
48
48
|
const handleFaqItemType = (isFaqActive, faqElementMaxCountInContents) => {
|
|
49
49
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
50
|
-
return
|
|
50
|
+
return 'https://schema.org/FAQPage';
|
|
51
51
|
}
|
|
52
52
|
if (isFaqActive && faqElementMaxCountInContents >= 2) {
|
|
53
|
-
return
|
|
53
|
+
return undefined;
|
|
54
54
|
}
|
|
55
55
|
return 'https://schema.org/FAQPage';
|
|
56
56
|
};
|
|
57
57
|
const handleFaqItemScope = (isFaqActive, faqElementMaxCountInContents) => {
|
|
58
58
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
59
|
-
return
|
|
59
|
+
return true;
|
|
60
60
|
}
|
|
61
61
|
if (isFaqActive && faqElementMaxCountInContents >= 2) {
|
|
62
|
-
return
|
|
62
|
+
return undefined;
|
|
63
63
|
}
|
|
64
64
|
return true;
|
|
65
65
|
};
|
|
@@ -71,11 +71,11 @@ const LawInfoNewView = ({ data, tel }: ILawInfoNewPageTypes) => {
|
|
|
71
71
|
|
|
72
72
|
const handleFaqItemType = (isFaqActive: boolean, faqElementMaxCountInContents?: number): string | undefined => {
|
|
73
73
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
74
|
-
return
|
|
74
|
+
return 'https://schema.org/FAQPage';
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
|
|
78
|
-
return
|
|
78
|
+
return undefined;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
return 'https://schema.org/FAQPage';
|
|
@@ -83,11 +83,11 @@ const LawInfoNewView = ({ data, tel }: ILawInfoNewPageTypes) => {
|
|
|
83
83
|
|
|
84
84
|
const handleFaqItemScope = (isFaqActive: boolean, faqElementMaxCountInContents?: number): true | undefined => {
|
|
85
85
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
86
|
-
return
|
|
86
|
+
return true;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
|
|
90
|
-
return
|
|
90
|
+
return undefined;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
return true;
|
|
@@ -59,19 +59,19 @@ const SuccessNewView = ({ data, tel }) => {
|
|
|
59
59
|
};
|
|
60
60
|
const handleFaqItemType = (isFaqActive, faqElementMaxCountInContents) => {
|
|
61
61
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
62
|
-
return
|
|
62
|
+
return 'https://schema.org/FAQPage';
|
|
63
63
|
}
|
|
64
64
|
if (isFaqActive && faqElementMaxCountInContents >= 2) {
|
|
65
|
-
return
|
|
65
|
+
return undefined;
|
|
66
66
|
}
|
|
67
67
|
return 'https://schema.org/FAQPage';
|
|
68
68
|
};
|
|
69
69
|
const handleFaqItemScope = (isFaqActive, faqElementMaxCountInContents) => {
|
|
70
70
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
71
|
-
return
|
|
71
|
+
return true;
|
|
72
72
|
}
|
|
73
73
|
if (isFaqActive && faqElementMaxCountInContents >= 2) {
|
|
74
|
-
return
|
|
74
|
+
return undefined;
|
|
75
75
|
}
|
|
76
76
|
return true;
|
|
77
77
|
};
|
|
@@ -90,11 +90,11 @@ const SuccessNewView = ({ data, tel }: ISuccessNewPageTypes) => {
|
|
|
90
90
|
|
|
91
91
|
const handleFaqItemType = (isFaqActive: boolean, faqElementMaxCountInContents?: number): string | undefined => {
|
|
92
92
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
93
|
-
return
|
|
93
|
+
return 'https://schema.org/FAQPage';
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
|
|
97
|
-
return
|
|
97
|
+
return undefined;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
return 'https://schema.org/FAQPage';
|
|
@@ -102,11 +102,11 @@ const SuccessNewView = ({ data, tel }: ISuccessNewPageTypes) => {
|
|
|
102
102
|
|
|
103
103
|
const handleFaqItemScope = (isFaqActive: boolean, faqElementMaxCountInContents?: number): true | undefined => {
|
|
104
104
|
if (isFaqActive && faqElementMaxCountInContents === 0) {
|
|
105
|
-
return
|
|
105
|
+
return true;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
|
|
109
|
-
return
|
|
109
|
+
return undefined;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
return true;
|