prismify-ui 0.1.0-alpha.1

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 (169) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/CODE_OF_CONDUCT.md +79 -0
  3. package/LICENSE +21 -0
  4. package/README.md +38 -0
  5. package/dist/components/dashboard/PfDashboardGroup/index.vue.d.ts +42 -0
  6. package/dist/components/dashboard/PfDashboardNavbar/index.vue.d.ts +57 -0
  7. package/dist/components/dashboard/PfDashboardPanel/index.vue.d.ts +47 -0
  8. package/dist/components/dashboard/PfDashboardResizeHandle/index.vue.d.ts +28 -0
  9. package/dist/components/dashboard/PfDashboardSearch/index.vue.d.ts +99 -0
  10. package/dist/components/dashboard/PfDashboardSearchButton/index.vue.d.ts +71 -0
  11. package/dist/components/dashboard/PfDashboardSidebar/index.vue.d.ts +121 -0
  12. package/dist/components/dashboard/PfDashboardSidebarCollapse/index.vue.d.ts +65 -0
  13. package/dist/components/dashboard/PfDashboardSidebarToggle/index.vue.d.ts +65 -0
  14. package/dist/components/dashboard/PfDashboardToolbar/index.vue.d.ts +32 -0
  15. package/dist/components/dashboard/shared/injection.d.ts +30 -0
  16. package/dist/components/dashboard/shared/resize.d.ts +5 -0
  17. package/dist/components/dashboard/shared/storage.d.ts +10 -0
  18. package/dist/components/data/PfAccordion/index.vue.d.ts +167 -0
  19. package/dist/components/data/PfEmpty/index.vue.d.ts +83 -0
  20. package/dist/components/data/PfMarquee/index.vue.d.ts +97 -0
  21. package/dist/components/data/PfScrollArea/index.vue.d.ts +58 -0
  22. package/dist/components/data/PfTable/index.vue.d.ts +166 -0
  23. package/dist/components/data/PfTimeline/index.vue.d.ts +105 -0
  24. package/dist/components/data/PfTree/PfTreeBranch.vue.d.ts +78 -0
  25. package/dist/components/data/PfTree/PfTreeRow.vue.d.ts +107 -0
  26. package/dist/components/data/PfTree/index.vue.d.ts +222 -0
  27. package/dist/components/data/PfTree/treeContext.d.ts +19 -0
  28. package/dist/components/data/PfTree/treeItemDisplay.d.ts +5 -0
  29. package/dist/components/data/PfTree/treeTypes.d.ts +58 -0
  30. package/dist/components/data/PfUser/index.vue.d.ts +65 -0
  31. package/dist/components/editor/PfEditor/PfEditorImageUploadNode.vue.d.ts +3 -0
  32. package/dist/components/editor/PfEditor/imageUploadExtension.d.ts +10 -0
  33. package/dist/components/editor/PfEditor/index.vue.d.ts +47 -0
  34. package/dist/components/editor/PfEditorDragHandle/index.vue.d.ts +95 -0
  35. package/dist/components/editor/PfEditorEmojiMenu/index.vue.d.ts +43 -0
  36. package/dist/components/editor/PfEditorMentionMenu/index.vue.d.ts +53 -0
  37. package/dist/components/editor/PfEditorSuggestionMenu/index.vue.d.ts +49 -0
  38. package/dist/components/editor/PfEditorToolbar/index.vue.d.ts +67 -0
  39. package/dist/components/editor/utils/handlers.d.ts +7 -0
  40. package/dist/components/editor/utils/injection.d.ts +8 -0
  41. package/dist/components/editor/utils/mapEditorItems.d.ts +7 -0
  42. package/dist/components/editor/utils/types.d.ts +98 -0
  43. package/dist/components/editor/utils/useEditorMenu.d.ts +31 -0
  44. package/dist/components/element/PfAlert/index.vue.d.ts +98 -0
  45. package/dist/components/element/PfAvatar/index.vue.d.ts +43 -0
  46. package/dist/components/element/PfAvatarGroup/index.vue.d.ts +52 -0
  47. package/dist/components/element/PfAvatarGroup/injection.d.ts +6 -0
  48. package/dist/components/element/PfBadge/index.vue.d.ts +64 -0
  49. package/dist/components/element/PfBanner/index.vue.d.ts +67 -0
  50. package/dist/components/element/PfButton/index.vue.d.ts +108 -0
  51. package/dist/components/element/PfCard/index.vue.d.ts +34 -0
  52. package/dist/components/element/PfChip/index.vue.d.ts +49 -0
  53. package/dist/components/element/PfCollapsible/index.vue.d.ts +82 -0
  54. package/dist/components/element/PfContentSearchButton/index.vue.d.ts +75 -0
  55. package/dist/components/element/PfFieldGroup/index.vue.d.ts +48 -0
  56. package/dist/components/element/PfFieldGroup/injection.d.ts +6 -0
  57. package/dist/components/element/PfIcon/iconSizes.d.ts +3 -0
  58. package/dist/components/element/PfIcon/index.vue.d.ts +10 -0
  59. package/dist/components/element/PfIcon/paths.d.ts +14 -0
  60. package/dist/components/element/PfKbd/index.vue.d.ts +36 -0
  61. package/dist/components/element/PfProgress/index.vue.d.ts +69 -0
  62. package/dist/components/element/PfSeparator/index.vue.d.ts +58 -0
  63. package/dist/components/element/PfSkeleton/index.vue.d.ts +31 -0
  64. package/dist/components/form/PfCalendar/calendarGrid.d.ts +12 -0
  65. package/dist/components/form/PfCalendar/calendarSelection.d.ts +30 -0
  66. package/dist/components/form/PfCalendar/index.vue.d.ts +137 -0
  67. package/dist/components/form/PfCheckbox/index.vue.d.ts +84 -0
  68. package/dist/components/form/PfCheckboxGroup/index.vue.d.ts +82 -0
  69. package/dist/components/form/PfColorPicker/colorPicker.d.ts +46 -0
  70. package/dist/components/form/PfColorPicker/index.vue.d.ts +54 -0
  71. package/dist/components/form/PfFileUpload/index.vue.d.ts +258 -0
  72. package/dist/components/form/PfForm/index.vue.d.ts +75 -0
  73. package/dist/components/form/PfForm/injection.d.ts +32 -0
  74. package/dist/components/form/PfForm/validation.d.ts +9 -0
  75. package/dist/components/form/PfFormField/index.vue.d.ts +59 -0
  76. package/dist/components/form/PfInput/index.vue.d.ts +97 -0
  77. package/dist/components/form/PfInputDate/index.vue.d.ts +109 -0
  78. package/dist/components/form/PfInputDate/inputDateSegments.d.ts +36 -0
  79. package/dist/components/form/PfInputMenu/index.vue.d.ts +1410 -0
  80. package/dist/components/form/PfInputNumber/index.vue.d.ts +498 -0
  81. package/dist/components/form/PfInputTags/index.vue.d.ts +482 -0
  82. package/dist/components/form/PfInputTime/index.vue.d.ts +108 -0
  83. package/dist/components/form/PfInputTime/inputTimeSegments.d.ts +36 -0
  84. package/dist/components/form/PfPinInput/index.vue.d.ts +56 -0
  85. package/dist/components/form/PfRadio/index.vue.d.ts +76 -0
  86. package/dist/components/form/PfRadioGroup/index.vue.d.ts +74 -0
  87. package/dist/components/form/PfSelect/index.vue.d.ts +209 -0
  88. package/dist/components/form/PfSelectMenu/index.vue.d.ts +1034 -0
  89. package/dist/components/form/PfSlider/index.vue.d.ts +54 -0
  90. package/dist/components/form/PfSwitch/index.vue.d.ts +83 -0
  91. package/dist/components/form/PfTextarea/index.vue.d.ts +111 -0
  92. package/dist/components/form/groupItems.d.ts +36 -0
  93. package/dist/components/layout/PfApp/index.vue.d.ts +45 -0
  94. package/dist/components/layout/PfApp/injection.d.ts +43 -0
  95. package/dist/components/layout/PfContainer/index.vue.d.ts +27 -0
  96. package/dist/components/layout/PfError/index.vue.d.ts +113 -0
  97. package/dist/components/layout/PfFooter/index.vue.d.ts +38 -0
  98. package/dist/components/layout/PfHeader/index.vue.d.ts +132 -0
  99. package/dist/components/layout/PfMain/index.vue.d.ts +27 -0
  100. package/dist/components/navigation/PfBreadcrumb/index.vue.d.ts +156 -0
  101. package/dist/components/navigation/PfContentNavigation/index.vue.d.ts +196 -0
  102. package/dist/components/navigation/PfContentSurround/index.vue.d.ts +86 -0
  103. package/dist/components/navigation/PfContentToc/index.vue.d.ts +165 -0
  104. package/dist/components/navigation/PfFooterColumns/index.vue.d.ts +145 -0
  105. package/dist/components/navigation/PfLink/index.vue.d.ts +80 -0
  106. package/dist/components/navigation/PfNavigationMenu/index.vue.d.ts +187 -0
  107. package/dist/components/navigation/PfPagination/index.vue.d.ts +103 -0
  108. package/dist/components/navigation/PfStepper/index.vue.d.ts +107 -0
  109. package/dist/components/navigation/PfTabs/index.vue.d.ts +131 -0
  110. package/dist/components/overlay/PfContentSearch/index.vue.d.ts +181 -0
  111. package/dist/components/overlay/PfContextMenu/PfContextMenuItems.vue.d.ts +10 -0
  112. package/dist/components/overlay/PfContextMenu/index.vue.d.ts +57 -0
  113. package/dist/components/overlay/PfContextMenu/types.d.ts +40 -0
  114. package/dist/components/overlay/PfDrawer/index.vue.d.ts +106 -0
  115. package/dist/components/overlay/PfDropdownMenu/PfDropdownMenuItems.vue.d.ts +10 -0
  116. package/dist/components/overlay/PfDropdownMenu/index.vue.d.ts +74 -0
  117. package/dist/components/overlay/PfDropdownMenu/types.d.ts +58 -0
  118. package/dist/components/overlay/PfModal/index.vue.d.ts +138 -0
  119. package/dist/components/overlay/PfToast/index.vue.d.ts +128 -0
  120. package/dist/components/overlay/PfToaster/index.vue.d.ts +11 -0
  121. package/dist/components/overlay/PfTooltip/index.vue.d.ts +85 -0
  122. package/dist/composables/pfScrollAreaVirtual.d.ts +21 -0
  123. package/dist/composables/usePfApp.d.ts +7 -0
  124. package/dist/composables/usePfContentSearch.d.ts +11 -0
  125. package/dist/composables/usePfKbd.d.ts +14 -0
  126. package/dist/composables/usePfToast.d.ts +137 -0
  127. package/dist/composables/usePfVModelBound.d.ts +5 -0
  128. package/dist/index.d.ts +184 -0
  129. package/dist/prismify-ui.cjs +3 -0
  130. package/dist/prismify-ui.cjs.map +1 -0
  131. package/dist/prismify-ui.js +26967 -0
  132. package/dist/prismify-ui.js.map +1 -0
  133. package/dist/style.css +1 -0
  134. package/dist/utils/editor.d.ts +2 -0
  135. package/dist/utils/pfLinkQuery.d.ts +8 -0
  136. package/docs/README.md +17 -0
  137. package/docs/installation.md +120 -0
  138. package/docs/library-development.md +57 -0
  139. package/docs/theming.md +334 -0
  140. package/llms.txt +220 -0
  141. package/package.json +146 -0
  142. package/src/styles/_variables.scss +25 -0
  143. package/src/styles/index.scss +1 -0
  144. package/src/styles/mixins/_input-tag-pill.scss +72 -0
  145. package/src/styles/variables/_accordion.scss +15 -0
  146. package/src/styles/variables/_animation.scss +25 -0
  147. package/src/styles/variables/_breadcrumb.scss +11 -0
  148. package/src/styles/variables/_colors.scss +37 -0
  149. package/src/styles/variables/_contextMenu.scss +31 -0
  150. package/src/styles/variables/_dashboard.scss +8 -0
  151. package/src/styles/variables/_drawer.scss +34 -0
  152. package/src/styles/variables/_editor.scss +34 -0
  153. package/src/styles/variables/_effects.scss +6 -0
  154. package/src/styles/variables/_empty.scss +12 -0
  155. package/src/styles/variables/_fileUpload.scss +21 -0
  156. package/src/styles/variables/_footerColumns.scss +17 -0
  157. package/src/styles/variables/_layout.scss +294 -0
  158. package/src/styles/variables/_link.scss +8 -0
  159. package/src/styles/variables/_marquee.scss +6 -0
  160. package/src/styles/variables/_modal.scss +26 -0
  161. package/src/styles/variables/_navigationMenu.scss +46 -0
  162. package/src/styles/variables/_stepper.scss +15 -0
  163. package/src/styles/variables/_table.scss +29 -0
  164. package/src/styles/variables/_tabs.scss +18 -0
  165. package/src/styles/variables/_timeline.scss +11 -0
  166. package/src/styles/variables/_toast.scss +14 -0
  167. package/src/styles/variables/_tooltip.scss +16 -0
  168. package/src/styles/variables/_tree.scss +29 -0
  169. package/src/styles/variables/_typography.scss +19 -0
@@ -0,0 +1,165 @@
1
+ import { Component, PropType } from 'vue';
2
+ import { PfIconName } from '../../element/PfIcon/paths';
3
+ export type PfContentTocColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error' | 'neutral';
4
+ export type PfContentTocHighlightVariant = 'straight' | 'circuit';
5
+ export interface PfContentTocLink {
6
+ id?: string;
7
+ text?: string;
8
+ to?: string;
9
+ href?: string;
10
+ children?: PfContentTocLink[];
11
+ [key: string]: unknown;
12
+ }
13
+ export type PfContentTocUi = Partial<{
14
+ root: string;
15
+ container: string;
16
+ top: string;
17
+ bottom: string;
18
+ trigger: string;
19
+ title: string;
20
+ trailing: string;
21
+ trailingIcon: string;
22
+ content: string;
23
+ list: string;
24
+ listWithChildren: string;
25
+ item: string;
26
+ itemWithChildren: string;
27
+ link: string;
28
+ linkText: string;
29
+ indicator: string;
30
+ indicatorLine: string;
31
+ indicatorActive: string;
32
+ }>;
33
+ declare function __VLS_template(): {
34
+ attrs: Partial<{}>;
35
+ slots: Readonly<{
36
+ leading(): unknown;
37
+ default(): unknown;
38
+ trailing(): unknown;
39
+ content(): unknown;
40
+ link(props: {
41
+ link: PfContentTocLink;
42
+ active: boolean;
43
+ level: number;
44
+ }): unknown;
45
+ top(): unknown;
46
+ bottom(): unknown;
47
+ }> & {
48
+ leading(): unknown;
49
+ default(): unknown;
50
+ trailing(): unknown;
51
+ content(): unknown;
52
+ link(props: {
53
+ link: PfContentTocLink;
54
+ active: boolean;
55
+ level: number;
56
+ }): unknown;
57
+ top(): unknown;
58
+ bottom(): unknown;
59
+ };
60
+ refs: {};
61
+ rootEl: any;
62
+ };
63
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
64
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
65
+ as: PropType<string | Component | undefined>;
66
+ trailingIcon: {
67
+ type: PropType<PfIconName>;
68
+ default: string;
69
+ };
70
+ title: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ color: {
75
+ type: PropType<PfContentTocColor>;
76
+ default: string;
77
+ };
78
+ highlight: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ highlightColor: {
83
+ type: PropType<PfContentTocColor | undefined>;
84
+ default: undefined;
85
+ };
86
+ highlightVariant: {
87
+ type: PropType<PfContentTocHighlightVariant>;
88
+ default: string;
89
+ };
90
+ links: {
91
+ type: PropType<readonly PfContentTocLink[]>;
92
+ default: () => readonly PfContentTocLink[];
93
+ };
94
+ ui: PropType<PfContentTocUi | undefined>;
95
+ defaultOpen: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ open: {
100
+ type: PropType<boolean | undefined>;
101
+ default: undefined;
102
+ };
103
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
104
+ "update:open": (value: boolean) => any;
105
+ move: (id: string) => any;
106
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
107
+ as: PropType<string | Component | undefined>;
108
+ trailingIcon: {
109
+ type: PropType<PfIconName>;
110
+ default: string;
111
+ };
112
+ title: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ color: {
117
+ type: PropType<PfContentTocColor>;
118
+ default: string;
119
+ };
120
+ highlight: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ highlightColor: {
125
+ type: PropType<PfContentTocColor | undefined>;
126
+ default: undefined;
127
+ };
128
+ highlightVariant: {
129
+ type: PropType<PfContentTocHighlightVariant>;
130
+ default: string;
131
+ };
132
+ links: {
133
+ type: PropType<readonly PfContentTocLink[]>;
134
+ default: () => readonly PfContentTocLink[];
135
+ };
136
+ ui: PropType<PfContentTocUi | undefined>;
137
+ defaultOpen: {
138
+ type: BooleanConstructor;
139
+ default: boolean;
140
+ };
141
+ open: {
142
+ type: PropType<boolean | undefined>;
143
+ default: undefined;
144
+ };
145
+ }>> & Readonly<{
146
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
147
+ onMove?: ((id: string) => any) | undefined;
148
+ }>, {
149
+ title: string;
150
+ color: PfContentTocColor;
151
+ trailingIcon: "add" | "addressBook" | "alarmClock" | "alignCenter" | "alignJustify" | "alignRight" | "ambulance" | "angleDoubleLeft" | "angleDoubleRight" | "angleDoubleSmallLeft" | "angleDoubleSmallRight" | "angleDown" | "angleLeft" | "angleRight" | "angleSmallDown" | "angleSmallLeft" | "angleSmallRight" | "angleSmallUp" | "angleUp" | "apple" | "apps" | "apps2" | "appsAdd" | "appsDelete" | "appsSort" | "archive" | "arrowDown" | "arrowFromBottom" | "arrowLeft" | "arrowRight" | "arrowSmallDown" | "arrowSmallLeft" | "arrowSmallRight" | "arrowSmallUp" | "arrowUp" | "arrowUpRight" | "asterik" | "at" | "backpack" | "badge" | "balloons" | "ban" | "bandAid" | "bank" | "barberShop" | "baseball" | "basketball" | "bed" | "beer" | "bell" | "bellRing" | "bellSchool" | "bike" | "billiard" | "bold" | "book" | "bookAlt" | "bookmark" | "bowling" | "box" | "boxAlt" | "breadSlice" | "briefcase" | "broom" | "browser" | "brush" | "bug" | "building" | "bulb" | "butterfly" | "cakeBirthday" | "cakeWedding" | "calculator" | "calendar" | "callHistory" | "callIncoming" | "callMissed" | "callOutgoing" | "camera" | "camping" | "car" | "caretDown" | "caretLeft" | "caretRight" | "caretUp" | "carrot" | "catalog" | "chartConnected" | "chartHistogram" | "chartNetwork" | "chartPie" | "chartPieAlt" | "chartPyramid" | "chartSetTheory" | "chartTree" | "chatArrowDown" | "chatArrowGrow" | "check" | "checkbox" | "cheese" | "chessPiece" | "childHead" | "circle" | "circleSmall" | "clip" | "clock" | "cloud" | "cloudCheck" | "cloudDisabled" | "cloudDownload" | "clouds" | "cloudShare" | "cloudUpload" | "cocktail" | "coffee" | "comment" | "commentAlt" | "commentCheck" | "commentHeart" | "commentInfo" | "comments" | "commentUser" | "compress" | "compressAlt" | "computer" | "confetti" | "cookie" | "copy" | "copyAlt" | "copyright" | "cow" | "cream" | "creditCard" | "croissant" | "cross" | "crossCircle" | "crossSmall" | "crown" | "cube" | "cupcake" | "cursor" | "cursorFinger" | "cursorPlus" | "cursorText" | "cursorTextAlt" | "dart" | "dashboard" | "database" | "dataTransfer" | "delete" | "diamond" | "dice" | "diploma" | "discoBall" | "disk" | "doctor" | "document" | "documentSigned" | "dollar" | "download" | "drinkAlt" | "drumstick" | "duplicate" | "earnings" | "edit" | "editAlt" | "eLearning" | "envelope" | "envelopeBan" | "envelopeDownload" | "envelopeMarker" | "envelopeOpen" | "envelopePlus" | "euro" | "exclamation" | "expand" | "eye" | "eyeCrossed" | "eyeDropper" | "feather" | "ferrisWheel" | "file" | "fileAdd" | "fileAi" | "fileCheck" | "fileDelete" | "fileEps" | "fileGif" | "fileMusic" | "filePsd" | "fill" | "film" | "filter" | "fingerprint" | "fish" | "flag" | "flame" | "flipHorizontal" | "flower" | "flowerBouquet" | "flowerTulip" | "folder" | "folderAdd" | "following" | "football" | "form" | "forward" | "fox" | "frown" | "ftp" | "gallery" | "gamepad" | "gasPump" | "gem" | "gift" | "github" | "glassCheers" | "glasses" | "globe" | "globeAlt" | "golf" | "graduationCap" | "graphicTablet" | "grid" | "gridAlt" | "guitar" | "gym" | "hamburger" | "handHoldingHeart" | "hastag" | "hatBirthday" | "headphones" | "headset" | "headSideThinking" | "heart" | "heartArrow" | "home" | "homeLocation" | "homeLocationAlt" | "hourglass" | "hourglassEnd" | "iceCream" | "iceSkate" | "idBadge" | "inbox" | "incognito" | "indent" | "infinity" | "info" | "interactive" | "interlining" | "interrogation" | "italic" | "jpg" | "key" | "keyboard" | "kite" | "label" | "laptop" | "lasso" | "laugh" | "layers" | "layoutFluid" | "leaf" | "letterCase" | "lifeRing" | "lineWidth" | "link" | "lipstick" | "list" | "listCheck" | "locationAlt" | "lock" | "lockAlt" | "luggageRolling" | "magicWand" | "makeupBrush" | "manHead" | "map" | "mapMarker" | "mapMarkerCross" | "mapMarkerHome" | "mapMarkerMinus" | "mapMarkerPlus" | "marker" | "markerTime" | "mars" | "marsDouble" | "maskCarnival" | "medicine" | "megaphone" | "meh" | "menuBurger" | "menuDots" | "menuDotsVertical" | "microphone" | "microphoneAlt" | "minus" | "minusSmall" | "mobile" | "modeLandscape" | "modePortrait" | "money" | "moon" | "mountains" | "mouse" | "mugAlt" | "music" | "musicAlt" | "navigation" | "network" | "networkCloud" | "notebook" | "opacity" | "package" | "paintBrush" | "palette" | "paperPlane" | "password" | "pause" | "paw" | "pencil" | "pharmacy" | "phoneCall" | "phoneCross" | "phonePause" | "phoneSlash" | "physics" | "picture" | "pingPong" | "pizzaSlice" | "plane" | "play" | "playAlt" | "playingCards" | "plus" | "plusSmall" | "pokerChip" | "portrait" | "pound" | "power" | "presentation" | "print" | "protractor" | "pulse" | "pyramid" | "quoteRight" | "rainbow" | "raindrops" | "rec" | "receipt" | "recordVinyl" | "rectabgleVertical" | "rectangleHorizontal" | "rectanglePanoramic" | "recycle" | "redo" | "redoAlt" | "reflect" | "refresh" | "resize" | "resources" | "rewind" | "rhombus" | "ringsWedding" | "road" | "rocket" | "roomService" | "rotateRight" | "rugby" | "sad" | "salad" | "scale" | "school" | "schoolBus" | "scissors" | "screen" | "search" | "searchAlt" | "searchHeart" | "settings" | "settingsSliders" | "share" | "shield" | "shieldCheck" | "shieldExclamation" | "shieldInterrogation" | "shieldPlus" | "ship" | "shipSide" | "shop" | "shoppingBag" | "shoppingBagAdd" | "shoppingCart" | "shoppingCartAdd" | "shoppingCartCheck" | "shuffle" | "signalAlt" | "signalAlt1" | "signalAlt2" | "signIn" | "signInAlt" | "signOut" | "signOutAlt" | "skateboard" | "smartphone" | "smile" | "smileWink" | "snowflake" | "soap" | "soup" | "spa" | "speaker" | "sphere" | "spinner" | "spinnerAlt" | "square" | "squareRoot" | "star" | "starFill" | "starOctogram" | "stats" | "stethoscope" | "sticker" | "stop" | "stopwatch" | "subtitles" | "sun" | "sunrise" | "surfing" | "sword" | "syringe" | "tablet" | "target" | "taxi" | "tennis" | "terrace" | "test" | "testTube" | "text" | "textCheck" | "thermometerHalf" | "thumbsDown" | "thumbsUp" | "thumbtack" | "ticket" | "timeAdd" | "timeCheck" | "timeDelete" | "timeFast" | "timeForward" | "timeForwardSixty" | "timeForwardTen" | "timeHalfPast" | "timeOclock" | "timePast" | "timeQuarterPast" | "timeQuarterTo" | "timeTwentyFour" | "toolCrop" | "toolMarquee" | "tooth" | "tornado" | "train" | "trainSide" | "transform" | "trash" | "treatment" | "tree" | "treeChristmas" | "triangle" | "trophy" | "truckSide" | "umbrella" | "underline" | "undo" | "undoAlt" | "unlock" | "upload" | "usbPendrive" | "user" | "userAdd" | "userDelete" | "userRemove" | "userTime" | "utensils" | "vector" | "vectorAlt" | "venus" | "venusDouble" | "venusMars" | "videoCamera" | "volleyball" | "volume" | "wheelchair" | "wifiAlt" | "wind" | "womanHead" | "world" | "yen" | "zoomIn" | "zoomOut";
152
+ open: boolean | undefined;
153
+ defaultOpen: boolean;
154
+ highlight: boolean;
155
+ links: readonly PfContentTocLink[];
156
+ highlightColor: PfContentTocColor | undefined;
157
+ highlightVariant: PfContentTocHighlightVariant;
158
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
159
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
160
+ export default _default;
161
+ type __VLS_WithTemplateSlots<T, S> = T & {
162
+ new (): {
163
+ $slots: S;
164
+ };
165
+ };
@@ -0,0 +1,145 @@
1
+ import { Component } from 'vue';
2
+ import { RouteLocationRaw } from 'vue-router';
3
+ import { PfIconSize } from '../../element/PfIcon/iconSizes';
4
+ import { PfIconName } from '../../element/PfIcon/paths';
5
+ export type PfFooterColumnsUi = Partial<{
6
+ root: string;
7
+ left: string;
8
+ center: string;
9
+ right: string;
10
+ label: string;
11
+ list: string;
12
+ item: string;
13
+ link: string;
14
+ linkLeadingIcon: string;
15
+ linkLabel: string;
16
+ linkLabelExternalIcon: string;
17
+ }>;
18
+ export type PfFooterColumnUi = Partial<Pick<PfFooterColumnsUi, 'label' | 'list'>>;
19
+ export type PfFooterColumnLinkUi = Partial<Pick<PfFooterColumnsUi, 'item' | 'link' | 'linkLeadingIcon' | 'linkLabel' | 'linkLabelExternalIcon'>>;
20
+ export type PfFooterColumnLink = {
21
+ label?: string;
22
+ icon?: PfIconName;
23
+ class?: string;
24
+ ui?: PfFooterColumnLinkUi;
25
+ } & Partial<{
26
+ to: RouteLocationRaw;
27
+ href: RouteLocationRaw;
28
+ external: boolean;
29
+ target: (string & {}) | '_blank' | '_parent' | '_self' | '_top' | null;
30
+ replace: boolean;
31
+ disabled: boolean;
32
+ active: boolean;
33
+ exact: boolean;
34
+ exactQuery: boolean | 'partial';
35
+ exactHash: boolean;
36
+ inactiveClass: string;
37
+ raw: boolean;
38
+ rel: 'noopener' | 'noreferrer' | 'nofollow' | 'sponsored' | 'ugc' | (string & {}) | null;
39
+ noRel: boolean;
40
+ activeClass: string;
41
+ exactActiveClass: string;
42
+ ariaCurrentValue: 'step' | 'page' | 'true' | 'false' | 'location' | 'date' | 'time';
43
+ viewTransition: boolean;
44
+ prefetch: boolean;
45
+ noPrefetch: boolean;
46
+ trailingSlash: 'remove' | 'append';
47
+ }>;
48
+ export type PfFooterColumn = {
49
+ label: string;
50
+ children?: PfFooterColumnLink[];
51
+ class?: string;
52
+ ui?: PfFooterColumnUi;
53
+ };
54
+ type __VLS_Props = {
55
+ as?: string | Component;
56
+ columns?: PfFooterColumn[];
57
+ /** Leading icon size for the link */
58
+ iconSize?: PfIconSize;
59
+ ui?: PfFooterColumnsUi;
60
+ };
61
+ declare function __VLS_template(): {
62
+ attrs: Partial<{}>;
63
+ slots: Readonly<{
64
+ left(): unknown;
65
+ default(): unknown;
66
+ right(): unknown;
67
+ 'column-label'(props: {
68
+ column: PfFooterColumn;
69
+ columnIndex: number;
70
+ }): unknown;
71
+ link(props: {
72
+ column: PfFooterColumn;
73
+ columnIndex: number;
74
+ link: PfFooterColumnLink;
75
+ linkIndex: number;
76
+ active: boolean;
77
+ }): unknown;
78
+ 'link-leading'(props: {
79
+ column: PfFooterColumn;
80
+ columnIndex: number;
81
+ link: PfFooterColumnLink;
82
+ linkIndex: number;
83
+ active: boolean;
84
+ }): unknown;
85
+ 'link-label'(props: {
86
+ link: PfFooterColumnLink;
87
+ active: boolean;
88
+ }): unknown;
89
+ 'link-trailing'(props: {
90
+ column: PfFooterColumn;
91
+ columnIndex: number;
92
+ link: PfFooterColumnLink;
93
+ linkIndex: number;
94
+ active: boolean;
95
+ }): unknown;
96
+ }> & {
97
+ left(): unknown;
98
+ default(): unknown;
99
+ right(): unknown;
100
+ 'column-label'(props: {
101
+ column: PfFooterColumn;
102
+ columnIndex: number;
103
+ }): unknown;
104
+ link(props: {
105
+ column: PfFooterColumn;
106
+ columnIndex: number;
107
+ link: PfFooterColumnLink;
108
+ linkIndex: number;
109
+ active: boolean;
110
+ }): unknown;
111
+ 'link-leading'(props: {
112
+ column: PfFooterColumn;
113
+ columnIndex: number;
114
+ link: PfFooterColumnLink;
115
+ linkIndex: number;
116
+ active: boolean;
117
+ }): unknown;
118
+ 'link-label'(props: {
119
+ link: PfFooterColumnLink;
120
+ active: boolean;
121
+ }): unknown;
122
+ 'link-trailing'(props: {
123
+ column: PfFooterColumn;
124
+ columnIndex: number;
125
+ link: PfFooterColumnLink;
126
+ linkIndex: number;
127
+ active: boolean;
128
+ }): unknown;
129
+ };
130
+ refs: {};
131
+ rootEl: any;
132
+ };
133
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
134
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
135
+ as: string | Component;
136
+ iconSize: PfIconSize;
137
+ columns: PfFooterColumn[];
138
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
139
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
140
+ export default _default;
141
+ type __VLS_WithTemplateSlots<T, S> = T & {
142
+ new (): {
143
+ $slots: S;
144
+ };
145
+ };
@@ -0,0 +1,80 @@
1
+ import { Component } from 'vue';
2
+ import { RouteLocationRaw } from 'vue-router';
3
+ type __VLS_Props = {
4
+ /** Root element when there is no `to` / `href` @default button */
5
+ as?: string | Component;
6
+ /** Button type when not a link @default button */
7
+ type?: 'reset' | 'submit' | 'button';
8
+ disabled?: boolean;
9
+ /** Force active state (ignore route matching) */
10
+ active?: boolean;
11
+ /** Active only on exact route match (like RouterLink `exact` in Vue 2) */
12
+ exact?: boolean;
13
+ /** Query matching: `true` — full; `partial` — only params listed on the link */
14
+ exactQuery?: boolean | 'partial';
15
+ /** Match hash */
16
+ exactHash?: boolean;
17
+ inactiveClass?: string;
18
+ /** Only classes from `class`, `activeClass`, `inactiveClass`, `exactActiveClass` */
19
+ raw?: boolean;
20
+ to?: RouteLocationRaw;
21
+ /** Ignored when `to` is set */
22
+ href?: RouteLocationRaw;
23
+ external?: boolean;
24
+ target?: (string & {}) | '_blank' | '_parent' | '_self' | '_top' | null;
25
+ rel?: 'noopener' | 'noreferrer' | 'nofollow' | 'sponsored' | 'ugc' | (string & {}) | null;
26
+ noRel?: boolean;
27
+ prefetchedClass?: string;
28
+ prefetch?: boolean;
29
+ prefetchOn?: 'visibility' | 'interaction' | Partial<{
30
+ visibility: boolean;
31
+ interaction: boolean;
32
+ }>;
33
+ noPrefetch?: boolean;
34
+ trailingSlash?: 'remove' | 'append';
35
+ activeClass?: string;
36
+ exactActiveClass?: string;
37
+ ariaCurrentValue?: 'step' | 'page' | 'true' | 'false' | 'location' | 'date' | 'time';
38
+ viewTransition?: boolean;
39
+ replace?: boolean;
40
+ name?: string;
41
+ autofocus?: boolean | 'true' | 'false';
42
+ form?: string;
43
+ formaction?: string;
44
+ formenctype?: string;
45
+ formmethod?: string;
46
+ formnovalidate?: boolean | 'true' | 'false';
47
+ formtarget?: string;
48
+ referrerpolicy?: string;
49
+ download?: unknown;
50
+ hreflang?: string;
51
+ media?: string;
52
+ ping?: string;
53
+ };
54
+ declare function __VLS_template(): {
55
+ attrs: Partial<{}>;
56
+ slots: Readonly<{
57
+ default(props: {
58
+ active: boolean;
59
+ }): unknown;
60
+ }> & {
61
+ default(props: {
62
+ active: boolean;
63
+ }): unknown;
64
+ };
65
+ refs: {};
66
+ rootEl: any;
67
+ };
68
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
69
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
70
+ type: "reset" | "submit" | "button";
71
+ as: string | Component;
72
+ ariaCurrentValue: "step" | "page" | "true" | "false" | "location" | "date" | "time";
73
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
74
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
75
+ export default _default;
76
+ type __VLS_WithTemplateSlots<T, S> = T & {
77
+ new (): {
78
+ $slots: S;
79
+ };
80
+ };
@@ -0,0 +1,187 @@
1
+ import { RouteLocationRaw } from 'vue-router';
2
+ import { Component } from 'vue';
3
+ import { PfIconName } from '../../element/PfIcon/paths';
4
+ export type PfNavigationMenuColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error' | 'neutral';
5
+ export type PfNavigationMenuVariant = 'pill' | 'link';
6
+ export type PfNavigationMenuOrientation = 'horizontal' | 'vertical';
7
+ export type PfNavigationMenuContentOrientation = 'horizontal' | 'vertical';
8
+ export type PfNavigationMenuType = 'single' | 'multiple';
9
+ export type PfNavigationMenuItemType = 'label' | 'trigger' | 'link';
10
+ export type PfNavigationMenuItemAvatar = {
11
+ src?: string;
12
+ alt?: string;
13
+ icon?: PfIconName;
14
+ text?: string;
15
+ size?: '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
16
+ chip?: boolean | {
17
+ color?: import('../../element/PfAvatar/index.vue').PfAvatarChipColor;
18
+ };
19
+ };
20
+ export type PfNavigationMenuItemBadge = string | number | {
21
+ label?: string | number;
22
+ color?: 'error' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral';
23
+ variant?: 'solid' | 'outline' | 'soft' | 'subtle';
24
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
25
+ };
26
+ export type PfNavigationMenuItemChip = boolean | {
27
+ color?: import('../../element/PfChip/index.vue').PfChipColor;
28
+ text?: string | number;
29
+ show?: boolean;
30
+ };
31
+ export interface PfNavigationMenuChildUi {
32
+ link?: string;
33
+ icon?: string;
34
+ label?: string;
35
+ description?: string;
36
+ }
37
+ export interface PfNavigationMenuChildItem {
38
+ label?: string;
39
+ description?: string;
40
+ icon?: PfIconName;
41
+ disabled?: boolean;
42
+ class?: unknown;
43
+ ui?: PfNavigationMenuChildUi;
44
+ onSelect?: (e: Event) => void;
45
+ to?: RouteLocationRaw;
46
+ href?: RouteLocationRaw;
47
+ target?: string | null;
48
+ external?: boolean;
49
+ [key: string]: unknown;
50
+ }
51
+ export interface PfNavigationMenuItem extends PfNavigationMenuChildItem {
52
+ children?: readonly PfNavigationMenuChildItem[];
53
+ type?: PfNavigationMenuItemType;
54
+ badge?: PfNavigationMenuItemBadge;
55
+ avatar?: PfNavigationMenuItemAvatar;
56
+ chip?: PfNavigationMenuItemChip;
57
+ trailingIcon?: PfIconName;
58
+ defaultOpen?: boolean;
59
+ open?: boolean;
60
+ value?: string;
61
+ active?: boolean;
62
+ slot?: string;
63
+ }
64
+ export type PfNavigationMenuItemsInput = readonly PfNavigationMenuItem[] | readonly (readonly PfNavigationMenuItem[])[];
65
+ export type PfNavigationMenuUi = Partial<{
66
+ root: string;
67
+ list: string;
68
+ group: string;
69
+ label: string;
70
+ item: string;
71
+ link: string;
72
+ linkLeadingIcon: string;
73
+ linkLeadingAvatar: string;
74
+ linkLeadingAvatarSize: string;
75
+ linkLabel: string;
76
+ linkTrailing: string;
77
+ linkTrailingBadge: string;
78
+ linkTrailingBadgeSize: string;
79
+ linkTrailingIcon: string;
80
+ childList: string;
81
+ childItem: string;
82
+ childLink: string;
83
+ childLinkIcon: string;
84
+ childLinkLabel: string;
85
+ childLinkLabelExternalIcon: string;
86
+ childLinkDescription: string;
87
+ dropdown: string;
88
+ separator: string;
89
+ arrow: string;
90
+ viewport: string;
91
+ }>;
92
+ type __VLS_Props = {
93
+ as?: string | Component;
94
+ items?: PfNavigationMenuItemsInput;
95
+ color?: PfNavigationMenuColor;
96
+ variant?: PfNavigationMenuVariant;
97
+ orientation?: PfNavigationMenuOrientation;
98
+ contentOrientation?: PfNavigationMenuContentOrientation;
99
+ collapsed?: boolean;
100
+ highlight?: boolean;
101
+ highlightColor?: PfNavigationMenuColor;
102
+ trailingIcon?: PfIconName;
103
+ /** Show external-link icon on child items; `false` — hide. */
104
+ externalIcon?: boolean | PfIconName;
105
+ arrow?: boolean;
106
+ unmountOnHide?: boolean;
107
+ type?: PfNavigationMenuType;
108
+ collapsible?: boolean;
109
+ valueKey?: string;
110
+ labelKey?: string;
111
+ modelValue?: string | string[];
112
+ defaultValue?: string | string[];
113
+ tooltip?: boolean;
114
+ popover?: boolean;
115
+ ui?: PfNavigationMenuUi;
116
+ disabled?: boolean;
117
+ disableHoverTrigger?: boolean;
118
+ disableClickTrigger?: boolean;
119
+ delayDuration?: number;
120
+ };
121
+ declare function __VLS_template(): {
122
+ attrs: Partial<{}>;
123
+ slots: Readonly<{
124
+ [key: string]: ((props: Record<string, unknown>) => unknown) | (() => unknown);
125
+ 'item-leading'(props: Record<string, unknown>): unknown;
126
+ 'item-label'(props: Record<string, unknown>): unknown;
127
+ 'item-trailing'(props: Record<string, unknown>): unknown;
128
+ 'item-content'(props: Record<string, unknown>): unknown;
129
+ 'list-leading'(): unknown;
130
+ 'list-trailing'(): unknown;
131
+ }> & {
132
+ [key: string]: ((props: Record<string, unknown>) => unknown) | (() => unknown);
133
+ 'item-leading'(props: Record<string, unknown>): unknown;
134
+ 'item-label'(props: Record<string, unknown>): unknown;
135
+ 'item-trailing'(props: Record<string, unknown>): unknown;
136
+ 'item-content'(props: Record<string, unknown>): unknown;
137
+ 'list-leading'(): unknown;
138
+ 'list-trailing'(): unknown;
139
+ };
140
+ refs: {
141
+ rootRef: unknown;
142
+ slideShellMeasureRef: HTMLDivElement;
143
+ };
144
+ rootEl: any;
145
+ };
146
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
147
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
148
+ /** Close the expanded horizontal submenu. */
149
+ closeDropdown: () => void;
150
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
151
+ "update:modelValue": (value: string | string[] | undefined) => any;
152
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
153
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
154
+ }>, {
155
+ type: PfNavigationMenuType;
156
+ color: PfNavigationMenuColor;
157
+ variant: PfNavigationMenuVariant;
158
+ trailingIcon: PfIconName;
159
+ disabled: boolean;
160
+ orientation: PfNavigationMenuOrientation;
161
+ unmountOnHide: boolean;
162
+ collapsed: boolean;
163
+ tooltip: boolean;
164
+ valueKey: string;
165
+ labelKey: string;
166
+ items: PfNavigationMenuItemsInput;
167
+ highlight: boolean;
168
+ collapsible: boolean;
169
+ contentOrientation: PfNavigationMenuContentOrientation;
170
+ highlightColor: PfNavigationMenuColor;
171
+ externalIcon: boolean | PfIconName;
172
+ arrow: boolean;
173
+ popover: boolean;
174
+ disableHoverTrigger: boolean;
175
+ disableClickTrigger: boolean;
176
+ delayDuration: number;
177
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
178
+ rootRef: unknown;
179
+ slideShellMeasureRef: HTMLDivElement;
180
+ }, any>;
181
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
182
+ export default _default;
183
+ type __VLS_WithTemplateSlots<T, S> = T & {
184
+ new (): {
185
+ $slots: S;
186
+ };
187
+ };