commons-shared-web-ui 0.0.16 → 0.0.18
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/index.d.ts
CHANGED
|
@@ -2497,12 +2497,16 @@ interface TableFilter {
|
|
|
2497
2497
|
type: 'select' | 'text' | 'date';
|
|
2498
2498
|
options?: TableOption[];
|
|
2499
2499
|
apiUrl?: string;
|
|
2500
|
+
apiMethod?: 'GET' | 'POST';
|
|
2501
|
+
apiPayload?: any;
|
|
2500
2502
|
labelKey?: string;
|
|
2501
2503
|
valueKey?: string;
|
|
2502
2504
|
labelPath?: string;
|
|
2503
2505
|
valuePath?: string;
|
|
2504
2506
|
requestKey?: string;
|
|
2505
2507
|
dataPath?: string;
|
|
2508
|
+
handling?: 'standard' | 'nested_string';
|
|
2509
|
+
nestedStringConfig?: NestedStringConfig;
|
|
2506
2510
|
}
|
|
2507
2511
|
interface TableActionItem {
|
|
2508
2512
|
label: string;
|
|
@@ -2561,6 +2565,8 @@ interface QueryParamsConfig {
|
|
|
2561
2565
|
interface TableConfig {
|
|
2562
2566
|
columns: TableColumn[];
|
|
2563
2567
|
apiUrl: string;
|
|
2568
|
+
apiMethod?: 'GET' | 'POST';
|
|
2569
|
+
apiPayload?: any;
|
|
2564
2570
|
dataResponsePath?: string;
|
|
2565
2571
|
filters?: TableFilter[];
|
|
2566
2572
|
filterData?: {
|
|
@@ -2682,6 +2688,8 @@ declare class SmartTableModule {
|
|
|
2682
2688
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartTableModule>;
|
|
2683
2689
|
}
|
|
2684
2690
|
|
|
2691
|
+
declare function appendBaseUrlRecursively(obj: any, baseURL: string): void;
|
|
2692
|
+
|
|
2685
2693
|
declare class ValidationUtils {
|
|
2686
2694
|
static email(): ValidatorFn;
|
|
2687
2695
|
static phone(): ValidatorFn;
|
|
@@ -2729,5 +2737,5 @@ declare class SnackbarModule {
|
|
|
2729
2737
|
static ɵinj: i0.ɵɵInjectorDeclaration<SnackbarModule>;
|
|
2730
2738
|
}
|
|
2731
2739
|
|
|
2732
|
-
export { AlertComponent, AlertModule, ButtonComponent, ButtonModule, CheckboxComponent, ConfigurableFormComponent, configurableForm_examples_d as ConfigurableFormExamples, ConfigurableFormModule, ConfirmationModalComponent, ConfirmationModalModule, DEFAULT_ITEMS_PER_PAGE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_SIDE_NAV_TOOLTIP_POSITION, DatepickerComponent, DropdownComponent, ExpressionService, FilterComponent, FilterModule, FilterSidebarComponent, FilterSidebarModule, FormComponentsModule, InputComponent, MaterialModule, NAV_ORIENTATION_DEFAULT, NAV_VARIANT_DEFAULT, NavComponent, NavModule, PAGINATION_THEME_DARK, PAGINATION_THEME_DEFAULT, PaginationComponent, PaginationModule, RadioComponent, SearchComponent, SharedUiModule, SideNavComponent, SideNavModule, SmartFormComponent, SmartFormController, smartForm_examples_d as SmartFormExamples, SmartFormModule, SmartTableComponent, SmartTableModule, SnackbarComponent, SnackbarModule, SnackbarService, StringUtils, SummaryCardComponent, SummaryCardModule, ToggleComponent, ValidationUtils, clearLocalStorage, clearSessionStorage, getLocalStorageItem, getSessionStorageItem, removeLocalStorageItem, removeSessionStorageItem, setLocalStorageItem, setSessionStorageItem, translateConfig };
|
|
2740
|
+
export { AlertComponent, AlertModule, ButtonComponent, ButtonModule, CheckboxComponent, ConfigurableFormComponent, configurableForm_examples_d as ConfigurableFormExamples, ConfigurableFormModule, ConfirmationModalComponent, ConfirmationModalModule, DEFAULT_ITEMS_PER_PAGE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_SIDE_NAV_TOOLTIP_POSITION, DatepickerComponent, DropdownComponent, ExpressionService, FilterComponent, FilterModule, FilterSidebarComponent, FilterSidebarModule, FormComponentsModule, InputComponent, MaterialModule, NAV_ORIENTATION_DEFAULT, NAV_VARIANT_DEFAULT, NavComponent, NavModule, PAGINATION_THEME_DARK, PAGINATION_THEME_DEFAULT, PaginationComponent, PaginationModule, RadioComponent, SearchComponent, SharedUiModule, SideNavComponent, SideNavModule, SmartFormComponent, SmartFormController, smartForm_examples_d as SmartFormExamples, SmartFormModule, SmartTableComponent, SmartTableModule, SnackbarComponent, SnackbarModule, SnackbarService, StringUtils, SummaryCardComponent, SummaryCardModule, ToggleComponent, ValidationUtils, appendBaseUrlRecursively, clearLocalStorage, clearSessionStorage, getLocalStorageItem, getSessionStorageItem, removeLocalStorageItem, removeSessionStorageItem, setLocalStorageItem, setSessionStorageItem, translateConfig };
|
|
2733
2741
|
export type { AlertLabels, AlertVariant, AttachmentConfig, ButtonLabels, ButtonVariant, CheckboxConfig, CheckboxLabels, CheckboxOption, ConfirmationModalConfig, DateConfig, DatePickerConfig, DatepickerLabels, DropdownConfig, DropdownLabels, DropdownOption, EmailConfig, FieldConfig, FieldType, FilterChangeEvent, FilterConfig, FilterItem, FilterItemType, FilterOutput, FilterSearchConfig, FilterSidebarChangeEvent, FilterSidebarConfig, FilterSidebarOutput, FormConfig, FormField, FormOption, FormSchema, FormSection, GeneratedConfig, IconInput, InputConfig, InputLabels, InputType, JsonFieldConfig, JsonFormConfig, KeyType, LengthConstraint, LocationConfig, NavItem, NavStyleConfig, NestedStringConfig, NumberConfig, OptionConfig$1 as OptionConfig, OptionDTO, OptionItem, PaginationConfig, PaginationLabels, PhoneConfig, QueryParamsConfig, RadioConfig, RadioLabels, RadioOption, RangeConfig, RatingConfig, SearchConfig, SearchLabels, SectionConfig, SideNavItem, SideNavSection, SideNavStyleConfig, SnackbarConfig, SnackbarVariant, StepperConfig, SubmitConfig, SummaryCardConfig, SummaryCardLabels, SummaryCardMeta, TableAction, TableActionItem, TableColumn, TableConfig, TableFilter, TableFilterChangeEvent, TableFilterColumn, TableFilterConfig, TableFilterItem, TableFilterLabels, TableFilterOutput, TableLabels, TableOption, TableTheme, TextConfig, ToggleConfig, ToggleLabels, UIConfig, UISubType, UIType, UploadedFile, ValidationResult, ValidationRules };
|