@mcurros2/microm 1.1.394-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 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<any>;
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 ACTDownloadImportedFileLabels: {
1706
- label: string;
1707
- error: string;
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({ importEntity, requiredColumns, instructionsLabel, columnHeaderLabel, dataNameLabel, dataTypeLabel, contentLabel, dateFormatLabel, numberFormatLabel, downloadExcelSampleLabel, downloadCSVSampleLabel }: ImportInstructionsStepProps): JSX.Element;
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 ACTImportDataLabels: {
2172
- label: string;
2179
+ export const ACTImportDataDefaultProps: {
2180
+ importDataLabel: string;
2173
2181
  };
2174
2182
  export const ACTImportData: EntityClientAction;
2175
2183
  export class ImportProcessDef extends EntityDefinition {
@@ -2210,8 +2218,7 @@ export class ImportProcess extends Entity<ImportProcessDef> {
2210
2218
  constructor(client: MicroMClient, parentKeys: ValuesObject | undefined, destinationProps: ImportDataDestinationProps);
2211
2219
  }
2212
2220
  export type ImportDataPanelProps = DataGridPanelProps & {
2213
- importDataLabel?: string;
2214
- downloadImportedFileLabel?: string;
2221
+ destinationEntityExportViewName?: string;
2215
2222
  };
2216
2223
  export const ImportDataPanelDefaultProps: Partial<ImportDataPanelProps>;
2217
2224
  export function ImportDataPanel(props: ImportDataPanelProps): JSX.Element;