@mcurros2/microm 1.1.393-0 → 1.1.395-0
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/index.d.ts +17 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +297 -74
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1326,7 +1326,8 @@ export function composeCompoundKey(values: readonly Value[], group: CompoundKeyG
|
|
|
1326
1326
|
export function extractCompoundKeyValues(keys: ValuesObject, group: CompoundKeyGroup): Value[] | undefined;
|
|
1327
1327
|
export function extractCompoundRecordKeys(record: object, group: CompoundKeyGroup): ValuesObject | undefined;
|
|
1328
1328
|
export interface ImportDataDestinationProps {
|
|
1329
|
-
destinationEntity: Entity<
|
|
1329
|
+
destinationEntity: Entity<EntityDefinition>;
|
|
1330
|
+
destinationEntityExportViewName?: string;
|
|
1330
1331
|
entityProcName?: string;
|
|
1331
1332
|
excludedImportDestinations?: string[];
|
|
1332
1333
|
}
|
|
@@ -1702,9 +1703,9 @@ export interface ImportDataMappingEditorProps {
|
|
|
1702
1703
|
}
|
|
1703
1704
|
export const ImportDataMappingEditorDefaultProps: Partial<ImportDataMappingEditorProps>;
|
|
1704
1705
|
export function ImportDataMappingEditor(props: ImportDataMappingEditorProps): JSX.Element | null;
|
|
1705
|
-
export const
|
|
1706
|
-
|
|
1707
|
-
|
|
1706
|
+
export const ACTDownloadImportedFileDefaultProps: {
|
|
1707
|
+
downloadImportedFileLabel: string;
|
|
1708
|
+
downloadImportedFileErrorLabel: string;
|
|
1708
1709
|
};
|
|
1709
1710
|
export const ACTDownloadImportedFile: EntityClientAction;
|
|
1710
1711
|
export const ApplyFiltersDefaultLabel = "Apply Filters";
|
|
@@ -2085,6 +2086,7 @@ export function ImportFileStep({ entity, disabled, validationError, onValidateFi
|
|
|
2085
2086
|
export interface ImportInstructionsStepProps {
|
|
2086
2087
|
importEntity?: Entity<EntityDefinition>;
|
|
2087
2088
|
requiredColumns: readonly string[];
|
|
2089
|
+
exportViewName?: string;
|
|
2088
2090
|
instructionsLabel?: string;
|
|
2089
2091
|
columnHeaderLabel?: string;
|
|
2090
2092
|
dataNameLabel?: string;
|
|
@@ -2094,9 +2096,12 @@ export interface ImportInstructionsStepProps {
|
|
|
2094
2096
|
numberFormatLabel?: string;
|
|
2095
2097
|
downloadExcelSampleLabel?: string;
|
|
2096
2098
|
downloadCSVSampleLabel?: string;
|
|
2099
|
+
exportExistingDataLabel?: string;
|
|
2100
|
+
exportExistingDataErrorLabel?: string;
|
|
2097
2101
|
}
|
|
2102
|
+
export const ImportInstructionsStepDefaultProps: Partial<ImportInstructionsStepProps>;
|
|
2098
2103
|
export function getFriendlyImportDataType(type: SQLType): "Integer" | "Number" | "Date" | "Alphanumeric";
|
|
2099
|
-
export function ImportInstructionsStep(
|
|
2104
|
+
export function ImportInstructionsStep(props: ImportInstructionsStepProps): JSX.Element;
|
|
2100
2105
|
export interface ImportSampleDataStepProps {
|
|
2101
2106
|
mappingAPI: ImportDataMappingAPI;
|
|
2102
2107
|
confirmationLabel?: string;
|
|
@@ -2124,6 +2129,7 @@ export const ImportSummaryStepDefaultProps: Partial<ImportSummaryStepProps>;
|
|
|
2124
2129
|
export function ImportSummaryStep(props: ImportSummaryStepProps): JSX.Element | null;
|
|
2125
2130
|
export interface ImportEntityDataFormProps extends FormOptions<ImportEntityData> {
|
|
2126
2131
|
importEntity?: Entity<EntityDefinition>;
|
|
2132
|
+
destinationEntityExportViewName?: string;
|
|
2127
2133
|
entityProcName?: string;
|
|
2128
2134
|
excludedImportDestinations?: string[];
|
|
2129
2135
|
onImportSuccess?: () => Promise<void>;
|
|
@@ -2144,6 +2150,8 @@ export interface ImportEntityDataFormProps extends FormOptions<ImportEntityData>
|
|
|
2144
2150
|
numberFormatLabel?: string;
|
|
2145
2151
|
downloadExcelSampleLabel?: string;
|
|
2146
2152
|
downloadCSVSampleLabel?: string;
|
|
2153
|
+
exportExistingDataLabel?: string;
|
|
2154
|
+
exportExistingDataErrorLabel?: string;
|
|
2147
2155
|
errorReadingFileLabel?: string;
|
|
2148
2156
|
emptyFileLabel?: string;
|
|
2149
2157
|
uploadRequiredLabel?: string;
|
|
@@ -2168,8 +2176,8 @@ export const ImportEntityDataLabels: Partial<ImportEntityDataLabels>;
|
|
|
2168
2176
|
export class ImportEntityData extends Entity<ImportEntityDataDef> {
|
|
2169
2177
|
constructor(client: MicroMClient, parentKeys?: {});
|
|
2170
2178
|
}
|
|
2171
|
-
export const
|
|
2172
|
-
|
|
2179
|
+
export const ACTImportDataDefaultProps: {
|
|
2180
|
+
importDataLabel: string;
|
|
2173
2181
|
};
|
|
2174
2182
|
export const ACTImportData: EntityClientAction;
|
|
2175
2183
|
export class ImportProcessDef extends EntityDefinition {
|
|
@@ -2202,6 +2210,7 @@ export class ImportProcessDef extends EntityDefinition {
|
|
|
2202
2210
|
clientActions: {
|
|
2203
2211
|
ACTImportData: _EntityClientAction1;
|
|
2204
2212
|
ACTDownloadImportedFile: _EntityClientAction1;
|
|
2213
|
+
ACTViewImportErrors: _EntityClientAction1;
|
|
2205
2214
|
};
|
|
2206
2215
|
constructor(destinationProps: ImportDataDestinationProps);
|
|
2207
2216
|
}
|
|
@@ -2209,8 +2218,7 @@ export class ImportProcess extends Entity<ImportProcessDef> {
|
|
|
2209
2218
|
constructor(client: MicroMClient, parentKeys: ValuesObject | undefined, destinationProps: ImportDataDestinationProps);
|
|
2210
2219
|
}
|
|
2211
2220
|
export type ImportDataPanelProps = DataGridPanelProps & {
|
|
2212
|
-
|
|
2213
|
-
downloadImportedFileLabel?: string;
|
|
2221
|
+
destinationEntityExportViewName?: string;
|
|
2214
2222
|
};
|
|
2215
2223
|
export const ImportDataPanelDefaultProps: Partial<ImportDataPanelProps>;
|
|
2216
2224
|
export function ImportDataPanel(props: ImportDataPanelProps): JSX.Element;
|