@retailcrm/embed-ui-v1-components 0.9.19 → 0.9.21

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 (82) hide show
  1. package/AGENTS.md +8 -0
  2. package/README.md +5 -1
  3. package/bin/embed-ui-v1-components.mjs +32 -24
  4. package/bin/postinstall.mjs +2 -2
  5. package/dist/host.cjs +19 -13
  6. package/dist/host.css +8 -10
  7. package/dist/host.d.ts +52 -58
  8. package/dist/host.js +19 -13
  9. package/dist/remote.cjs +97 -94
  10. package/dist/remote.d.ts +20 -32
  11. package/dist/remote.js +97 -94
  12. package/docs/AGENT-DESIGN-GUIDELINES.md +463 -0
  13. package/docs/AI.md +89 -6
  14. package/docs/FORMAT.md +11 -9
  15. package/docs/PROFILES.md +9 -5
  16. package/docs/README.md +14 -5
  17. package/docs/assets/page-guidelines/card-settings-page.png +0 -0
  18. package/docs/assets/page-guidelines/collapse-block-page.png +0 -0
  19. package/docs/assets/page-guidelines/entity-list-page.png +0 -0
  20. package/docs/assets/page-guidelines/modal-sidebar.png +0 -0
  21. package/docs/assets/page-guidelines/modal-window.png +0 -0
  22. package/docs/assets/page-guidelines/multi-column-page.png +0 -0
  23. package/docs/profiles/UiAddButton.yml +30 -0
  24. package/docs/profiles/UiAlert.yml +27 -0
  25. package/docs/profiles/UiAvatar.yml +26 -0
  26. package/docs/profiles/UiAvatarList.yml +28 -0
  27. package/docs/profiles/UiButton.yml +1 -8
  28. package/docs/profiles/UiCalendar.yml +28 -0
  29. package/docs/profiles/UiCheckbox.yml +32 -0
  30. package/docs/profiles/UiCollapse.yml +34 -0
  31. package/docs/profiles/UiCollapseBox.yml +30 -0
  32. package/docs/profiles/UiCollapseGroup.yml +26 -0
  33. package/docs/profiles/UiCopyButton.yml +35 -0
  34. package/docs/profiles/UiDate.yml +28 -0
  35. package/docs/profiles/UiDatePicker.yml +30 -0
  36. package/docs/profiles/UiError.yml +45 -0
  37. package/docs/profiles/UiField.yml +1 -15
  38. package/docs/profiles/UiImage.yml +28 -0
  39. package/docs/profiles/UiInfobox.yml +33 -0
  40. package/docs/profiles/UiLink.yml +40 -0
  41. package/docs/profiles/UiLoader.yml +35 -0
  42. package/docs/profiles/UiMenuItem.yml +38 -0
  43. package/docs/profiles/UiMenuItemGroup.yml +27 -0
  44. package/docs/profiles/UiModalSidebar.yml +32 -0
  45. package/docs/profiles/UiModalWindow.yml +42 -0
  46. package/docs/profiles/UiModalWindowSurface.yml +32 -0
  47. package/docs/profiles/UiNumberStepper.yml +36 -0
  48. package/docs/profiles/UiPageHeader.yml +1 -23
  49. package/docs/profiles/UiPopper.yml +1 -13
  50. package/docs/profiles/UiPopperConnector.yml +7 -25
  51. package/docs/profiles/UiPopperTarget.yml +7 -25
  52. package/docs/profiles/UiRadio.yml +40 -0
  53. package/docs/profiles/UiRadioSwitch.yml +1 -32
  54. package/docs/profiles/UiRadioSwitchOption.yml +9 -13
  55. package/docs/profiles/UiScrollBox.yml +34 -0
  56. package/docs/profiles/UiSelect.yml +1 -44
  57. package/docs/profiles/UiSelectOption.yml +32 -0
  58. package/docs/profiles/UiSelectOptionGroup.yml +30 -0
  59. package/docs/profiles/UiSkeleton.yml +32 -0
  60. package/docs/profiles/UiSlider.yml +40 -0
  61. package/docs/profiles/UiSwitch.yml +38 -0
  62. package/docs/profiles/UiTab.yml +7 -16
  63. package/docs/profiles/UiTabGroup.yml +1 -30
  64. package/docs/profiles/UiTable.yml +148 -0
  65. package/docs/profiles/UiTableBodyCell.yml +28 -0
  66. package/docs/profiles/UiTableColumn.yml +39 -0
  67. package/docs/profiles/UiTableFooterButton.yml +43 -0
  68. package/docs/profiles/UiTableFooterSection.yml +37 -0
  69. package/docs/profiles/UiTableHeadCell.yml +28 -0
  70. package/docs/profiles/UiTableSorter.yml +29 -0
  71. package/docs/profiles/UiTag.yml +38 -0
  72. package/docs/profiles/UiTextbox.yml +1 -32
  73. package/docs/profiles/UiTimePicker.yml +40 -0
  74. package/docs/profiles/UiToggleButton.yml +1 -11
  75. package/docs/profiles/UiToggleGroup.yml +1 -13
  76. package/docs/profiles/UiToggleGroupOption.yml +9 -11
  77. package/docs/profiles/UiToolbarButton.yml +37 -0
  78. package/docs/profiles/UiToolbarLink.yml +37 -0
  79. package/docs/profiles/UiTooltip.yml +38 -0
  80. package/docs/profiles/UiTransition.yml +37 -0
  81. package/docs/profiles/UiYandexMap.yml +53 -0
  82. package/package.json +15 -15
package/AGENTS.md CHANGED
@@ -122,5 +122,13 @@ const save = () => {}
122
122
  [`./docs/README.md`](./docs/README.md)
123
123
  - Machine-oriented package summary:
124
124
  [`./docs/AI.md`](./docs/AI.md)
125
+ - Page composition guidelines:
126
+ [`./docs/AGENT-DESIGN-GUIDELINES.md`](./docs/AGENT-DESIGN-GUIDELINES.md)
125
127
  - Component profiles:
126
128
  [`./docs/PROFILES.md`](./docs/PROFILES.md)
129
+
130
+ For table, catalog, registry, journal, or search-result screens, read [`./docs/AI.md`](./docs/AI.md)
131
+ and [`./docs/AGENT-DESIGN-GUIDELINES.md`](./docs/AGENT-DESIGN-GUIDELINES.md), then check the
132
+ `UiTable` and `UiLink` profiles before generating code. Put filters above the table, persist
133
+ filters and pagination in GET query parameters when routing exists, and set `size="small"` on
134
+ `UiLink` inside table cells by default.
package/README.md CHANGED
@@ -46,15 +46,19 @@ import { UiButton } from '@retailcrm/embed-ui-v1-components/remote'
46
46
 
47
47
  Дополнительные материалы по пакету находятся в `docs/`:
48
48
 
49
+ - [`AGENTS.md`](./AGENTS.md) — инструкции для AI-агентов, использующих пакет в целевом проекте.
49
50
  - [`docs/README.md`](./docs/README.md) — обзор пакета и правил использования.
50
51
  - [`docs/COMPONENTS.md`](./docs/COMPONENTS.md) — карта публичных компонентов.
51
52
  - [`docs/AI.md`](./docs/AI.md) — контекст для ИИ и автоматизаций.
52
53
  - [`docs/PROFILES.md`](./docs/PROFILES.md) — AI-friendly YAML-профили компонентов.
53
54
  - [`docs/FORMAT.md`](./docs/FORMAT.md) — формат описания компонента для AI-агентов.
55
+ - [`docs/AGENT-DESIGN-GUIDELINES.md`](./docs/AGENT-DESIGN-GUIDELINES.md) — правила построения страниц,
56
+ модалок, шторок, фильтров и таблиц.
54
57
 
55
58
  ## AI и инициализация `AGENTS.md`
56
59
 
57
- После установки пакет показывает подсказку, что внутри есть AI-заметки и YAML-профили компонентов.
60
+ После установки пакет показывает подсказку, что внутри есть `README.md`, `AGENTS.md`,
61
+ AI-заметки и YAML-профили компонентов.
58
62
 
59
63
  Если в целевом проекте еще нет `AGENTS.md`, можно сгенерировать стартовый файл командой:
60
64
 
@@ -74,24 +74,28 @@ ${AGENTS_SECTION_HEADER}
74
74
 
75
75
  When working with \`${PACKAGE_NAME}\` in this project:
76
76
 
77
- 1. Read \`./node_modules/${PACKAGE_NAME}/docs/AI.md\`.
78
- 2. Then read \`./node_modules/${PACKAGE_NAME}/docs/COMPONENTS.md\`.
79
- 3. Then open the relevant profile from \`./node_modules/${PACKAGE_NAME}/docs/profiles/<Component>.yml\`.
80
- 4. Prefer those docs and profiles over guessing from internal implementation files.
81
- 5. Import only from documented public entrypoints:
77
+ 1. Read \`./node_modules/${PACKAGE_NAME}/README.md\`.
78
+ 2. Then read \`./node_modules/${PACKAGE_NAME}/AGENTS.md\`.
79
+ 3. Then read \`./node_modules/${PACKAGE_NAME}/docs/AI.md\`.
80
+ 4. Then read \`./node_modules/${PACKAGE_NAME}/docs/COMPONENTS.md\`.
81
+ 5. Then open the relevant profile from \`./node_modules/${PACKAGE_NAME}/docs/profiles/<Component>.yml\`.
82
+ 6. Prefer those docs and profiles over guessing from internal implementation files.
83
+ 7. Import only from documented public entrypoints:
82
84
  - \`${PACKAGE_NAME}/remote\`
83
85
  - \`${PACKAGE_NAME}/host\`
84
86
  - \`${PACKAGE_NAME}/assets/...\`
85
- 6. Prefer \`${PACKAGE_NAME}/remote\` for extension UI code.
86
- 7. Do not import from package-internal files such as \`dist/*\`, repository-only paths, or source internals.
87
+ 8. Prefer \`${PACKAGE_NAME}/remote\` for extension UI code.
88
+ 9. Do not import from package-internal files such as \`dist/*\`, repository-only paths, or source internals.
87
89
 
88
90
  ## Suggested Reading Order
89
91
 
90
- 1. \`docs/AI.md\`
91
- 2. \`docs/COMPONENTS.md\`
92
- 3. The relevant profile from \`docs/profiles/*.yml\`
93
- 4. \`docs/FORMAT.md\` if you need to understand profile structure
94
- 5. Storybook and public types only when no profile exists yet
92
+ 1. \`README.md\`
93
+ 2. \`AGENTS.md\`
94
+ 3. \`docs/AI.md\`
95
+ 4. \`docs/COMPONENTS.md\`
96
+ 5. The relevant profile from \`docs/profiles/*.yml\`
97
+ 6. \`docs/FORMAT.md\` if you need to understand profile structure
98
+ 7. Storybook and public types only when no profile exists yet
95
99
  ` + DEFAULT_NEWLINE
96
100
  }
97
101
 
@@ -100,24 +104,28 @@ const createAgentsSection = () => {
100
104
 
101
105
  When working with \`${PACKAGE_NAME}\` in this project:
102
106
 
103
- 1. Read \`./node_modules/${PACKAGE_NAME}/docs/AI.md\`.
104
- 2. Then read \`./node_modules/${PACKAGE_NAME}/docs/COMPONENTS.md\`.
105
- 3. Then open the relevant profile from \`./node_modules/${PACKAGE_NAME}/docs/profiles/<Component>.yml\`.
106
- 4. Prefer those docs and profiles over guessing from internal implementation files.
107
- 5. Import only from documented public entrypoints:
107
+ 1. Read \`./node_modules/${PACKAGE_NAME}/README.md\`.
108
+ 2. Then read \`./node_modules/${PACKAGE_NAME}/AGENTS.md\`.
109
+ 3. Then read \`./node_modules/${PACKAGE_NAME}/docs/AI.md\`.
110
+ 4. Then read \`./node_modules/${PACKAGE_NAME}/docs/COMPONENTS.md\`.
111
+ 5. Then open the relevant profile from \`./node_modules/${PACKAGE_NAME}/docs/profiles/<Component>.yml\`.
112
+ 6. Prefer those docs and profiles over guessing from internal implementation files.
113
+ 7. Import only from documented public entrypoints:
108
114
  - \`${PACKAGE_NAME}/remote\`
109
115
  - \`${PACKAGE_NAME}/host\`
110
116
  - \`${PACKAGE_NAME}/assets/...\`
111
- 6. Prefer \`${PACKAGE_NAME}/remote\` for extension UI code.
112
- 7. Do not import from package-internal files such as \`dist/*\`, repository-only paths, or source internals.
117
+ 8. Prefer \`${PACKAGE_NAME}/remote\` for extension UI code.
118
+ 9. Do not import from package-internal files such as \`dist/*\`, repository-only paths, or source internals.
113
119
 
114
120
  ## Suggested Reading Order
115
121
 
116
- 1. \`docs/AI.md\`
117
- 2. \`docs/COMPONENTS.md\`
118
- 3. The relevant profile from \`docs/profiles/*.yml\`
119
- 4. \`docs/FORMAT.md\` if you need to understand profile structure
120
- 5. Storybook and public types only when no profile exists yet
122
+ 1. \`README.md\`
123
+ 2. \`AGENTS.md\`
124
+ 3. \`docs/AI.md\`
125
+ 4. \`docs/COMPONENTS.md\`
126
+ 5. The relevant profile from \`docs/profiles/*.yml\`
127
+ 6. \`docs/FORMAT.md\` if you need to understand profile structure
128
+ 7. Storybook and public types only when no profile exists yet
121
129
  `
122
130
  }
123
131
 
@@ -26,8 +26,8 @@ const agentsPath = path.join(targetRoot, 'AGENTS.md')
26
26
  const hasAgentsFile = fs.existsSync(agentsPath)
27
27
 
28
28
  console.log('')
29
- console.log(`[${PACKAGE_NAME}] AI docs are available in node_modules/${PACKAGE_NAME}/docs`)
30
- console.log(`[${PACKAGE_NAME}] Start with docs/AI.md, docs/COMPONENTS.md, and docs/profiles/*.yml`)
29
+ console.log(`[${PACKAGE_NAME}] AI docs are available in node_modules/${PACKAGE_NAME}/README.md, AGENTS.md, and docs`)
30
+ console.log(`[${PACKAGE_NAME}] Start with README.md, AGENTS.md, docs/AI.md, docs/COMPONENTS.md, and docs/profiles/*.yml`)
31
31
 
32
32
  if (!hasAgentsFile) {
33
33
  console.log(`[${PACKAGE_NAME}] To scaffold AGENTS.md for this project, run:`)
package/dist/host.cjs CHANGED
@@ -421,7 +421,7 @@ function render$h(_ctx, _cache) {
421
421
  ])]);
422
422
  }
423
423
  const SpriteVIP = { render: render$h };
424
- const ImageWorkersKey = Symbol("$image.workers");
424
+ const ImageWorkersKey = /* @__PURE__ */ Symbol("$image.workers");
425
425
  const _hoisted_1$L = ["alt", "src"];
426
426
  const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
427
427
  __name: "UiImage",
@@ -492,7 +492,7 @@ var STATUS = /* @__PURE__ */ ((STATUS2) => {
492
492
  STATUS2["FREE"] = "free";
493
493
  return STATUS2;
494
494
  })(STATUS || {});
495
- const AvatarSizeKey = Symbol("UiAvatarSize");
495
+ const AvatarSizeKey = /* @__PURE__ */ Symbol("UiAvatarSize");
496
496
  const _hoisted_1$K = {
497
497
  key: 1,
498
498
  class: "ui-v1-avatar__unresolved"
@@ -705,7 +705,7 @@ const normalize$3 = (content) => {
705
705
  });
706
706
  return normalized;
707
707
  };
708
- const ElementRefKey = Symbol.for(
708
+ const ElementRefKey = /* @__PURE__ */ Symbol.for(
709
709
  "[@retailcrm/embed-ui-v1-components]:ElementRef"
710
710
  );
711
711
  const useElementRef = () => {
@@ -1099,7 +1099,7 @@ class VueI18n {
1099
1099
  this._state.locale = locale2;
1100
1100
  }
1101
1101
  }
1102
- const I18nInjectKey = Symbol("$embedI18n");
1102
+ const I18nInjectKey = /* @__PURE__ */ Symbol("$embedI18n");
1103
1103
  const plugin$1 = {
1104
1104
  install(app, options) {
1105
1105
  app.provide(I18nInjectKey, options instanceof VueI18n ? options : new VueI18n(options?.locale));
@@ -2591,10 +2591,10 @@ var SIZE$9 = /* @__PURE__ */ ((SIZE2) => {
2591
2591
  SIZE2["MD"] = "md";
2592
2592
  return SIZE2;
2593
2593
  })(SIZE$9 || {});
2594
- const CollapseGroupRegisterKey = Symbol("UiCollapseGroup_register");
2595
- const CollapseGroupUnregisterKey = Symbol("UiCollapseGroup_unregister");
2596
- const CollapseGroupExpandKey = Symbol("UiCollapseGroup_expand");
2597
- const CollapseGroupCollapseKey = Symbol("UiCollapseGroup_collapse");
2594
+ const CollapseGroupRegisterKey = /* @__PURE__ */ Symbol("UiCollapseGroup_register");
2595
+ const CollapseGroupUnregisterKey = /* @__PURE__ */ Symbol("UiCollapseGroup_unregister");
2596
+ const CollapseGroupExpandKey = /* @__PURE__ */ Symbol("UiCollapseGroup_expand");
2597
+ const CollapseGroupCollapseKey = /* @__PURE__ */ Symbol("UiCollapseGroup_collapse");
2598
2598
  const _hoisted_1$B = ["id", "aria-labelledby"];
2599
2599
  const _hoisted_2$j = ["id", "disabled", "aria-controls", "aria-expanded", "aria-disabled"];
2600
2600
  const _hoisted_3$f = { class: "ui-v1-collapse-box__icon-sprite" };
@@ -4481,7 +4481,7 @@ const computePosition = (reference, floating, options) => {
4481
4481
  platform: platformWithCache
4482
4482
  });
4483
4483
  };
4484
- const ProcessedByPopperKey = Symbol.for("[@retailcrm/embed-ui-v1-components]:ProcessedByPopper");
4484
+ const ProcessedByPopperKey = /* @__PURE__ */ Symbol.for("[@retailcrm/embed-ui-v1-components]:ProcessedByPopper");
4485
4485
  const sides = ["top", "right", "bottom", "left"];
4486
4486
  const isPlacementLiteral = (value) => sides.some((side) => {
4487
4487
  return value === side || value === `${side}-start` || value === `${side}-end`;
@@ -4496,7 +4496,7 @@ const isPlacementAdaptation = (value) => {
4496
4496
  const isPlacementOptions = (value) => {
4497
4497
  return typeof value === "object" && value !== null && "side" in value && isPlacementSide(value.side) && "alignment" in value && isPlacementAlignment(value.alignment) && "adaptation" in value && isPlacementAdaptation(value.adaptation);
4498
4498
  };
4499
- const PopperTargetKey = Symbol.for(
4499
+ const PopperTargetKey = /* @__PURE__ */ Symbol.for(
4500
4500
  "[@retailcrm/embed-ui-v1-components]:PopperTarget"
4501
4501
  );
4502
4502
  const useTarget = (target) => {
@@ -7577,7 +7577,7 @@ class LayerRegistry {
7577
7577
  }
7578
7578
  }
7579
7579
  const layers = new LayerRegistry();
7580
- const ModalInjectKey = Symbol("$embedModal");
7580
+ const ModalInjectKey = /* @__PURE__ */ Symbol("$embedModal");
7581
7581
  const plugin = {
7582
7582
  install(app, options) {
7583
7583
  app.provide(ModalInjectKey, vue.reactive({
@@ -10462,6 +10462,12 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
10462
10462
  };
10463
10463
  const onInput = (event) => {
10464
10464
  const target = event.target;
10465
+ if (inputReadonly.value) {
10466
+ if (target) {
10467
+ target.value = inputValue.value;
10468
+ }
10469
+ return;
10470
+ }
10465
10471
  emit("input", target?.value ?? "");
10466
10472
  };
10467
10473
  const onFocus = (event) => emit("focus", event);
@@ -10520,7 +10526,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
10520
10526
  active: __props.expanded,
10521
10527
  clearable: __props.clearable,
10522
10528
  invalid: __props.invalid,
10523
- readonly: inputReadonly.value,
10529
+ readonly: __props.readonly,
10524
10530
  size: __props.textboxSize,
10525
10531
  disabled: __props.disabled,
10526
10532
  "input-attributes": textboxAttributes.value,
@@ -12582,7 +12588,7 @@ var SIZE = /* @__PURE__ */ ((SIZE2) => {
12582
12588
  return SIZE2;
12583
12589
  })(SIZE || {});
12584
12590
  const ToolbarInjectKeys = {
12585
- size: Symbol("UiToolbarSize")
12591
+ size: /* @__PURE__ */ Symbol("UiToolbarSize")
12586
12592
  };
12587
12593
  const useToolbarSize = () => vue.inject(ToolbarInjectKeys.size, vue.computed(
12588
12594
  () => "sm"
package/dist/host.css CHANGED
@@ -3455,13 +3455,7 @@
3455
3455
  --ui-v1-page-header-danger-shadow-color: rgba(255, 83, 83, 0.1);
3456
3456
  }
3457
3457
  .ui-v1-page-header {
3458
- display: flex;
3459
3458
  width: 100%;
3460
- min-width: 0;
3461
- align-items: center;
3462
- justify-content: space-between;
3463
- gap: 16px 32px;
3464
- flex-wrap: wrap;
3465
3459
  }
3466
3460
  .ui-v1-page-header,
3467
3461
  .ui-v1-page-header *,
@@ -3485,9 +3479,13 @@
3485
3479
  }
3486
3480
  .ui-v1-page-header__main {
3487
3481
  display: flex;
3488
- justify-content: center;
3482
+ flex-direction: column;
3489
3483
  align-items: baseline;
3484
+ }
3485
+ .ui-v1-page-header__body {
3486
+ display: flex;
3490
3487
  gap: 16px;
3488
+ align-items: baseline;
3491
3489
  }
3492
3490
  .ui-v1-page-header__title {
3493
3491
  min-width: 0;
@@ -3548,10 +3546,10 @@
3548
3546
  background-color: transparent !important;
3549
3547
  }
3550
3548
  .ui-v1-page-header__actions {
3551
- display: inline-flex;
3552
- align-items: center;
3549
+ display: flex;
3553
3550
  gap: 16px;
3554
- flex: 0 0 auto;
3551
+ float: right;
3552
+ white-space: nowrap;
3555
3553
  }
3556
3554
  .ui-v1-page-header__addon {
3557
3555
  display: inline-flex;
package/dist/host.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Alignment } from '@floating-ui/dom';
2
2
  import { AllowedComponentProps } from 'vue';
3
+ import { Attrs } from 'vue';
3
4
  import { Component } from 'vue';
4
5
  import { ComponentCustomProperties } from 'vue';
5
6
  import { ComponentCustomProps } from 'vue';
@@ -30,7 +31,6 @@ import { Ref } from 'vue';
30
31
  import { RendererElement } from 'vue';
31
32
  import { RendererNode } from 'vue';
32
33
  import { SerializedEvent } from '@omnicajs/vue-remote/types/events';
33
- import { ShallowUnwrapRef } from 'vue';
34
34
  import { Side } from '@floating-ui/dom';
35
35
  import { Slot } from 'vue';
36
36
  import { SlotsType } from 'vue';
@@ -390,13 +390,13 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
390
390
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
391
391
  invalid: boolean;
392
392
  placeholder: string;
393
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
394
393
  id: string | undefined;
395
394
  max: number | `${number}`;
396
395
  min: number | `${number}`;
397
396
  width: WidthValue;
398
397
  step: number | `${number}` | "any";
399
398
  disabled: boolean;
399
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
400
400
  outlined: boolean;
401
401
  active: boolean;
402
402
  value: string | number | null;
@@ -420,12 +420,12 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
420
420
  readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
421
421
  readonly invalid: boolean;
422
422
  readonly placeholder: string;
423
- readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
424
423
  readonly max: number | `${number}`;
425
424
  readonly min: number | `${number}`;
426
425
  readonly width: WidthValue;
427
426
  readonly step: number | `${number}` | "any";
428
427
  readonly disabled: boolean;
428
+ readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
429
429
  readonly outlined: boolean;
430
430
  readonly active: boolean;
431
431
  readonly value: string | number | null;
@@ -455,10 +455,8 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
455
455
  readonly onClear?: (() => any) | undefined;
456
456
  readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
457
457
  readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
458
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
459
- $attrs: {
460
- [x: string]: unknown;
461
- };
458
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "id" | "max" | "min" | "width" | "step" | "disabled" | "size" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
459
+ $attrs: Attrs;
462
460
  $refs: {
463
461
  [x: string]: unknown;
464
462
  } & {
@@ -634,13 +632,13 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
634
632
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
635
633
  invalid: boolean;
636
634
  placeholder: string;
637
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
638
635
  id: string | undefined;
639
636
  max: number | `${number}`;
640
637
  min: number | `${number}`;
641
638
  width: WidthValue;
642
639
  step: number | `${number}` | "any";
643
640
  disabled: boolean;
641
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
644
642
  outlined: boolean;
645
643
  active: boolean;
646
644
  value: string | number | null;
@@ -692,13 +690,13 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
692
690
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
693
691
  invalid: boolean;
694
692
  placeholder: string;
695
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
696
693
  id: string | undefined;
697
694
  max: number | `${number}`;
698
695
  min: number | `${number}`;
699
696
  width: WidthValue;
700
697
  step: number | `${number}` | "any";
701
698
  disabled: boolean;
699
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
702
700
  outlined: boolean;
703
701
  active: boolean;
704
702
  value: string | number | null;
@@ -855,16 +853,16 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
855
853
  onClear?: (() => any) | undefined;
856
854
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
857
855
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
858
- }>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
859
- getSelectionStart(): number | null;
860
- getSelectionEnd(): number | null;
861
- setSelectionRange(start: number, end: number): void;
862
- focus(): void;
863
- blur(): void;
864
- select(): void;
865
- insert(value: string): Promise<void>;
866
- clear(): void;
867
- }> & {} & ComponentCustomProperties & {} & {
856
+ }>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "id" | "max" | "min" | "width" | "step" | "disabled" | "size" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & {
857
+ getSelectionStart: () => number | null;
858
+ getSelectionEnd: () => number | null;
859
+ setSelectionRange: (start: number, end: number) => void;
860
+ focus: () => void;
861
+ blur: () => void;
862
+ select: () => void;
863
+ insert: (value: string) => Promise<void>;
864
+ clear: () => void;
865
+ } & {} & ComponentCustomProperties & {} & {
868
866
  $slots: {
869
867
  prefix?(_: {}): any;
870
868
  'leading-icon'?(_: {}): any;
@@ -1065,13 +1063,13 @@ declare function __VLS_template_2(): {
1065
1063
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
1066
1064
  invalid: boolean;
1067
1065
  placeholder: string;
1068
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1069
1066
  id: string | undefined;
1070
1067
  max: number | `${number}`;
1071
1068
  min: number | `${number}`;
1072
1069
  width: WidthValue;
1073
1070
  step: number | `${number}` | "any";
1074
1071
  disabled: boolean;
1072
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1075
1073
  outlined: boolean;
1076
1074
  active: boolean;
1077
1075
  value: string | number | null;
@@ -1095,12 +1093,12 @@ declare function __VLS_template_2(): {
1095
1093
  readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
1096
1094
  readonly invalid: boolean;
1097
1095
  readonly placeholder: string;
1098
- readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1099
1096
  readonly max: number | `${number}`;
1100
1097
  readonly min: number | `${number}`;
1101
1098
  readonly width: WidthValue;
1102
1099
  readonly step: number | `${number}` | "any";
1103
1100
  readonly disabled: boolean;
1101
+ readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1104
1102
  readonly outlined: boolean;
1105
1103
  readonly active: boolean;
1106
1104
  readonly value: string | number | null;
@@ -1130,10 +1128,8 @@ declare function __VLS_template_2(): {
1130
1128
  readonly onClear?: (() => any) | undefined;
1131
1129
  readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
1132
1130
  readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1133
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
1134
- $attrs: {
1135
- [x: string]: unknown;
1136
- };
1131
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "id" | "max" | "min" | "width" | "step" | "disabled" | "size" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
1132
+ $attrs: Attrs;
1137
1133
  $refs: {
1138
1134
  [x: string]: unknown;
1139
1135
  } & {
@@ -1309,13 +1305,13 @@ declare function __VLS_template_2(): {
1309
1305
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
1310
1306
  invalid: boolean;
1311
1307
  placeholder: string;
1312
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1313
1308
  id: string | undefined;
1314
1309
  max: number | `${number}`;
1315
1310
  min: number | `${number}`;
1316
1311
  width: WidthValue;
1317
1312
  step: number | `${number}` | "any";
1318
1313
  disabled: boolean;
1314
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1319
1315
  outlined: boolean;
1320
1316
  active: boolean;
1321
1317
  value: string | number | null;
@@ -1367,13 +1363,13 @@ declare function __VLS_template_2(): {
1367
1363
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
1368
1364
  invalid: boolean;
1369
1365
  placeholder: string;
1370
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1371
1366
  id: string | undefined;
1372
1367
  max: number | `${number}`;
1373
1368
  min: number | `${number}`;
1374
1369
  width: WidthValue;
1375
1370
  step: number | `${number}` | "any";
1376
1371
  disabled: boolean;
1372
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
1377
1373
  outlined: boolean;
1378
1374
  active: boolean;
1379
1375
  value: string | number | null;
@@ -1530,16 +1526,16 @@ declare function __VLS_template_2(): {
1530
1526
  onClear?: (() => any) | undefined;
1531
1527
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
1532
1528
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1533
- }>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
1534
- getSelectionStart(): number | null;
1535
- getSelectionEnd(): number | null;
1536
- setSelectionRange(start: number, end: number): void;
1537
- focus(): void;
1538
- blur(): void;
1539
- select(): void;
1540
- insert(value: string): Promise<void>;
1541
- clear(): void;
1542
- }> & {} & ComponentCustomProperties & {} & {
1529
+ }>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "id" | "max" | "min" | "width" | "step" | "disabled" | "size" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & {
1530
+ getSelectionStart: () => number | null;
1531
+ getSelectionEnd: () => number | null;
1532
+ setSelectionRange: (start: number, end: number) => void;
1533
+ focus: () => void;
1534
+ blur: () => void;
1535
+ select: () => void;
1536
+ insert: (value: string) => Promise<void>;
1537
+ clear: () => void;
1538
+ } & {} & ComponentCustomProperties & {} & {
1543
1539
  $slots: {
1544
1540
  prefix?(_: {}): any;
1545
1541
  'leading-icon'?(_: {}): any;
@@ -2454,13 +2450,13 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
2454
2450
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
2455
2451
  invalid: boolean;
2456
2452
  placeholder: string;
2457
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2458
2453
  id: string | undefined;
2459
2454
  max: number | `${number}`;
2460
2455
  min: number | `${number}`;
2461
2456
  width: WidthValue;
2462
2457
  step: number | `${number}` | "any";
2463
2458
  disabled: boolean;
2459
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2464
2460
  outlined: boolean;
2465
2461
  active: boolean;
2466
2462
  value: string | number | null;
@@ -2484,12 +2480,12 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
2484
2480
  readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
2485
2481
  readonly invalid: boolean;
2486
2482
  readonly placeholder: string;
2487
- readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2488
2483
  readonly max: number | `${number}`;
2489
2484
  readonly min: number | `${number}`;
2490
2485
  readonly width: WidthValue;
2491
2486
  readonly step: number | `${number}` | "any";
2492
2487
  readonly disabled: boolean;
2488
+ readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2493
2489
  readonly outlined: boolean;
2494
2490
  readonly active: boolean;
2495
2491
  readonly value: string | number | null;
@@ -2519,10 +2515,8 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
2519
2515
  readonly onClear?: (() => any) | undefined;
2520
2516
  readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
2521
2517
  readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
2522
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
2523
- $attrs: {
2524
- [x: string]: unknown;
2525
- };
2518
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "id" | "max" | "min" | "width" | "step" | "disabled" | "size" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
2519
+ $attrs: Attrs;
2526
2520
  $refs: {
2527
2521
  [x: string]: unknown;
2528
2522
  } & {
@@ -2698,13 +2692,13 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
2698
2692
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
2699
2693
  invalid: boolean;
2700
2694
  placeholder: string;
2701
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2702
2695
  id: string | undefined;
2703
2696
  max: number | `${number}`;
2704
2697
  min: number | `${number}`;
2705
2698
  width: WidthValue;
2706
2699
  step: number | `${number}` | "any";
2707
2700
  disabled: boolean;
2701
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2708
2702
  outlined: boolean;
2709
2703
  active: boolean;
2710
2704
  value: string | number | null;
@@ -2756,13 +2750,13 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
2756
2750
  type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
2757
2751
  invalid: boolean;
2758
2752
  placeholder: string;
2759
- size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2760
2753
  id: string | undefined;
2761
2754
  max: number | `${number}`;
2762
2755
  min: number | `${number}`;
2763
2756
  width: WidthValue;
2764
2757
  step: number | `${number}` | "any";
2765
2758
  disabled: boolean;
2759
+ size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
2766
2760
  outlined: boolean;
2767
2761
  active: boolean;
2768
2762
  value: string | number | null;
@@ -2919,16 +2913,16 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
2919
2913
  onClear?: (() => any) | undefined;
2920
2914
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
2921
2915
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
2922
- }>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "width" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
2923
- getSelectionStart(): number | null;
2924
- getSelectionEnd(): number | null;
2925
- setSelectionRange(start: number, end: number): void;
2926
- focus(): void;
2927
- blur(): void;
2928
- select(): void;
2929
- insert(value: string): Promise<void>;
2930
- clear(): void;
2931
- }> & {} & ComponentCustomProperties & {} & {
2916
+ }>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "id" | "max" | "min" | "width" | "step" | "disabled" | "size" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & {
2917
+ getSelectionStart: () => number | null;
2918
+ getSelectionEnd: () => number | null;
2919
+ setSelectionRange: (start: number, end: number) => void;
2920
+ focus: () => void;
2921
+ blur: () => void;
2922
+ select: () => void;
2923
+ insert: (value: string) => Promise<void>;
2924
+ clear: () => void;
2925
+ } & {} & ComponentCustomProperties & {} & {
2932
2926
  $slots: {
2933
2927
  prefix?(_: {}): any;
2934
2928
  'leading-icon'?(_: {}): any;
@@ -3023,9 +3017,9 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
3023
3017
  default: boolean;
3024
3018
  };
3025
3019
  }>> & Readonly<{}>, {
3026
- size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
3027
3020
  id: string;
3028
3021
  disabled: boolean;
3022
+ size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
3029
3023
  appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
3030
3024
  checked: boolean;
3031
3025
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -3289,8 +3283,8 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
3289
3283
  };
3290
3284
  }>> & Readonly<{
3291
3285
  onChange?: ((id: string) => any) | undefined;
3292
- "onUpdate:menuExpanded"?: ((expanded: boolean) => any) | undefined;
3293
3286
  onLayout?: ((layout: TabLayout) => any) | undefined;
3287
+ "onUpdate:menuExpanded"?: ((expanded: boolean) => any) | undefined;
3294
3288
  "onUpdate:activeId"?: ((id: string) => any) | undefined;
3295
3289
  "onUpdate:focusableId"?: ((id: string | null) => any) | undefined;
3296
3290
  }>, {
@@ -3572,8 +3566,8 @@ export declare const UiToggleGroupRoot: DefineComponent_2<ExtractPropTypes<{
3572
3566
  default: string;
3573
3567
  };
3574
3568
  }>> & Readonly<{}>, {
3575
- size: "xs" | "sm" | "lg" | "md" | UiToggleButtonSize | undefined;
3576
3569
  disabled: boolean;
3570
+ size: "xs" | "sm" | "lg" | "md" | UiToggleButtonSize | undefined;
3577
3571
  rubber: boolean;
3578
3572
  ariaOrientation: "horizontal" | "vertical" | undefined;
3579
3573
  ariaLabel: string;