@capillarytech/blaze-ui 5.23.3-beta.8 → 5.23.3-beta.9
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/CapAskAira/ConfigurationBot/PromptAttachmentButton.js +1 -1
- package/CapAskAira/ConfigurationBot/styles.module.scss.js +1 -1
- package/CapLanguageProvider/index.d.ts.map +1 -1
- package/CapLanguageProvider/index.js +9 -28
- package/CapSupportVideosWrapper/index.js +1 -1
- package/CapSupportVideosWrapper/styles.module.scss.js +1 -1
- package/package.json +1 -1
- /package/CapAskAira/ConfigurationBot/{styles.module.css → styles.css} +0 -0
- /package/CapSupportVideosWrapper/{styles.css → styles.module.css} +0 -0
|
@@ -4,7 +4,7 @@ import sendDisabledIconSvg from "../../assets/images/sendIconDisabled.svg.js";
|
|
|
4
4
|
import sendEnabledIconSvg from "../../assets/images/sendIconEnabled.svg.js";
|
|
5
5
|
import CapImage from "../../CapImage/index.js";
|
|
6
6
|
import CapRow from "../../CapRow/index.js";
|
|
7
|
-
import './styles.
|
|
7
|
+
import './styles.css';/* empty css */
|
|
8
8
|
const PromptAttachmentButton = ({
|
|
9
9
|
intl: { formatMessage: _formatMessage },
|
|
10
10
|
isSubmitButtonDisabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/CapLanguageProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,KAAK,EACV,OAAO,EACP,wBAAwB,EACxB,wBAAwB,EAGxB,aAAa,EAEb,eAAe,EACf,uBAAuB,EACvB,QAAQ,EACT,MAAM,SAAS,CAAC;AA0BjB,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,aAAa,CAC1D,wBAAwB,EACxB,wBAAwB,CACzB;gBACa,KAAK,EAAE,wBAAwB;IAU3C,kBAAkB;IAWlB,cAAc,IAAI,OAAO;IAIzB,iBAAiB,IAAI,IAAI;IAoBzB,iBAAiB,IAAI,IAAI;IAOzB,YAAY,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/CapLanguageProvider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,KAAK,EACV,OAAO,EACP,wBAAwB,EACxB,wBAAwB,EAGxB,aAAa,EAEb,eAAe,EACf,uBAAuB,EACvB,QAAQ,EACT,MAAM,SAAS,CAAC;AA0BjB,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,aAAa,CAC1D,wBAAwB,EACxB,wBAAwB,CACzB;gBACa,KAAK,EAAE,wBAAwB;IAU3C,kBAAkB;IAWlB,cAAc,IAAI,OAAO;IAIzB,iBAAiB,IAAI,IAAI;IAoBzB,iBAAiB,IAAI,IAAI;IAOzB,YAAY,IAAI,IAAI;IAgFpB,MAAM,IAAI,KAAK,CAAC,YAAY;CAgC7B;wBAe2D,KAAK,CAAC,aAAa,CAC7E,OAAO,CAAC,wBAAwB,CAAC,CAClC;AAFD,wBAEE;AAEF,YAAY,EACV,wBAAwB,EACxB,eAAe,EACf,QAAQ,EACR,aAAa,EACb,OAAO,EACP,uBAAuB,GACxB,CAAC"}
|
|
@@ -46,10 +46,7 @@ class CapLanguageProvider extends React.PureComponent {
|
|
|
46
46
|
return window.location.pathname.indexOf("/login") !== -1;
|
|
47
47
|
}
|
|
48
48
|
loadDefaultLocale() {
|
|
49
|
-
import(
|
|
50
|
-
/* webpackIgnore: true */
|
|
51
|
-
"antd-v5/locale/en_US"
|
|
52
|
-
).then((module) => {
|
|
49
|
+
import("antd-v5/locale/en_US").then((module) => {
|
|
53
50
|
if (module == null ? void 0 : module.default) {
|
|
54
51
|
this.setState({ locale: module.default });
|
|
55
52
|
} else {
|
|
@@ -107,41 +104,25 @@ class CapLanguageProvider extends React.PureComponent {
|
|
|
107
104
|
});
|
|
108
105
|
moment.locale(locale);
|
|
109
106
|
dayjs.locale(locale);
|
|
110
|
-
import(
|
|
111
|
-
/* webpackIgnore: true */
|
|
112
|
-
`antd-v5/locale/${antdLocale}`
|
|
113
|
-
).then((module) => {
|
|
107
|
+
import(`antd-v5/locale/${antdLocale}`).then((module) => {
|
|
114
108
|
this.setState({ locale: module.default });
|
|
115
109
|
}).catch(() => {
|
|
116
110
|
console.warn(
|
|
117
111
|
`antd es locale-provider module does not exist for ${antdLocale}. Using en_US instead`
|
|
118
112
|
);
|
|
119
|
-
import(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
).then(
|
|
123
|
-
(module) => {
|
|
124
|
-
this.setState({ locale: module.default });
|
|
125
|
-
}
|
|
126
|
-
);
|
|
113
|
+
import("antd-v5/locale/en_US").then((module) => {
|
|
114
|
+
this.setState({ locale: module.default });
|
|
115
|
+
});
|
|
127
116
|
});
|
|
128
|
-
import(
|
|
129
|
-
/* webpackIgnore: true */
|
|
130
|
-
`react-intl/locale-data/${_reactIntlLocale}.js`
|
|
131
|
-
).then((module) => {
|
|
117
|
+
import(`react-intl/locale-data/${_reactIntlLocale}.js`).then((module) => {
|
|
132
118
|
addLocaleData(module.default);
|
|
133
119
|
}).catch(() => {
|
|
134
120
|
console.warn(
|
|
135
121
|
`react-intl locale-data does not exist for ${_reactIntlLocale}. Using en instead`
|
|
136
122
|
);
|
|
137
|
-
import(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
).then(
|
|
141
|
-
(module) => {
|
|
142
|
-
addLocaleData(module.default);
|
|
143
|
-
}
|
|
144
|
-
);
|
|
123
|
+
import("react-intl/locale-data/en.js").then((module) => {
|
|
124
|
+
addLocaleData(module.default);
|
|
125
|
+
});
|
|
145
126
|
});
|
|
146
127
|
}
|
|
147
128
|
render() {
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { CAP_SPACE_02, FONT_SIZE_M, CAP_BLUE01, CAP_SPACE_16 } from "../styles/_variables.js";
|
|
4
4
|
import ResizablePIP from "./ResizablePIP.js";
|
|
5
|
-
import './styles.css';/* empty css */
|
|
5
|
+
import './styles.module.css';/* empty css */
|
|
6
6
|
import { getElementByXpath } from "./utils.js";
|
|
7
7
|
const CapSupportVideosWrapper = (props) => {
|
|
8
8
|
var _a;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|