@cwellt_software/cwellt-reactjs-lib 1.4.14 → 1.5.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/content/icons/new-cw-icons/NewCwIcons.json +1 -1
- package/dist/content/icons/new-cw-icons/css/new-cw-icons.css +260 -824
- package/dist/content/icons/new-cw-icons/fonts/NewCwIcons.woff +0 -0
- package/dist/index.cjs.js +564 -217
- package/dist/index.css +2 -2
- package/dist/index.d.ts +358 -66
- package/dist/index.es.js +558 -217
- package/dist/src/common/hooks/useRovingSingleSelect.d.ts +28 -0
- package/dist/src/common/hooks/useRovingSingleSelect.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButton.d.ts +14 -4
- package/dist/src/components/control/action/button/CwButton.d.ts.map +1 -1
- package/dist/src/components/control/action/button/CwButtonSplit.d.ts +52 -0
- package/dist/src/components/control/action/button/CwButtonSplit.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButtonSwitch.d.ts +65 -0
- package/dist/src/components/control/action/button/CwButtonSwitch.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwSearch.d.ts +2 -0
- package/dist/src/components/control/action/search/CwSearch.d.ts.map +1 -1
- package/dist/src/components/control/action/search/searchKeyboardNavigation.d.ts +35 -0
- package/dist/src/components/control/action/search/searchKeyboardNavigation.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwCheck.d.ts +6 -5
- package/dist/src/components/control/choice/checkbox/CwCheck.d.ts.map +1 -1
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.d.ts +30 -7
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.d.ts.map +1 -1
- package/dist/src/components/control/choice/checkbox/CwRadio.d.ts +10 -0
- package/dist/src/components/control/choice/checkbox/CwRadio.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwRadioGroup.d.ts +58 -0
- package/dist/src/components/control/choice/checkbox/CwRadioGroup.d.ts.map +1 -0
- package/dist/src/components/control/choice/nav-menu/CwNavMenu.d.ts +78 -0
- package/dist/src/components/control/choice/nav-menu/CwNavMenu.d.ts.map +1 -0
- package/dist/src/components/control/choice/nav-menu/filterNavItems.d.ts +9 -0
- package/dist/src/components/control/choice/nav-menu/filterNavItems.d.ts.map +1 -0
- package/dist/src/components/control/choice/nav-menu/sortNavItems.d.ts +9 -0
- package/dist/src/components/control/choice/nav-menu/sortNavItems.d.ts.map +1 -0
- package/dist/src/components/control/choice/toggle/CwToggle.d.ts +6 -5
- package/dist/src/components/control/choice/toggle/CwToggle.d.ts.map +1 -1
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts +12 -0
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts.map +1 -1
- package/dist/src/components/control/input/image/CwInputImage.d.ts +17 -2
- package/dist/src/components/control/input/image/CwInputImage.d.ts.map +1 -1
- package/dist/src/components/display/graphics/icon/CwIcon.d.ts +1 -1
- package/dist/src/components/display/graphics/icon/CwIcon.d.ts.map +1 -1
- package/dist/src/components/display/graphics/loading/CwLoading.d.ts +3 -14
- package/dist/src/components/display/graphics/loading/CwLoading.d.ts.map +1 -1
- package/dist/src/components/display/graphics/loading/loadingConfig.d.ts +16 -0
- package/dist/src/components/display/graphics/loading/loadingConfig.d.ts.map +1 -0
- package/dist/src/index.d.ts +7 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/playground/PlaygroundApp.d.ts.map +1 -1
- package/dist/src/playground/PlaygroundSection.d.ts +13 -0
- package/dist/src/playground/PlaygroundSection.d.ts.map +1 -0
- package/dist/src/playground/pages/CwButtonPage.d.ts +3 -0
- package/dist/src/playground/pages/CwButtonPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwButtonSplitPage.d.ts +3 -0
- package/dist/src/playground/pages/CwButtonSplitPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwButtonSwitchPage.d.ts +3 -0
- package/dist/src/playground/pages/CwButtonSwitchPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwCheckboxGroupPage.d.ts +3 -0
- package/dist/src/playground/pages/CwCheckboxGroupPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwFileUploadMultiplePage.d.ts +3 -0
- package/dist/src/playground/pages/CwFileUploadMultiplePage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwInputImagePage.d.ts.map +1 -1
- package/dist/src/playground/pages/CwNavMenuPage.d.ts +3 -0
- package/dist/src/playground/pages/CwNavMenuPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwRadioGroupPage.d.ts +3 -0
- package/dist/src/playground/pages/CwRadioGroupPage.d.ts.map +1 -0
- package/dist/src/playground/pages/IconLibraryPage.d.ts +3 -0
- package/dist/src/playground/pages/IconLibraryPage.d.ts.map +1 -0
- package/dist/src/playground/pages/LoadingPage.d.ts +3 -0
- package/dist/src/playground/pages/LoadingPage.d.ts.map +1 -0
- package/dist/src/playground/pages/SelectorsPage.d.ts.map +1 -1
- package/dist/test/common/hooks/useRovingSingleSelect.test.d.ts +2 -0
- package/dist/test/common/hooks/useRovingSingleSelect.test.d.ts.map +1 -0
- package/dist/test/components/control/action/search/searchKeyboardNavigation.test.d.ts +2 -0
- package/dist/test/components/control/action/search/searchKeyboardNavigation.test.d.ts.map +1 -0
- package/dist/test/components/control/choice/nav-menu/filterNavItems.test.d.ts +2 -0
- package/dist/test/components/control/choice/nav-menu/filterNavItems.test.d.ts.map +1 -0
- package/dist/test/components/control/choice/nav-menu/sortNavItems.test.d.ts +2 -0
- package/dist/test/components/control/choice/nav-menu/sortNavItems.test.d.ts.map +1 -0
- package/dist/test/components/control/input/file/fileMatchesAccept.test.d.ts +2 -0
- package/dist/test/components/control/input/file/fileMatchesAccept.test.d.ts.map +1 -0
- package/dist/test/components/control/input/image/readImageFileAsDataUrl.test.d.ts +2 -0
- package/dist/test/components/control/input/image/readImageFileAsDataUrl.test.d.ts.map +1 -0
- package/dist/test/components/display/graphics/loading/CwLoading.test.d.ts +2 -0
- package/dist/test/components/display/graphics/loading/CwLoading.test.d.ts.map +1 -0
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -282,7 +282,7 @@ type ZoomImageItem = {
|
|
|
282
282
|
*/
|
|
283
283
|
declare function CwImageZoom(image: ZoomImageItem): React$1.JSX.Element;
|
|
284
284
|
|
|
285
|
-
interface CwIconProps extends Omit<HTMLProps<HTMLSpanElement>, "
|
|
285
|
+
interface CwIconProps extends Omit<HTMLProps<HTMLSpanElement>, "size"> {
|
|
286
286
|
/** Icon identifier */
|
|
287
287
|
iconId: string;
|
|
288
288
|
/** Color variant **/
|
|
@@ -305,50 +305,38 @@ interface CwLoadingProps {
|
|
|
305
305
|
size?: LoadingSize;
|
|
306
306
|
/** Position of the icon */
|
|
307
307
|
iconPosition?: IconPosition;
|
|
308
|
-
/** Custom icon class
|
|
308
|
+
/** Custom icon class. Falls back to the global default (configureCwLoading); with none, a neutral ring is shown. */
|
|
309
309
|
iconName?: string;
|
|
310
310
|
/** Custom animation (default: 'spin') */
|
|
311
311
|
animation?: string;
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
314
|
-
* CwLoading
|
|
314
|
+
* CwLoading — a spinner with optional text that dims the wrapped content while loading.
|
|
315
315
|
*
|
|
316
|
-
*
|
|
317
|
-
* and disables the wrapped content while in loading state.
|
|
316
|
+
* Icon resolves as `iconName` prop → `getCwLoadingDefaults().icon` → none (neutral ring).
|
|
318
317
|
*
|
|
319
318
|
* @example
|
|
320
|
-
* // Basic usage
|
|
321
319
|
* <CwLoading isLoading={isSubmitting}>
|
|
322
320
|
* <form>...</form>
|
|
323
321
|
* </CwLoading>
|
|
324
|
-
*
|
|
325
|
-
* // With custom text and size
|
|
326
|
-
* <CwLoading
|
|
327
|
-
* isLoading={isLoading}
|
|
328
|
-
* text="Please wait..."
|
|
329
|
-
* size="large"
|
|
330
|
-
* >
|
|
331
|
-
* <UserProfile />
|
|
332
|
-
* </CwLoading>
|
|
333
322
|
*/
|
|
334
323
|
declare function CwLoading({ isLoading, text, size, iconPosition, iconName, animation, children }: React__default.PropsWithChildren<CwLoadingProps>): React__default.JSX.Element;
|
|
335
324
|
|
|
336
|
-
|
|
337
|
-
|
|
325
|
+
/**
|
|
326
|
+
* Global, module-level defaults for CwLoading (singleton, no provider).
|
|
327
|
+
* An app sets these once at init; every CwLoading reads them at render time.
|
|
328
|
+
*/
|
|
329
|
+
interface CwLoadingDefaults {
|
|
330
|
+
/** Icon class applied when a CwLoading has no explicit `iconName` (e.g. 'cwi-plane-solid'). */
|
|
331
|
+
icon?: string;
|
|
338
332
|
}
|
|
339
333
|
/**
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
* This component will be removed in a future release.
|
|
343
|
-
*
|
|
344
|
-
* @example
|
|
345
|
-
* // Instead of:
|
|
346
|
-
* <CwLoadingSmall />
|
|
347
|
-
*
|
|
348
|
-
* // Use:
|
|
349
|
-
* <CwLoading size="small" />
|
|
334
|
+
* Register global CwLoading defaults. Call once at app init, before the first render.
|
|
335
|
+
* Merges into any previously configured defaults.
|
|
350
336
|
*/
|
|
351
|
-
declare function
|
|
337
|
+
declare function configureCwLoading(next: CwLoadingDefaults): void;
|
|
338
|
+
/** Read the currently configured CwLoading defaults. */
|
|
339
|
+
declare function getCwLoadingDefaults(): CwLoadingDefaults;
|
|
352
340
|
|
|
353
341
|
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
354
342
|
interface CwGenericTooltipProps {
|
|
@@ -1373,22 +1361,6 @@ interface CwTableGroupedProps {
|
|
|
1373
1361
|
*/
|
|
1374
1362
|
declare const CwTableGrouped: FC<CwTableGroupedProps>;
|
|
1375
1363
|
|
|
1376
|
-
interface ConfigDM {
|
|
1377
|
-
ID: number;
|
|
1378
|
-
Description: string;
|
|
1379
|
-
Value: string;
|
|
1380
|
-
Bindata: string;
|
|
1381
|
-
}
|
|
1382
|
-
interface CwFileUploadProps {
|
|
1383
|
-
accept: string;
|
|
1384
|
-
acceptString: string;
|
|
1385
|
-
sizeString?: string;
|
|
1386
|
-
file?: ConfigDM;
|
|
1387
|
-
onChange: (file: File) => void;
|
|
1388
|
-
onSaveHexContent: (hexContent: string) => void;
|
|
1389
|
-
}
|
|
1390
|
-
declare function CwFileUpload(fileUploadProps: React__default.PropsWithChildren<CwFileUploadProps>): React__default.JSX.Element;
|
|
1391
|
-
|
|
1392
1364
|
interface CwFileUploadMultipleLabels {
|
|
1393
1365
|
uploadDisabled: string;
|
|
1394
1366
|
clickToUpload: string;
|
|
@@ -1397,6 +1369,7 @@ interface CwFileUploadMultipleLabels {
|
|
|
1397
1369
|
allTypesAccepted: string;
|
|
1398
1370
|
changeFile: string;
|
|
1399
1371
|
clearAll: string;
|
|
1372
|
+
upload: string;
|
|
1400
1373
|
addMoreFiles: string;
|
|
1401
1374
|
filesSelected: (count: number) => string;
|
|
1402
1375
|
fileTooLarge: (name: string, maxSize: number) => string;
|
|
@@ -1412,10 +1385,14 @@ interface CwFileUploadMultipleProps {
|
|
|
1412
1385
|
allowedTypes?: string[];
|
|
1413
1386
|
onSelect?: (files: FileList | null) => void;
|
|
1414
1387
|
onError?: (error: string) => void;
|
|
1388
|
+
onConfirm?: (files: FileList) => void;
|
|
1389
|
+
confirmLabel?: string;
|
|
1390
|
+
confirmDisabled?: boolean;
|
|
1415
1391
|
className?: string;
|
|
1416
1392
|
disabled?: boolean;
|
|
1417
1393
|
hideClearAll?: boolean;
|
|
1418
1394
|
initialFileName?: string;
|
|
1395
|
+
statusText?: string;
|
|
1419
1396
|
labels?: Partial<CwFileUploadMultipleLabels>;
|
|
1420
1397
|
}
|
|
1421
1398
|
declare function CwFileUploadMultiple(fileUploadProps: React__default.PropsWithChildren<CwFileUploadMultipleProps>): React__default.JSX.Element;
|
|
@@ -1440,9 +1417,12 @@ declare function CwInput(CwInputProps: React__default.PropsWithChildren<CwInputP
|
|
|
1440
1417
|
* CwButton - Customizable button component with variant styles, color themes, and icon support
|
|
1441
1418
|
*
|
|
1442
1419
|
* @param text - Button text content (displayed in <strong> tag when no children)
|
|
1443
|
-
* @param variant - Button style: 'solid' (default), 'outline', or '
|
|
1420
|
+
* @param variant - Button style: 'solid' (default), 'outline', 'icon', or 'ghost' (low-emphasis text button: transparent, fills with the container color on hover/press)
|
|
1444
1421
|
* @param color - Color theme: 'primary' (default), 'danger', or 'neutral'
|
|
1422
|
+
* @param size - Button size: 'small', 'medium' (default), or 'large'
|
|
1445
1423
|
* @param icon - Icon identifier for CSS classes (cwi-{icon})
|
|
1424
|
+
* @param iconPosition - Icon placement relative to the text: 'left' (default, icon-then-text) or 'right' (text-then-icon). Only affects the auto icon+text rendering, not the icon variant or custom children.
|
|
1425
|
+
* @param pressed - Toggle/"on" state for a toggle button. When defined, sets `aria-pressed` and a selected fill; leave undefined for a normal (non-toggle) button. The consumer owns the state (`pressed` + `onClick`).
|
|
1446
1426
|
* @param className - Additional CSS classes
|
|
1447
1427
|
* @param title - Built-in tooltip
|
|
1448
1428
|
* @param tooltipPosition - Tooltip position: 'top', 'bottom' (default), 'left', 'right'
|
|
@@ -1450,20 +1430,27 @@ declare function CwInput(CwInputProps: React__default.PropsWithChildren<CwInputP
|
|
|
1450
1430
|
*
|
|
1451
1431
|
* @example
|
|
1452
1432
|
* <CwButton text="Save" />
|
|
1433
|
+
* <CwButton text="Save" size="small" />
|
|
1453
1434
|
* <CwButton text="Delete" variant="outline" color="danger" />
|
|
1454
1435
|
* <CwButton variant="icon" icon="edit" title="Edit item" />
|
|
1455
1436
|
* <CwButton icon="star" text="Favorite" color="primary" />
|
|
1437
|
+
* <CwButton text="Next" icon="chevron-right" iconPosition="right" />
|
|
1438
|
+
* <CwButton text="Export" icon="download" variant="ghost" />
|
|
1439
|
+
* <CwButton variant="icon" icon="pin" pressed={isPinned} onClick={togglePinned} title="Pin" />
|
|
1456
1440
|
* <CwButton className="custom-class">Custom content</CwButton>
|
|
1457
1441
|
*/
|
|
1458
|
-
|
|
1442
|
+
|
|
1443
|
+
interface CwButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1459
1444
|
text?: string;
|
|
1460
|
-
variant?: 'solid' | 'outline' | 'icon';
|
|
1445
|
+
variant?: 'solid' | 'outline' | 'icon' | 'ghost';
|
|
1461
1446
|
color?: 'primary' | 'danger' | 'neutral';
|
|
1447
|
+
size?: 'small' | 'medium' | 'large';
|
|
1448
|
+
iconPosition?: 'left' | 'right';
|
|
1449
|
+
pressed?: boolean;
|
|
1462
1450
|
icon?: string;
|
|
1463
1451
|
tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
|
|
1464
|
-
ref?: React.LegacyRef<HTMLButtonElement>;
|
|
1465
1452
|
}
|
|
1466
|
-
declare
|
|
1453
|
+
declare const CwButton: React__default.ForwardRefExoticComponent<CwButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1467
1454
|
|
|
1468
1455
|
interface CwDigitProps extends Omit<HTMLProps<HTMLInputElement>, "className" | "type"> {
|
|
1469
1456
|
/** Props to define alignment and size; undefined == column
|
|
@@ -1776,9 +1763,22 @@ interface CwInputDateTextProps extends Omit<React__default.HTMLProps<HTMLInputEl
|
|
|
1776
1763
|
*/
|
|
1777
1764
|
declare function CwInputDateText(props: CwInputDateTextProps): React__default.JSX.Element;
|
|
1778
1765
|
|
|
1779
|
-
interface
|
|
1766
|
+
interface CwInputImageLabels {
|
|
1767
|
+
dropImageHere: string;
|
|
1768
|
+
paste: string;
|
|
1769
|
+
browse: string;
|
|
1770
|
+
acceptedFormats: (formats: string) => string;
|
|
1771
|
+
clipboardError: string;
|
|
1772
|
+
invalidType: (formats: string) => string;
|
|
1773
|
+
readError: string;
|
|
1774
|
+
}
|
|
1775
|
+
interface CwInputImageProps extends Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "className" | "type" | "onChange" | "onError" | "size"> {
|
|
1780
1776
|
allowedImageFormats?: string[];
|
|
1781
|
-
onChange?: (
|
|
1777
|
+
onChange?: (dataUrl: string | null, file?: File) => void;
|
|
1778
|
+
onError?: (error: string) => void;
|
|
1779
|
+
labels?: Partial<CwInputImageLabels>;
|
|
1780
|
+
/** Scales the dropzone and drives the size of the Paste/Browse buttons. Unset = default (medium) size. */
|
|
1781
|
+
size?: "small" | "medium" | "large";
|
|
1782
1782
|
}
|
|
1783
1783
|
declare function CwInputImage(props: CwInputImageProps): React$1.JSX.Element;
|
|
1784
1784
|
|
|
@@ -1890,11 +1890,13 @@ declare const CwWeekdaySelector: FC<CwWeekdaySelectorProps>;
|
|
|
1890
1890
|
interface CwCheckProps extends Omit<React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type"> {
|
|
1891
1891
|
/** Props for the label component */
|
|
1892
1892
|
labelProps?: CwLabelProps;
|
|
1893
|
-
/** Text content for the checkbox label
|
|
1893
|
+
/** Text content for the checkbox label
|
|
1894
|
+
* @deprecated Use `labelProps.text` instead. */
|
|
1894
1895
|
labelText?: string;
|
|
1895
|
-
/**
|
|
1896
|
-
|
|
1897
|
-
/** Layout alignment: "row" (side by side) | "column" (label
|
|
1896
|
+
/** Layout of the input relative to its label: "row" (side by side, default) | "column" (label below) */
|
|
1897
|
+
direction?: "row" | "column";
|
|
1898
|
+
/** Layout alignment: "row" (side by side) | "column" (label below) @default "row"
|
|
1899
|
+
* @deprecated Use `direction` instead. */
|
|
1898
1900
|
alignment?: "row" | "column";
|
|
1899
1901
|
}
|
|
1900
1902
|
declare function CwCheck(props: CwCheckProps): React__default.JSX.Element;
|
|
@@ -1927,7 +1929,17 @@ interface CheckboxOption {
|
|
|
1927
1929
|
/** Disables this specific option */
|
|
1928
1930
|
disabled?: boolean;
|
|
1929
1931
|
}
|
|
1930
|
-
|
|
1932
|
+
/**
|
|
1933
|
+
* Extends the shared {@link CwGroupLayoutProps} (`groupLayout` + `itemLayout`), the same layout
|
|
1934
|
+
* interface {@link CwRadioGroup} and {@link CwKeyValueList} use:
|
|
1935
|
+
* - `groupLayout` — label vs group block. `direction: "row"` (default, kept for backward
|
|
1936
|
+
* compatibility) = label beside the options; `"column"` = label above. Honors `align`/`gap`.
|
|
1937
|
+
* - `itemLayout` — flow of the checkbox options. `direction: "column"` (default) = stacked;
|
|
1938
|
+
* `"row"` = inline with wrap. Honors `gap`. It also drives each checkbox's own box-to-text
|
|
1939
|
+
* layout to the OPPOSITE axis: stacked items get the box beside the text, side-by-side items
|
|
1940
|
+
* get the box above the text.
|
|
1941
|
+
*/
|
|
1942
|
+
interface CwCheckboxGroupProps extends CwGroupLayoutProps {
|
|
1931
1943
|
/** List of options to display */
|
|
1932
1944
|
options: CheckboxOption[];
|
|
1933
1945
|
/** Currently selected values */
|
|
@@ -1936,29 +1948,98 @@ interface CwCheckboxGroupProps {
|
|
|
1936
1948
|
onChange: (selected: string[]) => void;
|
|
1937
1949
|
/** Props for the label component */
|
|
1938
1950
|
labelProps?: CwLabelProps;
|
|
1939
|
-
/** Props for alignment */
|
|
1940
|
-
alignProps?: CwAlignProps;
|
|
1941
1951
|
/** Marks the group as required */
|
|
1942
1952
|
required?: boolean;
|
|
1943
1953
|
/** Disables all options */
|
|
1944
1954
|
disabled?: boolean;
|
|
1945
|
-
/**
|
|
1955
|
+
/** Additional CSS class for the container */
|
|
1956
|
+
className?: string;
|
|
1957
|
+
/** Error or info messages below the group */
|
|
1958
|
+
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
1959
|
+
/** Props for alignment
|
|
1960
|
+
* @deprecated Use `groupLayout` instead. */
|
|
1961
|
+
alignProps?: CwAlignProps;
|
|
1962
|
+
/** Layout alignment of each individual checkbox: "row" (default) | "column"
|
|
1963
|
+
* @deprecated Use `itemLayout` instead. */
|
|
1946
1964
|
optionsAlignment?: "row" | "column";
|
|
1965
|
+
"data-testid"?: string;
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* CwCheckboxGroup - Multi-select group of native checkbox inputs.
|
|
1969
|
+
*
|
|
1970
|
+
* Use for selecting any number of values from a list of options. Layout follows the
|
|
1971
|
+
* CwKeyValueList / CwRadioGroup convention with two nested {@link CwLayoutProps} axes applied as
|
|
1972
|
+
* `data-*` attributes: `groupLayout` positions the label relative to the group block (root grid),
|
|
1973
|
+
* `itemLayout` controls how the checkboxes flow among themselves (options container) and, on the
|
|
1974
|
+
* opposite axis, each checkbox's own box-to-text layout.
|
|
1975
|
+
*/
|
|
1976
|
+
declare function CwCheckboxGroup({ options, value, onChange, labelProps, groupLayout, itemLayout, required, disabled, className, feedback, alignProps, optionsAlignment, "data-testid": dataTestId, }: CwCheckboxGroupProps): React$1.JSX.Element;
|
|
1977
|
+
|
|
1978
|
+
interface RadioOption {
|
|
1979
|
+
/** Value sent to onChange */
|
|
1980
|
+
value: string;
|
|
1981
|
+
/** Text displayed next to the radio */
|
|
1982
|
+
label: string;
|
|
1983
|
+
/** Disables this specific option */
|
|
1984
|
+
disabled?: boolean;
|
|
1985
|
+
}
|
|
1986
|
+
/**
|
|
1987
|
+
* Extends the shared {@link CwGroupLayoutProps} (`groupLayout` + `itemLayout`), the same layout
|
|
1988
|
+
* interface {@link CwKeyValueList} uses:
|
|
1989
|
+
* - `groupLayout` — label vs radiogroup block. `direction: "column"` (default) = label above;
|
|
1990
|
+
* `"row"` = label beside the options. Honors `align`/`gap`.
|
|
1991
|
+
* - `itemLayout` — flow of the radio options. `direction: "column"` (default) = stacked;
|
|
1992
|
+
* `"row"` = inline with wrap. Honors `gap`. It also drives each radio's own circle-to-text
|
|
1993
|
+
* layout to the OPPOSITE axis: stacked items get the circle beside the text, side-by-side
|
|
1994
|
+
* items get the circle above the text.
|
|
1995
|
+
*/
|
|
1996
|
+
interface CwRadioGroupProps extends CwGroupLayoutProps {
|
|
1997
|
+
/** List of options to display */
|
|
1998
|
+
options: RadioOption[];
|
|
1999
|
+
/** Currently selected value */
|
|
2000
|
+
value?: string;
|
|
2001
|
+
/** Callback when the selection changes - returns the selected value */
|
|
2002
|
+
onChange: (value: string) => void;
|
|
2003
|
+
/** Props for the label component */
|
|
2004
|
+
labelProps?: CwLabelProps;
|
|
2005
|
+
/** Marks the group as required */
|
|
2006
|
+
required?: boolean;
|
|
2007
|
+
/** Disables all options */
|
|
2008
|
+
disabled?: boolean;
|
|
1947
2009
|
/** Additional CSS class for the container */
|
|
1948
2010
|
className?: string;
|
|
1949
2011
|
/** Error or info messages below the group */
|
|
1950
2012
|
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
2013
|
+
/** Accessible name for the radiogroup when no visible `labelProps` label is rendered (a11y fallback). */
|
|
2014
|
+
"aria-label"?: string;
|
|
2015
|
+
/** Accessible name for the radiogroup when no visible `labelProps` label is rendered (a11y fallback). */
|
|
2016
|
+
"aria-labelledby"?: string;
|
|
2017
|
+
"data-testid"?: string;
|
|
1951
2018
|
}
|
|
1952
|
-
|
|
2019
|
+
/**
|
|
2020
|
+
* CwRadioGroup - Single-select group of native radio inputs.
|
|
2021
|
+
*
|
|
2022
|
+
* Built on `<input type="radio">` sharing one `name`, so the browser provides radio-group
|
|
2023
|
+
* semantics (roving tabindex, arrow-key navigation) natively. Use for a single choice from a
|
|
2024
|
+
* list of options; for 2–3 options shown as a strip use CwButtonSwitch.
|
|
2025
|
+
*
|
|
2026
|
+
* Layout follows the CwKeyValueList convention with two nested {@link CwLayoutProps} axes
|
|
2027
|
+
* applied as `data-*` attributes: `groupLayout` positions the label relative to the radiogroup
|
|
2028
|
+
* block (root grid), `itemLayout` controls how the radios flow among themselves (options
|
|
2029
|
+
* container) and, on the opposite axis, each radio's own circle-to-text layout.
|
|
2030
|
+
*/
|
|
2031
|
+
declare function CwRadioGroup({ options, value, onChange, labelProps, groupLayout, itemLayout, required, disabled, className, feedback, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "data-testid": dataTestId, }: CwRadioGroupProps): React$1.JSX.Element;
|
|
1953
2032
|
|
|
1954
2033
|
interface CwToggleProps extends Omit<React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type"> {
|
|
1955
2034
|
/** Props for the label component */
|
|
1956
2035
|
labelProps?: CwLabelProps;
|
|
1957
|
-
/** Text content for the toggle label
|
|
2036
|
+
/** Text content for the toggle label
|
|
2037
|
+
* @deprecated Use `labelProps.text` instead. */
|
|
1958
2038
|
labelText?: string;
|
|
1959
|
-
/**
|
|
1960
|
-
|
|
1961
|
-
/** Layout alignment: "row" (side by side) | "column" (label above) @default "row"
|
|
2039
|
+
/** Layout of the input relative to its label: "row" (side by side, default) | "column" (label above) */
|
|
2040
|
+
direction?: "row" | "column";
|
|
2041
|
+
/** Layout alignment: "row" (side by side) | "column" (label above) @default "row"
|
|
2042
|
+
* @deprecated Use `direction` instead. */
|
|
1962
2043
|
alignment?: "row" | "column";
|
|
1963
2044
|
}
|
|
1964
2045
|
declare function CwToggle(props: CwToggleProps): React__default.JSX.Element;
|
|
@@ -2414,6 +2495,99 @@ type TreeViewProps<T> = {
|
|
|
2414
2495
|
};
|
|
2415
2496
|
declare function CwTreeView<T>({ data, onSelect, allowParentSelection, selectedId: initialSelectedId }: TreeViewProps<T>): React$1.JSX.Element;
|
|
2416
2497
|
|
|
2498
|
+
interface CwNavItem {
|
|
2499
|
+
/** Stable id, also the React key */
|
|
2500
|
+
id: string;
|
|
2501
|
+
/** Resolved display text — the consumer owns i18n / tenant naming */
|
|
2502
|
+
label: string;
|
|
2503
|
+
/** Link target for leaves; groups may omit it */
|
|
2504
|
+
href?: string;
|
|
2505
|
+
/** Resolved secondary text — not rendered by the menu, but searched alongside label and href */
|
|
2506
|
+
description?: string;
|
|
2507
|
+
/** CW icon name */
|
|
2508
|
+
icon?: string;
|
|
2509
|
+
/** Non-empty children make this item a collapsible group */
|
|
2510
|
+
children?: CwNavItem[];
|
|
2511
|
+
}
|
|
2512
|
+
/** Remaining props land on the <nav> — `data-*` (CBT walkthrough targets), `aria-*`, `data-testid`. */
|
|
2513
|
+
interface CwNavMenuProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
|
|
2514
|
+
/** Already permission-filtered and ordered by the consumer */
|
|
2515
|
+
items: CwNavItem[];
|
|
2516
|
+
/** Renders placeholder rows instead of the tree */
|
|
2517
|
+
loading?: boolean;
|
|
2518
|
+
/**
|
|
2519
|
+
* Router-agnostic active detection; nothing is highlighted when omitted. Injected because the
|
|
2520
|
+
* library cannot depend on a router (WinOps: react-router-dom 6.28, Improve: a different one,
|
|
2521
|
+
* playground: none) — the consumer answers "is this the current page?", the component owns the
|
|
2522
|
+
* highlight. Revisitable: if the apps ever converge on one router, this could move inside.
|
|
2523
|
+
*/
|
|
2524
|
+
isActive?: (item: CwNavItem) => boolean;
|
|
2525
|
+
/** Inject a router link component; defaults to a plain <a href> */
|
|
2526
|
+
renderLink?: (item: CwNavItem, children: ReactNode) => ReactNode;
|
|
2527
|
+
/**
|
|
2528
|
+
* Show a trailing chevron on **top-level** group rows. Nested groups (level 2+) always show it
|
|
2529
|
+
* and ignore this flag — don't normalise the two cases: a level-1 group is already marked by
|
|
2530
|
+
* its heavier type and [open] background, while a nested group is otherwise indistinguishable
|
|
2531
|
+
* from its sibling leaf links.
|
|
2532
|
+
*/
|
|
2533
|
+
showExpandIndicator?: boolean;
|
|
2534
|
+
/**
|
|
2535
|
+
* Filters the tree through `filterNavItems`: a group survives when it or any descendant matches.
|
|
2536
|
+
* Quoted `"phrases"` match the label; loose words match label + description + href. Blank or
|
|
2537
|
+
* omitted means no filtering.
|
|
2538
|
+
*/
|
|
2539
|
+
search?: string;
|
|
2540
|
+
/** Shown only while a search is active and nothing matched — an empty `items` still renders nothing */
|
|
2541
|
+
emptyMessage?: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* Sorts the **top level** alphabetically; nested lists keep the consumer's order. Off by default.
|
|
2544
|
+
* Level-1-only is deliberate: a long list of modules is hard to scan, while the pages inside one
|
|
2545
|
+
* are ordered on purpose.
|
|
2546
|
+
*/
|
|
2547
|
+
sortAlphabetically?: boolean;
|
|
2548
|
+
/**
|
|
2549
|
+
* Rows for the sticky favourites section above the tree. Omit it and no section renders. The
|
|
2550
|
+
* library owns the disclosure and its look; the rows are yours, so their markup, secondary text
|
|
2551
|
+
* and any `data-*` stay under your control.
|
|
2552
|
+
*/
|
|
2553
|
+
favoritesSlot?: ReactNode;
|
|
2554
|
+
/** Header for the favourites section. Pass your own translation. */
|
|
2555
|
+
favoritesLabel?: string;
|
|
2556
|
+
/** Attributes for the favourites `<details>` — `data-tour`, or `open` to override the default. */
|
|
2557
|
+
favoritesProps?: HTMLAttributes<HTMLDetailsElement>;
|
|
2558
|
+
/**
|
|
2559
|
+
* Marks a leaf as favourited with a star. Indicator only — toggling stays with the consumer
|
|
2560
|
+
* (a context menu on the link, for instance), so no row gains a control it didn't have.
|
|
2561
|
+
*/
|
|
2562
|
+
isFavorite?: (item: CwNavItem) => boolean;
|
|
2563
|
+
/**
|
|
2564
|
+
* An app-provided section between the favourites and the tree — WinOps's external "Places" links,
|
|
2565
|
+
* for instance. Kept out of `items` on purpose: it is a parallel list, so it is not filtered by
|
|
2566
|
+
* `search` or reordered by `sortAlphabetically`.
|
|
2567
|
+
*
|
|
2568
|
+
* A `<details>` placed here is styled as a top-level section automatically.
|
|
2569
|
+
*/
|
|
2570
|
+
beforeTreeSlot?: ReactNode;
|
|
2571
|
+
}
|
|
2572
|
+
/** Sizes only its own icons — content injected via `renderLink` is styled by the consumer. */
|
|
2573
|
+
declare function CwNavMenu({ items, loading, isActive, renderLink, showExpandIndicator, search, emptyMessage, sortAlphabetically, favoritesSlot, favoritesLabel, favoritesProps, isFavorite, beforeTreeSlot, className, ...navProps }: CwNavMenuProps): React$1.JSX.Element;
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* Filters a nav tree by a search string, keeping a group whose descendants match.
|
|
2577
|
+
*
|
|
2578
|
+
* Supports `"quoted phrases"` (must appear in the label) alongside loose words (any field) — this is
|
|
2579
|
+
* behaviour users are told about, so don't simplify it.
|
|
2580
|
+
*/
|
|
2581
|
+
declare function filterNavItems(items: CwNavItem[], search?: string): CwNavItem[];
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* Sorts the top level alphabetically, leaving every nested list in the order the consumer gave.
|
|
2585
|
+
*
|
|
2586
|
+
* Deliberately level 1 only: this exists because a long list of modules is hard to scan, while the
|
|
2587
|
+
* pages inside a module are ordered on purpose. Returns the input untouched when not sorting.
|
|
2588
|
+
*/
|
|
2589
|
+
declare function sortNavItems(items: CwNavItem[], alphabetically?: boolean): CwNavItem[];
|
|
2590
|
+
|
|
2417
2591
|
/** Props for {@link CwSearchInput}. */
|
|
2418
2592
|
interface CwSearchInputProps extends HTMLProps<HTMLDivElement> {
|
|
2419
2593
|
/** List of items to search through. Each item must be a `CwSelectList` instance. */
|
|
@@ -2436,6 +2610,8 @@ interface CwSearchInputProps extends HTMLProps<HTMLDivElement> {
|
|
|
2436
2610
|
error?: boolean;
|
|
2437
2611
|
/** Custom renderer for each suggestion item. Receives the matching `CwSelectList` entry. */
|
|
2438
2612
|
renderOption?: (option: CwSelectList) => React__default.ReactNode;
|
|
2613
|
+
/** Focuses the internal `<input>` on mount when `true`. */
|
|
2614
|
+
autoFocus?: boolean;
|
|
2439
2615
|
}
|
|
2440
2616
|
/**
|
|
2441
2617
|
* Text input with a live-filtered suggestion dropdown backed by a local `CwSelectList` array.
|
|
@@ -2639,6 +2815,122 @@ interface ContextMenuProps extends React__default.PropsWithChildren {
|
|
|
2639
2815
|
}
|
|
2640
2816
|
declare const CwContextMenu: React__default.FC<ContextMenuProps>;
|
|
2641
2817
|
|
|
2818
|
+
interface CwButtonSplitAction {
|
|
2819
|
+
key: string;
|
|
2820
|
+
label: string;
|
|
2821
|
+
/** cwi icon name (verified against NewCwIcons.json) */
|
|
2822
|
+
icon?: string;
|
|
2823
|
+
disabled?: boolean;
|
|
2824
|
+
}
|
|
2825
|
+
interface CwButtonSplitProps {
|
|
2826
|
+
/** Main action label */
|
|
2827
|
+
text: string;
|
|
2828
|
+
/** Optional main-action icon */
|
|
2829
|
+
icon?: string;
|
|
2830
|
+
/** Default/main action */
|
|
2831
|
+
onClick: () => void;
|
|
2832
|
+
/** Alternative actions shown in the dropdown menu */
|
|
2833
|
+
actions: CwButtonSplitAction[];
|
|
2834
|
+
/** Fired when a menu item is chosen */
|
|
2835
|
+
onSelect: (key: string) => void;
|
|
2836
|
+
/** Shared visual style for both parts. @default 'solid' */
|
|
2837
|
+
variant?: "solid" | "outline";
|
|
2838
|
+
/** Shared color theme for both parts. @default 'primary' */
|
|
2839
|
+
color?: "primary" | "danger" | "neutral";
|
|
2840
|
+
/** Shared size for both parts. @default 'medium' */
|
|
2841
|
+
size?: "small" | "medium" | "large";
|
|
2842
|
+
/** Disables both parts */
|
|
2843
|
+
disabled?: boolean;
|
|
2844
|
+
/** Menu alignment relative to the control. @default 'bottom-end' */
|
|
2845
|
+
placement?: "bottom-start" | "bottom-end";
|
|
2846
|
+
"data-testid"?: string;
|
|
2847
|
+
}
|
|
2848
|
+
/**
|
|
2849
|
+
* CwButtonSplit - A primary action joined to a dropdown of alternative actions.
|
|
2850
|
+
*
|
|
2851
|
+
* Composes a main {@link CwButton} with a {@link CwPopoverButton} chevron whose
|
|
2852
|
+
* panel holds a vertical menu of alternatives (rendered as `variant="ghost"` rows).
|
|
2853
|
+
* Both parts share variant, color and size and read as one joined control.
|
|
2854
|
+
*
|
|
2855
|
+
* @example
|
|
2856
|
+
* <CwButtonSplit
|
|
2857
|
+
* text="Save"
|
|
2858
|
+
* icon="save"
|
|
2859
|
+
* onClick={handleSave}
|
|
2860
|
+
* actions={[
|
|
2861
|
+
* { key: "saveAs", label: "Save as…", icon: "copy" },
|
|
2862
|
+
* { key: "saveAndClose", label: "Save and close" },
|
|
2863
|
+
* ]}
|
|
2864
|
+
* onSelect={handleSelect}
|
|
2865
|
+
* />
|
|
2866
|
+
*/
|
|
2867
|
+
declare function CwButtonSplit({ text, icon, onClick, actions, onSelect, variant, color, size, disabled, placement, "data-testid": dataTestId, }: CwButtonSplitProps): React__default.JSX.Element;
|
|
2868
|
+
|
|
2869
|
+
interface CwButtonSwitchOption {
|
|
2870
|
+
/** Value sent to onChange */
|
|
2871
|
+
value: string;
|
|
2872
|
+
/** Text displayed on the segment */
|
|
2873
|
+
label: string;
|
|
2874
|
+
/** Optional cwi icon name */
|
|
2875
|
+
icon?: string;
|
|
2876
|
+
/** Disables this specific segment */
|
|
2877
|
+
disabled?: boolean;
|
|
2878
|
+
}
|
|
2879
|
+
interface CwButtonSwitchProps {
|
|
2880
|
+
/** Options rendered as joined segments */
|
|
2881
|
+
options: CwButtonSwitchOption[];
|
|
2882
|
+
/** Currently selected value */
|
|
2883
|
+
value: string;
|
|
2884
|
+
/** Callback when the selection changes */
|
|
2885
|
+
onChange: (value: string) => void;
|
|
2886
|
+
/** Segment size */
|
|
2887
|
+
size?: "small" | "medium" | "large";
|
|
2888
|
+
/** Shared color theme for every segment */
|
|
2889
|
+
color?: "primary" | "danger" | "neutral";
|
|
2890
|
+
/** Render only each option's icon (label becomes the tooltip + accessible name). Every option must have an `icon`. */
|
|
2891
|
+
iconOnly?: boolean;
|
|
2892
|
+
/**
|
|
2893
|
+
* Orientation of the joined strip: "row" (default, horizontal) or "column" (vertical,
|
|
2894
|
+
* stacked full-width segments). Only orientation is exposed because the segments are joined
|
|
2895
|
+
* (no gap), so gap/align/justify are not meaningful.
|
|
2896
|
+
*/
|
|
2897
|
+
direction?: "row" | "column";
|
|
2898
|
+
/** Disables every segment */
|
|
2899
|
+
disabled?: boolean;
|
|
2900
|
+
/** Accessible name for the radiogroup (there is no visible label on this inline control). */
|
|
2901
|
+
"aria-label"?: string;
|
|
2902
|
+
/** Accessible name for the radiogroup (there is no visible label on this inline control). */
|
|
2903
|
+
"aria-labelledby"?: string;
|
|
2904
|
+
"data-testid"?: string;
|
|
2905
|
+
}
|
|
2906
|
+
/**
|
|
2907
|
+
* CwButtonSwitch - Segmented single-select control: a strip of joined CwButtons.
|
|
2908
|
+
*
|
|
2909
|
+
* The selected segment renders `solid`, the others `outline`, both sharing the `color`
|
|
2910
|
+
* theme (`primary` default, `danger`, or `neutral`). It is a proper ARIA radiogroup with
|
|
2911
|
+
* roving tabindex (one tab stop) and arrow-key navigation, provided by
|
|
2912
|
+
* {@link useRovingSingleSelect}. Use for 2–3 mutually-exclusive options that benefit from
|
|
2913
|
+
* being shown side by side; for a longer list use CwRadioGroup.
|
|
2914
|
+
*
|
|
2915
|
+
* `direction="column"` renders the strip vertically (stacked, full-width segments) instead of
|
|
2916
|
+
* the default horizontal `row`; arrow-key navigation handles both orientations.
|
|
2917
|
+
*
|
|
2918
|
+
* Set `iconOnly` to render just each option's icon; the option's `label` is still required
|
|
2919
|
+
* and is passed as the segment title, so it becomes the tooltip and the accessible name.
|
|
2920
|
+
*
|
|
2921
|
+
* It is an inline control with no form label — if a caption is needed, place it next to the
|
|
2922
|
+
* control at the call site, and pass `aria-label` (or `aria-labelledby`) to name the radiogroup
|
|
2923
|
+
* for screen readers.
|
|
2924
|
+
*
|
|
2925
|
+
* @example
|
|
2926
|
+
* <CwButtonSwitch
|
|
2927
|
+
* options={[{ value: "list", label: "List", icon: "list" }, { value: "grid", label: "Grid", icon: "grid" }]}
|
|
2928
|
+
* value={view}
|
|
2929
|
+
* onChange={setView}
|
|
2930
|
+
* />
|
|
2931
|
+
*/
|
|
2932
|
+
declare function CwButtonSwitch({ options, value, onChange, size, color, iconOnly, direction, disabled, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "data-testid": dataTestId, }: CwButtonSwitchProps): React$1.JSX.Element;
|
|
2933
|
+
|
|
2642
2934
|
/**
|
|
2643
2935
|
* Props for legacy icon button wrappers
|
|
2644
2936
|
* @deprecated These wrappers exist for backward compatibility.
|
|
@@ -3697,5 +3989,5 @@ declare class OnClickContextMenu implements UiEvent {
|
|
|
3697
3989
|
constructor(id: string, clickedMenu: string);
|
|
3698
3990
|
}
|
|
3699
3991
|
|
|
3700
|
-
export { CblDragAndDrop$1 as CblDragAndDrop, CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDateTimePickerTemporal, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable,
|
|
3701
|
-
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNoteProps, CwPopoverButtonProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem, cblEventCompProps, resourceCompProps2 };
|
|
3992
|
+
export { CblDragAndDrop$1 as CblDragAndDrop, CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwButtonSplit, CwButtonSwitch, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDateTimePickerTemporal, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNavMenu, CwNote, CwOption, CwPopoverButton, CwRadioGroup, CwReportModal, CwScheduler, CwSearchAsync, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSortableList, CwSortableTable, CwSuperScheduler, CwTable, CwTableGrouped, CwTableServerSide, CwTabs, CwTagSelector, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltipManager, CwTooltipNew, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PRESET_LIBRARY_TEMPORAL, PinRowHeader, Resource, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, cblEvent, configureCwLoading, eventIsVisible, filterNavItems, filterVisibleEvents, getCwLoadingDefaults, getDefaultDivisions, getEventSizes, getPresetsByKeysTemporal, itemsToMultiFilterTags, sortNavItems, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
3993
|
+
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem, cblEventCompProps, resourceCompProps2 };
|