@onereach/idw-ui-components 0.1.2-beta.7.0 → 0.2.0-beta.27.0

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 (143) hide show
  1. package/README.md +360 -1
  2. package/dist/cjs/index.js +2 -18
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/esm/index.js +1639 -2
  5. package/dist/esm/index.js.map +1 -1
  6. package/dist/idw-ui-components.css +1 -0
  7. package/dist/types/components/Feeds/FeedEmbed/FeedEmbed.vue.d.ts +16 -0
  8. package/dist/types/components/Feeds/FeedEmbed/FeedEmbed.vue.d.ts.map +1 -0
  9. package/dist/types/components/Feeds/FeedFileContent/FeedFileContent.vue.d.ts +6 -0
  10. package/dist/types/components/Feeds/FeedFileContent/FeedFileContent.vue.d.ts.map +1 -0
  11. package/dist/types/components/Feeds/FeedFileContent/index.d.ts +3 -0
  12. package/dist/types/components/Feeds/FeedFileContent/index.d.ts.map +1 -0
  13. package/dist/types/components/Feeds/FeedFileContent/types.d.ts +13 -0
  14. package/dist/types/components/Feeds/FeedFileContent/types.d.ts.map +1 -0
  15. package/dist/types/components/Feeds/FeedHtmlContent/FeedHtmlContent.vue.d.ts +6 -0
  16. package/dist/types/components/Feeds/FeedHtmlContent/FeedHtmlContent.vue.d.ts.map +1 -0
  17. package/dist/types/components/Feeds/FeedHtmlContent/index.d.ts +3 -0
  18. package/dist/types/components/Feeds/FeedHtmlContent/index.d.ts.map +1 -0
  19. package/dist/types/components/Feeds/FeedHtmlContent/types.d.ts +13 -0
  20. package/dist/types/components/Feeds/FeedHtmlContent/types.d.ts.map +1 -0
  21. package/dist/types/components/Feeds/FeedItemBase/FeedItemBase.vue.d.ts +42 -0
  22. package/dist/types/components/Feeds/FeedItemBase/FeedItemBase.vue.d.ts.map +1 -0
  23. package/dist/types/components/Feeds/FeedItemBase/index.d.ts +3 -0
  24. package/dist/types/components/Feeds/FeedItemBase/index.d.ts.map +1 -0
  25. package/dist/types/components/Feeds/FeedItemBase/types.d.ts +35 -0
  26. package/dist/types/components/Feeds/FeedItemBase/types.d.ts.map +1 -0
  27. package/dist/types/components/Feeds/FeedItemMetaFooter/FeedItemMetaFooter.vue.d.ts +12 -0
  28. package/dist/types/components/Feeds/FeedItemMetaFooter/FeedItemMetaFooter.vue.d.ts.map +1 -0
  29. package/dist/types/components/Feeds/FeedItemMetaFooter/index.d.ts +3 -0
  30. package/dist/types/components/Feeds/FeedItemMetaFooter/index.d.ts.map +1 -0
  31. package/dist/types/components/Feeds/FeedItemMetaFooter/types.d.ts +27 -0
  32. package/dist/types/components/Feeds/FeedItemMetaFooter/types.d.ts.map +1 -0
  33. package/dist/types/components/Feeds/FeedList/FeedList.vue.d.ts +60 -0
  34. package/dist/types/components/Feeds/FeedList/FeedList.vue.d.ts.map +1 -0
  35. package/dist/types/components/Feeds/FeedList/FeedListItemBody.vue.d.ts +17 -0
  36. package/dist/types/components/Feeds/FeedList/FeedListItemBody.vue.d.ts.map +1 -0
  37. package/dist/types/components/Feeds/FeedList/index.d.ts +3 -0
  38. package/dist/types/components/Feeds/FeedList/index.d.ts.map +1 -0
  39. package/dist/types/components/Feeds/FeedList/types.d.ts +69 -0
  40. package/dist/types/components/Feeds/FeedList/types.d.ts.map +1 -0
  41. package/dist/types/components/Feeds/FeedMarkdownContent/FeedMarkdownContent.vue.d.ts +7 -0
  42. package/dist/types/components/Feeds/FeedMarkdownContent/FeedMarkdownContent.vue.d.ts.map +1 -0
  43. package/dist/types/components/Feeds/FeedMarkdownContent/index.d.ts +3 -0
  44. package/dist/types/components/Feeds/FeedMarkdownContent/index.d.ts.map +1 -0
  45. package/dist/types/components/Feeds/FeedMarkdownContent/types.d.ts +12 -0
  46. package/dist/types/components/Feeds/FeedMarkdownContent/types.d.ts.map +1 -0
  47. package/dist/types/components/Feeds/FeedSkillContent/FeedSkillContent.vue.d.ts +29 -0
  48. package/dist/types/components/Feeds/FeedSkillContent/FeedSkillContent.vue.d.ts.map +1 -0
  49. package/dist/types/components/Feeds/FeedSkillContent/index.d.ts +3 -0
  50. package/dist/types/components/Feeds/FeedSkillContent/index.d.ts.map +1 -0
  51. package/dist/types/components/Feeds/FeedSkillContent/types.d.ts +29 -0
  52. package/dist/types/components/Feeds/FeedSkillContent/types.d.ts.map +1 -0
  53. package/dist/types/components/Feeds/feedEmbed.d.ts +10 -0
  54. package/dist/types/components/Feeds/feedEmbed.d.ts.map +1 -0
  55. package/dist/types/components/Feeds/formatFeedReadingTime.d.ts +3 -0
  56. package/dist/types/components/Feeds/formatFeedReadingTime.d.ts.map +1 -0
  57. package/dist/types/components/Feeds/index.d.ts +10 -0
  58. package/dist/types/components/Feeds/index.d.ts.map +1 -0
  59. package/dist/types/components/SkillCard/SkillCard.vue.d.ts +20 -0
  60. package/dist/types/components/SkillCard/SkillCard.vue.d.ts.map +1 -0
  61. package/dist/types/components/SkillCard/index.d.ts +4 -0
  62. package/dist/types/components/SkillCard/index.d.ts.map +1 -0
  63. package/dist/types/components/SkillCard/types.d.ts +17 -0
  64. package/dist/types/components/SkillCard/types.d.ts.map +1 -0
  65. package/dist/types/idw-card/bind/bindIdwCard.d.ts +7 -0
  66. package/dist/types/idw-card/bind/bindIdwCard.d.ts.map +1 -0
  67. package/dist/types/idw-card/bind/index.d.ts +2 -0
  68. package/dist/types/idw-card/bind/index.d.ts.map +1 -0
  69. package/dist/types/idw-card/form/dates.d.ts +5 -0
  70. package/dist/types/idw-card/form/dates.d.ts.map +1 -0
  71. package/dist/types/idw-card/form/formContext.d.ts +10 -0
  72. package/dist/types/idw-card/form/formContext.d.ts.map +1 -0
  73. package/dist/types/idw-card/form/index.d.ts +3 -0
  74. package/dist/types/idw-card/form/index.d.ts.map +1 -0
  75. package/dist/types/idw-card/host/hostConfig.d.ts +13 -0
  76. package/dist/types/idw-card/host/hostConfig.d.ts.map +1 -0
  77. package/dist/types/idw-card/host/index.d.ts +3 -0
  78. package/dist/types/idw-card/host/index.d.ts.map +1 -0
  79. package/dist/types/idw-card/index.d.ts +10 -0
  80. package/dist/types/idw-card/index.d.ts.map +1 -0
  81. package/dist/types/idw-card/renderer/CardRenderer.vue.d.ts +18 -0
  82. package/dist/types/idw-card/renderer/CardRenderer.vue.d.ts.map +1 -0
  83. package/dist/types/idw-card/renderer/IdwCardActionBar.vue.d.ts +12 -0
  84. package/dist/types/idw-card/renderer/IdwCardActionBar.vue.d.ts.map +1 -0
  85. package/dist/types/idw-card/renderer/IdwCardElementView.vue.d.ts +16 -0
  86. package/dist/types/idw-card/renderer/IdwCardElementView.vue.d.ts.map +1 -0
  87. package/dist/types/idw-card/renderer/actionStyle.d.ts +12 -0
  88. package/dist/types/idw-card/renderer/actionStyle.d.ts.map +1 -0
  89. package/dist/types/idw-card/renderer/elements/ActionSetElement.vue.d.ts +12 -0
  90. package/dist/types/idw-card/renderer/elements/ActionSetElement.vue.d.ts.map +1 -0
  91. package/dist/types/idw-card/renderer/elements/BadgeElement.vue.d.ts +7 -0
  92. package/dist/types/idw-card/renderer/elements/BadgeElement.vue.d.ts.map +1 -0
  93. package/dist/types/idw-card/renderer/elements/ColumnSetElement.vue.d.ts +16 -0
  94. package/dist/types/idw-card/renderer/elements/ColumnSetElement.vue.d.ts.map +1 -0
  95. package/dist/types/idw-card/renderer/elements/ContainerElement.vue.d.ts +16 -0
  96. package/dist/types/idw-card/renderer/elements/ContainerElement.vue.d.ts.map +1 -0
  97. package/dist/types/idw-card/renderer/elements/FactSetElement.vue.d.ts +7 -0
  98. package/dist/types/idw-card/renderer/elements/FactSetElement.vue.d.ts.map +1 -0
  99. package/dist/types/idw-card/renderer/elements/FileElement.vue.d.ts +9 -0
  100. package/dist/types/idw-card/renderer/elements/FileElement.vue.d.ts.map +1 -0
  101. package/dist/types/idw-card/renderer/elements/HtmlElement.vue.d.ts +9 -0
  102. package/dist/types/idw-card/renderer/elements/HtmlElement.vue.d.ts.map +1 -0
  103. package/dist/types/idw-card/renderer/elements/IconElement.vue.d.ts +7 -0
  104. package/dist/types/idw-card/renderer/elements/IconElement.vue.d.ts.map +1 -0
  105. package/dist/types/idw-card/renderer/elements/ImageElement.vue.d.ts +7 -0
  106. package/dist/types/idw-card/renderer/elements/ImageElement.vue.d.ts.map +1 -0
  107. package/dist/types/idw-card/renderer/elements/ImageSetElement.vue.d.ts +7 -0
  108. package/dist/types/idw-card/renderer/elements/ImageSetElement.vue.d.ts.map +1 -0
  109. package/dist/types/idw-card/renderer/elements/InputElement.vue.d.ts +7 -0
  110. package/dist/types/idw-card/renderer/elements/InputElement.vue.d.ts.map +1 -0
  111. package/dist/types/idw-card/renderer/elements/MediaElement.vue.d.ts +7 -0
  112. package/dist/types/idw-card/renderer/elements/MediaElement.vue.d.ts.map +1 -0
  113. package/dist/types/idw-card/renderer/elements/ProgressElement.vue.d.ts +7 -0
  114. package/dist/types/idw-card/renderer/elements/ProgressElement.vue.d.ts.map +1 -0
  115. package/dist/types/idw-card/renderer/elements/SkillElement.vue.d.ts +14 -0
  116. package/dist/types/idw-card/renderer/elements/SkillElement.vue.d.ts.map +1 -0
  117. package/dist/types/idw-card/renderer/elements/TableElement.vue.d.ts +7 -0
  118. package/dist/types/idw-card/renderer/elements/TableElement.vue.d.ts.map +1 -0
  119. package/dist/types/idw-card/renderer/elements/TextElement.vue.d.ts +7 -0
  120. package/dist/types/idw-card/renderer/elements/TextElement.vue.d.ts.map +1 -0
  121. package/dist/types/idw-card/renderer/index.d.ts +3 -0
  122. package/dist/types/idw-card/renderer/index.d.ts.map +1 -0
  123. package/dist/types/idw-card/renderer/types.d.ts +12 -0
  124. package/dist/types/idw-card/renderer/types.d.ts.map +1 -0
  125. package/dist/types/idw-card/schema/index.d.ts +3 -0
  126. package/dist/types/idw-card/schema/index.d.ts.map +1 -0
  127. package/dist/types/idw-card/templates/approval.d.ts +94 -0
  128. package/dist/types/idw-card/templates/approval.d.ts.map +1 -0
  129. package/dist/types/idw-card/templates/compile.d.ts +7 -0
  130. package/dist/types/idw-card/templates/compile.d.ts.map +1 -0
  131. package/dist/types/idw-card/templates/index.d.ts +7 -0
  132. package/dist/types/idw-card/templates/index.d.ts.map +1 -0
  133. package/dist/types/idw-card/templates/registry.d.ts +16 -0
  134. package/dist/types/idw-card/templates/registry.d.ts.map +1 -0
  135. package/dist/types/idw-card/templates/types.d.ts +20 -0
  136. package/dist/types/idw-card/templates/types.d.ts.map +1 -0
  137. package/dist/types/index.d.ts +3 -0
  138. package/dist/types/index.d.ts.map +1 -1
  139. package/package.json +33 -14
  140. package/dist/cjs/format-idw-summary.js +0 -11
  141. package/dist/cjs/format-idw-summary.js.map +0 -1
  142. package/dist/esm/format-idw-summary.js +0 -8
  143. package/dist/esm/format-idw-summary.js.map +0 -1
@@ -0,0 +1,13 @@
1
+ import type { FeedEmbedSize } from '../../components/Feeds/feedEmbed';
2
+ import type { IdwSpacing, IdwTextStyle, IdwTone } from '../schema';
3
+ export type IdwCardTheme = 'dark' | 'light';
4
+ export type IdwCardHostConfig = {
5
+ theme: IdwCardTheme;
6
+ embedSize: FeedEmbedSize;
7
+ };
8
+ export declare const DEFAULT_IDW_CARD_HOST_CONFIG: IdwCardHostConfig;
9
+ export declare const IDW_SPACING_CLASS: Record<IdwSpacing, string>;
10
+ export declare const IDW_TEXT_STYLE_CLASS: Record<IdwTextStyle, string>;
11
+ export declare const IDW_TONE_SURFACE_CLASS: Record<IdwTone, string>;
12
+ export declare function resolveIdwCardHostConfig(overrides?: Partial<IdwCardHostConfig>): IdwCardHostConfig;
13
+ //# sourceMappingURL=hostConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hostConfig.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/host/hostConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,iBAG1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAOxD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAI7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAM1D,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GACrC,iBAAiB,CAKnB"}
@@ -0,0 +1,3 @@
1
+ export { DEFAULT_IDW_CARD_HOST_CONFIG, IDW_SPACING_CLASS, IDW_TEXT_STYLE_CLASS, IDW_TONE_SURFACE_CLASS, resolveIdwCardHostConfig, } from './hostConfig';
2
+ export type { IdwCardHostConfig, IdwCardTheme } from './hostConfig';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/host/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ export { bindIdwCard } from './bind';
2
+ export { DEFAULT_IDW_CARD_HOST_CONFIG, IDW_SPACING_CLASS, IDW_TEXT_STYLE_CLASS, IDW_TONE_SURFACE_CLASS, resolveIdwCardHostConfig, } from './host';
3
+ export type { IdwCardHostConfig, IdwCardTheme } from './host';
4
+ export { CardRenderer } from './renderer';
5
+ export type { IdwCardActionEvent } from './renderer';
6
+ export { collectInitialInputValues, IDW_CARD_MAX_ACTIONS, IDW_CARD_MAX_BODY_ELEMENTS, IDW_CARD_MAX_COLUMNS, IDW_CARD_MAX_NESTING, IDW_CARD_MIN_COLUMNS, IDW_CARD_SCHEMA, IDW_CARD_VERSION, idwCardActionSchema, idwCardElementSchema, idwCardSchema, getIdwCardFallbackText, idwCardVerbSchema, isAllowedResourceUrl, isIdwCardInputElement, isInputEmpty, listIdwCardInputs, parseIdwCard, validateIdwCard, } from './schema';
7
+ export type { IdwActionSetElement, IdwBadgeElement, IdwCard, IdwCardAction, IdwCardSkillData, IdwCardActionStyle, IdwCardColumn, IdwCardElement, IdwCardElementBase, IdwCardInputElement, IdwCardInputMeta, IdwCardValidationIssue, IdwCardValidationResult, IdwCardVerb, IdwChoice, IdwChoiceSetStyle, IdwColumnSetElement, IdwColumnWidth, IdwContainerElement, IdwFact, IdwFactSetElement, IdwFileElement, IdwHtmlElement, IdwIconElement, IdwImageElement, IdwImageSetElement, IdwInputChoiceSetElement, IdwInputLocationElement, IdwInputTextElement, IdwLocationValue, IdwMediaElement, IdwProgressElement, IdwSkillElement, IdwSpacing, IdwTableElement, IdwTextElement, IdwTextStyle, IdwTone, } from './schema';
8
+ export { APPROVAL_TEMPLATE_ID, approvalDataSchema, approvalTemplate, approvalTemplateCard, cardFromFile, cardFromHtml, cardFromMarkdown, cardFromSkill, getIdwCardTemplate, IDW_CARD_TEMPLATES, resolveCardRendererSource, } from './templates';
9
+ export type { ApprovalTemplateData, CardFromSkillInput, CardRendererSource, IdwCardTemplate, ResolveCardRendererSourceResult, } from './templates';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/idw-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EACL,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,QAAQ,CAAC;AAChB,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,OAAO,EACP,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,UAAU,EACV,eAAe,EACf,cAAc,EACd,YAAY,EACZ,OAAO,GACR,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,+BAA+B,GAChC,MAAM,aAAa,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { type IdwCardHostConfig } from '../host';
2
+ import type { CardRendererSource } from '../templates';
3
+ import type { IdwCardActionEvent } from './types';
4
+ type __VLS_Props = {
5
+ source: CardRendererSource;
6
+ hostConfig?: Partial<IdwCardHostConfig>;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "skill-click": () => any;
10
+ action: (event: IdwCardActionEvent) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onSkill-click"?: (() => any) | undefined;
13
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
14
+ }>, {
15
+ hostConfig: Partial<IdwCardHostConfig>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
18
+ //# sourceMappingURL=CardRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/CardRenderer.vue"],"names":[],"mappings":"AAgLA,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQ3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACzC,CAAC;;;;;;;;gBADa,OAAO,CAAC,iBAAiB,CAAC;;AAgQzC,wBAQG"}
@@ -0,0 +1,12 @@
1
+ import type { IdwCardAction } from '../schema';
2
+ import type { IdwCardActionEvent } from './types';
3
+ type __VLS_Props = {
4
+ actions: IdwCardAction[];
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ action: (event: IdwCardActionEvent) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
12
+ //# sourceMappingURL=IdwCardActionBar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdwCardActionBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/IdwCardActionBar.vue"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,aAAa,EAAE,CAAC;CAC1B,CAAC;;;;;;AAwFF,wBAOG"}
@@ -0,0 +1,16 @@
1
+ import { type IdwCardHostConfig } from '../host';
2
+ import { type IdwCardElement } from '../schema';
3
+ import type { IdwCardActionEvent } from './types';
4
+ type __VLS_Props = {
5
+ element: IdwCardElement;
6
+ hostConfig: IdwCardHostConfig;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "skill-click": () => any;
10
+ action: (event: IdwCardActionEvent) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onSkill-click"?: (() => any) | undefined;
13
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=IdwCardElementView.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdwCardElementView.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/IdwCardElementView.vue"],"names":[],"mappings":"AA2JA,OAAO,EAA6C,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAiBvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;;;;;;;AAyXF,wBAOG"}
@@ -0,0 +1,12 @@
1
+ import type { IdwCardActionStyle } from '../schema';
2
+ export declare function idwCardActionButtonProps(style?: IdwCardActionStyle): {
3
+ variant: "contained";
4
+ color: "primary";
5
+ } | {
6
+ variant: "outlined";
7
+ color: "danger";
8
+ } | {
9
+ variant: "outlined";
10
+ color: "primary";
11
+ };
12
+ //# sourceMappingURL=actionStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionStyle.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/actionStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,wBAAgB,wBAAwB,CAAC,KAAK,GAAE,kBAA8B;;;;;;;;;EAiB7E"}
@@ -0,0 +1,12 @@
1
+ import type { IdwActionSetElement } from '../../schema';
2
+ import type { IdwCardActionEvent } from '../types';
3
+ type __VLS_Props = {
4
+ element: IdwActionSetElement;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ action: (event: IdwCardActionEvent) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
12
+ //# sourceMappingURL=ActionSetElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionSetElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ActionSetElement.vue"],"names":[],"mappings":"AAAA,OA0BO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;CAC9B,CAAC;;;;;;AAyDF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwBadgeElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwBadgeElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=BadgeElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/BadgeElement.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,eAAe,EAAW,MAAM,cAAc,CAAC;AAM7D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;;AAgDF,wBAMG"}
@@ -0,0 +1,16 @@
1
+ import type { IdwCardHostConfig } from '../../host';
2
+ import type { IdwColumnSetElement } from '../../schema';
3
+ import type { IdwCardActionEvent } from '../types';
4
+ type __VLS_Props = {
5
+ element: IdwColumnSetElement;
6
+ hostConfig: IdwCardHostConfig;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "skill-click": () => any;
10
+ action: (event: IdwCardActionEvent) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onSkill-click"?: (() => any) | undefined;
13
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=ColumnSetElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColumnSetElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ColumnSetElement.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;;;;;;;AAyFF,wBAOG"}
@@ -0,0 +1,16 @@
1
+ import type { IdwCardHostConfig } from '../../host';
2
+ import type { IdwContainerElement } from '../../schema';
3
+ import type { IdwCardActionEvent } from '../types';
4
+ type __VLS_Props = {
5
+ element: IdwContainerElement;
6
+ hostConfig: IdwCardHostConfig;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "skill-click": () => any;
10
+ action: (event: IdwCardActionEvent) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onSkill-click"?: (() => any) | undefined;
13
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=ContainerElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContainerElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ContainerElement.vue"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;;;;;;;AA4EF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwFactSetElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwFactSetElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=FactSetElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FactSetElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/FactSetElement.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAMtD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,iBAAiB,CAAC;CAC5B,CAAC;;AA6DF,wBAMG"}
@@ -0,0 +1,9 @@
1
+ import type { IdwCardHostConfig } from '../../host';
2
+ import type { IdwFileElement } from '../../schema';
3
+ type __VLS_Props = {
4
+ element: IdwFileElement;
5
+ hostConfig: IdwCardHostConfig;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
9
+ //# sourceMappingURL=FileElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/FileElement.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;AA8CF,wBAMG"}
@@ -0,0 +1,9 @@
1
+ import type { IdwCardHostConfig } from '../../host';
2
+ import type { IdwHtmlElement } from '../../schema';
3
+ type __VLS_Props = {
4
+ element: IdwHtmlElement;
5
+ hostConfig: IdwCardHostConfig;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
9
+ //# sourceMappingURL=HtmlElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HtmlElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/HtmlElement.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;AA8CF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwIconElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwIconElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=IconElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/IconElement.vue"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;CACzB,CAAC;;AA8CF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwImageElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwImageElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=ImageElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ImageElement.vue"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAMpD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;;AAwCF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwImageSetElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwImageSetElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=ImageSetElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageSetElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ImageSetElement.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAMvD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;;AAmDF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwCardInputElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwCardInputElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=InputElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/InputElement.vue"],"names":[],"mappings":"AA0VA,OAAO,KAAK,EAAE,mBAAmB,EAAoB,MAAM,cAAc,CAAC;AAM1E,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;CAC9B,CAAC;;AA+xBF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwMediaElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwMediaElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=MediaElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/MediaElement.vue"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAMpD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;;AAuDF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwProgressElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwProgressElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=ProgressElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ProgressElement.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,cAAc,CAAC;AAMhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;;AAiFF,wBAMG"}
@@ -0,0 +1,14 @@
1
+ import type { IdwSkillElement } from '../../schema';
2
+ import type { IdwCardActionEvent } from '../types';
3
+ type __VLS_Props = {
4
+ element: IdwSkillElement;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "skill-click": () => any;
8
+ action: (event: IdwCardActionEvent) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ "onSkill-click"?: (() => any) | undefined;
11
+ onAction?: ((event: IdwCardActionEvent) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
14
+ //# sourceMappingURL=SkillElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkillElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/SkillElement.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;;;;;;;;AA4EF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwTableElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwTableElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=TableElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/TableElement.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAMpD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;;AAqFF,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import type { IdwTextElement } from '../../schema';
2
+ type __VLS_Props = {
3
+ element: IdwTextElement;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=TextElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/TextElement.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;CACzB,CAAC;;AAuDF,wBAMG"}
@@ -0,0 +1,3 @@
1
+ export { default as CardRenderer } from './CardRenderer.vue';
2
+ export type { IdwCardActionEvent } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { IdwCard, IdwCardVerb } from '../schema';
2
+ export type IdwCardActionEvent = {
3
+ verb: IdwCardVerb;
4
+ title: string;
5
+ data?: Record<string, unknown>;
6
+ url?: string;
7
+ skillId?: string;
8
+ targetIds?: string[];
9
+ inputs?: Record<string, unknown>;
10
+ card?: IdwCard;
11
+ };
12
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { collectInitialInputValues, defaultInputValue, getIdwCardFallbackText, IDW_CARD_MAX_ACTIONS, IDW_CARD_MAX_BODY_ELEMENTS, IDW_CARD_MAX_COLUMNS, IDW_CARD_MAX_NESTING, IDW_CARD_MIN_COLUMNS, IDW_CARD_SCHEMA, IDW_CARD_VERSION, idwCardActionSchema, idwCardElementSchema, idwCardSchema, idwCardVerbSchema, isAllowedResourceUrl, isElementVisible, isIdwCardInputElement, isInputEmpty, listIdwCardInputs, parseIdwCard, validateIdwCard, } from '@onereach/idw-contracts';
2
+ export type { IdwActionSetElement, IdwBadgeElement, IdwCard, IdwCardAction, IdwCardActionStyle, IdwCardColumn, IdwCardElement, IdwCardElementBase, IdwCardInputElement, IdwCardInputMeta, IdwCardSkillData, IdwCardValidationIssue, IdwCardValidationResult, IdwCardVerb, IdwChoice, IdwChoiceSetStyle, IdwColumnSetElement, IdwColumnWidth, IdwContainerElement, IdwFact, IdwFactSetElement, IdwFileElement, IdwHtmlElement, IdwIconElement, IdwImageElement, IdwImageSetElement, IdwImageSetItem, IdwInputBase, IdwInputCheckboxElement, IdwInputChoiceSetElement, IdwInputDateElement, IdwInputDateTimeElement, IdwInputLocationElement, IdwInputNumberElement, IdwInputRangeElement, IdwInputRatingElement, IdwInputSliderElement, IdwInputTextElement, IdwInputTimeElement, IdwInputToggleElement, IdwLocationValue, IdwMediaElement, IdwMediaType, IdwProgressElement, IdwProgressVariant, IdwSkillElement, IdwSpacing, IdwTableColumn, IdwTableElement, IdwTextElement, IdwTextInputStyle, IdwTextStyle, IdwTone, } from '@onereach/idw-contracts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,OAAO,EACP,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,OAAO,EACP,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,UAAU,EACV,cAAc,EACd,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,OAAO,GACR,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,94 @@
1
+ import { z } from 'zod';
2
+ import type { IdwCardTemplate } from './types';
3
+ export declare const APPROVAL_TEMPLATE_ID: "approval";
4
+ export declare const approvalDataSchema: z.ZodObject<{
5
+ title: z.ZodString;
6
+ summary: z.ZodString;
7
+ requester: z.ZodString;
8
+ dueAt: z.ZodOptional<z.ZodString>;
9
+ facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ title: z.ZodString;
11
+ value: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ title: string;
14
+ value: string;
15
+ }, {
16
+ title: string;
17
+ value: string;
18
+ }>, "many">>;
19
+ approveLabel: z.ZodDefault<z.ZodString>;
20
+ rejectLabel: z.ZodDefault<z.ZodString>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ title: string;
23
+ summary: string;
24
+ requester: string;
25
+ approveLabel: string;
26
+ rejectLabel: string;
27
+ dueAt?: string | undefined;
28
+ facts?: {
29
+ title: string;
30
+ value: string;
31
+ }[] | undefined;
32
+ }, {
33
+ title: string;
34
+ summary: string;
35
+ requester: string;
36
+ dueAt?: string | undefined;
37
+ facts?: {
38
+ title: string;
39
+ value: string;
40
+ }[] | undefined;
41
+ approveLabel?: string | undefined;
42
+ rejectLabel?: string | undefined;
43
+ }>;
44
+ export type ApprovalTemplateData = z.infer<typeof approvalDataSchema>;
45
+ export declare const approvalTemplateCard: {
46
+ type: string;
47
+ schema: "idw.card";
48
+ version: "1.0";
49
+ body: ({
50
+ type: string;
51
+ text: string;
52
+ textStyle: string;
53
+ spacing?: undefined;
54
+ facts?: undefined;
55
+ $when?: undefined;
56
+ } | {
57
+ type: string;
58
+ text: string;
59
+ textStyle: string;
60
+ spacing: string;
61
+ facts?: undefined;
62
+ $when?: undefined;
63
+ } | {
64
+ type: string;
65
+ spacing: string;
66
+ facts: ({
67
+ title: string;
68
+ value: string;
69
+ $when?: undefined;
70
+ } | {
71
+ title: string;
72
+ value: string;
73
+ $when: string;
74
+ })[];
75
+ text?: undefined;
76
+ textStyle?: undefined;
77
+ $when?: undefined;
78
+ } | {
79
+ type: string;
80
+ spacing: string;
81
+ $when: string;
82
+ facts: string;
83
+ text?: undefined;
84
+ textStyle?: undefined;
85
+ })[];
86
+ actions: {
87
+ type: string;
88
+ verb: string;
89
+ title: string;
90
+ style: string;
91
+ }[];
92
+ };
93
+ export declare const approvalTemplate: IdwCardTemplate;
94
+ //# sourceMappingURL=approval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"approval.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/templates/approval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,oBAAoB,YAAsB,CAAC;AAExD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEtE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDhC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAK9B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type IdwCard } from '../schema';
2
+ import type { CardFromSkillInput } from './types';
3
+ export declare function cardFromMarkdown(text: string): IdwCard;
4
+ export declare function cardFromHtml(title: string, content: string): IdwCard;
5
+ export declare function cardFromFile(title: string, src: string): IdwCard;
6
+ export declare function cardFromSkill(input: CardFromSkillInput): IdwCard;
7
+ //# sourceMappingURL=compile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/templates/compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAYlD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAKtD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAMpE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAMhE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAOhE"}
@@ -0,0 +1,7 @@
1
+ export { APPROVAL_TEMPLATE_ID, approvalDataSchema, approvalTemplate, approvalTemplateCard, } from './approval';
2
+ export type { ApprovalTemplateData } from './approval';
3
+ export { cardFromFile, cardFromHtml, cardFromMarkdown, cardFromSkill, } from './compile';
4
+ export { getIdwCardTemplate, IDW_CARD_TEMPLATES, resolveCardRendererSource, } from './registry';
5
+ export type { ResolveCardRendererSourceResult } from './registry';
6
+ export type { CardFromSkillInput, CardRendererSource, IdwCardTemplate, } from './types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,aAAa,GACd,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAClE,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,GAChB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { type IdwCard, type IdwCardValidationIssue } from '../schema';
2
+ import type { CardRendererSource, IdwCardTemplate } from './types';
3
+ export declare const IDW_CARD_TEMPLATES: Record<string, IdwCardTemplate>;
4
+ export declare function getIdwCardTemplate(id: string): IdwCardTemplate | undefined;
5
+ export type ResolveCardRendererSourceResult = {
6
+ success: true;
7
+ card: IdwCard;
8
+ issues: [];
9
+ } | {
10
+ success: false;
11
+ card?: undefined;
12
+ issues: IdwCardValidationIssue[];
13
+ fallbackText?: string;
14
+ };
15
+ export declare function resolveCardRendererSource(source: CardRendererSource): ResolveCardRendererSourceResult;
16
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/templates/registry.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC5B,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEnE,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAE9D,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAE1E;AAED,MAAM,MAAM,+BAA+B,GACvC;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,EAAE,CAAA;CAAE,GAC5C;IAAE,OAAO,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,sBAAsB,EAAE,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAElG,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,kBAAkB,GACzB,+BAA+B,CAoCjC"}
@@ -0,0 +1,20 @@
1
+ import type { ZodTypeAny } from 'zod';
2
+ import type { SkillCardData } from '../../components/SkillCard';
3
+ export type IdwCardTemplate = {
4
+ id: string;
5
+ version: string;
6
+ card: unknown;
7
+ dataSchema: ZodTypeAny;
8
+ };
9
+ export type CardRendererSource = {
10
+ card: unknown;
11
+ } | {
12
+ templateId: string;
13
+ data: unknown;
14
+ };
15
+ export type CardFromSkillInput = {
16
+ text: string;
17
+ skill?: SkillCardData;
18
+ startSkillLabel?: string;
19
+ };
20
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/templates/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -1,2 +1,5 @@
1
1
  export * from './format-idw-summary';
2
+ export * from './components/SkillCard';
3
+ export * from './components/Feeds';
4
+ export * from './idw-card';
2
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC"}