@public-ui/sample-react 1.7.15 → 1.7.17

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.
Files changed (108) hide show
  1. package/dist/104.js +1 -1
  2. package/dist/1296.js +1 -1
  3. package/dist/1300.js +2 -0
  4. package/dist/1461.js +1 -1
  5. package/dist/1624.js +2 -0
  6. package/dist/1684.js +1 -1
  7. package/dist/1720.js +1 -1
  8. package/dist/1888.js +1 -1
  9. package/dist/1940.js +2 -0
  10. package/dist/1947.js +1 -0
  11. package/dist/2120.js +1 -1
  12. package/dist/2240.js +1 -1
  13. package/dist/2444.js +1 -1
  14. package/dist/2628.js +1 -1
  15. package/dist/{1760.js → 2652.js} +2 -2
  16. package/dist/2740.js +1 -1
  17. package/dist/2764.js +1 -1
  18. package/dist/2782.js +1 -1
  19. package/dist/2812.js +1 -1
  20. package/dist/3200.js +1 -1
  21. package/dist/3204.js +1 -1
  22. package/dist/352.js +1 -1
  23. package/dist/3524.js +2 -0
  24. package/dist/3564.js +1 -1
  25. package/dist/3872.js +2 -0
  26. package/dist/3920.js +1 -1
  27. package/dist/4020.js +2 -0
  28. package/dist/4136.js +1 -1
  29. package/dist/4184.js +1 -1
  30. package/dist/4544.js +1 -1
  31. package/dist/4728.js +1 -1
  32. package/dist/4768.js +2 -0
  33. package/dist/4768.js.LICENSE.txt +3 -0
  34. package/dist/4915.js +1 -1
  35. package/dist/4988.js +1 -1
  36. package/dist/5376.js +1 -1
  37. package/dist/5615.js +1 -1
  38. package/dist/5628.js +1 -1
  39. package/dist/5744.js +1 -1
  40. package/dist/5768.js +1 -1
  41. package/dist/5839.js +1 -1
  42. package/dist/5956.js +1 -1
  43. package/dist/5972.js +1 -1
  44. package/dist/6040.js +1 -1
  45. package/dist/6272.js +1 -1
  46. package/dist/7032.js +2 -0
  47. package/dist/7032.js.LICENSE.txt +3 -0
  48. package/dist/7192.js +1 -1
  49. package/dist/7312.js +1 -1
  50. package/dist/7344.js +1 -1
  51. package/dist/736.js +1 -1
  52. package/dist/7496.js +1 -1
  53. package/dist/7508.js +1 -1
  54. package/dist/7596.js +1 -1
  55. package/dist/7712.js +1 -1
  56. package/dist/7808.js +1 -1
  57. package/dist/8188.js +1 -1
  58. package/dist/8232.js +1 -1
  59. package/dist/8248.js +1 -1
  60. package/dist/828.js +1 -1
  61. package/dist/8476.js +1 -1
  62. package/dist/8524.js +1 -1
  63. package/dist/9088.js +1 -1
  64. package/dist/9404.js +1 -1
  65. package/dist/9424.js +1 -1
  66. package/dist/9432.js +2 -0
  67. package/dist/9432.js.LICENSE.txt +3 -0
  68. package/dist/9496.js +1 -1
  69. package/dist/9544.js +1 -1
  70. package/dist/9680.js +1 -1
  71. package/dist/9888.js +1 -1
  72. package/dist/9984.js +1 -1
  73. package/dist/main.css +1 -1
  74. package/dist/main.js +1 -1
  75. package/package.json +13 -13
  76. package/src/App.tsx +5 -5
  77. package/src/components/handout/basic.tsx +42 -30
  78. package/src/components/table/render-cell.tsx +5 -10
  79. package/src/components/toast/basic.tsx +2 -2
  80. package/src/react.main.tsx +43 -23
  81. package/src/scenarios/routes.ts +0 -2
  82. package/src/shares/react-roots.ts +1 -0
  83. package/src/shares/store.ts +5 -5
  84. package/src/shares/theme.ts +6 -5
  85. package/webpack.config.js +1 -0
  86. package/dist/176.js +0 -2
  87. package/dist/4064.js +0 -2
  88. package/dist/408.js +0 -2
  89. package/dist/4688.js +0 -1
  90. package/dist/5456.js +0 -2
  91. package/dist/6864.js +0 -2
  92. package/dist/7668.js +0 -2
  93. package/src/components/abbr/basic.html +0 -6
  94. package/src/scenarios/complex-form/common/form/component.tsx +0 -25
  95. package/src/scenarios/complex-form/common/form/types.ts +0 -13
  96. package/src/scenarios/complex-form/component.tsx +0 -163
  97. package/src/scenarios/complex-form/kopfdaten/component.tsx +0 -50
  98. package/src/scenarios/complex-form/location/component.tsx +0 -16
  99. package/src/scenarios/complex-form/location/location.form.ts +0 -22
  100. package/src/scenarios/complex-form/schedule/component.tsx +0 -16
  101. package/src/scenarios/complex-form/schedule/schedule.form.ts +0 -34
  102. /package/dist/{176.js.LICENSE.txt → 1300.js.LICENSE.txt} +0 -0
  103. /package/dist/{1760.js.LICENSE.txt → 1624.js.LICENSE.txt} +0 -0
  104. /package/dist/{4064.js.LICENSE.txt → 1940.js.LICENSE.txt} +0 -0
  105. /package/dist/{408.js.LICENSE.txt → 2652.js.LICENSE.txt} +0 -0
  106. /package/dist/{5456.js.LICENSE.txt → 3524.js.LICENSE.txt} +0 -0
  107. /package/dist/{6864.js.LICENSE.txt → 3872.js.LICENSE.txt} +0 -0
  108. /package/dist/{7668.js.LICENSE.txt → 4020.js.LICENSE.txt} +0 -0
@@ -1,16 +0,0 @@
1
- import React, { FC } from 'react';
2
-
3
- import { KolButton, KolSelect, KolSpin } from '@public-ui/react';
4
- import { LOCATION_OPTIONS } from './location.form';
5
- import { FormProps } from '../common/form/types';
6
- import { FromComponent } from '../common/form/component';
7
-
8
- export const TerminLocationComponent: FC<FormProps> = () => (
9
- <FromComponent submitted={true} onSubmit={() => {}}>
10
- <div className="grid sm:grid-cols-1 xl:grid-cols-2 gap-2 my-2">
11
- <KolSelect _id="termin-location-location" _list={LOCATION_OPTIONS} _touched={true}></KolSelect>
12
- </div>
13
- <KolButton className="inline-block my-1" _icon="icofont-arrow-right" _iconAlign="right" _label="Zur Terminauswahl" _type="submit"></KolButton>
14
- <KolSpin _show={true} className="ml-4" />
15
- </FromComponent>
16
- );
@@ -1,22 +0,0 @@
1
- export const LOCATION_OPTIONS = [
2
- {
3
- value: 'Aplerbeck',
4
- label: 'Aplerbeck',
5
- },
6
- {
7
- value: 'Brackel',
8
- label: 'Brackel',
9
- },
10
- {
11
- value: 'Dorstfeld',
12
- label: 'Dorstfeld',
13
- },
14
- {
15
- value: 'Innenstadt Ost',
16
- label: 'Innenstadt Ost',
17
- },
18
- {
19
- value: 'Innenstadt West',
20
- label: 'Innenstadt West',
21
- },
22
- ];
@@ -1,16 +0,0 @@
1
- import React, { FC } from 'react';
2
-
3
- import { KolButton, KolInputDate, KolSpin } from '@public-ui/react';
4
- import { FromComponent } from '../common/form/component';
5
- import { FormProps } from '../common/form/types';
6
-
7
- export const TerminScheduleComponent: FC<FormProps> = (props) => (
8
- <FromComponent submitted={true} onSubmit={() => {}}>
9
- <div className="grid sm:grid-cols-1 xl:grid-cols-2 gap-2 my-2">
10
- <KolInputDate _id="termin-schedule-schedule" _type="date" _touched={true}></KolInputDate>
11
- <KolInputDate _id="termin-schedule-time" _type="time" _touched={true}></KolInputDate>
12
- </div>
13
- <KolButton className="inline-block my-1" _icon="icofont-arrow-right" _iconAlign="right" _label="Zu den Kontaktdaten" _type="submit"></KolButton>
14
- <KolSpin _show={true} className="ml-4" />
15
- </FromComponent>
16
- );
@@ -1,34 +0,0 @@
1
- import { FormControl, InputControl, RequiredValidator, ValidationHandler } from '@leanup/form';
2
-
3
- export interface Schedule {
4
- schedule: string;
5
- time: string;
6
- }
7
-
8
- export class ScheduleForm extends FormControl {
9
- public constructor() {
10
- super('schedule');
11
-
12
- this.addControl(
13
- new InputControl('schedule', {
14
- label: 'Datum',
15
- mandatory: true,
16
- }),
17
- );
18
-
19
- this.addControl(
20
- new InputControl('time', {
21
- label: 'Uhrzeit',
22
- mandatory: true,
23
- }),
24
- );
25
-
26
- const validationHandler = new ValidationHandler();
27
- validationHandler.validators.add([new RequiredValidator('Bitte wählen Sie ein Datum aus.')]);
28
- this.getInput('schedule')?.setValidationHandler(validationHandler);
29
-
30
- const timeHandler = new ValidationHandler();
31
- timeHandler.validators.add([new RequiredValidator('Bitte wählen Sie eine Uhrzeit aus.')]);
32
- this.getInput('time')?.setValidationHandler(timeHandler);
33
- }
34
- }