@antscorp/antsomi-ui 1.3.5-beta.832 → 1.3.5-beta.833

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { PayloadInfo } from '@antscorp/antsomi-ui/es/types';
2
3
  export type TDisplayFormat = 'number' | 'percentage' | 'currency' | 'datetime';
3
4
  type DisplayFormatProps = {
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // Libraries
3
3
  import axios from 'axios';
4
4
  import clsx from 'clsx';
@@ -860,15 +860,15 @@ export const AccountSetting = memo(forwardRef((props, ref) => {
860
860
  (logoManual && logoManual.url) ||
861
861
  (!loading ? Image : '');
862
862
  try {
863
- return (_jsxs(Spin, { spinning: loading, children: [_jsxs(AccountDetail, { className: "wrap-table", children: [_jsxs("div", { className: "form-profile", children: [_jsxs("div", { className: "left-profile", children: [logo && _jsx("img", { src: avatarUrl, alt: "" }), _jsxs("div", { className: "preview mt-10", children: [isDisabledEdit || isPreview ? null : (_jsxs(_Fragment, { children: [_jsx("div", { className: "block-choose-input-file", children: _jsx(UploadAvatar
863
+ return (_jsxs(Spin, { spinning: loading, children: [_jsxs(AccountDetail, { className: "wrap-table", children: [_jsxs("div", { className: "form-profile", children: [_jsxs("div", { className: "left-profile", children: [logo && _jsx("img", { src: avatarUrl, alt: "" }), _jsxs("div", { className: "preview mt-10", children: [isDisabledEdit || isPreview ? null : (_jsxs("div", { className: "block-choose-input-file", children: [_jsx(UploadAvatar
864
+ // ref={input => {
865
+ // this.fileInput = input;
866
+ // }}
867
+ , {
864
868
  // ref={input => {
865
869
  // this.fileInput = input;
866
870
  // }}
867
- , {
868
- // ref={input => {
869
- // this.fileInput = input;
870
- // }}
871
- onFileUploading: onFileUploading, onFileUploaded: handleChangeLogo, callbackFileError: showFileError, dimensions: { width: 5000, height: 5000 }, extensions: ['png', 'jpg', 'PNG', 'JPG'], maxFileSize: 3072, iamDomain: iamDomain, authStr: `?_token=${token}&_user_id=${accountId}&_account_id=${accountId}`, setLoading: setLoading }) }), _jsx("span", { className: "choose-file-text", children: "Change avatar" })] })), errors.avatar ? (_jsxs("div", { className: "error", style: {
871
+ onFileUploading: onFileUploading, onFileUploaded: handleChangeLogo, callbackFileError: showFileError, dimensions: { width: 5000, height: 5000 }, extensions: ['png', 'jpg', 'PNG', 'JPG'], maxFileSize: 3072, iamDomain: iamDomain, authStr: `?_token=${token}&_user_id=${accountId}&_account_id=${accountId}`, setLoading: setLoading }), _jsx("span", { className: "choose-file-text", children: "Change avatar" })] })), errors.avatar ? (_jsxs("div", { className: "error", style: {
872
872
  width: 'fit-content',
873
873
  textAlign: 'left',
874
874
  margin: '0 auto',
@@ -3,4 +3,5 @@
3
3
  * Asynchronously loads the component for TemplateListing
4
4
  *
5
5
  */
6
+ /// <reference types="react" />
6
7
  export declare const TemplateListing: (props: import("./types").TemplateListingProps<{}>) => JSX.Element;
@@ -1288,7 +1288,7 @@
1288
1288
  "_TITL_TOTAL_TESTING_INPUT": "Total testing input",
1289
1289
  "_TITL_TRACKED_TIME": "Tracked time",
1290
1290
  "_TITL_TREAT_AS_CONVERSION_OBECJT": "Treat as Conversion Object",
1291
- "_TOOLTIP__TITL_TREAT_AS_CONVERSION_OBECJT": "Loading...",
1291
+ "_TOOLTIP__TITL_TREAT_AS_CONVERSION_OBECJT": "Coi như đối tượng chuyển đổi",
1292
1292
  "_TITL_TRIGGER_EVENT": "{{trigger_event_name}}, where:",
1293
1293
  "_TITL_TRIGGER_TIME": "Trigger time",
1294
1294
  "_TITL_UNTITLED_MEASURE": "Untitled Measure",