@geoit/ui 0.0.2

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 (165) hide show
  1. package/AGENTS.md +25 -0
  2. package/README.md +46 -0
  3. package/ai/AGENTS.md +86 -0
  4. package/ai/README.md +44 -0
  5. package/ai/catalog.json +882 -0
  6. package/ai/components/geo-alert.md +56 -0
  7. package/ai/components/geo-back-button.md +54 -0
  8. package/ai/components/geo-breadcrumb.md +52 -0
  9. package/ai/components/geo-button.md +63 -0
  10. package/ai/components/geo-checkbox.md +54 -0
  11. package/ai/components/geo-column-picker.md +54 -0
  12. package/ai/components/geo-confirm-modal.md +70 -0
  13. package/ai/components/geo-date-picker.md +65 -0
  14. package/ai/components/geo-date-range-picker.md +64 -0
  15. package/ai/components/geo-file-picker.md +62 -0
  16. package/ai/components/geo-form-modal.md +88 -0
  17. package/ai/components/geo-icon.md +53 -0
  18. package/ai/components/geo-input.md +65 -0
  19. package/ai/components/geo-page-title.md +53 -0
  20. package/ai/components/geo-pagination.md +59 -0
  21. package/ai/components/geo-radio.md +67 -0
  22. package/ai/components/geo-row-actions.md +54 -0
  23. package/ai/components/geo-select.md +68 -0
  24. package/ai/components/geo-slider.md +56 -0
  25. package/ai/components/geo-status-tag.md +51 -0
  26. package/ai/components/geo-step-form-layout.md +81 -0
  27. package/ai/components/geo-stepper.md +63 -0
  28. package/ai/components/geo-table-filter.md +65 -0
  29. package/ai/components/geo-table-pagination.md +59 -0
  30. package/ai/components/geo-table-toolbar.md +64 -0
  31. package/ai/components/geo-table.md +98 -0
  32. package/ai/components/geo-tabs.md +62 -0
  33. package/ai/components/geo-textarea.md +59 -0
  34. package/ai/components/geo-toast.md +61 -0
  35. package/ai/components/geo-tree.md +58 -0
  36. package/ai/components/geo-typography.md +57 -0
  37. package/ai/components/geo-upload.md +78 -0
  38. package/ai/recipes.md +111 -0
  39. package/esm2022/geoit-ui.mjs +5 -0
  40. package/esm2022/lib/figma/geo-alert/geo-alert.component.mjs +58 -0
  41. package/esm2022/lib/figma/geo-alert/geo-alert.types.mjs +7 -0
  42. package/esm2022/lib/figma/geo-back-button/geo-back-button.component.mjs +48 -0
  43. package/esm2022/lib/figma/geo-breadcrumb/geo-breadcrumb.component.mjs +33 -0
  44. package/esm2022/lib/figma/geo-breadcrumb/geo-breadcrumb.types.mjs +2 -0
  45. package/esm2022/lib/figma/geo-button/geo-button.component.mjs +77 -0
  46. package/esm2022/lib/figma/geo-button/geo-button.types.mjs +2 -0
  47. package/esm2022/lib/figma/geo-checkbox/geo-checkbox.component.mjs +34 -0
  48. package/esm2022/lib/figma/geo-confirm-modal/geo-confirm-modal.component.mjs +76 -0
  49. package/esm2022/lib/figma/geo-confirm-modal/geo-confirm-modal.types.mjs +2 -0
  50. package/esm2022/lib/figma/geo-date-picker/geo-date-picker.component.mjs +119 -0
  51. package/esm2022/lib/figma/geo-date-picker/geo-date-picker.types.mjs +2 -0
  52. package/esm2022/lib/figma/geo-date-range-picker/geo-date-range-picker.component.mjs +116 -0
  53. package/esm2022/lib/figma/geo-date-range-picker/geo-date-range-picker.types.mjs +2 -0
  54. package/esm2022/lib/figma/geo-file-picker/geo-file-picker.component.mjs +145 -0
  55. package/esm2022/lib/figma/geo-file-picker/geo-file-picker.types.mjs +2 -0
  56. package/esm2022/lib/figma/geo-form-modal/geo-form-modal.component.mjs +153 -0
  57. package/esm2022/lib/figma/geo-icon/geo-icon.component.mjs +51 -0
  58. package/esm2022/lib/figma/geo-icon/geo-icon.types.mjs +8 -0
  59. package/esm2022/lib/figma/geo-input/geo-input.component.mjs +118 -0
  60. package/esm2022/lib/figma/geo-page-title/geo-page-title.component.mjs +51 -0
  61. package/esm2022/lib/figma/geo-pagination/geo-pagination.component.mjs +54 -0
  62. package/esm2022/lib/figma/geo-radio/geo-radio.component.mjs +95 -0
  63. package/esm2022/lib/figma/geo-radio/geo-radio.types.mjs +2 -0
  64. package/esm2022/lib/figma/geo-select/geo-select.component.mjs +113 -0
  65. package/esm2022/lib/figma/geo-select/geo-select.types.mjs +2 -0
  66. package/esm2022/lib/figma/geo-slider/geo-slider.component.mjs +43 -0
  67. package/esm2022/lib/figma/geo-status-tag/geo-status-tag.component.mjs +62 -0
  68. package/esm2022/lib/figma/geo-status-tag/geo-status-tag.types.mjs +30 -0
  69. package/esm2022/lib/figma/geo-step-form-layout/geo-step-form-layout.component.mjs +157 -0
  70. package/esm2022/lib/figma/geo-step-form-layout/geo-step-form-layout.types.mjs +2 -0
  71. package/esm2022/lib/figma/geo-stepper/geo-stepper.component.mjs +77 -0
  72. package/esm2022/lib/figma/geo-stepper/geo-stepper.types.mjs +2 -0
  73. package/esm2022/lib/figma/geo-table/geo-column-picker/geo-column-picker.component.mjs +65 -0
  74. package/esm2022/lib/figma/geo-table/geo-column-picker/geo-column-picker.storage.mjs +31 -0
  75. package/esm2022/lib/figma/geo-table/geo-column-picker/geo-column-picker.types.mjs +2 -0
  76. package/esm2022/lib/figma/geo-table/geo-row-actions/geo-row-actions.component.mjs +64 -0
  77. package/esm2022/lib/figma/geo-table/geo-row-actions/geo-row-actions.types.mjs +24 -0
  78. package/esm2022/lib/figma/geo-table/geo-table-filter/geo-table-filter.component.mjs +195 -0
  79. package/esm2022/lib/figma/geo-table/geo-table-pagination/geo-table-pagination.component.mjs +118 -0
  80. package/esm2022/lib/figma/geo-table/geo-table-toolbar/geo-table-toolbar.component.mjs +68 -0
  81. package/esm2022/lib/figma/geo-table/geo-table.component.mjs +381 -0
  82. package/esm2022/lib/figma/geo-table/geo-table.types.mjs +4 -0
  83. package/esm2022/lib/figma/geo-tabs/geo-tabs.component.mjs +94 -0
  84. package/esm2022/lib/figma/geo-tabs/geo-tabs.types.mjs +2 -0
  85. package/esm2022/lib/figma/geo-textarea/geo-textarea.component.mjs +85 -0
  86. package/esm2022/lib/figma/geo-toast/geo-toast.component.mjs +57 -0
  87. package/esm2022/lib/figma/geo-toast/geo-toast.service.mjs +116 -0
  88. package/esm2022/lib/figma/geo-toast/geo-toast.types.mjs +13 -0
  89. package/esm2022/lib/figma/geo-tree/geo-tree.component.mjs +52 -0
  90. package/esm2022/lib/figma/geo-tree/geo-tree.types.mjs +2 -0
  91. package/esm2022/lib/figma/geo-typography/geo-typography.component.mjs +112 -0
  92. package/esm2022/lib/figma/geo-typography/geo-typography.types.mjs +96 -0
  93. package/esm2022/lib/figma/geo-upload/geo-upload.component.mjs +218 -0
  94. package/esm2022/lib/figma/geo-upload/geo-upload.types.mjs +30 -0
  95. package/esm2022/lib/figma/index.mjs +56 -0
  96. package/esm2022/lib/ng-zorro/ng-zorro-antd.module.mjs +293 -0
  97. package/esm2022/lib/styles/tokens.mjs +144 -0
  98. package/esm2022/public-api.mjs +7 -0
  99. package/fesm2022/geoit-ui.mjs +3805 -0
  100. package/fesm2022/geoit-ui.mjs.map +1 -0
  101. package/index.d.ts +5 -0
  102. package/lib/figma/geo-alert/geo-alert.component.d.ts +17 -0
  103. package/lib/figma/geo-alert/geo-alert.types.d.ts +2 -0
  104. package/lib/figma/geo-back-button/geo-back-button.component.d.ts +18 -0
  105. package/lib/figma/geo-breadcrumb/geo-breadcrumb.component.d.ts +12 -0
  106. package/lib/figma/geo-breadcrumb/geo-breadcrumb.types.d.ts +10 -0
  107. package/lib/figma/geo-button/geo-button.component.d.ts +27 -0
  108. package/lib/figma/geo-button/geo-button.types.d.ts +4 -0
  109. package/lib/figma/geo-checkbox/geo-checkbox.component.d.ts +12 -0
  110. package/lib/figma/geo-confirm-modal/geo-confirm-modal.component.d.ts +24 -0
  111. package/lib/figma/geo-confirm-modal/geo-confirm-modal.types.d.ts +5 -0
  112. package/lib/figma/geo-date-picker/geo-date-picker.component.d.ts +35 -0
  113. package/lib/figma/geo-date-picker/geo-date-picker.types.d.ts +2 -0
  114. package/lib/figma/geo-date-range-picker/geo-date-range-picker.component.d.ts +34 -0
  115. package/lib/figma/geo-date-range-picker/geo-date-range-picker.types.d.ts +2 -0
  116. package/lib/figma/geo-file-picker/geo-file-picker.component.d.ts +39 -0
  117. package/lib/figma/geo-file-picker/geo-file-picker.types.d.ts +4 -0
  118. package/lib/figma/geo-form-modal/geo-form-modal.component.d.ts +57 -0
  119. package/lib/figma/geo-icon/geo-icon.component.d.ts +19 -0
  120. package/lib/figma/geo-icon/geo-icon.types.d.ts +3 -0
  121. package/lib/figma/geo-input/geo-input.component.d.ts +37 -0
  122. package/lib/figma/geo-page-title/geo-page-title.component.d.ts +22 -0
  123. package/lib/figma/geo-pagination/geo-pagination.component.d.ts +21 -0
  124. package/lib/figma/geo-radio/geo-radio.component.d.ts +31 -0
  125. package/lib/figma/geo-radio/geo-radio.types.d.ts +9 -0
  126. package/lib/figma/geo-select/geo-select.component.d.ts +33 -0
  127. package/lib/figma/geo-select/geo-select.types.d.ts +7 -0
  128. package/lib/figma/geo-slider/geo-slider.component.d.ts +17 -0
  129. package/lib/figma/geo-status-tag/geo-status-tag.component.d.ts +18 -0
  130. package/lib/figma/geo-status-tag/geo-status-tag.types.d.ts +13 -0
  131. package/lib/figma/geo-step-form-layout/geo-step-form-layout.component.d.ts +67 -0
  132. package/lib/figma/geo-step-form-layout/geo-step-form-layout.types.d.ts +9 -0
  133. package/lib/figma/geo-stepper/geo-stepper.component.d.ts +42 -0
  134. package/lib/figma/geo-stepper/geo-stepper.types.d.ts +9 -0
  135. package/lib/figma/geo-table/geo-column-picker/geo-column-picker.component.d.ts +20 -0
  136. package/lib/figma/geo-table/geo-column-picker/geo-column-picker.storage.d.ts +5 -0
  137. package/lib/figma/geo-table/geo-column-picker/geo-column-picker.types.d.ts +17 -0
  138. package/lib/figma/geo-table/geo-row-actions/geo-row-actions.component.d.ts +21 -0
  139. package/lib/figma/geo-table/geo-row-actions/geo-row-actions.types.d.ts +13 -0
  140. package/lib/figma/geo-table/geo-table-filter/geo-table-filter.component.d.ts +75 -0
  141. package/lib/figma/geo-table/geo-table-pagination/geo-table-pagination.component.d.ts +33 -0
  142. package/lib/figma/geo-table/geo-table-toolbar/geo-table-toolbar.component.d.ts +24 -0
  143. package/lib/figma/geo-table/geo-table.component.d.ts +113 -0
  144. package/lib/figma/geo-table/geo-table.types.d.ts +47 -0
  145. package/lib/figma/geo-tabs/geo-tabs.component.d.ts +31 -0
  146. package/lib/figma/geo-tabs/geo-tabs.types.d.ts +7 -0
  147. package/lib/figma/geo-textarea/geo-textarea.component.d.ts +27 -0
  148. package/lib/figma/geo-toast/geo-toast.component.d.ts +23 -0
  149. package/lib/figma/geo-toast/geo-toast.service.d.ts +33 -0
  150. package/lib/figma/geo-toast/geo-toast.types.d.ts +45 -0
  151. package/lib/figma/geo-tree/geo-tree.component.d.ts +23 -0
  152. package/lib/figma/geo-tree/geo-tree.types.d.ts +12 -0
  153. package/lib/figma/geo-typography/geo-typography.component.d.ts +35 -0
  154. package/lib/figma/geo-typography/geo-typography.types.d.ts +12 -0
  155. package/lib/figma/geo-upload/geo-upload.component.d.ts +59 -0
  156. package/lib/figma/geo-upload/geo-upload.types.d.ts +13 -0
  157. package/lib/figma/index.d.ts +55 -0
  158. package/lib/ng-zorro/ng-zorro-antd.module.d.ts +76 -0
  159. package/lib/styles/tokens.d.ts +184 -0
  160. package/package.json +38 -0
  161. package/public-api.d.ts +3 -0
  162. package/src/lib/styles/design-tokens.scss +143 -0
  163. package/src/lib/styles/geo-toast-notification.scss +129 -0
  164. package/src/lib/styles/scrollbar.scss +38 -0
  165. package/src/lib/styles/theme.scss +153 -0
@@ -0,0 +1,65 @@
1
+ # geo-table-filter
2
+
3
+ > AI quick reference for **GeoTableFilterComponent**
4
+
5
+ ## Summary
6
+ Table filter bar with search + advanced filters.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTableFilterComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTableFilterComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-table-filter`
17
+
18
+ ## Category
19
+ `data`
20
+
21
+ ## When to use
22
+ Above geo-table for query/filter UX.
23
+
24
+ ## Do not use when
25
+ Standalone forms unrelated to tables.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `columns` | See component TS / Storybook Controls |
31
+ | `responsiveColumns` | See component TS / Storybook Controls |
32
+ | `responsiveCollapse` | See component TS / Storybook Controls |
33
+ | `mobileBreakpoint` | See component TS / Storybook Controls |
34
+ | `gap` | See component TS / Storybook Controls |
35
+ | `searchLabel` | See component TS / Storybook Controls |
36
+ | `searchLoading` | See component TS / Storybook Controls |
37
+ | `showAdvancedToggle` | See component TS / Storybook Controls |
38
+ | `showReset` | See component TS / Storybook Controls |
39
+ | `advancedExpanded` | See component TS / Storybook Controls |
40
+ | `advancedFilterCount` | See component TS / Storybook Controls |
41
+ | `filterToggleTitle` | See component TS / Storybook Controls |
42
+ | `resetTitle` | See component TS / Storybook Controls |
43
+
44
+ ## Outputs
45
+ | Output | Notes |
46
+ |--------|-------|
47
+ | `search` | EventEmitter |
48
+ | `reset` | EventEmitter |
49
+ | `advancedExpandedChange` | EventEmitter |
50
+
51
+ ## Example
52
+ ```html
53
+ <geo-table-filter (search)="onSearch()" (reset)="onReset()"></geo-table-filter>
54
+ ```
55
+
56
+ ## Source
57
+ `projects/geo-ui/src/lib/figma/geo-table/geo-table-filter/geo-table-filter.component.ts`
58
+
59
+ ## Storybook
60
+ GEO / related story for `geo-table-filter`
61
+
62
+ ## Rules for AI
63
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
64
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
65
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,59 @@
1
+ # geo-table-pagination
2
+
3
+ > AI quick reference for **GeoTablePaginationComponent**
4
+
5
+ ## Summary
6
+ Table-specific pagination footer (range label + size).
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTablePaginationComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTablePaginationComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-table-pagination`
17
+
18
+ ## Category
19
+ `data`
20
+
21
+ ## When to use
22
+ Custom table footers; geo-table has built-in paging too.
23
+
24
+ ## Do not use when
25
+ Non-table paging — use geo-pagination.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `pageIndex` | See component TS / Storybook Controls |
31
+ | `pageSize` | See component TS / Storybook Controls |
32
+ | `total` | See component TS / Storybook Controls |
33
+ | `pageSizeOptions` | See component TS / Storybook Controls |
34
+ | `showSizeChanger` | See component TS / Storybook Controls |
35
+ | `hideOnSinglePage` | See component TS / Storybook Controls |
36
+ | `showTotalRange` | See component TS / Storybook Controls |
37
+ | `sizeLabel` | See component TS / Storybook Controls |
38
+
39
+ ## Outputs
40
+ | Output | Notes |
41
+ |--------|-------|
42
+ | `pageIndexChange` | EventEmitter |
43
+ | `pageSizeChange` | EventEmitter |
44
+
45
+ ## Example
46
+ ```html
47
+ <geo-table-pagination [pageIndex]="1" [pageSize]="10" [total]="200"></geo-table-pagination>
48
+ ```
49
+
50
+ ## Source
51
+ `projects/geo-ui/src/lib/figma/geo-table/geo-table-pagination/geo-table-pagination.component.ts`
52
+
53
+ ## Storybook
54
+ GEO / related story for `geo-table-pagination`
55
+
56
+ ## Rules for AI
57
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
58
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
59
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,64 @@
1
+ # geo-table-toolbar
2
+
3
+ > AI quick reference for **GeoTableToolbarComponent**
4
+
5
+ ## Summary
6
+ Table toolbar: result count, delete/export/add, column toggle.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTableToolbarComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTableToolbarComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-table-toolbar`
17
+
18
+ ## Category
19
+ `data`
20
+
21
+ ## When to use
22
+ Above geo-table for bulk actions.
23
+
24
+ ## Do not use when
25
+ Page header actions unrelated to table.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `resultLabel` | See component TS / Storybook Controls |
31
+ | `resultCount` | See component TS / Storybook Controls |
32
+ | `selectedCount` | See component TS / Storybook Controls |
33
+ | `showDelete` | See component TS / Storybook Controls |
34
+ | `showExport` | See component TS / Storybook Controls |
35
+ | `showColumnToggle` | See component TS / Storybook Controls |
36
+ | `showAdd` | See component TS / Storybook Controls |
37
+ | `addLabel` | See component TS / Storybook Controls |
38
+ | `columnItems` | See component TS / Storybook Controls |
39
+ | `columnStorageKey` | See component TS / Storybook Controls |
40
+
41
+ ## Outputs
42
+ | Output | Notes |
43
+ |--------|-------|
44
+ | `deleteClick` | EventEmitter |
45
+ | `exportClick` | EventEmitter |
46
+ | `toggleColumns` | EventEmitter |
47
+ | `columnApply` | EventEmitter |
48
+ | `addClick` | EventEmitter |
49
+
50
+ ## Example
51
+ ```html
52
+ <geo-table-toolbar [resultCount]="20" [showAdd]="true" (addClick)="add()"></geo-table-toolbar>
53
+ ```
54
+
55
+ ## Source
56
+ `projects/geo-ui/src/lib/figma/geo-table/geo-table-toolbar/geo-table-toolbar.component.ts`
57
+
58
+ ## Storybook
59
+ GEO / related story for `geo-table-toolbar`
60
+
61
+ ## Rules for AI
62
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
63
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
64
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,98 @@
1
+ # geo-table
2
+
3
+ > AI quick reference for **GeoTableComponent**
4
+
5
+ ## Summary
6
+ Data table with pagination, selection, row actions, mobile card mode.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTableComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTableComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-table`
17
+
18
+ ## Category
19
+ `data`
20
+
21
+ ## When to use
22
+ List/index screens with structured rows.
23
+
24
+ ## Do not use when
25
+ Simple key-value detail — use typography/grid.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `columns` | See component TS / Storybook Controls |
31
+ | `data` | See component TS / Storybook Controls |
32
+ | `loading` | See component TS / Storybook Controls |
33
+ | `bordered` | See component TS / Storybook Controls |
34
+ | `outerBordered` | See component TS / Storybook Controls |
35
+ | `size` | See component TS / Storybook Controls |
36
+ | `striped` | See component TS / Storybook Controls |
37
+ | `clickable` | See component TS / Storybook Controls |
38
+ | `tableLayout` | See component TS / Storybook Controls |
39
+ | `showPagination` | See component TS / Storybook Controls |
40
+ | `frontPagination` | See component TS / Storybook Controls |
41
+ | `pageIndex` | See component TS / Storybook Controls |
42
+ | `pageSize` | See component TS / Storybook Controls |
43
+ | `total` | See component TS / Storybook Controls |
44
+ | `pageSizeOptions` | See component TS / Storybook Controls |
45
+ | `showSizeChanger` | See component TS / Storybook Controls |
46
+ | `showQuickJumper` | See component TS / Storybook Controls |
47
+ | `hideOnSinglePage` | See component TS / Storybook Controls |
48
+ | `simplePagination` | See component TS / Storybook Controls |
49
+ | `paginationPosition` | See component TS / Storybook Controls |
50
+ | `scroll` | See component TS / Storybook Controls |
51
+ | `scrollY` | See component TS / Storybook Controls |
52
+ | `autoScroll` | See component TS / Storybook Controls |
53
+ | `tableTitle` | See component TS / Storybook Controls |
54
+ | `footer` | See component TS / Storybook Controls |
55
+ | `emptyText` | See component TS / Storybook Controls |
56
+ | `showTotalRange` | See component TS / Storybook Controls |
57
+ | `selectable` | See component TS / Storybook Controls |
58
+ | `rowKey` | See component TS / Storybook Controls |
59
+ | `selectedKeys` | See component TS / Storybook Controls |
60
+ | `mobileTitleKey` | See component TS / Storybook Controls |
61
+ | `mobileCardView` | See component TS / Storybook Controls |
62
+
63
+ ## Outputs
64
+ | Output | Notes |
65
+ |--------|-------|
66
+ | `rowClick` | EventEmitter |
67
+ | `rowEdit` | EventEmitter |
68
+ | `rowMore` | EventEmitter |
69
+ | `rowAction` | EventEmitter |
70
+ | `pageIndexChange` | EventEmitter |
71
+ | `pageSizeChange` | EventEmitter |
72
+ | `queryParams` | EventEmitter |
73
+ | `currentPageDataChange` | EventEmitter |
74
+ | `selectedKeysChange` | EventEmitter |
75
+ | `selectionChange` | EventEmitter |
76
+
77
+ ## Example
78
+ ```html
79
+ <geo-table
80
+ [columns]="columns"
81
+ [data]="rows"
82
+ [total]="total"
83
+ [pageIndex]="page"
84
+ [pageSize]="10"
85
+ (pageIndexChange)="onPage($event)"
86
+ ></geo-table>
87
+ ```
88
+
89
+ ## Source
90
+ `projects/geo-ui/src/lib/figma/geo-table/geo-table.component.ts`
91
+
92
+ ## Storybook
93
+ GEO / related story for `geo-table`
94
+
95
+ ## Rules for AI
96
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
97
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
98
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,62 @@
1
+ # geo-tabs
2
+
3
+ > AI quick reference for **GeoTabsComponent**
4
+
5
+ ## Summary
6
+ Tab set with brand ink bar; content via ng-template uiTab.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTabsComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTabsComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-tabs`
17
+
18
+ ## Category
19
+ `navigation`
20
+
21
+ ## When to use
22
+ Peer sections on one page (info / history / files).
23
+
24
+ ## Do not use when
25
+ Ordered wizard steps — use geo-stepper.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `items` | See component TS / Storybook Controls |
31
+ | `type` | See component TS / Storybook Controls |
32
+ | `size` | See component TS / Storybook Controls |
33
+ | `selectedIndex` | See component TS / Storybook Controls |
34
+ | `selectedKey` | See component TS / Storybook Controls |
35
+ | `centered` | See component TS / Storybook Controls |
36
+ | `animated` | See component TS / Storybook Controls |
37
+
38
+ ## Outputs
39
+ | Output | Notes |
40
+ |--------|-------|
41
+ | `selectedIndexChange` | EventEmitter |
42
+ | `selectedKeyChange` | EventEmitter |
43
+ | `tabChange` | EventEmitter |
44
+
45
+ ## Example
46
+ ```html
47
+ <geo-tabs [items]="[{ key: 'a', title: 'Tab A' }, { key: 'b', title: 'Tab B' }]" [(selectedIndex)]="i">
48
+ <ng-template uiTab="a">Content A</ng-template>
49
+ <ng-template uiTab="b">Content B</ng-template>
50
+ </geo-tabs>
51
+ ```
52
+
53
+ ## Source
54
+ `projects/geo-ui/src/lib/figma/geo-tabs/geo-tabs.component.ts`
55
+
56
+ ## Storybook
57
+ GEO / related story for `geo-tabs`
58
+
59
+ ## Rules for AI
60
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
61
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
62
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,59 @@
1
+ # geo-textarea
2
+
3
+ > AI quick reference for **GeoTextareaComponent**
4
+
5
+ ## Summary
6
+ Multi-line text field with label/validation.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTextareaComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTextareaComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-textarea`
17
+
18
+ ## Category
19
+ `forms`
20
+
21
+ ## When to use
22
+ Notes, descriptions, long text.
23
+
24
+ ## Do not use when
25
+ Single-line — use geo-input.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `label` | See component TS / Storybook Controls |
31
+ | `placeholder` | See component TS / Storybook Controls |
32
+ | `rows` | See component TS / Storybook Controls |
33
+ | `disabled` | See component TS / Storybook Controls |
34
+ | `required` | See component TS / Storybook Controls |
35
+ | `error` | See component TS / Storybook Controls |
36
+ | `errorMessage` | See component TS / Storybook Controls |
37
+ | `maxlength` | See component TS / Storybook Controls |
38
+ | `block` | See component TS / Storybook Controls |
39
+
40
+ ## Outputs
41
+ | Output | Notes |
42
+ |--------|-------|
43
+ | `valueChange` | EventEmitter |
44
+
45
+ ## Example
46
+ ```html
47
+ <geo-textarea label="Ghi chú" [rows]="4" [block]="true" [(ngModel)]="note"></geo-textarea>
48
+ ```
49
+
50
+ ## Source
51
+ `projects/geo-ui/src/lib/figma/geo-textarea/geo-textarea.component.ts`
52
+
53
+ ## Storybook
54
+ GEO / related story for `geo-textarea`
55
+
56
+ ## Rules for AI
57
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
58
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
59
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,61 @@
1
+ # geo-toast
2
+
3
+ > AI quick reference for **GeoToastComponent**
4
+
5
+ ## Summary
6
+ Toast UI; prefer GeoToastService for app-wide notifications.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoToastComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoToastComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-toast`
17
+
18
+ ## Category
19
+ `feedback`
20
+
21
+ ## When to use
22
+ Transient success/error after actions.
23
+
24
+ ## Do not use when
25
+ Persistent inline messages — use geo-alert.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `type` | See component TS / Storybook Controls |
31
+ | `title` | See component TS / Storybook Controls |
32
+ | `message` | See component TS / Storybook Controls |
33
+ | `closable` | See component TS / Storybook Controls |
34
+ | `showIcon` | See component TS / Storybook Controls |
35
+ | `visible` | See component TS / Storybook Controls |
36
+ | `icon` | See component TS / Storybook Controls |
37
+
38
+ ## Outputs
39
+ | Output | Notes |
40
+ |--------|-------|
41
+ | `closed` | EventEmitter |
42
+
43
+ ## Example
44
+ ```html
45
+ // Preferred
46
+ this.toast.success('Thành công!', 'Đã lưu hồ sơ.');
47
+
48
+ // Or static
49
+ <geo-toast type="success" title="Thành công!" message="Đã lưu."></geo-toast>
50
+ ```
51
+
52
+ ## Source
53
+ `projects/geo-ui/src/lib/figma/geo-toast/geo-toast.component.ts`
54
+
55
+ ## Storybook
56
+ GEO / related story for `geo-toast`
57
+
58
+ ## Rules for AI
59
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
60
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
61
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,58 @@
1
+ # geo-tree
2
+
3
+ > AI quick reference for **GeoTreeComponent**
4
+
5
+ ## Summary
6
+ Tree view with checkable / expandable nodes.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTreeComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTreeComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-tree`
17
+
18
+ ## Category
19
+ `data`
20
+
21
+ ## When to use
22
+ Hierarchy selection (org, folder, category).
23
+
24
+ ## Do not use when
25
+ Flat lists — use geo-table or select.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `nodes` | See component TS / Storybook Controls |
31
+ | `checkable` | See component TS / Storybook Controls |
32
+ | `checkedKeys` | See component TS / Storybook Controls |
33
+ | `expandedKeys` | See component TS / Storybook Controls |
34
+ | `showLine` | See component TS / Storybook Controls |
35
+ | `blockNode` | See component TS / Storybook Controls |
36
+
37
+ ## Outputs
38
+ | Output | Notes |
39
+ |--------|-------|
40
+ | `checkedKeysChange` | EventEmitter |
41
+ | `expandedKeysChange` | EventEmitter |
42
+ | `nodeClick` | EventEmitter |
43
+
44
+ ## Example
45
+ ```html
46
+ <geo-tree [nodes]="nodes" [checkable]="true" [(checkedKeys)]="checked"></geo-tree>
47
+ ```
48
+
49
+ ## Source
50
+ `projects/geo-ui/src/lib/figma/geo-tree/geo-tree.component.ts`
51
+
52
+ ## Storybook
53
+ GEO / related story for `geo-tree`
54
+
55
+ ## Rules for AI
56
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
57
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
58
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,57 @@
1
+ # geo-typography
2
+
3
+ > AI quick reference for **GeoTypographyComponent**
4
+
5
+ ## Summary
6
+ Text with GEO type scale (h1–tiny) and semantic colors.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoTypographyComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoTypographyComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-typography`
17
+
18
+ ## Category
19
+ `display`
20
+
21
+ ## When to use
22
+ All readable text; prefer over raw h1/p with custom CSS.
23
+
24
+ ## Do not use when
25
+ Do not hardcode font-size/color — use variant/color props.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `variant` | See component TS / Storybook Controls |
31
+ | `color` | See component TS / Storybook Controls |
32
+ | `strong` | See component TS / Storybook Controls |
33
+ | `underline` | See component TS / Storybook Controls |
34
+ | `delete` | See component TS / Storybook Controls |
35
+ | `mark` | See component TS / Storybook Controls |
36
+ | `code` | See component TS / Storybook Controls |
37
+ | `disabled` | See component TS / Storybook Controls |
38
+
39
+ ## Outputs
40
+ _None_
41
+
42
+ ## Example
43
+ ```html
44
+ <geo-typography variant="h3">Tiêu đề</geo-typography>
45
+ <geo-typography variant="body" color="secondary">Mô tả phụ</geo-typography>
46
+ ```
47
+
48
+ ## Source
49
+ `projects/geo-ui/src/lib/figma/geo-typography/geo-typography.component.ts`
50
+
51
+ ## Storybook
52
+ GEO / related story for `geo-typography`
53
+
54
+ ## Rules for AI
55
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
56
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
57
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.
@@ -0,0 +1,78 @@
1
+ # geo-upload
2
+
3
+ > AI quick reference for **GeoUploadComponent**
4
+
5
+ ## Summary
6
+ Drag-drop upload zone with progress list.
7
+
8
+ ## Import
9
+ ```ts
10
+ import { GeoUploadComponent } from '@geoit/ui';
11
+ ```
12
+
13
+ Standalone component — add to `imports: [GeoUploadComponent]` of the consuming standalone component/module.
14
+
15
+ ## Selector
16
+ `geo-upload`
17
+
18
+ ## Category
19
+ `forms`
20
+
21
+ ## When to use
22
+ Multi-file upload with progress UI.
23
+
24
+ ## Do not use when
25
+ Simple one-file form field — use geo-file-picker.
26
+
27
+ ## Inputs
28
+ | Input | Notes |
29
+ |-------|-------|
30
+ | `action` | See component TS / Storybook Controls |
31
+ | `accept` | See component TS / Storybook Controls |
32
+ | `maxSize` | See component TS / Storybook Controls |
33
+ | `multiple` | See component TS / Storybook Controls |
34
+ | `disabled` | See component TS / Storybook Controls |
35
+ | `error` | See component TS / Storybook Controls |
36
+ | `errorMessage` | See component TS / Storybook Controls |
37
+ | `hint` | See component TS / Storybook Controls |
38
+ | `titlePrefix` | See component TS / Storybook Controls |
39
+ | `selectText` | See component TS / Storybook Controls |
40
+ | `titleSuffix` | See component TS / Storybook Controls |
41
+ | `listTitle` | See component TS / Storybook Controls |
42
+ | `showListTitle` | See component TS / Storybook Controls |
43
+ | `fileList` | See component TS / Storybook Controls |
44
+ | `headers` | See component TS / Storybook Controls |
45
+ | `data` | See component TS / Storybook Controls |
46
+ | `name` | See component TS / Storybook Controls |
47
+ | `withCredentials` | See component TS / Storybook Controls |
48
+ | `directory` | See component TS / Storybook Controls |
49
+ | `customRequest` | See component TS / Storybook Controls |
50
+ | `beforeUpload` | See component TS / Storybook Controls |
51
+
52
+ ## Outputs
53
+ | Output | Notes |
54
+ |--------|-------|
55
+ | `fileListChange` | EventEmitter |
56
+ | `change` | EventEmitter |
57
+ | `remove` | EventEmitter |
58
+ | `reject` | EventEmitter |
59
+
60
+ ## Example
61
+ ```html
62
+ <geo-upload
63
+ accept=".png,.jpg"
64
+ [maxSize]="1048576"
65
+ [(fileList)]="files"
66
+ ></geo-upload>
67
+ ```
68
+
69
+ ## Source
70
+ `projects/geo-ui/src/lib/figma/geo-upload/geo-upload.component.ts`
71
+
72
+ ## Storybook
73
+ GEO / related story for `geo-upload`
74
+
75
+ ## Rules for AI
76
+ - Prefer this component over raw ng-zorro / HTML equivalents for the same UI role.
77
+ - Use design tokens (`var(--geo-*)`) — never hardcode brand colors or radius.
78
+ - Match props to Storybook Controls / this doc; do not invent unsupported inputs.