sccoreui 6.3.26 → 6.3.28

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.
@@ -116,8 +116,8 @@ const TableFilter = () => {
116
116
  const onresetFilter = () => {
117
117
  applyAdvancedFilter([]);
118
118
  setConditionsArray([defaultCondition]);
119
- showFilter.current.toggle(false);
120
- showFilter.current.hide();
119
+ // showFilter.current.toggle(false);
120
+ // showFilter.current.hide();
121
121
  };
122
122
  const renderCondition = (conditions, key) => {
123
123
  const { columnName, condition, value, id } = conditions;
@@ -9,7 +9,7 @@ const react_froala_wysiwyg_1 = tslib_1.__importDefault(require("react-froala-wys
9
9
  require("froala-editor/js/plugins.pkgd.min.js");
10
10
  // import SvgComponent from '../../directives/svg-component';
11
11
  // import { Bold, Italic } from '../../assets/svg/svg';
12
- const FroalaTextEditor = ({ onChange, value, placeholderText, id, className, toolbar = false, }) => {
12
+ const FroalaTextEditor = ({ onChange, value, placeholderText, id, className, toolbar = false, licenceKey = "5OA4gB3A3B3E3B5D3E3F-11SLJCKHXOSLMc1YGSGb1ZXHSe1CgB5A4D4G4E3C2A12A19A6B4==" }) => {
13
13
  const editorRef = (0, react_1.useRef)(null);
14
14
  // const html = ``;
15
15
  const [editorContent, setEditorContent] = (0, react_1.useState)(value);
@@ -62,7 +62,7 @@ const FroalaTextEditor = ({ onChange, value, placeholderText, id, className, too
62
62
  },
63
63
  fontFamilyDefaultSelection: "sans-serif",
64
64
  placeholderText: placeholderText,
65
- key: "5OA4gB3A3B3E3B5D3E3F-11SLJCKHXOSLMc1YGSGb1ZXHSe1CgB5A4D4G4E3C2A12A19A6B4==",
65
+ key: licenceKey,
66
66
  toolbarSticky: false,
67
67
  quickInsertEnabled: false,
68
68
  toolbarInline: false,
@@ -9263,21 +9263,24 @@ exports.iconList = [
9263
9263
  `,
9264
9264
  },
9265
9265
  {
9266
- name: "sales-01",
9267
- svg: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
9268
- <g clip-path="url(#clip0_4072_124654)">
9269
- <path d="M5.73171 15.9908L1.24921 11.5091C1.13305 11.3931 1.04091 11.2552 0.978046 11.1036C0.915171 10.9518 0.882812 10.7892 0.882812 10.625C0.882812 10.4608 0.915171 10.2981 0.978046 10.1465C1.04091 9.99473 1.13305 9.8569 1.24921 9.74081L9.99923 0.99083C10.1153 0.87478 10.2532 0.782736 10.4049 0.719965C10.5566 0.657195 10.7192 0.624925 10.8834 0.625H15.3651C15.6966 0.625 16.0145 0.756696 16.2489 0.991113C16.4833 1.22554 16.6151 1.54348 16.6151 1.875V6.3575" stroke="#8190E8" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
9270
- <path d="M13.4922 4.0625C13.3196 4.0625 13.1797 3.92259 13.1797 3.75C13.1797 3.57742 13.3196 3.4375 13.4922 3.4375" stroke="#8190E8" stroke-width="1.25"/>
9271
- <path d="M13.4922 4.0625C13.6648 4.0625 13.8047 3.92259 13.8047 3.75C13.8047 3.57742 13.6648 3.4375 13.4922 3.4375" stroke="#8190E8" stroke-width="1.25"/>
9272
- <path d="M14.1172 15C14.8075 15 15.3672 14.4404 15.3672 13.75C15.3672 13.0597 14.8075 12.5 14.1172 12.5C13.4268 12.5 12.8672 13.0597 12.8672 13.75C12.8672 14.4404 13.4268 15 14.1172 15Z" stroke="#8190E8" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
9273
- <path d="M15.1786 8.91637L15.5469 10.1272C15.6077 10.328 15.7424 10.4983 15.9239 10.6036C16.1053 10.709 16.3199 10.7415 16.5244 10.6947L17.7519 10.4097C17.9845 10.3573 18.2278 10.3808 18.4461 10.4767C18.6643 10.5726 18.8462 10.736 18.9649 10.9427C19.0836 11.1495 19.1329 11.3888 19.1058 11.6256C19.0785 11.8625 18.9761 12.0845 18.8136 12.2589L17.9553 13.1847C17.8119 13.3389 17.7322 13.5416 17.7322 13.7522C17.7322 13.9628 17.8119 14.1655 17.9553 14.3197L18.8136 15.2455C18.9746 15.4204 19.0755 15.642 19.1018 15.8781C19.128 16.1143 19.0782 16.3527 18.9595 16.5585C18.8408 16.7645 18.6596 16.927 18.4421 17.0227C18.2246 17.1185 17.9822 17.1422 17.7503 17.0905L16.5228 16.8064C16.3183 16.7592 16.1034 16.7916 15.9219 16.897C15.7404 17.0024 15.6057 17.1729 15.5453 17.3739L15.1786 18.583C15.1099 18.8113 14.9695 19.0113 14.7782 19.1535C14.5869 19.2957 14.3548 19.3725 14.1165 19.3725C13.8782 19.3725 13.6462 19.2957 13.4548 19.1535C13.2636 19.0113 13.1232 18.8113 13.0544 18.583L12.6861 17.373C12.6255 17.172 12.4907 17.0015 12.309 16.896C12.1274 16.7907 11.9124 16.7583 11.7078 16.8055L10.4811 17.0897C10.2485 17.143 10.0049 17.1202 9.78618 17.0248C9.56743 16.9293 9.38518 16.7662 9.26602 16.5594C9.14693 16.3525 9.09727 16.113 9.12443 15.876C9.1516 15.6389 9.25418 15.4167 9.41693 15.2422L10.2753 14.3164C10.4187 14.1622 10.4984 13.9595 10.4984 13.7489C10.4984 13.5383 10.4187 13.3355 10.2753 13.1814L9.41693 12.2555C9.25443 12.0811 9.15202 11.8592 9.12485 11.6223C9.0976 11.3855 9.14693 11.1461 9.26568 10.9394C9.38435 10.7326 9.56618 10.5693 9.78452 10.4734C10.0028 10.3775 10.246 10.354 10.4786 10.4064L11.7053 10.6914C11.9098 10.7372 12.1241 10.7042 12.3054 10.599C12.4868 10.4939 12.6218 10.3242 12.6836 10.1239L13.0519 8.91304C13.1203 8.68395 13.2609 8.48304 13.4528 8.34037C13.6446 8.19762 13.8774 8.12072 14.1165 8.1211C14.3556 8.12147 14.5882 8.19909 14.7796 8.34237C14.971 8.4857 15.1109 8.68704 15.1786 8.91637Z" stroke="#8190E8" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
9266
+ name: "org-01",
9267
+ svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
9268
+ <g clip-path="url(#clip0_25_326)">
9269
+ <path d="M14.875 4.03253H1.125L8 1.03003L14.875 4.03253Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9270
+ <path d="M1.75 4.03247H14.25V6.0681H1.75V4.03247Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9271
+ <path d="M6.86499 6.06873H9.13499V11.6756H6.86499V6.06873Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9272
+ <path d="M2.375 6.06873H4.645V11.6756H2.375V6.06873Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9273
+ <path d="M11.355 6.06873H13.625V11.6756H11.355V6.06873Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9274
+ <path d="M1.75 11.6756H14.25V13.7206H1.75V11.6756Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9275
+ <path d="M1.125 14.97V13.72H14.875V14.97" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
9274
9276
  </g>
9275
9277
  <defs>
9276
- <clipPath id="clip0_4072_124654">
9277
- <rect width="20" height="20" fill="white"/>
9278
+ <clipPath id="clip0_25_326">
9279
+ <rect width="16" height="16" fill="white"/>
9278
9280
  </clipPath>
9279
9281
  </defs>
9280
9282
  </svg>
9283
+
9281
9284
  `,
9282
9285
  },
9283
9286
  ];
@@ -2,5 +2,5 @@ import "froala-editor/css/froala_editor.pkgd.min.css";
2
2
  import "froala-editor/css/froala_style.min.css";
3
3
  import "froala-editor/js/plugins.pkgd.min.js";
4
4
  import { FroalaTextEditorTypes } from "../types/type";
5
- declare const FroalaTextEditor: ({ onChange, value, placeholderText, id, className, toolbar, }: FroalaTextEditorTypes) => import("react/jsx-runtime").JSX.Element;
5
+ declare const FroalaTextEditor: ({ onChange, value, placeholderText, id, className, toolbar, licenceKey }: FroalaTextEditorTypes) => import("react/jsx-runtime").JSX.Element;
6
6
  export default FroalaTextEditor;
@@ -159,7 +159,6 @@ export interface DropDownFieldProps {
159
159
  emptyMessage?: string;
160
160
  panelClassName?: string;
161
161
  onFocus?: () => void;
162
- onChange?: (event: any) => void;
163
162
  }
164
163
  export interface MultiSelectProps {
165
164
  errors: any;
@@ -203,6 +202,7 @@ export interface FroalaTextEditorTypes {
203
202
  maxLength?: number;
204
203
  toolbar?: boolean;
205
204
  froalaRef?: any;
205
+ licenceKey?: string;
206
206
  }
207
207
  export interface ListBoxDropdownTypes {
208
208
  values: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.3.26",
3
+ "version": "6.3.28",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",