@masterteam/components 0.0.249 → 0.0.250
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/assets/common.css +1 -1
- package/assets/ds-components/datepicker.css +180 -0
- package/assets/ds-components/misc.css +263 -252
- package/assets/ds-identity.css +284 -275
- package/fesm2022/masterteam-components-business-fields.mjs +4 -4
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- package/fesm2022/masterteam-components-entities.mjs +4 -4
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components-field-validation.mjs.map +1 -1
- package/fesm2022/masterteam-components-location-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-table.mjs.map +1 -1
- package/fesm2022/masterteam-components-textarea-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-treeselect-field.mjs +2 -2
- package/fesm2022/masterteam-components-treeselect-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +123 -16
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-table.d.ts +2 -2
- package/types/masterteam-components.d.ts +11 -1
package/package.json
CHANGED
|
@@ -320,7 +320,7 @@ declare class Table {
|
|
|
320
320
|
captionStartContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
321
321
|
captionEndContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
322
322
|
emptyContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
323
|
-
paginatorPosition: _angular_core.InputSignal<"
|
|
323
|
+
paginatorPosition: _angular_core.InputSignal<"end" | "start" | "center">;
|
|
324
324
|
alwaysShowPaginator: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
325
325
|
rowsPerPageOptions: _angular_core.InputSignal<number[]>;
|
|
326
326
|
pageSize: _angular_core.ModelSignal<number>;
|
|
@@ -334,7 +334,7 @@ declare class Table {
|
|
|
334
334
|
* the query it actually sent.
|
|
335
335
|
*/
|
|
336
336
|
sortField: _angular_core.ModelSignal<string | null>;
|
|
337
|
-
sortDirection: _angular_core.ModelSignal<"
|
|
337
|
+
sortDirection: _angular_core.ModelSignal<"asc" | "desc" | null>;
|
|
338
338
|
confirmationService: ConfirmationService;
|
|
339
339
|
private readonly exportService;
|
|
340
340
|
private readonly transloco;
|
|
@@ -130,6 +130,8 @@ declare const DS_SEMANTIC: {
|
|
|
130
130
|
readonly textSecondary: "#3C5073";
|
|
131
131
|
readonly textPlaceholder: "#B6BDCA";
|
|
132
132
|
readonly textHelper: "#384250";
|
|
133
|
+
/** Figma `--avatar/text/default` for initials and avatar icons. */
|
|
134
|
+
readonly avatarText: "#233A61";
|
|
133
135
|
readonly surface: "#FFFFFF";
|
|
134
136
|
readonly border: "#E5E7EB";
|
|
135
137
|
/** Disabled is a colour swap, never an opacity fade. */
|
|
@@ -185,6 +187,14 @@ declare const DS_CONTROL_HEIGHT: {
|
|
|
185
187
|
readonly md: 32;
|
|
186
188
|
readonly lg: 40;
|
|
187
189
|
};
|
|
190
|
+
/** DatePicker component geometry from Figma node 4250:1943. */
|
|
191
|
+
declare const DS_DATEPICKER: {
|
|
192
|
+
readonly panelInlineSize: "26.5rem";
|
|
193
|
+
readonly headerHeight: "3.5rem";
|
|
194
|
+
readonly weekdayHeight: "2.5rem";
|
|
195
|
+
readonly cellSize: "3.5rem";
|
|
196
|
+
readonly dateSize: "3rem";
|
|
197
|
+
};
|
|
188
198
|
declare const DS_FONT_FAMILY = "'IBM Plex Sans Arabic', system-ui, 'Segoe UI', sans-serif";
|
|
189
199
|
/** Ordered chart series. Six is the hard maximum. */
|
|
190
200
|
declare const DS_CHART_SERIES: readonly ["#1849A9", "#175CD3", "#2E90FA", "#53B1FD", "#B2DDFF", "#D1E9FF"];
|
|
@@ -1152,5 +1162,5 @@ declare class MTDateFormatPipe implements PipeTransform {
|
|
|
1152
1162
|
static ɵpipe: i0.ɵɵPipeDeclaration<MTDateFormatPipe, "mtDateFormat", true>;
|
|
1153
1163
|
}
|
|
1154
1164
|
|
|
1155
|
-
export { BaseFacade, BaseFieldConfig, CheckboxFieldConfig, ColorPickerFieldConfig, CrudStateBase, DEFAULT_MT_DATE_FORMATS, DS_BLUE, DS_CHART_SERIES, DS_CONTROL_HEIGHT, DS_DEFAULT_PRIMARY_COLOR, DS_ERROR, DS_FONT_FAMILY, DS_GRAY, DS_INDIGO, DS_RADIUS, DS_SEMANTIC, DS_SHADOW, DS_SUCCESS, DS_WARNING, DateFieldConfig, EditorFieldConfig, EntityListFieldConfig, IconFieldConfig, LocationFieldConfig, LookupMatrixFieldConfig, LookupModuleCheckListFieldConfig, MTDateFormatPipe, MT_DATE_FORMATS, MT_DESIGN_IDENTITY_CLASS, MultiSelectFieldConfig, NumberFieldConfig, PickListFieldConfig, REQUEST_CONTEXT, RadioButtonFieldConfig, RadioCardsFieldConfig, ScheduleItemSelectorFieldConfig, SchedulePredecessorFieldConfig, SchemaConnectionFieldConfig, SelectFieldConfig, SliderFieldConfig, SpacerFieldConfig, TextFieldConfig, TextareaFieldConfig, ToggleFieldConfig, UploadFileFieldConfig, UserSearchFieldConfig, ValidatorConfig, applyDesignIdentityClass, changeBackgroundColor, changePrimaryColor, changeTextColor, createCustomValidator, createEntityAdapter, dsChartSeries, dsIdentityConfigs, endLoading, generateTailwindPalette, getContrastColor, getLightColor, getMTDesignIdentity, handleApiRequest, isInvalid, provideMTComponents, provideMTConfirmation, provideMTDateFormats, provideMTMessages, setLoadingError, setMTDesignIdentity, startLoading, toAngularDateFormat, wrapValidatorWithMessage };
|
|
1165
|
+
export { BaseFacade, BaseFieldConfig, CheckboxFieldConfig, ColorPickerFieldConfig, CrudStateBase, DEFAULT_MT_DATE_FORMATS, DS_BLUE, DS_CHART_SERIES, DS_CONTROL_HEIGHT, DS_DATEPICKER, DS_DEFAULT_PRIMARY_COLOR, DS_ERROR, DS_FONT_FAMILY, DS_GRAY, DS_INDIGO, DS_RADIUS, DS_SEMANTIC, DS_SHADOW, DS_SUCCESS, DS_WARNING, DateFieldConfig, EditorFieldConfig, EntityListFieldConfig, IconFieldConfig, LocationFieldConfig, LookupMatrixFieldConfig, LookupModuleCheckListFieldConfig, MTDateFormatPipe, MT_DATE_FORMATS, MT_DESIGN_IDENTITY_CLASS, MultiSelectFieldConfig, NumberFieldConfig, PickListFieldConfig, REQUEST_CONTEXT, RadioButtonFieldConfig, RadioCardsFieldConfig, ScheduleItemSelectorFieldConfig, SchedulePredecessorFieldConfig, SchemaConnectionFieldConfig, SelectFieldConfig, SliderFieldConfig, SpacerFieldConfig, TextFieldConfig, TextareaFieldConfig, ToggleFieldConfig, UploadFileFieldConfig, UserSearchFieldConfig, ValidatorConfig, applyDesignIdentityClass, changeBackgroundColor, changePrimaryColor, changeTextColor, createCustomValidator, createEntityAdapter, dsChartSeries, dsIdentityConfigs, endLoading, generateTailwindPalette, getContrastColor, getLightColor, getMTDesignIdentity, handleApiRequest, isInvalid, provideMTComponents, provideMTConfirmation, provideMTDateFormats, provideMTMessages, setLoadingError, setMTDesignIdentity, startLoading, toAngularDateFormat, wrapValidatorWithMessage };
|
|
1156
1166
|
export type { ApiRequestConfig, BaseFieldConstructorConfig, CrudCreateConfig, CrudDeleteConfig, CrudLoadConfig, CrudUpdateConfig, DSColorScale, DynamicFieldConfig, DynamicFormConfig, EntityAdapter, EntityListFieldRuntimeContext, FieldRelationAction, FieldRelationConfig, FieldState, FieldType, FormulaConditionConfig, FormulaConditionMode, FormulaRuntimeMessage, FormulaRuntimeMessageCode, FormulaValidationRuleConfig, FormulaValidationSeverity, LayoutConfig, LoadingStateShape, LookupCheckListPropertyConfig, LookupMatrixCellConfig, LookupModuleCheckListFieldRuntimeContext, LookupOptionItemConfig, MTDateFormatType, MTDateFormats, MTDesignIdentity, MTThemeOptions, PaletteShade, QueryResult, RequestContextConfig, Response, ResponsiveColSpan, ScheduleItemSelectorFieldRuntimeContext, SchedulePredecessorFieldRuntimeContext, SectionConfig, ValidatorType };
|