@dialob/composer-material 0.0.9 → 0.0.11
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-lib/index.d.ts +23 -21
- package/dist-lib/index.js +8417 -8351
- package/package.json +9 -9
package/dist-lib/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AlertColor } from '@mui/material';
|
|
2
|
-
import { Component } from 'react';
|
|
2
|
+
import { Component } from '../../node_modules/@types/react';
|
|
3
3
|
import { ConversionMenu } from '../items/ItemComponents';
|
|
4
|
-
import { default as default_2 } from 'react';
|
|
4
|
+
import { default as default_2 } from '../../node_modules/@types/react';
|
|
5
|
+
import { default as default_3 } from '../../../node_modules/@types/react';
|
|
5
6
|
import { EditorState } from '..';
|
|
6
|
-
import { FunctionComponent } from 'react';
|
|
7
|
+
import { FunctionComponent } from '../../node_modules/@types/react';
|
|
7
8
|
import { IdField } from '../items/ItemComponents';
|
|
8
9
|
import { Indicators } from '../items/ItemComponents';
|
|
9
10
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
@@ -92,7 +93,7 @@ export declare const ChoiceDeleteDialog: default_2.FC<{
|
|
|
92
93
|
onClose: () => void;
|
|
93
94
|
}>;
|
|
94
95
|
|
|
95
|
-
export declare const ChoiceEditor:
|
|
96
|
+
export declare const ChoiceEditor: default_3.FC;
|
|
96
97
|
|
|
97
98
|
export declare const ChoiceItem: default_2.FC<ChoiceItemProps>;
|
|
98
99
|
|
|
@@ -191,9 +192,9 @@ declare type ContextVariable = {
|
|
|
191
192
|
description?: string;
|
|
192
193
|
};
|
|
193
194
|
|
|
194
|
-
export declare const ContextVariableRow:
|
|
195
|
+
export declare const ContextVariableRow: default_3.FC<VariableProps>;
|
|
195
196
|
|
|
196
|
-
export declare const ContextVariables:
|
|
197
|
+
export declare const ContextVariables: default_3.FC<{
|
|
197
198
|
onClose: () => void;
|
|
198
199
|
}>;
|
|
199
200
|
|
|
@@ -248,9 +249,9 @@ declare namespace DefaultTypes {
|
|
|
248
249
|
}
|
|
249
250
|
export { DefaultTypes }
|
|
250
251
|
|
|
251
|
-
export declare const DefaultValueEditor:
|
|
252
|
+
export declare const DefaultValueEditor: default_3.FC;
|
|
252
253
|
|
|
253
|
-
export declare const DescriptionEditor:
|
|
254
|
+
export declare const DescriptionEditor: default_3.FC;
|
|
254
255
|
|
|
255
256
|
declare type DialobCategoryType = 'structure' | 'input' | 'output';
|
|
256
257
|
|
|
@@ -356,9 +357,9 @@ declare namespace ErrorUtils {
|
|
|
356
357
|
}
|
|
357
358
|
export { ErrorUtils }
|
|
358
359
|
|
|
359
|
-
export declare const ExpressionVariableRow:
|
|
360
|
+
export declare const ExpressionVariableRow: default_3.FC<VariableProps>;
|
|
360
361
|
|
|
361
|
-
export declare const ExpressionVariables:
|
|
362
|
+
export declare const ExpressionVariables: default_3.FC<{
|
|
362
363
|
onClose: () => void;
|
|
363
364
|
}>;
|
|
364
365
|
|
|
@@ -441,7 +442,7 @@ declare interface ItemTypeConfig {
|
|
|
441
442
|
categories: ItemTypeCategory[];
|
|
442
443
|
}
|
|
443
444
|
|
|
444
|
-
export declare const LabelEditor:
|
|
445
|
+
export declare const LabelEditor: default_3.FC;
|
|
445
446
|
|
|
446
447
|
export { LabelField }
|
|
447
448
|
|
|
@@ -451,17 +452,17 @@ declare type LocalizedString = {
|
|
|
451
452
|
[language: string]: string;
|
|
452
453
|
};
|
|
453
454
|
|
|
454
|
-
export declare const LocalizedStringEditor:
|
|
455
|
+
export declare const LocalizedStringEditor: default_3.FC<{
|
|
455
456
|
type: 'label' | 'description' | 'validations';
|
|
456
457
|
rule?: IndexedRule;
|
|
457
|
-
setRule?:
|
|
458
|
+
setRule?: default_3.Dispatch<default_3.SetStateAction<IndexedRule | undefined>>;
|
|
458
459
|
}>;
|
|
459
460
|
|
|
460
|
-
export declare const MissingTranslations:
|
|
461
|
+
export declare const MissingTranslations: default_3.FC;
|
|
461
462
|
|
|
462
463
|
declare const MultiChoiceProp: (props: any) => JSX_2.Element;
|
|
463
464
|
|
|
464
|
-
export declare const NavigationTreeView:
|
|
465
|
+
export declare const NavigationTreeView: default_3.FC;
|
|
465
466
|
|
|
466
467
|
export declare const Note: default_2.FC<{
|
|
467
468
|
item: DialobItem;
|
|
@@ -516,9 +517,9 @@ declare interface PropEditorsType {
|
|
|
516
517
|
};
|
|
517
518
|
}
|
|
518
519
|
|
|
519
|
-
export declare const PropertiesEditor:
|
|
520
|
+
export declare const PropertiesEditor: default_3.FC;
|
|
520
521
|
|
|
521
|
-
export declare const PropItem:
|
|
522
|
+
export declare const PropItem: default_3.FC<{
|
|
522
523
|
prop: ItemProp;
|
|
523
524
|
propEditor: {
|
|
524
525
|
component: any;
|
|
@@ -530,11 +531,11 @@ export declare const PropItem: default_2.FC<{
|
|
|
530
531
|
|
|
531
532
|
declare type PropValue = string | string[] | boolean;
|
|
532
533
|
|
|
533
|
-
export declare const RuleEditor:
|
|
534
|
+
export declare const RuleEditor: default_3.FC<{
|
|
534
535
|
type: RuleType;
|
|
535
536
|
}>;
|
|
536
537
|
|
|
537
|
-
export declare const RulesEditor:
|
|
538
|
+
export declare const RulesEditor: default_3.FC;
|
|
538
539
|
|
|
539
540
|
declare type RuleType = 'visibility' | 'requirement' | 'canaddrow' | 'canremoverow';
|
|
540
541
|
|
|
@@ -563,7 +564,7 @@ export declare const TranslationDialog: default_2.FC<{
|
|
|
563
564
|
onClose: () => void;
|
|
564
565
|
}>;
|
|
565
566
|
|
|
566
|
-
export declare const TranslationFileEditor:
|
|
567
|
+
export declare const TranslationFileEditor: default_3.FC;
|
|
567
568
|
|
|
568
569
|
declare interface TransportConfig {
|
|
569
570
|
csrf?: {
|
|
@@ -646,6 +647,7 @@ export declare const useEditor: () => {
|
|
|
646
647
|
setHighlightedItem: (item?: DialobItem) => void;
|
|
647
648
|
setActiveList: (listId?: string) => void;
|
|
648
649
|
setActiveVariableTab: (tab?: VariableTabType) => void;
|
|
650
|
+
setConfirmationActiveItem: (item?: DialobItem) => void;
|
|
649
651
|
};
|
|
650
652
|
|
|
651
653
|
declare const useErrorColor: (error: EditorError | undefined) => string | undefined;
|
|
@@ -657,7 +659,7 @@ declare type ValidationRule = {
|
|
|
657
659
|
rule?: string;
|
|
658
660
|
};
|
|
659
661
|
|
|
660
|
-
export declare const ValidationRuleEditor:
|
|
662
|
+
export declare const ValidationRuleEditor: default_3.FC;
|
|
661
663
|
|
|
662
664
|
declare type ValueSet = {
|
|
663
665
|
id: string;
|