@mobileaction/action-kit 1.60.2-beta.20261004090100 → 1.60.2-beta.20261007162936

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.
@@ -7054,44 +7054,76 @@ var Yn = {
7054
7054
  ])) : f("", !0), e.$slots.footerActions ? (I(), p("div", _r, [B(e.$slots, "footerActions")])) : f("", !0)], 2)) : f("", !0)
7055
7055
  ], 16));
7056
7056
  }
7057
- }), yr = /* @__PURE__ */ y({
7057
+ }), yr = { class: "ma-card-2-content" }, br = /* @__PURE__ */ y({
7058
7058
  name: "MaCard2Content",
7059
7059
  __name: "Content",
7060
- props: { noSpace: {
7061
- type: Boolean,
7062
- default: !1
7063
- } },
7064
7060
  setup(e) {
7065
- return (t, n) => (I(), p("div", { class: k(["ma-card-2-content", { "ma-card-2-content--no-space": e.noSpace }]) }, [B(t.$slots, "default")], 2));
7061
+ return (e, t) => (I(), p("div", yr, [B(e.$slots, "default")]));
7066
7062
  }
7067
- }), br = { class: "ma-card-2-footer" }, xr = /* @__PURE__ */ y({
7063
+ }), xr = { class: "ma-card-2-footer" }, Sr = /* @__PURE__ */ y({
7068
7064
  name: "MaCard2Footer",
7069
7065
  __name: "Footer",
7070
7066
  setup(e) {
7071
- return (e, t) => (I(), p("div", br, [B(e.$slots, "default")]));
7067
+ return (e, t) => (I(), p("div", xr, [B(e.$slots, "default")]));
7072
7068
  }
7073
- }), Sr = { class: "ma-card-2-header" }, Cr = { class: "ma-card-2-header-content" }, wr = {
7074
- key: 0,
7075
- class: "ma-card-2-header-title"
7076
- }, Tr = {
7077
- key: 1,
7078
- class: "ma-card-2-header-description"
7079
- }, Er = {
7069
+ }), Cr = { class: "ma-card-2-header" }, wr = { class: "ma-card-2-header-content" }, Tr = {
7080
7070
  key: 0,
7081
7071
  class: "ma-card-2-header-actions"
7082
- }, Dr = /* @__PURE__ */ y({
7072
+ }, Er = /* @__PURE__ */ y({
7083
7073
  name: "MaCard2Header",
7084
7074
  __name: "Header",
7085
7075
  props: {
7086
7076
  title: {},
7087
- description: {}
7077
+ description: {},
7078
+ titleTag: { default: "h3" },
7079
+ descriptionTag: { default: "p" }
7088
7080
  },
7089
7081
  setup(e) {
7090
- return (t, n) => (I(), p("div", Sr, [m("div", Cr, [
7091
- e.title || t.$slots.title ? (I(), p("h3", wr, [B(t.$slots, "title", {}, () => [g(H(e.title), 1)])])) : f("", !0),
7092
- e.description || t.$slots.description ? (I(), p("p", Tr, [B(t.$slots, "description", {}, () => [g(H(e.description), 1)])])) : f("", !0),
7082
+ return (t, n) => (I(), p("div", Cr, [m("div", wr, [
7083
+ e.title || t.$slots.title ? (I(), d(V(e.titleTag), {
7084
+ key: 0,
7085
+ class: "ma-card-2-header-title"
7086
+ }, {
7087
+ default: J(() => [B(t.$slots, "title", {}, () => [g(H(e.title), 1)])]),
7088
+ _: 3
7089
+ })) : f("", !0),
7090
+ e.description || t.$slots.description ? (I(), d(V(e.descriptionTag), {
7091
+ key: 1,
7092
+ class: "ma-card-2-header-description"
7093
+ }, {
7094
+ default: J(() => [B(t.$slots, "description", {}, () => [g(H(e.description), 1)])]),
7095
+ _: 3
7096
+ })) : f("", !0),
7093
7097
  B(t.$slots, "default")
7094
- ]), t.$slots.actions ? (I(), p("div", Er, [B(t.$slots, "actions")])) : f("", !0)]));
7098
+ ]), t.$slots.actions ? (I(), p("div", Tr, [B(t.$slots, "actions")])) : f("", !0)]));
7099
+ }
7100
+ }), Dr = /* @__PURE__ */ y({
7101
+ name: "MaCard2TableContainer",
7102
+ __name: "TableContainer",
7103
+ props: {
7104
+ borderless: { type: Boolean },
7105
+ noRounded: { type: Boolean }
7106
+ },
7107
+ setup(e) {
7108
+ let t = R(), n = null;
7109
+ function r() {
7110
+ let e = t.value, n = e?.querySelector(".ag-grid-viewport") ?? e?.querySelector(".ag-root"), r = n?.querySelector(".ag-header");
7111
+ if (!e || !n || !r) return;
7112
+ let i = n.getBoundingClientRect().top - e.getBoundingClientRect().top, a = Math.max(n.clientHeight - r.offsetHeight, 0);
7113
+ e.style.setProperty("--ma-card-2-table-container-sticky-start", `${i}px`), e.style.setProperty("--ma-card-2-table-container-sticky-max-offset", `${a}px`);
7114
+ }
7115
+ return P(() => {
7116
+ n = new ResizeObserver(r), n.observe(t.value);
7117
+ }), N(() => {
7118
+ n?.disconnect(), n = null;
7119
+ }), (n, i) => (I(), p("div", {
7120
+ ref_key: "containerRef",
7121
+ ref: t,
7122
+ class: k(["ma-card-2-table-container ag-theme-ma", {
7123
+ "ag-theme-ma--borderless": e.borderless,
7124
+ "ag-theme-ma--no-rounded": e.noRounded
7125
+ }])
7126
+ }, [B(n.$slots, "default", { updateStickyOffsets: r })], 2));
7095
7127
  }
7096
7128
  }), Or = { class: "ma-card-2" }, kr = /* @__PURE__ */ y({
7097
7129
  name: "MaCard2",
@@ -23440,4 +23472,4 @@ var $_ = {
23440
23472
  }
23441
23473
  };
23442
23474
  //#endregion
23443
- export { Of as ACTION_KIT_LOCALE_EN, Iv as ACTION_KIT_LOCALE_JA, Lv as ACTION_KIT_LOCALE_KO, Rv as ACTION_KIT_LOCALE_ZH, Xl as ASSETS, jf as ActionKit, lt as ActionKitSymbol, Vt as Animations, Gt as AppIconPlatforms, Wt as AppIconSizes, In as ButtonColors, Bn as ButtonHtmlTypes, Vn as ButtonIconAlignMents, Rn as ButtonShapes, Ln as ButtonSizes, zn as ButtonTargets, Fn as ButtonVariants, Ar as CascaderSizes, _d as CheckboxPlacementRight, gd as CheckboxPlacements, Qo as CollapseItemState, Yo as CollapseModes, Yf as ConfirmModal2Types, Jl as DEVICE_WIDTH, Zu as DeviceTypes, ed as DisplayModes, Qu as DisplayTypes, Hn as LinkButtonColors, Un as LinkButtonSizes, Dt as MaActionSheet, kt as MaActionSheetItem, Bt as MaAlert, Mt as MaAlertSizeList, At as MaAlertTypeList, jt as MaAlertVariantList, Ut as MaAnimation, sn as MaAppIcon, vn as MaAppTrackButton, xn as MaAvatar, Dn as MaBadge, Tn as MaBadgePropIconAlignments, wn as MaBadgePropSizes, Cn as MaBadgePropTypes, Sn as MaBadgePropVariants, En as MaBadgeShape, Pn as MaBreadcrumb, Mn as MaBreadcrumbItem, On as MaBreadcrumbSeparators, Z as MaButton, vr as MaCard, kr as MaCard2, yr as MaCard2Content, xr as MaCard2Footer, Dr as MaCard2Header, rr as MaCardAlignments, ar as MaCardIconColors, ir as MaCardSizes, wa as MaCascader, $ as MaChart, Mv as MaChatbot, J_ as MaChatbotSymbol, Jo as MaCheckbox, Ko as MaCheckbox2, Fo as MaCheckbox2Card, Lo as MaCheckbox2Group, qo as MaCheckboxGroup, is as MaCollapse, Zo as MaCollapseIconAlignments, rs as MaCollapseItem, Xo as MaCollapseSizes, Wf as MaConfirmModal2, ss as MaContentScroller, us as MaCountryRadio, ec as MaCountrySelect, uf as MaCurrencyInput, tl as MaDatePicker, qc as MaDatePicker2, vu as MaDevicePreviewAppDetailPreview, Nu as MaDevicePreviewAppTodayTabPreview, Iu as MaDevicePreviewProductPages, Ru as MaDevicePreviewSearchResults, Wu as MaDevicePreviewSearchTab, Xu as MaDevicePreviewTodayTab, ul as MaDrawer, fl as MaDropdown, nl as MaDropdownPlacements, rl as MaDropdownTriggers, $t as MaEllipsis, yl as MaEmpty, hl as MaEmptyIcons, pl as MaEmptySizes, ml as MaEmptyVariants, ft as MaFlagIconRatios, El as MaForm, Dl as MaForm2, bl as MaFormItem, Pl as MaFormItem2, jl as MaFormItem2Label, kl as MaFormItem2Message, xl as MaFormLayouts, X as MaIcon, Il as MaIconButton, pt as MaIconSizeClassNames, dt as MaIconSizes, Gl as MaImage2, ql as MaImageGroup2, Vl as MaImagePreview, Yd as MaInput, Dc as MaInputBase, bf as MaInputBaseSizes, sd as MaInputCurrencies, id as MaInputNumber, od as MaInputSizes, ad as MaInputTypes, Tf as MaKeywordInput, $n as MaLinkButton, Df as MaMenu, Dh as MaMenuButtonPropSizes, Ef as MaMenuItem, lp as MaModal, Bf as MaModal2, Zf as MaModalTypeIcon, Xf as MaModalTypes, jp as MaNotification, mf as MaNumberInput, Jp as MaNumericInput, um as MaPagination, Xp as MaPaginationModes, Yp as MaPaginationSizes, _f as MaPasswordInput, vm as MaPopconfirm2, Sm as MaPopover, ym as MaPopover2, nh as MaProgress, Tm as MaProgressCircleSizes, wm as MaProgressColors, Em as MaProgressPercentAlignments, Cm as MaProgressTypes, dn as MaRadio, oh as MaRadioCard, ih as MaRadioGroup, rh as MaRadioTypes, fh as MaRate, ch as MaRateColors, sh as MaRateSizes, vh as MaResult, Ud as MaSelect, Rc as MaSelect2, xh as MaSelect2Option, Th as MaSelect2OptionGroup, Ue as MaSelectOptGroup, Eh as MaSelectOption, jh as MaSideMenuAddNewAppButton, Nh as MaSideMenuAppButton, Lh as MaSideMenuButton, kh as MaSideMenuButton2, Rh as MaSideMenuIconButton, Ih as MaSideMenuItem, Ah as MaSideMenuItem2, Ph as MaSideMenuItemColors, zh as MaSideMenuRoundIconButton, Bh as MaSlider, nr as MaSocialButton, Gh as MaSpin, qh as MaSpinColors, Jh as MaSpinSizes, Kh as MaSpinTypes, ig as MaStep, pg as MaStepItem, mg as MaStepItems, xg as MaStepSizes, og as MaSteps, bg as MaStepsDirections, yg as MaSwitch, Eg as MaTabButton2, Hg as MaTabIconAlignMents, Ug as MaTabPane, Dg as MaTabPane2, wg as MaTabPanePlacements, Bg as MaTabPositions, Vg as MaTabTypes, Wg as MaTabs, zg as MaTabs2, Cg as MaTabsSizes, Sg as MaTabsTypes, Yg as MaTagInput, kc as MaTextInput, yf as MaTextarea, Td as MaToggle, i_ as MaTooltip, Xt as MaTooltip2, s_ as MaTrackButton, h_ as MaTree, $o as MaTypography, H_ as MaUpload, y_ as MaUploadFileStatus, v_ as MaUploadSizes, __ as MaUploadTypes, W_ as MaWatchlistButton, Gf as ModalManager, Jf as ModalPositions, yd as MultiSelectOptionCheckbox, vd as MultiSelectOptions, Gp as NumericInputSizes, td as PageTypes, dm as Popconfirm2Variants, xm as Popover2Placements, bm as Popover2TriggerTypes, Yl as SCALE_FACTORS, $u as SearchResultsDisplayTypes, hd as SelectModes, xd as SelectOptionTypeRadio, bd as SelectOptionTypes, md as SelectSizes, Wn as SocialButtonBrands, Gn as SocialButtonVariants, hg as SwitchTypes, Xg as ToggleSizes, Zg as Tooltip2Types, Qg as TooltipPlacements, e_ as TooltipTriggerTypes, $g as TooltipTypes, c_ as TrackButtonSizes, g_ as TreeModes, x_ as TypographyTags, b_ as TypographyTypes, S_ as TypographyWeights, X_ as createMaChatbot, ld as currencyOptions, cd as currencySymbols, _t as loadIcon, go as maChartDefaultOptions, Fv as maCountry, Kf as modalManager, ut as useActionKit, Z_ as useMaChatbot, qf as useModal };
23475
+ export { Of as ACTION_KIT_LOCALE_EN, Iv as ACTION_KIT_LOCALE_JA, Lv as ACTION_KIT_LOCALE_KO, Rv as ACTION_KIT_LOCALE_ZH, Xl as ASSETS, jf as ActionKit, lt as ActionKitSymbol, Vt as Animations, Gt as AppIconPlatforms, Wt as AppIconSizes, In as ButtonColors, Bn as ButtonHtmlTypes, Vn as ButtonIconAlignMents, Rn as ButtonShapes, Ln as ButtonSizes, zn as ButtonTargets, Fn as ButtonVariants, Ar as CascaderSizes, _d as CheckboxPlacementRight, gd as CheckboxPlacements, Qo as CollapseItemState, Yo as CollapseModes, Yf as ConfirmModal2Types, Jl as DEVICE_WIDTH, Zu as DeviceTypes, ed as DisplayModes, Qu as DisplayTypes, Hn as LinkButtonColors, Un as LinkButtonSizes, Dt as MaActionSheet, kt as MaActionSheetItem, Bt as MaAlert, Mt as MaAlertSizeList, At as MaAlertTypeList, jt as MaAlertVariantList, Ut as MaAnimation, sn as MaAppIcon, vn as MaAppTrackButton, xn as MaAvatar, Dn as MaBadge, Tn as MaBadgePropIconAlignments, wn as MaBadgePropSizes, Cn as MaBadgePropTypes, Sn as MaBadgePropVariants, En as MaBadgeShape, Pn as MaBreadcrumb, Mn as MaBreadcrumbItem, On as MaBreadcrumbSeparators, Z as MaButton, vr as MaCard, kr as MaCard2, br as MaCard2Content, Sr as MaCard2Footer, Er as MaCard2Header, Dr as MaCard2TableContainer, rr as MaCardAlignments, ar as MaCardIconColors, ir as MaCardSizes, wa as MaCascader, $ as MaChart, Mv as MaChatbot, J_ as MaChatbotSymbol, Jo as MaCheckbox, Ko as MaCheckbox2, Fo as MaCheckbox2Card, Lo as MaCheckbox2Group, qo as MaCheckboxGroup, is as MaCollapse, Zo as MaCollapseIconAlignments, rs as MaCollapseItem, Xo as MaCollapseSizes, Wf as MaConfirmModal2, ss as MaContentScroller, us as MaCountryRadio, ec as MaCountrySelect, uf as MaCurrencyInput, tl as MaDatePicker, qc as MaDatePicker2, vu as MaDevicePreviewAppDetailPreview, Nu as MaDevicePreviewAppTodayTabPreview, Iu as MaDevicePreviewProductPages, Ru as MaDevicePreviewSearchResults, Wu as MaDevicePreviewSearchTab, Xu as MaDevicePreviewTodayTab, ul as MaDrawer, fl as MaDropdown, nl as MaDropdownPlacements, rl as MaDropdownTriggers, $t as MaEllipsis, yl as MaEmpty, hl as MaEmptyIcons, pl as MaEmptySizes, ml as MaEmptyVariants, ft as MaFlagIconRatios, El as MaForm, Dl as MaForm2, bl as MaFormItem, Pl as MaFormItem2, jl as MaFormItem2Label, kl as MaFormItem2Message, xl as MaFormLayouts, X as MaIcon, Il as MaIconButton, pt as MaIconSizeClassNames, dt as MaIconSizes, Gl as MaImage2, ql as MaImageGroup2, Vl as MaImagePreview, Yd as MaInput, Dc as MaInputBase, bf as MaInputBaseSizes, sd as MaInputCurrencies, id as MaInputNumber, od as MaInputSizes, ad as MaInputTypes, Tf as MaKeywordInput, $n as MaLinkButton, Df as MaMenu, Dh as MaMenuButtonPropSizes, Ef as MaMenuItem, lp as MaModal, Bf as MaModal2, Zf as MaModalTypeIcon, Xf as MaModalTypes, jp as MaNotification, mf as MaNumberInput, Jp as MaNumericInput, um as MaPagination, Xp as MaPaginationModes, Yp as MaPaginationSizes, _f as MaPasswordInput, vm as MaPopconfirm2, Sm as MaPopover, ym as MaPopover2, nh as MaProgress, Tm as MaProgressCircleSizes, wm as MaProgressColors, Em as MaProgressPercentAlignments, Cm as MaProgressTypes, dn as MaRadio, oh as MaRadioCard, ih as MaRadioGroup, rh as MaRadioTypes, fh as MaRate, ch as MaRateColors, sh as MaRateSizes, vh as MaResult, Ud as MaSelect, Rc as MaSelect2, xh as MaSelect2Option, Th as MaSelect2OptionGroup, Ue as MaSelectOptGroup, Eh as MaSelectOption, jh as MaSideMenuAddNewAppButton, Nh as MaSideMenuAppButton, Lh as MaSideMenuButton, kh as MaSideMenuButton2, Rh as MaSideMenuIconButton, Ih as MaSideMenuItem, Ah as MaSideMenuItem2, Ph as MaSideMenuItemColors, zh as MaSideMenuRoundIconButton, Bh as MaSlider, nr as MaSocialButton, Gh as MaSpin, qh as MaSpinColors, Jh as MaSpinSizes, Kh as MaSpinTypes, ig as MaStep, pg as MaStepItem, mg as MaStepItems, xg as MaStepSizes, og as MaSteps, bg as MaStepsDirections, yg as MaSwitch, Eg as MaTabButton2, Hg as MaTabIconAlignMents, Ug as MaTabPane, Dg as MaTabPane2, wg as MaTabPanePlacements, Bg as MaTabPositions, Vg as MaTabTypes, Wg as MaTabs, zg as MaTabs2, Cg as MaTabsSizes, Sg as MaTabsTypes, Yg as MaTagInput, kc as MaTextInput, yf as MaTextarea, Td as MaToggle, i_ as MaTooltip, Xt as MaTooltip2, s_ as MaTrackButton, h_ as MaTree, $o as MaTypography, H_ as MaUpload, y_ as MaUploadFileStatus, v_ as MaUploadSizes, __ as MaUploadTypes, W_ as MaWatchlistButton, Gf as ModalManager, Jf as ModalPositions, yd as MultiSelectOptionCheckbox, vd as MultiSelectOptions, Gp as NumericInputSizes, td as PageTypes, dm as Popconfirm2Variants, xm as Popover2Placements, bm as Popover2TriggerTypes, Yl as SCALE_FACTORS, $u as SearchResultsDisplayTypes, hd as SelectModes, xd as SelectOptionTypeRadio, bd as SelectOptionTypes, md as SelectSizes, Wn as SocialButtonBrands, Gn as SocialButtonVariants, hg as SwitchTypes, Xg as ToggleSizes, Zg as Tooltip2Types, Qg as TooltipPlacements, e_ as TooltipTriggerTypes, $g as TooltipTypes, c_ as TrackButtonSizes, g_ as TreeModes, x_ as TypographyTags, b_ as TypographyTypes, S_ as TypographyWeights, X_ as createMaChatbot, ld as currencyOptions, cd as currencySymbols, _t as loadIcon, go as maChartDefaultOptions, Fv as maCountry, Kf as modalManager, ut as useActionKit, Z_ as useMaChatbot, qf as useModal };
@@ -1,11 +1,10 @@
1
- import type { MaCard2ContentProps } from '../types';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
1
+ type __VLS_Slots = {
2
+ /**
3
+ * Content of the section.
4
+ */
5
+ default?: () => void;
5
6
  };
6
- declare const __VLS_component: import("vue").DefineComponent<MaCard2ContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaCard2ContentProps> & Readonly<{}>, {
7
- noSpace: boolean;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
9
  export default _default;
11
10
  type __VLS_WithSlots<T, S> = T & {
@@ -1,6 +1,8 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => any;
1
+ type __VLS_Slots = {
2
+ /**
3
+ * Footer content, laid out in a row. Use `ml-auto` on an item to push it to the right.
4
+ */
5
+ default?: () => void;
4
6
  };
5
7
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -17,7 +17,10 @@ type __VLS_Slots = {
17
17
  */
18
18
  actions?: () => void;
19
19
  };
20
- declare const __VLS_component: import("vue").DefineComponent<MaCard2HeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaCard2HeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const __VLS_component: import("vue").DefineComponent<MaCard2HeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaCard2HeaderProps> & Readonly<{}>, {
21
+ titleTag: import("../types").MaCard2HeaderTitleTag;
22
+ descriptionTag: import("../types").MaCard2HeaderDescriptionTag;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
24
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
25
  export default _default;
23
26
  type __VLS_WithSlots<T, S> = T & {
@@ -0,0 +1,17 @@
1
+ import type { MaCard2TableContainerProps } from '../types';
2
+ type __VLS_Slots = {
3
+ /**
4
+ * The ag-grid table. `updateStickyOffsets` re-measures the sticky header, e.g. after a layout change the container does not see.
5
+ */
6
+ default?: (props: {
7
+ updateStickyOffsets: () => void;
8
+ }) => void;
9
+ };
10
+ declare const __VLS_component: import("vue").DefineComponent<MaCard2TableContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaCard2TableContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -1,17 +1,34 @@
1
+ export type MaCard2HeaderTitleTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'span' | 'p';
2
+ export type MaCard2HeaderDescriptionTag = 'p' | 'div' | 'span';
1
3
  export interface MaCard2HeaderProps {
2
4
  /**
3
- * Title of the card header.
5
+ * Header title. The `title` slot overrides it.
4
6
  */
5
7
  title?: string;
6
8
  /**
7
- * Description shown below the title.
9
+ * Text shown below the title. The `description` slot overrides it.
8
10
  */
9
11
  description?: string;
12
+ /**
13
+ * Element used for the title. Pick the heading level that fits the page outline.
14
+ * @default 'h3'
15
+ */
16
+ titleTag?: MaCard2HeaderTitleTag;
17
+ /**
18
+ * Element used for the description.
19
+ * @default 'p'
20
+ */
21
+ descriptionTag?: MaCard2HeaderDescriptionTag;
10
22
  }
11
- export interface MaCard2ContentProps {
23
+ export interface MaCard2TableContainerProps {
24
+ /**
25
+ * Removes the grid's wrapper border (`ag-theme-ma--borderless`).
26
+ * @default false
27
+ */
28
+ borderless?: boolean;
12
29
  /**
13
- * Removes the default padding of the content.
30
+ * Removes the grid's wrapper border radius (`ag-theme-ma--no-rounded`).
14
31
  * @default false
15
32
  */
16
- noSpace?: boolean;
33
+ noRounded?: boolean;
17
34
  }
@@ -15,8 +15,8 @@ type __VLS_Slots = {} & {
15
15
  content?: (props: typeof __VLS_15) => any;
16
16
  };
17
17
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
- noSpace: boolean;
19
18
  lazyContent: boolean;
19
+ noSpace: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
22
  export default _default;
@@ -19,8 +19,8 @@ declare const __VLS_component: import("vue").DefineComponent<ConfirmModal2Props,
19
19
  zIndex: number;
20
20
  position: import("./types").ModalPosition;
21
21
  to: string | HTMLElement;
22
- noSpace: boolean;
23
22
  open: boolean;
23
+ noSpace: boolean;
24
24
  showMaskOverlay: boolean;
25
25
  showCancelButton: boolean;
26
26
  showOkButton: boolean;
@@ -24,8 +24,8 @@ declare const __VLS_component: import("vue").DefineComponent<Modal2Props, {}, {}
24
24
  zIndex: number;
25
25
  position: import("./types").ModalPosition;
26
26
  to: string | HTMLElement;
27
- noSpace: boolean;
28
27
  open: boolean;
28
+ noSpace: boolean;
29
29
  maximizable: boolean;
30
30
  maximized: boolean;
31
31
  showMaskOverlay: boolean;
@@ -71,10 +71,10 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {},
71
71
  size: SelectSize;
72
72
  showArrow: boolean;
73
73
  value: string | number | string[] | number[];
74
+ borderless: boolean;
74
75
  open: boolean;
75
76
  listHeight: number;
76
77
  dropdownMatchSelectWidth: boolean | number;
77
- borderless: boolean;
78
78
  autoClearSearchValue: boolean;
79
79
  menuItemSelectedIcon: string;
80
80
  selectOptionType: SelectOptionType;
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ export * from './components/card-2/types';
25
25
  export { default as MaCard2Content } from './components/card-2/components/Content.vue';
26
26
  export { default as MaCard2Footer } from './components/card-2/components/Footer.vue';
27
27
  export { default as MaCard2Header } from './components/card-2/components/Header.vue';
28
+ export { default as MaCard2TableContainer } from './components/card-2/components/TableContainer.vue';
28
29
  export { default as MaCard2 } from './components/card-2/index.vue';
29
30
  export * from './components/cascader/types';
30
31
  export { default as MaCascader } from './components/cascader/index.vue';