killbill-aviate 2.3.0.pre.1 → 2.3.0.pre.2
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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/aviate/aviate.css +42 -0
- data/app/views/aviate/wallets/_form.html.erb +15 -7
- data/lib/aviate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5914b364115e78bab734ddfb0411ad46135f211a60bc3e0459fa7cc4a74ec568
|
|
4
|
+
data.tar.gz: c50e89a47dbfc2b011a036b83936478d68bf38f86bca9fbe5a337f5b36f0535c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16a38cffd4d769435de74fd1d1a8c59708ca6e99fc10798db0cce73365c1ca4295a982208e1d12a123619e404368e3f5c2f560d4a5a5f2d334b1803311836872
|
|
7
|
+
data.tar.gz: e3fe97aee511a1655ffd4348c386a8300711ebefa5e10aeeba3ce1f9ea06e13273e912161b0b13e1ee152ed53ed188d5286af801b9c03274820bcd96ba0ab1d1
|
|
@@ -14,3 +14,45 @@
|
|
|
14
14
|
padding-top: 15px;
|
|
15
15
|
visibility: hidden;
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
.wallet-tooltip {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
width: 1.5rem;
|
|
23
|
+
margin: 0 0.25rem 0 0.5rem;
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
position: relative;
|
|
26
|
+
cursor: help;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.wallet-tooltip:hover::after,
|
|
30
|
+
.wallet-tooltip:focus::after {
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: calc(100% + 8px);
|
|
33
|
+
right: 0;
|
|
34
|
+
background: #333;
|
|
35
|
+
color: #fff;
|
|
36
|
+
padding: 6px 10px;
|
|
37
|
+
border-radius: 4px;
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
line-height: 1.4;
|
|
40
|
+
width: 280px;
|
|
41
|
+
white-space: normal;
|
|
42
|
+
text-align: left;
|
|
43
|
+
z-index: 1050;
|
|
44
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.wallet-tooltip:hover::before,
|
|
49
|
+
.wallet-tooltip:focus::before {
|
|
50
|
+
content: '';
|
|
51
|
+
position: absolute;
|
|
52
|
+
bottom: calc(100% + 3px);
|
|
53
|
+
right: 0.5rem;
|
|
54
|
+
border: 5px solid transparent;
|
|
55
|
+
border-top-color: #333;
|
|
56
|
+
z-index: 1051;
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
}
|
|
@@ -14,24 +14,27 @@
|
|
|
14
14
|
<div class="form-group d-flex pb-3">
|
|
15
15
|
<%= label_tag :credit_type, 'Credit Type', :class => 'col-sm-3 control-label' %>
|
|
16
16
|
<div class="col-sm-9">
|
|
17
|
-
<%= select_tag :credit_type,
|
|
18
|
-
options_for_select(['CREDIT_PAID', 'CREDIT_FREE'], @wallet.try(:[], :credit_type)),
|
|
17
|
+
<%= select_tag :credit_type,
|
|
18
|
+
options_for_select(['CREDIT_PAID', 'CREDIT_FREE'], @wallet.try(:[], :credit_type)),
|
|
19
19
|
:class => 'form-control',
|
|
20
20
|
:disabled => local_assigns[:readonly],
|
|
21
21
|
required: true %>
|
|
22
22
|
</div>
|
|
23
|
+
<span class="wallet-tooltip" data-tooltip="Identifies the source or purpose of the credit. Use CREDIT_PAID for purchased credits or CREDIT_FREE for promotional credits."><i class="fa fa-info-circle text-muted"></i></span>
|
|
23
24
|
</div>
|
|
24
25
|
<div class="form-group d-flex pb-3">
|
|
25
26
|
<%= label_tag :amount, 'Amount', :class => 'col-sm-3 control-label' %>
|
|
26
27
|
<div class="col-sm-9">
|
|
27
28
|
<%= number_field_tag :amount, @wallet.try(:[], :amount), :class => 'form-control', :step => '0.01', :min => '0', required: true %>
|
|
28
29
|
</div>
|
|
30
|
+
<span class="wallet-tooltip" tabindex="0" aria-label="The amount of credit to add to the wallet when it is created." data-tooltip="The amount of credit to add to the wallet when it is created."><i class="fa fa-info-circle text-muted"></i></span>
|
|
29
31
|
</div>
|
|
30
32
|
<div class="form-group d-flex pb-3">
|
|
31
33
|
<%= label_tag :exp_date, 'Expiration Date', :class => 'col-sm-3 control-label' %>
|
|
32
34
|
<div class="col-sm-9">
|
|
33
|
-
<%= date_field_tag :exp_date, @wallet.try(:[], :exp_date), class: 'form-control', id: 'exp_date_input'
|
|
35
|
+
<%= date_field_tag :exp_date, @wallet.try(:[], :exp_date), class: 'form-control', id: 'exp_date_input' %>
|
|
34
36
|
</div>
|
|
37
|
+
<span class="wallet-tooltip" data-tooltip="Optional. The date after which the initial credit can no longer be used. Leave blank if the credit should never expire."><i class="fa fa-info-circle text-muted"></i></span>
|
|
35
38
|
</div>
|
|
36
39
|
<% end %>
|
|
37
40
|
|
|
@@ -39,40 +42,45 @@
|
|
|
39
42
|
<div class="form-group d-flex pb-3">
|
|
40
43
|
<%= label_tag :top_off_type, 'Top Off Type', :class => 'col-sm-3 control-label' %>
|
|
41
44
|
<div class="col-sm-9">
|
|
42
|
-
<%= select_tag :top_off_type,
|
|
43
|
-
options_for_select(['TOP_OFF_FIXED', 'TOP_OFF_TARGET'], @wallet.try(:[], :top_off_type)),
|
|
45
|
+
<%= select_tag :top_off_type,
|
|
46
|
+
options_for_select(['TOP_OFF_FIXED', 'TOP_OFF_TARGET'], @wallet.try(:[], :top_off_type)),
|
|
44
47
|
:class => 'form-control',
|
|
45
48
|
:disabled => local_assigns[:readonly],
|
|
46
49
|
required: true %>
|
|
47
50
|
</div>
|
|
51
|
+
<span class="wallet-tooltip" data-tooltip="Defines how credits are replenished when the wallet balance falls below the Low Water Mark. Use TOP_OFF_FIXED to add a fixed amount of credit, or TOP_OFF_TARGET to restore the balance to a specified target amount."><i class="fa fa-info-circle text-muted"></i></span>
|
|
48
52
|
</div>
|
|
49
53
|
<div class="form-group d-flex pb-3">
|
|
50
54
|
<%= label_tag :low_watermark, 'Low Water Mark', :class => 'col-sm-3 control-label' %>
|
|
51
55
|
<div class="col-sm-9">
|
|
52
56
|
<%= text_field_tag :low_watermark, @wallet.try(:[], :low_watermark), :class => 'form-control', required: true %>
|
|
53
57
|
</div>
|
|
58
|
+
<span class="wallet-tooltip" data-tooltip="The minimum wallet balance that triggers an automatic top-up. When the balance drops below this value, additional credit is added automatically."><i class="fa fa-info-circle text-muted"></i></span>
|
|
54
59
|
</div>
|
|
55
60
|
<div class="form-group d-flex pb-3">
|
|
56
61
|
<%= label_tag :top_off_amount, 'Amount', :class => 'col-sm-3 control-label' %>
|
|
57
62
|
<div class="col-sm-9">
|
|
58
63
|
<%= number_field_tag :top_off_amount, @wallet.try(:[], :top_off_amount), :class => 'form-control', :step => '0.01', :min => '0', required: true %>
|
|
59
64
|
</div>
|
|
65
|
+
<span class="wallet-tooltip" data-tooltip="The amount of credit added during an automatic top-up."><i class="fa fa-info-circle text-muted"></i></span>
|
|
60
66
|
</div>
|
|
61
67
|
<div class="form-group d-flex pb-3">
|
|
62
68
|
<%= label_tag :exp_duration_unit, 'Expiration Duration Unit', :class => 'col-sm-3 control-label pe-3' %>
|
|
63
69
|
<div class="col-sm-9">
|
|
64
|
-
<%= select_tag :exp_duration_unit,
|
|
65
|
-
options_for_select(['DAYS', 'WEEKS', 'MONTHS', 'YEARS'], @wallet.try(:[], :exp_duration_unit)),
|
|
70
|
+
<%= select_tag :exp_duration_unit,
|
|
71
|
+
options_for_select(['DAYS', 'WEEKS', 'MONTHS', 'YEARS'], @wallet.try(:[], :exp_duration_unit)),
|
|
66
72
|
:class => 'form-control',
|
|
67
73
|
:disabled => local_assigns[:readonly],
|
|
68
74
|
required: true %>
|
|
69
75
|
</div>
|
|
76
|
+
<span class="wallet-tooltip" data-tooltip="The time unit used when calculating the expiration period for credits added through automatic top-ups."><i class="fa fa-info-circle text-muted"></i></span>
|
|
70
77
|
</div>
|
|
71
78
|
<div class="form-group d-flex pb-4">
|
|
72
79
|
<%= label_tag :exp_duration_length, 'Expiration Duration Length', :class => 'col-sm-3 control-label' %>
|
|
73
80
|
<div class="col-sm-9">
|
|
74
81
|
<%= number_field_tag :exp_duration_length, @wallet.try(:[], :exp_duration_length), :class => 'form-control', required: true %>
|
|
75
82
|
</div>
|
|
83
|
+
<span class="wallet-tooltip" data-tooltip="Duration length for credit expiration from the time of issuance."><i class="fa fa-info-circle text-muted"></i></span>
|
|
76
84
|
</div>
|
|
77
85
|
|
|
78
86
|
<div class="form-group d-flex justify-content-end pt-3 border-top">
|
data/lib/aviate/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: killbill-aviate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.0.pre.
|
|
4
|
+
version: 2.3.0.pre.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kill Bill core team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: killbill-assets-ui
|