classcard-ui 0.2.210 → 0.2.214

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 (174) hide show
  1. package/README.md +0 -0
  2. package/dist/classcard-ui.common.js +151 -173
  3. package/dist/classcard-ui.common.js.map +1 -1
  4. package/dist/classcard-ui.css +1 -3
  5. package/dist/classcard-ui.umd.js +151 -173
  6. package/dist/classcard-ui.umd.js.map +1 -1
  7. package/dist/classcard-ui.umd.min.js +2 -2
  8. package/dist/classcard-ui.umd.min.js.map +1 -1
  9. package/package.json +1 -1
  10. package/src/App.vue +0 -0
  11. package/src/components/CAlerts/CAlerts.vue +0 -0
  12. package/src/components/CAlerts/index.js +0 -0
  13. package/src/components/CAnchorTabs/CAnchorTabs.vue +0 -0
  14. package/src/components/CAnchorTabs/index.js +0 -0
  15. package/src/components/CAnchorTag/CAnchorTag.vue +0 -0
  16. package/src/components/CAnchorTag/index.js +0 -0
  17. package/src/components/CAvatar/CAvatar.vue +0 -0
  18. package/src/components/CAvatar/index.js +0 -0
  19. package/src/components/CAvatarGroup/CAvatarGroup.vue +0 -0
  20. package/src/components/CAvatarGroup/index.js +0 -0
  21. package/src/components/CBasicTable/CBasicTable.vue +0 -0
  22. package/src/components/CBasicTable/index.js +0 -0
  23. package/src/components/CBreadcrumbs/CBreadcrumbs.vue +0 -0
  24. package/src/components/CBreadcrumbs/index.js +0 -0
  25. package/src/components/CButton/CButton.vue +0 -0
  26. package/src/components/CButton/index.js +0 -0
  27. package/src/components/CButtonGroup/CButtonGroup.vue +0 -0
  28. package/src/components/CButtonGroup/index.js +0 -0
  29. package/src/components/CButtonIcon/CButtonIcon.vue +0 -0
  30. package/src/components/CButtonIcon/index.js +0 -0
  31. package/src/components/CButtonLink/CButtonLink.vue +0 -0
  32. package/src/components/CButtonLink/index.js +0 -0
  33. package/src/components/CButtonSelect/CButtonSelect.vue +0 -0
  34. package/src/components/CButtonSelect/index.js +0 -0
  35. package/src/components/CButtonWithDropdown/CButtonWithDropdown.vue +0 -0
  36. package/src/components/CButtonWithDropdown/index.js +0 -0
  37. package/src/components/CCard/CCard.vue +0 -0
  38. package/src/components/CCard/index.js +0 -0
  39. package/src/components/CCheckbox/CCheckbox.vue +0 -0
  40. package/src/components/CCheckbox/index.js +0 -0
  41. package/src/components/CCollapsibleSection/CCollapsibleSection.vue +0 -0
  42. package/src/components/CCollapsibleSection/index.js +0 -0
  43. package/src/components/CColorDots/CColorDots.vue +0 -0
  44. package/src/components/CColorDots/index.js +0 -0
  45. package/src/components/CConfirmActionModal/CConfirmActionModal.vue +0 -0
  46. package/src/components/CConfirmActionModal/index.js +0 -0
  47. package/src/components/CDatepicker/CDatepicker.vue +0 -1
  48. package/src/components/CDatepicker/index.js +0 -0
  49. package/src/components/CDualSelect/CDualSelect.vue +0 -0
  50. package/src/components/CDualSelect/index.js +0 -0
  51. package/src/components/CEditor/CEditor.vue +0 -0
  52. package/src/components/CEditor/index.js +0 -0
  53. package/src/components/CFormSectionHeading/CFormSectionHeading.vue +0 -0
  54. package/src/components/CFormSectionHeading/index.js +0 -0
  55. package/src/components/CGroupedSelect/CGroupedSelect.vue +0 -0
  56. package/src/components/CGroupedSelect/index.js +0 -0
  57. package/src/components/CIcon/CIcon.vue +0 -0
  58. package/src/components/CIcon/index.js +0 -0
  59. package/src/components/CIconDropdown/CIconDropdown.vue +0 -0
  60. package/src/components/CIconDropdown/index.js +0 -0
  61. package/src/components/CInput/CInput.vue +0 -0
  62. package/src/components/CInput/index.js +0 -0
  63. package/src/components/CInputAddon/CInputAddon.vue +1 -1
  64. package/src/components/CInputAddon/index.js +0 -0
  65. package/src/components/CInputEmail/CInputEmail.vue +0 -0
  66. package/src/components/CInputEmail/index.js +0 -0
  67. package/src/components/CModalHeading/CModalHeading.vue +0 -0
  68. package/src/components/CModalHeading/index.js +0 -0
  69. package/src/components/CModuleHelpLinks/CModuleHelpLinks.vue +0 -0
  70. package/src/components/CModuleHelpLinks/index.js +0 -0
  71. package/src/components/CMultiselect/CMultiselect.vue +2 -2
  72. package/src/components/CMultiselect/index.js +0 -0
  73. package/src/components/CMultiselectr/CMultiselectr.vue +3 -2
  74. package/src/components/CMultiselectr/index.js +0 -0
  75. package/src/components/CPageHeading/CPageHeading.vue +0 -0
  76. package/src/components/CPageHeading/index.js +0 -0
  77. package/src/components/CPagination/CPagination.vue +71 -72
  78. package/src/components/CPagination/index.js +0 -0
  79. package/src/components/CPhoneNumber/CPhoneNumber.vue +0 -0
  80. package/src/components/CPhoneNumber/index.js +0 -0
  81. package/src/components/CRadio/CRadio.vue +1 -4
  82. package/src/components/CRadio/index.js +0 -0
  83. package/src/components/CRangeSlider/CRangeSlider.vue +0 -0
  84. package/src/components/CRangeSlider/index.js +0 -0
  85. package/src/components/CReorderableStackedList/CReorderableStackedList.vue +0 -0
  86. package/src/components/CReorderableStackedList/index.js +0 -0
  87. package/src/components/CSelect/CSelect.vue +0 -0
  88. package/src/components/CSelect/index.js +0 -0
  89. package/src/components/CSmallTimeline/CSmallTimeline.vue +0 -0
  90. package/src/components/CSmallTimeline/index.js +0 -0
  91. package/src/components/CStackedList/CStackedList.vue +0 -0
  92. package/src/components/CStackedList/index.js +0 -0
  93. package/src/components/CStats/CStats.vue +0 -0
  94. package/src/components/CStats/index.js +0 -0
  95. package/src/components/CSwitch/CSwitch.vue +2 -6
  96. package/src/components/CSwitch/index.js +0 -0
  97. package/src/components/CTable/CTable.vue +2 -8
  98. package/src/components/CTable/index.js +0 -0
  99. package/src/components/CTabs/CTabs.vue +0 -0
  100. package/src/components/CTabs/index.js +0 -0
  101. package/src/components/CTag/CTag.vue +0 -0
  102. package/src/components/CTag/index.js +0 -0
  103. package/src/components/CTextarea/CTextarea.vue +6 -1
  104. package/src/components/CTextarea/index.js +0 -0
  105. package/src/components/CTimeline/CTimeline.vue +0 -0
  106. package/src/components/CTimeline/index.js +0 -0
  107. package/src/components/CUpload/CUpload.vue +0 -0
  108. package/src/components/CUpload/index.js +0 -0
  109. package/src/components/index.js +0 -0
  110. package/src/icons.js +6 -5
  111. package/src/main.js +0 -1
  112. package/src/stories/CAlerts.stories.js +0 -0
  113. package/src/stories/CAnchorTabs.stories.js +0 -0
  114. package/src/stories/CAnchorTag.stories.js +0 -0
  115. package/src/stories/CAvatar.stories.js +0 -0
  116. package/src/stories/CAvatarGroup.stories.js +0 -0
  117. package/src/stories/CBasicTable.stories.js +0 -0
  118. package/src/stories/CBreadcrumbs.stories.js +0 -0
  119. package/src/stories/CButton.stories.js +0 -0
  120. package/src/stories/CButtonGroup.stories.js +0 -0
  121. package/src/stories/CButtonIcon.stories.js +0 -0
  122. package/src/stories/CButtonLink.stories.js +0 -0
  123. package/src/stories/CButtonSelect.stories.js +0 -0
  124. package/src/stories/CButtonWithDropdown.stories.js +0 -0
  125. package/src/stories/CCard.stories.js +0 -0
  126. package/src/stories/CCheckbox.stories.js +0 -0
  127. package/src/stories/CCollapsibleSection.stories.js +0 -0
  128. package/src/stories/CColorDots.stories.js +0 -0
  129. package/src/stories/CConfirmActionModal.stories.js +0 -0
  130. package/src/stories/CDatepicker.stories.js +0 -0
  131. package/src/stories/CDualSelect.stories.js +0 -0
  132. package/src/stories/CEditor.stories.js +0 -0
  133. package/src/stories/CFormSectionHeading.stories.js +0 -0
  134. package/src/stories/CGroupedSelect.stories.js +0 -0
  135. package/src/stories/CIcon.stories.js +0 -0
  136. package/src/stories/CIconDropdown.stories.js +0 -0
  137. package/src/stories/CInput.stories.js +0 -0
  138. package/src/stories/CInputAddon.stories.js +0 -0
  139. package/src/stories/CInputEmail.stories.js +0 -0
  140. package/src/stories/CModalHeading.stories.js +0 -0
  141. package/src/stories/CModuleHelpLinks.stories.js +0 -0
  142. package/src/stories/CMultiselect.stories.js +0 -0
  143. package/src/stories/CMultiselectr.stories.js +0 -0
  144. package/src/stories/CPageHeading.stories.js +0 -0
  145. package/src/stories/CPagination.stories.js +0 -0
  146. package/src/stories/CPhoneNumber.stories.js +0 -0
  147. package/src/stories/CRadio.stories.js +1 -1
  148. package/src/stories/CRangeSlider.stories.js +0 -0
  149. package/src/stories/CReorderableStackedList.stories.js +0 -0
  150. package/src/stories/CSelect.stories.js +0 -0
  151. package/src/stories/CSmallTimeline.stories.js +0 -0
  152. package/src/stories/CStackedList.stories.js +0 -0
  153. package/src/stories/CStats.stories.js +0 -0
  154. package/src/stories/CSwitch.stories.js +0 -0
  155. package/src/stories/CTable.stories.js +7 -99
  156. package/src/stories/CTabs.stories.js +0 -0
  157. package/src/stories/CTag.stories.js +0 -0
  158. package/src/stories/CTextarea.stories.js +12 -11
  159. package/src/stories/CTimeline.stories.js +0 -0
  160. package/src/stories/CUpload.stories.js +0 -0
  161. package/src/stories/Introduction.stories.mdx +0 -0
  162. package/src/stories/Page.vue +0 -0
  163. package/src/stories/assets/code-brackets.svg +0 -0
  164. package/src/stories/assets/colors.svg +0 -0
  165. package/src/stories/assets/comments.svg +0 -0
  166. package/src/stories/assets/direction.svg +0 -0
  167. package/src/stories/assets/flow.svg +0 -0
  168. package/src/stories/assets/plugin.svg +0 -0
  169. package/src/stories/assets/repo.svg +0 -0
  170. package/src/stories/assets/stackalt.svg +0 -0
  171. package/src/stories/header.css +0 -0
  172. package/src/stories/page.css +0 -0
  173. package/src/stories/utils.css +0 -0
  174. package/src/assets/tailwind.css +0 -5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -32,5 +32,5 @@ Default.args = {
32
32
  ],
33
33
  selectedOption: "value1",
34
34
  isDisabled: false,
35
- name: "radio",
35
+ name: "radio"
36
36
  };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -22,8 +22,7 @@ export default {
22
22
  const Template = (args, { argTypes }) => ({
23
23
  props: Object.keys(argTypes),
24
24
  components: { CTable },
25
- template:
26
- '<c-table @hideCols="hideCols" @showCheckbox="showCheckbox" @reordered="handleReorder" v-bind="$props" />',
25
+ template: '<c-table @hideCols="hideCols" @showCheckbox="showCheckbox" @reordered="handleReorder" v-bind="$props" />',
27
26
  });
28
27
 
29
28
  export const Default = Template.bind({});
@@ -36,8 +35,8 @@ Default.args = {
36
35
  field: "menuOptions",
37
36
  hidden: false,
38
37
  customizeColumn: true,
39
- width: "60px",
40
- },
38
+ width: "60px"
39
+ }
41
40
  ],
42
41
  showHideColumnList: [
43
42
  { label: "", field: "drag", hidden: false },
@@ -46,100 +45,9 @@ Default.args = {
46
45
  field: "mode",
47
46
  hidden: false,
48
47
  sortable: true,
49
- },
50
- ],
51
- rows: [
52
- {
53
- id: 5,
54
- mode: "ATM Machine 1",
55
- sort_order: 2,
56
- status: 1,
57
- rcInstitutionID: 82,
58
- created_at: "2020-09-02T12:53:09.000000Z",
59
- updated_at: "2021-11-25T13:13:56.000000Z",
60
- },
61
- {
62
- id: 11,
63
- mode: "QA 1",
64
- sort_order: 3,
65
- status: 1,
66
- rcInstitutionID: 82,
67
- created_at: "2020-09-04T09:57:47.000000Z",
68
- updated_at: "2021-11-25T13:13:56.000000Z",
69
- },
70
- {
71
- id: 7,
72
- mode: "ATM Machine 2",
73
- sort_order: 4,
74
- status: 1,
75
- rcInstitutionID: 82,
76
- created_at: "2020-09-04T09:45:47.000000Z",
77
- updated_at: "2021-11-25T13:13:56.000000Z",
78
- },
79
- {
80
- id: 18,
81
- mode: "QA 3",
82
- sort_order: 8,
83
- status: 1,
84
- rcInstitutionID: 82,
85
- created_at: "2020-09-04T10:05:15.000000Z",
86
- updated_at: "2021-11-25T13:13:56.000000Z",
87
- },
88
- {
89
- id: 12,
90
- mode: "QA 2",
91
- sort_order: 21,
92
- status: 1,
93
- rcInstitutionID: 82,
94
- created_at: "2020-09-04T09:57:55.000000Z",
95
- updated_at: "2021-11-25T13:13:56.000000Z",
96
- },
97
- {
98
- id: 15,
99
- mode: "QA 4",
100
- sort_order: 22,
101
- status: 1,
102
- rcInstitutionID: 82,
103
- created_at: "2020-09-04T10:00:23.000000Z",
104
- updated_at: "2021-11-25T13:13:56.000000Z",
105
- },
106
- {
107
- id: 162,
108
- mode: "Yes bank",
109
- sort_order: 62,
110
- status: 1,
111
- rcInstitutionID: 82,
112
- created_at: "2020-11-18T09:22:43.000000Z",
113
- updated_at: "2021-11-25T13:13:56.000000Z",
114
- },
115
- {
116
- id: 163,
117
- mode: "SBI bank",
118
- sort_order: 63,
119
- status: 1,
120
- rcInstitutionID: 82,
121
- created_at: "2020-11-18T09:33:17.000000Z",
122
- updated_at: "2021-11-25T13:13:56.000000Z",
123
- },
124
- {
125
- id: 164,
126
- mode: "BOB bank",
127
- sort_order: 64,
128
- status: 1,
129
- rcInstitutionID: 82,
130
- created_at: "2020-11-18T09:35:12.000000Z",
131
- updated_at: "2021-11-25T13:13:56.000000Z",
132
- },
133
- {
134
- id: 165,
135
- mode: "PNB bank",
136
- sort_order: 65,
137
- status: 1,
138
- rcInstitutionID: 82,
139
- created_at: "2020-11-18T09:55:16.000000Z",
140
- updated_at: "2021-11-25T13:13:56.000000Z",
141
- },
48
+ }
142
49
  ],
50
+ rows: [{"id":5,"mode":"ATM Machine 1","sort_order":2,"status":1,"rcInstitutionID":82,"created_at":"2020-09-02T12:53:09.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":11,"mode":"QA 1","sort_order":3,"status":1,"rcInstitutionID":82,"created_at":"2020-09-04T09:57:47.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":7,"mode":"ATM Machine 2","sort_order":4,"status":1,"rcInstitutionID":82,"created_at":"2020-09-04T09:45:47.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":18,"mode":"QA 3","sort_order":8,"status":1,"rcInstitutionID":82,"created_at":"2020-09-04T10:05:15.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":12,"mode":"QA 2","sort_order":21,"status":1,"rcInstitutionID":82,"created_at":"2020-09-04T09:57:55.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":15,"mode":"QA 4","sort_order":22,"status":1,"rcInstitutionID":82,"created_at":"2020-09-04T10:00:23.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":162,"mode":"Yes bank","sort_order":62,"status":1,"rcInstitutionID":82,"created_at":"2020-11-18T09:22:43.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":163,"mode":"SBI bank","sort_order":63,"status":1,"rcInstitutionID":82,"created_at":"2020-11-18T09:33:17.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":164,"mode":"BOB bank","sort_order":64,"status":1,"rcInstitutionID":82,"created_at":"2020-11-18T09:35:12.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"},{"id":165,"mode":"PNB bank","sort_order":65,"status":1,"rcInstitutionID":82,"created_at":"2020-11-18T09:55:16.000000Z","updated_at":"2021-11-25T13:13:56.000000Z"}],
143
51
  pagination: true,
144
52
  sorting: false,
145
53
  searching: true,
@@ -162,8 +70,8 @@ Default.args = {
162
70
  },
163
71
  handleReorder(val) {
164
72
  Default.args.rows = val;
165
- val.forEach((item) => {
73
+ val.forEach((item, index) => {
166
74
  console.log(item);
167
75
  });
168
- },
76
+ }
169
77
  };
File without changes
File without changes
@@ -1,16 +1,16 @@
1
- import CTextarea from '../components/CTextarea/CTextarea.vue';
2
- import './utils.css'
1
+ import CTextarea from "../components/CTextarea/CTextarea.vue";
2
+ import "./utils.css";
3
3
 
4
4
  export default {
5
- title: 'CTextarea',
5
+ title: "CTextarea",
6
6
  component: CTextarea,
7
7
  argTypes: {
8
8
  label: String,
9
9
  placeholder: String,
10
10
  rows: String,
11
11
  helpText: String,
12
- hint:String,
13
- isValidate: Boolean
12
+ hint: String,
13
+ isValidate: Boolean,
14
14
  },
15
15
  };
16
16
 
@@ -22,10 +22,11 @@ const Template = (args, { argTypes }) => ({
22
22
 
23
23
  export const Default = Template.bind({});
24
24
  Default.args = {
25
- label: 'Name',
26
- placeholder: 'Enter your name',
27
- rows: '3',
28
- helpText: 'This information is displayed on booking page',
29
- hint: 'Optional',
30
- isValidate: true
25
+ label: "Name",
26
+ placeholder: "Enter your name",
27
+ rows: "3",
28
+ helpText: "This information is displayed on booking page",
29
+ hint: "Optional",
30
+ isValidate: true,
31
+ disabled: false,
31
32
  };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +0,0 @@
1
- @tailwind base;
2
-
3
- @tailwind components;
4
-
5
- @tailwind utilities;