@geoit/ui 0.0.5 → 0.0.7

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 (53) hide show
  1. package/README.md +45 -4
  2. package/ai/AGENTS.md +122 -42
  3. package/ai/README.md +29 -29
  4. package/ai/catalog.json +328 -194
  5. package/ai/components/geo-chart.md +18 -6
  6. package/ai/components/geo-dashboard.md +17 -6
  7. package/ai/components/geo-empty-state.md +5 -5
  8. package/ai/components/geo-feedback-form.md +5 -5
  9. package/ai/components/geo-forgot-password.md +8 -5
  10. package/ai/components/geo-list-page.md +8 -5
  11. package/ai/components/geo-login.md +18 -6
  12. package/ai/components/geo-map-admin-filter.md +11 -5
  13. package/ai/components/geo-map-basemap-switcher.md +9 -5
  14. package/ai/components/geo-map-help.md +5 -5
  15. package/ai/components/geo-map-layer-card.md +5 -5
  16. package/ai/components/geo-map-layer-panel.md +5 -5
  17. package/ai/components/geo-map-layers-drawer.md +5 -5
  18. package/ai/components/geo-map-legend.md +6 -5
  19. package/ai/components/geo-map-locate.md +5 -5
  20. package/ai/components/geo-map-location-chip.md +5 -5
  21. package/ai/components/geo-map-measure.md +5 -5
  22. package/ai/components/geo-map-opacity.md +5 -5
  23. package/ai/components/geo-map-parcel-popup.md +10 -5
  24. package/ai/components/geo-map-search.md +11 -5
  25. package/ai/components/geo-map-shell.md +49 -6
  26. package/ai/components/geo-map-snapshot.md +5 -5
  27. package/ai/components/geo-map-swipe.md +5 -5
  28. package/ai/components/geo-map-toolbar.md +10 -5
  29. package/ai/components/geo-map-zoom.md +5 -5
  30. package/ai/components/geo-map.md +16 -9
  31. package/ai/components/geo-overlap-result.md +5 -5
  32. package/ai/components/geo-page-header.md +5 -5
  33. package/ai/components/geo-slider.md +1 -1
  34. package/ai/components/geo-stat-card.md +5 -5
  35. package/ai/components/geo-tree.md +2 -0
  36. package/ai/mockup.html +2 -2
  37. package/ai/recipes.md +86 -0
  38. package/esm2022/lib/figma/geo-chart/geo-chart.component.mjs +14 -3
  39. package/esm2022/lib/figma/geo-list-page/geo-list-page.component.mjs +3 -3
  40. package/esm2022/lib/figma/geo-map/chrome/geo-map-admin-filter/geo-map-admin-filter.component.mjs +5 -3
  41. package/esm2022/lib/figma/geo-map/chrome/geo-map-legend/geo-map-legend.component.mjs +5 -3
  42. package/esm2022/lib/figma/geo-map/chrome/geo-map-shell/geo-map-shell.component.mjs +22 -3
  43. package/esm2022/lib/figma/geo-map/geo-map.constants.mjs +13 -1
  44. package/esm2022/lib/figma/geo-tree/geo-tree.component.mjs +17 -3
  45. package/fesm2022/geoit-ui.mjs +72 -13
  46. package/fesm2022/geoit-ui.mjs.map +1 -1
  47. package/lib/figma/geo-chart/geo-chart.component.d.ts +9 -0
  48. package/lib/figma/geo-map/chrome/geo-map-admin-filter/geo-map-admin-filter.component.d.ts +3 -1
  49. package/lib/figma/geo-map/chrome/geo-map-legend/geo-map-legend.component.d.ts +3 -1
  50. package/lib/figma/geo-map/chrome/geo-map-shell/geo-map-shell.component.d.ts +19 -2
  51. package/lib/figma/geo-map/geo-map.constants.d.ts +6 -0
  52. package/lib/figma/geo-tree/geo-tree.component.d.ts +5 -1
  53. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoChartComponent
8
+ Bar / donut chart for dashboard statistics (ApexCharts).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,14 +23,17 @@ imports: [GeoChartComponent]
23
23
  `geo-chart`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `data`
27
27
 
28
28
  ## When to use
29
-
29
+ KPI breakdowns on dashboard pages.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Maps / spatial use geo-map; single KPI — use geo-stat-card.
33
33
 
34
+ ## How to use
35
+
36
+ Biểu đồ bar/donut cho dashboard. [data] = { label, value, color? }[]; (segmentClick) khi click lát.
34
37
 
35
38
  ## Binding
36
39
 
@@ -84,12 +87,21 @@ export type GeoChartSort = 'none' | 'asc' | 'desc';
84
87
 
85
88
  ## Examples
86
89
 
87
- ### Example
90
+ ### Bar
88
91
 
89
92
  ```html
90
- <geo-chart></geo-chart>
93
+ <geo-chart type="bar" title="Theo xã" [data]="wardData" [height]="280"></geo-chart>
91
94
  ```
92
95
 
96
+ ## Tips
97
+
98
+ - Màu ưu tiên CSS var(--geo-color-*).
99
+ - KPI đơn → geo-stat-card; ghép sẵn → geo-dashboard.
100
+ ## Related components
101
+
102
+ - [`geo-stat-card`](./geo-stat-card.md)
103
+ - [`geo-dashboard`](./geo-dashboard.md)
104
+ - [`geo-empty-state`](./geo-empty-state.md)
93
105
  ## Package path
94
106
  `node_modules/@geoit/ui/ai/components/geo-chart.md`
95
107
 
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoDashboardComponent
8
+ Composed dashboard: period, KPI cards, ward/mismatch charts.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,14 +23,17 @@ imports: [GeoDashboardComponent]
23
23
  `geo-dashboard`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `layout`
27
27
 
28
28
  ## When to use
29
-
29
+ TCQH overview pages (thống kê nhanh).
30
30
 
31
31
  ## Do not use when
32
-
32
+ Custom layouts compose geo-stat-card + geo-chart yourself.
33
33
 
34
+ ## How to use
35
+
36
+ Dashboard ghép sẵn: stats + biểu đồ xã + lệch kỳ. [(period)] điều khiển kỳ thống kê.
34
37
 
35
38
  ## Binding
36
39
 
@@ -72,12 +75,20 @@ export interface GeoDashboardPeriodChange {
72
75
 
73
76
  ## Examples
74
77
 
75
- ### Example
78
+ ### Basic
76
79
 
77
80
  ```html
78
- <geo-dashboard></geo-dashboard>
81
+ <geo-dashboard [stats]="stats" [wardData]="wards" [mismatchData]="mismatch" [(period)]="period"></geo-dashboard>
79
82
  ```
80
83
 
84
+ ## Tips
85
+
86
+ - Tự layout → geo-stat-card + geo-chart.
87
+ ## Related components
88
+
89
+ - [`geo-stat-card`](./geo-stat-card.md)
90
+ - [`geo-chart`](./geo-chart.md)
91
+ - [`geo-page-header`](./geo-page-header.md)
81
92
  ## Package path
82
93
  `node_modules/@geoit/ui/ai/components/geo-dashboard.md`
83
94
 
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoEmptyStateComponent
8
+ Empty region placeholder (icon + title + optional action).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoEmptyStateComponent]
23
23
  `geo-empty-state`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `feedback`
27
27
 
28
28
  ## When to use
29
-
29
+ No data / no results areas inside pages or cards.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Inline form validation use field errorMessage / geo-alert.
33
33
 
34
34
 
35
35
  ## Binding
@@ -59,7 +59,7 @@ Every supported Input (do not invent others):
59
59
  ### Example
60
60
 
61
61
  ```html
62
- <geo-empty-state></geo-empty-state>
62
+ <geo-empty-state title="Chưa có dữ liệu" description="Thử đổi bộ lọc."></geo-empty-state>
63
63
  ```
64
64
 
65
65
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoFeedbackFormComponent
8
+ Citizen feedback / phản ánh form with validation.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoFeedbackFormComponent]
23
23
  `geo-feedback-form`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `forms`
27
27
 
28
28
  ## When to use
29
-
29
+ Public feedback submission pages.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Admin feedback inbox use geo-list-page + geo-table.
33
33
 
34
34
 
35
35
  ## Binding
@@ -81,7 +81,7 @@ export interface GeoFeedbackReplyPayload {
81
81
  ### Example
82
82
 
83
83
  ```html
84
- <geo-feedback-form></geo-feedback-form>
84
+ <geo-feedback-form (submittedFeedback)="send($event)"></geo-feedback-form>
85
85
  ```
86
86
 
87
87
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoForgotPasswordComponent
8
+ Forgot-password form (email + submit / back to login).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoForgotPasswordComponent]
23
23
  `geo-forgot-password`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `forms`
27
27
 
28
28
  ## When to use
29
-
29
+ Password reset entry page.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Inside login card navigate to a dedicated route.
33
33
 
34
34
 
35
35
  ## Binding
@@ -62,7 +62,10 @@ Every supported Input (do not invent others):
62
62
  ### Example
63
63
 
64
64
  ```html
65
- <geo-forgot-password></geo-forgot-password>
65
+ <geo-forgot-password
66
+ (submitEmail)="reset($event)"
67
+ (backToLogin)="goLogin()"
68
+ ></geo-forgot-password>
66
69
  ```
67
70
 
68
71
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoListPageComponent
8
+ List page chrome: title + breadcrumb shell for admin CRUD screens.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoListPageComponent]
23
23
  `geo-list-page`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `layout`
27
27
 
28
28
  ## When to use
29
-
29
+ Wrap table toolbars on admin list pages.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Map portals use geo-map-shell; dashboards — use geo-dashboard.
33
33
 
34
34
 
35
35
  ## Binding
@@ -56,7 +56,10 @@ _None_
56
56
  ### Example
57
57
 
58
58
  ```html
59
- <geo-list-page></geo-list-page>
59
+ <geo-list-page title="Quản lý người dùng" [breadcrumb]="crumbs">
60
+ <geo-table-toolbar ...></geo-table-toolbar>
61
+ <geo-table ...></geo-table>
62
+ </geo-list-page>
60
63
  ```
61
64
 
62
65
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoLoginComponent
8
+ Login form (username, password, captcha, remember).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,14 +23,17 @@ imports: [GeoLoginComponent]
23
23
  `geo-login`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `forms`
27
27
 
28
28
  ## When to use
29
-
29
+ Specialist / admin login page.
30
30
 
31
31
  ## Do not use when
32
-
32
+ SSO-only flows without local credentials.
33
33
 
34
+ ## How to use
35
+
36
+ Form đăng nhập: username/password/captcha/remember. (submitLogin) payload; (forgotPassword) điều hướng quên mật khẩu.
34
37
 
35
38
  ## Binding
36
39
 
@@ -75,12 +78,21 @@ export interface GeoLoginPayload {
75
78
 
76
79
  ## Examples
77
80
 
78
- ### Example
81
+ ### Basic
79
82
 
80
83
  ```html
81
- <geo-login></geo-login>
84
+ <geo-login (submitLogin)="login($event)" (forgotPassword)="goForgot()"></geo-login>
82
85
  ```
83
86
 
87
+ ## Tips
88
+
89
+ - Cần FormsModule + styles tokens.
90
+ - Ghép geo-forgot-password trên route riêng.
91
+ ## Related components
92
+
93
+ - [`geo-forgot-password`](./geo-forgot-password.md)
94
+ - [`geo-input`](./geo-input.md)
95
+ - [`geo-button`](./geo-button.md)
84
96
  ## Package path
85
97
  `node_modules/@geoit/ui/ai/components/geo-login.md`
86
98
 
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapAdminFilterComponent
8
+ Administrative unit tree filter (ĐVHC) for map extent.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapAdminFilterComponent]
23
23
  `geo-map-admin-filter`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Filter map by tỉnh/huyện/xã; included in geo-map-shell.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Generic trees outside map use geo-tree.
33
33
 
34
34
 
35
35
  ## Binding
@@ -45,6 +45,7 @@ Every supported Input (do not invent others):
45
45
  | `open` | `boolean` | `false` | Two-way `model()` (supports banana binding). |
46
46
  | `title` | `string` | `'Đơn vị hành chính'` | — |
47
47
  | `nodes` | `GeoTreeNode[]` | `[]` | — |
48
+ | `selectionMode` | `'single' \| 'multi'` | `'multi'` | `single` — chọn đúng 1 xã/phường (BR-06-03); `multi` — checkbox nhiều cấp (mặc định). |
48
49
  | `checkedKeys` | `Array<string \| number>` | `[]` | Two-way `model()` (supports banana binding). |
49
50
  | `expandedKeys` | `Array<string \| number>` | `[]` | Two-way `model()` (supports banana binding). |
50
51
 
@@ -64,7 +65,12 @@ Every supported Input (do not invent others):
64
65
  ### Example
65
66
 
66
67
  ```html
67
- <geo-map-admin-filter></geo-map-admin-filter>
68
+ <geo-map-admin-filter
69
+ [(open)]="adminOpen"
70
+ [nodes]="adminNodes"
71
+ [(checkedKeys)]="checked"
72
+ (apply)="applyAdmin($event)"
73
+ ></geo-map-admin-filter>
68
74
  ```
69
75
 
70
76
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapBasemapSwitcherComponent
8
+ Basemap preview chip (e.g. street ↔ satellite).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapBasemapSwitcherComponent]
23
23
  `geo-map-basemap-switcher`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Bottom-right basemap toggle; included in geo-map-shell.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Programmatic basemap only set geo-map [basemap] / shell basemapId.
33
33
 
34
34
 
35
35
  ## Binding
@@ -59,7 +59,11 @@ Every supported Input (do not invent others):
59
59
  ### Example
60
60
 
61
61
  ```html
62
- <geo-map-basemap-switcher></geo-map-basemap-switcher>
62
+ <geo-map-basemap-switcher
63
+ [options]="basemapOptions"
64
+ [(selectedId)]="basemapId"
65
+ (basemapChange)="onBasemap($event)"
66
+ ></geo-map-basemap-switcher>
63
67
  ```
64
68
 
65
69
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapHelpComponent
8
+ Map help / hướng dẫn popover with sections.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapHelpComponent]
23
23
  `geo-map-help`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Help affordance on map chrome.
30
30
 
31
31
  ## Do not use when
32
-
32
+ App-wide help pages use normal content pages.
33
33
 
34
34
 
35
35
  ## Binding
@@ -56,7 +56,7 @@ _None_
56
56
  ### Example
57
57
 
58
58
  ```html
59
- <geo-map-help></geo-map-help>
59
+ <geo-map-help [(open)]="helpOpen" [sections]="helpSections"></geo-map-help>
60
60
  ```
61
61
 
62
62
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapLayerCardComponent
8
+ Basemap / layer preview card (thumbnail + title).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapLayerCardComponent]
23
23
  `geo-map-layer-card`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Layer pickers and basemap grids.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Full layer management use geo-map-layer-panel.
33
33
 
34
34
 
35
35
  ## Binding
@@ -57,7 +57,7 @@ Every supported Input (do not invent others):
57
57
  ### Example
58
58
 
59
59
  ```html
60
- <geo-map-layer-card></geo-map-layer-card>
60
+ <geo-map-layer-card title="Đường phố" [previewUrl]="url" (clicked)="select()"></geo-map-layer-card>
61
61
  ```
62
62
 
63
63
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapLayerPanelComponent
8
+ Layer list with visibility / opacity / group selection.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapLayerPanelComponent]
23
23
  `geo-map-layer-panel`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Standalone layer manager or inside geo-map-layers-drawer.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Single opacity control use geo-map-opacity.
33
33
 
34
34
 
35
35
  ## Binding
@@ -59,7 +59,7 @@ Every supported Input (do not invent others):
59
59
  ### Example
60
60
 
61
61
  ```html
62
- <geo-map-layer-panel></geo-map-layer-panel>
62
+ <geo-map-layer-panel [layers]="layers" [controller]="ctrl" [embedded]="true"></geo-map-layer-panel>
63
63
  ```
64
64
 
65
65
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapLayersDrawerComponent
8
+ Popover/drawer hosting the layer panel (“Lớp bản đồ”).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapLayersDrawerComponent]
23
23
  `geo-map-layers-drawer`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Portal layer UI; included in geo-map-shell.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Always-visible side panel embed geo-map-layer-panel directly.
33
33
 
34
34
 
35
35
  ## Binding
@@ -62,7 +62,7 @@ Every supported Input (do not invent others):
62
62
  ### Example
63
63
 
64
64
  ```html
65
- <geo-map-layers-drawer></geo-map-layers-drawer>
65
+ <geo-map-layers-drawer [(open)]="layersOpen" [layers]="layers" [controller]="ctrl"></geo-map-layers-drawer>
66
66
  ```
67
67
 
68
68
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapLegendComponent
8
+ Map legend popover / panel with color swatches.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapLegendComponent]
23
23
  `geo-map-legend`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Show thematic legend; geo-map-shell includes this.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Non-map legends in dashboards use static markup / geo-status-tag.
33
33
 
34
34
 
35
35
  ## Binding
@@ -44,6 +44,7 @@ Every supported Input (do not invent others):
44
44
  |-------|------|---------|-------------|
45
45
  | `title` | `string` | `'Chú giải'` | — |
46
46
  | `items` | `GeoMapLegendItem[]` | `[]` | — |
47
+ | `catalogMissing` | `boolean` | `false` | True khi danh mục chú giải không tải được (`ERR_MAP_LEGEND_CATALOG_MISSING`). |
47
48
  | `open` | `boolean` | `false` | Two-way `model()` (supports banana binding). |
48
49
 
49
50
  ## Outputs
@@ -58,7 +59,7 @@ Every supported Input (do not invent others):
58
59
  ### Example
59
60
 
60
61
  ```html
61
- <geo-map-legend></geo-map-legend>
62
+ <geo-map-legend [(open)]="legendOpen" [items]="legendItems"></geo-map-legend>
62
63
  ```
63
64
 
64
65
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapLocateComponent
8
+ Geolocation button (browser GPS) for the map view.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapLocateComponent]
23
23
  `geo-map-locate`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Locate-me control on custom map chrome.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Inside geo-map-shell (already wired) unless building a custom shell.
33
33
 
34
34
 
35
35
  ## Binding
@@ -59,7 +59,7 @@ Every supported Input (do not invent others):
59
59
  ### Example
60
60
 
61
61
  ```html
62
- <geo-map-locate></geo-map-locate>
62
+ <geo-map-locate [controller]="ctrl" (denied)="onDenied()"></geo-map-locate>
63
63
  ```
64
64
 
65
65
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapLocationChipComponent
8
+ Location breadcrumb chip shown on the map (ward / province).
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapLocationChipComponent]
23
23
  `geo-map-location-chip`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Show current admin context on map chrome.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Page breadcrumb use geo-breadcrumb.
33
33
 
34
34
 
35
35
  ## Binding
@@ -55,7 +55,7 @@ _None_
55
55
  ### Example
56
56
 
57
57
  ```html
58
- <geo-map-location-chip></geo-map-location-chip>
58
+ <geo-map-location-chip label="Phường 1 — TP Đà Lạt, Lâm Đồng"></geo-map-location-chip>
59
59
  ```
60
60
 
61
61
  ## Package path
@@ -5,7 +5,7 @@
5
5
  > Read this file before using the component. Use **only** the Inputs/Outputs listed here.
6
6
 
7
7
  ## Summary
8
- GeoMapMeasureComponent
8
+ Distance / area measure interaction on the map.
9
9
 
10
10
  ## Import
11
11
 
@@ -23,13 +23,13 @@ imports: [GeoMapMeasureComponent]
23
23
  `geo-map-measure`
24
24
 
25
25
  ## Category
26
- `other`
26
+ `map`
27
27
 
28
28
  ## When to use
29
-
29
+ Measure tool mode; usually driven by toolbar via geo-map-shell.
30
30
 
31
31
  ## Do not use when
32
-
32
+ Static length labels without interaction.
33
33
 
34
34
 
35
35
  ## Binding
@@ -58,7 +58,7 @@ Every supported Input (do not invent others):
58
58
  ### Example
59
59
 
60
60
  ```html
61
- <geo-map-measure></geo-map-measure>
61
+ <geo-map-measure [controller]="ctrl" [(mode)]="measureMode"></geo-map-measure>
62
62
  ```
63
63
 
64
64
  ## Package path