smoothly 0.1.67 → 0.1.71

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 (83) hide show
  1. package/dist/cjs/{Trigger-ea33b682.js → Trigger-74bd1ee8.js} +16 -0
  2. package/dist/cjs/{generate-5e7cd3f7.js → generate-7f7f7d99.js} +3 -2
  3. package/dist/cjs/{index-896ac706.js → index-7c9d0102.js} +806 -638
  4. package/dist/cjs/{index-2a5f8661.js → index-c973259c.js} +16 -0
  5. package/dist/cjs/{index-b8688617.js → index-e37f73fe.js} +89 -19
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/smoothly-accordion_43.cjs.entry.js +917 -694
  8. package/dist/cjs/smoothly-calendar.cjs.entry.js +7 -7
  9. package/dist/cjs/smoothly-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/smoothly-display-amount.cjs.entry.js +2 -4
  11. package/dist/cjs/smoothly-display-demo.cjs.entry.js +1 -1
  12. package/dist/cjs/smoothly-display.cjs.entry.js +1 -1
  13. package/dist/cjs/smoothly-frame.cjs.entry.js +1 -1
  14. package/dist/cjs/smoothly-input-date-range.cjs.entry.js +1 -1
  15. package/dist/cjs/smoothly-input-date.cjs.entry.js +1 -1
  16. package/dist/cjs/smoothly-input-month.cjs.entry.js +11 -11
  17. package/dist/cjs/smoothly-input.cjs.entry.js +2 -2
  18. package/dist/cjs/smoothly-picker.cjs.entry.js +12 -17
  19. package/dist/cjs/smoothly-select.cjs.entry.js +1 -1
  20. package/dist/cjs/smoothly-table-header.cjs.entry.js +1 -1
  21. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  22. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  23. package/dist/collection/components/calendar/generate.js +2 -1
  24. package/dist/collection/components/calendar/index.js +4 -4
  25. package/dist/collection/components/calendar/style.css +29 -11
  26. package/dist/collection/components/display-amount/index.js +1 -3
  27. package/dist/collection/components/input/index.js +1 -1
  28. package/dist/collection/components/input-month/index.js +8 -8
  29. package/dist/collection/components/input-month/style.css +0 -6
  30. package/dist/collection/components/picker/index.js +12 -17
  31. package/dist/collection/components/select/index.js +1 -1
  32. package/dist/collection/components/table/header/index.js +1 -1
  33. package/dist/custom-elements/index.js +943 -695
  34. package/dist/esm/{Trigger-c637fedf.js → Trigger-d7b181ec.js} +16 -0
  35. package/dist/esm/{generate-fc812e0f.js → generate-7090dc14.js} +3 -2
  36. package/dist/{smoothly/index-a7e44b28.js → esm/index-01fedb5b.js} +806 -638
  37. package/dist/esm/{index-046ba252.js → index-13251390.js} +89 -19
  38. package/dist/{smoothly/index-71e3ce99.js → esm/index-531e2f06.js} +16 -0
  39. package/dist/esm/index.js +1 -1
  40. package/dist/esm/smoothly-accordion_43.entry.js +917 -694
  41. package/dist/esm/smoothly-calendar.entry.js +7 -7
  42. package/dist/esm/smoothly-dialog.entry.js +1 -1
  43. package/dist/esm/smoothly-display-amount.entry.js +2 -4
  44. package/dist/esm/smoothly-display-demo.entry.js +1 -1
  45. package/dist/esm/smoothly-display.entry.js +1 -1
  46. package/dist/esm/smoothly-frame.entry.js +1 -1
  47. package/dist/esm/smoothly-input-date-range.entry.js +1 -1
  48. package/dist/esm/smoothly-input-date.entry.js +1 -1
  49. package/dist/esm/smoothly-input-month.entry.js +11 -11
  50. package/dist/esm/smoothly-input.entry.js +2 -2
  51. package/dist/esm/smoothly-picker.entry.js +12 -17
  52. package/dist/esm/smoothly-select.entry.js +1 -1
  53. package/dist/esm/smoothly-table-header.entry.js +1 -1
  54. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  55. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  56. package/dist/smoothly/{generate-fc812e0f.js → generate-7090dc14.js} +3 -2
  57. package/dist/{esm/index-a7e44b28.js → smoothly/index-01fedb5b.js} +806 -638
  58. package/dist/smoothly/{index-046ba252.js → index-13251390.js} +89 -19
  59. package/dist/{esm/index-71e3ce99.js → smoothly/index-531e2f06.js} +16 -0
  60. package/dist/smoothly/index.esm.js +1 -1
  61. package/dist/smoothly/p-2cda1784.js +1 -0
  62. package/dist/smoothly/{p-24d838b1.entry.js → p-89fe12b0.entry.js} +1 -1
  63. package/dist/smoothly/p-c107b623.entry.js +1 -0
  64. package/dist/smoothly/{p-77f6d4bf.entry.js → p-e79800d9.entry.js} +1 -1
  65. package/dist/smoothly/smoothly-calendar.entry.js +7 -7
  66. package/dist/smoothly/smoothly-dialog.entry.js +1 -1
  67. package/dist/smoothly/smoothly-display-amount.entry.js +2 -4
  68. package/dist/smoothly/smoothly-display-demo.entry.js +1 -1
  69. package/dist/smoothly/smoothly-display.entry.js +1 -1
  70. package/dist/smoothly/smoothly-frame.entry.js +1 -1
  71. package/dist/smoothly/smoothly-input-date-range.entry.js +1 -1
  72. package/dist/smoothly/smoothly-input-date.entry.js +1 -1
  73. package/dist/smoothly/smoothly-input-month.entry.js +11 -11
  74. package/dist/smoothly/smoothly-input.entry.js +2 -2
  75. package/dist/smoothly/smoothly-picker.entry.js +12 -17
  76. package/dist/smoothly/smoothly-select.entry.js +1 -1
  77. package/dist/smoothly/smoothly-table-header.entry.js +1 -1
  78. package/dist/smoothly/smoothly-trigger-sink.entry.js +1 -1
  79. package/dist/smoothly/smoothly-trigger-source.entry.js +1 -1
  80. package/dist/types/components/input-month/index.d.ts +1 -1
  81. package/package.json +5 -5
  82. package/dist/smoothly/p-08ef34d4.js +0 -1
  83. package/dist/smoothly/p-bee6330e.entry.js +0 -1
@@ -82,6 +82,22 @@ exports.Identifier = void 0;
82
82
  Array.from(value).every(c => (c >= "0" && c <= "9") || (c >= "A" && c <= "Z") || (c >= "a" && c <= "z") || c == "-" || c == "_"));
83
83
  }
84
84
  Identifier.is = is;
85
+ function fromUint24(value) {
86
+ return fromHexadecimal(value.toString(16).padStart(6, "0"));
87
+ }
88
+ Identifier.fromUint24 = fromUint24;
89
+ function toUint24(identifier) {
90
+ return Number.parseInt(toHexadecimal(identifier, 6), 16);
91
+ }
92
+ Identifier.toUint24 = toUint24;
93
+ function fromUint48(value) {
94
+ return fromHexadecimal(value.toString(16).padStart(12, "0"));
95
+ }
96
+ Identifier.fromUint48 = fromUint48;
97
+ function toUint48(identifier) {
98
+ return Number.parseInt(toHexadecimal(identifier, 12), 16);
99
+ }
100
+ Identifier.toUint48 = toUint48;
85
101
  function fromBinary(identifier) {
86
102
  return encode(identifier, "url");
87
103
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-b8688617.js');
3
+ const index = require('./index-e37f73fe.js');
4
4
 
5
5
  function month(date) {
6
6
  const d = new Date(date);
@@ -14,7 +14,8 @@ function month(date) {
14
14
  d.setDate(day++);
15
15
  r.push(index.dist.Date.create(d));
16
16
  }
17
- result.push(r);
17
+ if (row < 5 || index.dist.Date.firstOfMonth(r[0]) == index.dist.Date.firstOfMonth(date))
18
+ result.push(r);
18
19
  }
19
20
  return result;
20
21
  }