From e08d14a77194d9f6b98d2269610fd3b9dd06f902 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 23 May 2024 14:07:36 +0300 Subject: [PATCH] Styled mode doc updates --- components/doc/helpers/index.js | 4 +- doc/accordion/theming/StyledDoc.vue | 33 - doc/accordion/theming/index.vue | 16 +- doc/autocomplete/theming/StyledDoc.vue | 53 - doc/autocomplete/theming/index.vue | 16 +- doc/avatar/theming/StyledDoc.vue | 62 - doc/avatar/theming/index.vue | 16 +- doc/badge/theming/StyledDoc.vue | 53 - doc/badge/theming/index.vue | 16 +- doc/blockui/theming/StyledDoc.vue | 25 - doc/blockui/theming/index.vue | 16 +- doc/breadcrumb/theming/StyledDoc.vue | 45 - doc/breadcrumb/theming/index.vue | 16 +- doc/button/theming/StyledDoc.vue | 37 - doc/button/theming/index.vue | 16 +- doc/card/theming/StyledDoc.vue | 37 - doc/card/theming/index.vue | 16 +- doc/carousel/theming/StyledDoc.vue | 50 - doc/carousel/theming/index.vue | 16 +- doc/cascadeselect/theming/StyledDoc.vue | 49 - doc/cascadeselect/theming/index.vue | 16 +- doc/chart/theming/StyledDoc.vue | 21 - doc/checkbox/theming/StyledDoc.vue | 30 - doc/checkbox/theming/index.vue | 16 +- doc/chip/theming/StyledDoc.vue | 33 - doc/chip/theming/index.vue | 16 +- doc/colorpicker/theming/StyledDoc.vue | 58 - doc/colorpicker/theming/index.vue | 16 +- doc/common/apidoc/index.json | 24725 +++++++++++++++- doc/confirmdialog/theming/StyledDoc.vue | 21 - doc/confirmdialog/theming/index.vue | 16 +- doc/confirmpopup/theming/StyledDoc.vue | 37 - doc/confirmpopup/theming/index.vue | 16 +- doc/contextmenu/theming/StyledDoc.vue | 57 - doc/contextmenu/theming/index.vue | 16 +- doc/datatable/theming/StyledDoc.vue | 97 - doc/datatable/theming/index.vue | 16 +- doc/dataview/theming/StyledDoc.vue | 46 - doc/dataview/theming/index.vue | 16 +- doc/datepicker/theming/StyledDoc.vue | 65 - doc/datepicker/theming/index.vue | 16 +- doc/dialog/theming/StyledDoc.vue | 42 - doc/dialog/theming/index.vue | 16 +- doc/divider/theming/StyledDoc.vue | 61 - doc/divider/theming/index.vue | 16 +- doc/dock/theming/StyledDoc.vue | 46 - doc/dock/theming/index.vue | 16 +- doc/drawer/theming/StyledDoc.vue | 66 - doc/drawer/theming/index.vue | 16 +- doc/editor/theming/StyledDoc.vue | 30 - doc/editor/theming/index.vue | 16 +- doc/fieldset/theming/StyledDoc.vue | 33 - doc/fieldset/theming/index.vue | 16 +- doc/fileupload/theming/StyledDoc.vue | 73 - doc/fileupload/theming/index.vue | 16 +- doc/filterservice/ApiDoc.vue | 44 - doc/filterservice/BuiltInConstraintsDoc.vue | 143 - doc/filterservice/CustomConstraintDoc.vue | 34 - doc/filterservice/ImportDoc.vue | 18 - doc/filterservice/TableIntegrationDoc.vue | 231 - doc/filterservice/UsageDoc.vue | 29 - doc/floatlabel/theming/StyledDoc.vue | 21 - doc/floatlabel/theming/index.vue | 16 +- doc/galleria/theming/StyledDoc.vue | 54 - doc/galleria/theming/index.vue | 16 +- doc/iconfield/theming/StyledDoc.vue | 33 - doc/iconfield/theming/index.vue | 16 +- doc/image/theming/StyledDoc.vue | 50 - doc/image/theming/index.vue | 16 +- doc/inlinemessage/theming/StyledDoc.vue | 49 - doc/inlinemessage/theming/index.vue | 16 +- doc/inplace/theming/StyledDoc.vue | 29 - doc/inplace/theming/index.vue | 16 +- .../theming/InputGroupAddonStyleDoc.vue | 21 - doc/inputgroup/theming/InputGroupStyleDoc.vue | 21 - doc/inputgroup/theming/index.vue | 16 +- doc/inputmask/theming/StyledDoc.vue | 21 - doc/inputmask/theming/index.vue | 1 - doc/inputnumber/theming/StyledDoc.vue | 53 - doc/inputnumber/theming/index.vue | 16 +- doc/inputotp/theming/StyledDoc.vue | 25 - doc/inputotp/theming/index.vue | 1 - doc/inputtext/theming/StyledDoc.vue | 21 - doc/inputtext/theming/index.vue | 16 +- doc/knob/theming/StyledDoc.vue | 33 - doc/knob/theming/index.vue | 16 +- doc/listbox/theming/StyledDoc.vue | 37 - doc/listbox/theming/index.vue | 16 +- doc/megamenu/theming/StyledDoc.vue | 74 - doc/megamenu/theming/index.vue | 16 +- doc/menu/theming/StyledDoc.vue | 62 - doc/menu/theming/index.vue | 16 +- doc/menubar/theming/StyledDoc.vue | 70 - doc/menubar/theming/index.vue | 16 +- doc/message/theming/StyledDoc.vue | 49 - doc/message/theming/index.vue | 16 +- doc/metergroup/theming/StyledDoc.vue | 69 - doc/metergroup/theming/index.vue | 16 +- doc/multiselect/theming/StyledDoc.vue | 53 - doc/multiselect/theming/index.vue | 16 +- doc/orderlist/theming/StyledDoc.vue | 29 - doc/orderlist/theming/index.vue | 16 +- doc/organizationchart/theming/StyledDoc.vue | 46 - doc/organizationchart/theming/index.vue | 16 +- doc/paginator/theming/StyledDoc.vue | 49 - doc/paginator/theming/index.vue | 16 +- doc/panel/theming/StyledDoc.vue | 41 - doc/panel/theming/index.vue | 16 +- doc/panelmenu/theming/StyledDoc.vue | 61 - doc/panelmenu/theming/index.vue | 16 +- doc/password/theming/StyledDoc.vue | 29 - doc/password/theming/index.vue | 16 +- doc/picklist/theming/StyledDoc.vue | 45 - doc/picklist/theming/index.vue | 16 +- doc/popover/theming/StyledDoc.vue | 30 - doc/popover/theming/index.vue | 16 +- doc/progressbar/theming/StyledDoc.vue | 37 - doc/progressbar/theming/index.vue | 16 +- doc/progressspinner/theming/StyledDoc.vue | 29 - doc/progressspinner/theming/index.vue | 16 +- doc/radiobutton/theming/StyledDoc.vue | 29 - doc/radiobutton/theming/index.vue | 16 +- doc/rating/theming/StyledDoc.vue | 33 - doc/rating/theming/index.vue | 16 +- doc/ripple/theming/StyledDoc.vue | 29 - doc/ripple/theming/index.vue | 16 +- doc/scrollpanel/theming/StyledDoc.vue | 41 - doc/scrollpanel/theming/index.vue | 16 +- doc/scrolltop/theming/StyledDoc.vue | 25 - doc/scrolltop/theming/index.vue | 2 +- doc/select/theming/StyledDoc.vue | 65 - doc/select/theming/index.vue | 16 +- doc/selectbutton/theming/StyledDoc.vue | 29 - doc/selectbutton/theming/index.vue | 16 +- doc/skeleton/theming/StyledDoc.vue | 29 - doc/skeleton/theming/index.vue | 16 +- doc/slider/theming/StyledDoc.vue | 25 - doc/slider/theming/index.vue | 16 +- doc/speeddial/theming/StyledDoc.vue | 37 - doc/speeddial/theming/index.vue | 16 +- doc/splitbutton/theming/StyledDoc.vue | 33 - doc/splitbutton/theming/index.vue | 16 +- doc/splitter/theming/StyledDoc.vue | 45 - doc/splitter/theming/index.vue | 16 +- doc/stepper/theming/StyledDoc.vue | 69 - doc/stepper/theming/index.vue | 16 +- doc/steps/theming/StyledDoc.vue | 45 - doc/steps/theming/index.vue | 16 +- doc/tabmenu/theming/StyledDoc.vue | 41 - doc/tabmenu/theming/index.vue | 16 +- doc/tabs/theming/StyledDoc.vue | 33 - doc/tabs/theming/index.vue | 16 +- doc/tag/theming/StyledDoc.vue | 33 - doc/tag/theming/index.vue | 16 +- doc/terminal/theming/StyledDoc.vue | 37 - doc/terminal/theming/index.vue | 16 +- doc/textarea/theming/StyledDoc.vue | 21 - doc/textarea/theming/index.vue | 16 +- doc/tieredmenu/theming/StyledDoc.vue | 57 - doc/tieredmenu/theming/index.vue | 16 +- doc/timeline/theming/StyledDoc.vue | 74 - doc/timeline/theming/index.vue | 16 +- doc/toast/theming/StyledDoc.vue | 45 - doc/toast/theming/index.vue | 16 +- doc/togglebutton/theming/StyledDoc.vue | 29 - doc/togglebutton/theming/index.vue | 16 +- doc/toggleswitch/theming/StyledDoc.vue | 29 - doc/toggleswitch/theming/index.vue | 16 +- doc/toolbar/theming/StyledDoc.vue | 33 - doc/toolbar/theming/index.vue | 16 +- doc/tooltip/theming/StyledDoc.vue | 30 - doc/tooltip/theming/index.vue | 16 +- doc/tree/theming/StyledDoc.vue | 57 - doc/tree/theming/index.vue | 16 +- doc/treeselect/theming/StyledDoc.vue | 41 - doc/treeselect/theming/index.vue | 16 +- doc/treetable/theming/StyledDoc.vue | 74 - doc/treetable/theming/index.vue | 16 +- doc/virtualscroller/theming/StyledDoc.vue | 30 - pages/filterservice/index.vue | 67 - 180 files changed, 24658 insertions(+), 5636 deletions(-) delete mode 100644 doc/accordion/theming/StyledDoc.vue delete mode 100644 doc/autocomplete/theming/StyledDoc.vue delete mode 100644 doc/avatar/theming/StyledDoc.vue delete mode 100644 doc/badge/theming/StyledDoc.vue delete mode 100644 doc/blockui/theming/StyledDoc.vue delete mode 100644 doc/breadcrumb/theming/StyledDoc.vue delete mode 100644 doc/button/theming/StyledDoc.vue delete mode 100644 doc/card/theming/StyledDoc.vue delete mode 100644 doc/carousel/theming/StyledDoc.vue delete mode 100644 doc/cascadeselect/theming/StyledDoc.vue delete mode 100644 doc/chart/theming/StyledDoc.vue delete mode 100644 doc/checkbox/theming/StyledDoc.vue delete mode 100644 doc/chip/theming/StyledDoc.vue delete mode 100644 doc/colorpicker/theming/StyledDoc.vue delete mode 100644 doc/confirmdialog/theming/StyledDoc.vue delete mode 100644 doc/confirmpopup/theming/StyledDoc.vue delete mode 100644 doc/contextmenu/theming/StyledDoc.vue delete mode 100644 doc/datatable/theming/StyledDoc.vue delete mode 100644 doc/dataview/theming/StyledDoc.vue delete mode 100644 doc/datepicker/theming/StyledDoc.vue delete mode 100644 doc/dialog/theming/StyledDoc.vue delete mode 100644 doc/divider/theming/StyledDoc.vue delete mode 100644 doc/dock/theming/StyledDoc.vue delete mode 100644 doc/drawer/theming/StyledDoc.vue delete mode 100644 doc/editor/theming/StyledDoc.vue delete mode 100644 doc/fieldset/theming/StyledDoc.vue delete mode 100644 doc/fileupload/theming/StyledDoc.vue delete mode 100644 doc/filterservice/ApiDoc.vue delete mode 100644 doc/filterservice/BuiltInConstraintsDoc.vue delete mode 100644 doc/filterservice/CustomConstraintDoc.vue delete mode 100644 doc/filterservice/ImportDoc.vue delete mode 100644 doc/filterservice/TableIntegrationDoc.vue delete mode 100644 doc/filterservice/UsageDoc.vue delete mode 100644 doc/floatlabel/theming/StyledDoc.vue delete mode 100644 doc/galleria/theming/StyledDoc.vue delete mode 100644 doc/iconfield/theming/StyledDoc.vue delete mode 100644 doc/image/theming/StyledDoc.vue delete mode 100644 doc/inlinemessage/theming/StyledDoc.vue delete mode 100644 doc/inplace/theming/StyledDoc.vue delete mode 100644 doc/inputgroup/theming/InputGroupAddonStyleDoc.vue delete mode 100644 doc/inputgroup/theming/InputGroupStyleDoc.vue delete mode 100644 doc/inputmask/theming/StyledDoc.vue delete mode 100644 doc/inputnumber/theming/StyledDoc.vue delete mode 100644 doc/inputotp/theming/StyledDoc.vue delete mode 100644 doc/inputtext/theming/StyledDoc.vue delete mode 100644 doc/knob/theming/StyledDoc.vue delete mode 100644 doc/listbox/theming/StyledDoc.vue delete mode 100644 doc/megamenu/theming/StyledDoc.vue delete mode 100644 doc/menu/theming/StyledDoc.vue delete mode 100644 doc/menubar/theming/StyledDoc.vue delete mode 100644 doc/message/theming/StyledDoc.vue delete mode 100644 doc/metergroup/theming/StyledDoc.vue delete mode 100644 doc/multiselect/theming/StyledDoc.vue delete mode 100644 doc/orderlist/theming/StyledDoc.vue delete mode 100644 doc/organizationchart/theming/StyledDoc.vue delete mode 100644 doc/paginator/theming/StyledDoc.vue delete mode 100644 doc/panel/theming/StyledDoc.vue delete mode 100644 doc/panelmenu/theming/StyledDoc.vue delete mode 100644 doc/password/theming/StyledDoc.vue delete mode 100644 doc/picklist/theming/StyledDoc.vue delete mode 100644 doc/popover/theming/StyledDoc.vue delete mode 100644 doc/progressbar/theming/StyledDoc.vue delete mode 100644 doc/progressspinner/theming/StyledDoc.vue delete mode 100644 doc/radiobutton/theming/StyledDoc.vue delete mode 100644 doc/rating/theming/StyledDoc.vue delete mode 100644 doc/ripple/theming/StyledDoc.vue delete mode 100644 doc/scrollpanel/theming/StyledDoc.vue delete mode 100644 doc/scrolltop/theming/StyledDoc.vue delete mode 100644 doc/select/theming/StyledDoc.vue delete mode 100644 doc/selectbutton/theming/StyledDoc.vue delete mode 100644 doc/skeleton/theming/StyledDoc.vue delete mode 100644 doc/slider/theming/StyledDoc.vue delete mode 100644 doc/speeddial/theming/StyledDoc.vue delete mode 100644 doc/splitbutton/theming/StyledDoc.vue delete mode 100644 doc/splitter/theming/StyledDoc.vue delete mode 100644 doc/stepper/theming/StyledDoc.vue delete mode 100644 doc/steps/theming/StyledDoc.vue delete mode 100644 doc/tabmenu/theming/StyledDoc.vue delete mode 100644 doc/tabs/theming/StyledDoc.vue delete mode 100644 doc/tag/theming/StyledDoc.vue delete mode 100644 doc/terminal/theming/StyledDoc.vue delete mode 100644 doc/textarea/theming/StyledDoc.vue delete mode 100644 doc/tieredmenu/theming/StyledDoc.vue delete mode 100644 doc/timeline/theming/StyledDoc.vue delete mode 100644 doc/toast/theming/StyledDoc.vue delete mode 100644 doc/togglebutton/theming/StyledDoc.vue delete mode 100644 doc/toggleswitch/theming/StyledDoc.vue delete mode 100644 doc/toolbar/theming/StyledDoc.vue delete mode 100644 doc/tooltip/theming/StyledDoc.vue delete mode 100644 doc/tree/theming/StyledDoc.vue delete mode 100644 doc/treeselect/theming/StyledDoc.vue delete mode 100644 doc/treetable/theming/StyledDoc.vue delete mode 100644 doc/virtualscroller/theming/StyledDoc.vue delete mode 100644 pages/filterservice/index.vue diff --git a/components/doc/helpers/index.js b/components/doc/helpers/index.js index 3cea7846d..a157c0056 100644 --- a/components/doc/helpers/index.js +++ b/components/doc/helpers/index.js @@ -53,8 +53,8 @@ export const getStyleOptions = (name) => { return data; }; -export const getTokenOptions = (preset, name) => { - const values = APIDocs[`${preset.toLowerCase()}/${name.toLowerCase()}`]?.tokens?.values; +export const getTokenOptions = (name) => { + const values = APIDocs[`themes/${name.toLowerCase()}`]?.tokens?.values; let data = []; for (const [key, value] of Object.entries(values || {})) { diff --git a/doc/accordion/theming/StyledDoc.vue b/doc/accordion/theming/StyledDoc.vue deleted file mode 100644 index 65dfc0920..000000000 --- a/doc/accordion/theming/StyledDoc.vue +++ /dev/null @@ -1,33 +0,0 @@ - diff --git a/doc/accordion/theming/index.vue b/doc/accordion/theming/index.vue index ee0a9a7e8..db5de5b02 100644 --- a/doc/accordion/theming/index.vue +++ b/doc/accordion/theming/index.vue @@ -10,7 +10,7 @@ diff --git a/doc/filterservice/ImportDoc.vue b/doc/filterservice/ImportDoc.vue deleted file mode 100644 index 5cc223791..000000000 --- a/doc/filterservice/ImportDoc.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/doc/filterservice/TableIntegrationDoc.vue b/doc/filterservice/TableIntegrationDoc.vue deleted file mode 100644 index 534128a82..000000000 --- a/doc/filterservice/TableIntegrationDoc.vue +++ /dev/null @@ -1,231 +0,0 @@ - - - diff --git a/doc/filterservice/UsageDoc.vue b/doc/filterservice/UsageDoc.vue deleted file mode 100644 index 1c7e975be..000000000 --- a/doc/filterservice/UsageDoc.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/doc/floatlabel/theming/StyledDoc.vue b/doc/floatlabel/theming/StyledDoc.vue deleted file mode 100644 index 492c7c372..000000000 --- a/doc/floatlabel/theming/StyledDoc.vue +++ /dev/null @@ -1,21 +0,0 @@ - diff --git a/doc/floatlabel/theming/index.vue b/doc/floatlabel/theming/index.vue index 23cc5356d..4e3995fa4 100644 --- a/doc/floatlabel/theming/index.vue +++ b/doc/floatlabel/theming/index.vue @@ -10,7 +10,7 @@