@redneckz/wildless-cms-uni-blocks 0.14.846 → 0.14.850
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/bundle/bundle.umd.js +22 -74
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
- package/bundle/hooks/useAspects/useAspects.d.ts +1 -1
- package/dist/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/dist/components/Header/HeaderChatBotButton.js +15 -4
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/dist/hooks/useAspects/handleAspects.d.ts +1 -1
- package/dist/hooks/useAspects/handleAspects.js +5 -2
- package/dist/hooks/useAspects/handleAspects.js.map +1 -1
- package/dist/hooks/useAspects/useAspects.d.ts +1 -1
- package/dist/retail/utils/renderStep.js +3 -1
- package/dist/retail/utils/renderStep.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/lib/components/Header/HeaderChatBotButton.js +15 -4
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/lib/hooks/useAspects/handleAspects.d.ts +1 -1
- package/lib/hooks/useAspects/handleAspects.js +5 -2
- package/lib/hooks/useAspects/handleAspects.js.map +1 -1
- package/lib/hooks/useAspects/useAspects.d.ts +1 -1
- package/lib/retail/utils/renderStep.js +3 -1
- package/lib/retail/utils/renderStep.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +22 -74
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/mobile/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/bundle/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.js +15 -4
- package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/mobile/dist/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/dist/hooks/useAspects/handleAspects.js +5 -2
- package/mobile/dist/hooks/useAspects/handleAspects.js.map +1 -1
- package/mobile/dist/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/dist/retail/utils/renderStep.js +3 -1
- package/mobile/dist/retail/utils/renderStep.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.js +15 -4
- package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/mobile/lib/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/lib/hooks/useAspects/handleAspects.js +5 -2
- package/mobile/lib/hooks/useAspects/handleAspects.js.map +1 -1
- package/mobile/lib/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/lib/retail/utils/renderStep.js +3 -1
- package/mobile/lib/retail/utils/renderStep.js.map +1 -1
- package/mobile/src/components/Header/HeaderChatBotButton.tsx +18 -12
- package/mobile/src/components/Header/HeaderSubMenu.tsx +0 -1
- package/mobile/src/components/Header/HeaderTop.tsx +1 -6
- package/mobile/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
- package/mobile/src/hooks/useAspects/handleAspects.ts +6 -2
- package/mobile/src/hooks/useAspects/useAspects.ts +1 -1
- package/mobile/src/retail/utils/renderStep.tsx +3 -1
- package/package.json +1 -1
- package/src/components/Header/HeaderChatBotButton.tsx +18 -12
- package/src/components/Header/HeaderSubMenu.tsx +0 -1
- package/src/components/Header/HeaderTop.tsx +1 -6
- package/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
- package/src/hooks/useAspects/handleAspects.ts +6 -2
- package/src/hooks/useAspects/useAspects.ts +1 -1
- package/src/retail/utils/renderStep.tsx +3 -1
- package/bundle/components/Header/useChatBot.d.ts +0 -5
- package/dist/components/Header/useChatBot.d.ts +0 -5
- package/dist/components/Header/useChatBot.js +0 -61
- package/dist/components/Header/useChatBot.js.map +0 -1
- package/lib/components/Header/useChatBot.d.ts +0 -5
- package/lib/components/Header/useChatBot.js +0 -58
- package/lib/components/Header/useChatBot.js.map +0 -1
- package/mobile/bundle/components/Header/useChatBot.d.ts +0 -5
- package/mobile/dist/components/Header/useChatBot.d.ts +0 -5
- package/mobile/dist/components/Header/useChatBot.js +0 -61
- package/mobile/dist/components/Header/useChatBot.js.map +0 -1
- package/mobile/lib/components/Header/useChatBot.d.ts +0 -5
- package/mobile/lib/components/Header/useChatBot.js +0 -58
- package/mobile/lib/components/Header/useChatBot.js.map +0 -1
- package/mobile/src/components/Header/useChatBot.ts +0 -86
- package/src/components/Header/useChatBot.ts +0 -86
|
@@ -10,7 +10,7 @@ export interface AspectsAttribute {
|
|
|
10
10
|
params?: AspectData;
|
|
11
11
|
}
|
|
12
12
|
export interface Aspects {
|
|
13
|
-
[key: string]: (ev: PreventableEventWithTarget, data?: AspectData) => void
|
|
13
|
+
[key: string]: (ev: PreventableEventWithTarget, data?: AspectData) => Promise<void>;
|
|
14
14
|
}
|
|
15
15
|
export declare function useAspects(): Aspects;
|
|
16
16
|
export declare namespace useAspects {
|
|
@@ -9,7 +9,9 @@ export const renderStep = ({ sections, field, step, params, }) => sections?.map(
|
|
|
9
9
|
const cleanElements = [
|
|
10
10
|
!checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
|
|
11
11
|
...renderInputs({ field, inputs, params }),
|
|
12
|
-
]
|
|
12
|
+
]
|
|
13
|
+
.filter(Boolean)
|
|
14
|
+
.map((_, j) => ({ ..._, key: _.key ?? `elem-${j}` }));
|
|
13
15
|
return cleanElements.length ? (_jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
|
|
14
16
|
});
|
|
15
17
|
const getValue = (field) => (name) => field(name)?.value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/retail/utils/renderStep.tsx"],"names":[],"m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one(secondaryPhone) };
|
|
1066
1066
|
};
|
|
1067
1067
|
|
|
1068
|
-
const handleAspects = ({ aspectsAttributes, aspects, ev }) => {
|
|
1068
|
+
const handleAspects = async ({ aspectsAttributes, aspects, ev }) => {
|
|
1069
1069
|
for (const { aspectName, params } of aspectsAttributes ?? []) {
|
|
1070
|
-
aspects[aspectName ?? '']
|
|
1070
|
+
const aspectFn = aspects[aspectName ?? ''];
|
|
1071
|
+
if (aspectFn) {
|
|
1072
|
+
await aspectFn(ev, params);
|
|
1073
|
+
}
|
|
1071
1074
|
}
|
|
1072
1075
|
};
|
|
1073
1076
|
|
|
@@ -1110,7 +1113,7 @@
|
|
|
1110
1113
|
return url.toString();
|
|
1111
1114
|
};
|
|
1112
1115
|
|
|
1113
|
-
const forwardQuery = (ev) => {
|
|
1116
|
+
const forwardQuery = async (ev) => {
|
|
1114
1117
|
const anchor = ev.target?.closest('a');
|
|
1115
1118
|
const navigator = locationNavigator();
|
|
1116
1119
|
if (isURL(anchor?.href) && !anchor?.href?.startsWith(navigator.origin)) {
|
|
@@ -3518,16 +3521,6 @@
|
|
|
3518
3521
|
});
|
|
3519
3522
|
}
|
|
3520
3523
|
};
|
|
3521
|
-
const initializeExternalStylesheet = (url = '') => {
|
|
3522
|
-
const link = globalThis.document.getElementById(url);
|
|
3523
|
-
if (!link) {
|
|
3524
|
-
const newLink = globalThis.document.createElement('link');
|
|
3525
|
-
newLink.href = url;
|
|
3526
|
-
newLink.id = url;
|
|
3527
|
-
newLink.rel = 'stylesheet';
|
|
3528
|
-
globalThis.document.head.appendChild(newLink);
|
|
3529
|
-
}
|
|
3530
|
-
};
|
|
3531
3524
|
function useExternalNS(namespaceName, url, unmountNS = true) {
|
|
3532
3525
|
const [externalNS, setExternalNS] = useState(undefined);
|
|
3533
3526
|
useEffect(() => {
|
|
@@ -7799,7 +7792,9 @@
|
|
|
7799
7792
|
const cleanElements = [
|
|
7800
7793
|
!checkCondition({ condition }, getValue(field)) ? renderTitle(title) : null,
|
|
7801
7794
|
...renderInputs({ field, inputs, params }),
|
|
7802
|
-
]
|
|
7795
|
+
]
|
|
7796
|
+
.filter(Boolean)
|
|
7797
|
+
.map((_, j) => ({ ..._, key: _.key ?? `elem-${j}` }));
|
|
7803
7798
|
return cleanElements.length ? (jsx("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: cleanElements }, `section-${i}`)) : null;
|
|
7804
7799
|
});
|
|
7805
7800
|
const getValue = (field) => (name) => field(name)?.value;
|
|
@@ -9192,65 +9187,18 @@
|
|
|
9192
9187
|
});
|
|
9193
9188
|
const getDataTestIdAttribute = (dataTestId) => dataTestId ? { 'data-test-id': dataTestId } : null;
|
|
9194
9189
|
|
|
9195
|
-
const
|
|
9196
|
-
const
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
};
|
|
9205
|
-
const useChatBot = (chat) => {
|
|
9206
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
9207
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
9208
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
9209
|
-
const load = useCallback((ev) => {
|
|
9210
|
-
if (!chatUrl) {
|
|
9211
|
-
return;
|
|
9212
|
-
}
|
|
9213
|
-
setIsLoading(true);
|
|
9214
|
-
if (chat === 'business') {
|
|
9215
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
9216
|
-
}
|
|
9217
|
-
else {
|
|
9218
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
9190
|
+
const CHAT_BOT_ASPECT_NAME = 'openChatBot';
|
|
9191
|
+
const HeaderChatBotButton = JSX(({ iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large' }) => {
|
|
9192
|
+
const [isLoading, { setTrue: startLoad, setFalse: endLoad }] = useBool(false);
|
|
9193
|
+
const aspects = useAspects();
|
|
9194
|
+
const handleClick = useCallback((ev) => {
|
|
9195
|
+
const openChatBot = aspects[CHAT_BOT_ASPECT_NAME];
|
|
9196
|
+
if (openChatBot) {
|
|
9197
|
+
startLoad();
|
|
9198
|
+
openChatBot(ev).finally(endLoad);
|
|
9219
9199
|
}
|
|
9220
|
-
}, [
|
|
9221
|
-
return {
|
|
9222
|
-
};
|
|
9223
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
9224
|
-
const target = ev.target;
|
|
9225
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
9226
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
9227
|
-
}
|
|
9228
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
9229
|
-
if (!chatFrame) {
|
|
9230
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
9231
|
-
}
|
|
9232
|
-
};
|
|
9233
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
9234
|
-
const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
9235
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
9236
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
9237
|
-
if (chatFrame) {
|
|
9238
|
-
businessChat?.chatOpen?.();
|
|
9239
|
-
}
|
|
9240
|
-
else {
|
|
9241
|
-
createChatFrame();
|
|
9242
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
9243
|
-
}
|
|
9244
|
-
};
|
|
9245
|
-
const createChatFrame = () => {
|
|
9246
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
9247
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
9248
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
9249
|
-
};
|
|
9250
|
-
|
|
9251
|
-
const HeaderChatBotButton = JSX(({ chat = 'personal', iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large', }) => {
|
|
9252
|
-
const { load, isLoading } = useChatBot(chat);
|
|
9253
|
-
return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: load, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, dataTestId: "chat icon" }));
|
|
9200
|
+
}, []);
|
|
9201
|
+
return (jsx(HeaderSecondaryMenuButton, { className: className, image: { icon: 'ChatBotIcon', iconVersion }, ariaLabel: ariaLabel, onClick: handleClick, buttonSize: buttonSize, isGrayBg: true, version: version, isLoading: isLoading, disabled: isLoading, dataTestId: "chat icon" }));
|
|
9254
9202
|
});
|
|
9255
9203
|
|
|
9256
9204
|
const BUTTON_STYLE = {
|
|
@@ -9272,7 +9220,7 @@
|
|
|
9272
9220
|
const onClick = useCallback(() => {
|
|
9273
9221
|
router.back();
|
|
9274
9222
|
}, [router]);
|
|
9275
|
-
return (jsxs("div", { className: "flex items-center justify-between w-full", children: [alwaysShowLogo || isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }) })) : (renderBackButton(onClick, backwardButton)), jsxs("div", { className: "flex gap-lg items-center", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion,
|
|
9223
|
+
return (jsxs("div", { className: "flex items-center justify-between w-full", children: [alwaysShowLogo || isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logoProps, data: dataHeader, showTitle: false }) })) : (renderBackButton(onClick, backwardButton)), jsxs("div", { className: "flex gap-lg items-center", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { version: version, iconVersion: iconVersion, buttonSize: "medium" })) : null, jsx(InternetBankButton, { version: version, ...internetBankButton })] })] }));
|
|
9276
9224
|
});
|
|
9277
9225
|
const renderBackButton = (onClick, text) => text ? (jsxs("button", { className: "flex items-center text-l my-2xs", onClick: onClick, type: "button", "aria-label": "\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0430\u0437\u0430\u0434", children: [jsx(Icon, { name: "ChevronLeftIcon", iconVersion: "black", width: "24", height: "24" }), text] })) : null;
|
|
9278
9226
|
|
|
@@ -10448,7 +10396,7 @@
|
|
|
10448
10396
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10449
10397
|
});
|
|
10450
10398
|
|
|
10451
|
-
const packageVersion = "0.14.
|
|
10399
|
+
const packageVersion = "0.14.849";
|
|
10452
10400
|
|
|
10453
10401
|
exports.Blocks = Blocks;
|
|
10454
10402
|
exports.ContentPage = ContentPage;
|